ProtectionIntentOperationsExtensions.DeleteAsync(IProtectionIntentOperations, String, String, String, String, CancellationToken) Method

Definition

Used to remove intent from an item

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionIntentOperations operations, string vaultName, string resourceGroupName, string fabricName, string intentObjectName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionIntentOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IProtectionIntentOperations, vaultName As String, resourceGroupName As String, fabricName As String, intentObjectName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IProtectionIntentOperations

The operations group for this extension method.

vaultName
System.String

The name of the recovery services vault.

resourceGroupName
System.String

The name of the resource group where the recovery services vault is present.

fabricName
System.String

Fabric name associated with the intent.

intentObjectName
System.String

Intent to be deleted.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Applies to