AccountsOperationsExtensions.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.
Create an account in the given resource group
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.Account> CreateAsync (this Microsoft.Azure.Management.DataShare.IAccountsOperations operations, string resourceGroupName, string accountName, Microsoft.Azure.Management.DataShare.Models.Account account, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.DataShare.IAccountsOperations * string * string * Microsoft.Azure.Management.DataShare.Models.Account * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.Account>
<Extension()>
Public Function CreateAsync (operations As IAccountsOperations, resourceGroupName As String, accountName As String, account As Account, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Account)
Parameters
- operations
- IAccountsOperations
The operations group for this extension method.
- resourceGroupName
- String
The resource group name.
- accountName
- String
The name of the share account.
- account
- Account
The account payload.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Create an account
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET