diff --git a/schemas/2020-12-01-preview/Microsoft.Purview.json b/schemas/2020-12-01-preview/Microsoft.Purview.json new file mode 100644 index 0000000000..7045ded445 --- /dev/null +++ b/schemas/2020-12-01-preview/Microsoft.Purview.json @@ -0,0 +1,337 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-12-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": [ + "2020-12-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": { + "type": "string", + "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_privateEndpointConnections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/AccountSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "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_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-12-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": { + "AccountProperties": { + "type": "object", + "properties": { + "cloudConnectors": { + "oneOf": [ + { + "$ref": "#/definitions/CloudConnectors" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for configuring third party cloud connections." + }, + "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." + } + }, + "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. Possible values include: 4, 16" + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the sku name." + } + }, + "description": "The Sku" + }, + "accounts_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-12-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": "Properties for configuring third party cloud connections." + }, + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity Type." + } + }, + "description": "The Managed Identity of the resource" + }, + "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." + } + } +}