LargeInstanceCollection.CreateOrUpdate Method

Definition

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

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

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.

azureLargeInstanceName
String

Name of the AzureLargeInstance.

data
LargeInstanceData

Resource create parameters.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

azureLargeInstanceName or data is null.

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

Applies to