Skip to content
Merged
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,328 @@
{
"id": "https://schema.management.azure.com/schemas/2021-11-01-preview/Microsoft.AutonomousDevelopmentPlatform.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.AutonomousDevelopmentPlatform",
"description": "Microsoft AutonomousDevelopmentPlatform Resource Types",
"resourceDefinitions": {
"accounts": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-11-01-preview"
]
},
"location": {
"type": "string",
"description": "The geo-location where the resource lives"
},
"name": {
"oneOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*",
"maxLength": 50
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The name of the ADP account"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/AccountProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "ADP account properties"
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/accounts_dataPools_childResource"
}
]
}
},
"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.AutonomousDevelopmentPlatform/accounts"
]
}
},
"required": [
"apiVersion",
"location",
"name",
"properties",
"type"
],
"description": "Microsoft.AutonomousDevelopmentPlatform/accounts"
},
"accounts_dataPools": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-11-01-preview"
]
},
"name": {
"oneOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*",
"maxLength": 50
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The name of the Data Pool"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DataPoolProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Data Pool properties"
},
"type": {
"type": "string",
"enum": [
"Microsoft.AutonomousDevelopmentPlatform/accounts/dataPools"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.AutonomousDevelopmentPlatform/accounts/dataPools"
}
},
"definitions": {
"AccountProperties": {
"type": "object",
"properties": {},
"description": "ADP account properties"
},
"accounts_dataPools_childResource": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-11-01-preview"
]
},
"name": {
"oneOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*",
"maxLength": 50
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The name of the Data Pool"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/DataPoolProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Data Pool properties"
},
"type": {
"type": "string",
"enum": [
"dataPools"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.AutonomousDevelopmentPlatform/accounts/dataPools"
},
"DataPoolEncryption": {
"type": "object",
"properties": {
"keyName": {
"type": "string",
"description": "The name of Key Vault key"
},
"keyVaultUri": {
"type": "string",
"description": "The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location"
},
"keyVersion": {
"type": "string",
"description": "The version of Key Vault key"
},
"userAssignedIdentity": {
"type": "string",
"description": "The resource ID of a user-assigned Managed Identity used to access the encryption key in the Key Vault. Requires access to the key operations get, wrap, unwrap, and recover"
}
},
"required": [
"keyName",
"keyVaultUri",
"userAssignedIdentity"
],
"description": "Encryption properties of a Data Pool"
},
"DataPoolLocation": {
"type": "object",
"properties": {
"encryption": {
"oneOf": [
{
"$ref": "#/definitions/DataPoolEncryption"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Encryption properties of a Data Pool"
},
"name": {
"type": "string",
"description": "The location name"
},
"storageAccountCount": {
"oneOf": [
{
"type": "integer",
"minimum": 1
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The amount of storage accounts provisioned per Data Pool. Default: 5"
},
"storageSku": {
"oneOf": [
{
"$ref": "#/definitions/StorageSku"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The Storage SKU."
}
},
"required": [
"name"
],
"description": "Location of a Data Pool"
},
"DataPoolProperties": {
"type": "object",
"properties": {
"locations": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/DataPoolLocation"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets the collection of locations where Data Pool resources should be created"
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resource tags"
}
},
"description": "Data Pool properties"
},
"StorageSku": {
"type": "object",
"properties": {
"name": {
"oneOf": [
{
"type": "string",
"enum": [
"Standard_LRS",
"Standard_GRS",
"Standard_Ragrs",
"Standard_ZRS",
"Premium_LRS",
"Premium_ZRS",
"Standard_Gzrs",
"Standard_Ragzrs"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The SKU name."
}
},
"required": [
"name"
],
"description": "The Storage SKU."
}
}
}
6 changes: 6 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -2158,6 +2158,12 @@
{
"$ref": "https://schema.management.azure.com/schemas/2021-02-01-preview/Microsoft.AutonomousDevelopmentPlatform.json#/resourceDefinitions/accounts_dataPools"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-11-01-preview/Microsoft.AutonomousDevelopmentPlatform.json#/resourceDefinitions/accounts"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-11-01-preview/Microsoft.AutonomousDevelopmentPlatform.json#/resourceDefinitions/accounts_dataPools"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-20/Microsoft.AVS.json#/resourceDefinitions/privateClouds"
},
Expand Down