Udostępnij za pośrednictwem


VolumesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates the volume.

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

Parameters

operations
IVolumesOperations

The operations group for this extension method.

deviceName
String

The device name

volumeContainerName
String

The volume container name.

volumeName
String

The volume name.

parameters
Volume

Volume to be created or updated.

resourceGroupName
String

The resource group name

managerName
String

The manager name

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to