MockableNetworkResourceGroupResource.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.
Invokes the GetCloudServiceSwapAsync compatibility operation.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.CloudServiceSwapResource>> GetCloudServiceSwapAsync(string cloudServiceName, System.Threading.CancellationToken cancellationToken);
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.CloudServiceSwapResource>> GetCloudServiceSwapAsync(string resourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCloudServiceSwapAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.CloudServiceSwapResource>>
override this.GetCloudServiceSwapAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.CloudServiceSwapResource>>
abstract member GetCloudServiceSwapAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.CloudServiceSwapResource>>
override this.GetCloudServiceSwapAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.CloudServiceSwapResource>>
Public Overridable Function GetCloudServiceSwapAsync (cloudServiceName As String, cancellationToken As CancellationToken) As Task(Of Response(Of CloudServiceSwapResource))
Public Overridable Function GetCloudServiceSwapAsync (resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CloudServiceSwapResource))
Parameters
- cloudServiceNameresourceName
- String
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
resourceName is null.
resourceName is an empty string, and was expected to be non-empty.