Freigeben über


CloudServiceRoleInstancesOperationsExtensions.Get Methode

Definition

Ruft eine Rolle instance aus einem Clouddienst ab.

public static Microsoft.Azure.Management.Compute.Models.RoleInstance Get(this Microsoft.Azure.Management.Compute.ICloudServiceRoleInstancesOperations operations, string roleInstanceName, string resourceGroupName, string cloudServiceName, Microsoft.Azure.Management.Compute.Models.InstanceViewTypes? expand = default);
static member Get : Microsoft.Azure.Management.Compute.ICloudServiceRoleInstancesOperations * string * string * string * Nullable<Microsoft.Azure.Management.Compute.Models.InstanceViewTypes> -> Microsoft.Azure.Management.Compute.Models.RoleInstance
<Extension()>
Public Function Get (operations As ICloudServiceRoleInstancesOperations, roleInstanceName As String, resourceGroupName As String, cloudServiceName As String, Optional expand As Nullable(Of InstanceViewTypes) = Nothing) As RoleInstance

Parameter

operations
ICloudServiceRoleInstancesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

roleInstanceName
String

Name der rolle instance.

resourceGroupName
String

Name der Ressourcengruppe

cloudServiceName
String

Der Name des Clouddiensts.

expand
Nullable<InstanceViewTypes>

Der expand-Ausdruck, der auf den Vorgang angewendet werden soll. "UserData" wird für Clouddienste nicht unterstützt. Mögliche Werte: "instanceView", "userData"

Gibt zurück

Gilt für: