Skip to content

Commit

Permalink
Generated from c5c4c47c4594c8af8093d23d123fbb1e6f9b1c2c
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Oct 19, 2020
1 parent f7d440f commit 37c9728
Show file tree
Hide file tree
Showing 9 changed files with 10,274 additions and 4,452 deletions.
1,179 changes: 1,069 additions & 110 deletions schemas/2016-06-01/Microsoft.RecoveryServices.json

Large diffs are not rendered by default.

4,663 changes: 532 additions & 4,131 deletions schemas/2016-12-01/Microsoft.RecoveryServices.json

Large diffs are not rendered by default.

263 changes: 53 additions & 210 deletions schemas/2017-07-01/Microsoft.RecoveryServices.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,60 +7,62 @@
"vaults_backupFabrics_backupProtectionIntent": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2017-07-01"
]
},
"eTag": {
"type": "string",
"description": "Optional ETag."
},
"location": {
"type": "string",
"description": "Resource location."
},
"tags": {
"name": {
"type": "string",
"description": "Intent object name."
},
"properties": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
"$ref": "#/definitions/ProtectionIntent"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resource tags."
"description": "Base class for backup ProtectionIntent."
},
"eTag": {
"type": "string",
"description": "Optional ETag."
},
"properties": {
"tags": {
"oneOf": [
{
"$ref": "#/definitions/ProtectionIntent"
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "ProtectionIntentResource properties"
"description": "Resource tags."
},
"type": {
"type": "string",
"enum": [
"Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent"
]
}
},
"required": [
"name",
"type",
"apiVersion",
"properties"
"name",
"properties",
"type"
],
"description": "Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent"
}
Expand All @@ -70,48 +72,15 @@
"type": "object",
"oneOf": [
{
"properties": {
"protectionIntentItemType": {
"oneOf": [
{
"type": "string",
"enum": [
"RecoveryServiceVaultItem"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
}
},
{
"allOf": [
{
"$ref": "#/definitions/AzureWorkloadAutoProtectionIntent"
}
],
"properties": {
"protectionIntentItemType": {
"oneOf": [
{
"type": "string",
"enum": [
"AzureWorkloadAutoProtectionIntent"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
}
"$ref": "#/definitions/AzureWorkloadAutoProtectionIntent"
}
],
"properties": {
"protectionIntentItemType": {
"type": "string"
"type": "string",
"enum": [
"RecoveryServiceVaultItem"
]
}
},
"required": [
Expand All @@ -121,32 +90,16 @@
},
"AzureResourceProtectionIntent": {
"type": "object",
"oneOf": [
{
"properties": {
"protectionIntentItemType": {
"oneOf": [
{
"type": "string",
"enum": [
"AzureResourceItem"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
}
}
],
"properties": {
"friendlyName": {
"type": "string",
"description": "Friendly name of the VM represented by this backup item."
},
"protectionIntentItemType": {
"type": "string"
"type": "string",
"enum": [
"AzureResourceItem"
]
}
},
"required": [
Expand All @@ -158,48 +111,15 @@
"type": "object",
"oneOf": [
{
"properties": {
"protectionIntentItemType": {
"oneOf": [
{
"type": "string",
"enum": [
"AzureWorkloadAutoProtectionIntent"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
}
},
{
"allOf": [
{
"$ref": "#/definitions/AzureWorkloadSQLAutoProtectionIntent"
}
],
"properties": {
"protectionIntentItemType": {
"oneOf": [
{
"type": "string",
"enum": [
"AzureWorkloadSQLAutoProtectionIntent"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
}
"$ref": "#/definitions/AzureWorkloadSQLAutoProtectionIntent"
}
],
"properties": {
"protectionIntentItemType": {
"type": "string"
"type": "string",
"enum": [
"AzureWorkloadAutoProtectionIntent"
]
}
},
"required": [
Expand All @@ -209,26 +129,13 @@
},
"AzureWorkloadSQLAutoProtectionIntent": {
"type": "object",
"oneOf": [
{
"properties": {
"protectionIntentItemType": {
"oneOf": [
{
"type": "string",
"enum": [
"AzureWorkloadSQLAutoProtectionIntent"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
}
}
],
"properties": {
"protectionIntentItemType": {
"type": "string",
"enum": [
"AzureWorkloadSQLAutoProtectionIntent"
]
},
"workloadItemType": {
"oneOf": [
{
Expand All @@ -248,9 +155,6 @@
}
],
"description": "Workload item type of the item for which intent is to be set."
},
"protectionIntentItemType": {
"type": "string"
}
},
"required": [
Expand All @@ -262,65 +166,10 @@
"type": "object",
"oneOf": [
{
"allOf": [
{
"$ref": "#/definitions/AzureRecoveryServiceVaultProtectionIntent"
}
],
"properties": {
"protectionIntentItemType": {
"oneOf": [
{
"type": "string",
"enum": [
"RecoveryServiceVaultItem"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
}
},
{
"allOf": [
{
"$ref": "#/definitions/AzureResourceProtectionIntent"
}
],
"properties": {
"protectionIntentItemType": {
"oneOf": [
{
"type": "string",
"enum": [
"AzureResourceItem"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
}
"$ref": "#/definitions/AzureRecoveryServiceVaultProtectionIntent"
},
{
"properties": {
"protectionIntentItemType": {
"oneOf": [
{
"type": "string",
"enum": [
"ProtectionIntent"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
}
"$ref": "#/definitions/AzureResourceProtectionIntent"
}
],
"properties": {
Expand All @@ -346,10 +195,6 @@
],
"description": "Type of backup management for the backed up item."
},
"sourceResourceId": {
"type": "string",
"description": "ARM ID of the resource to be backed up."
},
"itemId": {
"type": "string",
"description": "ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId"
Expand All @@ -376,14 +221,12 @@
],
"description": "Backup state of this backup item."
},
"protectionIntentItemType": {
"type": "string"
"sourceResourceId": {
"type": "string",
"description": "ARM ID of the resource to be backed up."
}
},
"required": [
"protectionIntentItemType"
],
"description": "Base class for backup ProtectionIntent."
}
}
}
}
Loading

0 comments on commit 37c9728

Please sign in to comment.