共用方式為


VolumeContainersOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates the volume container.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorSimple8000Series.Models.VolumeContainer> CreateOrUpdateAsync (this Microsoft.Azure.Management.StorSimple8000Series.IVolumeContainersOperations operations, string deviceName, string volumeContainerName, Microsoft.Azure.Management.StorSimple8000Series.Models.VolumeContainer parameters, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.StorSimple8000Series.IVolumeContainersOperations * string * string * Microsoft.Azure.Management.StorSimple8000Series.Models.VolumeContainer * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorSimple8000Series.Models.VolumeContainer>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IVolumeContainersOperations, deviceName As String, volumeContainerName As String, parameters As VolumeContainer, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VolumeContainer)

Parameters

operations
IVolumeContainersOperations

The operations group for this extension method.

deviceName
String

The device name

volumeContainerName
String

The name of the volume container.

parameters
VolumeContainer

The volume container to be added or updated.

resourceGroupName
String

The resource group name

managerName
String

The manager name

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to