你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DdosProtectionPlans interface

表示 DdosProtectionPlans 的接口。

方法

beginCreateOrUpdate(string, string, DdosProtectionPlan, DdosProtectionPlansCreateOrUpdateOptionalParams)

创建或更新 DDoS 保护计划。

beginCreateOrUpdateAndWait(string, string, DdosProtectionPlan, DdosProtectionPlansCreateOrUpdateOptionalParams)

创建或更新 DDoS 保护计划。

beginDelete(string, string, DdosProtectionPlansDeleteOptionalParams)

删除指定的 DDoS 保护计划。

beginDeleteAndWait(string, string, DdosProtectionPlansDeleteOptionalParams)

删除指定的 DDoS 保护计划。

get(string, string, DdosProtectionPlansGetOptionalParams)

获取有关指定的 DDoS 保护计划的信息。

list(DdosProtectionPlansListOptionalParams)

获取订阅中的所有 DDoS 保护计划。

listByResourceGroup(string, DdosProtectionPlansListByResourceGroupOptionalParams)

获取资源组中的所有 DDoS 保护计划。

updateTags(string, string, TagsObject, DdosProtectionPlansUpdateTagsOptionalParams)

更新 DDoS 保护计划标记。

方法详细信息

beginCreateOrUpdate(string, string, DdosProtectionPlan, DdosProtectionPlansCreateOrUpdateOptionalParams)

创建或更新 DDoS 保护计划。

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

参数

resourceGroupName

string

资源组的名称。

ddosProtectionPlanName

string

DDoS 保护计划的名称。

parameters
DdosProtectionPlan

提供给创建或更新作的参数。

返回

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

beginCreateOrUpdateAndWait(string, string, DdosProtectionPlan, DdosProtectionPlansCreateOrUpdateOptionalParams)

创建或更新 DDoS 保护计划。

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

参数

resourceGroupName

string

资源组的名称。

ddosProtectionPlanName

string

DDoS 保护计划的名称。

parameters
DdosProtectionPlan

提供给创建或更新作的参数。

返回

beginDelete(string, string, DdosProtectionPlansDeleteOptionalParams)

删除指定的 DDoS 保护计划。

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

参数

resourceGroupName

string

资源组的名称。

ddosProtectionPlanName

string

DDoS 保护计划的名称。

options
DdosProtectionPlansDeleteOptionalParams

选项参数。

返回

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

beginDeleteAndWait(string, string, DdosProtectionPlansDeleteOptionalParams)

删除指定的 DDoS 保护计划。

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

参数

resourceGroupName

string

资源组的名称。

ddosProtectionPlanName

string

DDoS 保护计划的名称。

options
DdosProtectionPlansDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, DdosProtectionPlansGetOptionalParams)

获取有关指定的 DDoS 保护计划的信息。

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

参数

resourceGroupName

string

资源组的名称。

ddosProtectionPlanName

string

DDoS 保护计划的名称。

options
DdosProtectionPlansGetOptionalParams

选项参数。

返回

list(DdosProtectionPlansListOptionalParams)

获取订阅中的所有 DDoS 保护计划。

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

参数

options
DdosProtectionPlansListOptionalParams

选项参数。

返回

listByResourceGroup(string, DdosProtectionPlansListByResourceGroupOptionalParams)

获取资源组中的所有 DDoS 保护计划。

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

参数

resourceGroupName

string

资源组的名称。

返回

updateTags(string, string, TagsObject, DdosProtectionPlansUpdateTagsOptionalParams)

更新 DDoS 保护计划标记。

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

参数

resourceGroupName

string

资源组的名称。

ddosProtectionPlanName

string

DDoS 保护计划的名称。

parameters
TagsObject

提供给更新 DDoS 保护计划资源标记的参数。

返回