From 333a883a6ebaab8310d20b75e89bd39230d9d9da Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 19 Oct 2021 08:54:39 +0000 Subject: [PATCH 01/21] Autogenerate schemas --- .../Microsoft.ContainerRegistry.json | 2470 +++++ .../2021-08-01/Microsoft.ApiManagement.json | 8117 +++++++++++++++++ schemas/common/autogeneratedResources.json | 177 + 3 files changed, 10764 insertions(+) create mode 100644 schemas/2021-08-01-preview/Microsoft.ContainerRegistry.json create mode 100644 schemas/2021-08-01/Microsoft.ApiManagement.json diff --git a/schemas/2021-08-01-preview/Microsoft.ContainerRegistry.json b/schemas/2021-08-01-preview/Microsoft.ContainerRegistry.json new file mode 100644 index 0000000000..440f1e4606 --- /dev/null +++ b/schemas/2021-08-01-preview/Microsoft.ContainerRegistry.json @@ -0,0 +1,2470 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-08-01-preview/Microsoft.ContainerRegistry.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ContainerRegistry", + "description": "Microsoft ContainerRegistry Resource Types", + "resourceDefinitions": { + "registries": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource. This cannot be changed after the resource is created." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the container registry." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RegistryProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a container registry." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/registries_connectedRegistries_childResource" + }, + { + "$ref": "#/definitions/registries_exportPipelines_childResource" + }, + { + "$ref": "#/definitions/registries_importPipelines_childResource" + }, + { + "$ref": "#/definitions/registries_pipelineRuns_childResource" + }, + { + "$ref": "#/definitions/registries_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/registries_replications_childResource" + }, + { + "$ref": "#/definitions/registries_scopeMaps_childResource" + }, + { + "$ref": "#/definitions/registries_tokens_childResource" + }, + { + "$ref": "#/definitions/registries_webhooks_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU of a container registry." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerRegistry/registries" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries" + }, + "registries_connectedRegistries": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the connected registry." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectedRegistryProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a connected registry." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerRegistry/registries/connectedRegistries" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/connectedRegistries" + }, + "registries_exportPipelines": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the export pipeline." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the export pipeline." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ExportPipelineProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an export pipeline." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerRegistry/registries/exportPipelines" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/exportPipelines" + }, + "registries_importPipelines": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the import pipeline." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the import pipeline." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ImportPipelineProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an import pipeline." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerRegistry/registries/importPipelines" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/importPipelines" + }, + "registries_pipelineRuns": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the pipeline run." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PipelineRunProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a pipeline run." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerRegistry/registries/pipelineRuns" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/pipelineRuns" + }, + "registries_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerRegistry/registries/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/privateEndpointConnections" + }, + "registries_replications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The location of the resource. This cannot be changed after the resource is created." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the replication." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ReplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a replication." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerRegistry/registries/replications" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/replications" + }, + "registries_scopeMaps": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9-_]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the scope map." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScopeMapProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a scope map." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerRegistry/registries/scopeMaps" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/scopeMaps" + }, + "registries_tokens": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9-]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the token." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TokenProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a token." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerRegistry/registries/tokens" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/tokens" + }, + "registries_webhooks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The location of the webhook. This cannot be changed after the resource is created." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the webhook." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WebhookPropertiesCreateParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters for creating the properties of a webhook." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the webhook." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerRegistry/registries/webhooks" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/webhooks" + } + }, + "definitions": { + "ConnectedRegistryProperties": { + "type": "object", + "properties": { + "clientTokenIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of the ACR token resource IDs used to authenticate clients to the connected registry." + }, + "logging": { + "oneOf": [ + { + "$ref": "#/definitions/LoggingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The logging properties of the connected registry." + }, + "loginServer": { + "oneOf": [ + { + "$ref": "#/definitions/LoginServerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The login server properties of the connected registry." + }, + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ReadWrite", + "ReadOnly", + "Registry", + "Mirror" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The mode of the connected registry resource that indicates the permissions of the registry." + }, + "notificationsList": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of notifications subscription information for the connected registry." + }, + "parent": { + "oneOf": [ + { + "$ref": "#/definitions/ParentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the connected registry parent." + } + }, + "required": [ + "mode", + "parent" + ], + "description": "The properties of a connected registry." + }, + "EncryptionProperty": { + "type": "object", + "properties": { + "keyVaultProperties": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether or not the encryption is enabled for container registry." + } + } + }, + "ExportPipelineProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "OverwriteTags", + "OverwriteBlobs", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of all options configured for the pipeline." + }, + "target": { + "oneOf": [ + { + "$ref": "#/definitions/ExportPipelineTargetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the export pipeline target." + } + }, + "required": [ + "target" + ], + "description": "The properties of an export pipeline." + }, + "ExportPipelineTargetProperties": { + "type": "object", + "properties": { + "keyVaultUri": { + "type": "string", + "description": "They key vault secret uri to obtain the target storage SAS token." + }, + "type": { + "type": "string", + "description": "The type of target for the export pipeline." + }, + "uri": { + "type": "string", + "description": "The target uri of the export pipeline.\r\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\r\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"" + } + }, + "required": [ + "keyVaultUri" + ], + "description": "The properties of the export pipeline target." + }, + "ExportPolicy": { + "type": "object", + "properties": { + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The value that indicates whether the policy is enabled or not." + } + }, + "description": "The export policy for a container registry." + }, + "IdentityProperties": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identity type." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Managed identity for the resource." + }, + "ImportPipelineProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "OverwriteTags", + "OverwriteBlobs", + "DeleteSourceBlobOnSuccess", + "ContinueOnErrors" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of all options configured for the pipeline." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/ImportPipelineSourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the import pipeline source." + }, + "trigger": { + "oneOf": [ + { + "$ref": "#/definitions/PipelineTriggerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "source" + ], + "description": "The properties of an import pipeline." + }, + "ImportPipelineSourceProperties": { + "type": "object", + "properties": { + "keyVaultUri": { + "type": "string", + "description": "They key vault secret uri to obtain the source storage SAS token." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureStorageBlobContainer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of source for the import pipeline." + }, + "uri": { + "type": "string", + "description": "The source uri of the import pipeline.\r\nWhen 'AzureStorageBlob': \"https://accountName.blob.core.windows.net/containerName/blobName\"\r\nWhen 'AzureStorageBlobContainer': \"https://accountName.blob.core.windows.net/containerName\"" + } + }, + "required": [ + "keyVaultUri" + ], + "description": "The properties of the import pipeline source." + }, + "IPRule": { + "type": "object", + "properties": { + "action": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Allow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The action of IP ACL rule." + }, + "value": { + "type": "string", + "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed." + } + }, + "required": [ + "value" + ], + "description": "IP rule with specific IP or IP range in CIDR format." + }, + "KeyVaultProperties": { + "type": "object", + "properties": { + "identity": { + "type": "string", + "description": "The client id of the identity which will be used to access key vault." + }, + "keyIdentifier": { + "type": "string", + "description": "Key vault uri to access the encryption key." + } + } + }, + "LoggingProperties": { + "type": "object", + "properties": { + "auditLogStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether audit logs are enabled on the connected registry." + }, + "logLevel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Debug", + "Information", + "Warning", + "Error", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The verbosity of logs persisted on the connected registry." + } + }, + "description": "The logging properties of the connected registry." + }, + "LoginServerProperties": { + "type": "object", + "properties": {}, + "description": "The login server properties of the connected registry." + }, + "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 of allow or deny when no other rules match." + }, + "ipRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IPRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IP ACL rules." + }, + "virtualNetworkRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The virtual network rules." + } + }, + "required": [ + "defaultAction" + ], + "description": "The network rule set for a container registry." + }, + "ParentProperties": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The resource ID of the parent to which the connected registry will be associated." + }, + "syncProperties": { + "oneOf": [ + { + "$ref": "#/definitions/SyncProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The sync properties of the connected registry with its parent." + } + }, + "required": [ + "syncProperties" + ], + "description": "The properties of the connected registry parent." + }, + "PipelineRunProperties": { + "type": "object", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed." + }, + "request": { + "oneOf": [ + { + "$ref": "#/definitions/PipelineRunRequest" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The request properties provided for a pipeline run." + } + }, + "description": "The properties of a pipeline run." + }, + "PipelineRunRequest": { + "type": "object", + "properties": { + "artifacts": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of source artifacts to be transferred by the pipeline. \r\nSpecify an image by repository ('hello-world'). This will use the 'latest' tag.\r\nSpecify an image by tag ('hello-world:latest').\r\nSpecify an image by sha256-based manifest digest ('hello-world@sha256:abc123')." + }, + "catalogDigest": { + "type": "string", + "description": "The digest of the tar used to transfer the artifacts." + }, + "pipelineResourceId": { + "type": "string", + "description": "The resource ID of the pipeline to run." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/PipelineRunSourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "target": { + "oneOf": [ + { + "$ref": "#/definitions/PipelineRunTargetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "The request properties provided for a pipeline run." + }, + "PipelineRunSourceProperties": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the source." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureStorageBlob" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the source." + } + } + }, + "PipelineRunTargetProperties": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the target." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureStorageBlob" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the target." + } + } + }, + "PipelineSourceTriggerProperties": { + "type": "object", + "properties": { + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The current status of the source trigger." + } + }, + "required": [ + "status" + ] + }, + "PipelineTriggerProperties": { + "type": "object", + "properties": { + "sourceTrigger": { + "oneOf": [ + { + "$ref": "#/definitions/PipelineSourceTriggerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "Policies": { + "type": "object", + "properties": { + "exportPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ExportPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The export policy for a container registry." + }, + "quarantinePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/QuarantinePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The quarantine policy for a container registry." + }, + "retentionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The retention policy for a container registry." + }, + "trustPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/TrustPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The content trust policy for a container registry." + } + }, + "description": "The policies for a container registry." + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "This is private endpoint resource created with Microsoft.Network resource provider." + } + }, + "description": "The Private Endpoint resource." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "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": "The state of a private link service connection." + } + }, + "description": "The properties of a private endpoint connection." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Recreate" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A message indicating if changes on the service provider require any updates on the consumer." + }, + "description": { + "type": "string", + "description": "The description for connection status. For example if connection is rejected it can indicate reason for rejection." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link service connection status." + } + }, + "description": "The state of a private link service connection." + }, + "QuarantinePolicy": { + "type": "object", + "properties": { + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The value that indicates whether the policy is enabled or not." + } + }, + "description": "The quarantine policy for a container registry." + }, + "registries_connectedRegistries_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the connected registry." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectedRegistryProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a connected registry." + }, + "type": { + "type": "string", + "enum": [ + "connectedRegistries" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/connectedRegistries" + }, + "registries_exportPipelines_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the export pipeline." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the export pipeline." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ExportPipelineProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an export pipeline." + }, + "type": { + "type": "string", + "enum": [ + "exportPipelines" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/exportPipelines" + }, + "registries_importPipelines_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the import pipeline." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the import pipeline." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ImportPipelineProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an import pipeline." + }, + "type": { + "type": "string", + "enum": [ + "importPipelines" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/importPipelines" + }, + "registries_pipelineRuns_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the pipeline run." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PipelineRunProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a pipeline run." + }, + "type": { + "type": "string", + "enum": [ + "pipelineRuns" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/pipelineRuns" + }, + "registries_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/privateEndpointConnections" + }, + "registries_replications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The location of the resource. This cannot be changed after the resource is created." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the replication." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ReplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a replication." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags of the resource." + }, + "type": { + "type": "string", + "enum": [ + "replications" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/replications" + }, + "registries_scopeMaps_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9-_]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the scope map." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScopeMapProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a scope map." + }, + "type": { + "type": "string", + "enum": [ + "scopeMaps" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/scopeMaps" + }, + "registries_tokens_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9-]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the token." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TokenProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a token." + }, + "type": { + "type": "string", + "enum": [ + "tokens" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/tokens" + }, + "registries_webhooks_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The location of the webhook. This cannot be changed after the resource is created." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]*$", + "minLength": 5, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the webhook." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WebhookPropertiesCreateParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters for creating the properties of a webhook." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the webhook." + }, + "type": { + "type": "string", + "enum": [ + "webhooks" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerRegistry/registries/webhooks" + }, + "RegistryProperties": { + "type": "object", + "properties": { + "adminUserEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The value that indicates whether the admin user is enabled." + }, + "anonymousPullEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables registry-wide pull from unauthenticated clients." + }, + "dataEndpointEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable a single data endpoint per region for serving data." + }, + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "networkRuleBypassOptions": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureServices", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to allow trusted Azure services to access a network restricted registry." + }, + "networkRuleSet": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkRuleSet" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The network rule set for a container registry." + }, + "policies": { + "oneOf": [ + { + "$ref": "#/definitions/Policies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policies for a container registry." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not public network access is allowed for the container registry." + }, + "zoneRedundancy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not zone redundancy is enabled for this container registry." + } + }, + "description": "The properties of a container registry." + }, + "ReplicationProperties": { + "type": "object", + "properties": { + "regionEndpointEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications." + }, + "zoneRedundancy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not zone redundancy is enabled for this container registry replication." + } + }, + "description": "The properties of a replication." + }, + "RetentionPolicy": { + "type": "object", + "properties": { + "days": { + "oneOf": [ + { + "type": "integer", + "default": "7" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of days to retain an untagged manifest after which it gets purged." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The value that indicates whether the policy is enabled or not." + } + }, + "description": "The retention policy for a container registry." + }, + "ScopeMapProperties": { + "type": "object", + "properties": { + "actions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of scoped permissions for registry artifacts.\r\nE.g. repositories/repository-name/content/read,\r\nrepositories/repository-name/metadata/write" + }, + "description": { + "type": "string", + "description": "The user friendly description of the scope map." + } + }, + "required": [ + "actions" + ], + "description": "The properties of a scope map." + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Classic", + "Basic", + "Standard", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU name of the container registry. Required for registry creation." + } + }, + "required": [ + "name" + ], + "description": "The SKU of a container registry." + }, + "SyncProperties": { + "type": "object", + "properties": { + "messageTtl": { + "type": "string", + "format": "duration", + "description": "The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." + }, + "schedule": { + "type": "string", + "description": "The cron expression indicating the schedule that the connected registry will sync with its parent." + }, + "syncWindow": { + "type": "string", + "format": "duration", + "description": "The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601." + }, + "tokenId": { + "type": "string", + "description": "The resource ID of the ACR token used to authenticate the connected registry to its parent during sync." + } + }, + "required": [ + "messageTtl", + "tokenId" + ], + "description": "The sync properties of the connected registry with its parent." + }, + "TokenCertificate": { + "type": "object", + "properties": { + "encodedPemCertificate": { + "type": "string", + "description": "Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token." + }, + "expiry": { + "type": "string", + "format": "date-time", + "description": "The expiry datetime of the certificate." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "certificate1", + "certificate2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "thumbprint": { + "type": "string", + "description": "The thumbprint of the certificate." + } + }, + "description": "The properties of a certificate used for authenticating a token." + }, + "TokenCredentialsProperties": { + "type": "object", + "properties": { + "certificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TokenCertificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "passwords": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TokenPassword" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "The properties of the credentials that can be used for authenticating the token." + }, + "TokenPassword": { + "type": "object", + "properties": { + "creationTime": { + "type": "string", + "format": "date-time", + "description": "The creation datetime of the password." + }, + "expiry": { + "type": "string", + "format": "date-time", + "description": "The expiry datetime of the password." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "password1", + "password2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The password name \"password1\" or \"password2\"." + } + }, + "description": "The password that will be used for authenticating the token of a container registry." + }, + "TokenProperties": { + "type": "object", + "properties": { + "credentials": { + "oneOf": [ + { + "$ref": "#/definitions/TokenCredentialsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the credentials that can be used for authenticating the token." + }, + "scopeMapId": { + "type": "string", + "description": "The resource ID of the scope map to which the token will be associated with." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The status of the token example enabled or disabled." + } + }, + "description": "The properties of a token." + }, + "TrustPolicy": { + "type": "object", + "properties": { + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The value that indicates whether the policy is enabled or not." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Notary" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of trust policy." + } + }, + "description": "The content trust policy for a container registry." + }, + "UserIdentityProperties": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The client id of user assigned identity." + }, + "principalId": { + "type": "string", + "description": "The principal id of user assigned identity." + } + } + }, + "VirtualNetworkRule": { + "type": "object", + "properties": { + "action": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Allow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The action of virtual network rule." + }, + "id": { + "type": "string", + "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}." + } + }, + "required": [ + "id" + ], + "description": "Virtual network rule." + }, + "WebhookPropertiesCreateParameters": { + "type": "object", + "properties": { + "actions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "push", + "delete", + "quarantine", + "chart_push", + "chart_delete" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of actions that trigger the webhook to post notifications." + }, + "customHeaders": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom headers that will be added to the webhook notifications." + }, + "scope": { + "type": "string", + "description": "The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events." + }, + "serviceUri": { + "type": "string", + "description": "The service URI for the webhook to post notifications." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The status of the webhook at the time the operation was called." + } + }, + "required": [ + "actions", + "serviceUri" + ], + "description": "The parameters for creating the properties of a webhook." + } + } +} \ No newline at end of file diff --git a/schemas/2021-08-01/Microsoft.ApiManagement.json b/schemas/2021-08-01/Microsoft.ApiManagement.json new file mode 100644 index 0000000000..c4a00a0267 --- /dev/null +++ b/schemas/2021-08-01/Microsoft.ApiManagement.json @@ -0,0 +1,8117 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ApiManagement", + "description": "Microsoft ApiManagement Resource Types", + "resourceDefinitions": { + "service": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ApiManagementServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity properties of the Api Management service resource." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$", + "minLength": 1, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the API Management service." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiManagementServiceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an API Management service resource description." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_apis_childResource" + }, + { + "$ref": "#/definitions/service_tags_childResource" + }, + { + "$ref": "#/definitions/service_apiVersionSets_childResource" + }, + { + "$ref": "#/definitions/service_authorizationServers_childResource" + }, + { + "$ref": "#/definitions/service_backends_childResource" + }, + { + "$ref": "#/definitions/service_caches_childResource" + }, + { + "$ref": "#/definitions/service_certificates_childResource" + }, + { + "$ref": "#/definitions/service_contentTypes_childResource" + }, + { + "$ref": "#/definitions/service_diagnostics_childResource" + }, + { + "$ref": "#/definitions/service_templates_childResource" + }, + { + "$ref": "#/definitions/service_gateways_childResource" + }, + { + "$ref": "#/definitions/service_groups_childResource" + }, + { + "$ref": "#/definitions/service_identityProviders_childResource" + }, + { + "$ref": "#/definitions/service_loggers_childResource" + }, + { + "$ref": "#/definitions/service_namedValues_childResource" + }, + { + "$ref": "#/definitions/service_notifications_childResource" + }, + { + "$ref": "#/definitions/service_openidConnectProviders_childResource" + }, + { + "$ref": "#/definitions/service_policies_childResource" + }, + { + "$ref": "#/definitions/service_portalRevisions_childResource" + }, + { + "$ref": "#/definitions/service_portalsettings_childResource" + }, + { + "$ref": "#/definitions/service_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/service_products_childResource" + }, + { + "$ref": "#/definitions/service_subscriptions_childResource" + }, + { + "$ref": "#/definitions/service_tenant_childResource" + }, + { + "$ref": "#/definitions/service_users_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ApiManagementServiceSkuProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Management service resource SKU properties." + }, + "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.ApiManagement/service" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of availability zones denoting where the resource needs to come from." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.ApiManagement/service" + }, + "service_apis": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Create or Update Properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_apis_releases_childResource" + }, + { + "$ref": "#/definitions/service_apis_operations_childResource" + }, + { + "$ref": "#/definitions/service_apis_tags_childResource" + }, + { + "$ref": "#/definitions/service_apis_policies_childResource" + }, + { + "$ref": "#/definitions/service_apis_schemas_childResource" + }, + { + "$ref": "#/definitions/service_apis_diagnostics_childResource" + }, + { + "$ref": "#/definitions/service_apis_issues_childResource" + }, + { + "$ref": "#/definitions/service_apis_tagDescriptions_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis" + }, + "service_apis_diagnostics": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic Entity Properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/diagnostics" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/diagnostics" + }, + "service_apis_issues": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IssueContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue contract Properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_apis_issues_comments_childResource" + }, + { + "$ref": "#/definitions/service_apis_issues_attachments_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/issues" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/issues" + }, + "service_apis_issues_attachments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Attachment identifier within an Issue. Must be unique in the current Issue." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IssueAttachmentContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue Attachment contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/issues/attachments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/issues/attachments" + }, + "service_apis_issues_comments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Comment identifier within an Issue. Must be unique in the current Issue." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IssueCommentContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue Comment contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/issues/comments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/issues/comments" + }, + "service_apis_operations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Operation identifier within an API. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/OperationContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Operation Contract Properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_apis_operations_policies_childResource" + }, + { + "$ref": "#/definitions/service_apis_operations_tags_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/operations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/operations" + }, + "service_apis_operations_policies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/policy$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/operations/policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/operations/policies" + }, + "service_apis_operations_tags": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/operations/tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/operations/tags" + }, + "service_apis_policies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/policy$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/policies" + }, + "service_apis_releases": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Release identifier within an API. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiReleaseContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Release details" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/releases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/releases" + }, + "service_apis_schemas": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schema identifier within an API. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SchemaContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Schema create or update contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/schemas" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/schemas" + }, + "service_apis_tagDescriptions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag description identifier. Used when creating tagDescription for API/Tag association. Based on API and Tag names." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TagDescriptionBaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create TagDescription operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/tagDescriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/tagDescriptions" + }, + "service_apis_tags": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/tags" + }, + "service_apiVersionSets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Api Version Set identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiVersionSetContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an API Version Set." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apiVersionSets" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apiVersionSets" + }, + "service_authorizationServers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the authorization server." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AuthorizationServerContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "External OAuth authorization server settings Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/authorizationServers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/authorizationServers" + }, + "service_backends": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Identifier of the Backend entity. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackendContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create Backend operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/backends" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/backends" + }, + "service_caches": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the Cache entity. Cache identifier (should be either 'default' or valid Azure region identifier)." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CacheContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Cache contract." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/caches" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/caches" + }, + "service_certificates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the certificate entity. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the CreateOrUpdate certificate operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/certificates" + }, + "service_contentTypes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Content type identifier." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_contentTypes_contentItems_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/contentTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/contentTypes" + }, + "service_contentTypes_contentItems": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Content item identifier." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/contentTypes/contentItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/contentTypes/contentItems" + }, + "service_diagnostics": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic Entity Properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/diagnostics" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/diagnostics" + }, + "service_gateways": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Gateway contract." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_gateways_hostnameConfigurations_childResource" + }, + { + "$ref": "#/definitions/service_gateways_apis_childResource" + }, + { + "$ref": "#/definitions/service_gateways_certificateAuthorities_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/gateways" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways" + }, + "service_gateways_apis": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "API identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AssociationContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Association entity contract properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/gateways/apis" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways/apis" + }, + "service_gateways_certificateAuthorities": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the certificate entity. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayCertificateAuthorityContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gateway certificate authority details." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/gateways/certificateAuthorities" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways/certificateAuthorities" + }, + "service_gateways_hostnameConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Gateway hostname configuration identifier. Must be unique in the scope of parent Gateway entity." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayHostnameConfigurationContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gateway hostname configuration details." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/gateways/hostnameConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways/hostnameConfigurations" + }, + "service_groups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Group identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GroupCreateParametersProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create Group operation." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_groups_users_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/groups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/groups" + }, + "service_groups_users": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "User identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/groups/users" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/groups/users" + }, + "service_identityProviders": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "facebook", + "google", + "microsoft", + "twitter", + "aad", + "aadB2C" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity Provider Type identifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProviderCreateContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The external Identity Providers like Facebook, Google, Microsoft, Twitter or Azure Active Directory which can be used to enable access to the API Management service developer portal for all users." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/identityProviders" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/identityProviders" + }, + "service_loggers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Logger identifier. Must be unique in the API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LoggerContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Logger entity in API Management represents an event sink that you can use to log API Management events. Currently the Logger entity supports logging API Management events to Azure Event Hubs." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/loggers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/loggers" + }, + "service_namedValues": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the NamedValue." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NamedValueCreateContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NamedValue Contract properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/namedValues" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/namedValues" + }, + "service_notifications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "RequestPublisherNotificationMessage", + "PurchasePublisherNotificationMessage", + "NewApplicationNotificationMessage", + "BCC", + "NewIssuePublisherNotificationMessage", + "AccountClosedPublisher", + "QuotaLimitApproachingPublisherNotificationMessage" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Notification Name Identifier." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_notifications_recipientUsers_childResource" + }, + { + "$ref": "#/definitions/service_notifications_recipientEmails_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/notifications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/notifications" + }, + "service_notifications_recipientEmails": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Email identifier." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/notifications/recipientEmails" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/notifications/recipientEmails" + }, + "service_notifications_recipientUsers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "User identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/notifications/recipientUsers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/notifications/recipientUsers" + }, + "service_openidConnectProviders": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the OpenID Connect Provider." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/OpenidConnectProviderContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OpenID Connect Providers Contract." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/openidConnectProviders" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/openidConnectProviders" + }, + "service_policies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/policy$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/policies" + }, + "service_portalRevisions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Portal revision identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalRevisionContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/portalRevisions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/portalRevisions" + }, + "service_portalsettings": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/signin$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalSigninSettingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sign-in settings contract properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + }, + { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/signup$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalSignupSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sign-up settings contract properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + }, + { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/delegation$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalDelegationSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Delegation settings contract properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/portalsettings" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + }, + "service_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "id": { + "type": "string", + "description": "Private Endpoint Connection Resource Id." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The connection state of the private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/privateEndpointConnections" + }, + "service_products": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Product identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProductContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Product profile." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_products_tags_childResource" + }, + { + "$ref": "#/definitions/service_products_apis_childResource" + }, + { + "$ref": "#/definitions/service_products_groups_childResource" + }, + { + "$ref": "#/definitions/service_products_policies_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/products" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/products" + }, + "service_products_apis": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/products/apis" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/apis" + }, + "service_products_groups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Group identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/products/groups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/groups" + }, + "service_products_policies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/policy$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/products/policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/policies" + }, + "service_products_tags": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/products/tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/tags" + }, + "service_subscriptions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Subscription entity Identifier. The entity represents the association between a user and a product in API Management." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SubscriptionCreateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create subscription operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/subscriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/subscriptions" + }, + "service_tags": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TagContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/tags" + }, + "service_templates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "applicationApprovedNotificationMessage", + "accountClosedDeveloper", + "quotaLimitApproachingDeveloperNotificationMessage", + "newDeveloperNotificationMessage", + "emailChangeIdentityDefault", + "inviteUserNotificationMessage", + "newCommentNotificationMessage", + "confirmSignUpIdentityDefault", + "newIssueNotificationMessage", + "purchaseDeveloperNotificationMessage", + "passwordResetIdentityDefault", + "passwordResetByAdminNotificationMessage", + "rejectDeveloperNotificationMessage", + "requestDeveloperNotificationMessage" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Email Template Name Identifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EmailTemplateUpdateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Email Template Update Contract properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/templates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/templates" + }, + "service_tenant": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "access", + "gitAccess" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identifier of the Access configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AccessInformationCreateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tenant access information update parameters of the API Management service" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/tenant" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/tenant" + }, + "service_users": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "User identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/UserCreateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create User operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/users" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/users" + } + }, + "definitions": { + "AccessInformationCreateParameterProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether direct access is enabled." + }, + "primaryKey": { + "type": "string", + "description": "Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value." + }, + "principalId": { + "type": "string", + "description": "Principal (User) Identifier." + }, + "secondaryKey": { + "type": "string", + "description": "Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value." + } + }, + "description": "Tenant access information update parameters of the API Management service" + }, + "AdditionalLocation": { + "type": "object", + "properties": { + "disableGateway": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property only valid for an Api Management service deployed in multiple locations. This can be used to disable the gateway in this additional location." + }, + "location": { + "type": "string", + "description": "The location name of the additional region among Azure Data center regions." + }, + "publicIpAddressId": { + "type": "string", + "description": "Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed service in the location. Supported only for Premium SKU being deployed in Virtual Network." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ApiManagementServiceSkuProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Management service resource SKU properties." + }, + "virtualNetworkConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration of a virtual network to which API Management service is deployed." + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of availability zones denoting where the resource needs to come from." + } + }, + "required": [ + "location", + "sku" + ], + "description": "Description of an additional API Management resource location." + }, + "ApiContactInformation": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "The email address of the contact person/organization. MUST be in the format of an email address" + }, + "name": { + "type": "string", + "description": "The identifying name of the contact person/organization" + }, + "url": { + "type": "string", + "description": "The URL pointing to the contact information. MUST be in the format of a URL" + } + }, + "description": "API contact information" + }, + "ApiCreateOrUpdateProperties": { + "type": "object", + "properties": { + "apiRevision": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "Describes the revision of the API. If no value is provided, default revision 1 is created" + }, + "apiRevisionDescription": { + "type": "string", + "maxLength": 256, + "description": "Description of the API Revision." + }, + "apiType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "http", + "soap", + "websocket", + "graphql" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of API to create. \n * `http` creates a REST API \n * `soap` creates a SOAP pass-through API \n * `websocket` creates websocket API \n * `graphql` creates GraphQL API." + }, + "apiVersion": { + "type": "string", + "maxLength": 100, + "description": "Indicates the version identifier of the API if the API is versioned" + }, + "apiVersionDescription": { + "type": "string", + "maxLength": 256, + "description": "Description of the API Version." + }, + "apiVersionSet": { + "oneOf": [ + { + "$ref": "#/definitions/ApiVersionSetContractDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An API Version Set contains the common configuration for a set of API Versions relating " + }, + "apiVersionSetId": { + "type": "string", + "description": "A resource identifier for the related ApiVersionSet." + }, + "authenticationSettings": { + "oneOf": [ + { + "$ref": "#/definitions/AuthenticationSettingsContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Authentication Settings." + }, + "contact": { + "oneOf": [ + { + "$ref": "#/definitions/ApiContactInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API contact information" + }, + "description": { + "type": "string", + "description": "Description of the API. May include HTML formatting tags." + }, + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 300, + "description": "API name. Must be 1 to 300 characters long." + }, + "format": { + "oneOf": [ + { + "type": "string", + "enum": [ + "wadl-xml", + "wadl-link-json", + "swagger-json", + "swagger-link-json", + "wsdl", + "wsdl-link", + "openapi", + "openapi+json", + "openapi-link", + "openapi+json-link", + "graphql-link" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Format of the Content in which the API is getting imported." + }, + "isCurrent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if API revision is current api revision." + }, + "license": { + "oneOf": [ + { + "$ref": "#/definitions/ApiLicenseInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API license information" + }, + "path": { + "type": "string", + "minLength": 0, + "maxLength": 400, + "description": "Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API." + }, + "protocols": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "http", + "https", + "ws", + "wss" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes on which protocols the operations in this API can be invoked." + }, + "serviceUrl": { + "type": "string", + "minLength": 0, + "maxLength": 2000, + "description": "Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long." + }, + "sourceApiId": { + "type": "string", + "description": "API identifier of the source API." + }, + "subscriptionKeyParameterNames": { + "oneOf": [ + { + "$ref": "#/definitions/SubscriptionKeyParameterNamesContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Subscription key parameter names details." + }, + "subscriptionRequired": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether an API or Product subscription is required for accessing the API." + }, + "termsOfServiceUrl": { + "type": "string", + "description": " A URL to the Terms of Service for the API. MUST be in the format of a URL." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "http", + "soap", + "websocket", + "graphql" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of API." + }, + "value": { + "type": "string", + "description": "Content value when Importing an API." + }, + "wsdlSelector": { + "oneOf": [ + { + "$ref": "#/definitions/ApiCreateOrUpdatePropertiesWsdlSelector" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Criteria to limit import of WSDL to a subset of the document." + } + }, + "required": [ + "path" + ], + "description": "API Create or Update Properties." + }, + "ApiCreateOrUpdatePropertiesWsdlSelector": { + "type": "object", + "properties": { + "wsdlEndpointName": { + "type": "string", + "description": "Name of endpoint(port) to import from WSDL" + }, + "wsdlServiceName": { + "type": "string", + "description": "Name of service to import from WSDL" + } + }, + "description": "Criteria to limit import of WSDL to a subset of the document." + }, + "ApiLicenseInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The license name used for the API" + }, + "url": { + "type": "string", + "description": "A URL to the license used for the API. MUST be in the format of a URL" + } + }, + "description": "API license information" + }, + "ApiManagementServiceIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "required": [ + "type" + ], + "description": "Identity properties of the Api Management service resource." + }, + "ApiManagementServiceProperties": { + "type": "object", + "properties": { + "additionalLocations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalLocation" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional datacenter locations of the API Management service." + }, + "apiVersionConstraint": { + "oneOf": [ + { + "$ref": "#/definitions/ApiVersionConstraint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Control Plane Apis version constraint for the API Management service." + }, + "certificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/CertificateConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Certificates that need to be installed in the API Management service. Max supported certificates that can be installed is 10." + }, + "customProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom properties of the API Management service.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` can be used to disable just TLS 1.1.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` can be used to disable TLS 1.0 on an API Management service.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` can be used to disable just TLS 1.1 for communications with backends.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` can be used to disable TLS 1.0 for communications with backends.
Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can be used to enable HTTP2 protocol on an API Management service.
Not specifying any of these properties on PATCH operation will reset omitted properties' values to their defaults. For all the settings except Http2 the default value is `True` if the service was created on or before April 1st 2018 and `False` otherwise. Http2 setting's default value is `False`.

