Aracılığıyla paylaş


DdosProtectionPlansOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a DDoS protection plan.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.DdosProtectionPlan> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.IDdosProtectionPlansOperations operations, string resourceGroupName, string ddosProtectionPlanName, Microsoft.Azure.Management.Network.Models.DdosProtectionPlan parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.IDdosProtectionPlansOperations * string * string * Microsoft.Azure.Management.Network.Models.DdosProtectionPlan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.DdosProtectionPlan>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IDdosProtectionPlansOperations, resourceGroupName As String, ddosProtectionPlanName As String, parameters As DdosProtectionPlan, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DdosProtectionPlan)

Parameters

operations
IDdosProtectionPlansOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

ddosProtectionPlanName
String

The name of the DDoS protection plan.

parameters
DdosProtectionPlan

Parameters supplied to the create or update operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to