v4

latestSwagger 2.0raw.githubusercontent.com2019-06-1833108139.7 KB
ProtectionPolicies

Creates or modifies a backup policy. This is an asynchronous operation. Use the GetPolicyOperationResult API to Get the operation status.

put/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupPolicies/{policyName}

Path parameters

vaultNamestring required

The name of the Recovery Services vault.

resourceGroupNamestring required

The name of the resource group associated with the Recovery Services vault.

subscriptionIdstring required

The subscription ID.

policyNamestring required

The backup policy to be created.

Query parameters

api-versionstring required

Client API version.

Request body

idstring

Resource ID represents the complete path to the resource.

namestring

Resource name associated with the resource.

typestring

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

locationstring

Resource location.

tagsobject

Resource tags.

eTagstring

Optional ETag.

Response

OK.

idstring

Resource ID represents the complete path to the resource.

namestring

Resource name associated with the resource.

typestring

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

locationstring

Resource location.

tagsobject

Resource tags.

eTagstring

Optional ETag.