FleetUpdateStrategyCollection.GetAsync(String, CancellationToken) Method

Definition

Get a FleetUpdateStrategy

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateStrategies/{updateStrategyName}
  • Operation Id: FleetUpdateStrategies_Get
  • Default Api Version: 2024-05-02-preview
  • Resource: FleetUpdateStrategyResource
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))

Parameters

updateStrategyName
String

The name of the UpdateStrategy resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

updateStrategyName is an empty string, and was expected to be non-empty.

updateStrategyName is null.

Applies to