Compartilhar via


RegistriesOperationsExtensions.BeginCreateAsync Método

Definição

Cria um registro de contêiner com os parâmetros especificados.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.RegistryInner> BeginCreateAsync (this Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistriesOperations operations, string resourceGroupName, string registryName, Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.RegistryInner registry, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateAsync : Microsoft.Azure.Management.ContainerRegistry.Fluent.IRegistriesOperations * string * string * Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.RegistryInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.RegistryInner>
<Extension()>
Public Function BeginCreateAsync (operations As IRegistriesOperations, resourceGroupName As String, registryName As String, registry As RegistryInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RegistryInner)

Parâmetros

operations
IRegistriesOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos ao qual o registro de contêiner pertence.

registryName
String

O nome do registro de contêiner.

registry
RegistryInner

Os parâmetros para criar um registro de contêiner.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a