LargeStorageInstanceCollection.CreateOrUpdateAsync Method

Definition

Creates an Azure Large Storage Instance for the specified subscription, resource group, and instance name.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances/{azureLargeStorageInstanceName}.
  • Operation Id. : AzureLargeStorageInstances_Create.
  • Default Api Version. : 2024-08-01-preview.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.LargeInstance.LargeStorageInstanceResource>> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string azureLargeStorageInstanceName, Azure.ResourceManager.LargeInstance.LargeStorageInstanceData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.LargeInstance.LargeStorageInstanceData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.LargeInstance.LargeStorageInstanceResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.LargeInstance.LargeStorageInstanceData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.LargeInstance.LargeStorageInstanceResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, azureLargeStorageInstanceName As String, data As LargeStorageInstanceData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of LargeStorageInstanceResource))

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.

azureLargeStorageInstanceName
String

Name of the AzureLargeStorageInstance.

data
LargeStorageInstanceData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

azureLargeStorageInstanceName or data is null.

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

Applies to