NetworkExtensions.GetAll 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 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
- scope
- ResourceIdentifier
The scope that the resource will apply against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
client is null.