Share via


DellFileSystemCollection.CreateOrUpdateAsync Method

Definition

Create a FileSystemResource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Dell.Storage/filesystems/{filesystemName}
  • Operation Id: FileSystemResource_CreateOrUpdate
  • Default Api Version: 2025-03-21-preview
  • Resource: DellFileSystemResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Dell.Storage.DellFileSystemResource>> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string filesystemName, Azure.ResourceManager.Dell.Storage.DellFileSystemData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Dell.Storage.DellFileSystemData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Dell.Storage.DellFileSystemResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.Dell.Storage.DellFileSystemData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Dell.Storage.DellFileSystemResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, filesystemName As String, data As DellFileSystemData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of DellFileSystemResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

filesystemName
String

Name of the filesystem resource.

data
DellFileSystemData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

filesystemName is an empty string, and was expected to be non-empty.

filesystemName or data is null.

Applies to