Compartilhar via


ContainersOperationsExtensions.BeginCreateOrUpdateAsync Método

Definição

Cria um novo contêiner ou atualiza um contêiner existente no dispositivo.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.Container> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.DataBoxEdge.IContainersOperations operations, string deviceName, string storageAccountName, string containerName, Microsoft.Azure.Management.DataBoxEdge.Models.Container container, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.DataBoxEdge.IContainersOperations * string * string * string * Microsoft.Azure.Management.DataBoxEdge.Models.Container * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.Container>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IContainersOperations, deviceName As String, storageAccountName As String, containerName As String, container As Container, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Container)

Parâmetros

operations
IContainersOperations

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

deviceName
String

O nome do dispositivo.

storageAccountName
String

O nome da conta de armazenamento

containerName
String

O nome do contêiner.

container
Container

As propriedades do contêiner.

resourceGroupName
String

O nome do grupo de recursos.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a