From 5b4823a53a12340504468d37114f3def289584d4 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 4 Nov 2021 05:17:57 +0000 Subject: [PATCH] CodeGen from PR 16658 in Azure/azure-rest-api-specs Cognitive Services add batch tag package-2021-10 (#16658) --- .../Microsoft.CognitiveServices.json | 1075 +++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 2 files changed, 1087 insertions(+) create mode 100644 schemas/2021-10-01/Microsoft.CognitiveServices.json diff --git a/schemas/2021-10-01/Microsoft.CognitiveServices.json b/schemas/2021-10-01/Microsoft.CognitiveServices.json new file mode 100644 index 0000000000..566a536467 --- /dev/null +++ b/schemas/2021-10-01/Microsoft.CognitiveServices.json @@ -0,0 +1,1075 @@ +{ + "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": [ + "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/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 985f436ae1..7596c1fd2e 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -3046,6 +3046,18 @@ { "$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/2020-08-20/Microsoft.Communication.json#/resourceDefinitions/communicationServices" },