Skip to content

Commit f054013

Browse files
author
SDKAuto
committed
CodeGen from PR 22431 in Azure/azure-rest-api-specs
Merge 47ae9c46437c67d2171390834f0032b05f192917 into 72484575017c59f6eac35b75806055b76c569b19
1 parent 2339f74 commit f054013

File tree

2 files changed

+151
-0
lines changed

2 files changed

+151
-0
lines changed
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/2023-01-15/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+
"2023-01-15"
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+
}

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24799,6 +24799,9 @@
2479924799
{
2480024800
"$ref": "https://schema.management.azure.com/schemas/2023-01-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_privateEndpointConnections"
2480124801
},
24802+
{
24803+
"$ref": "https://schema.management.azure.com/schemas/2023-01-15/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupstorageconfig"
24804+
},
2480224805
{
2480324806
"$ref": "https://schema.management.azure.com/schemas/2023-02-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupconfig"
2480424807
},

0 commit comments

Comments
 (0)