MockableNetworkArmClient.GetCloudServiceSwap Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.