DdosProtectionPlans interface
Schnittstelle, die einen DdosProtectionPlans darstellt.
Methoden
Details zur Methode
beginCreateOrUpdate(string, string, DdosProtectionPlan, DdosProtectionPlansCreateOrUpdateOptionalParams)
Erstellt oder aktualisiert einen DDoS-Schutzplan.
function beginCreateOrUpdate(resourceGroupName: string, ddosProtectionPlanName: string, parameters: DdosProtectionPlan, options?: DdosProtectionPlansCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DdosProtectionPlan>, DdosProtectionPlan>>
Parameter
- resourceGroupName
-
string
Der Name der Ressourcengruppe.
- ddosProtectionPlanName
-
string
Der Name des DDoS-Schutzplans.
- parameters
- DdosProtectionPlan
Parameter, die für den Erstellungs- oder Aktualisierungsvorgang bereitgestellt werden.
Die Optionsparameter.
Gibt zurück
Promise<@azure/core-lro.SimplePollerLike<OperationState<DdosProtectionPlan>, DdosProtectionPlan>>
beginCreateOrUpdateAndWait(string, string, DdosProtectionPlan, DdosProtectionPlansCreateOrUpdateOptionalParams)
Erstellt oder aktualisiert einen DDoS-Schutzplan.
function beginCreateOrUpdateAndWait(resourceGroupName: string, ddosProtectionPlanName: string, parameters: DdosProtectionPlan, options?: DdosProtectionPlansCreateOrUpdateOptionalParams): Promise<DdosProtectionPlan>
Parameter
- resourceGroupName
-
string
Der Name der Ressourcengruppe.
- ddosProtectionPlanName
-
string
Der Name des DDoS-Schutzplans.
- parameters
- DdosProtectionPlan
Parameter, die für den Erstellungs- oder Aktualisierungsvorgang bereitgestellt werden.
Die Optionsparameter.
Gibt zurück
Promise<DdosProtectionPlan>
beginDelete(string, string, DdosProtectionPlansDeleteOptionalParams)
Löscht den angegebenen DDoS-Schutzplan.
function beginDelete(resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameter
- resourceGroupName
-
string
Der Name der Ressourcengruppe.
- ddosProtectionPlanName
-
string
Der Name des DDoS-Schutzplans.
Die Optionsparameter.
Gibt zurück
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, DdosProtectionPlansDeleteOptionalParams)
Löscht den angegebenen DDoS-Schutzplan.
function beginDeleteAndWait(resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansDeleteOptionalParams): Promise<void>
Parameter
- resourceGroupName
-
string
Der Name der Ressourcengruppe.
- ddosProtectionPlanName
-
string
Der Name des DDoS-Schutzplans.
Die Optionsparameter.
Gibt zurück
Promise<void>
get(string, string, DdosProtectionPlansGetOptionalParams)
Ruft Informationen zum angegebenen DDoS-Schutzplan ab.
function get(resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansGetOptionalParams): Promise<DdosProtectionPlan>
Parameter
- resourceGroupName
-
string
Der Name der Ressourcengruppe.
- ddosProtectionPlanName
-
string
Der Name des DDoS-Schutzplans.
Die Optionsparameter.
Gibt zurück
Promise<DdosProtectionPlan>
list(DdosProtectionPlansListOptionalParams)
Ruft alle DDoS-Schutzpläne in einem Abonnement ab.
function list(options?: DdosProtectionPlansListOptionalParams): PagedAsyncIterableIterator<DdosProtectionPlan, DdosProtectionPlan[], PageSettings>
Parameter
Die Optionsparameter.
Gibt zurück
listByResourceGroup(string, DdosProtectionPlansListByResourceGroupOptionalParams)
Ruft alle DDoS-Schutzpläne in einer Ressourcengruppe ab.
function listByResourceGroup(resourceGroupName: string, options?: DdosProtectionPlansListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DdosProtectionPlan, DdosProtectionPlan[], PageSettings>
Parameter
- resourceGroupName
-
string
Der Name der Ressourcengruppe.
Die Optionsparameter.
Gibt zurück
updateTags(string, string, TagsObject, DdosProtectionPlansUpdateTagsOptionalParams)
Aktualisieren Sie ein DDoS-Schutzplantags.
function updateTags(resourceGroupName: string, ddosProtectionPlanName: string, parameters: TagsObject, options?: DdosProtectionPlansUpdateTagsOptionalParams): Promise<DdosProtectionPlan>
Parameter
- resourceGroupName
-
string
Der Name der Ressourcengruppe.
- ddosProtectionPlanName
-
string
Der Name des DDoS-Schutzplans.
- parameters
- TagsObject
Parameter, die für die Ressourcentags für den Update-DDoS-Schutzplan bereitgestellt werden.
Die Optionsparameter.
Gibt zurück
Promise<DdosProtectionPlan>