DdosProtectionPlans interface

Interface representing a DdosProtectionPlans.

Methods

beginCreateOrUpdate(string, string, DdosProtectionPlan, DdosProtectionPlansCreateOrUpdateOptionalParams)

Creates or updates a DDoS protection plan.

beginCreateOrUpdateAndWait(string, string, DdosProtectionPlan, DdosProtectionPlansCreateOrUpdateOptionalParams)

Creates or updates a DDoS protection plan.

beginDelete(string, string, DdosProtectionPlansDeleteOptionalParams)

Deletes the specified DDoS protection plan.

beginDeleteAndWait(string, string, DdosProtectionPlansDeleteOptionalParams)

Deletes the specified DDoS protection plan.

get(string, string, DdosProtectionPlansGetOptionalParams)

Gets information about the specified DDoS protection plan.

list(DdosProtectionPlansListOptionalParams)

Gets all DDoS protection plans in a subscription.

listByResourceGroup(string, DdosProtectionPlansListByResourceGroupOptionalParams)

Gets all the DDoS protection plans in a resource group.

updateTags(string, string, TagsObject, DdosProtectionPlansUpdateTagsOptionalParams)

Update a DDoS protection plan tags.

Method Details

beginCreateOrUpdate(string, string, DdosProtectionPlan, DdosProtectionPlansCreateOrUpdateOptionalParams)

Creates or updates a DDoS protection plan.

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

Parameters

resourceGroupName

string

The name of the resource group.

ddosProtectionPlanName

string

The name of the DDoS protection plan.

parameters
DdosProtectionPlan

Parameters supplied to the create or update operation.

options
DdosProtectionPlansCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<DdosProtectionPlan>, DdosProtectionPlan>>

beginCreateOrUpdateAndWait(string, string, DdosProtectionPlan, DdosProtectionPlansCreateOrUpdateOptionalParams)

Creates or updates a DDoS protection plan.

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

Parameters

resourceGroupName

string

The name of the resource group.

ddosProtectionPlanName

string

The name of the DDoS protection plan.

parameters
DdosProtectionPlan

Parameters supplied to the create or update operation.

options
DdosProtectionPlansCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, DdosProtectionPlansDeleteOptionalParams)

Deletes the specified DDoS protection plan.

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

Parameters

resourceGroupName

string

The name of the resource group.

ddosProtectionPlanName

string

The name of the DDoS protection plan.

options
DdosProtectionPlansDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, DdosProtectionPlansDeleteOptionalParams)

Deletes the specified DDoS protection plan.

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

Parameters

resourceGroupName

string

The name of the resource group.

ddosProtectionPlanName

string

The name of the DDoS protection plan.

options
DdosProtectionPlansDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, DdosProtectionPlansGetOptionalParams)

Gets information about the specified DDoS protection plan.

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

Parameters

resourceGroupName

string

The name of the resource group.

ddosProtectionPlanName

string

The name of the DDoS protection plan.

options
DdosProtectionPlansGetOptionalParams

The options parameters.

Returns

list(DdosProtectionPlansListOptionalParams)

Gets all DDoS protection plans in a subscription.

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

Parameters

options
DdosProtectionPlansListOptionalParams

The options parameters.

Returns

listByResourceGroup(string, DdosProtectionPlansListByResourceGroupOptionalParams)

Gets all the DDoS protection plans in a resource group.

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

Parameters

resourceGroupName

string

The name of the resource group.

Returns

updateTags(string, string, TagsObject, DdosProtectionPlansUpdateTagsOptionalParams)

Update a DDoS protection plan tags.

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

Parameters

resourceGroupName

string

The name of the resource group.

ddosProtectionPlanName

string

The name of the DDoS protection plan.

parameters
TagsObject

Parameters supplied to the update DDoS protection plan resource tags.

options
DdosProtectionPlansUpdateTagsOptionalParams

The options parameters.

Returns