From 8133a9953470d2b8705324faa5b7c42a509ceb29 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 5 May 2023 21:16:22 +0000 Subject: [PATCH] CodeGen from PR 23661 in Azure/azure-rest-api-specs Merge 660c28170eab2c8edf5fe9a746d4eee5eaf9f8b9 into f7725593a3b4ea90c8f919916a379ba62a1eddc1 --- .../Microsoft.CognitiveServices.json | 149 -- .../Microsoft.CognitiveServices.json | 677 -------- .../Microsoft.CognitiveServices.json | 756 --------- .../Microsoft.CognitiveServices.json | 1076 ------------- .../Microsoft.CognitiveServices.json | 1087 ------------- .../Microsoft.CognitiveServices.json | 1091 ------------- .../Microsoft.CognitiveServices.json | 1421 ----------------- schemas/common/autogeneratedResources.json | 69 - 8 files changed, 6326 deletions(-) delete mode 100644 schemas/2016-02-01-preview/Microsoft.CognitiveServices.json delete mode 100644 schemas/2017-04-18/Microsoft.CognitiveServices.json delete mode 100644 schemas/2021-04-30/Microsoft.CognitiveServices.json delete mode 100644 schemas/2021-10-01/Microsoft.CognitiveServices.json delete mode 100644 schemas/2022-03-01/Microsoft.CognitiveServices.json delete mode 100644 schemas/2022-10-01/Microsoft.CognitiveServices.json delete mode 100644 schemas/2022-12-01/Microsoft.CognitiveServices.json diff --git a/schemas/2016-02-01-preview/Microsoft.CognitiveServices.json b/schemas/2016-02-01-preview/Microsoft.CognitiveServices.json deleted file mode 100644 index 48ae64338f..0000000000 --- a/schemas/2016-02-01-preview/Microsoft.CognitiveServices.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-02-01-preview/Microsoft.CognitiveServices.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.CognitiveServices", - "description": "Microsoft CognitiveServices Resource Types", - "resourceDefinitions": { - "accounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-02-01-preview" - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Academic", - "Bing.Autosuggest", - "Bing.Search", - "Bing.Speech", - "Bing.SpellCheck", - "ComputerVision", - "ContentModerator", - "Emotion", - "Face", - "LUIS", - "Recommendations", - "SpeakerRecognition", - "Speech", - "SpeechTranslation", - "TextAnalytics", - "TextTranslation", - "WebLM" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Required. Indicates the type of cognitive service account." - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 3, - "maxLength": 24 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the cognitive services account within the specified resource group. Cognitive Services account names must be between 3 and 24 characters in length and use numbers and lower-case letters only." - }, - "properties": { - "type": "object", - "properties": {}, - "description": "required empty properties object. Must be an empty object, and must exist in the request." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/accounts" - ] - } - }, - "required": [ - "apiVersion", - "kind", - "location", - "name", - "properties", - "sku", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts" - } - }, - "definitions": { - "Sku": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "F0", - "P0", - "P1", - "P2", - "S0", - "S1", - "S2", - "S3", - "S4", - "S5", - "S6" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the sku name. Required for account creation, optional for update." - } - }, - "required": [ - "name" - ], - "description": "The SKU of the cognitive services account." - } - } -} \ No newline at end of file diff --git a/schemas/2017-04-18/Microsoft.CognitiveServices.json b/schemas/2017-04-18/Microsoft.CognitiveServices.json deleted file mode 100644 index 4aac621529..0000000000 --- a/schemas/2017-04-18/Microsoft.CognitiveServices.json +++ /dev/null @@ -1,677 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-04-18/Microsoft.CognitiveServices.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.CognitiveServices", - "description": "Microsoft CognitiveServices Resource Types", - "resourceDefinitions": { - "accounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-18" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed service identity." - }, - "kind": { - "type": "string", - "description": "Required. Indicates the type of cognitive service account." - }, - "location": { - "type": "string", - "description": "The location of the resource" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of Cognitive Services account." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CognitiveServicesAccountProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/accounts_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the cognitive services account." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/accounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts" - }, - "accounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-18" - ] - }, - "location": { - "type": "string", - "description": "The location of the private endpoint connection" - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - } - }, - "definitions": { - "accounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-18" - ] - }, - "location": { - "type": "string", - "description": "The location of the private endpoint connection" - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - }, - "CognitiveServicesAccountApiProperties": { - "type": "object", - "properties": { - "aadClientId": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The Azure AD Client Id (Application Id)." - }, - "aadTenantId": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The Azure AD Tenant Id." - }, - "eventHubConnectionString": { - "oneOf": [ - { - "type": "string", - "pattern": "^( *)Endpoint=sb://(.*);( *)SharedAccessKeyName=(.*);( *)SharedAccessKey=(.*)$", - "maxLength": 1000 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Personalization Only) The flag to enable statistics of Bing Search." - }, - "qnaAzureSearchEndpointId": { - "type": "string", - "description": "(QnAMaker Only) The Azure Search endpoint id of QnAMaker." - }, - "qnaAzureSearchEndpointKey": { - "type": "string", - "description": "(QnAMaker Only) The Azure Search endpoint key of QnAMaker." - }, - "qnaRuntimeEndpoint": { - "type": "string", - "description": "(QnAMaker Only) The runtime endpoint of QnAMaker." - }, - "statisticsEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Bing Search Only) The flag to enable statistics of Bing Search." - }, - "storageAccountConnectionString": { - "oneOf": [ - { - "type": "string", - "pattern": "^(( *)DefaultEndpointsProtocol=(http|https)( *);( *))?AccountName=(.*)AccountKey=(.*)EndpointSuffix=(.*)$", - "maxLength": 1000 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Personalization Only) The storage account connection string." - }, - "superUser": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The super user of Metrics Advisor." - }, - "websiteName": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The website name of Metrics Advisor." - } - }, - "description": "The api properties for special APIs." - }, - "CognitiveServicesAccountProperties": { - "type": "object", - "properties": { - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/CognitiveServicesAccountApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The api properties for special APIs." - }, - "customSubDomainName": { - "type": "string", - "description": "Optional subdomain name used for token-based authentication." - }, - "encryption": { - "oneOf": [ - { - "$ref": "#/definitions/Encryption" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to configure Encryption" - }, - "networkAcls": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkRuleSet" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of rules governing the network accessibility." - }, - "privateEndpointConnections": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The private endpoint connection associated with the Cognitive Services account." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'." - }, - "userOwnedStorage": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UserOwnedStorage" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The storage accounts for this resource." - } - }, - "description": "Properties of Cognitive Services account." - }, - "Encryption": { - "type": "object", - "properties": { - "keySource": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices", - "Microsoft.KeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enumerates the possible value of keySource for Encryption." - }, - "keyVaultProperties": { - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to configure keyVault Properties" - } - }, - "description": "Properties to configure Encryption" - }, - "Identity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of managed service identity." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}" - } - }, - "description": "Managed service identity." - }, - "IpRule": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78)." - } - }, - "required": [ - "value" - ], - "description": "A rule governing the accessibility from a specific ip address or ip range." - }, - "KeyVaultProperties": { - "type": "object", - "properties": { - "keyName": { - "type": "string", - "description": "Name of the Key from KeyVault" - }, - "keyVaultUri": { - "type": "string", - "description": "Uri of KeyVault" - }, - "keyVersion": { - "type": "string", - "description": "Version of the Key from KeyVault" - } - }, - "description": "Properties to configure keyVault Properties" - }, - "NetworkRuleSet": { - "type": "object", - "properties": { - "defaultAction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated." - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of IP address rules." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of virtual network rules." - } - }, - "description": "A set of rules governing the network accessibility." - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnection": { - "type": "object", - "properties": { - "location": { - "type": "string", - "description": "The location of the private endpoint connection" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - } - }, - "description": "The Private Endpoint Connection resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The private link resource group ids." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of SKU." - } - }, - "required": [ - "name" - ], - "description": "The SKU of the cognitive services account." - }, - "UserAssignedIdentity": { - "type": "object", - "properties": { - "clientId": { - "type": "string", - "description": "Client App Id associated with this identity." - }, - "principalId": { - "type": "string", - "description": "Azure Active Directory principal ID associated with this Identity." - } - }, - "description": "User-assigned managed identity." - }, - "UserOwnedStorage": { - "type": "object", - "properties": { - "resourceId": { - "type": "string", - "description": "Full resource id of a Microsoft.Storage resource." - } - }, - "description": "The user owned storage for Cognitive Services account." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'." - }, - "ignoreMissingVnetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Ignore missing vnet service endpoint or not." - }, - "state": { - "type": "string", - "description": "Gets the state of virtual network rule." - } - }, - "required": [ - "id" - ], - "description": "A rule governing the accessibility from a specific virtual network." - } - } -} \ No newline at end of file diff --git a/schemas/2021-04-30/Microsoft.CognitiveServices.json b/schemas/2021-04-30/Microsoft.CognitiveServices.json deleted file mode 100644 index b5c4dafbd6..0000000000 --- a/schemas/2021-04-30/Microsoft.CognitiveServices.json +++ /dev/null @@ -1,756 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-04-30/Microsoft.CognitiveServices.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.CognitiveServices", - "description": "Microsoft CognitiveServices Resource Types", - "resourceDefinitions": { - "accounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-30" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "type": "string", - "description": "The kind (type) of cognitive service account." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of Cognitive Services account." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AccountProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/accounts_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource model definition representing SKU" - }, - "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.CognitiveServices/accounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts" - }, - "accounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-30" - ] - }, - "location": { - "type": "string", - "description": "The location of the private endpoint connection" - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - } - }, - "definitions": { - "AccountProperties": { - "type": "object", - "properties": { - "allowedFqdnList": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The api properties for special APIs." - }, - "customSubDomainName": { - "type": "string", - "description": "Optional subdomain name used for token-based authentication." - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "encryption": { - "oneOf": [ - { - "$ref": "#/definitions/Encryption" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to configure Encryption" - }, - "migrationToken": { - "type": "string", - "description": "Resource migration token." - }, - "networkAcls": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkRuleSet" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of rules governing the network accessibility." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'." - }, - "restore": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "restrictOutboundNetworkAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userOwnedStorage": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UserOwnedStorage" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The storage accounts for this resource." - } - }, - "description": "Properties of Cognitive Services account." - }, - "accounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-30" - ] - }, - "location": { - "type": "string", - "description": "The location of the private endpoint connection" - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - }, - "ApiProperties": { - "type": "object", - "properties": { - "aadClientId": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The Azure AD Client Id (Application Id)." - }, - "aadTenantId": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The Azure AD Tenant Id." - }, - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "eventHubConnectionString": { - "oneOf": [ - { - "type": "string", - "pattern": "^( *)Endpoint=sb://(.*);( *)SharedAccessKeyName=(.*);( *)SharedAccessKey=(.*)$", - "maxLength": 1000 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Personalization Only) The flag to enable statistics of Bing Search." - }, - "qnaAzureSearchEndpointId": { - "type": "string", - "description": "(QnAMaker Only) The Azure Search endpoint id of QnAMaker." - }, - "qnaAzureSearchEndpointKey": { - "type": "string", - "description": "(QnAMaker Only) The Azure Search endpoint key of QnAMaker." - }, - "qnaRuntimeEndpoint": { - "type": "string", - "description": "(QnAMaker Only) The runtime endpoint of QnAMaker." - }, - "statisticsEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Bing Search Only) The flag to enable statistics of Bing Search." - }, - "storageAccountConnectionString": { - "oneOf": [ - { - "type": "string", - "pattern": "^(( *)DefaultEndpointsProtocol=(http|https)( *);( *))?AccountName=(.*)AccountKey=(.*)EndpointSuffix=(.*)$", - "maxLength": 1000 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Personalization Only) The storage account connection string." - }, - "superUser": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The super user of Metrics Advisor." - }, - "websiteName": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The website name of Metrics Advisor." - } - }, - "description": "The api properties for special APIs." - }, - "Encryption": { - "type": "object", - "properties": { - "keySource": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices", - "Microsoft.KeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enumerates the possible value of keySource for Encryption." - }, - "keyVaultProperties": { - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to configure keyVault Properties" - } - }, - "description": "Properties to configure Encryption" - }, - "Identity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}" - } - }, - "description": "Identity for the resource." - }, - "IpRule": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78)." - } - }, - "required": [ - "value" - ], - "description": "A rule governing the accessibility from a specific ip address or ip range." - }, - "KeyVaultProperties": { - "type": "object", - "properties": { - "identityClientId": { - "type": "string" - }, - "keyName": { - "type": "string", - "description": "Name of the Key from KeyVault" - }, - "keyVaultUri": { - "type": "string", - "description": "Uri of KeyVault" - }, - "keyVersion": { - "type": "string", - "description": "Version of the Key from KeyVault" - } - }, - "description": "Properties to configure keyVault Properties" - }, - "NetworkRuleSet": { - "type": "object", - "properties": { - "defaultAction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated." - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of IP address rules." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of virtual network rules." - } - }, - "description": "A set of rules governing the network accessibility." - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The private link resource group ids." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium", - "Enterprise" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." - } - }, - "required": [ - "name" - ], - "description": "The resource model definition representing SKU" - }, - "UserAssignedIdentity": { - "type": "object", - "properties": {}, - "description": "User-assigned managed identity." - }, - "UserOwnedStorage": { - "type": "object", - "properties": { - "identityClientId": { - "type": "string" - }, - "resourceId": { - "type": "string", - "description": "Full resource id of a Microsoft.Storage resource." - } - }, - "description": "The user owned storage for Cognitive Services account." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'." - }, - "ignoreMissingVnetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Ignore missing vnet service endpoint or not." - }, - "state": { - "type": "string", - "description": "Gets the state of virtual network rule." - } - }, - "required": [ - "id" - ], - "description": "A rule governing the accessibility from a specific virtual network." - } - } -} \ No newline at end of file diff --git a/schemas/2021-10-01/Microsoft.CognitiveServices.json b/schemas/2021-10-01/Microsoft.CognitiveServices.json deleted file mode 100644 index 1d5fe8542b..0000000000 --- a/schemas/2021-10-01/Microsoft.CognitiveServices.json +++ /dev/null @@ -1,1076 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.CognitiveServices.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.CognitiveServices", - "description": "Microsoft CognitiveServices Resource Types", - "resourceDefinitions": { - "accounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "type": "string", - "description": "The kind (type) of cognitive service account." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of Cognitive Services account." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AccountProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/accounts_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/accounts_deployments_childResource" - }, - { - "$ref": "#/definitions/accounts_commitmentPlans_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource model definition representing SKU" - }, - "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.CognitiveServices/accounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts" - }, - "accounts_commitmentPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the commitmentPlan associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account commitment plan." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/accounts/commitmentPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/commitmentPlans" - }, - "accounts_deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the deployment associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/accounts/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/deployments" - }, - "accounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the private endpoint connection" - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - } - }, - "definitions": { - "AccountProperties": { - "type": "object", - "properties": { - "allowedFqdnList": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The api properties for special APIs." - }, - "customSubDomainName": { - "type": "string", - "description": "Optional subdomain name used for token-based authentication." - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "encryption": { - "oneOf": [ - { - "$ref": "#/definitions/Encryption" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to configure Encryption" - }, - "migrationToken": { - "type": "string", - "description": "Resource migration token." - }, - "networkAcls": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkRuleSet" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of rules governing the network accessibility." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'." - }, - "restore": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "restrictOutboundNetworkAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userOwnedStorage": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UserOwnedStorage" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The storage accounts for this resource." - } - }, - "description": "Properties of Cognitive Services account." - }, - "accounts_commitmentPlans_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the commitmentPlan associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account commitment plan." - }, - "type": { - "type": "string", - "enum": [ - "commitmentPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/commitmentPlans" - }, - "accounts_deployments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the deployment associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment." - }, - "type": { - "type": "string", - "enum": [ - "deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/deployments" - }, - "accounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the private endpoint connection" - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - }, - "ApiProperties": { - "type": "object", - "properties": { - "aadClientId": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The Azure AD Client Id (Application Id)." - }, - "aadTenantId": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The Azure AD Tenant Id." - }, - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "eventHubConnectionString": { - "oneOf": [ - { - "type": "string", - "pattern": "^( *)Endpoint=sb://(.*);( *)SharedAccessKeyName=(.*);( *)SharedAccessKey=(.*)$", - "maxLength": 1000 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Personalization Only) The flag to enable statistics of Bing Search." - }, - "qnaAzureSearchEndpointId": { - "type": "string", - "description": "(QnAMaker Only) The Azure Search endpoint id of QnAMaker." - }, - "qnaAzureSearchEndpointKey": { - "type": "string", - "description": "(QnAMaker Only) The Azure Search endpoint key of QnAMaker." - }, - "qnaRuntimeEndpoint": { - "type": "string", - "description": "(QnAMaker Only) The runtime endpoint of QnAMaker." - }, - "statisticsEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Bing Search Only) The flag to enable statistics of Bing Search." - }, - "storageAccountConnectionString": { - "oneOf": [ - { - "type": "string", - "pattern": "^(( *)DefaultEndpointsProtocol=(http|https)( *);( *))?AccountName=(.*)AccountKey=(.*)EndpointSuffix=(.*)$", - "maxLength": 1000 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Personalization Only) The storage account connection string." - }, - "superUser": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The super user of Metrics Advisor." - }, - "websiteName": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The website name of Metrics Advisor." - } - }, - "description": "The api properties for special APIs." - }, - "CommitmentPeriod": { - "type": "object", - "properties": { - "count": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Commitment period commitment count." - }, - "tier": { - "type": "string", - "description": "Commitment period commitment tier." - } - }, - "description": "Cognitive Services account commitment period." - }, - "CommitmentPlanProperties": { - "type": "object", - "properties": { - "autoRenew": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AutoRenew commitment plan." - }, - "current": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cognitive Services account commitment period." - }, - "hostingModel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Web", - "ConnectedContainer", - "DisconnectedContainer" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Account hosting model." - }, - "next": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cognitive Services account commitment period." - }, - "planType": { - "type": "string", - "description": "Commitment plan type." - } - }, - "description": "Properties of Cognitive Services account commitment plan." - }, - "DeploymentModel": { - "type": "object", - "properties": { - "format": { - "type": "string", - "description": "Deployment model format." - }, - "name": { - "type": "string", - "description": "Deployment model name." - }, - "version": { - "type": "string", - "description": "Deployment model version." - } - }, - "description": "Properties of Cognitive Services account deployment model." - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "model": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentModel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment model." - }, - "scaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentScaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment model." - } - }, - "description": "Properties of Cognitive Services account deployment." - }, - "DeploymentScaleSettings": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment capacity." - }, - "scaleType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard", - "Manual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment scale type." - } - }, - "description": "Properties of Cognitive Services account deployment model." - }, - "Encryption": { - "type": "object", - "properties": { - "keySource": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices", - "Microsoft.KeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enumerates the possible value of keySource for Encryption." - }, - "keyVaultProperties": { - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to configure keyVault Properties" - } - }, - "description": "Properties to configure Encryption" - }, - "Identity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}" - } - }, - "description": "Identity for the resource." - }, - "IpRule": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78)." - } - }, - "required": [ - "value" - ], - "description": "A rule governing the accessibility from a specific ip address or ip range." - }, - "KeyVaultProperties": { - "type": "object", - "properties": { - "identityClientId": { - "type": "string" - }, - "keyName": { - "type": "string", - "description": "Name of the Key from KeyVault" - }, - "keyVaultUri": { - "type": "string", - "description": "Uri of KeyVault" - }, - "keyVersion": { - "type": "string", - "description": "Version of the Key from KeyVault" - } - }, - "description": "Properties to configure keyVault Properties" - }, - "NetworkRuleSet": { - "type": "object", - "properties": { - "defaultAction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated." - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of IP address rules." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of virtual network rules." - } - }, - "description": "A set of rules governing the network accessibility." - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The private link resource group ids." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium", - "Enterprise" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." - } - }, - "required": [ - "name" - ], - "description": "The resource model definition representing SKU" - }, - "UserAssignedIdentity": { - "type": "object", - "properties": {}, - "description": "User-assigned managed identity." - }, - "UserOwnedStorage": { - "type": "object", - "properties": { - "identityClientId": { - "type": "string" - }, - "resourceId": { - "type": "string", - "description": "Full resource id of a Microsoft.Storage resource." - } - }, - "description": "The user owned storage for Cognitive Services account." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'." - }, - "ignoreMissingVnetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Ignore missing vnet service endpoint or not." - }, - "state": { - "type": "string", - "description": "Gets the state of virtual network rule." - } - }, - "required": [ - "id" - ], - "description": "A rule governing the accessibility from a specific virtual network." - } - } -} \ No newline at end of file diff --git a/schemas/2022-03-01/Microsoft.CognitiveServices.json b/schemas/2022-03-01/Microsoft.CognitiveServices.json deleted file mode 100644 index 71aafd7e94..0000000000 --- a/schemas/2022-03-01/Microsoft.CognitiveServices.json +++ /dev/null @@ -1,1087 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.CognitiveServices.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.CognitiveServices", - "description": "Microsoft CognitiveServices Resource Types", - "resourceDefinitions": { - "accounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-03-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "type": "string", - "description": "The kind (type) of cognitive service account." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of Cognitive Services account." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AccountProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/accounts_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/accounts_deployments_childResource" - }, - { - "$ref": "#/definitions/accounts_commitmentPlans_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource model definition representing SKU" - }, - "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.CognitiveServices/accounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts" - }, - "accounts_commitmentPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the commitmentPlan associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account commitment plan." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/accounts/commitmentPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/commitmentPlans" - }, - "accounts_deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the deployment associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/accounts/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/deployments" - }, - "accounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the private endpoint connection" - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - } - }, - "definitions": { - "AccountProperties": { - "type": "object", - "properties": { - "allowedFqdnList": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The api properties for special APIs." - }, - "customSubDomainName": { - "type": "string", - "description": "Optional subdomain name used for token-based authentication." - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "dynamicThrottlingEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to enable dynamic throttling." - }, - "encryption": { - "oneOf": [ - { - "$ref": "#/definitions/Encryption" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to configure Encryption" - }, - "migrationToken": { - "type": "string", - "description": "Resource migration token." - }, - "networkAcls": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkRuleSet" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of rules governing the network accessibility." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether or not public endpoint access is allowed for this account." - }, - "restore": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "restrictOutboundNetworkAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userOwnedStorage": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UserOwnedStorage" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The storage accounts for this resource." - } - }, - "description": "Properties of Cognitive Services account." - }, - "accounts_commitmentPlans_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the commitmentPlan associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account commitment plan." - }, - "type": { - "type": "string", - "enum": [ - "commitmentPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/commitmentPlans" - }, - "accounts_deployments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the deployment associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment." - }, - "type": { - "type": "string", - "enum": [ - "deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/deployments" - }, - "accounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-03-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the private endpoint connection" - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - }, - "ApiProperties": { - "type": "object", - "properties": { - "aadClientId": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The Azure AD Client Id (Application Id)." - }, - "aadTenantId": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The Azure AD Tenant Id." - }, - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "eventHubConnectionString": { - "oneOf": [ - { - "type": "string", - "pattern": "^( *)Endpoint=sb://(.*);( *)SharedAccessKeyName=(.*);( *)SharedAccessKey=(.*)$", - "maxLength": 1000 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Personalization Only) The flag to enable statistics of Bing Search." - }, - "qnaAzureSearchEndpointId": { - "type": "string", - "description": "(QnAMaker Only) The Azure Search endpoint id of QnAMaker." - }, - "qnaAzureSearchEndpointKey": { - "type": "string", - "description": "(QnAMaker Only) The Azure Search endpoint key of QnAMaker." - }, - "qnaRuntimeEndpoint": { - "type": "string", - "description": "(QnAMaker Only) The runtime endpoint of QnAMaker." - }, - "statisticsEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Bing Search Only) The flag to enable statistics of Bing Search." - }, - "storageAccountConnectionString": { - "oneOf": [ - { - "type": "string", - "pattern": "^(( *)DefaultEndpointsProtocol=(http|https)( *);( *))?AccountName=(.*)AccountKey=(.*)EndpointSuffix=(.*)$", - "maxLength": 1000 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Personalization Only) The storage account connection string." - }, - "superUser": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The super user of Metrics Advisor." - }, - "websiteName": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The website name of Metrics Advisor." - } - }, - "description": "The api properties for special APIs." - }, - "CommitmentPeriod": { - "type": "object", - "properties": { - "count": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Commitment period commitment count." - }, - "tier": { - "type": "string", - "description": "Commitment period commitment tier." - } - }, - "description": "Cognitive Services account commitment period." - }, - "CommitmentPlanProperties": { - "type": "object", - "properties": { - "autoRenew": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AutoRenew commitment plan." - }, - "current": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cognitive Services account commitment period." - }, - "hostingModel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Web", - "ConnectedContainer", - "DisconnectedContainer" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Account hosting model." - }, - "next": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cognitive Services account commitment period." - }, - "planType": { - "type": "string", - "description": "Commitment plan type." - } - }, - "description": "Properties of Cognitive Services account commitment plan." - }, - "DeploymentModel": { - "type": "object", - "properties": { - "format": { - "type": "string", - "description": "Deployment model format." - }, - "name": { - "type": "string", - "description": "Deployment model name." - }, - "version": { - "type": "string", - "description": "Deployment model version." - } - }, - "description": "Properties of Cognitive Services account deployment model." - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "model": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentModel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment model." - }, - "scaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentScaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment model." - } - }, - "description": "Properties of Cognitive Services account deployment." - }, - "DeploymentScaleSettings": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment capacity." - }, - "scaleType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard", - "Manual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment scale type." - } - }, - "description": "Properties of Cognitive Services account deployment model." - }, - "Encryption": { - "type": "object", - "properties": { - "keySource": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices", - "Microsoft.KeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enumerates the possible value of keySource for Encryption." - }, - "keyVaultProperties": { - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to configure keyVault Properties" - } - }, - "description": "Properties to configure Encryption" - }, - "Identity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}" - } - }, - "description": "Identity for the resource." - }, - "IpRule": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78)." - } - }, - "required": [ - "value" - ], - "description": "A rule governing the accessibility from a specific ip address or ip range." - }, - "KeyVaultProperties": { - "type": "object", - "properties": { - "identityClientId": { - "type": "string" - }, - "keyName": { - "type": "string", - "description": "Name of the Key from KeyVault" - }, - "keyVaultUri": { - "type": "string", - "description": "Uri of KeyVault" - }, - "keyVersion": { - "type": "string", - "description": "Version of the Key from KeyVault" - } - }, - "description": "Properties to configure keyVault Properties" - }, - "NetworkRuleSet": { - "type": "object", - "properties": { - "defaultAction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated." - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of IP address rules." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of virtual network rules." - } - }, - "description": "A set of rules governing the network accessibility." - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The private link resource group ids." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium", - "Enterprise" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." - } - }, - "required": [ - "name" - ], - "description": "The resource model definition representing SKU" - }, - "UserAssignedIdentity": { - "type": "object", - "properties": {}, - "description": "User-assigned managed identity." - }, - "UserOwnedStorage": { - "type": "object", - "properties": { - "identityClientId": { - "type": "string" - }, - "resourceId": { - "type": "string", - "description": "Full resource id of a Microsoft.Storage resource." - } - }, - "description": "The user owned storage for Cognitive Services account." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'." - }, - "ignoreMissingVnetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Ignore missing vnet service endpoint or not." - }, - "state": { - "type": "string", - "description": "Gets the state of virtual network rule." - } - }, - "required": [ - "id" - ], - "description": "A rule governing the accessibility from a specific virtual network." - } - } -} \ No newline at end of file diff --git a/schemas/2022-10-01/Microsoft.CognitiveServices.json b/schemas/2022-10-01/Microsoft.CognitiveServices.json deleted file mode 100644 index 47ddb471ee..0000000000 --- a/schemas/2022-10-01/Microsoft.CognitiveServices.json +++ /dev/null @@ -1,1091 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-10-01/Microsoft.CognitiveServices.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.CognitiveServices", - "description": "Microsoft CognitiveServices Resource Types", - "resourceDefinitions": { - "accounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "type": "string", - "description": "The kind (type) of cognitive service account." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of Cognitive Services account." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AccountProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/accounts_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/accounts_deployments_childResource" - }, - { - "$ref": "#/definitions/accounts_commitmentPlans_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource model definition representing SKU" - }, - "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.CognitiveServices/accounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts" - }, - "accounts_commitmentPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the commitmentPlan associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account commitment plan." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/accounts/commitmentPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/commitmentPlans" - }, - "accounts_deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the deployment associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/accounts/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/deployments" - }, - "accounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the private endpoint connection" - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - } - }, - "definitions": { - "AccountProperties": { - "type": "object", - "properties": { - "allowedFqdnList": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The api properties for special APIs." - }, - "customSubDomainName": { - "type": "string", - "description": "Optional subdomain name used for token-based authentication." - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "dynamicThrottlingEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to enable dynamic throttling." - }, - "encryption": { - "oneOf": [ - { - "$ref": "#/definitions/Encryption" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to configure Encryption" - }, - "migrationToken": { - "type": "string", - "description": "Resource migration token." - }, - "networkAcls": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkRuleSet" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of rules governing the network accessibility." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether or not public endpoint access is allowed for this account." - }, - "restore": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "restrictOutboundNetworkAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userOwnedStorage": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UserOwnedStorage" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The storage accounts for this resource." - } - }, - "description": "Properties of Cognitive Services account." - }, - "accounts_commitmentPlans_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the commitmentPlan associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account commitment plan." - }, - "type": { - "type": "string", - "enum": [ - "commitmentPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/commitmentPlans" - }, - "accounts_deployments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the deployment associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment." - }, - "type": { - "type": "string", - "enum": [ - "deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/deployments" - }, - "accounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-10-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the private endpoint connection" - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - }, - "ApiProperties": { - "type": "object", - "properties": { - "aadClientId": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The Azure AD Client Id (Application Id)." - }, - "aadTenantId": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The Azure AD Tenant Id." - }, - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "eventHubConnectionString": { - "oneOf": [ - { - "type": "string", - "pattern": "^( *)Endpoint=sb://(.*);( *)SharedAccessKeyName=(.*);( *)SharedAccessKey=(.*)$", - "maxLength": 1000 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Personalization Only) The flag to enable statistics of Bing Search." - }, - "qnaAzureSearchEndpointId": { - "type": "string", - "description": "(QnAMaker Only) The Azure Search endpoint id of QnAMaker." - }, - "qnaAzureSearchEndpointKey": { - "type": "string", - "description": "(QnAMaker Only) The Azure Search endpoint key of QnAMaker." - }, - "qnaRuntimeEndpoint": { - "type": "string", - "description": "(QnAMaker Only) The runtime endpoint of QnAMaker." - }, - "statisticsEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Bing Search Only) The flag to enable statistics of Bing Search." - }, - "storageAccountConnectionString": { - "oneOf": [ - { - "type": "string", - "pattern": "^(( *)DefaultEndpointsProtocol=(http|https)( *);( *))?AccountName=(.*)AccountKey=(.*)EndpointSuffix=(.*)$", - "maxLength": 1000 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Personalization Only) The storage account connection string." - }, - "superUser": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The super user of Metrics Advisor." - }, - "websiteName": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The website name of Metrics Advisor." - } - }, - "description": "The api properties for special APIs." - }, - "CommitmentPeriod": { - "type": "object", - "properties": { - "count": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Commitment period commitment count." - }, - "tier": { - "type": "string", - "description": "Commitment period commitment tier." - } - }, - "description": "Cognitive Services account commitment period." - }, - "CommitmentPlanProperties": { - "type": "object", - "properties": { - "autoRenew": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AutoRenew commitment plan." - }, - "current": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cognitive Services account commitment period." - }, - "hostingModel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Web", - "ConnectedContainer", - "DisconnectedContainer" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Account hosting model." - }, - "next": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cognitive Services account commitment period." - }, - "planType": { - "type": "string", - "description": "Commitment plan type." - } - }, - "description": "Properties of Cognitive Services account commitment plan." - }, - "DeploymentModel": { - "type": "object", - "properties": { - "format": { - "type": "string", - "description": "Deployment model format." - }, - "name": { - "type": "string", - "description": "Deployment model name." - }, - "version": { - "type": "string", - "description": "Deployment model version." - } - }, - "description": "Properties of Cognitive Services account deployment model." - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "model": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentModel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment model." - }, - "raiPolicyName": { - "type": "string", - "description": "The name of RAI policy." - }, - "scaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentScaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment model." - } - }, - "description": "Properties of Cognitive Services account deployment." - }, - "DeploymentScaleSettings": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment capacity." - }, - "scaleType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard", - "Manual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment scale type." - } - }, - "description": "Properties of Cognitive Services account deployment model." - }, - "Encryption": { - "type": "object", - "properties": { - "keySource": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices", - "Microsoft.KeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enumerates the possible value of keySource for Encryption." - }, - "keyVaultProperties": { - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to configure keyVault Properties" - } - }, - "description": "Properties to configure Encryption" - }, - "Identity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}" - } - }, - "description": "Identity for the resource." - }, - "IpRule": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78)." - } - }, - "required": [ - "value" - ], - "description": "A rule governing the accessibility from a specific ip address or ip range." - }, - "KeyVaultProperties": { - "type": "object", - "properties": { - "identityClientId": { - "type": "string" - }, - "keyName": { - "type": "string", - "description": "Name of the Key from KeyVault" - }, - "keyVaultUri": { - "type": "string", - "description": "Uri of KeyVault" - }, - "keyVersion": { - "type": "string", - "description": "Version of the Key from KeyVault" - } - }, - "description": "Properties to configure keyVault Properties" - }, - "NetworkRuleSet": { - "type": "object", - "properties": { - "defaultAction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated." - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of IP address rules." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of virtual network rules." - } - }, - "description": "A set of rules governing the network accessibility." - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The private link resource group ids." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium", - "Enterprise" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." - } - }, - "required": [ - "name" - ], - "description": "The resource model definition representing SKU" - }, - "UserAssignedIdentity": { - "type": "object", - "properties": {}, - "description": "User-assigned managed identity." - }, - "UserOwnedStorage": { - "type": "object", - "properties": { - "identityClientId": { - "type": "string" - }, - "resourceId": { - "type": "string", - "description": "Full resource id of a Microsoft.Storage resource." - } - }, - "description": "The user owned storage for Cognitive Services account." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'." - }, - "ignoreMissingVnetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Ignore missing vnet service endpoint or not." - }, - "state": { - "type": "string", - "description": "Gets the state of virtual network rule." - } - }, - "required": [ - "id" - ], - "description": "A rule governing the accessibility from a specific virtual network." - } - } -} \ No newline at end of file diff --git a/schemas/2022-12-01/Microsoft.CognitiveServices.json b/schemas/2022-12-01/Microsoft.CognitiveServices.json deleted file mode 100644 index 0211624905..0000000000 --- a/schemas/2022-12-01/Microsoft.CognitiveServices.json +++ /dev/null @@ -1,1421 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-12-01/Microsoft.CognitiveServices.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.CognitiveServices", - "description": "Microsoft CognitiveServices Resource Types", - "resourceDefinitions": { - "accounts": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-12-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/Identity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Identity for the resource." - }, - "kind": { - "type": "string", - "description": "The kind (type) of cognitive service account." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", - "minLength": 2, - "maxLength": 64 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of Cognitive Services account." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AccountProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/accounts_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/accounts_deployments_childResource" - }, - { - "$ref": "#/definitions/accounts_commitmentPlans_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource model definition representing SKU" - }, - "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.CognitiveServices/accounts" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts" - }, - "accounts_commitmentPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-12-01" - ] - }, - "kind": { - "type": "string", - "description": "The kind (type) of cognitive service account." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the commitmentPlan associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account commitment plan." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource model definition representing SKU" - }, - "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.CognitiveServices/accounts/commitmentPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/commitmentPlans" - }, - "accounts_deployments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-12-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the deployment associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/accounts/deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/deployments" - }, - "accounts_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-12-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the private endpoint connection" - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - }, - "commitmentPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-12-01" - ] - }, - "kind": { - "type": "string", - "description": "The kind (type) of cognitive service account." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the commitmentPlan associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account commitment plan." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/commitmentPlans_accountAssociations_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource model definition representing SKU" - }, - "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.CognitiveServices/commitmentPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/commitmentPlans" - }, - "commitmentPlans_accountAssociations": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-12-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the commitment plan association with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPlanAccountAssociationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The commitment plan account association properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices/commitmentPlans/accountAssociations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/commitmentPlans/accountAssociations" - } - }, - "definitions": { - "AccountProperties": { - "type": "object", - "properties": { - "allowedFqdnList": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "apiProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ApiProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The api properties for special APIs." - }, - "customSubDomainName": { - "type": "string", - "description": "Optional subdomain name used for token-based authentication." - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "dynamicThrottlingEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to enable dynamic throttling." - }, - "encryption": { - "oneOf": [ - { - "$ref": "#/definitions/Encryption" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to configure Encryption" - }, - "locations": { - "oneOf": [ - { - "$ref": "#/definitions/MultiRegionSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The multiregion settings Cognitive Services account." - }, - "migrationToken": { - "type": "string", - "description": "Resource migration token." - }, - "networkAcls": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkRuleSet" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A set of rules governing the network accessibility." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether or not public endpoint access is allowed for this account." - }, - "restore": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "restrictOutboundNetworkAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userOwnedStorage": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UserOwnedStorage" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The storage accounts for this resource." - } - }, - "description": "Properties of Cognitive Services account." - }, - "accounts_commitmentPlans_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-12-01" - ] - }, - "kind": { - "type": "string", - "description": "The kind (type) of cognitive service account." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the commitmentPlan associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account commitment plan." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource model definition representing SKU" - }, - "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": [ - "commitmentPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/commitmentPlans" - }, - "accounts_deployments_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-12-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the deployment associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment." - }, - "type": { - "type": "string", - "enum": [ - "deployments" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/deployments" - }, - "accounts_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-12-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the private endpoint connection" - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/accounts/privateEndpointConnections" - }, - "ApiProperties": { - "type": "object", - "properties": { - "aadClientId": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The Azure AD Client Id (Application Id)." - }, - "aadTenantId": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The Azure AD Tenant Id." - }, - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "eventHubConnectionString": { - "oneOf": [ - { - "type": "string", - "pattern": "^( *)Endpoint=sb://(.*);( *)SharedAccessKeyName=(.*);( *)SharedAccessKey=(.*)$", - "maxLength": 1000 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Personalization Only) The flag to enable statistics of Bing Search." - }, - "qnaAzureSearchEndpointId": { - "type": "string", - "description": "(QnAMaker Only) The Azure Search endpoint id of QnAMaker." - }, - "qnaAzureSearchEndpointKey": { - "type": "string", - "description": "(QnAMaker Only) The Azure Search endpoint key of QnAMaker." - }, - "qnaRuntimeEndpoint": { - "type": "string", - "description": "(QnAMaker Only) The runtime endpoint of QnAMaker." - }, - "statisticsEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Bing Search Only) The flag to enable statistics of Bing Search." - }, - "storageAccountConnectionString": { - "oneOf": [ - { - "type": "string", - "pattern": "^(( *)DefaultEndpointsProtocol=(http|https)( *);( *))?AccountName=(.*)AccountKey=(.*)EndpointSuffix=(.*)$", - "maxLength": 1000 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "(Personalization Only) The storage account connection string." - }, - "superUser": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The super user of Metrics Advisor." - }, - "websiteName": { - "type": "string", - "maxLength": 500, - "description": "(Metrics Advisor Only) The website name of Metrics Advisor." - } - }, - "description": "The api properties for special APIs." - }, - "CommitmentPeriod": { - "type": "object", - "properties": { - "count": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Commitment period commitment count." - }, - "tier": { - "type": "string", - "description": "Commitment period commitment tier." - } - }, - "description": "Cognitive Services account commitment period." - }, - "CommitmentPlanAccountAssociationProperties": { - "type": "object", - "properties": { - "accountId": { - "type": "string", - "description": "The Azure resource id of the account." - } - }, - "description": "The commitment plan account association properties." - }, - "CommitmentPlanProperties": { - "type": "object", - "properties": { - "autoRenew": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AutoRenew commitment plan." - }, - "commitmentPlanGuid": { - "type": "string", - "description": "Commitment plan guid." - }, - "current": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cognitive Services account commitment period." - }, - "hostingModel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Web", - "ConnectedContainer", - "DisconnectedContainer" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Account hosting model." - }, - "next": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cognitive Services account commitment period." - }, - "planType": { - "type": "string", - "description": "Commitment plan type." - } - }, - "description": "Properties of Cognitive Services account commitment plan." - }, - "commitmentPlans_accountAssociations_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-12-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the commitment plan association with the Cognitive Services Account" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPlanAccountAssociationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The commitment plan account association properties." - }, - "type": { - "type": "string", - "enum": [ - "accountAssociations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.CognitiveServices/commitmentPlans/accountAssociations" - }, - "DeploymentModel": { - "type": "object", - "properties": { - "format": { - "type": "string", - "description": "Deployment model format." - }, - "name": { - "type": "string", - "description": "Deployment model name." - }, - "version": { - "type": "string", - "description": "Deployment model version." - } - }, - "description": "Properties of Cognitive Services account deployment model." - }, - "DeploymentProperties": { - "type": "object", - "properties": { - "model": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentModel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment model." - }, - "raiPolicyName": { - "type": "string", - "description": "The name of RAI policy." - }, - "scaleSettings": { - "oneOf": [ - { - "$ref": "#/definitions/DeploymentScaleSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Cognitive Services account deployment model." - } - }, - "description": "Properties of Cognitive Services account deployment." - }, - "DeploymentScaleSettings": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment capacity." - }, - "scaleType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard", - "Manual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Deployment scale type." - } - }, - "description": "Properties of Cognitive Services account deployment model." - }, - "Encryption": { - "type": "object", - "properties": { - "keySource": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Microsoft.CognitiveServices", - "Microsoft.KeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enumerates the possible value of keySource for Encryption." - }, - "keyVaultProperties": { - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties to configure keyVault Properties" - } - }, - "description": "Properties to configure Encryption" - }, - "Identity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}" - } - }, - "description": "Identity for the resource." - }, - "IpRule": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "An IPv4 address range in CIDR notation, such as '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses that start with 124.56.78)." - } - }, - "required": [ - "value" - ], - "description": "A rule governing the accessibility from a specific ip address or ip range." - }, - "KeyVaultProperties": { - "type": "object", - "properties": { - "identityClientId": { - "type": "string" - }, - "keyName": { - "type": "string", - "description": "Name of the Key from KeyVault" - }, - "keyVaultUri": { - "type": "string", - "description": "Uri of KeyVault" - }, - "keyVersion": { - "type": "string", - "description": "Version of the Key from KeyVault" - } - }, - "description": "Properties to configure keyVault Properties" - }, - "MultiRegionSettings": { - "type": "object", - "properties": { - "regions": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/RegionSetting" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "routingMethod": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Priority", - "Weighted", - "Performance" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Multiregion routing methods." - } - }, - "description": "The multiregion settings Cognitive Services account." - }, - "NetworkRuleSet": { - "type": "object", - "properties": { - "defaultAction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated." - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of IP address rules." - }, - "virtualNetworkRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualNetworkRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of virtual network rules." - } - }, - "description": "A set of rules governing the network accessibility." - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "groupIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The private link resource group ids." - }, - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "RegionSetting": { - "type": "object", - "properties": { - "customsubdomain": { - "type": "string", - "description": "Maps the region to the regional custom subdomain." - }, - "name": { - "type": "string", - "description": "Name of the region." - }, - "value": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A value for priority or weighted routing methods." - } - }, - "description": "The call rate limit Cognitive Services account." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium", - "Enterprise" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." - } - }, - "required": [ - "name" - ], - "description": "The resource model definition representing SKU" - }, - "UserAssignedIdentity": { - "type": "object", - "properties": {}, - "description": "User-assigned managed identity." - }, - "UserOwnedStorage": { - "type": "object", - "properties": { - "identityClientId": { - "type": "string" - }, - "resourceId": { - "type": "string", - "description": "Full resource id of a Microsoft.Storage resource." - } - }, - "description": "The user owned storage for Cognitive Services account." - }, - "VirtualNetworkRule": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Full resource id of a vnet subnet, such as '/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1'." - }, - "ignoreMissingVnetServiceEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Ignore missing vnet service endpoint or not." - }, - "state": { - "type": "string", - "description": "Gets the state of virtual network rule." - } - }, - "required": [ - "id" - ], - "description": "A rule governing the accessibility from a specific virtual network." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 0fc8a6efd9..e5ad99e8a9 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -5365,75 +5365,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2023-04-15-preview/Microsoft.Chaos.json#/resourceDefinitions/experiments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-02-01-preview/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-04-18/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-04-18/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-30/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-30/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts_commitmentPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts_deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts_commitmentPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts_deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-03-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-10-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-10-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts_commitmentPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-10-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts_deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-10-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-12-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-12-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts_commitmentPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-12-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts_deployments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-12-01/Microsoft.CognitiveServices.json#/resourceDefinitions/accounts_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-12-01/Microsoft.CognitiveServices.json#/resourceDefinitions/commitmentPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-12-01/Microsoft.CognitiveServices.json#/resourceDefinitions/commitmentPlans_accountAssociations" - }, { "$ref": "https://schema.management.azure.com/schemas/2020-08-20/Microsoft.Communication.json#/resourceDefinitions/communicationServices" },