AutoScaleVCoreCollection.CreateOrUpdate Method

Definition

Provisions the specified auto scale v-core based on the configuration specified in the request.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/autoScaleVCores/{vcoreName}
  • Operation Id: AutoScaleVCores_Create
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string vcoreName, Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, vcoreName As String, data As AutoScaleVCoreData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of AutoScaleVCoreResource)

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.

vcoreName
String

The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.

data
AutoScaleVCoreData

Contains the information used to provision the auto scale v-core.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

vcoreName or data is null.

Applies to