Share via


FleetUpdateStrategyCollection.Get(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 Azure.Response<Azure.ResourceManager.ContainerServiceFleet.FleetUpdateStrategyResource> Get (string updateStrategyName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerServiceFleet.FleetUpdateStrategyResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerServiceFleet.FleetUpdateStrategyResource>
Public Overridable Function Get (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 an empty string, and was expected to be non-empty.

updateStrategyName is null.

Applies to