DdosCustomPoliciesOperations interface

Interface representing a DdosCustomPolicies operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
createOrUpdate

Creates or updates a DDoS custom policy.

delete

Deletes the specified DDoS custom policy.

get

Gets information about the specified DDoS custom policy.

list

Gets all the DDoS custom policies in a resource group.

listAll

Gets all the DDoS custom policies in a subscription.

updateTags

Update a DDoS custom policy tags.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginDelete

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

createOrUpdate

Creates or updates a DDoS custom policy.

createOrUpdate: (resourceGroupName: string, ddosCustomPolicyName: string, parameters: DdosCustomPolicy, options?: DdosCustomPoliciesCreateOrUpdateOptionalParams) => PollerLike<OperationState<DdosCustomPolicy>, DdosCustomPolicy>

Property Value

(resourceGroupName: string, ddosCustomPolicyName: string, parameters: DdosCustomPolicy, options?: DdosCustomPoliciesCreateOrUpdateOptionalParams) => PollerLike<OperationState<DdosCustomPolicy>, DdosCustomPolicy>

delete

Deletes the specified DDoS custom policy.

delete: (resourceGroupName: string, ddosCustomPolicyName: string, options?: DdosCustomPoliciesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, ddosCustomPolicyName: string, options?: DdosCustomPoliciesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets information about the specified DDoS custom policy.

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

Property Value

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

list

Gets all the DDoS custom policies in a resource group.

list: (resourceGroupName: string, options?: DdosCustomPoliciesListOptionalParams) => PagedAsyncIterableIterator<DdosCustomPolicy, DdosCustomPolicy[], PageSettings>

Property Value

(resourceGroupName: string, options?: DdosCustomPoliciesListOptionalParams) => PagedAsyncIterableIterator<DdosCustomPolicy, DdosCustomPolicy[], PageSettings>

listAll

Gets all the DDoS custom policies in a subscription.

listAll: (options?: DdosCustomPoliciesListAllOptionalParams) => PagedAsyncIterableIterator<DdosCustomPolicy, DdosCustomPolicy[], PageSettings>

Property Value

(options?: DdosCustomPoliciesListAllOptionalParams) => PagedAsyncIterableIterator<DdosCustomPolicy, DdosCustomPolicy[], PageSettings>

updateTags

Update a DDoS custom policy tags.

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

Property Value

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