DdosProtectionPlans interface
Interface représentant un DdosProtectionPlans.
Méthodes
Détails de la méthode
beginCreateOrUpdate(string, string, DdosProtectionPlan, DdosProtectionPlansCreateOrUpdateOptionalParams)
Crée ou met à jour un plan de protection DDoS.
function beginCreateOrUpdate(resourceGroupName: string, ddosProtectionPlanName: string, parameters: DdosProtectionPlan, options?: DdosProtectionPlansCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DdosProtectionPlan>, DdosProtectionPlan>>
Paramètres
- resourceGroupName
-
string
Nom du groupe de ressources.
- ddosProtectionPlanName
-
string
Nom du plan de protection DDoS.
- parameters
- DdosProtectionPlan
Paramètres fournis à l’opération de création ou de mise à jour.
Paramètres d’options.
Retours
Promise<@azure/core-lro.SimplePollerLike<OperationState<DdosProtectionPlan>, DdosProtectionPlan>>
beginCreateOrUpdateAndWait(string, string, DdosProtectionPlan, DdosProtectionPlansCreateOrUpdateOptionalParams)
Crée ou met à jour un plan de protection DDoS.
function beginCreateOrUpdateAndWait(resourceGroupName: string, ddosProtectionPlanName: string, parameters: DdosProtectionPlan, options?: DdosProtectionPlansCreateOrUpdateOptionalParams): Promise<DdosProtectionPlan>
Paramètres
- resourceGroupName
-
string
Nom du groupe de ressources.
- ddosProtectionPlanName
-
string
Nom du plan de protection DDoS.
- parameters
- DdosProtectionPlan
Paramètres fournis à l’opération de création ou de mise à jour.
Paramètres d’options.
Retours
Promise<DdosProtectionPlan>
beginDelete(string, string, DdosProtectionPlansDeleteOptionalParams)
Supprime le plan de protection DDoS spécifié.
function beginDelete(resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Paramètres
- resourceGroupName
-
string
Nom du groupe de ressources.
- ddosProtectionPlanName
-
string
Nom du plan de protection DDoS.
Paramètres d’options.
Retours
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, DdosProtectionPlansDeleteOptionalParams)
Supprime le plan de protection DDoS spécifié.
function beginDeleteAndWait(resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansDeleteOptionalParams): Promise<void>
Paramètres
- resourceGroupName
-
string
Nom du groupe de ressources.
- ddosProtectionPlanName
-
string
Nom du plan de protection DDoS.
Paramètres d’options.
Retours
Promise<void>
get(string, string, DdosProtectionPlansGetOptionalParams)
Obtient des informations sur le plan de protection DDoS spécifié.
function get(resourceGroupName: string, ddosProtectionPlanName: string, options?: DdosProtectionPlansGetOptionalParams): Promise<DdosProtectionPlan>
Paramètres
- resourceGroupName
-
string
Nom du groupe de ressources.
- ddosProtectionPlanName
-
string
Nom du plan de protection DDoS.
Paramètres d’options.
Retours
Promise<DdosProtectionPlan>
list(DdosProtectionPlansListOptionalParams)
Obtient tous les plans de protection DDoS dans un abonnement.
function list(options?: DdosProtectionPlansListOptionalParams): PagedAsyncIterableIterator<DdosProtectionPlan, DdosProtectionPlan[], PageSettings>
Paramètres
Paramètres d’options.
Retours
listByResourceGroup(string, DdosProtectionPlansListByResourceGroupOptionalParams)
Obtient tous les plans de protection DDoS dans un groupe de ressources.
function listByResourceGroup(resourceGroupName: string, options?: DdosProtectionPlansListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DdosProtectionPlan, DdosProtectionPlan[], PageSettings>
Paramètres
- resourceGroupName
-
string
Nom du groupe de ressources.
Paramètres d’options.
Retours
updateTags(string, string, TagsObject, DdosProtectionPlansUpdateTagsOptionalParams)
Mettez à jour des balises de plan de protection DDoS.
function updateTags(resourceGroupName: string, ddosProtectionPlanName: string, parameters: TagsObject, options?: DdosProtectionPlansUpdateTagsOptionalParams): Promise<DdosProtectionPlan>
Paramètres
- resourceGroupName
-
string
Nom du groupe de ressources.
- ddosProtectionPlanName
-
string
Nom du plan de protection DDoS.
- parameters
- TagsObject
Paramètres fournis aux balises de ressource du plan de protection DDoS de mise à jour.
Paramètres d’options.
Retours
Promise<DdosProtectionPlan>