DdosProtectionPlansOperations interface

Interface representing a DdosProtectionPlans operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
createOrUpdate

Creates or updates a DDoS protection plan.

delete

Deletes the specified DDoS protection plan.

get

Gets information about the specified DDoS protection plan.

list

Gets all DDoS protection plans in a subscription.

listByResourceGroup

Gets all the DDoS protection plans in a resource group.

updateTags

Update a DDoS protection plan tags.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, ddosProtectionPlanName: string, parameters: DdosProtectionPlan, options?: DdosProtectionPlansCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<DdosProtectionPlan>, DdosProtectionPlan>>

Property Value

(resourceGroupName: string, ddosProtectionPlanName: string, parameters: DdosProtectionPlan, options?: DdosProtectionPlansCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<DdosProtectionPlan>, DdosProtectionPlan>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, ddosProtectionPlanName: string, parameters: DdosProtectionPlan, options?: DdosProtectionPlansCreateOrUpdateOptionalParams) => Promise<DdosProtectionPlan>

Property Value

(resourceGroupName: string, ddosProtectionPlanName: string, parameters: DdosProtectionPlan, options?: DdosProtectionPlansCreateOrUpdateOptionalParams) => Promise<DdosProtectionPlan>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansDeleteOptionalParams) => Promise<void>

createOrUpdate

Creates or updates a DDoS protection plan.

createOrUpdate: (resourceGroupName: string, ddosProtectionPlanName: string, parameters: DdosProtectionPlan, options?: DdosProtectionPlansCreateOrUpdateOptionalParams) => PollerLike<OperationState<DdosProtectionPlan>, DdosProtectionPlan>

Property Value

(resourceGroupName: string, ddosProtectionPlanName: string, parameters: DdosProtectionPlan, options?: DdosProtectionPlansCreateOrUpdateOptionalParams) => PollerLike<OperationState<DdosProtectionPlan>, DdosProtectionPlan>

delete

Deletes the specified DDoS protection plan.

delete: (resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets information about the specified DDoS protection plan.

get: (resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansGetOptionalParams) => Promise<DdosProtectionPlan>

Property Value

(resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansGetOptionalParams) => Promise<DdosProtectionPlan>

list

Gets all DDoS protection plans in a subscription.

list: (options?: DdosProtectionPlansListOptionalParams) => PagedAsyncIterableIterator<DdosProtectionPlan, DdosProtectionPlan[], PageSettings>

Property Value

(options?: DdosProtectionPlansListOptionalParams) => PagedAsyncIterableIterator<DdosProtectionPlan, DdosProtectionPlan[], PageSettings>

listByResourceGroup

Gets all the DDoS protection plans in a resource group.

listByResourceGroup: (resourceGroupName: string, options?: DdosProtectionPlansListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<DdosProtectionPlan, DdosProtectionPlan[], PageSettings>

Property Value

(resourceGroupName: string, options?: DdosProtectionPlansListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<DdosProtectionPlan, DdosProtectionPlan[], PageSettings>

updateTags

Update a DDoS protection plan tags.

updateTags: (resourceGroupName: string, ddosProtectionPlanName: string, parameters: TagsObject, options?: DdosProtectionPlansUpdateTagsOptionalParams) => Promise<DdosProtectionPlan>

Property Value

(resourceGroupName: string, ddosProtectionPlanName: string, parameters: TagsObject, options?: DdosProtectionPlansUpdateTagsOptionalParams) => Promise<DdosProtectionPlan>