MockableNetworkSubscriptionResource.GetDdosProtectionPlansAsync Method

Definition

Gets all DDoS protection plans in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans
  • Operation Id: DdosProtectionPlans_List
  • Default Api Version: 2023-11-01
  • Resource: DdosProtectionPlanResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.DdosProtectionPlanResource> GetDdosProtectionPlansAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDdosProtectionPlansAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.DdosProtectionPlanResource>
override this.GetDdosProtectionPlansAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.DdosProtectionPlanResource>
Public Overridable Function GetDdosProtectionPlansAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DdosProtectionPlanResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of DdosProtectionPlanResource that may take multiple service requests to iterate over.

Applies to