Share via


CloudServiceSwapCollection.GetIfExistsAsync(CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots/{singletonResource}
  • Operation Id: VipSwap_Get
  • Default Api Version: 2024-03-01
  • Resource: CloudServiceSwapResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Network.CloudServiceSwapResource>> GetIfExistsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Network.CloudServiceSwapResource>>
override this.GetIfExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Network.CloudServiceSwapResource>>
Public Overridable Function GetIfExistsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of CloudServiceSwapResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to