NetworkExtensions.GetCloudServiceSwaps Method

Definition

Overloads

Name Description
GetCloudServiceSwaps(ArmClient, ResourceIdentifier)

Gets a collection of CloudServiceSwapCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetCloudServiceSwaps(ResourceIdentifier) instead. </item>

GetCloudServiceSwaps(ResourceGroupResource, String)

Invokes the GetCloudServiceSwaps compatibility operation.

GetCloudServiceSwaps(ArmClient, ResourceIdentifier)

Source:
NetworkExtensions.cs

Gets a collection of CloudServiceSwapCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetCloudServiceSwaps(ResourceIdentifier) instead. </item>

public static Azure.ResourceManager.Network.CloudServiceSwapCollection GetCloudServiceSwaps(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope);
static member GetCloudServiceSwaps : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.CloudServiceSwapCollection
<Extension()>
Public Function GetCloudServiceSwaps (client As ArmClient, scope As ResourceIdentifier) As CloudServiceSwapCollection

Parameters

client
ArmClient

The ArmClient the method will execute against.

scope
ResourceIdentifier

The scope of the resource collection to get.

Returns

Returns a collection of CloudServiceSwapResource objects.

Exceptions

client is null.

Applies to

GetCloudServiceSwaps(ResourceGroupResource, String)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

Invokes the GetCloudServiceSwaps compatibility operation.

public static Azure.ResourceManager.Network.CloudServiceSwapCollection GetCloudServiceSwaps(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string cloudServiceName);
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
static member GetCloudServiceSwaps : Azure.ResourceManager.Resources.ResourceGroupResource * string -> Azure.ResourceManager.Network.CloudServiceSwapCollection
<Extension()>
Public Function GetCloudServiceSwaps (resourceGroupResource As ResourceGroupResource, cloudServiceName As String) As CloudServiceSwapCollection
<Extension()>
Public Function GetCloudServiceSwaps (resourceGroupResource As ResourceGroupResource, resourceName As String) As CloudServiceSwapCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

cloudServiceNameresourceName
String

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