Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR recoveryservicesbackup] Creating new version( 2021-11-15) for passive stamp #5259

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
148 changes: 148 additions & 0 deletions schemas/2021-11-15/Microsoft.RecoveryServices.Backup.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
{
"id": "https://schema.management.azure.com/schemas/2021-11-15/Microsoft.RecoveryServices.Backup.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.RecoveryServices",
"description": "Microsoft RecoveryServices Resource Types",
"resourceDefinitions": {
"vaults_backupstorageconfig": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-11-15"
]
},
"eTag": {
"type": "string",
"description": "Optional ETag."
},
"location": {
"type": "string",
"description": "Resource location."
},
"name": {
"oneOf": [
{
"type": "string",
"pattern": "^.*/vaultstorageconfig$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/BackupResourceConfig"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The resource storage details."
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resource tags."
},
"type": {
"type": "string",
"enum": [
"Microsoft.RecoveryServices/vaults/backupstorageconfig"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.RecoveryServices/vaults/backupstorageconfig"
}
},
"definitions": {
"BackupResourceConfig": {
"type": "object",
"properties": {
"crossRegionRestoreFlag": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Opt in details of Cross Region Restore feature."
},
"storageModelType": {
"oneOf": [
{
"type": "string",
"enum": [
"Invalid",
"GeoRedundant",
"LocallyRedundant",
"ZoneRedundant",
"ReadAccessGeoZoneRedundant"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Storage type."
},
"storageType": {
"oneOf": [
{
"type": "string",
"enum": [
"Invalid",
"GeoRedundant",
"LocallyRedundant",
"ZoneRedundant",
"ReadAccessGeoZoneRedundant"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Storage type."
},
"storageTypeState": {
"oneOf": [
{
"type": "string",
"enum": [
"Invalid",
"Locked",
"Unlocked"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked."
}
},
"description": "The resource storage details."
}
}
}
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -10498,6 +10498,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_privateEndpointConnections"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-11-15/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupstorageconfig"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-06-01/Microsoft.RecoveryServices.json#/resourceDefinitions/vaults"
},
Expand Down