ElasticSanVolumeResource.Delete 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.
Overloads
Delete(WaitUntil, Nullable<XmsDeleteSnapshot>, Nullable<XmsForceDelete>, CancellationToken) |
Delete an Volume.
|
Delete(WaitUntil, Nullable<XMsDeleteSnapshot>, Nullable<XMsForceDelete>, CancellationToken) |
Delete an Volume.
|
Delete(WaitUntil, Nullable<XmsDeleteSnapshot>, Nullable<XmsForceDelete>, CancellationToken)
- Source:
- ElasticSanVolumeResource.cs
Delete an Volume.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
- Operation Id: Volumes_Delete
- Default Api Version: 2023-01-01
- Resource: ElasticSanVolumeResource
public virtual Azure.ResourceManager.ArmOperation Delete (Azure.WaitUntil waitUntil, Azure.ResourceManager.ElasticSan.Models.XmsDeleteSnapshot? xmsDeleteSnapshots = default, Azure.ResourceManager.ElasticSan.Models.XmsForceDelete? xmsForceDelete = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Delete : Azure.WaitUntil * Nullable<Azure.ResourceManager.ElasticSan.Models.XmsDeleteSnapshot> * Nullable<Azure.ResourceManager.ElasticSan.Models.XmsForceDelete> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.Delete : Azure.WaitUntil * Nullable<Azure.ResourceManager.ElasticSan.Models.XmsDeleteSnapshot> * Nullable<Azure.ResourceManager.ElasticSan.Models.XmsForceDelete> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function Delete (waitUntil As WaitUntil, Optional xmsDeleteSnapshots As Nullable(Of XmsDeleteSnapshot) = Nothing, Optional xmsForceDelete As Nullable(Of XmsForceDelete) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation
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.
- xmsDeleteSnapshots
- Nullable<Azure.ResourceManager.ElasticSan.Models.XmsDeleteSnapshot>
Optional, used to delete snapshots under volume. Allowed value are only true or false. Default value is false.
- xmsForceDelete
- Nullable<Azure.ResourceManager.ElasticSan.Models.XmsForceDelete>
Optional, used to delete volume if active sessions present. Allowed value are only true or false. Default value is false.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Applies to
Delete(WaitUntil, Nullable<XMsDeleteSnapshot>, Nullable<XMsForceDelete>, CancellationToken)
- Source:
- ElasticSanVolumeResource.cs
Delete an Volume.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}
- Operation Id: Volumes_Delete
public virtual Azure.ResourceManager.ArmOperation Delete (Azure.WaitUntil waitUntil, Azure.ResourceManager.ElasticSan.Models.XMsDeleteSnapshot? xMsDeleteSnapshots = default, Azure.ResourceManager.ElasticSan.Models.XMsForceDelete? xMsForceDelete = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Delete : Azure.WaitUntil * Nullable<Azure.ResourceManager.ElasticSan.Models.XMsDeleteSnapshot> * Nullable<Azure.ResourceManager.ElasticSan.Models.XMsForceDelete> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.Delete : Azure.WaitUntil * Nullable<Azure.ResourceManager.ElasticSan.Models.XMsDeleteSnapshot> * Nullable<Azure.ResourceManager.ElasticSan.Models.XMsForceDelete> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function Delete (waitUntil As WaitUntil, Optional xMsDeleteSnapshots As Nullable(Of XMsDeleteSnapshot) = Nothing, Optional xMsForceDelete As Nullable(Of XMsForceDelete) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation
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.
- xMsDeleteSnapshots
- Nullable<XMsDeleteSnapshot>
Optional, used to delete snapshots under volume. Allowed value are only true or false. Default value is false.
- xMsForceDelete
- Nullable<XMsForceDelete>
Optional, used to delete volume if active sessions present. Allowed value are only true or false. Default value is false.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für