Compartir a través de


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

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 esperaba que no estuviera vacía.

fleetName es null.

Se aplica a