You can disable any of next ciphers by using settings `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example, `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`. The default value is `true` for them. Note: next ciphers can't be disabled since they are required by Azure CloudService internal components: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384" + }, + "disableGateway": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property only valid for an Api Management service deployed in multiple locations. This can be used to disable the gateway in master region." + }, + "enableClientCertificate": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property only meant to be used for Consumption SKU Service. This enforces a client certificate to be presented on each request to the gateway. This also enables the ability to authenticate the certificate in the policy on the gateway." + }, + "hostnameConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/HostnameConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom hostname configuration of the API Management service." + }, + "notificationSenderEmail": { + "type": "string", + "maxLength": 100, + "description": "Email address from which the notification will be sent." + }, + "privateEndpointConnections": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionWrapper" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Private Endpoint Connections of this service." + }, + "publicIpAddressId": { + "type": "string", + "description": "Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed service in the region. Supported only for Developer and Premium SKU being deployed in Virtual Network." + }, + "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 API Management service. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'." + }, + "publisherEmail": { + "type": "string", + "maxLength": 100, + "description": "Publisher email." + }, + "publisherName": { + "type": "string", + "maxLength": 100, + "description": "Publisher name." + }, + "restore": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Undelete Api Management Service if it was previously soft-deleted. If this flag is specified and set to True all other properties will be ignored." + }, + "virtualNetworkConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration of a virtual network to which API Management service is deployed." + }, + "virtualNetworkType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "External", + "Internal" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of VPN in which API Management service needs to be configured in. None (Default Value) means the API Management service is not part of any Virtual Network, External means the API Management deployment is set up inside a Virtual Network having an Internet Facing Endpoint, and Internal means that API Management deployment is setup inside a Virtual Network having an Intranet Facing Endpoint only." + } + }, + "required": [ + "publisherEmail", + "publisherName" + ], + "description": "Properties of an API Management service resource description." + }, + "ApiManagementServiceSkuProperties": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Capacity of the SKU (number of deployed units of the SKU). For Consumption SKU capacity must be specified as 0." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Developer", + "Standard", + "Premium", + "Basic", + "Consumption", + "Isolated" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of the Sku." + } + }, + "required": [ + "capacity", + "name" + ], + "description": "API Management service resource SKU properties." + }, + "ApiReleaseContractProperties": { + "type": "object", + "properties": { + "apiId": { + "type": "string", + "description": "Identifier of the API the release belongs to." + }, + "notes": { + "type": "string", + "description": "Release Notes" + } + }, + "description": "API Release details" + }, + "ApiVersionConstraint": { + "type": "object", + "properties": { + "minApiVersion": { + "type": "string", + "description": "Limit control plane API calls to API Management service with version equal to or newer than this value." + } + }, + "description": "Control Plane Apis version constraint for the API Management service." + }, + "ApiVersionSetContractDetails": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of API Version Set." + }, + "id": { + "type": "string", + "description": "Identifier for existing API Version Set. Omit this value to create a new Version Set." + }, + "name": { + "type": "string", + "description": "The display Name of the API Version Set." + }, + "versionHeaderName": { + "type": "string", + "description": "Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`." + }, + "versioningScheme": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Segment", + "Query", + "Header" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An value that determines where the API Version identifier will be located in a HTTP request." + }, + "versionQueryName": { + "type": "string", + "description": "Name of query parameter that indicates the API Version if versioningScheme is set to `query`." + } + }, + "description": "An API Version Set contains the common configuration for a set of API Versions relating " + }, + "ApiVersionSetContractProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of API Version Set." + }, + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "Name of API Version Set" + }, + "versionHeaderName": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`." + }, + "versioningScheme": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Segment", + "Query", + "Header" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An value that determines where the API Version identifier will be located in a HTTP request." + }, + "versionQueryName": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "Name of query parameter that indicates the API Version if versioningScheme is set to `query`." + } + }, + "required": [ + "displayName", + "versioningScheme" + ], + "description": "Properties of an API Version Set." + }, + "ArmIdWrapper": { + "type": "object", + "properties": {}, + "description": "A wrapper for an ARM resource id" + }, + "AssociationContractProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "created" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state." + } + }, + "description": "Association entity contract properties." + }, + "AuthenticationSettingsContract": { + "type": "object", + "properties": { + "oAuth2": { + "oneOf": [ + { + "$ref": "#/definitions/OAuth2AuthenticationSettingsContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API OAuth2 Authentication settings details." + }, + "openid": { + "oneOf": [ + { + "$ref": "#/definitions/OpenIdAuthenticationSettingsContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API OAuth2 Authentication settings details." + } + }, + "description": "API Authentication Settings." + }, + "AuthorizationServerContractProperties": { + "type": "object", + "properties": { + "authorizationEndpoint": { + "type": "string", + "description": "OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2." + }, + "authorizationMethods": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "HEAD", + "OPTIONS", + "TRACE", + "GET", + "POST", + "PUT", + "PATCH", + "DELETE" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional." + }, + "bearerTokenSendingMethods": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "authorizationHeader", + "query" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mechanism by which access token is passed to the API. " + }, + "clientAuthenticationMethod": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Basic", + "Body" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format." + }, + "clientId": { + "type": "string", + "description": "Client or app id registered with this authorization server." + }, + "clientRegistrationEndpoint": { + "type": "string", + "description": "Optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced." + }, + "clientSecret": { + "type": "string", + "description": "Client or app secret registered with this authorization server. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value." + }, + "defaultScope": { + "type": "string", + "description": "Access token scope that is going to be requested by default. Can be overridden at the API level. Should be provided in the form of a string containing space-delimited values." + }, + "description": { + "type": "string", + "description": "Description of the authorization server. Can contain HTML formatting tags." + }, + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "User-friendly authorization server name." + }, + "grantTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "authorizationCode", + "implicit", + "resourceOwnerPassword", + "clientCredentials" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Form of an authorization grant, which the client uses to request the access token." + }, + "resourceOwnerPassword": { + "type": "string", + "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password." + }, + "resourceOwnerUsername": { + "type": "string", + "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username." + }, + "supportState": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security." + }, + "tokenBodyParameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TokenBodyParameterContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional parameters required by the token endpoint of this authorization server represented as an array of JSON objects with name and value string properties, i.e. {\"name\" : \"name value\", \"value\": \"a value\"}." + }, + "tokenEndpoint": { + "type": "string", + "description": "OAuth token endpoint. Contains absolute URI to entity being referenced." + } + }, + "required": [ + "authorizationEndpoint", + "clientId", + "clientRegistrationEndpoint", + "displayName", + "grantTypes" + ], + "description": "External OAuth authorization server settings Properties." + }, + "BackendAuthorizationHeaderCredentials": { + "type": "object", + "properties": { + "parameter": { + "type": "string", + "minLength": 1, + "maxLength": 300, + "description": "Authentication Parameter value." + }, + "scheme": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "Authentication Scheme name." + } + }, + "required": [ + "parameter", + "scheme" + ], + "description": "Authorization header information." + }, + "BackendContractProperties": { + "type": "object", + "properties": { + "credentials": { + "oneOf": [ + { + "$ref": "#/definitions/BackendCredentialsContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details of the Credentials used to connect to Backend." + }, + "description": { + "type": "string", + "minLength": 1, + "maxLength": 2000, + "description": "Backend Description." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackendProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties specific to the Backend Type." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "http", + "soap" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backend communication protocol." + }, + "proxy": { + "oneOf": [ + { + "$ref": "#/definitions/BackendProxyContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details of the Backend WebProxy Server to use in the Request to Backend." + }, + "resourceId": { + "type": "string", + "minLength": 1, + "maxLength": 2000, + "description": "Management Uri of the Resource in External System. This url can be the Arm Resource Id of Logic Apps, Function Apps or API Apps." + }, + "title": { + "type": "string", + "minLength": 1, + "maxLength": 300, + "description": "Backend Title." + }, + "tls": { + "oneOf": [ + { + "$ref": "#/definitions/BackendTlsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties controlling TLS Certificate Validation." + }, + "url": { + "type": "string", + "minLength": 1, + "maxLength": 2000, + "description": "Runtime Url of the Backend." + } + }, + "required": [ + "protocol", + "url" + ], + "description": "Parameters supplied to the Create Backend operation." + }, + "BackendCredentialsContract": { + "type": "object", + "properties": { + "authorization": { + "oneOf": [ + { + "$ref": "#/definitions/BackendAuthorizationHeaderCredentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authorization header information." + }, + "certificate": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Client Certificate Thumbprints. Will be ignored if certificatesIds are provided." + }, + "certificateIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Client Certificate Ids." + }, + "header": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Header Parameter description." + }, + "query": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Query Parameter description." + } + }, + "description": "Details of the Credentials used to connect to Backend." + }, + "BackendProperties": { + "type": "object", + "properties": { + "serviceFabricCluster": { + "oneOf": [ + { + "$ref": "#/definitions/BackendServiceFabricClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Service Fabric Type Backend." + } + }, + "description": "Properties specific to the Backend Type." + }, + "BackendProxyContract": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "Password to connect to the WebProxy Server" + }, + "url": { + "type": "string", + "minLength": 1, + "maxLength": 2000, + "description": "WebProxy Server AbsoluteUri property which includes the entire URI stored in the Uri instance, including all fragments and query strings." + }, + "username": { + "type": "string", + "description": "Username to connect to the WebProxy server" + } + }, + "required": [ + "url" + ], + "description": "Details of the Backend WebProxy Server to use in the Request to Backend." + }, + "BackendServiceFabricClusterProperties": { + "type": "object", + "properties": { + "clientCertificateId": { + "type": "string", + "description": "The client certificate id for the management endpoint." + }, + "clientCertificatethumbprint": { + "type": "string", + "description": "The client certificate thumbprint for the management endpoint. Will be ignored if certificatesIds are provided" + }, + "managementEndpoints": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster management endpoint." + }, + "maxPartitionResolutionRetries": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum number of retries while attempting resolve the partition." + }, + "serverCertificateThumbprints": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Thumbprints of certificates cluster management service uses for tls communication" + }, + "serverX509Names": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/X509CertificateName" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Server X509 Certificate Names Collection" + } + }, + "required": [ + "managementEndpoints" + ], + "description": "Properties of the Service Fabric Type Backend." + }, + "BackendTlsProperties": { + "type": "object", + "properties": { + "validateCertificateChain": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for this backend host." + }, + "validateCertificateName": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for this backend host." + } + }, + "description": "Properties controlling TLS Certificate Validation." + }, + "BodyDiagnosticSettings": { + "type": "object", + "properties": { + "bytes": { + "oneOf": [ + { + "type": "integer", + "maximum": 8192 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of request body bytes to log." + } + }, + "description": "Body logging settings." + }, + "CacheContractProperties": { + "type": "object", + "properties": { + "connectionString": { + "type": "string", + "maxLength": 300, + "description": "Runtime connection string to cache" + }, + "description": { + "type": "string", + "maxLength": 2000, + "description": "Cache description" + }, + "resourceId": { + "type": "string", + "maxLength": 2000, + "description": "Original uri of entity in external system cache points to" + }, + "useFromLocation": { + "type": "string", + "maxLength": 256, + "description": "Location identifier to use cache from (should be either 'default' or valid Azure region identifier)" + } + }, + "required": [ + "connectionString", + "useFromLocation" + ], + "description": "Properties of the Cache contract." + }, + "CertificateConfiguration": { + "type": "object", + "properties": { + "certificate": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSL certificate information." + }, + "certificatePassword": { + "type": "string", + "description": "Certificate Password." + }, + "encodedCertificate": { + "type": "string", + "description": "Base64 Encoded certificate." + }, + "storeName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CertificateAuthority", + "Root" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The System.Security.Cryptography.x509certificates.StoreName certificate store location. Only Root and CertificateAuthority are valid locations." + } + }, + "required": [ + "storeName" + ], + "description": "Certificate configuration which consist of non-trusted intermediates and root certificates." + }, + "CertificateCreateOrUpdateProperties": { + "type": "object", + "properties": { + "data": { + "type": "string", + "description": "Base 64 encoded certificate using the application/x-pkcs12 representation." + }, + "keyVault": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultContractCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create keyVault contract details." + }, + "password": { + "type": "string", + "description": "Password for the Certificate" + } + }, + "description": "Parameters supplied to the CreateOrUpdate certificate operation." + }, + "CertificateInformation": { + "type": "object", + "properties": { + "expiry": { + "type": "string", + "format": "date-time", + "description": "Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard." + }, + "subject": { + "type": "string", + "description": "Subject of the certificate." + }, + "thumbprint": { + "type": "string", + "description": "Thumbprint of the certificate." + } + }, + "required": [ + "expiry", + "subject", + "thumbprint" + ], + "description": "SSL certificate information." + }, + "DataMasking": { + "type": "object", + "properties": { + "headers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataMaskingEntity" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Masking settings for headers" + }, + "queryParams": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataMaskingEntity" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Masking settings for Url query parameters" + } + } + }, + "DataMaskingEntity": { + "type": "object", + "properties": { + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Mask", + "Hide" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data masking mode." + }, + "value": { + "type": "string", + "description": "The name of an entity to mask (e.g. a name of a header or a query parameter)." + } + } + }, + "DiagnosticContractProperties": { + "type": "object", + "properties": { + "alwaysLog": { + "oneOf": [ + { + "type": "string", + "enum": [ + "allErrors" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies for what type of messages sampling settings should not apply." + }, + "backend": { + "oneOf": [ + { + "$ref": "#/definitions/PipelineDiagnosticSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic settings for incoming/outgoing HTTP messages to the Gateway." + }, + "frontend": { + "oneOf": [ + { + "$ref": "#/definitions/PipelineDiagnosticSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic settings for incoming/outgoing HTTP messages to the Gateway." + }, + "httpCorrelationProtocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Legacy", + "W3C" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets correlation protocol to use for Application Insights diagnostics." + }, + "logClientIp": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Log the ClientIP. Default is false." + }, + "loggerId": { + "type": "string", + "description": "Resource Id of a target logger." + }, + "operationNameFormat": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Name", + "Url" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The format of the Operation Name for Application Insights telemetries. Default is Name." + }, + "sampling": { + "oneOf": [ + { + "$ref": "#/definitions/SamplingSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sampling settings for Diagnostic." + }, + "verbosity": { + "oneOf": [ + { + "type": "string", + "enum": [ + "verbose", + "information", + "error" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The verbosity level applied to traces emitted by trace policies." + } + }, + "required": [ + "loggerId" + ], + "description": "Diagnostic Entity Properties" + }, + "EmailTemplateParametersContractProperties": { + "type": "object", + "properties": { + "description": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9-._]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Template parameter description." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9-._]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Template parameter name." + }, + "title": { + "type": "string", + "minLength": 1, + "maxLength": 4096, + "description": "Template parameter title." + } + }, + "description": "Email Template Parameter contract." + }, + "EmailTemplateUpdateParameterProperties": { + "type": "object", + "properties": { + "body": { + "type": "string", + "minLength": 1, + "description": "Email Template Body. This should be a valid XDocument" + }, + "description": { + "type": "string", + "description": "Description of the Email Template." + }, + "parameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/EmailTemplateParametersContractProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Email Template Parameter values." + }, + "subject": { + "type": "string", + "minLength": 1, + "maxLength": 1000, + "description": "Subject of the Template." + }, + "title": { + "type": "string", + "description": "Title of the Template." + } + }, + "description": "Email Template Update Contract properties." + }, + "GatewayCertificateAuthorityContractProperties": { + "type": "object", + "properties": { + "isTrusted": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether certificate authority is trusted." + } + }, + "description": "Gateway certificate authority details." + }, + "GatewayContractProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "maxLength": 1000, + "description": "Gateway description" + }, + "locationData": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceLocationDataContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource location data properties." + } + }, + "description": "Properties of the Gateway contract." + }, + "GatewayHostnameConfigurationContractProperties": { + "type": "object", + "properties": { + "certificateId": { + "type": "string", + "description": "Identifier of Certificate entity that will be used for TLS connection establishment" + }, + "hostname": { + "type": "string", + "description": "Hostname value. Supports valid domain name, partial or full wildcard" + }, + "http2Enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies if HTTP/2.0 is supported" + }, + "negotiateClientCertificate": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether gateway requests client certificate" + }, + "tls10Enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies if TLS 1.0 is supported" + }, + "tls11Enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies if TLS 1.1 is supported" + } + }, + "description": "Gateway hostname configuration details." + }, + "GroupCreateParametersProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Group description." + }, + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 300, + "description": "Group name." + }, + "externalId": { + "type": "string", + "description": "Identifier of the external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory `aad://.onmicrosoft.com/groups/`; otherwise the value is null." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "custom", + "system", + "external" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Group type." + } + }, + "required": [ + "displayName" + ], + "description": "Parameters supplied to the Create Group operation." + }, + "HostnameConfiguration": { + "type": "object", + "properties": { + "certificate": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSL certificate information." + }, + "certificatePassword": { + "type": "string", + "description": "Certificate Password." + }, + "certificateSource": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Managed", + "KeyVault", + "Custom", + "BuiltIn" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Certificate Source." + }, + "certificateStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Completed", + "Failed", + "InProgress" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Certificate Status." + }, + "defaultSslBinding": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify true to setup the certificate associated with this Hostname as the Default SSL Certificate. If a client does not send the SNI header, then this will be the certificate that will be challenged. The property is useful if a service has multiple custom hostname enabled and it needs to decide on the default ssl certificate. The setting only applied to Proxy Hostname Type." + }, + "encodedCertificate": { + "type": "string", + "description": "Base64 Encoded certificate." + }, + "hostName": { + "type": "string", + "description": "Hostname to configure on the Api Management service." + }, + "identityClientId": { + "type": "string", + "description": "System or User Assigned Managed identity clientId as generated by Azure AD, which has GET access to the keyVault containing the SSL certificate." + }, + "keyVaultId": { + "type": "string", + "description": "Url to the KeyVault Secret containing the Ssl Certificate. If absolute Url containing version is provided, auto-update of ssl certificate will not work. This requires Api Management service to be configured with aka.ms/apimmsi. The secret should be of type *application/x-pkcs12*" + }, + "negotiateClientCertificate": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify true to always negotiate client certificate on the hostname. Default Value is false." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Proxy", + "Portal", + "Management", + "Scm", + "DeveloperPortal" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Hostname type." + } + }, + "required": [ + "hostName", + "type" + ], + "description": "Custom hostname configuration." + }, + "HttpMessageDiagnostic": { + "type": "object", + "properties": { + "body": { + "oneOf": [ + { + "$ref": "#/definitions/BodyDiagnosticSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Body logging settings." + }, + "dataMasking": { + "oneOf": [ + { + "$ref": "#/definitions/DataMasking" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "headers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Array of HTTP Headers to log." + } + }, + "description": "Http message diagnostic settings." + }, + "IdentityProviderCreateContractProperties": { + "type": "object", + "properties": { + "allowedTenants": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Allowed Tenants when configuring Azure Active Directory login." + }, + "authority": { + "type": "string", + "description": "OpenID Connect discovery endpoint hostname for AAD or AAD B2C." + }, + "clientId": { + "type": "string", + "minLength": 1, + "description": "Client Id of the Application in the external Identity Provider. It is App ID for Facebook login, Client ID for Google login, App ID for Microsoft." + }, + "clientSecret": { + "type": "string", + "minLength": 1, + "description": "Client secret of the Application in external Identity Provider, used to authenticate login request. For example, it is App Secret for Facebook login, API Key for Google login, Public Key for Microsoft. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value." + }, + "passwordResetPolicyName": { + "type": "string", + "minLength": 1, + "description": "Password Reset Policy Name. Only applies to AAD B2C Identity Provider." + }, + "profileEditingPolicyName": { + "type": "string", + "minLength": 1, + "description": "Profile Editing Policy Name. Only applies to AAD B2C Identity Provider." + }, + "signinPolicyName": { + "type": "string", + "minLength": 1, + "description": "Signin Policy Name. Only applies to AAD B2C Identity Provider." + }, + "signinTenant": { + "type": "string", + "description": "The TenantId to use instead of Common when logging into Active Directory" + }, + "signupPolicyName": { + "type": "string", + "minLength": 1, + "description": "Signup Policy Name. Only applies to AAD B2C Identity Provider." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "facebook", + "google", + "microsoft", + "twitter", + "aad", + "aadB2C" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity Provider Type identifier." + } + }, + "required": [ + "clientId", + "clientSecret" + ], + "description": "The external Identity Providers like Facebook, Google, Microsoft, Twitter or Azure Active Directory which can be used to enable access to the API Management service developer portal for all users." + }, + "IssueAttachmentContractProperties": { + "type": "object", + "properties": { + "content": { + "type": "string", + "description": "An HTTP link or Base64-encoded binary data." + }, + "contentFormat": { + "type": "string", + "description": "Either 'link' if content is provided via an HTTP link or the MIME type of the Base64-encoded binary data provided in the 'content' property." + }, + "title": { + "type": "string", + "description": "Filename by which the binary data will be saved." + } + }, + "required": [ + "content", + "contentFormat", + "title" + ], + "description": "Issue Attachment contract Properties." + }, + "IssueCommentContractProperties": { + "type": "object", + "properties": { + "createdDate": { + "type": "string", + "format": "date-time", + "description": "Date and time when the comment was created." + }, + "text": { + "type": "string", + "description": "Comment text." + }, + "userId": { + "type": "string", + "description": "A resource identifier for the user who left the comment." + } + }, + "required": [ + "text", + "userId" + ], + "description": "Issue Comment contract Properties." + }, + "IssueContractProperties": { + "type": "object", + "properties": { + "apiId": { + "type": "string", + "description": "A resource identifier for the API the issue was created for." + }, + "createdDate": { + "type": "string", + "format": "date-time", + "description": "Date and time when the issue was created." + }, + "description": { + "type": "string", + "description": "Text describing the issue." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "proposed", + "open", + "removed", + "resolved", + "closed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Status of the issue." + }, + "title": { + "type": "string", + "description": "The issue title." + }, + "userId": { + "type": "string", + "description": "A resource identifier for the user created the issue." + } + }, + "required": [ + "description", + "title", + "userId" + ], + "description": "Issue contract Properties." + }, + "KeyVaultContractCreateProperties": { + "type": "object", + "properties": { + "identityClientId": { + "type": "string", + "description": "SystemAssignedIdentity or UserAssignedIdentity Client Id which will be used to access key vault secret." + }, + "secretIdentifier": { + "type": "string", + "description": "Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires API Management service to be configured with aka.ms/apimmsi" + } + }, + "description": "Create keyVault contract details." + }, + "LoggerContractProperties": { + "type": "object", + "properties": { + "credentials": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name and SendRule connection string of the event hub for azureEventHub logger.\nInstrumentation key for applicationInsights logger." + }, + "description": { + "type": "string", + "maxLength": 256, + "description": "Logger description." + }, + "isBuffered": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether records are buffered in the logger before publishing. Default is assumed to be true." + }, + "loggerType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "azureEventHub", + "applicationInsights", + "azureMonitor" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Logger type." + }, + "resourceId": { + "type": "string", + "description": "Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application Insights resource)." + } + }, + "required": [ + "loggerType" + ], + "description": "The Logger entity in API Management represents an event sink that you can use to log API Management events. Currently the Logger entity supports logging API Management events to Azure Event Hubs." + }, + "NamedValueCreateContractProperties": { + "type": "object", + "properties": { + "displayName": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9-._]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters." + }, + "keyVault": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultContractCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create keyVault contract details." + }, + "secret": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether the value is a secret and should be encrypted or not. Default value is false." + }, + "tags": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional tags that when provided can be used to filter the NamedValue list." + }, + "value": { + "type": "string", + "maxLength": 4096, + "description": "Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value." + } + }, + "required": [ + "displayName" + ], + "description": "NamedValue Contract properties." + }, + "OAuth2AuthenticationSettingsContract": { + "type": "object", + "properties": { + "authorizationServerId": { + "type": "string", + "description": "OAuth authorization server identifier." + }, + "scope": { + "type": "string", + "description": "operations scope." + } + }, + "description": "API OAuth2 Authentication settings details." + }, + "OpenIdAuthenticationSettingsContract": { + "type": "object", + "properties": { + "bearerTokenSendingMethods": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "authorizationHeader", + "query" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "How to send token to the server." + }, + "openidProviderId": { + "type": "string", + "description": "OAuth authorization server identifier." + } + }, + "description": "API OAuth2 Authentication settings details." + }, + "OpenidConnectProviderContractProperties": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "Client ID of developer console which is the client application." + }, + "clientSecret": { + "type": "string", + "description": "Client Secret of developer console which is the client application." + }, + "description": { + "type": "string", + "description": "User-friendly description of OpenID Connect Provider." + }, + "displayName": { + "type": "string", + "maxLength": 50, + "description": "User-friendly OpenID Connect Provider name." + }, + "metadataEndpoint": { + "type": "string", + "description": "Metadata endpoint URI." + } + }, + "required": [ + "clientId", + "displayName", + "metadataEndpoint" + ], + "description": "OpenID Connect Providers Contract." + }, + "OperationContractProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "maxLength": 1000, + "description": "Description of the operation. May include HTML formatting tags." + }, + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 300, + "description": "Operation Name." + }, + "method": { + "type": "string", + "description": "A Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them." + }, + "policies": { + "type": "string", + "description": "Operation Policies" + }, + "request": { + "oneOf": [ + { + "$ref": "#/definitions/RequestContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Operation request details." + }, + "responses": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ResponseContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Array of Operation responses." + }, + "templateParameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParameterContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of URL template parameters." + }, + "urlTemplate": { + "type": "string", + "minLength": 1, + "maxLength": 1000, + "description": "Relative URL template identifying the target resource for this operation. May include parameters. Example: /customers/{cid}/orders/{oid}/?date={date}" + } + }, + "required": [ + "displayName", + "method", + "urlTemplate" + ], + "description": "Operation Contract Properties" + }, + "ParameterContract": { + "type": "object", + "properties": { + "defaultValue": { + "type": "string", + "description": "Default parameter value." + }, + "description": { + "type": "string", + "description": "Parameter description." + }, + "examples": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ParameterExampleContract" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameter examples." + }, + "name": { + "type": "string", + "description": "Parameter name." + }, + "required": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether parameter is required or not." + }, + "schemaId": { + "type": "string", + "description": "Schema identifier." + }, + "type": { + "type": "string", + "description": "Parameter type." + }, + "typeName": { + "type": "string", + "description": "Type name defined by the schema." + }, + "values": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameter values." + } + }, + "required": [ + "name", + "type" + ], + "description": "Operation parameters details." + }, + "ParameterExampleContract": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Long description for the example" + }, + "externalValue": { + "type": "string", + "description": "A URL that points to the literal example" + }, + "summary": { + "type": "string", + "description": "Short description for the example" + }, + "value": { + "type": "object", + "properties": {}, + "description": "Example value. May be a primitive value, or an object." + } + }, + "description": "Parameter example." + }, + "PipelineDiagnosticSettings": { + "type": "object", + "properties": { + "request": { + "oneOf": [ + { + "$ref": "#/definitions/HttpMessageDiagnostic" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Http message diagnostic settings." + }, + "response": { + "oneOf": [ + { + "$ref": "#/definitions/HttpMessageDiagnostic" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Http message diagnostic settings." + } + }, + "description": "Diagnostic settings for incoming/outgoing HTTP messages to the Gateway." + }, + "PolicyContractProperties": { + "type": "object", + "properties": { + "format": { + "oneOf": [ + { + "type": "string", + "enum": [ + "xml", + "xml-link", + "rawxml", + "rawxml-link" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Format of the policyContent." + }, + "value": { + "type": "string", + "description": "Contents of the Policy as defined by the format." + } + }, + "required": [ + "value" + ], + "description": "Policy contract Properties." + }, + "PortalDelegationSettingsProperties": { + "type": "object", + "properties": { + "subscriptions": { + "oneOf": [ + { + "$ref": "#/definitions/SubscriptionsDelegationSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Subscriptions delegation settings properties." + }, + "url": { + "type": "string", + "description": "A delegation Url." + }, + "userRegistration": { + "oneOf": [ + { + "$ref": "#/definitions/RegistrationDelegationSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User registration delegation settings properties." + }, + "validationKey": { + "type": "string", + "description": "A base64-encoded validation key to validate, that a request is coming from Azure API Management." + } + }, + "description": "Delegation settings contract properties." + }, + "PortalRevisionContractProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "maxLength": 2000, + "description": "Portal revision description." + }, + "isCurrent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the portal's revision is public." + } + } + }, + "PortalSigninSettingProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Redirect Anonymous users to the Sign-In page." + } + }, + "description": "Sign-in settings contract properties." + }, + "PortalSignupSettingsProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow users to sign up on a developer portal." + }, + "termsOfService": { + "oneOf": [ + { + "$ref": "#/definitions/TermsOfServiceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Terms of service contract properties." + } + }, + "description": "Sign-up settings contract properties." + }, + "PrivateEndpointConnectionRequestProperties": { + "type": "object", + "properties": { + "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." + } + }, + "description": "The connection state of the private endpoint connection." + }, + "PrivateEndpointConnectionWrapperProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/ArmIdWrapper" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A wrapper for an ARM resource id" + }, + "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" + ] + }, + { + "$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." + }, + "ProductContractProperties": { + "type": "object", + "properties": { + "approvalRequired": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of false." + }, + "description": { + "type": "string", + "minLength": 0, + "maxLength": 1000, + "description": "Product description. May include HTML formatting tags." + }, + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 300, + "description": "Product name." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "notPublished", + "published" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished." + }, + "subscriptionRequired": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as \"protected\" and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as \"open\" and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it's value is assumed to be true." + }, + "subscriptionsLimit": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false." + }, + "terms": { + "type": "string", + "description": "Product terms of use. Developers trying to subscribe to the product will be presented and required to accept these terms before they can complete the subscription process." + } + }, + "required": [ + "displayName" + ], + "description": "Product profile." + }, + "RegistrationDelegationSettingsProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable or disable delegation for user registration." + } + }, + "description": "User registration delegation settings properties." + }, + "RemotePrivateEndpointConnectionWrapper": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Private Endpoint connection resource id" + }, + "name": { + "type": "string", + "description": "Private Endpoint Connection Name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionWrapperProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "description": "Private Endpoint Connection Resource Type" + } + }, + "description": "Remote Private Endpoint Connection resource." + }, + "RepresentationContract": { + "type": "object", + "properties": { + "contentType": { + "type": "string", + "description": "Specifies a registered or custom content type for this representation, e.g. application/xml." + }, + "examples": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ParameterExampleContract" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameter examples." + }, + "formParameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParameterContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of form parameters. Required if 'contentType' value is either 'application/x-www-form-urlencoded' or 'multipart/form-data'.." + }, + "schemaId": { + "type": "string", + "description": "Schema identifier. Applicable only if 'contentType' value is neither 'application/x-www-form-urlencoded' nor 'multipart/form-data'." + }, + "typeName": { + "type": "string", + "description": "Type name defined by the schema. Applicable only if 'contentType' value is neither 'application/x-www-form-urlencoded' nor 'multipart/form-data'." + } + }, + "required": [ + "contentType" + ], + "description": "Operation request/response representation details." + }, + "RequestContract": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Operation request description." + }, + "headers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParameterContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of operation request headers." + }, + "queryParameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParameterContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of operation request query parameters." + }, + "representations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RepresentationContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of operation request representations." + } + }, + "description": "Operation request details." + }, + "ResourceLocationDataContract": { + "type": "object", + "properties": { + "city": { + "type": "string", + "maxLength": 256, + "description": "The city or locality where the resource is located." + }, + "countryOrRegion": { + "type": "string", + "maxLength": 256, + "description": "The country or region where the resource is located." + }, + "district": { + "type": "string", + "maxLength": 256, + "description": "The district, state, or province where the resource is located." + }, + "name": { + "type": "string", + "maxLength": 256, + "description": "A canonical name for the geographic or physical location." + } + }, + "required": [ + "name" + ], + "description": "Resource location data properties." + }, + "ResponseContract": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Operation response description." + }, + "headers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParameterContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of operation response headers." + }, + "representations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RepresentationContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of operation response representations." + }, + "statusCode": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Operation response HTTP status code." + } + }, + "required": [ + "statusCode" + ], + "description": "Operation response details." + }, + "SamplingSettings": { + "type": "object", + "properties": { + "percentage": { + "oneOf": [ + { + "type": "number", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Rate of sampling for fixed-rate sampling." + }, + "samplingType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "fixed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sampling type." + } + }, + "description": "Sampling settings for Diagnostic." + }, + "SchemaContractProperties": { + "type": "object", + "properties": { + "contentType": { + "type": "string", + "description": "Must be a valid a media type used in a Content-Type header as defined in the RFC 2616. Media type of the schema document (e.g. application/json, application/xml).
- `Swagger` Schema use `application/vnd.ms-azure-apim.swagger.definitions+json`
- `WSDL` Schema use `application/vnd.ms-azure-apim.xsd+xml`
- `OpenApi` Schema use `application/vnd.oai.openapi.components+json`
- `WADL Schema` use `application/vnd.ms-azure-apim.wadl.grammars+xml`." + }, + "document": { + "oneOf": [ + { + "$ref": "#/definitions/SchemaDocumentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schema Document Properties." + } + }, + "required": [ + "contentType" + ], + "description": "API Schema create or update contract Properties." + }, + "SchemaDocumentProperties": { + "type": "object", + "properties": { + "components": { + "type": "object", + "properties": {}, + "description": "Types definitions. Used for OpenAPI v3 schemas only, null otherwise." + }, + "definitions": { + "type": "object", + "properties": {}, + "description": "Types definitions. Used for OpenAPI v2 (Swagger) schemas only, null otherwise." + }, + "value": { + "type": "string", + "description": "Json escaped string defining the document representing the Schema. Used for schemas other than Swagger/OpenAPI." + } + }, + "description": "Schema Document Properties." + }, + "service_apis_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Create or Update Properties." + }, + "type": { + "type": "string", + "enum": [ + "apis" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis" + }, + "service_apis_diagnostics_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic Entity Properties" + }, + "type": { + "type": "string", + "enum": [ + "diagnostics" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/diagnostics" + }, + "service_apis_issues_attachments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Attachment identifier within an Issue. Must be unique in the current Issue." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IssueAttachmentContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue Attachment contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "attachments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/issues/attachments" + }, + "service_apis_issues_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IssueContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "issues" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/issues" + }, + "service_apis_issues_comments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Comment identifier within an Issue. Must be unique in the current Issue." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IssueCommentContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue Comment contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "comments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/issues/comments" + }, + "service_apis_operations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Operation identifier within an API. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/OperationContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Operation Contract Properties" + }, + "type": { + "type": "string", + "enum": [ + "operations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/operations" + }, + "service_apis_operations_policies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "policy" + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/operations/policies" + }, + "service_apis_operations_tags_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/operations/tags" + }, + "service_apis_policies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "policy" + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/policies" + }, + "service_apis_releases_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Release identifier within an API. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiReleaseContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Release details" + }, + "type": { + "type": "string", + "enum": [ + "releases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/releases" + }, + "service_apis_schemas_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schema identifier within an API. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SchemaContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Schema create or update contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "schemas" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/schemas" + }, + "service_apis_tagDescriptions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag description identifier. Used when creating tagDescription for API/Tag association. Based on API and Tag names." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TagDescriptionBaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create TagDescription operation." + }, + "type": { + "type": "string", + "enum": [ + "tagDescriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/tagDescriptions" + }, + "service_apis_tags_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/tags" + }, + "service_apiVersionSets_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Api Version Set identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiVersionSetContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an API Version Set." + }, + "type": { + "type": "string", + "enum": [ + "apiVersionSets" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apiVersionSets" + }, + "service_authorizationServers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the authorization server." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AuthorizationServerContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "External OAuth authorization server settings Properties." + }, + "type": { + "type": "string", + "enum": [ + "authorizationServers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/authorizationServers" + }, + "service_backends_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Identifier of the Backend entity. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackendContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create Backend operation." + }, + "type": { + "type": "string", + "enum": [ + "backends" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/backends" + }, + "service_caches_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the Cache entity. Cache identifier (should be either 'default' or valid Azure region identifier)." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CacheContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Cache contract." + }, + "type": { + "type": "string", + "enum": [ + "caches" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/caches" + }, + "service_certificates_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the certificate entity. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the CreateOrUpdate certificate operation." + }, + "type": { + "type": "string", + "enum": [ + "certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/certificates" + }, + "service_contentTypes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Content type identifier." + }, + "type": { + "type": "string", + "enum": [ + "contentTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/contentTypes" + }, + "service_contentTypes_contentItems_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Content item identifier." + }, + "type": { + "type": "string", + "enum": [ + "contentItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/contentTypes/contentItems" + }, + "service_diagnostics_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic Entity Properties" + }, + "type": { + "type": "string", + "enum": [ + "diagnostics" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/diagnostics" + }, + "service_gateways_apis_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "API identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AssociationContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Association entity contract properties." + }, + "type": { + "type": "string", + "enum": [ + "apis" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways/apis" + }, + "service_gateways_certificateAuthorities_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the certificate entity. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayCertificateAuthorityContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gateway certificate authority details." + }, + "type": { + "type": "string", + "enum": [ + "certificateAuthorities" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways/certificateAuthorities" + }, + "service_gateways_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Gateway contract." + }, + "type": { + "type": "string", + "enum": [ + "gateways" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways" + }, + "service_gateways_hostnameConfigurations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Gateway hostname configuration identifier. Must be unique in the scope of parent Gateway entity." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayHostnameConfigurationContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gateway hostname configuration details." + }, + "type": { + "type": "string", + "enum": [ + "hostnameConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways/hostnameConfigurations" + }, + "service_groups_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Group identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GroupCreateParametersProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create Group operation." + }, + "type": { + "type": "string", + "enum": [ + "groups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/groups" + }, + "service_groups_users_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "User identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "users" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/groups/users" + }, + "service_identityProviders_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "facebook", + "google", + "microsoft", + "twitter", + "aad", + "aadB2C" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity Provider Type identifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProviderCreateContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The external Identity Providers like Facebook, Google, Microsoft, Twitter or Azure Active Directory which can be used to enable access to the API Management service developer portal for all users." + }, + "type": { + "type": "string", + "enum": [ + "identityProviders" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/identityProviders" + }, + "service_loggers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Logger identifier. Must be unique in the API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LoggerContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Logger entity in API Management represents an event sink that you can use to log API Management events. Currently the Logger entity supports logging API Management events to Azure Event Hubs." + }, + "type": { + "type": "string", + "enum": [ + "loggers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/loggers" + }, + "service_namedValues_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the NamedValue." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NamedValueCreateContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NamedValue Contract properties." + }, + "type": { + "type": "string", + "enum": [ + "namedValues" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/namedValues" + }, + "service_notifications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "RequestPublisherNotificationMessage", + "PurchasePublisherNotificationMessage", + "NewApplicationNotificationMessage", + "BCC", + "NewIssuePublisherNotificationMessage", + "AccountClosedPublisher", + "QuotaLimitApproachingPublisherNotificationMessage" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Notification Name Identifier." + }, + "type": { + "type": "string", + "enum": [ + "notifications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/notifications" + }, + "service_notifications_recipientEmails_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Email identifier." + }, + "type": { + "type": "string", + "enum": [ + "recipientEmails" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/notifications/recipientEmails" + }, + "service_notifications_recipientUsers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "User identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "recipientUsers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/notifications/recipientUsers" + }, + "service_openidConnectProviders_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the OpenID Connect Provider." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/OpenidConnectProviderContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OpenID Connect Providers Contract." + }, + "type": { + "type": "string", + "enum": [ + "openidConnectProviders" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/openidConnectProviders" + }, + "service_policies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "policy" + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/policies" + }, + "service_portalRevisions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Portal revision identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalRevisionContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "portalRevisions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/portalRevisions" + }, + "service_portalsettings_childResource": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "signin" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalSigninSettingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sign-in settings contract properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "signup" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalSignupSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sign-up settings contract properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "delegation" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalDelegationSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Delegation settings contract properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "portalsettings" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + }, + "service_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "id": { + "type": "string", + "description": "Private Endpoint Connection Resource Id." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The connection state of the private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/privateEndpointConnections" + }, + "service_products_apis_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number." + }, + "type": { + "type": "string", + "enum": [ + "apis" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/apis" + }, + "service_products_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Product identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProductContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Product profile." + }, + "type": { + "type": "string", + "enum": [ + "products" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/products" + }, + "service_products_groups_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Group identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "groups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/groups" + }, + "service_products_policies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "policy" + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/policies" + }, + "service_products_tags_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/tags" + }, + "service_subscriptions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Subscription entity Identifier. The entity represents the association between a user and a product in API Management." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SubscriptionCreateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create subscription operation." + }, + "type": { + "type": "string", + "enum": [ + "subscriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/subscriptions" + }, + "service_tags_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TagContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/tags" + }, + "service_templates_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "applicationApprovedNotificationMessage", + "accountClosedDeveloper", + "quotaLimitApproachingDeveloperNotificationMessage", + "newDeveloperNotificationMessage", + "emailChangeIdentityDefault", + "inviteUserNotificationMessage", + "newCommentNotificationMessage", + "confirmSignUpIdentityDefault", + "newIssueNotificationMessage", + "purchaseDeveloperNotificationMessage", + "passwordResetIdentityDefault", + "passwordResetByAdminNotificationMessage", + "rejectDeveloperNotificationMessage", + "requestDeveloperNotificationMessage" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Email Template Name Identifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EmailTemplateUpdateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Email Template Update Contract properties." + }, + "type": { + "type": "string", + "enum": [ + "templates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/templates" + }, + "service_tenant_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "access", + "gitAccess" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identifier of the Access configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AccessInformationCreateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tenant access information update parameters of the API Management service" + }, + "type": { + "type": "string", + "enum": [ + "tenant" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/tenant" + }, + "service_users_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "User identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/UserCreateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create User operation." + }, + "type": { + "type": "string", + "enum": [ + "users" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/users" + }, + "SubscriptionCreateParameterProperties": { + "type": "object", + "properties": { + "allowTracing": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether tracing can be enabled" + }, + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "Subscription name." + }, + "ownerId": { + "type": "string", + "description": "User (user id path) for whom subscription is being created in form /users/{userId}" + }, + "primaryKey": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Primary subscription key. If not specified during request key will be generated automatically." + }, + "scope": { + "type": "string", + "description": "Scope like /products/{productId} or /apis or /apis/{apiId}." + }, + "secondaryKey": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Secondary subscription key. If not specified during request key will be generated automatically." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "suspended", + "active", + "expired", + "submitted", + "rejected", + "cancelled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Initial subscription state. If no value is specified, subscription is created with Submitted state. Possible states are * active – the subscription is active, * suspended – the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted – the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected – the subscription request has been denied by an administrator, * cancelled – the subscription has been cancelled by the developer or administrator, * expired – the subscription reached its expiration date and was deactivated." + } + }, + "required": [ + "displayName", + "scope" + ], + "description": "Parameters supplied to the Create subscription operation." + }, + "SubscriptionKeyParameterNamesContract": { + "type": "object", + "properties": { + "header": { + "type": "string", + "description": "Subscription key header name." + }, + "query": { + "type": "string", + "description": "Subscription key query string parameter name." + } + }, + "description": "Subscription key parameter names details." + }, + "SubscriptionsDelegationSettingsProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable or disable delegation for subscriptions." + } + }, + "description": "Subscriptions delegation settings properties." + }, + "TagContractProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 160, + "description": "Tag name." + } + }, + "required": [ + "displayName" + ], + "description": "Tag contract Properties." + }, + "TagDescriptionBaseProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of the Tag." + }, + "externalDocsDescription": { + "type": "string", + "description": "Description of the external resources describing the tag." + }, + "externalDocsUrl": { + "type": "string", + "maxLength": 2000, + "description": "Absolute URL of external resources describing the tag." + } + }, + "description": "Parameters supplied to the Create TagDescription operation." + }, + "TermsOfServiceProperties": { + "type": "object", + "properties": { + "consentRequired": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Ask user for consent to the terms of service." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Display terms of service during a sign-up process." + }, + "text": { + "type": "string", + "description": "A terms of service text." + } + }, + "description": "Terms of service contract properties." + }, + "TokenBodyParameterContract": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "body parameter name." + }, + "value": { + "type": "string", + "description": "body parameter value." + } + }, + "required": [ + "name", + "value" + ], + "description": "OAuth acquire token request body parameter (www-url-form-encoded)." + }, + "UserCreateParameterProperties": { + "type": "object", + "properties": { + "appType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "portal", + "developerPortal" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines the type of application which send the create user request. Default is legacy portal." + }, + "confirmation": { + "oneOf": [ + { + "type": "string", + "enum": [ + "signup", + "invite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines the type of confirmation e-mail that will be sent to the newly created user." + }, + "email": { + "type": "string", + "minLength": 1, + "maxLength": 254, + "description": "Email address. Must not be empty and must be unique within the service instance." + }, + "firstName": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "First name." + }, + "identities": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/UserIdentityContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of user identities." + }, + "lastName": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "Last name." + }, + "note": { + "type": "string", + "description": "Optional note about a user set by the administrator." + }, + "password": { + "type": "string", + "description": "User Password. If no value is provided, a default password is generated." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "active", + "blocked", + "pending", + "deleted" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active." + } + }, + "required": [ + "email", + "firstName", + "lastName" + ], + "description": "Parameters supplied to the Create User operation." + }, + "UserIdentityContract": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Identifier value within provider." + }, + "provider": { + "type": "string", + "description": "Identity provider name." + } + }, + "description": "User identity details." + }, + "UserIdentityProperties": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The client id of user assigned identity." + }, + "principalId": { + "type": "string", + "description": "The principal id of user assigned identity." + } + } + }, + "VirtualNetworkConfiguration": { + "type": "object", + "properties": { + "subnetResourceId": { + "oneOf": [ + { + "type": "string", + "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The full resource ID of a subnet in a virtual network to deploy the API Management service in." + } + }, + "description": "Configuration of a virtual network to which API Management service is deployed." + }, + "X509CertificateName": { + "type": "object", + "properties": { + "issuerCertificateThumbprint": { + "type": "string", + "description": "Thumbprint for the Issuer of the Certificate." + }, + "name": { + "type": "string", + "description": "Common Name of the Certificate." + } + }, + "description": "Properties of server X509Names." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 163c34ea6e..5a28ff347b 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -1519,6 +1519,153 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_users" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_diagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_issues" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_issues_attachments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_issues_comments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_operations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_operations_policies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_operations_tags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_policies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_releases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_schemas" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_tagDescriptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_tags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_apiVersionSets" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_authorizationServers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_backends" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_caches" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_certificates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_contentTypes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_contentTypes_contentItems" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_diagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_gateways" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_gateways_apis" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_gateways_certificateAuthorities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_gateways_hostnameConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_groups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_groups_users" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_identityProviders" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_loggers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_namedValues" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_notifications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_notifications_recipientEmails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_notifications_recipientUsers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_openidConnectProviders" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_policies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_portalRevisions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_portalsettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_products" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_products_apis" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_products_groups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_products_policies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_products_tags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_subscriptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_tags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_templates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_tenant" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ApiManagement.json#/resourceDefinitions/service_users" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-01-preview/Microsoft.AppConfiguration.json#/resourceDefinitions/configurationStores" }, @@ -3790,6 +3937,36 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_webhooks" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_connectedRegistries" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_exportPipelines" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_importPipelines" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_pipelineRuns" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_replications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_scopeMaps" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_tokens" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_webhooks" + }, { "$ref": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.ContainerService.json#/resourceDefinitions/containerServices" }, From 400516115d539036f199e7f287f4f23db81fc9fd Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 19 Oct 2021 08:54:53 +0000 Subject: [PATCH 02/21] Update resource list --- generator/resources.json | 204 ++++++++++++++++++++++++++------------- 1 file changed, 137 insertions(+), 67 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index faa7bce067..edb116cfe6 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -127,7 +127,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/api-version-sets": [ "2017-03-01", @@ -141,7 +142,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/apis": [ "2016-07-07", @@ -155,7 +157,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/apis/diagnostics": [ "2017-03-01", @@ -167,7 +170,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/apis/diagnostics/loggers": [ "2017-03-01", @@ -183,7 +187,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/apis/issues/attachments": [ "2017-03-01", @@ -195,7 +200,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/apis/issues/comments": [ "2017-03-01", @@ -207,7 +213,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/apis/operations": [ "2016-07-07", @@ -221,7 +228,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/apis/operations/policies": [ "2017-03-01", @@ -233,7 +241,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/apis/operations/policy": [ "2016-10-10" @@ -248,7 +257,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/apis/policies": [ "2017-03-01", @@ -260,7 +270,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/apis/policy": [ "2016-10-10" @@ -275,7 +286,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/apis/schemas": [ "2017-03-01", @@ -287,7 +299,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/apis/tagDescriptions": [ "2017-03-01", @@ -299,7 +312,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/apis/tags": [ "2017-03-01", @@ -311,7 +325,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/authorizationServers": [ "2016-07-07", @@ -325,7 +340,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/backends": [ "2016-07-07", @@ -339,7 +355,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/caches": [ "2018-06-01-preview", @@ -349,7 +366,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/certificates": [ "2016-07-07", @@ -363,21 +381,24 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/contentTypes": [ "2019-12-01", "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/contentTypes/contentItems": [ "2019-12-01", "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/diagnostics": [ "2017-03-01", @@ -389,7 +410,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/diagnostics/loggers": [ "2017-03-01", @@ -401,7 +423,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/gateways/apis": [ "2019-12-01", @@ -409,13 +432,15 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/gateways/certificateAuthorities": [ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/gateways/hostnameConfigurations": [ "2019-12-01", @@ -423,7 +448,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/groups": [ "2016-07-07", @@ -437,7 +463,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/groups/users": [ "2016-07-07", @@ -451,7 +478,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/identityProviders": [ "2016-07-07", @@ -465,7 +493,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/loggers": [ "2016-07-07", @@ -479,7 +508,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/namedValues": [ "2019-12-01", @@ -487,7 +517,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/notifications": [ "2017-03-01", @@ -499,7 +530,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/notifications/recipientEmails": [ "2017-03-01", @@ -511,7 +543,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/notifications/recipientUsers": [ "2017-03-01", @@ -523,7 +556,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/openidConnectProviders": [ "2016-07-07", @@ -537,7 +571,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/policies": [ "2017-03-01", @@ -549,13 +584,15 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/portalRevisions": [ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/portalsettings": [ "2017-03-01", @@ -567,10 +604,12 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/privateEndpointConnections": [ - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/products": [ "2016-07-07", @@ -584,7 +623,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/products/apis": [ "2016-07-07", @@ -598,7 +638,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/products/groups": [ "2016-07-07", @@ -612,7 +653,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/products/policies": [ "2017-03-01", @@ -624,7 +666,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/products/policy": [ "2016-10-10" @@ -639,7 +682,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/properties": [ "2016-07-07", @@ -661,7 +705,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/tags": [ "2017-03-01", @@ -673,7 +718,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/templates": [ "2017-03-01", @@ -685,14 +731,16 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/tenant": [ "2016-10-10", "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.ApiManagement/service/users": [ "2016-07-07", @@ -706,7 +754,8 @@ "2020-06-01-preview", "2020-12-01", "2021-01-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.AppConfiguration/configurationStores": [ "2019-02-01-preview", @@ -730,47 +779,58 @@ "2019-05-01-preview", "2020-07-01", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-09-01-preview" ], "Microsoft.AppPlatform/Spring/apps": [ "2019-05-01-preview", "2020-07-01", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-09-01-preview" ], "Microsoft.AppPlatform/Spring/apps/bindings": [ "2019-05-01-preview", "2020-07-01", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-09-01-preview" ], "Microsoft.AppPlatform/Spring/apps/deployments": [ "2019-05-01-preview", "2020-07-01", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-09-01-preview" ], "Microsoft.AppPlatform/Spring/apps/domains": [ "2019-05-01-preview", "2020-07-01", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-09-01-preview" ], "Microsoft.AppPlatform/Spring/certificates": [ "2019-05-01-preview", "2020-07-01", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-09-01-preview" ], "Microsoft.AppPlatform/Spring/configServers": [ "2020-07-01", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-09-01-preview" ], "Microsoft.AppPlatform/Spring/monitoringSettings": [ "2020-07-01", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-09-01-preview" + ], + "Microsoft.AppPlatform/Spring/storages": [ + "2021-09-01-preview" ], "Microsoft.Attestation/attestationProviders": [ "2018-09-01-preview", @@ -1829,7 +1889,8 @@ "2019-05-01", "2019-12-01-preview", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-08-01-preview" ], "Microsoft.ContainerRegistry/registries/agentPools": [ "2019-06-01-preview" @@ -1842,27 +1903,32 @@ ], "Microsoft.ContainerRegistry/registries/connectedRegistries": [ "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-08-01-preview" ], "Microsoft.ContainerRegistry/registries/exportPipelines": [ "2019-12-01-preview", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-08-01-preview" ], "Microsoft.ContainerRegistry/registries/importPipelines": [ "2019-12-01-preview", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-08-01-preview" ], "Microsoft.ContainerRegistry/registries/pipelineRuns": [ "2019-12-01-preview", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-08-01-preview" ], "Microsoft.ContainerRegistry/registries/privateEndpointConnections": [ "2019-12-01-preview", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-08-01-preview" ], "Microsoft.ContainerRegistry/registries/replications": [ "2017-06-01-preview", @@ -1870,12 +1936,14 @@ "2019-05-01", "2019-12-01-preview", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-08-01-preview" ], "Microsoft.ContainerRegistry/registries/scopeMaps": [ "2019-05-01-preview", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-08-01-preview" ], "Microsoft.ContainerRegistry/registries/taskRuns": [ "2019-06-01-preview" @@ -1888,7 +1956,8 @@ "Microsoft.ContainerRegistry/registries/tokens": [ "2019-05-01-preview", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-08-01-preview" ], "Microsoft.ContainerRegistry/registries/webhooks": [ "2017-06-01-preview", @@ -1896,7 +1965,8 @@ "2019-05-01", "2019-12-01-preview", "2020-11-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-08-01-preview" ], "Microsoft.ContainerService/containerServices": [ "2016-03-30", From e811e8be63d8db7b877b0e1bd2b81d196c6a38fd Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 20 Oct 2021 09:02:14 +0000 Subject: [PATCH 03/21] Update resource list --- generator/resources.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/generator/resources.json b/generator/resources.json index edb116cfe6..bd23844c40 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -1489,6 +1489,9 @@ "Microsoft.ChangeAnalysis/profile": [ "2020-04-01-preview" ], + "Microsoft.Chaos/experiments": [ + "2021-09-15-preview" + ], "Microsoft.CognitiveServices/accounts": [ "2016-02-01-preview", "2017-04-18", @@ -8258,6 +8261,9 @@ "Microsoft.VMwareVirtustream/privateClouds/clusters": [ "2019-08-09-preview" ], + "Microsoft.VideoIndexer/accounts": [ + "2021-10-18-preview" + ], "Microsoft.VirtualMachineImages/imageTemplates": [ "2018-02-01-preview", "2019-02-01-preview", From 4fe6a06c18f57a13b39f30ace51abe211e33c494 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 22 Oct 2021 09:04:38 +0000 Subject: [PATCH 04/21] Autogenerate schemas --- .../Microsoft.DocumentDB.json | 84 +- .../Microsoft.DocumentDB.json | 7012 +++++++++++++++++ schemas/common/autogeneratedResources.json | 96 + 3 files changed, 7128 insertions(+), 64 deletions(-) create mode 100644 schemas/2021-07-01-preview/Microsoft.DocumentDB.json diff --git a/schemas/2021-04-01-preview/Microsoft.DocumentDB.json b/schemas/2021-04-01-preview/Microsoft.DocumentDB.json index a2979ebfe1..eb275791db 100644 --- a/schemas/2021-04-01-preview/Microsoft.DocumentDB.json +++ b/schemas/2021-04-01-preview/Microsoft.DocumentDB.json @@ -1305,13 +1305,13 @@ "properties": { "oneOf": [ { - "$ref": "#/definitions/ServiceResourceProperties" + "$ref": "#/definitions/ServiceResourceCreateUpdateProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Services response resource." + "description": "Properties in ServiceResourceCreateUpdateParameters." }, "type": { "type": "string", @@ -4041,13 +4041,13 @@ "properties": { "oneOf": [ { - "$ref": "#/definitions/ServiceResourceProperties" + "$ref": "#/definitions/ServiceResourceCreateUpdateProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Services response resource." + "description": "Properties in ServiceResourceCreateUpdateParameters." }, "type": { "type": "string", @@ -4840,21 +4840,6 @@ }, "description": "Properties of a managed Cassandra data center." }, - "DataTransferServiceResourceProperties": { - "type": "object", - "properties": { - "serviceType": { - "type": "string", - "enum": [ - "DataTransferServiceResourceProperties" - ] - } - }, - "required": [ - "serviceType" - ], - "description": "Properties for DataTransferServiceResource." - }, "DefaultRequestDatabaseAccountCreateUpdateProperties": { "type": "object", "properties": { @@ -5723,33 +5708,9 @@ } } }, - "ServiceResourceProperties": { + "ServiceResourceCreateUpdateProperties": { "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/DataTransferServiceResourceProperties" - }, - { - "$ref": "#/definitions/SqlDedicatedGatewayServiceResourceProperties" - } - ], "properties": { - "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" - }, "instanceCount": { "oneOf": [ { @@ -5776,9 +5737,23 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ] + }, + "serviceType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SqlDedicatedGateway", + "DataTransfer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] } }, - "description": "Services response resource." + "description": "Properties in ServiceResourceCreateUpdateParameters." }, "SpatialSpec": { "type": "object", @@ -5963,25 +5938,6 @@ ], "description": "Cosmos DB SQL database resource object" }, - "SqlDedicatedGatewayServiceResourceProperties": { - "type": "object", - "properties": { - "serviceType": { - "type": "string", - "enum": [ - "SqlDedicatedGatewayServiceResourceProperties" - ] - }, - "sqlDedicatedGatewayEndpoint": { - "type": "string", - "description": "SqlDedicatedGateway endpoint for the service." - } - }, - "required": [ - "serviceType" - ], - "description": "Properties for SqlDedicatedGatewayServiceResource." - }, "SqlRoleAssignmentResource": { "type": "object", "properties": { diff --git a/schemas/2021-07-01-preview/Microsoft.DocumentDB.json b/schemas/2021-07-01-preview/Microsoft.DocumentDB.json new file mode 100644 index 0000000000..ab4fd14f62 --- /dev/null +++ b/schemas/2021-07-01-preview/Microsoft.DocumentDB.json @@ -0,0 +1,7012 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.DocumentDB", + "description": "Microsoft DocumentDB Resource Types", + "resourceDefinitions": { + "cassandraClusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", + "minLength": 1, + "maxLength": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed Cassandra cluster name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a managed Cassandra cluster." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/cassandraClusters_dataCenters_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/cassandraClusters" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/cassandraClusters" + }, + "cassandraClusters_dataCenters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", + "minLength": 1, + "maxLength": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data center name in a managed Cassandra cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DataCenterResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a managed Cassandra data center." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/cassandraClusters/dataCenters" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/cassandraClusters/dataCenters" + }, + "databaseAccounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "GlobalDocumentDB", + "MongoDB", + "Parse" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the type of database account. This can only be set at database account creation." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", + "minLength": 3, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB database account name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB database accounts." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_graphs_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_sqlRoleDefinitions_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_sqlRoleAssignments_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_tables_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_services_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts" + }, + "databaseAccounts_cassandraKeyspaces": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB keyspace name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_views_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" + }, + "databaseAccounts_cassandraKeyspaces_tables": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB table name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraTableCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra table." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" + }, + "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" + }, + "databaseAccounts_cassandraKeyspaces_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" + }, + "databaseAccounts_cassandraKeyspaces_views": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB view name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraViewCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra view." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_views_throughputSettings_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views" + }, + "databaseAccounts_cassandraKeyspaces_views_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views/throughputSettings" + }, + "databaseAccounts_graphs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB graph resource name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GraphResourceCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Graph resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/graphs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/graphs" + }, + "databaseAccounts_gremlinDatabases": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB database name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Gremlin database." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" + }, + "databaseAccounts_gremlinDatabases_graphs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB graph name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Gremlin graph." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" + }, + "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" + }, + "databaseAccounts_gremlinDatabases_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" + }, + "databaseAccounts_mongodbDatabases": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB database name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB MongoDB database." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" + }, + "databaseAccounts_mongodbDatabases_collections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB collection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB MongoDB collection." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" + }, + "databaseAccounts_mongodbDatabases_collections_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" + }, + "databaseAccounts_mongodbDatabases_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" + }, + "databaseAccounts_notebookWorkspaces": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the notebook workspace resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" + }, + "databaseAccounts_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name 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 a private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" + }, + "databaseAccounts_services": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 50, + "description": "Cosmos DB service name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceResourceCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties in ServiceResourceCreateUpdateParameters." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/services" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/services" + }, + "databaseAccounts_sqlDatabases": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB database name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB SQL database." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" + }, + "databaseAccounts_sqlDatabases_containers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB container name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlContainerCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB container." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" + }, + "databaseAccounts_sqlDatabases_containers_storedProcedures": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB storedProcedure name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB storedProcedure." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" + }, + "databaseAccounts_sqlDatabases_containers_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" + }, + "databaseAccounts_sqlDatabases_containers_triggers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB trigger name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB trigger." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" + }, + "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB userDefinedFunction name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" + }, + "databaseAccounts_sqlDatabases_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" + }, + "databaseAccounts_sqlRoleAssignments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The GUID for the Role Assignment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlRoleAssignmentResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Cosmos DB SQL Role Assignment resource object." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" + }, + "databaseAccounts_sqlRoleDefinitions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The GUID for the Role Definition." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlRoleDefinitionResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Cosmos DB SQL Role Definition resource object." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" + }, + "databaseAccounts_tables": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB table name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TableCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Table." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/tables" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/tables" + }, + "databaseAccounts_tables_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" + } + }, + "definitions": { + "AnalyticalStorageConfiguration": { + "type": "object", + "properties": { + "schemaType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "WellDefined", + "FullFidelity" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Analytical storage specific properties." + }, + "ApiProperties": { + "type": "object", + "properties": { + "serverVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "3.2", + "3.6", + "4.0" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the ServerVersion of an a MongoDB account." + } + } + }, + "AutoscaleSettings": { + "type": "object", + "properties": { + "maxThroughput": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents maximum throughput, the resource can scale up to." + } + } + }, + "AutoscaleSettingsResource": { + "type": "object", + "properties": { + "autoUpgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/AutoUpgradePolicyResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB resource auto-upgrade policy" + }, + "maxThroughput": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents maximum throughput container can scale up to." + } + }, + "required": [ + "maxThroughput" + ], + "description": "Cosmos DB provisioned throughput settings object" + }, + "AutoUpgradePolicyResource": { + "type": "object", + "properties": { + "throughputPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputPolicyResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB resource throughput policy" + } + }, + "description": "Cosmos DB resource auto-upgrade policy" + }, + "BackupPolicy": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/PeriodicModeBackupPolicy" + }, + { + "$ref": "#/definitions/ContinuousModeBackupPolicy" + } + ], + "properties": { + "migrationState": { + "oneOf": [ + { + "$ref": "#/definitions/BackupPolicyMigrationState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The object representing the state of the migration between the backup policies." + } + }, + "description": "The object representing the policy for taking backups on an account." + }, + "BackupPolicyMigrationState": { + "type": "object", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Time at which the backup policy migration started (ISO-8601 format)." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "InProgress", + "Completed", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the status of migration between backup policy types." + }, + "targetType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Periodic", + "Continuous" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the target backup policy type of the backup policy migration." + } + }, + "description": "The object representing the state of the migration between the backup policies." + }, + "Capability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." + } + }, + "description": "Cosmos DB capability object" + }, + "cassandraClusters_dataCenters_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", + "minLength": 1, + "maxLength": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data center name in a managed Cassandra cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DataCenterResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a managed Cassandra data center." + }, + "type": { + "type": "string", + "enum": [ + "dataCenters" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/cassandraClusters/dataCenters" + }, + "CassandraKeyspaceCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraKeyspaceResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB Cassandra keyspace resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." + }, + "CassandraKeyspaceResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Name of the Cosmos DB Cassandra keyspace" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB Cassandra keyspace resource object" + }, + "CassandraPartitionKey": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the Cosmos DB Cassandra table partition key" + } + }, + "description": "Cosmos DB Cassandra table partition key" + }, + "CassandraSchema": { + "type": "object", + "properties": { + "clusterKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ClusterKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of cluster key." + }, + "columns": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Column" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Cassandra table columns." + }, + "partitionKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/CassandraPartitionKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of partition key." + } + }, + "description": "Cosmos DB Cassandra table schema" + }, + "CassandraTableCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraTableResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB Cassandra table resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra table." + }, + "CassandraTableResource": { + "type": "object", + "properties": { + "analyticalStorageTtl": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Analytical TTL." + }, + "defaultTtl": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Time to live of the Cosmos DB Cassandra table" + }, + "id": { + "type": "string", + "description": "Name of the Cosmos DB Cassandra table" + }, + "schema": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraSchema" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB Cassandra table schema" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB Cassandra table resource object" + }, + "CassandraViewCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraViewResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB Cassandra view resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra view." + }, + "CassandraViewResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Name of the Cosmos DB Cassandra view" + }, + "viewDefinition": { + "type": "string", + "description": "View Definition of the Cosmos DB Cassandra view" + } + }, + "required": [ + "id", + "viewDefinition" + ], + "description": "Cosmos DB Cassandra view resource object" + }, + "Certificate": { + "type": "object", + "properties": { + "pem": { + "type": "string", + "description": "PEM formatted public key." + } + } + }, + "ClusterKey": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the Cosmos DB Cassandra table cluster key" + }, + "orderBy": { + "type": "string", + "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" + } + }, + "description": "Cosmos DB Cassandra table cluster key" + }, + "ClusterResourceProperties": { + "type": "object", + "properties": { + "authenticationMethod": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Cassandra" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'." + }, + "cassandraVersion": { + "type": "string", + "description": "Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version." + }, + "clientCertificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Certificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property." + }, + "clusterNameOverride": { + "type": "string", + "description": "If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property." + }, + "delegatedManagementSubnetId": { + "type": "string", + "description": "Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'" + }, + "externalGossipCertificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Certificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property." + }, + "externalSeedNodes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SeedNode" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes." + }, + "hoursBetweenBackups": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of hours to wait between taking a backup of the cluster. To disable backups, set this property to 0." + }, + "initialCassandraAdminPassword": { + "type": "string", + "description": "Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'." + }, + "prometheusEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/SeedNode" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "repairEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs." + }, + "restoreFromBackupId": { + "type": "string", + "description": "To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup." + } + }, + "description": "Properties of a managed Cassandra cluster." + }, + "Column": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the Cosmos DB Cassandra table column" + }, + "type": { + "type": "string", + "description": "Type of the Cosmos DB Cassandra table column" + } + }, + "description": "Cosmos DB Cassandra table column" + }, + "Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties": { + "type": "object", + "properties": {} + }, + "CompositePath": { + "type": "object", + "properties": { + "order": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ascending", + "descending" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sort order for composite paths." + }, + "path": { + "type": "string", + "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" + } + } + }, + "ConflictResolutionPolicy": { + "type": "object", + "properties": { + "conflictResolutionPath": { + "type": "string", + "description": "The conflict resolution path in the case of LastWriterWins mode." + }, + "conflictResolutionProcedure": { + "type": "string", + "description": "The procedure to resolve conflicts in the case of custom mode." + }, + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "LastWriterWins", + "Custom" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the conflict resolution mode." + } + }, + "description": "The conflict resolution policy for the container." + }, + "ConsistencyPolicy": { + "type": "object", + "properties": { + "defaultConsistencyLevel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Eventual", + "Session", + "BoundedStaleness", + "Strong", + "ConsistentPrefix" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The default consistency level and configuration settings of the Cosmos DB account." + }, + "maxIntervalInSeconds": { + "oneOf": [ + { + "type": "integer", + "minimum": 5, + "maximum": 86400 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." + }, + "maxStalenessPrefix": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 2147483647 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." + } + }, + "required": [ + "defaultConsistencyLevel" + ], + "description": "The consistency policy for the Cosmos DB database account." + }, + "ContainerPartitionKey": { + "type": "object", + "properties": { + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Hash", + "Range", + "MultiHash" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create." + }, + "paths": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of paths using which data within the container can be partitioned" + }, + "version": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 2 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the version of the partition key definition" + } + }, + "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" + }, + "ContinuousModeBackupPolicy": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Continuous" + ] + } + }, + "required": [ + "type" + ], + "description": "The object representing continuous mode backup policy." + }, + "CorsPolicy": { + "type": "object", + "properties": { + "allowedHeaders": { + "type": "string", + "description": "The request headers that the origin domain may specify on the CORS request." + }, + "allowedMethods": { + "type": "string", + "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request." + }, + "allowedOrigins": { + "type": "string", + "description": "The origin domains that are permitted to make a request against the service via CORS." + }, + "exposedHeaders": { + "type": "string", + "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer." + }, + "maxAgeInSeconds": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 2147483647 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum amount time that a browser should cache the preflight OPTIONS request." + } + }, + "required": [ + "allowedOrigins" + ], + "description": "The CORS policy for the Cosmos DB database account." + }, + "CreateUpdateOptions": { + "type": "object", + "properties": { + "autoscaleSettings": { + "oneOf": [ + { + "$ref": "#/definitions/AutoscaleSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "throughput": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Request Units per second. For example, \"throughput\": 10000." + } + }, + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "DatabaseAccountCreateUpdateProperties": { + "type": "object", + "properties": { + "analyticalStorageConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/AnalyticalStorageConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Analytical storage specific properties." + }, + "apiProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "backupPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/BackupPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The object representing the policy for taking backups on an account." + }, + "capabilities": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Capability" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Cosmos DB capabilities for the account" + }, + "connectorOffer": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Small" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cassandra connector offer type for the Cosmos DB database C* account." + }, + "consistencyPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ConsistencyPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The consistency policy for the Cosmos DB database account." + }, + "cors": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/CorsPolicy" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The CORS policy for the Cosmos DB database account." + }, + "createMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "Restore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enum to indicate the mode of account creation." + }, + "databaseAccountOfferType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The offer type for the database" + }, + "defaultIdentity": { + "type": "string", + "description": "The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be \"FirstPartyIdentity\", \"SystemAssignedIdentity\" and more." + }, + "diagnosticLogSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticLogSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates what diagnostic log settings are to be enabled." + }, + "disableKeyBasedMetadataWriteAccess": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" + }, + "disableLocalAuth": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication." + }, + "enableAnalyticalStorage": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether to enable storage analytics." + }, + "enableAutomaticFailover": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." + }, + "enableCassandraConnector": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables the cassandra connector on the Cosmos DB C* account" + }, + "enableFreeTier": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether Free Tier is enabled." + }, + "enableMultipleWriteLocations": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables the account to write in multiple locations" + }, + "ipRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IpAddressOrRange" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Array of IpAddressOrRange objects." + }, + "isVirtualNetworkFilterEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." + }, + "keyVaultKeyUri": { + "type": "string", + "description": "The URI of the key vault" + }, + "locations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Location" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." + }, + "networkAclBypass": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "AzureServices" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates what services are allowed to bypass firewall checks." + }, + "networkAclBypassResourceIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether requests from Public Network are allowed." + }, + "restoreParameters": { + "oneOf": [ + { + "$ref": "#/definitions/RestoreParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters to indicate the information about the restore." + }, + "virtualNetworkRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." + } + }, + "required": [ + "createMode", + "databaseAccountOfferType", + "locations" + ], + "description": "Properties to create and update Azure Cosmos DB database accounts." + }, + "databaseAccounts_cassandraKeyspaces_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB keyspace name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "cassandraKeyspaces" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" + }, + "databaseAccounts_cassandraKeyspaces_tables_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB table name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraTableCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra table." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "tables" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" + }, + "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" + }, + "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" + }, + "databaseAccounts_cassandraKeyspaces_views_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB view name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraViewCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra view." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "views" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views" + }, + "databaseAccounts_cassandraKeyspaces_views_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views/throughputSettings" + }, + "databaseAccounts_graphs_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB graph resource name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GraphResourceCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Graph resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "graphs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/graphs" + }, + "databaseAccounts_gremlinDatabases_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB database name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Gremlin database." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "gremlinDatabases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" + }, + "databaseAccounts_gremlinDatabases_graphs_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB graph name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Gremlin graph." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "graphs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" + }, + "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" + }, + "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" + }, + "databaseAccounts_mongodbDatabases_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB database name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB MongoDB database." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "mongodbDatabases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" + }, + "databaseAccounts_mongodbDatabases_collections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB collection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB MongoDB collection." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "collections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" + }, + "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" + }, + "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" + }, + "databaseAccounts_notebookWorkspaces_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the notebook workspace resource." + }, + "type": { + "type": "string", + "enum": [ + "notebookWorkspaces" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" + }, + "databaseAccounts_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name 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 a private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" + }, + "databaseAccounts_services_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 50, + "description": "Cosmos DB service name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceResourceCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties in ServiceResourceCreateUpdateParameters." + }, + "type": { + "type": "string", + "enum": [ + "services" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/services" + }, + "databaseAccounts_sqlDatabases_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB database name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB SQL database." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "sqlDatabases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" + }, + "databaseAccounts_sqlDatabases_containers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB container name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlContainerCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB container." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "containers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" + }, + "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB storedProcedure name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB storedProcedure." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "storedProcedures" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" + }, + "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" + }, + "databaseAccounts_sqlDatabases_containers_triggers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB trigger name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB trigger." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "triggers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" + }, + "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB userDefinedFunction name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "userDefinedFunctions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" + }, + "databaseAccounts_sqlDatabases_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" + }, + "databaseAccounts_sqlRoleAssignments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The GUID for the Role Assignment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlRoleAssignmentResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Cosmos DB SQL Role Assignment resource object." + }, + "type": { + "type": "string", + "enum": [ + "sqlRoleAssignments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" + }, + "databaseAccounts_sqlRoleDefinitions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The GUID for the Role Definition." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlRoleDefinitionResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Cosmos DB SQL Role Definition resource object." + }, + "type": { + "type": "string", + "enum": [ + "sqlRoleDefinitions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" + }, + "databaseAccounts_tables_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB table name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TableCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Table." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "tables" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/tables" + }, + "databaseAccounts_tables_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags are 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. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" + }, + "DatabaseRestoreResource": { + "type": "object", + "properties": { + "collectionNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The names of the collections available for restore." + }, + "databaseName": { + "type": "string", + "description": "The name of the database available for restore." + } + }, + "description": "Specific Databases to restore." + }, + "DataCenterResourceProperties": { + "type": "object", + "properties": { + "base64EncodedCassandraYamlFragment": { + "type": "string", + "description": "A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed." + }, + "dataCenterLocation": { + "type": "string", + "description": "The region this data center should be created in." + }, + "delegatedSubnetId": { + "type": "string", + "description": "Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'." + }, + "nodeCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Properties of a managed Cassandra data center." + }, + "DiagnosticLogSettings": { + "type": "object", + "properties": { + "enableFullTextQuery": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "True", + "False" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describe the level of detail with which queries are to be logged." + } + }, + "description": "Indicates what diagnostic log settings are to be enabled." + }, + "ExcludedPath": { + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" + } + } + }, + "GraphResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Name of the Cosmos DB Graph" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB Graph resource object" + }, + "GraphResourceCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/GraphResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB Graph resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB Graph resource." + }, + "GremlinDatabaseCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/GremlinDatabaseResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB Gremlin database resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB Gremlin database." + }, + "GremlinDatabaseResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Name of the Cosmos DB Gremlin database" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB Gremlin database resource object" + }, + "GremlinGraphCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/GremlinGraphResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB Gremlin graph resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB Gremlin graph." + }, + "GremlinGraphResource": { + "type": "object", + "properties": { + "conflictResolutionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ConflictResolutionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The conflict resolution policy for the container." + }, + "defaultTtl": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default time to live" + }, + "id": { + "type": "string", + "description": "Name of the Cosmos DB Gremlin graph" + }, + "indexingPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/IndexingPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB indexing policy" + }, + "partitionKey": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerPartitionKey" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" + }, + "uniqueKeyPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/UniqueKeyPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB Gremlin graph resource object" + }, + "IncludedPath": { + "type": "object", + "properties": { + "indexes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Indexes" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of indexes for this path" + }, + "path": { + "type": "string", + "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" + } + }, + "description": "The paths that are included in indexing" + }, + "Indexes": { + "type": "object", + "properties": { + "dataType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "String", + "Number", + "Point", + "Polygon", + "LineString", + "MultiPolygon" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The datatype for which the indexing behavior is applied to." + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Hash", + "Range", + "Spatial" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the type of index." + }, + "precision": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The precision of the index. -1 is maximum precision." + } + }, + "description": "The indexes for the path." + }, + "IndexingPolicy": { + "type": "object", + "properties": { + "automatic": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the indexing policy is automatic" + }, + "compositeIndexes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/CompositePath" + } + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of composite path list" + }, + "excludedPaths": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ExcludedPath" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of paths to exclude from indexing" + }, + "includedPaths": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IncludedPath" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of paths to include in the indexing" + }, + "indexingMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "consistent", + "lazy", + "none" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the indexing mode." + }, + "spatialIndexes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SpatialSpec" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of spatial specifics" + } + }, + "description": "Cosmos DB indexing policy" + }, + "IpAddressOrRange": { + "type": "object", + "properties": { + "ipAddressOrRange": { + "type": "string", + "description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”." + } + }, + "description": "IpAddressOrRange object" + }, + "Location": { + "type": "object", + "properties": { + "failoverPriority": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." + }, + "isZoneRedundant": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether or not this region is an AvailabilityZone region" + }, + "locationName": { + "type": "string", + "description": "The name of the region." + }, + "provisioningState": { + "type": "string", + "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." + } + }, + "description": "A region in which the Azure Cosmos DB database account is deployed." + }, + "ManagedServiceIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned,UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with 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." + }, + "MongoDBCollectionCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDBCollectionResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB MongoDB collection resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB MongoDB collection." + }, + "MongoDBCollectionResource": { + "type": "object", + "properties": { + "analyticalStorageTtl": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Analytical TTL." + }, + "id": { + "type": "string", + "description": "Name of the Cosmos DB MongoDB collection" + }, + "indexes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MongoIndex" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of index keys" + }, + "shardKey": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB MongoDB collection resource object" + }, + "MongoDBDatabaseCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDBDatabaseResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB MongoDB database resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB MongoDB database." + }, + "MongoDBDatabaseResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Name of the Cosmos DB MongoDB database" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB MongoDB database resource object" + }, + "MongoIndex": { + "type": "object", + "properties": { + "key": { + "oneOf": [ + { + "$ref": "#/definitions/MongoIndexKeys" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB MongoDB collection resource object" + }, + "options": { + "oneOf": [ + { + "$ref": "#/definitions/MongoIndexOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB MongoDB collection index options" + } + }, + "description": "Cosmos DB MongoDB collection index key" + }, + "MongoIndexKeys": { + "type": "object", + "properties": { + "keys": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" + } + }, + "description": "Cosmos DB MongoDB collection resource object" + }, + "MongoIndexOptions": { + "type": "object", + "properties": { + "expireAfterSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Expire after seconds" + }, + "unique": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Is unique or not" + } + }, + "description": "Cosmos DB MongoDB collection index options" + }, + "PeriodicModeBackupPolicy": { + "type": "object", + "properties": { + "periodicModeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/PeriodicModeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration values for periodic mode backup" + }, + "type": { + "type": "string", + "enum": [ + "Periodic" + ] + } + }, + "required": [ + "type" + ], + "description": "The object representing periodic mode backup policy." + }, + "PeriodicModeProperties": { + "type": "object", + "properties": { + "backupIntervalInMinutes": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An integer representing the interval in minutes between two backups" + }, + "backupRetentionIntervalInHours": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An integer representing the time (in hours) that each backup is retained" + }, + "backupStorageRedundancy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Geo", + "Local", + "Zone" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enum to indicate type of backup residency." + } + }, + "description": "Configuration values for periodic mode backup" + }, + "Permission": { + "type": "object", + "properties": { + "dataActions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array of data actions that are allowed." + }, + "notDataActions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array of data actions that are denied." + } + }, + "description": "The set of data plane operations permitted through this Role Definition." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "description": "Group id of the private endpoint." + }, + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint which the connection belongs to." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connection State of the Private Endpoint Connection." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the private endpoint." + } + }, + "description": "Properties of a private endpoint connection." + }, + "PrivateEndpointProperty": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource id of the private endpoint." + } + }, + "description": "Private endpoint which the connection belongs to." + }, + "PrivateLinkServiceConnectionStateProperty": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The private link service connection description." + }, + "status": { + "type": "string", + "description": "The private link service connection status." + } + }, + "description": "Connection State of the Private Endpoint Connection." + }, + "RestoreParameters": { + "type": "object", + "properties": { + "databasesToRestore": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DatabaseRestoreResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of specific databases available for restore." + }, + "restoreMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "PointInTime" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the mode of the restore." + }, + "restoreSource": { + "type": "string", + "description": "The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}" + }, + "restoreTimestampInUtc": { + "type": "string", + "format": "date-time", + "description": "Time to which the account has to be restored (ISO-8601 format)." + } + }, + "description": "Parameters to indicate the information about the restore." + }, + "SeedNode": { + "type": "object", + "properties": { + "ipAddress": { + "type": "string", + "description": "IP address of this seed node." + } + } + }, + "ServiceResourceCreateUpdateProperties": { + "type": "object", + "properties": { + "instanceCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Instance count for the service." + }, + "instanceSize": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Cosmos.D4s", + "Cosmos.D8s", + "Cosmos.D16s" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "serviceType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SqlDedicatedGateway", + "DataTransfer", + "GraphAPICompute" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Properties in ServiceResourceCreateUpdateParameters." + }, + "SpatialSpec": { + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" + }, + "types": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Point", + "LineString", + "Polygon", + "MultiPolygon" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of path's spatial type" + } + } + }, + "SqlContainerCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/SqlContainerResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB SQL container resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB container." + }, + "SqlContainerResource": { + "type": "object", + "properties": { + "analyticalStorageTtl": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Analytical TTL." + }, + "conflictResolutionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ConflictResolutionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The conflict resolution policy for the container." + }, + "defaultTtl": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default time to live" + }, + "id": { + "type": "string", + "description": "Name of the Cosmos DB SQL container" + }, + "indexingPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/IndexingPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB indexing policy" + }, + "partitionKey": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerPartitionKey" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" + }, + "uniqueKeyPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/UniqueKeyPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB SQL container resource object" + }, + "SqlDatabaseCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/SqlDatabaseResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB SQL database resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB SQL database." + }, + "SqlDatabaseResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Name of the Cosmos DB SQL database" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB SQL database resource object" + }, + "SqlRoleAssignmentResource": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription." + }, + "roleDefinitionId": { + "type": "string", + "description": "The unique identifier for the associated Role Definition." + }, + "scope": { + "type": "string", + "description": "The data plane resource path for which access is being granted through this Role Assignment." + } + }, + "description": "Azure Cosmos DB SQL Role Assignment resource object." + }, + "SqlRoleDefinitionResource": { + "type": "object", + "properties": { + "assignableScopes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist." + }, + "permissions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Permission" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The set of operations allowed through this Role Definition." + }, + "roleName": { + "type": "string", + "description": "A user-friendly name for the Role Definition. Must be unique for the database account." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "BuiltInRole", + "CustomRole" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the Role Definition was built-in or user created." + } + }, + "description": "Azure Cosmos DB SQL Role Definition resource object." + }, + "SqlStoredProcedureCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/SqlStoredProcedureResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB SQL storedProcedure resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB storedProcedure." + }, + "SqlStoredProcedureResource": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "Body of the Stored Procedure" + }, + "id": { + "type": "string", + "description": "Name of the Cosmos DB SQL storedProcedure" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB SQL storedProcedure resource object" + }, + "SqlTriggerCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/SqlTriggerResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB SQL trigger resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB trigger." + }, + "SqlTriggerResource": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "Body of the Trigger" + }, + "id": { + "type": "string", + "description": "Name of the Cosmos DB SQL trigger" + }, + "triggerOperation": { + "oneOf": [ + { + "type": "string", + "enum": [ + "All", + "Create", + "Update", + "Delete", + "Replace" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The operation the trigger is associated with." + }, + "triggerType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pre", + "Post" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of the Trigger." + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB SQL trigger resource object" + }, + "SqlUserDefinedFunctionCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/SqlUserDefinedFunctionResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB SQL userDefinedFunction resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." + }, + "SqlUserDefinedFunctionResource": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "Body of the User Defined Function" + }, + "id": { + "type": "string", + "description": "Name of the Cosmos DB SQL userDefinedFunction" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB SQL userDefinedFunction resource object" + }, + "TableCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/TableResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB table resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB Table." + }, + "TableResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Name of the Cosmos DB table" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB table resource object" + }, + "ThroughputPolicyResource": { + "type": "object", + "properties": { + "incrementPercent": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether the ThroughputPolicy is active or not" + } + }, + "description": "Cosmos DB resource throughput policy" + }, + "ThroughputSettingsResource": { + "type": "object", + "properties": { + "autoscaleSettings": { + "oneOf": [ + { + "$ref": "#/definitions/AutoscaleSettingsResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB provisioned throughput settings object" + }, + "throughput": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both." + } + }, + "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." + }, + "ThroughputSettingsUpdateProperties": { + "type": "object", + "properties": { + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." + } + }, + "required": [ + "resource" + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "UniqueKey": { + "type": "object", + "properties": { + "paths": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of paths must be unique for each document in the Azure Cosmos DB service" + } + }, + "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." + }, + "UniqueKeyPolicy": { + "type": "object", + "properties": { + "uniqueKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/UniqueKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." + } + }, + "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." + }, + "VirtualNetworkRule": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." + }, + "ignoreMissingVNetServiceEndpoint": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." + } + }, + "description": "Virtual Network ACL Rule object" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index bf772d20af..93fafaeac0 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7063,6 +7063,102 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/cassandraClusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/cassandraClusters_dataCenters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_views" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_views_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_graphs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_services" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleAssignments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleDefinitions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" + }, { "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DomainRegistration.json#/resourceDefinitions/domains" }, From 38a99b1c74a7fd007e4412819c45a8d9fb6d5d99 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 22 Oct 2021 09:04:55 +0000 Subject: [PATCH 05/21] Update resource list --- generator/resources.json | 51 +++++++++++++++++++++++++++------------- 1 file changed, 35 insertions(+), 16 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index bd23844c40..a99ec7d7be 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -9,78 +9,97 @@ "2020-03-20", "2020-07-17-preview", "2021-01-01-preview", - "2021-06-01" + "2021-06-01", + "2021-12-01" ], "Microsoft.AVS/privateClouds/addons": [ "2020-07-17-preview", "2021-01-01-preview", - "2021-06-01" + "2021-06-01", + "2021-12-01" ], "Microsoft.AVS/privateClouds/authorizations": [ "2020-03-20", "2020-07-17-preview", "2021-01-01-preview", - "2021-06-01" + "2021-06-01", + "2021-12-01" ], "Microsoft.AVS/privateClouds/cloudLinks": [ - "2021-06-01" + "2021-06-01", + "2021-12-01" ], "Microsoft.AVS/privateClouds/clusters": [ "2020-03-20", "2020-07-17-preview", "2021-01-01-preview", - "2021-06-01" + "2021-06-01", + "2021-12-01" ], "Microsoft.AVS/privateClouds/clusters/datastores": [ "2021-01-01-preview", - "2021-06-01" + "2021-06-01", + "2021-12-01" + ], + "Microsoft.AVS/privateClouds/clusters/placementPolicies": [ + "2021-12-01" ], "Microsoft.AVS/privateClouds/globalReachConnections": [ "2020-07-17-preview", "2021-01-01-preview", - "2021-06-01" + "2021-06-01", + "2021-12-01" ], "Microsoft.AVS/privateClouds/hcxEnterpriseSites": [ "2020-03-20", "2020-07-17-preview", "2021-01-01-preview", - "2021-06-01" + "2021-06-01", + "2021-12-01" ], "Microsoft.AVS/privateClouds/scriptExecutions": [ - "2021-06-01" + "2021-06-01", + "2021-12-01" ], "Microsoft.AVS/privateClouds/workloadNetworks/dhcpConfigurations": [ "2020-07-17-preview", "2021-01-01-preview", - "2021-06-01" + "2021-06-01", + "2021-12-01" ], "Microsoft.AVS/privateClouds/workloadNetworks/dnsServices": [ "2020-07-17-preview", "2021-01-01-preview", - "2021-06-01" + "2021-06-01", + "2021-12-01" ], "Microsoft.AVS/privateClouds/workloadNetworks/dnsZones": [ "2020-07-17-preview", "2021-01-01-preview", - "2021-06-01" + "2021-06-01", + "2021-12-01" ], "Microsoft.AVS/privateClouds/workloadNetworks/portMirroringProfiles": [ "2020-07-17-preview", "2021-01-01-preview", - "2021-06-01" + "2021-06-01", + "2021-12-01" ], "Microsoft.AVS/privateClouds/workloadNetworks/publicIPs": [ - "2021-06-01" + "2021-06-01", + "2021-12-01" ], "Microsoft.AVS/privateClouds/workloadNetworks/segments": [ "2020-07-17-preview", "2021-01-01-preview", - "2021-06-01" + "2021-06-01", + "2021-12-01" ], "Microsoft.AVS/privateClouds/workloadNetworks/vmGroups": [ "2020-07-17-preview", "2021-01-01-preview", - "2021-06-01" + "2021-06-01", + "2021-12-01" ], "Microsoft.Aad/domainServices/ouContainer": [ "2017-06-01", From 14716f2e529ff498268e2a8ae7dd121dd56b7aab Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 22 Oct 2021 14:01:31 +0000 Subject: [PATCH 06/21] Generated report --- onboarded-report/result.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/onboarded-report/result.json b/onboarded-report/result.json index 90fd148e7b..a0afc33db4 100644 --- a/onboarded-report/result.json +++ b/onboarded-report/result.json @@ -189,6 +189,12 @@ "missing": [], "onboarded": [] }, + { + "basePath": "chaos/resource-manager", + "onboardedToAutogen": "yes", + "missing": [], + "onboarded": [] + }, { "basePath": "cloudshell/resource-manager", "onboardedToAutogen": "no", @@ -975,6 +981,12 @@ "missing": [], "onboarded": [] }, + { + "basePath": "resourceconnector/resource-manager", + "onboardedToAutogen": "yes", + "missing": [], + "onboarded": [] + }, { "basePath": "resourcegraph/resource-manager", "onboardedToAutogen": "yes", @@ -1205,6 +1217,12 @@ ], "onboarded": [] }, + { + "basePath": "vi/resource-manager", + "onboardedToAutogen": "yes", + "missing": [], + "onboarded": [] + }, { "basePath": "videoanalyzer/resource-manager", "onboardedToAutogen": "no", From d82bc5c0b65670b38afaddda8ec7abba3d547673 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 23 Oct 2021 08:53:13 +0000 Subject: [PATCH 07/21] Update resource list --- generator/resources.json | 345 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 343 insertions(+), 2 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index a99ec7d7be..9db22bedef 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -122,6 +122,12 @@ "2017-04-19", "2020-01-01" ], + "Microsoft.AgFoodPlatform/farmBeats": [ + "2020-05-12-preview" + ], + "Microsoft.AgFoodPlatform/farmBeats/extensions": [ + "2020-05-12-preview" + ], "Microsoft.AlertsManagement/actionRules": [ "2019-05-05-preview", "2021-08-08-preview" @@ -1103,6 +1109,12 @@ "2020-07-01-preview", "2021-02-01-preview" ], + "Microsoft.AzureActiveDirectory/b2cDirectories": [ + "2019-01-01-preview" + ], + "Microsoft.AzureActiveDirectory/guestUsages": [ + "2020-05-01-preview" + ], "Microsoft.AzureArcData/dataControllers": [ "2021-06-01-preview", "2021-07-01-preview", @@ -1143,6 +1155,20 @@ "2017-06-01", "2020-06-01-preview" ], + "Microsoft.AzureStackHCI/clusters": [ + "2020-03-01-preview", + "2020-10-01", + "2021-01-01-preview", + "2021-09-01" + ], + "Microsoft.AzureStackHCI/clusters/arcSettings": [ + "2021-01-01-preview", + "2021-09-01" + ], + "Microsoft.AzureStackHCI/clusters/arcSettings/extensions": [ + "2021-01-01-preview", + "2021-09-01" + ], "Microsoft.BareMetal/crayServers": [ "2018-09-01-preview" ], @@ -1820,6 +1846,10 @@ "2021-04-01", "2021-07-01" ], + "Microsoft.ConfidentialLedger/ledgers": [ + "2020-12-01-preview", + "2021-05-13-preview" + ], "Microsoft.Confluent/agreements": [ "2020-03-01", "2020-03-01-preview", @@ -2077,6 +2107,49 @@ "2021-08-01", "2021-09-01" ], + "Microsoft.CostManagement/budgets": [ + "2019-04-01-preview" + ], + "Microsoft.CostManagement/cloudConnectors": [ + "2019-03-01-preview" + ], + "Microsoft.CostManagement/connectors": [ + "2018-08-01-preview" + ], + "Microsoft.CostManagement/exports": [ + "2019-01-01", + "2019-09-01", + "2019-10-01", + "2019-11-01", + "2020-06-01", + "2020-12-01-preview", + "2021-01-01", + "2021-10-01" + ], + "Microsoft.CostManagement/externalSubscriptions": [ + "2019-03-01-preview" + ], + "Microsoft.CostManagement/reportconfigs": [ + "2018-05-31", + "2018-05-31" + ], + "Microsoft.CostManagement/reports": [ + "2018-08-01-preview", + "2018-08-01-preview" + ], + "Microsoft.CostManagement/settings": [ + "2019-11-01" + ], + "Microsoft.CostManagement/views": [ + "2019-04-01-preview", + "2019-04-01-preview", + "2019-11-01", + "2019-11-01", + "2020-06-01", + "2020-06-01", + "2021-10-01", + "2021-10-01" + ], "Microsoft.CustomProviders/resourceProviders": [ "2018-09-01-preview" ], @@ -2486,6 +2559,31 @@ "2018-07-15-preview", "2021-06-30" ], + "Microsoft.DataProtection/backupVaults": [ + "2021-01-01", + "2021-02-01-preview", + "2021-06-01-preview", + "2021-07-01", + "2021-10-01-preview" + ], + "Microsoft.DataProtection/backupVaults/backupInstances": [ + "2021-01-01", + "2021-02-01-preview", + "2021-06-01-preview", + "2021-07-01", + "2021-10-01-preview" + ], + "Microsoft.DataProtection/backupVaults/backupPolicies": [ + "2021-01-01", + "2021-02-01-preview", + "2021-06-01-preview", + "2021-07-01", + "2021-10-01-preview" + ], + "Microsoft.DataProtection/resourceGuards": [ + "2021-07-01", + "2021-10-01-preview" + ], "Microsoft.DataShare/accounts": [ "2018-11-01-preview", "2019-11-01", @@ -2569,6 +2667,18 @@ "2020-02-01-preview", "2021-03-01" ], + "Microsoft.DelegatedNetwork/controller": [ + "2020-08-08-preview", + "2021-03-15" + ], + "Microsoft.DelegatedNetwork/delegatedSubnets": [ + "2020-08-08-preview", + "2021-03-15" + ], + "Microsoft.DelegatedNetwork/orchestrators": [ + "2020-08-08-preview", + "2021-03-15" + ], "Microsoft.DeploymentManager/artifactSources": [ "2018-09-01-preview", "2019-11-01-preview" @@ -3444,6 +3554,15 @@ "2021-01-15", "2021-02-01" ], + "Microsoft.Dynamics365FraudProtection/instances": [ + "2021-02-01-preview" + ], + "Microsoft.EdgeOrder/addresses": [ + "2020-12-01-preview" + ], + "Microsoft.EdgeOrder/orderItems": [ + "2020-12-01-preview" + ], "Microsoft.Elastic/monitors": [ "2020-07-01", "2020-07-01-preview" @@ -3634,6 +3753,13 @@ "2021-03-15-preview", "2021-08-15" ], + "Microsoft.Features/featureProviders/subscriptionFeatureRegistrations": [ + "2021-07-01" + ], + "Microsoft.FluidRelay/fluidRelayServers": [ + "2021-03-12-preview", + "2021-06-15-preview" + ], "Microsoft.Genomics/accounts": [ "2017-08-01-preview" ], @@ -3882,6 +4008,21 @@ "2018-09-01", "2021-06-01" ], + "Microsoft.IoTSecurity/defenderSettings": [ + "2021-02-01-preview" + ], + "Microsoft.IoTSecurity/locations/deviceGroups": [ + "2021-02-01-preview" + ], + "Microsoft.IoTSecurity/locations/sites": [ + "2021-09-01-preview" + ], + "Microsoft.IoTSecurity/locations/sites/sensors": [ + "2021-09-01-preview" + ], + "Microsoft.IoTSecurity/onPremiseSensors": [ + "2021-02-01-preview" + ], "Microsoft.KeyVault/managedHSMs": [ "2020-04-01-preview", "2021-04-01-preview", @@ -4087,6 +4228,42 @@ "2020-10-01", "2020-10-01-preview" ], + "Microsoft.M365SecurityAndCompliance/privateLinkServicesForEDMUpload": [ + "2021-03-25-preview" + ], + "Microsoft.M365SecurityAndCompliance/privateLinkServicesForEDMUpload/privateEndpointConnections": [ + "2021-03-25-preview" + ], + "Microsoft.M365SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter": [ + "2021-03-25-preview" + ], + "Microsoft.M365SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/privateEndpointConnections": [ + "2021-03-25-preview" + ], + "Microsoft.M365SecurityAndCompliance/privateLinkServicesForM365SecurityCenter": [ + "2021-03-25-preview" + ], + "Microsoft.M365SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/privateEndpointConnections": [ + "2021-03-25-preview" + ], + "Microsoft.M365SecurityAndCompliance/privateLinkServicesForMIPPolicySync": [ + "2021-03-25-preview" + ], + "Microsoft.M365SecurityAndCompliance/privateLinkServicesForMIPPolicySync/privateEndpointConnections": [ + "2021-03-25-preview" + ], + "Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI": [ + "2021-03-25-preview" + ], + "Microsoft.M365SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/privateEndpointConnections": [ + "2021-03-25-preview" + ], + "Microsoft.M365SecurityAndCompliance/privateLinkServicesForSCCPowershell": [ + "2021-03-25-preview" + ], + "Microsoft.M365SecurityAndCompliance/privateLinkServicesForSCCPowershell/privateEndpointConnections": [ + "2021-03-25-preview" + ], "Microsoft.MachineLearning/commitmentPlans": [ "2016-05-01-preview" ], @@ -4337,6 +4514,10 @@ "2020-12-01", "2021-06-01" ], + "Microsoft.MarketplaceOrdering/offerTypes/publishers/offers/plans/agreements": [ + "2015-06-01", + "2021-01-01" + ], "Microsoft.Media/mediaServices": [ "2015-10-01", "2018-07-01" @@ -6272,6 +6453,66 @@ "Microsoft.PowerPlatform/enterprisePolicies/privateEndpointConnections": [ "2020-10-30-preview" ], + "Microsoft.ProviderHub/providerRegistrations": [ + "2020-11-20", + "2021-05-01-preview", + "2021-06-01-preview", + "2021-09-01-preview" + ], + "Microsoft.ProviderHub/providerRegistrations/customRollouts": [ + "2020-11-20", + "2021-05-01-preview", + "2021-06-01-preview", + "2021-09-01-preview" + ], + "Microsoft.ProviderHub/providerRegistrations/defaultRollouts": [ + "2020-11-20", + "2021-05-01-preview", + "2021-06-01-preview", + "2021-09-01-preview" + ], + "Microsoft.ProviderHub/providerRegistrations/notificationRegistrations": [ + "2020-11-20", + "2021-05-01-preview", + "2021-06-01-preview", + "2021-09-01-preview" + ], + "Microsoft.ProviderHub/providerRegistrations/operations": [ + "2020-11-20", + "2021-05-01-preview", + "2021-06-01-preview", + "2021-09-01-preview" + ], + "Microsoft.ProviderHub/providerRegistrations/resourcetypeRegistrations": [ + "2020-11-20", + "2021-05-01-preview", + "2021-06-01-preview", + "2021-09-01-preview" + ], + "Microsoft.ProviderHub/providerRegistrations/resourcetypeRegistrations/resourcetypeRegistrations/resourcetypeRegistrations/resourcetypeRegistrations/skus": [ + "2020-11-20", + "2021-05-01-preview", + "2021-06-01-preview", + "2021-09-01-preview" + ], + "Microsoft.ProviderHub/providerRegistrations/resourcetypeRegistrations/resourcetypeRegistrations/resourcetypeRegistrations/skus": [ + "2020-11-20", + "2021-05-01-preview", + "2021-06-01-preview", + "2021-09-01-preview" + ], + "Microsoft.ProviderHub/providerRegistrations/resourcetypeRegistrations/resourcetypeRegistrations/skus": [ + "2020-11-20", + "2021-05-01-preview", + "2021-06-01-preview", + "2021-09-01-preview" + ], + "Microsoft.ProviderHub/providerRegistrations/resourcetypeRegistrations/skus": [ + "2020-11-20", + "2021-05-01-preview", + "2021-06-01-preview", + "2021-09-01-preview" + ], "Microsoft.Purview/accounts": [ "2020-12-01-preview", "2021-07-01" @@ -6825,6 +7066,52 @@ "Microsoft.Security/workspaceSettings": [ "2017-08-01-preview" ], + "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload": [ + "2021-01-11", + "2021-03-08" + ], + "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/privateEndpointConnections": [ + "2021-01-11", + "2021-03-08" + ], + "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter": [ + "2021-01-11", + "2021-03-08" + ], + "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/privateEndpointConnections": [ + "2021-01-11", + "2021-03-08" + ], + "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter": [ + "2021-01-11", + "2021-03-08" + ], + "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/privateEndpointConnections": [ + "2021-01-11", + "2021-03-08" + ], + "Microsoft.SecurityAndCompliance/privateLinkServicesForMIPPolicySync": [ + "2021-03-08" + ], + "Microsoft.SecurityAndCompliance/privateLinkServicesForMIPPolicySync/privateEndpointConnections": [ + "2021-03-08" + ], + "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI": [ + "2021-01-11", + "2021-03-08" + ], + "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/privateEndpointConnections": [ + "2021-01-11", + "2021-03-08" + ], + "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell": [ + "2021-01-11", + "2021-03-08" + ], + "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/privateEndpointConnections": [ + "2021-01-11", + "2021-03-08" + ], "Microsoft.ServiceBus/namespaces": [ "2015-08-01", "2017-04-01", @@ -6962,10 +7249,36 @@ "2021-06-01" ], "Microsoft.ServiceFabric/managedClusters": [ - "2020-01-01-preview" + "2020-01-01-preview", + "2021-01-01-preview", + "2021-05-01", + "2021-07-01-preview" ], "Microsoft.ServiceFabric/managedClusters/nodeTypes": [ - "2020-01-01-preview" + "2020-01-01-preview", + "2021-01-01-preview", + "2021-05-01", + "2021-07-01-preview" + ], + "Microsoft.ServiceFabric/managedclusters/applicationTypes": [ + "2021-01-01-preview", + "2021-05-01", + "2021-07-01-preview" + ], + "Microsoft.ServiceFabric/managedclusters/applicationTypes/versions": [ + "2021-01-01-preview", + "2021-05-01", + "2021-07-01-preview" + ], + "Microsoft.ServiceFabric/managedclusters/applications": [ + "2021-01-01-preview", + "2021-05-01", + "2021-07-01-preview" + ], + "Microsoft.ServiceFabric/managedclusters/applications/services": [ + "2021-01-01-preview", + "2021-05-01", + "2021-07-01-preview" ], "Microsoft.ServiceFabricMesh/applications": [ "2018-07-01-preview", @@ -7036,6 +7349,22 @@ "Microsoft.Solutions/appliances": [ "2016-09-01-preview" ], + "Microsoft.Solutions/applicationDefinitions": [ + "2017-09-01", + "2018-06-01", + "2019-07-01", + "2020-08-21-preview" + ], + "Microsoft.Solutions/applications": [ + "2017-09-01", + "2018-06-01", + "2019-07-01", + "2020-08-21-preview" + ], + "Microsoft.Solutions/jitRequests": [ + "2019-07-01", + "2020-08-21-preview" + ], "Microsoft.Sql/instancePools": [ "2018-06-01-preview", "2020-02-02-preview", @@ -8230,6 +8559,18 @@ "2021-06-01", "2021-06-01-preview" ], + "Microsoft.TestBase/testBaseAccounts": [ + "2020-12-16-preview" + ], + "Microsoft.TestBase/testBaseAccounts/customerEvents": [ + "2020-12-16-preview" + ], + "Microsoft.TestBase/testBaseAccounts/packages": [ + "2020-12-16-preview" + ], + "Microsoft.TestBase/testBaseAccounts/packages/favoriteProcesses": [ + "2020-12-16-preview" + ], "Microsoft.TimeSeriesInsights/environments": [ "2017-02-28-preview", "2017-11-15", From 3028685394636fd71a87d918cc5e8fa6b8231f04 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 23 Oct 2021 09:22:43 +0000 Subject: [PATCH 08/21] Autogenerate schemas --- schemas/2018-06-01/Microsoft.DataFactory.json | 184 ++ .../Microsoft.DeviceUpdate.json | 285 +++ .../Microsoft.HybridConnectivity.json | 147 ++ schemas/2021-11-01/Microsoft.EventHub.json | 1701 +++++++++++++++++ schemas/common/autogeneratedResources.json | 33 + 5 files changed, 2350 insertions(+) create mode 100644 schemas/2021-10-06-preview/Microsoft.HybridConnectivity.json create mode 100644 schemas/2021-11-01/Microsoft.EventHub.json diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json index be2045ccf1..0c72cff6d8 100644 --- a/schemas/2018-06-01/Microsoft.DataFactory.json +++ b/schemas/2018-06-01/Microsoft.DataFactory.json @@ -8665,6 +8665,9 @@ { "$ref": "#/definitions/MappingDataFlow" }, + { + "$ref": "#/definitions/Flowlet" + }, { "$ref": "#/definitions/WranglingDataFlow" } @@ -8780,6 +8783,17 @@ "type": "string", "description": "Transformation description." }, + "flowlet": { + "oneOf": [ + { + "$ref": "#/definitions/DataFlowReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data flow reference type." + }, "linkedService": { "oneOf": [ { @@ -8830,6 +8844,17 @@ "type": "string", "description": "Transformation description." }, + "flowlet": { + "oneOf": [ + { + "$ref": "#/definitions/DataFlowReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data flow reference type." + }, "linkedService": { "oneOf": [ { @@ -13016,6 +13041,118 @@ ], "description": "Filter activity properties." }, + "Flowlet": { + "type": "object", + "properties": { + "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" + }, + "type": { + "type": "string", + "enum": [ + "Flowlet" + ] + }, + "typeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/FlowletTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flowlet type properties." + } + }, + "required": [ + "type" + ], + "description": "Data flow flowlet" + }, + "FlowletTypeProperties": { + "type": "object", + "properties": { + "additionalProperties": { + "type": "object", + "properties": {} + }, + "script": { + "type": "string", + "description": "Flowlet script." + }, + "scriptLines": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flowlet script lines." + }, + "sinks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataFlowSink" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of sinks in Flowlet." + }, + "sources": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataFlowSource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of sources in Flowlet." + }, + "transformations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Transformation" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of transformations in Flowlet." + } + }, + "description": "Flowlet type properties." + }, "ForEachActivity": { "type": "object", "properties": { @@ -18394,6 +18531,20 @@ "type": "string", "description": "DataFlow script." }, + "scriptLines": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data flow script lines." + }, "sinks": { "oneOf": [ { @@ -21764,6 +21915,17 @@ "type": "string", "description": "Transformation description." }, + "flowlet": { + "oneOf": [ + { + "$ref": "#/definitions/DataFlowReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data flow reference type." + }, "linkedService": { "oneOf": [ { @@ -21842,6 +22004,17 @@ "type": "string", "description": "Transformation description." }, + "flowlet": { + "oneOf": [ + { + "$ref": "#/definitions/DataFlowReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data flow reference type." + }, "linkedService": { "oneOf": [ { @@ -28191,6 +28364,17 @@ "type": "string", "description": "Transformation description." }, + "flowlet": { + "oneOf": [ + { + "$ref": "#/definitions/DataFlowReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data flow reference type." + }, "name": { "type": "string", "description": "Transformation name." diff --git a/schemas/2020-03-01-preview/Microsoft.DeviceUpdate.json b/schemas/2020-03-01-preview/Microsoft.DeviceUpdate.json index eb176f29dd..9ba0cec60b 100644 --- a/schemas/2020-03-01-preview/Microsoft.DeviceUpdate.json +++ b/schemas/2020-03-01-preview/Microsoft.DeviceUpdate.json @@ -62,6 +62,9 @@ }, { "$ref": "#/definitions/accounts_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/accounts_privateEndpointConnectionProxies_childResource" } ] } @@ -166,6 +169,45 @@ ], "description": "Microsoft.DeviceUpdate/accounts/instances" }, + "accounts_privateEndpointConnectionProxies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The ID of the private endpoint connection proxy object." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProxyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint connection proxy object properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DeviceUpdate/accounts/privateEndpointConnectionProxies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DeviceUpdate/accounts/privateEndpointConnectionProxies" + }, "accounts_privateEndpointConnections": { "type": "object", "properties": { @@ -297,6 +339,45 @@ ], "description": "Microsoft.DeviceUpdate/accounts/instances" }, + "accounts_privateEndpointConnectionProxies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The ID of the private endpoint connection proxy object." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProxyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint connection proxy object properties." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnectionProxies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DeviceUpdate/accounts/privateEndpointConnectionProxies" + }, "accounts_privateEndpointConnections_childResource": { "type": "object", "properties": { @@ -336,6 +417,11 @@ ], "description": "Microsoft.DeviceUpdate/accounts/privateEndpointConnections" }, + "ConnectionDetails": { + "type": "object", + "properties": {}, + "description": "Private endpoint connection proxy object properties." + }, "DiagnosticStorageProperties": { "type": "object", "properties": { @@ -368,6 +454,26 @@ ], "description": "Customer-initiated diagnostic log collection storage properties" }, + "GroupConnectivityInformation": { + "type": "object", + "properties": { + "customerVisibleFqdns": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of customer visible FQDNs." + } + }, + "description": "Group connectivity details." + }, "InstanceProperties": { "type": "object", "properties": { @@ -526,6 +632,68 @@ ], "description": "Properties of the PrivateEndpointConnectProperties." }, + "PrivateEndpointConnectionProxyProperties": { + "type": "object", + "properties": { + "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 proxy resource." + }, + "remotePrivateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/RemotePrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Remote private endpoint details." + } + }, + "description": "Private endpoint connection proxy object properties." + }, + "PrivateLinkServiceConnection": { + "type": "object", + "properties": { + "groupIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of group IDs." + }, + "name": { + "type": "string", + "description": "Private link service connection name." + }, + "requestMessage": { + "type": "string", + "description": "Request message." + } + }, + "description": "Private link service connection details." + }, "PrivateLinkServiceConnectionState": { "type": "object", "properties": { @@ -556,6 +724,123 @@ }, "description": "A collection of information about the state of the connection between service consumer and provider." }, + "PrivateLinkServiceProxy": { + "type": "object", + "properties": { + "groupConnectivityInformation": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GroupConnectivityInformation" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Group connectivity information." + }, + "id": { + "type": "string", + "description": "NRP resource ID." + }, + "remotePrivateEndpointConnection": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceProxyRemotePrivateEndpointConnection" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Remote private endpoint connection details." + }, + "remotePrivateLinkServiceConnectionState": { + "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." + } + }, + "description": "Private link service proxy details." + }, + "PrivateLinkServiceProxyRemotePrivateEndpointConnection": { + "type": "object", + "properties": {}, + "description": "Remote private endpoint connection details." + }, + "RemotePrivateEndpoint": { + "type": "object", + "properties": { + "connectionDetails": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ConnectionDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of connection details." + }, + "id": { + "type": "string", + "description": "Remote endpoint resource ID." + }, + "manualPrivateLinkServiceConnections": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkServiceConnection" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of private link service connections that need manual approval." + }, + "privateLinkServiceConnections": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkServiceConnection" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of automatically approved private link service connections." + }, + "privateLinkServiceProxies": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkServiceProxy" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of private link service proxies." + } + }, + "description": "Remote private endpoint details." + }, "UserAssignedIdentity": { "type": "object", "properties": {}, diff --git a/schemas/2021-10-06-preview/Microsoft.HybridConnectivity.json b/schemas/2021-10-06-preview/Microsoft.HybridConnectivity.json new file mode 100644 index 0000000000..774f5a3d74 --- /dev/null +++ b/schemas/2021-10-06-preview/Microsoft.HybridConnectivity.json @@ -0,0 +1,147 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-10-06-preview/Microsoft.HybridConnectivity.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.HybridConnectivity", + "description": "Microsoft HybridConnectivity Resource Types", + "resourceDefinitions": {}, + "unknown_resourceDefinitions": { + "endpoints": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-06-preview" + ] + }, + "name": { + "type": "string", + "description": "The endpoint name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EndpointProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Endpoint details" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.HybridConnectivity/endpoints" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.HybridConnectivity/endpoints" + } + }, + "definitions": { + "EndpointProperties": { + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "The resource Id of the connectivity endpoint (optional)." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "default", + "custom" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of endpoint." + } + }, + "required": [ + "type" + ], + "description": "Endpoint details" + }, + "SystemData": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource creation (UTC)." + }, + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity that created the resource." + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource last modification (UTC)" + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the resource." + }, + "lastModifiedByType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity that last modified the resource." + } + }, + "description": "Metadata pertaining to creation and last modification of the resource." + } + } +} \ No newline at end of file diff --git a/schemas/2021-11-01/Microsoft.EventHub.json b/schemas/2021-11-01/Microsoft.EventHub.json new file mode 100644 index 0000000000..6c9788b66e --- /dev/null +++ b/schemas/2021-11-01/Microsoft.EventHub.json @@ -0,0 +1,1701 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.EventHub.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.EventHub", + "description": "Microsoft EventHub Resource Types", + "resourceDefinitions": { + "clusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "minLength": 6, + "maxLength": 50, + "description": "The name of the Event Hubs Cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Event Hubs Cluster properties supplied in responses in List or Get operations." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU parameters particular to a cluster instance." + }, + "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.EventHub/clusters" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/clusters" + }, + "namespaces": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to configure Identity for Bring your Own Keys" + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "minLength": 6, + "maxLength": 50, + "description": "The Namespace name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EHNamespaceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Namespace properties supplied for create namespace operation." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/namespaces_networkRuleSets_childResource" + }, + { + "$ref": "#/definitions/namespaces_authorizationRules_childResource" + }, + { + "$ref": "#/definitions/namespaces_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/namespaces_eventhubs_childResource" + }, + { + "$ref": "#/definitions/namespaces_disasterRecoveryConfigs_childResource" + }, + { + "$ref": "#/definitions/namespaces_schemagroups_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU parameters supplied to the create namespace operation" + }, + "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.EventHub/namespaces" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces" + }, + "namespaces_authorizationRules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The authorization rule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AuthorizationRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties supplied to create or update AuthorizationRule" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.EventHub/namespaces/authorizationRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/authorizationRules" + }, + "namespaces_disasterRecoveryConfigs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "The Disaster Recovery configuration name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ArmDisasterRecoveryProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties required to the Create Or Update Alias(Disaster Recovery configurations)" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.EventHub/namespaces/disasterRecoveryConfigs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/disasterRecoveryConfigs" + }, + "namespaces_eventhubs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "The Event Hub name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EventhubProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties supplied to the Create Or Update Event Hub operation." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/namespaces_eventhubs_authorizationRules_childResource" + }, + { + "$ref": "#/definitions/namespaces_eventhubs_consumergroups_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.EventHub/namespaces/eventhubs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/eventhubs" + }, + "namespaces_eventhubs_authorizationRules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The authorization rule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AuthorizationRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties supplied to create or update AuthorizationRule" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.EventHub/namespaces/eventhubs/authorizationRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules" + }, + "namespaces_eventhubs_consumergroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "The consumer group name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConsumerGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Single item in List or Get Consumer group operation" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.EventHub/namespaces/eventhubs/consumergroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/eventhubs/consumergroups" + }, + "namespaces_networkRuleSets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkRuleSetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NetworkRuleSet properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.EventHub/namespaces/networkRuleSets" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/networkRuleSets" + }, + "namespaces_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "type": "string", + "description": "The PrivateEndpointConnection name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the private endpoint connection resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.EventHub/namespaces/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/privateEndpointConnections" + }, + "namespaces_schemagroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "The Schema Group name " + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SchemaGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.EventHub/namespaces/schemagroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/schemagroups" + } + }, + "definitions": { + "ArmDisasterRecoveryProperties": { + "type": "object", + "properties": { + "alternateName": { + "type": "string", + "description": "Alternate name specified when alias and namespace names are same." + }, + "partnerNamespace": { + "type": "string", + "description": "ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing" + } + }, + "description": "Properties required to the Create Or Update Alias(Disaster Recovery configurations)" + }, + "AuthorizationRuleProperties": { + "type": "object", + "properties": { + "rights": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Manage", + "Send", + "Listen" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The rights associated with the rule." + } + }, + "required": [ + "rights" + ], + "description": "Properties supplied to create or update AuthorizationRule" + }, + "CaptureDescription": { + "type": "object", + "properties": { + "destination": { + "oneOf": [ + { + "$ref": "#/definitions/Destination" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Capture storage details for capture description" + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value that indicates whether capture description is enabled. " + }, + "encoding": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Avro", + "AvroDeflate" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enumerates the possible values for the encoding format of capture description. Note: 'AvroDeflate' will be deprecated in New API Version." + }, + "intervalInSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The time window allows you to set the frequency with which the capture to Azure Blobs will happen, value should between 60 to 900 seconds" + }, + "sizeLimitInBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The size window defines the amount of data built up in your Event Hub before an capture operation, value should be between 10485760 to 524288000 bytes" + }, + "skipEmptyArchives": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value that indicates whether to Skip Empty Archives" + } + }, + "description": "Properties to configure capture description for eventhub" + }, + "ClusterProperties": { + "type": "object", + "properties": {}, + "description": "Event Hubs Cluster properties supplied in responses in List or Get operations." + }, + "ClusterSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The quantity of Event Hubs Cluster Capacity Units contained in this cluster." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Dedicated" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of this SKU." + } + }, + "required": [ + "name" + ], + "description": "SKU parameters particular to a cluster instance." + }, + "ConnectionState": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of the connection state." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Status of the connection." + } + }, + "description": "ConnectionState information." + }, + "ConsumerGroupProperties": { + "type": "object", + "properties": { + "userMetadata": { + "type": "string", + "description": "User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored." + } + }, + "description": "Single item in List or Get Consumer group operation" + }, + "Destination": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name for capture destination" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DestinationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties describing the storage account, blob container and archive name format for capture destination" + } + }, + "description": "Capture storage details for capture description" + }, + "DestinationProperties": { + "type": "object", + "properties": { + "archiveNameFormat": { + "type": "string", + "description": "Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order" + }, + "blobContainer": { + "type": "string", + "description": "Blob container Name" + }, + "dataLakeAccountName": { + "type": "string", + "description": "The Azure Data Lake Store name for the captured events" + }, + "dataLakeFolderPath": { + "type": "string", + "description": "The destination folder path for the captured events" + }, + "dataLakeSubscriptionId": { + "oneOf": [ + { + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Subscription Id of Azure Data Lake Store" + }, + "storageAccountResourceId": { + "type": "string", + "description": "Resource id of the storage account to be used to create the blobs" + } + }, + "description": "Properties describing the storage account, blob container and archive name format for capture destination" + }, + "EHNamespaceProperties": { + "type": "object", + "properties": { + "alternateName": { + "type": "string", + "description": "Alternate name specified when alias and namespace names are same." + }, + "clusterArmId": { + "type": "string", + "description": "Cluster ARM ID of the Namespace." + }, + "disableLocalAuth": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property disables SAS authentication for the Event Hubs namespace." + }, + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/Encryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to configure Encryption" + }, + "isAutoInflateEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value that indicates whether AutoInflate is enabled for eventhub namespace." + }, + "kafkaEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value that indicates whether Kafka is enabled for eventhub namespace." + }, + "maximumThroughputUnits": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Upper limit of throughput units when AutoInflate is enabled, value should be within 0 to 20 throughput units. ( '0' if AutoInflateEnabled = true)" + }, + "privateEndpointConnections": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of private endpoint connections." + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enabling this property creates a Standard Event Hubs Namespace in regions supported availability zones." + } + }, + "description": "Namespace properties supplied for create namespace operation." + }, + "Encryption": { + "type": "object", + "properties": { + "keySource": { + "oneOf": [ + { + "type": "string", + "enum": [ + "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": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/KeyVaultProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of KeyVault" + }, + "requireInfrastructureEncryption": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable Infrastructure Encryption (Double Encryption)" + } + }, + "description": "Properties to configure Encryption" + }, + "EventhubProperties": { + "type": "object", + "properties": { + "captureDescription": { + "oneOf": [ + { + "$ref": "#/definitions/CaptureDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to configure capture description for eventhub" + }, + "messageRetentionInDays": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of days to retain the events for this Event Hub, value should be 1 to 7 days" + }, + "partitionCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Active", + "Disabled", + "Restoring", + "SendDisabled", + "ReceiveDisabled", + "Creating", + "Deleting", + "Renaming", + "Unknown" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enumerates the possible values for the status of the Event Hub." + } + }, + "description": "Properties supplied to the Create Or Update Event Hub operation." + }, + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$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": "Properties for User Assigned Identities" + } + }, + "description": "Properties to configure Identity for Bring your Own Keys" + }, + "KeyVaultProperties": { + "type": "object", + "properties": { + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/UserAssignedIdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "keyName": { + "type": "string", + "description": "Name of the Key from KeyVault" + }, + "keyVaultUri": { + "type": "string", + "description": "Uri of KeyVault" + }, + "keyVersion": { + "type": "string", + "description": "Key Version" + } + }, + "description": "Properties to configure keyVault Properties" + }, + "namespaces_authorizationRules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The authorization rule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AuthorizationRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties supplied to create or update AuthorizationRule" + }, + "type": { + "type": "string", + "enum": [ + "authorizationRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/authorizationRules" + }, + "namespaces_disasterRecoveryConfigs_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "The Disaster Recovery configuration name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ArmDisasterRecoveryProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties required to the Create Or Update Alias(Disaster Recovery configurations)" + }, + "type": { + "type": "string", + "enum": [ + "disasterRecoveryConfigs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/disasterRecoveryConfigs" + }, + "namespaces_eventhubs_authorizationRules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The authorization rule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AuthorizationRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties supplied to create or update AuthorizationRule" + }, + "type": { + "type": "string", + "enum": [ + "authorizationRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules" + }, + "namespaces_eventhubs_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "The Event Hub name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EventhubProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties supplied to the Create Or Update Event Hub operation." + }, + "type": { + "type": "string", + "enum": [ + "eventhubs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/eventhubs" + }, + "namespaces_eventhubs_consumergroups_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "The consumer group name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConsumerGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Single item in List or Get Consumer group operation" + }, + "type": { + "type": "string", + "enum": [ + "consumergroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/eventhubs/consumergroups" + }, + "namespaces_networkRuleSets_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkRuleSetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NetworkRuleSet properties" + }, + "type": { + "type": "string", + "enum": [ + "networkRuleSets" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/networkRuleSets" + }, + "namespaces_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "type": "string", + "description": "The PrivateEndpointConnection name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the private endpoint connection resource." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/privateEndpointConnections" + }, + "namespaces_schemagroups_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "The Schema Group name " + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SchemaGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "schemagroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/namespaces/schemagroups" + }, + "NetworkRuleSetProperties": { + "type": "object", + "properties": { + "defaultAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Allow", + "Deny" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default Action for Network Rule Set." + }, + "ipRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NWRuleSetIpRules" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of IpRules" + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This determines if traffic is allowed over public network. By default it is enabled." + }, + "trustedServiceAccessEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value that indicates whether Trusted Service Access is Enabled or not." + }, + "virtualNetworkRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NWRuleSetVirtualNetworkRules" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List VirtualNetwork Rules" + } + }, + "description": "NetworkRuleSet properties" + }, + "NWRuleSetIpRules": { + "type": "object", + "properties": { + "action": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Allow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IP Filter Action." + }, + "ipMask": { + "type": "string", + "description": "IP Mask" + } + }, + "description": "The response from the List namespace operation." + }, + "NWRuleSetVirtualNetworkRules": { + "type": "object", + "properties": { + "ignoreMissingVnetServiceEndpoint": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value that indicates whether to ignore missing Vnet Service Endpoint" + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/Subnet" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties supplied for Subnet" + } + }, + "description": "The response from the List namespace operation." + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ARM identifier for Private Endpoint." + } + }, + "description": "PrivateEndpoint information." + }, + "PrivateEndpointConnection": { + "type": "object", + "properties": { + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the private endpoint connection resource." + } + }, + "description": "Properties of the PrivateEndpointConnection." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PrivateEndpoint information." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ConnectionState information." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Canceled", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the Private Endpoint Connection." + } + }, + "description": "Properties of the private endpoint connection resource." + }, + "SchemaGroupProperties": { + "type": "object", + "properties": { + "groupProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "dictionary object for SchemaGroup group properties" + }, + "schemaCompatibility": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Backward", + "Forward" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "schemaType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "Avro" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Event Hubs throughput units for Basic or Standard tiers, where value should be 0 to 20 throughput units. The Event Hubs premium units for Premium tier, where value should be 0 to 10 premium units." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of this SKU." + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The billing tier of this particular SKU." + } + }, + "required": [ + "name" + ], + "description": "SKU parameters supplied to the create namespace operation" + }, + "Subnet": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of Virtual Network Subnet" + } + }, + "description": "Properties supplied for Subnet" + }, + "UserAssignedIdentity": { + "type": "object", + "properties": {}, + "description": "Recognized Dictionary value." + }, + "UserAssignedIdentityProperties": { + "type": "object", + "properties": { + "userAssignedIdentity": { + "type": "string", + "description": "ARM ID of user Identity selected for encryption" + } + } + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 6b0a1b50ef..975b3aca94 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -5860,6 +5860,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.DeviceUpdate.json#/resourceDefinitions/accounts_instances" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.DeviceUpdate.json#/resourceDefinitions/accounts_privateEndpointConnectionProxies" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.DeviceUpdate.json#/resourceDefinitions/accounts_privateEndpointConnections" }, @@ -7771,6 +7774,36 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.EventHub.json#/resourceDefinitions/namespaces_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.EventHub.json#/resourceDefinitions/clusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.EventHub.json#/resourceDefinitions/namespaces" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.EventHub.json#/resourceDefinitions/namespaces_authorizationRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.EventHub.json#/resourceDefinitions/namespaces_disasterRecoveryConfigs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.EventHub.json#/resourceDefinitions/namespaces_eventhubs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.EventHub.json#/resourceDefinitions/namespaces_eventhubs_authorizationRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.EventHub.json#/resourceDefinitions/namespaces_eventhubs_consumergroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.EventHub.json#/resourceDefinitions/namespaces_networkRuleSets" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.EventHub.json#/resourceDefinitions/namespaces_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-11-01/Microsoft.EventHub.json#/resourceDefinitions/namespaces_schemagroups" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-03-15-preview/Microsoft.ExtendedLocation.json#/resourceDefinitions/customLocations" }, From 658a23eaee467e2eb4851390100f33bf027315c4 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 23 Oct 2021 09:22:58 +0000 Subject: [PATCH 09/21] Update resource list --- generator/resources.json | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 9db22bedef..1f02cf4e4b 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -2887,6 +2887,9 @@ "Microsoft.DeviceUpdate/accounts/instances": [ "2020-03-01-preview" ], + "Microsoft.DeviceUpdate/accounts/privateEndpointConnectionProxies": [ + "2020-03-01-preview" + ], "Microsoft.DeviceUpdate/accounts/privateEndpointConnections": [ "2020-03-01-preview" ], @@ -3684,7 +3687,8 @@ ], "Microsoft.EventHub/clusters": [ "2018-01-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-11-01" ], "Microsoft.EventHub/namespaces": [ "2014-09-01", @@ -3692,7 +3696,8 @@ "2017-04-01", "2018-01-01-preview", "2021-01-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-11-01" ], "Microsoft.EventHub/namespaces/AuthorizationRules": [ "2014-09-01", @@ -3700,13 +3705,15 @@ "2017-04-01", "2018-01-01-preview", "2021-01-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-11-01" ], "Microsoft.EventHub/namespaces/disasterRecoveryConfigs": [ "2017-04-01", "2018-01-01-preview", "2021-01-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-11-01" ], "Microsoft.EventHub/namespaces/eventhubs": [ "2014-09-01", @@ -3714,7 +3721,8 @@ "2017-04-01", "2018-01-01-preview", "2021-01-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-11-01" ], "Microsoft.EventHub/namespaces/eventhubs/authorizationRules": [ "2014-09-01", @@ -3722,7 +3730,8 @@ "2017-04-01", "2018-01-01-preview", "2021-01-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-11-01" ], "Microsoft.EventHub/namespaces/eventhubs/consumergroups": [ "2014-09-01", @@ -3730,7 +3739,8 @@ "2017-04-01", "2018-01-01-preview", "2021-01-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-11-01" ], "Microsoft.EventHub/namespaces/ipfilterrules": [ "2018-01-01-preview" @@ -3739,12 +3749,17 @@ "2017-04-01", "2018-01-01-preview", "2021-01-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-11-01" ], "Microsoft.EventHub/namespaces/privateEndpointConnections": [ "2018-01-01-preview", "2021-01-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-11-01" + ], + "Microsoft.EventHub/namespaces/schemagroups": [ + "2021-11-01" ], "Microsoft.EventHub/namespaces/virtualnetworkrules": [ "2018-01-01-preview" From aded5fe274862a8b0f9d31d186fc48377d83740b Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 24 Oct 2021 13:52:10 +0000 Subject: [PATCH 10/21] Autogenerate schemas --- .../subscriptionDeploymentTemplate.json | 6 + .../2019-06-01-preview/Microsoft.Synapse.json | 17 +- .../managementGroupDeploymentTemplate.json | 6 + schemas/2020-12-01/Microsoft.Synapse.json | 17 +- .../Microsoft.SecurityInsights.json | 16 +- schemas/2021-03-01/Microsoft.Synapse.json | 17 +- .../2021-04-01-preview/Microsoft.Synapse.json | 17 +- schemas/2021-05-01/Microsoft.Synapse.json | 17 +- .../2021-06-01-preview/Microsoft.Synapse.json | 21 ++- schemas/2021-06-01/Microsoft.Security.json | 3 +- schemas/2021-06-01/Microsoft.Synapse.json | 17 +- .../Microsoft.Security.json | 6 +- .../Microsoft.Authorization.Resources.json | 174 ++++++++++++++++++ .../Microsoft.ResourceConnector.json | 168 +++++++++++++++++ schemas/common/autogeneratedResources.json | 6 + 15 files changed, 485 insertions(+), 23 deletions(-) create mode 100644 schemas/2021-07-01/Microsoft.Authorization.Resources.json create mode 100644 schemas/2021-10-31-preview/Microsoft.ResourceConnector.json diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index 230701689e..12a0a710bb 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -689,6 +689,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyPricings" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.Billing.json#/subscription_resourceDefinitions/billingAccounts_lineOfCredit" }, diff --git a/schemas/2019-06-01-preview/Microsoft.Synapse.json b/schemas/2019-06-01-preview/Microsoft.Synapse.json index ef645a99ae..5639edfead 100644 --- a/schemas/2019-06-01-preview/Microsoft.Synapse.json +++ b/schemas/2019-06-01-preview/Microsoft.Synapse.json @@ -3839,8 +3839,21 @@ "description": "Collation mode" }, "createMode": { - "type": "string", - "description": "What is this?" + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "PointInTimeRestore", + "Recovery", + "Restore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/schemas/2019-08-01/managementGroupDeploymentTemplate.json b/schemas/2019-08-01/managementGroupDeploymentTemplate.json index 3e293cf178..d0fc41e183 100644 --- a/schemas/2019-08-01/managementGroupDeploymentTemplate.json +++ b/schemas/2019-08-01/managementGroupDeploymentTemplate.json @@ -641,6 +641,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyPricings" + }, { "$ref": "https://schema.management.azure.com/schemas/2017-11-11-preview/Microsoft.Blueprint.json#/managementGroup_resourceDefinitions/blueprints" }, diff --git a/schemas/2020-12-01/Microsoft.Synapse.json b/schemas/2020-12-01/Microsoft.Synapse.json index 970e365f3a..39297ecaf1 100644 --- a/schemas/2020-12-01/Microsoft.Synapse.json +++ b/schemas/2020-12-01/Microsoft.Synapse.json @@ -3854,8 +3854,21 @@ "description": "Collation mode" }, "createMode": { - "type": "string", - "description": "What is this?" + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "PointInTimeRestore", + "Recovery", + "Restore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/schemas/2021-03-01-preview/Microsoft.SecurityInsights.json b/schemas/2021-03-01-preview/Microsoft.SecurityInsights.json index 41955ae39e..6536a4d939 100644 --- a/schemas/2021-03-01-preview/Microsoft.SecurityInsights.json +++ b/schemas/2021-03-01-preview/Microsoft.SecurityInsights.json @@ -3472,6 +3472,14 @@ "type": "string", "description": "Branch name of repository." }, + "deploymentLogsUrl": { + "type": "string", + "description": "Url to access repository action logs." + }, + "displayUrl": { + "type": "string", + "description": "Display url of repository." + }, "pathMapping": { "oneOf": [ { @@ -3816,6 +3824,10 @@ "type": "string", "description": "The display name of the source control" }, + "id": { + "type": "string", + "description": "The id (a Guid) of the source control" + }, "repository": { "oneOf": [ { @@ -3841,10 +3853,6 @@ } ], "description": "The repository type of the source control." - }, - "sourceControlId": { - "type": "string", - "description": "The id (a Guid) of the source control" } }, "required": [ diff --git a/schemas/2021-03-01/Microsoft.Synapse.json b/schemas/2021-03-01/Microsoft.Synapse.json index 68f6035581..383fd628e8 100644 --- a/schemas/2021-03-01/Microsoft.Synapse.json +++ b/schemas/2021-03-01/Microsoft.Synapse.json @@ -3854,8 +3854,21 @@ "description": "Collation mode" }, "createMode": { - "type": "string", - "description": "What is this?" + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "PointInTimeRestore", + "Recovery", + "Restore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/schemas/2021-04-01-preview/Microsoft.Synapse.json b/schemas/2021-04-01-preview/Microsoft.Synapse.json index 594096bdd2..986053e004 100644 --- a/schemas/2021-04-01-preview/Microsoft.Synapse.json +++ b/schemas/2021-04-01-preview/Microsoft.Synapse.json @@ -4841,8 +4841,21 @@ "description": "Collation mode" }, "createMode": { - "type": "string", - "description": "What is this?" + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "PointInTimeRestore", + "Recovery", + "Restore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/schemas/2021-05-01/Microsoft.Synapse.json b/schemas/2021-05-01/Microsoft.Synapse.json index f0f2bb9cc5..cbcf63926a 100644 --- a/schemas/2021-05-01/Microsoft.Synapse.json +++ b/schemas/2021-05-01/Microsoft.Synapse.json @@ -3906,8 +3906,21 @@ "description": "Collation mode" }, "createMode": { - "type": "string", - "description": "What is this?" + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "PointInTimeRestore", + "Recovery", + "Restore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/schemas/2021-06-01-preview/Microsoft.Synapse.json b/schemas/2021-06-01-preview/Microsoft.Synapse.json index 2742ff0861..0737888d44 100644 --- a/schemas/2021-06-01-preview/Microsoft.Synapse.json +++ b/schemas/2021-06-01-preview/Microsoft.Synapse.json @@ -3064,6 +3064,10 @@ ], "description": "System properties of the event hub" }, + "managedIdentityResourceId": { + "type": "string", + "description": "The resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub." + }, "mappingRuleName": { "type": "string", "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." @@ -5194,8 +5198,21 @@ "description": "Collation mode" }, "createMode": { - "type": "string", - "description": "What is this?" + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "PointInTimeRestore", + "Recovery", + "Restore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/schemas/2021-06-01/Microsoft.Security.json b/schemas/2021-06-01/Microsoft.Security.json index a75669a511..c178c8051d 100644 --- a/schemas/2021-06-01/Microsoft.Security.json +++ b/schemas/2021-06-01/Microsoft.Security.json @@ -622,9 +622,8 @@ "Network Sniffing", "Non-Application Layer Protocol", "Non-Standard Port", - "Obfuscated Files or Information", "Obtain Capabilities", - "Obuscated Files or Information", + "Obfuscated Files or Information", "Office Application Startup", "OS Credential Dumping", "Permission Groups Discovery", diff --git a/schemas/2021-06-01/Microsoft.Synapse.json b/schemas/2021-06-01/Microsoft.Synapse.json index 21eab7c95d..9e77fa61a5 100644 --- a/schemas/2021-06-01/Microsoft.Synapse.json +++ b/schemas/2021-06-01/Microsoft.Synapse.json @@ -4012,8 +4012,21 @@ "description": "Collation mode" }, "createMode": { - "type": "string", - "description": "What is this?" + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "PointInTimeRestore", + "Recovery", + "Restore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified." }, "creationDate": { "type": "string", diff --git a/schemas/2021-07-01-preview/Microsoft.Security.json b/schemas/2021-07-01-preview/Microsoft.Security.json index 9928a03099..4f98692067 100644 --- a/schemas/2021-07-01-preview/Microsoft.Security.json +++ b/schemas/2021-07-01-preview/Microsoft.Security.json @@ -20,7 +20,7 @@ "properties": { "oneOf": [ { - "$ref": "#/definitions/CustomAssessmentAutomationProperties" + "$ref": "#/definitions/CustomAssessmentAutomationRequestProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -84,12 +84,12 @@ } }, "definitions": { - "CustomAssessmentAutomationProperties": { + "CustomAssessmentAutomationRequestProperties": { "type": "object", "properties": { "compressedQuery": { "type": "string", - "description": "GZip encoded KQL query representing the assessment automation results required." + "description": "Base 64 encoded KQL query representing the assessment automation results required." }, "description": { "type": "string", diff --git a/schemas/2021-07-01/Microsoft.Authorization.Resources.json b/schemas/2021-07-01/Microsoft.Authorization.Resources.json new file mode 100644 index 0000000000..5c7678147d --- /dev/null +++ b/schemas/2021-07-01/Microsoft.Authorization.Resources.json @@ -0,0 +1,174 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Authorization.Resources.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Authorization", + "description": "Microsoft Authorization Resource Types", + "resourceDefinitions": {}, + "unknown_resourceDefinitions": { + "policyExemptions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the policy exemption." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyExemptionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy exemption properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/policyExemptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Authorization/policyExemptions" + }, + "policyPricings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the policy pricing." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyPricingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy pricing properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/policyPricings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Authorization/policyPricings" + } + }, + "definitions": { + "PolicyExemptionProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The description of the policy exemption." + }, + "displayName": { + "type": "string", + "description": "The display name of the policy exemption." + }, + "exemptionCategory": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Waiver", + "Mitigated" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy exemption category. Possible values are Waiver and Mitigated." + }, + "expiresOn": { + "type": "string", + "format": "date-time", + "description": "The expiration date and time (in UTC ISO 8601 format yyyy-MM-ddTHH:mm:ssZ) of the policy exemption." + }, + "metadata": { + "type": "object", + "properties": {}, + "description": "The policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs." + }, + "policyAssignmentId": { + "type": "string", + "description": "The ID of the policy assignment that is being exempted." + }, + "policyDefinitionReferenceIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition." + } + }, + "required": [ + "exemptionCategory", + "policyAssignmentId" + ], + "description": "The policy exemption properties." + }, + "PolicyPricingProperties": { + "type": "object", + "properties": { + "pricingTier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Advanced", + "Defender" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy pricing tier. Possible values are Advanced and Defender." + } + }, + "required": [ + "pricingTier" + ], + "description": "The policy pricing properties." + } + } +} \ No newline at end of file diff --git a/schemas/2021-10-31-preview/Microsoft.ResourceConnector.json b/schemas/2021-10-31-preview/Microsoft.ResourceConnector.json new file mode 100644 index 0000000000..54646fb3d4 --- /dev/null +++ b/schemas/2021-10-31-preview/Microsoft.ResourceConnector.json @@ -0,0 +1,168 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-10-31-preview/Microsoft.ResourceConnector.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ResourceConnector", + "description": "Microsoft ResourceConnector Resource Types", + "resourceDefinitions": { + "appliances": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-31-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$", + "minLength": 1, + "maxLength": 63 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Appliances name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplianceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for an appliance." + }, + "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.ResourceConnector/appliances" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ResourceConnector/appliances" + } + }, + "definitions": { + "ApplianceProperties": { + "type": "object", + "properties": { + "distro": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AKSEdge" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents a supported Fabric/Infra. (AKSEdge etc...)." + }, + "infrastructureConfig": { + "oneOf": [ + { + "$ref": "#/definitions/AppliancePropertiesInfrastructureConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains infrastructure information about the Appliance" + }, + "publicKey": { + "type": "string", + "description": "Certificates pair used to download MSI certificate from HIS" + } + }, + "description": "Properties for an appliance." + }, + "AppliancePropertiesInfrastructureConfig": { + "type": "object", + "properties": { + "provider": { + "oneOf": [ + { + "type": "string", + "enum": [ + "VMWare", + "HCI", + "SCVMM" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information about the connected appliance." + } + }, + "description": "Contains infrastructure information about the Appliance" + }, + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identity type." + } + }, + "description": "Identity for the resource." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 975b3aca94..9f0124e96d 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -1933,6 +1933,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-06-30-preview/Microsoft.Automanage.json#/resourceDefinitions/accounts" }, @@ -10402,6 +10405,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.Relay.json#/resourceDefinitions/namespaces_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-31-preview/Microsoft.ResourceConnector.json#/resourceDefinitions/appliances" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.ResourceGraph.json#/resourceDefinitions/queries" }, From cd5ef8aa534a3d8cb516273fb5858cdc4b4d2e16 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 24 Oct 2021 13:52:24 +0000 Subject: [PATCH 11/21] Update resource list --- generator/resources.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/generator/resources.json b/generator/resources.json index 1f02cf4e4b..1ffa6f2580 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -890,7 +890,11 @@ "2020-05-01" ], "Microsoft.Authorization/policyExemptions": [ - "2020-07-01-preview" + "2020-07-01-preview", + "2021-07-01" + ], + "Microsoft.Authorization/policyPricings": [ + "2021-07-01" ], "Microsoft.Authorization/policySetDefinitions": [ "2017-06-01-preview", @@ -6880,6 +6884,9 @@ "Microsoft.Relay/namespaces/privateEndpointConnections": [ "2018-01-01-preview" ], + "Microsoft.ResourceConnector/appliances": [ + "2021-10-31-preview" + ], "Microsoft.ResourceGraph/queries": [ "2018-09-01-preview" ], From 5582f9d006e6e9bc4b4c9f606b14cbc9089aebee Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 25 Oct 2021 13:53:53 +0000 Subject: [PATCH 12/21] Update resource list --- generator/resources.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/generator/resources.json b/generator/resources.json index 1ffa6f2580..4238ad5b51 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -7074,6 +7074,9 @@ "2017-08-01-preview", "2018-06-01" ], + "Microsoft.Security/securityConnectors": [ + "2021-07-01-preview" + ], "Microsoft.Security/securityContacts": [ "2017-08-01-preview" ], From 99c605288700cbb1135637dfc98c17ea19e72cc8 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 26 Oct 2021 08:59:18 +0000 Subject: [PATCH 13/21] Autogenerate schemas --- .../2018-09-07-preview/Microsoft.Kusto.json | 26 -- schemas/2019-01-21/Microsoft.Kusto.json | 28 --- schemas/2019-05-15/Microsoft.Kusto.json | 28 --- schemas/2019-09-07/Microsoft.Kusto.json | 39 --- schemas/2019-11-09/Microsoft.Kusto.json | 39 --- schemas/2020-02-15/Microsoft.Kusto.json | 39 --- schemas/2020-06-14/Microsoft.Kusto.json | 39 --- schemas/2020-09-18/Microsoft.Kusto.json | 210 ---------------- schemas/2021-01-01/Microsoft.Kusto.json | 229 ------------------ 9 files changed, 677 deletions(-) diff --git a/schemas/2018-09-07-preview/Microsoft.Kusto.json b/schemas/2018-09-07-preview/Microsoft.Kusto.json index 0221263444..faa380e540 100644 --- a/schemas/2018-09-07-preview/Microsoft.Kusto.json +++ b/schemas/2018-09-07-preview/Microsoft.Kusto.json @@ -398,16 +398,6 @@ } ], "description": "The number of days data should be kept before it stops being accessible to queries." - }, - "statistics": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseStatistics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] } }, "required": [ @@ -415,22 +405,6 @@ ], "description": "Class representing the Kusto database properties." }, - "DatabaseStatistics": { - "type": "object", - "properties": { - "size": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The database size - the total size of compressed data and index in bytes." - } - } - }, "EventHubConnectionProperties": { "type": "object", "properties": { diff --git a/schemas/2019-01-21/Microsoft.Kusto.json b/schemas/2019-01-21/Microsoft.Kusto.json index dfa26ab6e7..3d01129f75 100644 --- a/schemas/2019-01-21/Microsoft.Kusto.json +++ b/schemas/2019-01-21/Microsoft.Kusto.json @@ -353,38 +353,10 @@ "type": "string", "format": "duration", "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." - }, - "statistics": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseStatistics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains database statistics information." } }, "description": "Class representing the Kusto database properties." }, - "DatabaseStatistics": { - "type": "object", - "properties": { - "size": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The database size - the total size of compressed data and index in bytes." - } - }, - "description": "A class that contains database statistics information." - }, "EventGridConnectionProperties": { "type": "object", "properties": { diff --git a/schemas/2019-05-15/Microsoft.Kusto.json b/schemas/2019-05-15/Microsoft.Kusto.json index 15f9879631..5fd2d6385a 100644 --- a/schemas/2019-05-15/Microsoft.Kusto.json +++ b/schemas/2019-05-15/Microsoft.Kusto.json @@ -418,38 +418,10 @@ "type": "string", "format": "duration", "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." - }, - "statistics": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseStatistics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains database statistics information." } }, "description": "Class representing the Kusto database properties." }, - "DatabaseStatistics": { - "type": "object", - "properties": { - "size": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The database size - the total size of compressed data and index in bytes." - } - }, - "description": "A class that contains database statistics information." - }, "EventGridConnectionProperties": { "type": "object", "properties": { diff --git a/schemas/2019-09-07/Microsoft.Kusto.json b/schemas/2019-09-07/Microsoft.Kusto.json index 66fbf421d5..4312bd6a23 100644 --- a/schemas/2019-09-07/Microsoft.Kusto.json +++ b/schemas/2019-09-07/Microsoft.Kusto.json @@ -548,23 +548,6 @@ "type": "object", "properties": {} }, - "DatabaseStatistics": { - "type": "object", - "properties": { - "size": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The database size - the total size of compressed data and index in bytes." - } - }, - "description": "A class that contains database statistics information." - }, "EventGridConnectionProperties": { "type": "object", "properties": { @@ -987,17 +970,6 @@ "type": "string", "format": "duration", "description": "The time the data should be kept in cache for fast queries in TimeSpan." - }, - "statistics": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseStatistics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains database statistics information." } }, "description": "Class representing the Kusto database properties." @@ -1040,17 +1012,6 @@ "type": "string", "format": "duration", "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." - }, - "statistics": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseStatistics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains database statistics information." } }, "description": "Class representing the Kusto database properties." diff --git a/schemas/2019-11-09/Microsoft.Kusto.json b/schemas/2019-11-09/Microsoft.Kusto.json index 51ef150f2c..0aec65dd9d 100644 --- a/schemas/2019-11-09/Microsoft.Kusto.json +++ b/schemas/2019-11-09/Microsoft.Kusto.json @@ -851,23 +851,6 @@ ], "description": "A class representing database principal property." }, - "DatabaseStatistics": { - "type": "object", - "properties": { - "size": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The database size - the total size of compressed data and index in bytes." - } - }, - "description": "A class that contains database statistics information." - }, "EventGridConnectionProperties": { "type": "object", "properties": { @@ -1311,17 +1294,6 @@ "type": "string", "format": "duration", "description": "The time the data should be kept in cache for fast queries in TimeSpan." - }, - "statistics": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseStatistics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains database statistics information." } }, "description": "Class representing the Kusto database properties." @@ -1364,17 +1336,6 @@ "type": "string", "format": "duration", "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." - }, - "statistics": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseStatistics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains database statistics information." } }, "description": "Class representing the Kusto database properties." diff --git a/schemas/2020-02-15/Microsoft.Kusto.json b/schemas/2020-02-15/Microsoft.Kusto.json index dc601d73b1..e81f0951f3 100644 --- a/schemas/2020-02-15/Microsoft.Kusto.json +++ b/schemas/2020-02-15/Microsoft.Kusto.json @@ -883,23 +883,6 @@ ], "description": "A class representing database principal property." }, - "DatabaseStatistics": { - "type": "object", - "properties": { - "size": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The database size - the total size of compressed data and index in bytes." - } - }, - "description": "A class that contains database statistics information." - }, "EventGridConnectionProperties": { "type": "object", "properties": { @@ -1384,17 +1367,6 @@ "type": "string", "format": "duration", "description": "The time the data should be kept in cache for fast queries in TimeSpan." - }, - "statistics": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseStatistics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains database statistics information." } }, "description": "Class representing the Kusto database properties." @@ -1437,17 +1409,6 @@ "type": "string", "format": "duration", "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." - }, - "statistics": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseStatistics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains database statistics information." } }, "description": "Class representing the Kusto database properties." diff --git a/schemas/2020-06-14/Microsoft.Kusto.json b/schemas/2020-06-14/Microsoft.Kusto.json index 0dbe44bb6f..0371becd03 100644 --- a/schemas/2020-06-14/Microsoft.Kusto.json +++ b/schemas/2020-06-14/Microsoft.Kusto.json @@ -884,23 +884,6 @@ ], "description": "A class representing database principal property." }, - "DatabaseStatistics": { - "type": "object", - "properties": { - "size": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The database size - the total size of compressed data and index in bytes." - } - }, - "description": "A class that contains database statistics information." - }, "EventGridConnectionProperties": { "type": "object", "properties": { @@ -1374,17 +1357,6 @@ "type": "string", "format": "duration", "description": "The time the data should be kept in cache for fast queries in TimeSpan." - }, - "statistics": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseStatistics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains database statistics information." } }, "description": "Class representing the Kusto database properties." @@ -1427,17 +1399,6 @@ "type": "string", "format": "duration", "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." - }, - "statistics": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseStatistics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains database statistics information." } }, "description": "Class representing the Kusto database properties." diff --git a/schemas/2020-09-18/Microsoft.Kusto.json b/schemas/2020-09-18/Microsoft.Kusto.json index 0eed12f8dc..a9d56ce154 100644 --- a/schemas/2020-09-18/Microsoft.Kusto.json +++ b/schemas/2020-09-18/Microsoft.Kusto.json @@ -395,25 +395,6 @@ } ], "description": "The default principals modification kind." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." } }, "required": [ @@ -517,25 +498,6 @@ ], "description": "Principal type." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "role": { "oneOf": [ { @@ -650,25 +612,6 @@ ], "description": "A class that contains the optimized auto scale definition." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "trustedExternalTenants": { "oneOf": [ { @@ -926,25 +869,6 @@ ], "description": "Principal type." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "role": { "oneOf": [ { @@ -976,23 +900,6 @@ ], "description": "A class representing database principal property." }, - "DatabaseStatistics": { - "type": "object", - "properties": { - "size": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The database size - the total size of compressed data and index in bytes." - } - }, - "description": "A class that contains database statistics information." - }, "EventGridConnectionProperties": { "type": "object", "properties": { @@ -1063,25 +970,6 @@ "type": "string", "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "storageAccountResourceId": { "type": "string", "description": "The resource ID of the storage account where the data resides." @@ -1197,25 +1085,6 @@ "type": "string", "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "tableName": { "type": "string", "description": "The table where the data should be ingested. Optionally the table information can be added to each message." @@ -1352,25 +1221,6 @@ "type": "string", "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "sharedAccessPolicyName": { "type": "string", "description": "The name of the share access policy" @@ -1528,36 +1378,6 @@ "type": "string", "format": "duration", "description": "The time the data should be kept in cache for fast queries in TimeSpan." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, - "statistics": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseStatistics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains database statistics information." } }, "description": "Class representing the Kusto database properties." @@ -1596,40 +1416,10 @@ "format": "duration", "description": "The time the data should be kept in cache for fast queries in TimeSpan." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "softDeletePeriod": { "type": "string", "format": "duration", "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." - }, - "statistics": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseStatistics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains database statistics information." } }, "description": "Class representing the Kusto database properties." diff --git a/schemas/2021-01-01/Microsoft.Kusto.json b/schemas/2021-01-01/Microsoft.Kusto.json index 9f04e36638..475abb0d9f 100644 --- a/schemas/2021-01-01/Microsoft.Kusto.json +++ b/schemas/2021-01-01/Microsoft.Kusto.json @@ -438,25 +438,6 @@ ], "description": "The default principals modification kind." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "tableLevelSharingProperties": { "oneOf": [ { @@ -573,25 +554,6 @@ ], "description": "Principal type." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "role": { "oneOf": [ { @@ -707,25 +669,6 @@ ], "description": "A class that contains the optimized auto scale definition." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "trustedExternalTenants": { "oneOf": [ { @@ -1022,25 +965,6 @@ ], "description": "Principal type." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "role": { "oneOf": [ { @@ -1072,23 +996,6 @@ ], "description": "A class representing database principal property." }, - "DatabaseStatistics": { - "type": "object", - "properties": { - "size": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The database size - the total size of compressed data and index in bytes." - } - }, - "description": "A class that contains database statistics information." - }, "EventGridConnectionProperties": { "type": "object", "properties": { @@ -1159,25 +1066,6 @@ "type": "string", "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "storageAccountResourceId": { "type": "string", "description": "The resource ID of the storage account where the data resides." @@ -1297,25 +1185,6 @@ "type": "string", "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "tableName": { "type": "string", "description": "The table where the data should be ingested. Optionally the table information can be added to each message." @@ -1452,25 +1321,6 @@ "type": "string", "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "sharedAccessPolicyName": { "type": "string", "description": "The name of the share access policy" @@ -1628,36 +1478,6 @@ "type": "string", "format": "duration", "description": "The time the data should be kept in cache for fast queries in TimeSpan." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, - "statistics": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseStatistics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains database statistics information." } }, "description": "Class representing the Kusto database properties." @@ -1696,40 +1516,10 @@ "format": "duration", "description": "The time the data should be kept in cache for fast queries in TimeSpan." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "softDeletePeriod": { "type": "string", "format": "duration", "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." - }, - "statistics": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseStatistics" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains database statistics information." } }, "description": "Class representing the Kusto database properties." @@ -1753,25 +1543,6 @@ "type": "string", "description": "A unique string. If changed the script will be applied again." }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Moving" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioned state of the resource." - }, "scriptUrl": { "type": "string", "description": "The url to the KQL script blob file." From bc3c66b72c291ab0aa61b3c30c5cf55b6a5c1079 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 26 Oct 2021 08:59:33 +0000 Subject: [PATCH 14/21] Update resource list --- generator/resources.json | 145 ++++++++++++++++++++++++++------------- 1 file changed, 97 insertions(+), 48 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 4238ad5b51..43a4ee9db3 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3017,12 +3017,14 @@ "Microsoft.DocumentDB/cassandraClusters": [ "2021-03-01-preview", "2021-04-01-preview", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/cassandraClusters/dataCenters": [ "2021-03-01-preview", "2021-04-01-preview", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts": [ "2015-04-01", @@ -3043,7 +3045,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/apis/databases": [ "2015-04-01", @@ -3157,7 +3160,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables": [ "2019-08-01", @@ -3173,7 +3177,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings": [ "2019-08-01", @@ -3189,7 +3194,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings": [ "2019-08-01", @@ -3205,7 +3211,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views": [ "2021-07-01-preview" @@ -3230,7 +3237,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs": [ "2019-08-01", @@ -3246,7 +3254,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings": [ "2019-08-01", @@ -3262,7 +3271,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings": [ "2019-08-01", @@ -3278,7 +3288,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases": [ "2019-08-01", @@ -3294,7 +3305,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections": [ "2019-08-01", @@ -3310,7 +3322,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings": [ "2019-08-01", @@ -3326,7 +3339,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings": [ "2019-08-01", @@ -3342,7 +3356,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces": [ "2019-08-01", @@ -3358,7 +3373,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections": [ "2019-08-01-preview", @@ -3369,7 +3385,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/services": [ "2021-04-01-preview", @@ -3389,7 +3406,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers": [ "2019-08-01", @@ -3405,7 +3423,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures": [ "2019-08-01", @@ -3421,7 +3440,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings": [ "2019-08-01", @@ -3437,7 +3457,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers": [ "2019-08-01", @@ -3453,7 +3474,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions": [ "2019-08-01", @@ -3469,7 +3491,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings": [ "2019-08-01", @@ -3485,7 +3508,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments": [ "2020-06-01-preview", @@ -3494,7 +3518,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions": [ "2020-06-01-preview", @@ -3503,7 +3528,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/tables": [ "2019-08-01", @@ -3519,7 +3545,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings": [ "2019-08-01", @@ -3535,7 +3562,8 @@ "2021-04-15", "2021-05-15", "2021-06-15", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-10-15" ], "Microsoft.DomainRegistration/domains": [ "2015-04-01", @@ -3943,7 +3971,8 @@ "Microsoft.Insights/autoscalesettings": [ "2014-04-01", "2014-04-01", - "2015-04-01" + "2015-04-01", + "2021-05-01-preview" ], "Microsoft.Insights/components": [ "2014-04-01", @@ -4108,22 +4137,17 @@ "2020-02-15", "2020-06-14", "2020-09-18", - "2021-01-01" + "2021-01-01", + "2021-08-27" ], - "Microsoft.Kusto/clusters/AttachedDatabaseConfigurations": [ + "Microsoft.Kusto/clusters/attachedDatabaseConfigurations": [ "2019-09-07", "2019-11-09", "2020-02-15", "2020-06-14", "2020-09-18", - "2021-01-01" - ], - "Microsoft.Kusto/clusters/dataConnections": [ - "2019-11-09", - "2020-02-15", - "2020-06-14", - "2020-09-18", - "2021-01-01" + "2021-01-01", + "2021-08-27" ], "Microsoft.Kusto/clusters/databases": [ "2017-09-07-privatepreview", @@ -4135,9 +4159,10 @@ "2020-02-15", "2020-06-14", "2020-09-18", - "2021-01-01" + "2021-01-01", + "2021-08-27" ], - "Microsoft.Kusto/clusters/databases/dataconnections": [ + "Microsoft.Kusto/clusters/databases/dataConnections": [ "2019-01-21", "2019-05-15", "2019-09-07", @@ -4145,24 +4170,45 @@ "2020-02-15", "2020-06-14", "2020-09-18", - "2021-01-01" + "2021-01-01", + "2021-08-27" + ], + "Microsoft.Kusto/clusters/databases/eventhubconnections": [ + "2018-09-07-preview" ], "Microsoft.Kusto/clusters/databases/principalAssignments": [ "2019-11-09", "2020-02-15", "2020-06-14", "2020-09-18", - "2021-01-01" + "2021-01-01", + "2021-08-27" ], "Microsoft.Kusto/clusters/databases/scripts": [ - "2021-01-01" + "2021-01-01", + "2021-08-27" + ], + "Microsoft.Kusto/clusters/dataconnections": [ + "2019-11-09", + "2020-02-15", + "2020-06-14", + "2020-09-18", + "2021-01-01", + "2021-08-27" + ], + "Microsoft.Kusto/clusters/managedPrivateEndpoints": [ + "2021-08-27" ], "Microsoft.Kusto/clusters/principalAssignments": [ "2019-11-09", "2020-02-15", "2020-06-14", "2020-09-18", - "2021-01-01" + "2021-01-01", + "2021-08-27" + ], + "Microsoft.Kusto/clusters/privateEndpointConnections": [ + "2021-08-27" ], "Microsoft.LabServices/labPlans": [ "2021-10-01-preview" @@ -7333,19 +7379,22 @@ "2020-07-01-preview", "2021-04-01-preview", "2021-06-01-preview", - "2021-09-01-preview" + "2021-09-01-preview", + "2021-10-01" ], "Microsoft.SignalRService/signalR/privateEndpointConnections": [ "2020-05-01", "2020-07-01-preview", "2021-04-01-preview", "2021-06-01-preview", - "2021-09-01-preview" + "2021-09-01-preview", + "2021-10-01" ], "Microsoft.SignalRService/signalR/sharedPrivateLinkResources": [ "2021-04-01-preview", "2021-06-01-preview", - "2021-09-01-preview" + "2021-09-01-preview", + "2021-10-01" ], "Microsoft.SignalRService/webPubSub": [ "2021-04-01-preview", From 2f4506dfa341e2e96b3c373d5aa7d8227c7e8d78 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 26 Oct 2021 10:32:44 +0000 Subject: [PATCH 15/21] Autogenerate schemas --- .../2021-03-15-preview/Microsoft.Quota.json | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/schemas/2021-03-15-preview/Microsoft.Quota.json b/schemas/2021-03-15-preview/Microsoft.Quota.json index ea6c4c4c29..916cf07d70 100644 --- a/schemas/2021-03-15-preview/Microsoft.Quota.json +++ b/schemas/2021-03-15-preview/Microsoft.Quota.json @@ -48,9 +48,55 @@ "definitions": { "LimitJsonObject": { "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/LimitObject" + } + ], "properties": {}, "description": "LimitJson abstract class." }, + "LimitObject": { + "type": "object", + "properties": { + "limitObjectType": { + "type": "string", + "enum": [ + "LimitValue" + ] + }, + "limitType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Independent", + "Shared" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "value": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The quota/limit value" + } + }, + "required": [ + "limitObjectType", + "value" + ], + "description": "The resource quota limit value." + }, "QuotaProperties": { "type": "object", "properties": { From 3e9e1aa475fca91a05f34d7f5d390ff5a715cc64 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 26 Oct 2021 13:41:54 +0000 Subject: [PATCH 16/21] Autogenerate schemas --- schemas/2021-07-01-preview/Microsoft.Security.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/2021-07-01-preview/Microsoft.Security.json b/schemas/2021-07-01-preview/Microsoft.Security.json index d940ec6f62..5ede467efe 100644 --- a/schemas/2021-07-01-preview/Microsoft.Security.json +++ b/schemas/2021-07-01-preview/Microsoft.Security.json @@ -538,7 +538,7 @@ "SecurityConnectorPropertiesOrganizationalData": { "type": "object", "properties": { - "excludedAccountId": { + "excludedAccountIds": { "oneOf": [ { "type": "array", From 85a9b62491e8774c14d27782b672831666a06ddf Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 28 Oct 2021 09:07:38 +0000 Subject: [PATCH 17/21] Autogenerate schemas --- schemas/2021-03-01/Microsoft.Compute.json | 5 +++++ schemas/2021-04-01/Microsoft.Compute.json | 5 +++++ schemas/2021-07-01/Microsoft.Compute.json | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/schemas/2021-03-01/Microsoft.Compute.json b/schemas/2021-03-01/Microsoft.Compute.json index 4168bb5c02..c577da3e26 100644 --- a/schemas/2021-03-01/Microsoft.Compute.json +++ b/schemas/2021-03-01/Microsoft.Compute.json @@ -3562,6 +3562,11 @@ } ], "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included." + }, + "timeCreated": { + "type": "string", + "format": "date-time", + "description": "Gets the creation time of the restore point." } }, "description": "The restore point properties." diff --git a/schemas/2021-04-01/Microsoft.Compute.json b/schemas/2021-04-01/Microsoft.Compute.json index 021641678a..c753f5603e 100644 --- a/schemas/2021-04-01/Microsoft.Compute.json +++ b/schemas/2021-04-01/Microsoft.Compute.json @@ -4364,6 +4364,11 @@ } ], "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included." + }, + "timeCreated": { + "type": "string", + "format": "date-time", + "description": "Gets the creation time of the restore point." } }, "description": "The restore point properties." diff --git a/schemas/2021-07-01/Microsoft.Compute.json b/schemas/2021-07-01/Microsoft.Compute.json index c220ee42d4..4ebf4d7913 100644 --- a/schemas/2021-07-01/Microsoft.Compute.json +++ b/schemas/2021-07-01/Microsoft.Compute.json @@ -4633,6 +4633,11 @@ } ], "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included." + }, + "timeCreated": { + "type": "string", + "format": "date-time", + "description": "Gets the creation time of the restore point." } }, "description": "The restore point properties." From bb18b36df094b0df996dce3608277fa331d80107 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 28 Oct 2021 14:00:07 +0000 Subject: [PATCH 18/21] Autogenerate schemas --- .../managementGroupDeploymentTemplate.json | 6 - .../Microsoft.Authorization.Resources.json | 174 ------------------ 2 files changed, 180 deletions(-) delete mode 100644 schemas/2021-07-01/Microsoft.Authorization.Resources.json diff --git a/schemas/2019-08-01/managementGroupDeploymentTemplate.json b/schemas/2019-08-01/managementGroupDeploymentTemplate.json index d0fc41e183..3e293cf178 100644 --- a/schemas/2019-08-01/managementGroupDeploymentTemplate.json +++ b/schemas/2019-08-01/managementGroupDeploymentTemplate.json @@ -641,12 +641,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyPricings" - }, { "$ref": "https://schema.management.azure.com/schemas/2017-11-11-preview/Microsoft.Blueprint.json#/managementGroup_resourceDefinitions/blueprints" }, diff --git a/schemas/2021-07-01/Microsoft.Authorization.Resources.json b/schemas/2021-07-01/Microsoft.Authorization.Resources.json deleted file mode 100644 index 5c7678147d..0000000000 --- a/schemas/2021-07-01/Microsoft.Authorization.Resources.json +++ /dev/null @@ -1,174 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Authorization.Resources.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Authorization", - "description": "Microsoft Authorization Resource Types", - "resourceDefinitions": {}, - "unknown_resourceDefinitions": { - "policyExemptions": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the policy exemption." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PolicyExemptionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The policy exemption properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Authorization/policyExemptions" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Authorization/policyExemptions" - }, - "policyPricings": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-07-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the policy pricing." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PolicyPricingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The policy pricing properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Authorization/policyPricings" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Authorization/policyPricings" - } - }, - "definitions": { - "PolicyExemptionProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The description of the policy exemption." - }, - "displayName": { - "type": "string", - "description": "The display name of the policy exemption." - }, - "exemptionCategory": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Waiver", - "Mitigated" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The policy exemption category. Possible values are Waiver and Mitigated." - }, - "expiresOn": { - "type": "string", - "format": "date-time", - "description": "The expiration date and time (in UTC ISO 8601 format yyyy-MM-ddTHH:mm:ssZ) of the policy exemption." - }, - "metadata": { - "type": "object", - "properties": {}, - "description": "The policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs." - }, - "policyAssignmentId": { - "type": "string", - "description": "The ID of the policy assignment that is being exempted." - }, - "policyDefinitionReferenceIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition." - } - }, - "required": [ - "exemptionCategory", - "policyAssignmentId" - ], - "description": "The policy exemption properties." - }, - "PolicyPricingProperties": { - "type": "object", - "properties": { - "pricingTier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Advanced", - "Defender" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The policy pricing tier. Possible values are Advanced and Defender." - } - }, - "required": [ - "pricingTier" - ], - "description": "The policy pricing properties." - } - } -} \ No newline at end of file From 092f21e739ae9ca804d5bb2f58fdc05c8f8860d1 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 29 Oct 2021 10:33:54 +0000 Subject: [PATCH 19/21] Autogenerate schemas --- .../2021-12-01-preview/Microsoft.Maps.json | 428 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 6 + 2 files changed, 434 insertions(+) create mode 100644 schemas/2021-12-01-preview/Microsoft.Maps.json diff --git a/schemas/2021-12-01-preview/Microsoft.Maps.json b/schemas/2021-12-01-preview/Microsoft.Maps.json new file mode 100644 index 0000000000..d015221f2d --- /dev/null +++ b/schemas/2021-12-01-preview/Microsoft.Maps.json @@ -0,0 +1,428 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-12-01-preview/Microsoft.Maps.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Maps", + "description": "Microsoft Maps Resource Types", + "resourceDefinitions": { + "accounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-12-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Gen1", + "Gen2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Get or Set Kind property." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the Maps Account." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MapsAccountProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional Map account properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/accounts_creators_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU of the Maps Account." + }, + "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.Maps/accounts" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Maps/accounts" + }, + "accounts_creators": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-12-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the Maps Creator instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreatorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Creator resource properties" + }, + "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.Maps/accounts/creators" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Maps/accounts/creators" + } + }, + "definitions": { + "accounts_creators_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-12-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the Maps Creator instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreatorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Creator resource properties" + }, + "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": [ + "creators" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Maps/accounts/creators" + }, + "Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties": { + "type": "object", + "properties": {} + }, + "CorsRule": { + "type": "object", + "properties": { + "allowedOrigins": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"*\" to allow all domains" + } + }, + "required": [ + "allowedOrigins" + ], + "description": "Specifies a CORS rule for the Map Account." + }, + "CorsRules": { + "type": "object", + "properties": { + "corsRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/CorsRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of CORS rules. You can include up to five CorsRule elements in the request. " + } + }, + "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. " + }, + "CreatorProperties": { + "type": "object", + "properties": { + "storageUnits": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The storage units to be allocated. Integer values from 1 to 100, inclusive." + } + }, + "required": [ + "storageUnits" + ], + "description": "Creator resource properties" + }, + "LinkedResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/accounts/{storageName}'." + }, + "uniqueName": { + "type": "string", + "description": "A provided name which uniquely identifies the linked resource." + } + }, + "required": [ + "id", + "uniqueName" + ], + "description": "Linked resource is reference to a resource deployed in an Azure subscription, add the linked resource `uniqueName` value as an optional parameter for operations on Azure Maps Geospatial REST APIs." + }, + "ManagedServiceIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identity type." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user 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." + }, + "MapsAccountProperties": { + "type": "object", + "properties": { + "cors": { + "oneOf": [ + { + "$ref": "#/definitions/CorsRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. " + }, + "disableLocalAuth": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allows toggle functionality on Azure Policy to disable Azure Maps local authentication support. This will disable Shared Keys authentication from any usage." + }, + "linkedResources": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LinkedResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The array of associated resources to the Map account. Linked resource in the array cannot individually update, you must update all linked resources in the array together. These resources may be used on operations on the Azure Maps REST API. Access is controlled by the Map Account Managed Identity(s) permissions to those resource(s)." + } + }, + "description": "Additional Map account properties" + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "S0", + "S1", + "G2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the SKU, in standard format (such as S0)." + } + }, + "required": [ + "name" + ], + "description": "The SKU of the Maps Account." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 47176c2dc2..8f23126d0c 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -9049,6 +9049,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-12-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-12-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects" }, From cbf15bcf504bfcc2bb38b528387ab5164eaa6ee5 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 29 Oct 2021 14:01:20 +0000 Subject: [PATCH 20/21] Generated report --- onboarded-report/result.json | 134 +++++++++++------------------------ 1 file changed, 41 insertions(+), 93 deletions(-) diff --git a/onboarded-report/result.json b/onboarded-report/result.json index a0afc33db4..a0ab2946b0 100644 --- a/onboarded-report/result.json +++ b/onboarded-report/result.json @@ -33,10 +33,8 @@ }, { "basePath": "agrifood/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.AgFoodPlatform" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -101,10 +99,8 @@ }, { "basePath": "azure-kusto/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.Kusto" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -133,18 +129,14 @@ }, { "basePath": "azurestackhci/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.AzureStackHCI" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { "basePath": "baremetalinfrastructure/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.BareMetalInfrastructure" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -239,10 +231,8 @@ }, { "basePath": "confidentialledger/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.ConfidentialLedger" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -289,18 +279,14 @@ }, { "basePath": "cost-management/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.CostManagement" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { "basePath": "cpim/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.AzureActiveDirectory" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -371,10 +357,8 @@ }, { "basePath": "dataprotection/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.DataProtection" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -427,10 +411,8 @@ }, { "basePath": "dfp/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.Dynamics365Fraudprotection" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -441,10 +423,8 @@ }, { "basePath": "dnc/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.DelegatedNetwork" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -465,10 +445,8 @@ }, { "basePath": "edgeorder/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.EdgeOrder" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -511,10 +489,8 @@ }, { "basePath": "fluidrelay/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.FluidRelay" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -615,10 +591,8 @@ }, { "basePath": "iotsecurity/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.IoTSecurity" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -661,10 +635,8 @@ }, { "basePath": "m365securityandcompliance/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.M365SecurityAndCompliance" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -743,18 +715,14 @@ }, { "basePath": "marketplacenotifications/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.MarketplaceNotifications" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { "basePath": "marketplaceordering/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.MarketplaceOrdering" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -907,10 +875,8 @@ }, { "basePath": "providerhub/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.ProviderHub" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -927,10 +893,8 @@ }, { "basePath": "quota/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.Quota" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -1005,23 +969,11 @@ "missing": [], "onboarded": [] }, - { - "basePath": "resources/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.Features", - "Microsoft.Solutions" - ], - "onboarded": [] - }, { "basePath": "resources/resource-manager", "onboardedToAutogen": "yes", "missing": [], - "onboarded": [ - "Microsoft.Resources", - "Microsoft.Authorization" - ] + "onboarded": [] }, { "basePath": "saas/resource-manager", @@ -1049,10 +1001,8 @@ }, { "basePath": "securityandcompliance/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.SecurityAndCompliance" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -1197,10 +1147,8 @@ }, { "basePath": "testbase/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.TestBase" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { From 7e54fc917c35acc76b3b77f840cb08909d293059 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Fri, 29 Oct 2021 19:27:01 +0000 Subject: [PATCH 21/21] Fix 2021-07-01/Microsoft.Authorization.Resources.json error --- schemas/2018-05-01/subscriptionDeploymentTemplate.json | 6 ------ schemas/common/autogeneratedResources.json | 3 --- 2 files changed, 9 deletions(-) diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index 12a0a710bb..230701689e 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -689,12 +689,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyPricings" - }, { "$ref": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.Billing.json#/subscription_resourceDefinitions/billingAccounts_lineOfCredit" }, diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 8f23126d0c..985f436ae1 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -1933,9 +1933,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions" - }, { "$ref": "https://schema.management.azure.com/schemas/2020-06-30-preview/Microsoft.Automanage.json#/resourceDefinitions/accounts" },