CloudServiceSwapResource.Get(CancellationToken) Method

Definition

Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to