-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ReleasePR adp] ADP: Introduce api version 2021-11-01-preview (#2062)
Create to sync Azure/azure-rest-api-specs#16526 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...AzureSDKAutomation:sdkAuto/adp?expand=1)
- Loading branch information
Showing
2 changed files
with
334 additions
and
0 deletions.
There are no files selected for viewing
328 changes: 328 additions & 0 deletions
328
schemas/2021-11-01-preview/Microsoft.AutonomousDevelopmentPlatform.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters