Beispiel #1
0
 /// <summary>
 /// Delete a backup policy
 /// </summary>
 /// <remarks>
 /// Delete backup policy
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='accountName'>
 /// The name of the NetApp account
 /// </param>
 /// <param name='backupPolicyName'>
 /// Backup policy Name which uniquely identify backup policy.
 /// </param>
 public static void BeginDelete(this IBackupPoliciesOperations operations, string resourceGroupName, string accountName, string backupPolicyName)
 {
     operations.BeginDeleteAsync(resourceGroupName, accountName, backupPolicyName).GetAwaiter().GetResult();
 }
Beispiel #2
0
 /// <summary>
 /// Deletes the backup policy.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='deviceName'>
 /// The device name
 /// </param>
 /// <param name='backupPolicyName'>
 /// The name of the backup policy.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name
 /// </param>
 /// <param name='managerName'>
 /// The manager name
 /// </param>
 public static void BeginDelete(this IBackupPoliciesOperations operations, string deviceName, string backupPolicyName, string resourceGroupName, string managerName)
 {
     operations.BeginDeleteAsync(deviceName, backupPolicyName, resourceGroupName, managerName).GetAwaiter().GetResult();
 }