共用方式為


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 保護計劃資源標記的參數。

傳回