Compartilhar via


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