def create_or_update(vault_name, resource_group_name, policy_name, resource_protection_policy, custom_headers:nil)
      response = create_or_update_async(vault_name, resource_group_name, policy_name, resource_protection_policy, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def create_or_update(vault_name, resource_group_name, policy_name, resource_protection_policy, custom_headers:nil)
      response = create_or_update_async(vault_name, resource_group_name, policy_name, resource_protection_policy, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Creates or modifies a backup policy. This is an asynchronous operation. Use
 the GetPolicyOperationResult API to Get the operation status.

 @param vault_name [String] The name of the Recovery Services vault.
 @param resource_group_name [String] The name of the resource group associated
 with the Recovery Services vault.
 @param policy_name [String] The backup policy to be created.
 @param resource_protection_policy [ProtectionPolicyResource] The resource
 backup policy.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [ProtectionPolicyResource] operation results.