Partilhar via


AvsPrivateCloudResource.GetAvsPrivateCloudClusterAsync Método

Definição

Obter um cluster por nome em uma nuvem privada

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}
  • Operação IdClusters_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.AvsPrivateCloudClusterResource>> GetAvsPrivateCloudClusterAsync (string clusterName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvsPrivateCloudClusterAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.AvsPrivateCloudClusterResource>>
override this.GetAvsPrivateCloudClusterAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.AvsPrivateCloudClusterResource>>
Public Overridable Function GetAvsPrivateCloudClusterAsync (clusterName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AvsPrivateCloudClusterResource))

Parâmetros

clusterName
String

Nome do cluster na nuvem privada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

clusterName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

clusterName é nulo.

Aplica-se a