NetworkExtensions.GetAll Method

Definition

Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production <item> Mocking. To mock this method, please mock GetAll(ResourceIdentifier, CancellationToken) instead. </item>

public static Azure.Response<Azure.ResourceManager.Network.Models.SwapResourceListResult> GetAll(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
static member GetAll : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.Models.SwapResourceListResult>
<Extension()>
Public Function GetAll (client As ArmClient, scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SwapResourceListResult)

Parameters

client
ArmClient

The ArmClient the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

client is null.

Applies to