Share via


EnergyServiceResource.RemovePartition Method

Definition

Method that gets called if new partition is to be removed from a resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OpenEnergyPlatform/energyServices/{resourceName}/removePartition
  • Operation Id: EnergyServices_RemovePartition
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent> RemovePartition (Azure.WaitUntil waitUntil, Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member RemovePartition : Azure.WaitUntil * Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent>
override this.RemovePartition : Azure.WaitUntil * Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent>
Public Overridable Function RemovePartition (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

remove partition action payload.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to