Compartilhar via


ContainerServiceFleetCollection.Get(String, CancellationToken) Método

Definição

Obtém uma frota.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • Operação IdFleets_Get
public virtual Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceFleetResource> Get (string fleetName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceFleetResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceFleetResource>
Public Overridable Function Get (fleetName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerServiceFleetResource)

Parâmetros

fleetName
String

O nome do recurso Frota.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

fleetName é nulo.

Aplica-se a