CustomEntityStoreAssignmentsOperationsExtensions.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a custom entity store assignment for the provided subscription, if not already exists.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.CustomEntityStoreAssignment> CreateAsync(this Microsoft.Azure.Management.Security.ICustomEntityStoreAssignmentsOperations operations, string resourceGroupName, string customEntityStoreAssignmentName, string principal = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Security.ICustomEntityStoreAssignmentsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.CustomEntityStoreAssignment>
<Extension()>
Public Function CreateAsync (operations As ICustomEntityStoreAssignmentsOperations, resourceGroupName As String, customEntityStoreAssignmentName As String, Optional principal As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CustomEntityStoreAssignment)
Parameters
- operations
- ICustomEntityStoreAssignmentsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group within the user's subscription. The name is case insensitive.
- customEntityStoreAssignmentName
- String
Name of the custom entity store assignment. Generated name is GUID.
- principal
- String
- cancellationToken
- CancellationToken
The cancellation token.