VolumeContainersOperationsExtensions.CreateOrUpdateAsync(IVolumeContainersOperations, String, String, VolumeContainer, String, String, CancellationToken) 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
System.String

The device name

volumeContainerName
System.String

The name of the volume container.

parameters
VolumeContainer

The volume container to be added or updated.

resourceGroupName
System.String

The resource group name

managerName
System.String

The manager name

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<VolumeContainer>

Applies to