Skip to content

Commit c1ec2cd

Browse files
author
SDKAuto
committed
CodeGen from PR 15024 in Azure/azure-rest-api-specs
Merge 209126b33e9ea5749b983e52301b45b7626fd921 into 036c2de2b40ad05a1542b665a9e8bda18c813194
1 parent b62872f commit c1ec2cd

File tree

2 files changed

+141
-0
lines changed

2 files changed

+141
-0
lines changed

schemas/2021-04-01/Microsoft.RecoveryServices.Backup.json

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,75 @@
399399
],
400400
"description": "Microsoft.RecoveryServices/vaults/backupPolicies"
401401
},
402+
"vaults_backupstorageconfig": {
403+
"type": "object",
404+
"properties": {
405+
"apiVersion": {
406+
"type": "string",
407+
"enum": [
408+
"2021-04-01"
409+
]
410+
},
411+
"eTag": {
412+
"type": "string",
413+
"description": "Optional ETag."
414+
},
415+
"location": {
416+
"type": "string",
417+
"description": "Resource location."
418+
},
419+
"name": {
420+
"oneOf": [
421+
{
422+
"type": "string",
423+
"pattern": "^.*/vaultstorageconfig$"
424+
},
425+
{
426+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
427+
}
428+
]
429+
},
430+
"properties": {
431+
"oneOf": [
432+
{
433+
"$ref": "#/definitions/BackupResourceConfig"
434+
},
435+
{
436+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
437+
}
438+
],
439+
"description": "The resource storage details."
440+
},
441+
"tags": {
442+
"oneOf": [
443+
{
444+
"type": "object",
445+
"additionalProperties": {
446+
"type": "string"
447+
},
448+
"properties": {}
449+
},
450+
{
451+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
452+
}
453+
],
454+
"description": "Resource tags."
455+
},
456+
"type": {
457+
"type": "string",
458+
"enum": [
459+
"Microsoft.RecoveryServices/vaults/backupstorageconfig"
460+
]
461+
}
462+
},
463+
"required": [
464+
"apiVersion",
465+
"name",
466+
"properties",
467+
"type"
468+
],
469+
"description": "Microsoft.RecoveryServices/vaults/backupstorageconfig"
470+
},
402471
"vaults_privateEndpointConnections": {
403472
"type": "object",
404473
"properties": {
@@ -1641,6 +1710,75 @@
16411710
],
16421711
"description": "Azure Workload SQL Auto Protection intent item."
16431712
},
1713+
"BackupResourceConfig": {
1714+
"type": "object",
1715+
"properties": {
1716+
"crossRegionRestoreFlag": {
1717+
"oneOf": [
1718+
{
1719+
"type": "boolean"
1720+
},
1721+
{
1722+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1723+
}
1724+
],
1725+
"description": "Opt in details of Cross Region Restore feature."
1726+
},
1727+
"storageModelType": {
1728+
"oneOf": [
1729+
{
1730+
"type": "string",
1731+
"enum": [
1732+
"Invalid",
1733+
"GeoRedundant",
1734+
"LocallyRedundant",
1735+
"ZoneRedundant",
1736+
"ReadAccessGeoZoneRedundant"
1737+
]
1738+
},
1739+
{
1740+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1741+
}
1742+
],
1743+
"description": "Storage type."
1744+
},
1745+
"storageType": {
1746+
"oneOf": [
1747+
{
1748+
"type": "string",
1749+
"enum": [
1750+
"Invalid",
1751+
"GeoRedundant",
1752+
"LocallyRedundant",
1753+
"ZoneRedundant",
1754+
"ReadAccessGeoZoneRedundant"
1755+
]
1756+
},
1757+
{
1758+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1759+
}
1760+
],
1761+
"description": "Storage type."
1762+
},
1763+
"storageTypeState": {
1764+
"oneOf": [
1765+
{
1766+
"type": "string",
1767+
"enum": [
1768+
"Invalid",
1769+
"Locked",
1770+
"Unlocked"
1771+
]
1772+
},
1773+
{
1774+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1775+
}
1776+
],
1777+
"description": "Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked."
1778+
}
1779+
},
1780+
"description": "The resource storage details."
1781+
},
16441782
"BackupResourceEncryptionConfig": {
16451783
"type": "object",
16461784
"properties": {

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7612,6 +7612,9 @@
76127612
{
76137613
"$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupPolicies"
76147614
},
7615+
{
7616+
"$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupstorageconfig"
7617+
},
76157618
{
76167619
"$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_privateEndpointConnections"
76177620
},

0 commit comments

Comments
 (0)