ApplicationOperationsExtensions.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.
Adds an application to the specified Batch account.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.Application> CreateAsync (this Microsoft.Azure.Management.Batch.IApplicationOperations operations, string resourceGroupName, string accountName, string applicationName, Microsoft.Azure.Management.Batch.Models.Application parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Batch.IApplicationOperations * string * string * string * Microsoft.Azure.Management.Batch.Models.Application * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.Application>
<Extension()>
Public Function CreateAsync (operations As IApplicationOperations, resourceGroupName As String, accountName As String, applicationName As String, Optional parameters As Application = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Application)
Parameters
- operations
- IApplicationOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group that contains the Batch account.
- accountName
- String
The name of the Batch account.
- applicationName
- String
The name of the application. This must be unique within the account.
- parameters
- Application
The parameters for the request.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
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