Dela via


ApplicationSecurityGroupsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates an application security group.

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

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
ApplicationSecurityGroup

Parameters supplied to the create or update ApplicationSecurityGroup operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to