DdosProtectionPlans interface
Interface representing a DdosProtectionPlans.
Methods
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.
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.
The options parameters.
Returns
Promise<DdosProtectionPlan>
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.
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.
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.
The options parameters.
Returns
Promise<DdosProtectionPlan>
list(DdosProtectionPlansListOptionalParams)
Gets all DDoS protection plans in a subscription.
function list(options?: DdosProtectionPlansListOptionalParams): PagedAsyncIterableIterator<DdosProtectionPlan, DdosProtectionPlan[], PageSettings>
Parameters
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.
The options parameters.
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.
The options parameters.
Returns
Promise<DdosProtectionPlan>