Udostępnij za pośrednictwem


GroupsOperationsExtensions.CreateAsync Method

Definition

Create a group in the directory.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ADGroupInner> CreateAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IGroupsOperations operations, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.GroupCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IGroupsOperations * Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.GroupCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ADGroupInner>
<Extension()>
Public Function CreateAsync (operations As IGroupsOperations, parameters As GroupCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ADGroupInner)

Parameters

operations
IGroupsOperations

The operations group for this extension method.

parameters
GroupCreateParameters

The parameters for the group to create.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to