Udostępnij za pośrednictwem


EnergyServiceResource.AddPartition Method

Definition

Method that gets called if new partition is to be added in a resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}/addPartition
  • Operation Id: EnergyServices_AddPartition
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent> AddPartition (Azure.WaitUntil waitUntil, Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddPartition : Azure.WaitUntil * Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent>
override this.AddPartition : Azure.WaitUntil * Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent>
Public Overridable Function AddPartition (waitUntil As WaitUntil, Optional content As DataPartitionAddOrRemoveContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of DataPartitionAddOrRemoveContent)

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.

content
DataPartitionAddOrRemoveContent

add partition action payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to