DdosProtectionPlans interface
表示 DdosProtectionPlans 的介面。
方法
begin |
建立或更新 DDoS 保護計劃。 |
begin |
建立或更新 DDoS 保護計劃。 |
begin |
刪除指定的 DDoS 保護計劃。 |
begin |
刪除指定的 DDoS 保護計劃。 |
get(string, string, Ddos |
取得指定之 DDoS 保護計劃的相關信息。 |
list(Ddos |
取得訂用帳戶中的所有 DDoS 保護方案。 |
list |
取得資源群組中的所有 DDoS 保護計劃。 |
update |
更新 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
提供給建立或更新作業的參數。
選項參數。
傳回
Promise<DdosProtectionPlan>
beginDelete(string, string, DdosProtectionPlansDeleteOptionalParams)
刪除指定的 DDoS 保護計劃。
function beginDelete(resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
參數
- resourceGroupName
-
string
資源群組的名稱。
- ddosProtectionPlanName
-
string
DDoS 保護方案的名稱。
選項參數。
傳回
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 保護方案的名稱。
選項參數。
傳回
Promise<void>
get(string, string, DdosProtectionPlansGetOptionalParams)
取得指定之 DDoS 保護計劃的相關信息。
function get(resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansGetOptionalParams): Promise<DdosProtectionPlan>
參數
- resourceGroupName
-
string
資源群組的名稱。
- ddosProtectionPlanName
-
string
DDoS 保護方案的名稱。
選項參數。
傳回
Promise<DdosProtectionPlan>
list(DdosProtectionPlansListOptionalParams)
取得訂用帳戶中的所有 DDoS 保護方案。
function list(options?: DdosProtectionPlansListOptionalParams): PagedAsyncIterableIterator<DdosProtectionPlan, DdosProtectionPlan[], PageSettings>
參數
選項參數。
傳回
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 保護計劃資源標記的參數。
選項參數。
傳回
Promise<DdosProtectionPlan>