Udostępnij za pośrednictwem


ApplicationSecurityGroupsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates an application security group.

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

Parameters

operations
IApplicationSecurityGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

applicationSecurityGroupName
String

The name of the application security group.

parameters
ApplicationSecurityGroupInner

Parameters supplied to the create or update ApplicationSecurityGroup operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to