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+ }
0 commit comments