Partilhar via


FleetUpdateStrategyCollection.GetAsync(String, CancellationToken) Método

Definição

Obter um FleetUpdateStrategy

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateStrategies/{updateStrategyName}
  • Operação IdFleetUpdateStrategies_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceFleet.FleetUpdateStrategyResource>> GetAsync (string updateStrategyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceFleet.FleetUpdateStrategyResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceFleet.FleetUpdateStrategyResource>>
Public Overridable Function GetAsync (updateStrategyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FleetUpdateStrategyResource))

Parâmetros

updateStrategyName
String

O nome do recurso UpdateStrategy.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

updateStrategyName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

updateStrategyName é nulo.

Aplica-se a