DdosProtectionPlansOperationsExtensions.ListAsync(IDdosProtectionPlansOperations, CancellationToken) Method

Definition

Gets all DDoS protection plans in a subscription.

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

Parameters

operations
IDdosProtectionPlansOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<IPage<DdosProtectionPlanInner>>

Applies to