EnergyServiceResource.RemovePartitionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent>> RemovePartitionAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member RemovePartitionAsync : Azure.WaitUntil * Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent>>
override this.RemovePartitionAsync : Azure.WaitUntil * Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.EnergyServices.Models.DataPartitionAddOrRemoveContent>>
Public Overridable Function RemovePartitionAsync (waitUntil As WaitUntil, Optional content As DataPartitionAddOrRemoveContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
Azure SDK for .NET