ApplicationSecurityGroupsOperationsExtensions.CreateOrUpdateAsync(IApplicationSecurityGroupsOperations, String, String, ApplicationSecurityGroup, CancellationToken) 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
System.String

The name of the resource group.

applicationSecurityGroupName
System.String

The name of the application security group.

parameters
ApplicationSecurityGroup

Parameters supplied to the create or update ApplicationSecurityGroup operation.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<ApplicationSecurityGroup>

Applies to