共用方式為


RoleInstance Class

Definition

Details of a specific role instance.

public class RoleInstance
type RoleInstance = class
Public Class RoleInstance
Inheritance
RoleInstance

Constructors

RoleInstance()

Initializes a new instance of the RoleInstance class.

Properties

GuestAgentStatus

Optional. Guest Agent Status.

HostName

Optional. The DNS host name of the service in which the role instance is running. This element is only listed for Virtual Machine deployments.

InstanceEndpoints

Optional. The list of instance endpoints for the role.

InstanceErrorCode

Optional. An error code that can be provided to Windows Azure support to assist in resolution of errors. This field will typically be empty.

InstanceFaultDomain

Optional. The fault domain that this role instance belongs to. Role instances that are part of the same fault domain may all be vulnerable to the failure of the same piece of shared hardware.

InstanceName

Optional. The name of the specific role instance, if an instance of the role is running.

InstanceSize

Optional. The size of the role instance.

InstanceStateDetails

Optional. The instance state, returned as a string that, when present, provides a snapshot of the state of the virtual machine at the time the operation was called.

InstanceStatus

Optional. The current status of this instance.

InstanceUpgradeDomain

Optional. The update domain that this role instance belongs to. During an Upgrade Deployment, all roles in the same update domain are updated at the same time.

IPAddress

Optional. The IP address of the role instance (DIP).

MaintenanceStatus

Optional. Contains the maintenance information.

NetworkInterfaces

Optional.

PowerState

Optional. The running state of the role instance.

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.

RemoteAccessCertificateThumbprint

Optional. The thumbprint of the RDP server certificate (in Windows) or SSH server certificate (in Linux). The thumbprint is only used for Virtual Machines that have been created from an image.

ResourceExtensionStatusList

Optional. Resource Extension Status List.

RoleName

Optional. The name of the role.

Applies to