Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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 @@ -1190,6 +1190,44 @@
}
}
},
"SoftDeleteSettings": {
"description": "Soft delete Settings of vault",
"type": "object",
"properties": {
"softDeleteState": {
"enum": [
"Invalid",
"Enabled",
"Disabled",
"AlwaysON"
],
"type": "string",
"x-ms-enum": {
"name": "SoftDeleteState",
"modelAsString": true
}
},
"softDeleteRetentionPeriodInDays": {
"format": "int32",
"description": "Soft delete retention period in days",
"type": "integer"
}
}
},
"MultiUserAuthorization": {
"description": "MUA Settings of vault",
"enum": [
"Invalid",
"Enabled",
"Disabled"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "MultiUserAuthorization",
"modelAsString": true
}
},
"MonitoringSettings": {
"description": "Monitoring Settings of the vault",
"type": "object",
Expand Down Expand Up @@ -1237,6 +1275,14 @@
"immutabilitySettings": {
"description": "Immutability Settings of a vault",
"$ref": "#/definitions/ImmutabilitySettings"
},
"softDeleteSettings": {
"description": "Soft delete Settings of a vault",
"$ref": "#/definitions/SoftDeleteSettings"
},
"multiUserAuthorization": {
"description": "MUA Settings of a vault",
"$ref": "#/definitions/MultiUserAuthorization"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,79 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}": {
"get": {
"tags": [
"RecoveryPoints_Crr"
],
"description": "Provides the information of the backed up data identified using RecoveryPointID.",
"operationId": "RecoveryPointsCrr_Get",
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/ApiVersion"
},
{
"$ref": "#/parameters/VaultName"
},
{
"$ref": "#/parameters/ResourceGroupName"
},
{
"$ref": "#/parameters/SubscriptionId"
},
{
"name": "fabricName",
"in": "path",
"description": "Fabric name associated with backed up item.",
"required": true,
"type": "string"
},
{
"name": "containerName",
"in": "path",
"description": "Container name associated with backed up item.",
"required": true,
"type": "string"
},
{
"name": "protectedItemName",
"in": "path",
"description": "Backed up item name whose backup data needs to be fetched.",
"required": true,
"type": "string"
},
{
"name": "recoveryPointId",
"in": "path",
"description": "RecoveryPointID represents the backed up data to be fetched.",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/RecoveryPointResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/NewErrorResponse"
}
}
},
"x-ms-examples": {
"Get Azure Vm Recovery Point Details": {
"$ref": "./examples/AzureIaasVm/RecoveryPoints_Get.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectedItems/": {
"get": {
"tags": [
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": "2019-05-13",
"api-version": "2021-11-15",
"$filter": "backupManagementType eq 'AzureIaasVM' and itemType eq 'VM'"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rshhtestmdvmrg",
"vaultName": "rshvault",
"fabricName": "Azure",
"containerName": "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"protectedItemName": "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"recoveryPointId": "26083826328862",
"api-version": "2021-11-15"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rshhtestmdvmrg/providers/Microsoft.RecoveryServices/vaults/rshvault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/protectedItems/VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/recoveryPoints/26083826328862",
"name": "26083826328862",
"type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints",
"properties": {
"objectType": "IaasVMRecoveryPoint",
"recoveryPointType": "CrashConsistent",
"recoveryPointTime": "2017-11-22T22:32:46.6088472Z",
"recoveryPointAdditionalInfo": "",
"sourceVMStorageType": "NormalStorage",
"isSourceVMEncrypted": false,
"isInstantIlrSessionActive": false,
"recoveryPointTierDetails": [
{
"type": "HardenedRP",
"status": "Valid"
}
],
"isManagedVirtualMachine": true,
"virtualMachineSize": "Standard_D1",
"originalStorageAccountOption": false,
"zones": [
"1"
]
}
}
}
}
}
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": "2019-05-13"
"api-version": "2021-11-15"
},
"responses": {
"200": {
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": "testRG",
"vaultName": "testVault",
"api-version": "2017-07-01",
"api-version": "2021-11-15",
"$filter": "type eq 'BackupProtectedItemCountSummary'"
},
"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": "testRG",
"vaultName": "testVault",
"api-version": "2017-07-01",
"api-version": "2021-11-15",
"$filter": "type eq 'BackupProtectionContainerCountSummary'"
},
"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": "PythonSDKBackupTestRg",
"vaultName": "PySDKBackupTestRsVault",
"api-version": "2016-12-01"
"api-version": "2021-11-15"
},
"responses": {
"200": {
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": "PythonSDKBackupTestRg",
"vaultName": "PySDKBackupTestRsVault",
"api-version": "2016-12-01",
"api-version": "2021-11-15",
"parameters": {
"properties": {
"storageType": "LocallyRedundant",
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": "PythonSDKBackupTestRg",
"vaultName": "PySDKBackupTestRsVault",
"api-version": "2016-12-01",
"api-version": "2021-11-15",
"parameters": {
"properties": {
"storageType": "LocallyRedundant",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,79 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}": {
"get": {
"tags": [
"RecoveryPoints_Crr"
],
"description": "Provides the information of the backed up data identified using RecoveryPointID.",
"operationId": "RecoveryPointsCrr_Get",
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/ApiVersion"
},
{
"$ref": "#/parameters/VaultName"
},
{
"$ref": "#/parameters/ResourceGroupName"
},
{
"$ref": "#/parameters/SubscriptionId"
},
{
"name": "fabricName",
"in": "path",
"description": "Fabric name associated with backed up item.",
"required": true,
"type": "string"
},
{
"name": "containerName",
"in": "path",
"description": "Container name associated with backed up item.",
"required": true,
"type": "string"
},
{
"name": "protectedItemName",
"in": "path",
"description": "Backed up item name whose backup data needs to be fetched.",
"required": true,
"type": "string"
},
{
"name": "recoveryPointId",
"in": "path",
"description": "RecoveryPointID represents the backed up data to be fetched.",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/RecoveryPointResource"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/NewErrorResponse"
}
}
},
"x-ms-examples": {
"Get Azure Vm Recovery Point Details": {
"$ref": "./examples/AzureIaasVm/RecoveryPoints_Get.json"
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupProtectedItems/": {
"get": {
"tags": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rshhtestmdvmrg",
"vaultName": "rshvault",
"fabricName": "Azure",
"containerName": "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"protectedItemName": "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
"recoveryPointId": "26083826328862",
"api-version": "2023-01-15"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rshhtestmdvmrg/providers/Microsoft.RecoveryServices/vaults/rshvault/backupFabrics/Azure/protectionContainers/IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/protectedItems/VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall/recoveryPoints/26083826328862",
"name": "26083826328862",
"type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints",
"properties": {
"objectType": "IaasVMRecoveryPoint",
"recoveryPointType": "CrashConsistent",
"recoveryPointTime": "2017-11-22T22:32:46.6088472Z",
"recoveryPointAdditionalInfo": "",
"sourceVMStorageType": "NormalStorage",
"isSourceVMEncrypted": false,
"isInstantIlrSessionActive": false,
"recoveryPointTierDetails": [
{
"type": "HardenedRP",
"status": "Valid"
}
],
"isManagedVirtualMachine": true,
"virtualMachineSize": "Standard_D1",
"originalStorageAccountOption": false,
"zones": [
"1"
]
}
}
}
}
}
Loading