Compartir a través de


ContainerServiceExtensions.GetContainerServiceFleetAsync Método

Definición

Obtiene una flota.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • IdFleets_Get de operación
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceFleetResource>> GetContainerServiceFleetAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string fleetName, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerServiceFleetAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceFleetResource>>
<Extension()>
Public Function GetContainerServiceFleetAsync (resourceGroupResource As ResourceGroupResource, fleetName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerServiceFleetResource))

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

fleetName
String

Nombre del recurso Fleet.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

fleetName es una cadena vacía y se espera que no esté vacía.

fleetName es null.

Se aplica a