Share via


CloudServiceSwapCollection.GetIfExists(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 Azure.NullableResponse<Azure.ResourceManager.Network.CloudServiceSwapResource> GetIfExists (System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Network.CloudServiceSwapResource>
override this.GetIfExists : System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Network.CloudServiceSwapResource>
Public Overridable Function GetIfExists (Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of CloudServiceSwapResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to