diff --git a/schemas/2024-04-01-preview/Microsoft.Purview.json b/schemas/2024-04-01-preview/Microsoft.Purview.json new file mode 100644 index 0000000000..b21042a4d2 --- /dev/null +++ b/schemas/2024-04-01-preview/Microsoft.Purview.json @@ -0,0 +1,673 @@ +{ + "id": "https://schema.management.azure.com/schemas/2024-04-01-preview/Microsoft.Purview.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Purview", + "description": "Microsoft Purview Resource Types", + "resourceDefinitions": { + "accounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2024-04-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Managed Identity of the resource" + }, + "location": { + "type": "string", + "description": "Gets or sets the location." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$", + "minLength": 3, + "maxLength": 63 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the account." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AccountProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The account properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/accounts_kafkaConfigurations_childResource" + }, + { + "$ref": "#/definitions/accounts_privateEndpointConnections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/AccountSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the Sku." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags on the azure resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Purview/accounts" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Purview/accounts" + }, + "accounts_kafkaConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2024-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$", + "minLength": 3, + "maxLength": 63 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The kafka configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KafkaConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The kafka configuration properties of the event streaming service attached to the Purview account for kafka notifications." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Purview/accounts/kafkaConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Purview/accounts/kafkaConfigurations" + }, + "accounts_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2024-04-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A private endpoint connection properties class." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Purview/accounts/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Purview/accounts/privateEndpointConnections" + } + }, + "definitions": { + "AccountMergeInfo": { + "type": "object", + "properties": {}, + "description": "The public Account Merge Info model." + }, + "AccountProperties": { + "type": "object", + "properties": { + "cloudConnectors": { + "oneOf": [ + { + "$ref": "#/definitions/CloudConnectors" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "External Cloud Service connectors" + }, + "ingestionStorage": { + "oneOf": [ + { + "$ref": "#/definitions/IngestionStorage" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Ingestion Storage Account Info" + }, + "managedEventHubState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the state of managed eventhub. If enabled managed eventhub will be created, if disabled the managed eventhub will be removed." + }, + "managedResourceGroupName": { + "type": "string", + "description": "Gets or sets the managed resource group name" + }, + "managedResourcesPublicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the public network access for managed resources." + }, + "mergeInfo": { + "oneOf": [ + { + "$ref": "#/definitions/AccountMergeInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The public Account Merge Info model." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the public network access." + }, + "tenantEndpointState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the state of tenant endpoint." + } + }, + "description": "The account properties" + }, + "AccountSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the sku capacity." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Free" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the sku name." + } + }, + "description": "Gets or sets the Sku." + }, + "accounts_kafkaConfigurations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2024-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$", + "minLength": 3, + "maxLength": 63 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The kafka configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KafkaConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The kafka configuration properties of the event streaming service attached to the Purview account for kafka notifications." + }, + "type": { + "type": "string", + "enum": [ + "kafkaConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Purview/accounts/kafkaConfigurations" + }, + "accounts_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2024-04-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A private endpoint connection properties class." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Purview/accounts/privateEndpointConnections" + }, + "CloudConnectors": { + "type": "object", + "properties": {}, + "description": "External Cloud Service connectors" + }, + "Credentials": { + "type": "object", + "properties": { + "identityId": { + "type": "string", + "description": "Identity identifier for UserAssign type." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity Type." + } + }, + "description": "Credentials to access the event streaming service attached to the purview account." + }, + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity Type." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User Assigned Identities" + } + }, + "description": "The Managed Identity of the resource" + }, + "IngestionStorage": { + "type": "object", + "properties": { + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the public network access setting." + } + }, + "description": "Ingestion Storage Account Info" + }, + "KafkaConfigurationProperties": { + "type": "object", + "properties": { + "consumerGroup": { + "type": "string", + "description": "Consumer group for hook event hub." + }, + "credentials": { + "oneOf": [ + { + "$ref": "#/definitions/Credentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Credentials to access the event streaming service attached to the purview account." + }, + "eventHubPartitionId": { + "type": "string", + "description": "Optional partition Id for notification event hub. If not set, all partitions will be leveraged." + }, + "eventHubResourceId": { + "type": "string", + "format": "arm-id" + }, + "eventHubType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Notification", + "Hook" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The event hub type." + }, + "eventStreamingState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The state of the event streaming service." + }, + "eventStreamingType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Managed", + "Azure" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The event streaming service type." + } + }, + "description": "The kafka configuration properties of the event streaming service attached to the Purview account for kafka notifications." + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The private endpoint identifier." + } + }, + "description": "A private endpoint class." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A private endpoint class." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link service connection state." + } + }, + "description": "A private endpoint connection properties class." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "The required actions." + }, + "description": { + "type": "string", + "description": "The description." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unknown", + "Pending", + "Approved", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The status." + } + }, + "description": "The private link service connection state." + }, + "UserAssignedIdentity": { + "type": "object", + "properties": {}, + "description": "Uses client ID and Principal ID" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index f7baeacd9f..a0cf6aba70 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -33763,6 +33763,15 @@ { "$ref": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Purview.json#/resourceDefinitions/accounts_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2024-04-01-preview/Microsoft.Purview.json#/resourceDefinitions/accounts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2024-04-01-preview/Microsoft.Purview.json#/resourceDefinitions/accounts_kafkaConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2024-04-01-preview/Microsoft.Purview.json#/resourceDefinitions/accounts_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-11-04-preview/Microsoft.Quantum.json#/resourceDefinitions/workspaces" },