MockableNetworkArmClient.GetCloudServiceSwap 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.

public virtual Azure.Response<Azure.ResourceManager.Network.CloudServiceSwapResource> GetCloudServiceSwap(Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCloudServiceSwap : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.CloudServiceSwapResource>
override this.GetCloudServiceSwap : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.CloudServiceSwapResource>
Public Overridable Function GetCloudServiceSwap (scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CloudServiceSwapResource)

Parameters

scope
ResourceIdentifier

The scope of the resource collection to get.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to