Partilhar via


ContainerServiceExtensions.GetContainerServiceFleet 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 static Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceFleetResource> GetContainerServiceFleet (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string fleetName, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerServiceFleet : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceFleetResource>
<Extension()>
Public Function GetContainerServiceFleet (resourceGroupResource As ResourceGroupResource, fleetName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerServiceFleetResource)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

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