共用方式為


ContainersOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates a new container or updates an existing container on the device.

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)

Parameters

operations
IContainersOperations

The operations group for this extension method.

deviceName
String

The device name.

storageAccountName
String

The Storage Account Name

containerName
String

The container name.

container
Container

The container properties.

resourceGroupName
String

The resource group name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to