Duration (Pacific Standard Time):
To (Pacific Standard Time):
Impact:
  • None
User Action:
  • None

RoleInstance Class

 

Updated: December 6, 2013

Represents an instance of a role.

Namespace:   Microsoft.WindowsAzure.ServiceRuntime
Assembly:  Microsoft.WindowsAzure.ServiceRuntime (in Microsoft.WindowsAzure.ServiceRuntime.dll)

System.Object
  Microsoft.WindowsAzure.ServiceRuntime.RoleInstance

Public MustInherit Class RoleInstance
Name Description
System_CAPS_pubproperty FaultDomain

Gets an integer value that indicates the fault domain in which the role instance is running.

System_CAPS_pubproperty Id

Gets the instance identifier (ID) of the role instance.

System_CAPS_pubproperty InstanceEndpoints

Gets the set of endpoints that are associated with the role instance.

System_CAPS_pubproperty Role

Gets the Role object that is associated with the role instance.

System_CAPS_pubproperty UpdateDomain

Gets an integer value that indicates the update domain in which the role instance is running.

System_CAPS_pubproperty VirtualIPGroups

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

A hosted service in Azure can be defined to contain web roles, worker roles, and VM roles. A role is a component of an application that performs specific functionality. A role instance is a running copy of the role in Azure or the Azure Compute Emulator. Roles are defined in the service model for the hosted service. For more information, see Setting Up a Hosted Service for Azure.

The following code example shows how to retrieve information about role instances:

No code example is currently available or this language may not be supported.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top