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