NetworkExtensions.GetCloudServiceSwaps(ResourceGroupResource, String) 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 a collection of CloudServiceSwapResources in the ResourceGroupResource. MockingTo mock this method, please mock GetCloudServiceSwaps(String) instead.
public static Azure.ResourceManager.Network.CloudServiceSwapCollection GetCloudServiceSwaps (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName);
static member GetCloudServiceSwaps : Azure.ResourceManager.Resources.ResourceGroupResource * string -> Azure.ResourceManager.Network.CloudServiceSwapCollection
<Extension()>
Public Function GetCloudServiceSwaps (resourceGroupResource As ResourceGroupResource, resourceName As String) As CloudServiceSwapCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
- resourceName
- String
The name of the cloud service.
Returns
An object representing collection of CloudServiceSwapResources and their operations over a CloudServiceSwapResource.
Exceptions
resourceGroupResource
or resourceName
is null.
resourceName
is an empty string, and was expected to be non-empty.
Applies to
Azure SDK for .NET