DdosCustomPolicies interface
Interface representing a DdosCustomPolicies.
Methods
begin |
Creates or updates a DDoS custom policy. |
begin |
Creates or updates a DDoS custom policy. |
begin |
Deletes the specified DDoS custom policy. |
begin |
Deletes the specified DDoS custom policy. |
get(string, string, Ddos |
Gets information about the specified DDoS custom policy. |
update |
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.
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.
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.
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.
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.
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.
The options parameters.
Returns
Promise<DdosCustomPolicy>