Skip to content

Commit b7b6892

Browse files
author
Autogenerator Pipeline
committed
Autogenerate schemas
1 parent 6eed517 commit b7b6892

File tree

30 files changed

+97589
-0
lines changed

30 files changed

+97589
-0
lines changed

schemas/2016-06-01/Microsoft.RecoveryServices.Backup.json

Lines changed: 1219 additions & 0 deletions
Large diffs are not rendered by default.

schemas/2016-12-01/Microsoft.RecoveryServices.Backup.json

Lines changed: 1031 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 232 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,232 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2017-07-01/Microsoft.RecoveryServices.Backup.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.RecoveryServices",
5+
"description": "Microsoft RecoveryServices Resource Types",
6+
"resourceDefinitions": {
7+
"vaults_backupFabrics_backupProtectionIntent": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2017-07-01"
14+
]
15+
},
16+
"eTag": {
17+
"type": "string",
18+
"description": "Optional ETag."
19+
},
20+
"location": {
21+
"type": "string",
22+
"description": "Resource location."
23+
},
24+
"name": {
25+
"type": "string",
26+
"description": "Intent object name."
27+
},
28+
"properties": {
29+
"oneOf": [
30+
{
31+
"$ref": "#/definitions/ProtectionIntent"
32+
},
33+
{
34+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
35+
}
36+
],
37+
"description": "Base class for backup ProtectionIntent."
38+
},
39+
"tags": {
40+
"oneOf": [
41+
{
42+
"type": "object",
43+
"additionalProperties": {
44+
"type": "string"
45+
},
46+
"properties": {}
47+
},
48+
{
49+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
50+
}
51+
],
52+
"description": "Resource tags."
53+
},
54+
"type": {
55+
"type": "string",
56+
"enum": [
57+
"Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent"
58+
]
59+
}
60+
},
61+
"required": [
62+
"apiVersion",
63+
"name",
64+
"properties",
65+
"type"
66+
],
67+
"description": "Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent"
68+
}
69+
},
70+
"definitions": {
71+
"AzureRecoveryServiceVaultProtectionIntent": {
72+
"type": "object",
73+
"oneOf": [
74+
{
75+
"$ref": "#/definitions/AzureWorkloadAutoProtectionIntent"
76+
}
77+
],
78+
"properties": {
79+
"protectionIntentItemType": {
80+
"type": "string",
81+
"enum": [
82+
"RecoveryServiceVaultItem"
83+
]
84+
}
85+
},
86+
"required": [
87+
"protectionIntentItemType"
88+
],
89+
"description": "Azure Recovery Services Vault specific protection intent item."
90+
},
91+
"AzureResourceProtectionIntent": {
92+
"type": "object",
93+
"properties": {
94+
"friendlyName": {
95+
"type": "string",
96+
"description": "Friendly name of the VM represented by this backup item."
97+
},
98+
"protectionIntentItemType": {
99+
"type": "string",
100+
"enum": [
101+
"AzureResourceItem"
102+
]
103+
}
104+
},
105+
"required": [
106+
"protectionIntentItemType"
107+
],
108+
"description": "IaaS VM specific backup protection intent item."
109+
},
110+
"AzureWorkloadAutoProtectionIntent": {
111+
"type": "object",
112+
"oneOf": [
113+
{
114+
"$ref": "#/definitions/AzureWorkloadSQLAutoProtectionIntent"
115+
}
116+
],
117+
"properties": {
118+
"protectionIntentItemType": {
119+
"type": "string",
120+
"enum": [
121+
"AzureWorkloadAutoProtectionIntent"
122+
]
123+
}
124+
},
125+
"required": [
126+
"protectionIntentItemType"
127+
],
128+
"description": "Azure Recovery Services Vault specific protection intent item."
129+
},
130+
"AzureWorkloadSQLAutoProtectionIntent": {
131+
"type": "object",
132+
"properties": {
133+
"protectionIntentItemType": {
134+
"type": "string",
135+
"enum": [
136+
"AzureWorkloadSQLAutoProtectionIntent"
137+
]
138+
},
139+
"workloadItemType": {
140+
"oneOf": [
141+
{
142+
"type": "string",
143+
"enum": [
144+
"Invalid",
145+
"SQLInstance",
146+
"SQLDataBase",
147+
"SAPHanaSystem",
148+
"SAPHanaDatabase",
149+
"SAPAseSystem",
150+
"SAPAseDatabase"
151+
]
152+
},
153+
{
154+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
155+
}
156+
],
157+
"description": "Workload item type of the item for which intent is to be set."
158+
}
159+
},
160+
"required": [
161+
"protectionIntentItemType"
162+
],
163+
"description": "Azure Workload SQL Auto Protection intent item."
164+
},
165+
"ProtectionIntent": {
166+
"type": "object",
167+
"oneOf": [
168+
{
169+
"$ref": "#/definitions/AzureRecoveryServiceVaultProtectionIntent"
170+
},
171+
{
172+
"$ref": "#/definitions/AzureResourceProtectionIntent"
173+
}
174+
],
175+
"properties": {
176+
"backupManagementType": {
177+
"oneOf": [
178+
{
179+
"type": "string",
180+
"enum": [
181+
"Invalid",
182+
"AzureIaasVM",
183+
"MAB",
184+
"DPM",
185+
"AzureBackupServer",
186+
"AzureSql",
187+
"AzureStorage",
188+
"AzureWorkload",
189+
"DefaultBackup"
190+
]
191+
},
192+
{
193+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
194+
}
195+
],
196+
"description": "Type of backup management for the backed up item."
197+
},
198+
"itemId": {
199+
"type": "string",
200+
"description": "ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId"
201+
},
202+
"policyId": {
203+
"type": "string",
204+
"description": "ID of the backup policy with which this item is backed up."
205+
},
206+
"protectionState": {
207+
"oneOf": [
208+
{
209+
"type": "string",
210+
"enum": [
211+
"Invalid",
212+
"NotProtected",
213+
"Protecting",
214+
"Protected",
215+
"ProtectionFailed"
216+
]
217+
},
218+
{
219+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
220+
}
221+
],
222+
"description": "Backup state of this backup item."
223+
},
224+
"sourceResourceId": {
225+
"type": "string",
226+
"description": "ARM ID of the resource to be backed up."
227+
}
228+
},
229+
"description": "Base class for backup ProtectionIntent."
230+
}
231+
}
232+
}
Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2018-12-20/Microsoft.RecoveryServices.Backup.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.RecoveryServices",
5+
"description": "Microsoft RecoveryServices Resource Types",
6+
"resourceDefinitions": {
7+
"vaults_backupstorageconfig": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2018-12-20"
14+
]
15+
},
16+
"eTag": {
17+
"type": "string",
18+
"description": "Optional ETag."
19+
},
20+
"location": {
21+
"type": "string",
22+
"description": "Resource location."
23+
},
24+
"name": {
25+
"oneOf": [
26+
{
27+
"type": "string",
28+
"pattern": "^.*/vaultstorageconfig$"
29+
},
30+
{
31+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
32+
}
33+
]
34+
},
35+
"properties": {
36+
"oneOf": [
37+
{
38+
"$ref": "#/definitions/BackupResourceConfig"
39+
},
40+
{
41+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
42+
}
43+
],
44+
"description": "The resource storage details."
45+
},
46+
"tags": {
47+
"oneOf": [
48+
{
49+
"type": "object",
50+
"additionalProperties": {
51+
"type": "string"
52+
},
53+
"properties": {}
54+
},
55+
{
56+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
57+
}
58+
],
59+
"description": "Resource tags."
60+
},
61+
"type": {
62+
"type": "string",
63+
"enum": [
64+
"Microsoft.RecoveryServices/vaults/backupstorageconfig"
65+
]
66+
}
67+
},
68+
"required": [
69+
"apiVersion",
70+
"name",
71+
"properties",
72+
"type"
73+
],
74+
"description": "Microsoft.RecoveryServices/vaults/backupstorageconfig"
75+
}
76+
},
77+
"definitions": {
78+
"BackupResourceConfig": {
79+
"type": "object",
80+
"properties": {
81+
"crossRegionRestoreFlag": {
82+
"oneOf": [
83+
{
84+
"type": "boolean"
85+
},
86+
{
87+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
88+
}
89+
],
90+
"description": "Opt in details of Cross Region Restore feature."
91+
},
92+
"storageModelType": {
93+
"oneOf": [
94+
{
95+
"type": "string",
96+
"enum": [
97+
"Invalid",
98+
"GeoRedundant",
99+
"LocallyRedundant",
100+
"ZoneRedundant",
101+
"ReadAccessGeoZoneRedundant"
102+
]
103+
},
104+
{
105+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
106+
}
107+
],
108+
"description": "Storage type."
109+
},
110+
"storageType": {
111+
"oneOf": [
112+
{
113+
"type": "string",
114+
"enum": [
115+
"Invalid",
116+
"GeoRedundant",
117+
"LocallyRedundant",
118+
"ZoneRedundant",
119+
"ReadAccessGeoZoneRedundant"
120+
]
121+
},
122+
{
123+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
124+
}
125+
],
126+
"description": "Storage type."
127+
},
128+
"storageTypeState": {
129+
"oneOf": [
130+
{
131+
"type": "string",
132+
"enum": [
133+
"Invalid",
134+
"Locked",
135+
"Unlocked"
136+
]
137+
},
138+
{
139+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
140+
}
141+
],
142+
"description": "Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked."
143+
}
144+
},
145+
"description": "The resource storage details."
146+
}
147+
}
148+
}

0 commit comments

Comments
 (0)