Share via


RoleInstance Class

 

Represents a specific role instance.

Namespace:   Microsoft.WindowsAzure.Management.Compute.Models
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Management.Compute.Models.RoleInstance

Syntax

public class RoleInstance
public ref class RoleInstance 
type RoleInstance = class end
Public Class RoleInstance

Constructors

Name Description
System_CAPS_pubmethod RoleInstance()

Initializes a new instance of the RoleInstance class.

Properties

Name Description
System_CAPS_pubproperty GuestAgentStatus

Optional. Guest Agent Status.

System_CAPS_pubproperty HostName

Gets or sets the DNS host name of the cloud service in which the role instance is running.

System_CAPS_pubproperty InstanceEndpoints

Gets or sets a collection of InstanceEndpoint objects that define the instance endpoints for the role.

System_CAPS_pubproperty InstanceErrorCode

Gets or sets an error code.

System_CAPS_pubproperty InstanceFaultDomain

Gets or sets an integer that represents the fault domain to which the role instance belongs.

System_CAPS_pubproperty InstanceName

Gets or sets the name of the specific role instance, if an instance of the role is running.

System_CAPS_pubproperty InstanceSize

Gets or sets a VirtualMachineRoleSize value that specifies the size of the role instance.

System_CAPS_pubproperty InstanceStateDetails

Gets or sets the state of the role instance.

System_CAPS_pubproperty InstanceStatus

Gets or sets the current status of the instance.

System_CAPS_pubproperty InstanceUpgradeDomain

Gets or sets an integer that represents the update domain to which the role instance belongs.

System_CAPS_pubproperty IPAddress

Gets or sets the IP address of the role instance (DIP).

System_CAPS_pubproperty NetworkInterfaces

Optional.

System_CAPS_pubproperty PowerState

Gets or sets a RoleInstancePowerState value that specifies the running state of the role instance.

System_CAPS_pubproperty PublicIPs

Optional. Optional. A set of public IPs. Currently, only one additional public IP per role is supported in an IaaS deployment. The IP address is in addition to the default VIP for the deployment.

System_CAPS_pubproperty RemoteAccessCertificateThumbprint

Gets or sets the thumbprint of the certificate that is used to remotely access the role instance.

System_CAPS_pubproperty ResourceExtensionStatusList

Optional. Resource Extension Status List.

System_CAPS_pubproperty RoleName

Gets or sets the name of the role.

Methods

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.)

Thread Safety

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

See Also

Microsoft.WindowsAzure.Management.Compute.Models Namespace

Return to top