Partager via


DdosProtectionPlans interface

Interface représentant un DdosProtectionPlans.

Méthodes

beginCreateOrUpdate(string, string, DdosProtectionPlan, DdosProtectionPlansCreateOrUpdateOptionalParams)

Crée ou met à jour un plan de protection DDoS.

beginCreateOrUpdateAndWait(string, string, DdosProtectionPlan, DdosProtectionPlansCreateOrUpdateOptionalParams)

Crée ou met à jour un plan de protection DDoS.

beginDelete(string, string, DdosProtectionPlansDeleteOptionalParams)

Supprime le plan de protection DDoS spécifié.

beginDeleteAndWait(string, string, DdosProtectionPlansDeleteOptionalParams)

Supprime le plan de protection DDoS spécifié.

get(string, string, DdosProtectionPlansGetOptionalParams)

Obtient des informations sur le plan de protection DDoS spécifié.

list(DdosProtectionPlansListOptionalParams)

Obtient tous les plans de protection DDoS dans un abonnement.

listByResourceGroup(string, DdosProtectionPlansListByResourceGroupOptionalParams)

Obtient tous les plans de protection DDoS dans un groupe de ressources.

updateTags(string, string, TagsObject, DdosProtectionPlansUpdateTagsOptionalParams)

Mettez à jour des balises de plan de protection DDoS.

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.

options
DdosProtectionPlansCreateOrUpdateOptionalParams

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.

options
DdosProtectionPlansCreateOrUpdateOptionalParams

Paramètres d’options.

Retours

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.

options
DdosProtectionPlansDeleteOptionalParams

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.

options
DdosProtectionPlansDeleteOptionalParams

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.

options
DdosProtectionPlansGetOptionalParams

Paramètres d’options.

Retours

list(DdosProtectionPlansListOptionalParams)

Obtient tous les plans de protection DDoS dans un abonnement.

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

Paramètres

options
DdosProtectionPlansListOptionalParams

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.

options
DdosProtectionPlansListByResourceGroupOptionalParams

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.

options
DdosProtectionPlansUpdateTagsOptionalParams

Paramètres d’options.

Retours