다음을 통해 공유


AutoScaleVCoreCollection.CreateOrUpdateAsync 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 System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, string vcoreName, Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * string * Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.PowerBIDedicated.AutoScaleVCoreResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, vcoreName As String, data As AutoScaleVCoreData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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