v12

latestSwagger 2.0raw.githubusercontent.com2019-10-1684552.5 KB
ProtectionIntent

It will validate followings 1. Vault capacity 2. VM is already protected 3. Any VM related configuration passed in properties.

post/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupPreValidateProtection

Path parameters

azureRegionstring required

Azure region to hit Api

subscriptionIdstring required

The subscription Id.

Query parameters

api-versionstring required

Client Api Version.

Request body

resourceType'Invalid' | 'VM' | 'FileFolder' | 'AzureSqlDb' | 'SQLDB' | 'Exchange' | 'Sharepoint' | 'VMwareVM' | 'SystemState' | 'Client' | 'GenericDataSource' | 'SQLDataBase' | 'AzureFileShare' | 'SAPHanaDatabase' | 'SAPAseDatabase'

ProtectedItem Type- VM, SqlDataBase, AzureFileShare etc

resourceIdstring

ARM Virtual Machine Id

vaultIdstring

ARM id of the Recovery Services Vault

propertiesstring

Configuration of VM if any needs to be validated like OS type etc

Response

OK

status'Invalid' | 'Succeeded' | 'Failed'

Validation Status

errorCodestring

Response error code

errorMessagestring

Response error message

recommendationstring

Recommended action for user

containerNamestring

Specifies the product specific container name. E.g. iaasvmcontainer;iaasvmcontainer;rgname;vmname. This is required for portal

protectedItemNamestring

Specifies the product specific ds name. E.g. vm;iaasvmcontainer;rgname;vmname. This is required for portal

All 8 operations