Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2587,6 +2587,165 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupTriggerValidateOperation": {
"post": {
"tags": [
"ValidateOperation"
],
"description": "Validate operation for specified backed up item in the form of an asynchronous operation. Returns tracking headers which can be tracked using GetValidateOperationResult API.",
"operationId": "ValidateOperation_Trigger",
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/ApiVersion"
},
{
"$ref": "#/parameters/VaultName"
},
{
"$ref": "#/parameters/ResourceGroupName"
},
{
"$ref": "#/parameters/SubscriptionId"
},
{
"name": "parameters",
"in": "body",
"description": "resource validate operation request",
"required": true,
"schema": {
"$ref": "#/definitions/ValidateOperationRequest"
}
}
],
"responses": {
"202": {
"description": "Accepted"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
"Trigger Validate Operation": {
"$ref": "./examples/AzureIaasVm/TriggerValidateOperation_RestoreDisk.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupValidateOperationResults/{operationId}": {
"get": {
"tags": [
"ValidateOperationResults"
],
"description": "Fetches the result of a triggered validate operation.",
"operationId": "ValidateOperationResults_Get",
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/ApiVersion"
},
{
"$ref": "#/parameters/VaultName"
},
{
"$ref": "#/parameters/ResourceGroupName"
},
{
"$ref": "#/parameters/SubscriptionId"
},
{
"name": "operationId",
"in": "path",
"description": "OperationID which represents the operation whose result needs to be fetched.",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ValidateOperationsResponse"
}
},
"202": {
"description": "Accepted"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"Get Operation Results of Validate Operation": {
"$ref": "./examples/AzureIaasVm/ValidateOperationResults.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupValidateOperationsStatuses/{operationId}": {
"get": {
"tags": [
"ValidateOperationStatuses"
],
"description": "Fetches the status of a triggered validate operation. The status can be in progress, completed\r\nor failed. You can refer to the OperationStatus enum for all the possible states of the operation.\r\nIf operation has completed, this method returns the list of errors obtained while validating the operation.",
"operationId": "ValidateOperationStatuses_Get",
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/ApiVersion"
},
{
"$ref": "#/parameters/VaultName"
},
{
"$ref": "#/parameters/ResourceGroupName"
},
{
"$ref": "#/parameters/SubscriptionId"
},
{
"name": "operationId",
"in": "path",
"description": "OperationID represents the operation whose status needs to be fetched.",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/OperationStatus"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"Get Operation Status of Validate Operation": {
"$ref": "./examples/AzureIaasVm/ValidateOperationStatus.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines": {
"get": {
"tags": [
Expand Down Expand Up @@ -11263,6 +11422,22 @@
},
"x-ms-discriminator-value": "OperationStatusProvisionILRExtendedInfo"
},
"OperationStatusValidateOperationExtendedInfo": {
"description": "Operation status extended info for ValidateOperation action.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/OperationStatusExtendedInfo"
}
],
"properties": {
"validateOperationResponse": {
"$ref": "#/definitions/ValidateOperationResponse",
"description": "Gets the validation operation response"
}
},
"x-ms-discriminator-value": "OperationStatusValidateOperationExtendedInfo"
},
"PreBackupValidation": {
"description": "Pre-backup validation for Azure VM Workload provider.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"azureRegion": "southeastasia",
"api-version": "2021-08-01",
"api-version": "2021-10-01",
"parameters": {
"featureType": "AzureVMResourceBackup",
"vmSize": "Basic_A0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"api-version": "2021-08-01",
"api-version": "2021-10-01",
"$filter": "backupManagementType eq 'AzureIaasVM'"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"api-version": "2021-08-01",
"api-version": "2021-10-01",
"$filter": "backupManagementType eq 'AzureIaasVM'"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"api-version": "2021-08-01",
"api-version": "2021-10-01",
"$filter": "backupManagementType eq 'AzureIaasVM' and itemType eq 'VM'"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "iaasvmcontainer;iaasvmcontainer;iaasvm-rg;iaasvm-1",
"protectedItemName": "vm;iaasvmcontainer;iaasvm-rg;iaasvm-1",
"api-version": "2021-08-01"
"api-version": "2021-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "iaasvmcontainer;iaasvmcontainerv2;iaasvm-rg;iaasvm-1",
"protectedItemName": "vm;iaasvmcontainerv2;iaasvm-rg;iaasvm-1",
"api-version": "2021-08-01"
"api-version": "2021-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"api-version": "2021-08-01",
"api-version": "2021-10-01",
"parameters": {
"properties": {
"protectedItemType": "Microsoft.Compute/virtualMachines",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"azureRegion": "southeastasia",
"api-version": "2021-08-01",
"api-version": "2021-10-01",
"parameters": {
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.Compute/VirtualMachines/testVm",
"resourceType": "VM"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"operationId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-08-01"
"api-version": "2021-10-01"
},
"responses": {
"202": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"containerName": "IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"protectedItemName": "VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1",
"operationId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-08-01"
"api-version": "2021-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"vaultName": "myVault",
"fabricName": "Azure",
"intentObjectName": "vm;iaasvmcontainerv2;chamsrgtest;chamscandel",
"api-version": "2021-08-01",
"api-version": "2021-10-01",
"parameters": {
"properties": {
"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/chamsrgtest/providers/Microsoft.Compute/virtualMachines/chamscandel",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"azureRegion": "southeastasia",
"api-version": "2021-08-01",
"api-version": "2021-10-01",
"parameters": {
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/arunaupgrade/providers/Microsoft.Compute/VirtualMachines/upgrade1",
"resourceType": "VM",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"policyName": "testPolicy1",
"api-version": "2021-08-01",
"api-version": "2021-10-01",
"parameters": {
"properties": {
"backupManagementType": "AzureIaasVM",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"policyName": "testPolicy1",
"api-version": "2021-08-01",
"api-version": "2021-10-01",
"parameters": {
"properties": {
"backupManagementType": "AzureIaasVM",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"policyName": "testPolicy1",
"api-version": "2021-08-01"
"api-version": "2021-10-01"
},
"responses": {
"200": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "SwaggerTestRg",
"vaultName": "NetSDKTestRsVault",
"policyName": "testPolicy1",
"api-version": "2021-08-01"
"api-version": "2021-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"vaultName": "NetSDKTestRsVault",
"policyName": "testPolicy1",
"operationId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-08-01"
"api-version": "2021-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"vaultName": "NetSDKTestRsVault",
"policyName": "testPolicy1",
"operationId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-08-01"
"api-version": "2021-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"containerName": "iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1",
"protectedItemName": "vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1",
"recoveryPointId": "1",
"api-version": "2021-08-01",
"api-version": "2021-10-01",
"parameters": {
"properties": {
"initiatorName": "Hello World",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"protectedItemName": "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"api-version": "2021-08-01",
"api-version": "2021-10-01",
"parameters": {
"objectType": "ListRecoveryPointsRecommendedForMoveRequest",
"excludedRPList": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"containerName": "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"protectedItemName": "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"recoveryPointId": "26083826328862",
"api-version": "2021-08-01"
"api-version": "2021-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fabricName": "Azure",
"containerName": "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"protectedItemName": "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"api-version": "2021-08-01"
"api-version": "2021-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"containerName": "iaasvmcontainer;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1",
"protectedItemName": "vm;iaasvmcontainerv2;pysdktestrg;pysdktestv2vm1",
"recoveryPointId": "1",
"api-version": "2021-08-01"
"api-version": "2021-10-01"
},
"responses": {
"202": {
Expand Down
Loading