Share via


ContainerServiceFleetResource.GetFleetUpdateStrategyAsync 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>> GetFleetUpdateStrategyAsync (string updateStrategyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFleetUpdateStrategyAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceFleet.FleetUpdateStrategyResource>>
override this.GetFleetUpdateStrategyAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerServiceFleet.FleetUpdateStrategyResource>>
Public Overridable Function GetFleetUpdateStrategyAsync (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 null.

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

Applies to