Compartilhar via


CloudServicesOperationsExtensions.GetInstanceViewAsync Método

Definição

Obtém o status de um serviço de nuvem.

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

Parâmetros

operations
ICloudServicesOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome do grupo de recursos.

cloudServiceName
String

Nome do serviço de nuvem.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a