BatchAccountOperationsExtensions.BeginCreateAsync Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Maakt een nieuw Batch-account met de opgegeven parameters. Bestaande accounts kunnen niet worden bijgewerkt met deze API en moeten in plaats daarvan worden bijgewerkt met de Api Batch-account bijwerken.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.BatchAccount> BeginCreateAsync (this Microsoft.Azure.Management.Batch.IBatchAccountOperations operations, string resourceGroupName, string accountName, Microsoft.Azure.Management.Batch.Models.BatchAccountCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateAsync : Microsoft.Azure.Management.Batch.IBatchAccountOperations * string * string * Microsoft.Azure.Management.Batch.Models.BatchAccountCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.BatchAccount>
<Extension()>
Public Function BeginCreateAsync (operations As IBatchAccountOperations, resourceGroupName As String, accountName As String, parameters As BatchAccountCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BatchAccount)
Parameters
- operations
- IBatchAccountOperations
De bewerkingsgroep voor deze extensiemethode.
- resourceGroupName
- String
De naam van de resourcegroep die het Batch-account bevat.
- accountName
- String
Een naam voor het Batch-account die uniek moet zijn binnen de regio. Batch-accountnamen moeten tussen 3 en 24 tekens lang zijn en mogen alleen cijfers en kleine letters bevatten. Deze naam wordt gebruikt als onderdeel van de DNS-naam die wordt gebruikt voor toegang tot de Batch-service in de regio waarin het account is gemaakt. Bijvoorbeeld: http://accountname.region.batch.azure.com/.
- parameters
- BatchAccountCreateParameters
Aanvullende parameters voor het maken van accounts.
- cancellationToken
- CancellationToken
Het annuleringstoken.
Retouren
Van toepassing op
Azure SDK for .NET