Compartir a través de


DatabaseFleetManagerExtensions.GetDatabaseFleet 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 Azure.Response<Azure.ResourceManager.DatabaseFleetManager.DatabaseFleetResource> GetDatabaseFleet (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string fleetName, System.Threading.CancellationToken cancellationToken = default);
static member GetDatabaseFleet : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DatabaseFleetManager.DatabaseFleetResource>
<Extension()>
Public Function GetDatabaseFleet (resourceGroupResource As ResourceGroupResource, fleetName As String, Optional cancellationToken As CancellationToken = Nothing) As 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 espera que no esté vacía.

fleetName es null.

Se aplica a