DdosCustomPolicies interface

Interface representing a DdosCustomPolicies.

Methods

beginCreateOrUpdate(string, string, DdosCustomPolicy, DdosCustomPoliciesCreateOrUpdateOptionalParams)

Creates or updates a DDoS custom policy.

beginCreateOrUpdateAndWait(string, string, DdosCustomPolicy, DdosCustomPoliciesCreateOrUpdateOptionalParams)

Creates or updates a DDoS custom policy.

beginDelete(string, string, DdosCustomPoliciesDeleteOptionalParams)

Deletes the specified DDoS custom policy.

beginDeleteAndWait(string, string, DdosCustomPoliciesDeleteOptionalParams)

Deletes the specified DDoS custom policy.

get(string, string, DdosCustomPoliciesGetOptionalParams)

Gets information about the specified DDoS custom policy.

updateTags(string, string, TagsObject, DdosCustomPoliciesUpdateTagsOptionalParams)

Update a DDoS custom policy tags.

Method Details

beginCreateOrUpdate(string, string, DdosCustomPolicy, DdosCustomPoliciesCreateOrUpdateOptionalParams)

Creates or updates a DDoS custom policy.

function beginCreateOrUpdate(resourceGroupName: string, ddosCustomPolicyName: string, parameters: DdosCustomPolicy, options?: DdosCustomPoliciesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DdosCustomPolicy>, DdosCustomPolicy>>

Parameters

resourceGroupName

string

The name of the resource group.

ddosCustomPolicyName

string

The name of the DDoS custom policy.

parameters
DdosCustomPolicy

Parameters supplied to the create or update operation.

options
DdosCustomPoliciesCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, DdosCustomPolicy, DdosCustomPoliciesCreateOrUpdateOptionalParams)

Creates or updates a DDoS custom policy.

function beginCreateOrUpdateAndWait(resourceGroupName: string, ddosCustomPolicyName: string, parameters: DdosCustomPolicy, options?: DdosCustomPoliciesCreateOrUpdateOptionalParams): Promise<DdosCustomPolicy>

Parameters

resourceGroupName

string

The name of the resource group.

ddosCustomPolicyName

string

The name of the DDoS custom policy.

parameters
DdosCustomPolicy

Parameters supplied to the create or update operation.

options
DdosCustomPoliciesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<DdosCustomPolicy>

beginDelete(string, string, DdosCustomPoliciesDeleteOptionalParams)

Deletes the specified DDoS custom policy.

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

Parameters

resourceGroupName

string

The name of the resource group.

ddosCustomPolicyName

string

The name of the DDoS custom policy.

options
DdosCustomPoliciesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, DdosCustomPoliciesDeleteOptionalParams)

Deletes the specified DDoS custom policy.

function beginDeleteAndWait(resourceGroupName: string, ddosCustomPolicyName: string, options?: DdosCustomPoliciesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

ddosCustomPolicyName

string

The name of the DDoS custom policy.

options
DdosCustomPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, DdosCustomPoliciesGetOptionalParams)

Gets information about the specified DDoS custom policy.

function get(resourceGroupName: string, ddosCustomPolicyName: string, options?: DdosCustomPoliciesGetOptionalParams): Promise<DdosCustomPolicy>

Parameters

resourceGroupName

string

The name of the resource group.

ddosCustomPolicyName

string

The name of the DDoS custom policy.

options
DdosCustomPoliciesGetOptionalParams

The options parameters.

Returns

Promise<DdosCustomPolicy>

updateTags(string, string, TagsObject, DdosCustomPoliciesUpdateTagsOptionalParams)

Update a DDoS custom policy tags.

function updateTags(resourceGroupName: string, ddosCustomPolicyName: string, parameters: TagsObject, options?: DdosCustomPoliciesUpdateTagsOptionalParams): Promise<DdosCustomPolicy>

Parameters

resourceGroupName

string

The name of the resource group.

ddosCustomPolicyName

string

The name of the DDoS custom policy.

parameters
TagsObject

Parameters supplied to update DDoS custom policy resource tags.

options
DdosCustomPoliciesUpdateTagsOptionalParams

The options parameters.

Returns

Promise<DdosCustomPolicy>