Method: Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::ProtectionPolicies#delete
- Defined in:
- lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policies.rb
#delete(vault_name, resource_group_name, policy_name, custom_headers: nil) ⇒ Object
Deletes the specified backup policy from your Recovery Services vault. This is an asynchronous operation. Use the GetPolicyOperationResult API to Get the operation status.
with the Recovery Services vault. will be added to the HTTP request.
269 270 271 272 |
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policies.rb', line 269 def delete(vault_name, resource_group_name, policy_name, custom_headers:nil) response = delete_async(vault_name, resource_group_name, policy_name, custom_headers:custom_headers).value! nil end |