DdosProtectionPlansOperationsExtensions.ListAsync Method

Definition

Gets all DDoS protection plans in a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.DdosProtectionPlan>> ListAsync (this Microsoft.Azure.Management.Network.IDdosProtectionPlansOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Network.IDdosProtectionPlansOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.DdosProtectionPlan>>
<Extension()>
Public Function ListAsync (operations As IDdosProtectionPlansOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DdosProtectionPlan))

Parameters

operations
IDdosProtectionPlansOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to