MockableNetworkArmClient.GetAll(ResourceIdentifier, CancellationToken) 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

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots.
  • Operation Id. : SwapResources_List.
  • Default Api Version. : 2025-07-01.
public virtual Azure.Response<Azure.ResourceManager.Network.Models.SwapResourceListResult> GetAll(Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.Models.SwapResourceListResult>
override this.GetAll : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.Models.SwapResourceListResult>
Public Overridable Function GetAll (scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SwapResourceListResult)

Parameters

scope
ResourceIdentifier

The scope that the resource will apply against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

scope is null.

Applies to