azure-resource-manager-schemas/schemas/2022-04-01/Microsoft.RecoveryServices....

640 строки
18 KiB
JSON

{
"id": "https://schema.management.azure.com/schemas/2022-04-01/Microsoft.RecoveryServices.json#",
"title": "Microsoft.RecoveryServices",
"description": "Microsoft RecoveryServices Resource Types",
"$schema": "http://json-schema.org/draft-04/schema#",
"resourceDefinitions": {
"vaults": {
"description": "Microsoft.RecoveryServices/vaults",
"properties": {
"apiVersion": {
"enum": [
"2022-04-01"
],
"type": "string"
},
"etag": {
"description": "Optional ETag.",
"type": "string"
},
"identity": {
"description": "Identity for the resource.",
"oneOf": [
{
"$ref": "#/definitions/IdentityData"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"location": {
"description": "Resource location.",
"type": "string"
},
"name": {
"description": "The name of the recovery services vault.",
"type": "string"
},
"properties": {
"description": "Properties of the vault.",
"oneOf": [
{
"$ref": "#/definitions/VaultProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"resources": {
"items": {
"oneOf": [
{
"$ref": "#/definitions/vaults_certificates_childResource"
},
{
"$ref": "#/definitions/vaults_extendedInformation_childResource"
}
]
},
"type": "array"
},
"sku": {
"description": "Identifies the unique system identifier for each Azure resource.",
"oneOf": [
{
"$ref": "#/definitions/Sku"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"description": "Resource tags.",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
},
"vaults_certificates": {
"description": "Microsoft.RecoveryServices/vaults/certificates",
"properties": {
"apiVersion": {
"enum": [
"2022-04-01"
],
"type": "string"
},
"name": {
"description": "Certificate friendly name.",
"type": "string"
},
"properties": {
"description": "Raw certificate data.",
"oneOf": [
{
"$ref": "#/definitions/RawCertificateData"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/certificates"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
},
"vaults_extendedInformation": {
"description": "Microsoft.RecoveryServices/vaults/extendedInformation",
"properties": {
"apiVersion": {
"enum": [
"2022-04-01"
],
"type": "string"
},
"etag": {
"description": "Optional ETag.",
"type": "string"
},
"name": {
"oneOf": [
{
"pattern": "^.*/vaultExtendedInfo$",
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"description": "Vault extended information.",
"oneOf": [
{
"$ref": "#/definitions/VaultExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/extendedInformation"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
}
},
"definitions": {
"AzureMonitorAlertSettings": {
"description": "Settings for Azure Monitor based alerts",
"properties": {
"alertsForAllJobFailures": {
"oneOf": [
{
"enum": [
"Enabled",
"Disabled"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"ClassicAlertSettings": {
"description": "Settings for classic alerts",
"properties": {
"alertsForCriticalOperations": {
"oneOf": [
{
"enum": [
"Enabled",
"Disabled"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"CmkKekIdentity": {
"description": "The details of the identity used for CMK",
"properties": {
"useSystemAssignedIdentity": {
"description": "Indicate that system assigned identity should be used. Mutually exclusive with 'userAssignedIdentity' field",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"userAssignedIdentity": {
"description": "The user assigned identity to be used to grant permissions in case the type of identity used is UserAssigned",
"type": "string"
}
},
"type": "object"
},
"CmkKeyVaultProperties": {
"description": "The properties of the Key Vault which hosts CMK",
"properties": {
"keyUri": {
"description": "The key uri of the Customer Managed Key",
"type": "string"
}
},
"type": "object"
},
"IdentityData": {
"description": "Identity for the resource.",
"properties": {
"type": {
"description": "The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities.",
"oneOf": [
{
"enum": [
"SystemAssigned",
"None",
"UserAssigned",
"SystemAssigned, UserAssigned"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"userAssignedIdentities": {
"description": "The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
"oneOf": [
{
"additionalProperties": {
"$ref": "#/definitions/UserIdentity"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"required": [
"type"
],
"type": "object"
},
"MonitoringSettings": {
"description": "Monitoring Settings of the vault",
"properties": {
"azureMonitorAlertSettings": {
"description": "Settings for Azure Monitor based alerts",
"oneOf": [
{
"$ref": "#/definitions/AzureMonitorAlertSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"classicAlertSettings": {
"description": "Settings for classic alerts",
"oneOf": [
{
"$ref": "#/definitions/ClassicAlertSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"RawCertificateData": {
"description": "Raw certificate data.",
"properties": {
"authType": {
"description": "Specifies the authentication type.",
"oneOf": [
{
"enum": [
"Invalid",
"ACS",
"AAD",
"AccessControlService",
"AzureActiveDirectory"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"certificate": {
"description": "The base64 encoded certificate raw data string"
}
},
"type": "object"
},
"Sku": {
"description": "Identifies the unique system identifier for each Azure resource.",
"properties": {
"capacity": {
"description": "The sku capacity",
"type": "string"
},
"family": {
"description": "The sku family",
"type": "string"
},
"name": {
"description": "Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not have affect on backend storage redundancy or any other vault settings. To manage storage redundancy, use the backupstorageconfig",
"oneOf": [
{
"enum": [
"Standard",
"RS0"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"size": {
"description": "The sku size",
"type": "string"
},
"tier": {
"description": "The Sku tier.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"UpgradeDetails": {
"description": "Details for upgrading vault.",
"properties": {},
"type": "object"
},
"UserIdentity": {
"description": "A resource identity that is managed by the user of the service.",
"properties": {},
"type": "object"
},
"VaultExtendedInfo": {
"description": "Vault extended information.",
"properties": {
"algorithm": {
"description": "Algorithm for Vault ExtendedInfo",
"type": "string"
},
"encryptionKey": {
"description": "Encryption key.",
"type": "string"
},
"encryptionKeyThumbprint": {
"description": "Encryption key thumbprint.",
"type": "string"
},
"integrityKey": {
"description": "Integrity key.",
"type": "string"
}
},
"type": "object"
},
"VaultProperties": {
"description": "Properties of the vault.",
"properties": {
"encryption": {
"description": "Customer Managed Key details of the resource.",
"oneOf": [
{
"$ref": "#/definitions/VaultPropertiesEncryption"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"monitoringSettings": {
"description": "Monitoring Settings of the vault",
"oneOf": [
{
"$ref": "#/definitions/MonitoringSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"moveDetails": {
"description": "The details of the latest move operation performed on the Azure Resource",
"oneOf": [
{
"$ref": "#/definitions/VaultPropertiesMoveDetails"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"redundancySettings": {
"description": "The redundancy Settings of a Vault",
"oneOf": [
{
"$ref": "#/definitions/VaultPropertiesRedundancySettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"upgradeDetails": {
"description": "Details for upgrading vault.",
"oneOf": [
{
"$ref": "#/definitions/UpgradeDetails"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"VaultPropertiesEncryption": {
"description": "Customer Managed Key details of the resource.",
"properties": {
"infrastructureEncryption": {
"description": "Enabling/Disabling the Double Encryption state",
"oneOf": [
{
"enum": [
"Enabled",
"Disabled"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"kekIdentity": {
"description": "The details of the identity used for CMK",
"oneOf": [
{
"$ref": "#/definitions/CmkKekIdentity"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"keyVaultProperties": {
"description": "The properties of the Key Vault which hosts CMK",
"oneOf": [
{
"$ref": "#/definitions/CmkKeyVaultProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"VaultPropertiesMoveDetails": {
"description": "The details of the latest move operation performed on the Azure Resource",
"properties": {},
"type": "object"
},
"VaultPropertiesRedundancySettings": {
"description": "The redundancy Settings of a Vault",
"properties": {},
"type": "object"
},
"vaults_certificates_childResource": {
"description": "Microsoft.RecoveryServices/vaults/certificates",
"properties": {
"apiVersion": {
"enum": [
"2022-04-01"
],
"type": "string"
},
"name": {
"description": "Certificate friendly name.",
"type": "string"
},
"properties": {
"description": "Raw certificate data.",
"oneOf": [
{
"$ref": "#/definitions/RawCertificateData"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"certificates"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
},
"vaults_extendedInformation_childResource": {
"description": "Microsoft.RecoveryServices/vaults/extendedInformation",
"properties": {
"apiVersion": {
"enum": [
"2022-04-01"
],
"type": "string"
},
"etag": {
"description": "Optional ETag.",
"type": "string"
},
"name": {
"oneOf": [
{
"enum": [
"vaultExtendedInfo"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"description": "Vault extended information.",
"oneOf": [
{
"$ref": "#/definitions/VaultExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"extendedInformation"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
}
}
}