Share via


FleetUpdateStrategyCollection.Exists(String, CancellationToken) Method

Definition

Checks to see if the resource exists in azure.

  • 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<bool> Exists (string updateStrategyName, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (updateStrategyName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

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