Freigeben über


CloudServiceRoleInstancesOperationsExtensions.GetInstanceViewAsync Methode

Definition

Ruft Informationen zum Laufzeitstatus einer Rolle ab, die in einem Clouddienst instance.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.RoleInstanceInstanceView> GetInstanceViewAsync (this Microsoft.Azure.Management.Compute.ICloudServiceRoleInstancesOperations operations, string roleInstanceName, string resourceGroupName, string cloudServiceName, System.Threading.CancellationToken cancellationToken = default);
static member GetInstanceViewAsync : Microsoft.Azure.Management.Compute.ICloudServiceRoleInstancesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.RoleInstanceInstanceView>
<Extension()>
Public Function GetInstanceViewAsync (operations As ICloudServiceRoleInstancesOperations, roleInstanceName As String, resourceGroupName As String, cloudServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RoleInstanceInstanceView)

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.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: