Partilhar via


DatabaseFleetManagerExtensions.GetDatabaseFleetAsync Método

Definição

Obtém uma frota.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • IdFleets_Get de operação
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

A ResourceGroupResource instância na qual o método será executado.

fleetName
String

O nome do recurso Fleet.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

fleetName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

fleetName é nulo.

Aplica-se a