MockableNetworkArmClient.GetCloudServiceSwapAsync 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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.CloudServiceSwapResource>> GetCloudServiceSwapAsync(Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCloudServiceSwapAsync : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.CloudServiceSwapResource>>
override this.GetCloudServiceSwapAsync : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.CloudServiceSwapResource>>
Public Overridable Function GetCloudServiceSwapAsync (scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CloudServiceSwapResource))
Parameters
- scope
- ResourceIdentifier
The scope of the resource collection to get.
- cancellationToken
- CancellationToken
The cancellation token to use.