From 89b5b5ca1b9111465af2db2983170f9cbf05c95d Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Mon, 21 Sep 2020 12:48:25 +0000 Subject: [PATCH] Generated from 692005a0f4e7bf6408bf20193ec16166b80b4a38 --- .../2018-09-07-preview/Microsoft.Kusto.json | 558 ++++--- schemas/2019-01-21/Microsoft.Kusto.json | 959 ++++++----- schemas/2019-05-15/Microsoft.Kusto.json | 1307 ++++++++------- schemas/2019-09-07/Microsoft.Kusto.json | 907 +++++++---- schemas/2019-11-09/Microsoft.Kusto.json | 1281 +++++++++------ schemas/2020-02-15/Microsoft.Kusto.json | 1321 +++++++++------ schemas/2020-06-14/Microsoft.Kusto.json | 1434 ++++++++++------- schemas/common/autogeneratedResources.json | 93 ++ 8 files changed, 4709 insertions(+), 3151 deletions(-) diff --git a/schemas/2018-09-07-preview/Microsoft.Kusto.json b/schemas/2018-09-07-preview/Microsoft.Kusto.json index 7b4ca800d7..f8bda59fd4 100644 --- a/schemas/2018-09-07-preview/Microsoft.Kusto.json +++ b/schemas/2018-09-07-preview/Microsoft.Kusto.json @@ -7,98 +7,100 @@ "clusters": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The Cluster name" - }, - "type": { - "enum": [ - "Microsoft.Kusto/clusters" - ] - }, "apiVersion": { + "type": "string", "enum": [ "2018-09-07-preview" ] }, "location": { "type": "string", - "description": "Cluster's location" + "description": "The geo-location where the resource lives" }, - "tags": { + "name": { + "type": "string", + "description": "The name of the Kusto cluster." + }, + "properties": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/definitions/ClusterProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Cluster tags" + "description": "Class representing the Kusto cluster properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_databases_childResource" + } + ] + } }, "sku": { "oneOf": [ { - "$ref": "#/definitions/Sku" + "$ref": "#/definitions/AzureSku" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "The SKU of the Kusto cluster." + ] }, - "properties": { + "tags": { "oneOf": [ { - "$ref": "#/definitions/ClusterProperties" + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties for a Kusto Cluster." + "description": "Resource tags." }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/resourceDefinitions/clusters_databases" - } - ] - } + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters" + ] } }, "required": [ - "name", - "type", "apiVersion", "location", - "sku" + "name", + "properties", + "sku", + "type" ], "description": "Microsoft.Kusto/clusters" }, "clusters_databases": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The Database name" - }, - "type": { - "enum": [ - "Microsoft.Kusto/clusters/databases" - ] - }, "apiVersion": { "type": "string", "enum": [ "2018-09-07-preview" ] }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the database in the Kusto cluster." + }, "properties": { "oneOf": [ { @@ -108,182 +110,305 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties supplied to the Database Create Or Update Kusto operation." + "description": "Class representing the Kusto database properties." }, "resources": { "type": "array", "items": { "oneOf": [ { - "$ref": "#/resourceDefinitions/clusters_databases_dataconnections" + "$ref": "#/definitions/clusters_databases_eventhubconnections_childResource" } ] } + }, + "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.Kusto/clusters/databases" + ] } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "location", + "name", + "properties", + "type" ], "description": "Microsoft.Kusto/clusters/databases" }, - "clusters_databases_dataconnections": { + "clusters_databases_eventhubconnections": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The data connection name" - }, - "type": { - "enum": [ - "Microsoft.Kusto/clusters/databases/dataconnections" - ] - }, "apiVersion": { "type": "string", "enum": [ "2018-09-07-preview" ] }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the event hub connection." + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/EventHubDataConnection" + "$ref": "#/definitions/EventHubConnectionProperties" }, { - "$ref": "#/definitions/EventGridDataConnection" + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties supplied to the Data Connection Create Or Update Kusto operation." + "description": "Class representing the Kusto event hub connection properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/databases/eventhubconnections" + ] } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "name", + "properties", + "type" ], - "description": "Microsoft.Kusto/clusters/databases" + "description": "Microsoft.Kusto/clusters/databases/eventhubconnections" } }, "definitions": { - "Sku": { - "oneOf": [ - { - "$ref": "#/definitions/AzureSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, "AzureSku": { "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU capacity." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "KC8", + "KC16", + "KS8", + "KS16", + "D13_v2", + "D14_v2", + "L8", + "L16" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU name." + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU tier." + } + }, "required": [ "name", "tier" - ], + ] + }, + "ClusterProperties": { + "type": "object", "properties": { - "name": { - "description": "SKU name. Possible values include: 'D14_v2', 'D13_v2', 'L16', 'L8'", + "trustedExternalTenants": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TrustedExternalTenant" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster's external tenants." + } + }, + "description": "Class representing the Kusto cluster properties." + }, + "clusters_databases_childResource": { + "type": "object", + "properties": { + "apiVersion": { "type": "string", "enum": [ - "D13_v2", - "D14_v2", - "L8", - "L16" + "2018-09-07-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the database in the Kusto cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } ], - "x-ms-enum": { - "name": "AzureSkuName", - "modelAsString": true - } + "description": "Class representing the Kusto database properties." }, - "capacity": { - "description": "SKU capacity.", - "type": "integer" + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." }, - "tier": { - "description": "SKU tier", + "type": { "type": "string", "enum": [ - "Standard" - ], - "x-ms-enum": { - "name": "AzureSkuTier", - "modelAsString": true - } + "databases" + ] } - } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases" }, - "ClusterProperties": { + "clusters_databases_eventhubconnections_childResource": { + "type": "object", "properties": { - "state": { + "apiVersion": { "type": "string", - "readOnly": true, - "description": "The state of the resource.", "enum": [ - "Creating", - "Unavailable", - "Running", - "Deleting", - "Deleted", - "Stopping", - "Stopped", - "Starting", - "Updating" - ], - "x-ms-enum": { - "name": "State", - "modelAsString": true - } + "2018-09-07-preview" + ] }, - "provisioningState": { + "location": { "type": "string", - "readOnly": true, - "description": "The provisioned state of the resource.", - "enum": [ - "Running", - "Creating", - "Deleting", - "Succeeded", - "Failed" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } + "description": "Resource location." }, - "uri": { + "name": { "type": "string", - "readOnly": true, - "description": "The cluster URI." + "description": "The name of the event hub connection." }, - "dataIngestionUri": { - "type": "string", - "readOnly": true, - "description": "The cluster data ingestion URI." + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EventHubConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto event hub connection properties." }, - "trustedExternalTenants": { - "type": "array", - "items": { - "$ref": "#/definitions/TrustedExternalTenant" - }, - "description": "The cluster's external tenants." + "type": { + "type": "string", + "enum": [ + "eventhubconnections" + ] } }, - "description": "Class representing the Kusto cluster properties." + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases/eventhubconnections" }, "DatabaseProperties": { + "type": "object", "properties": { + "hotCachePeriodInDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of days of data that should be kept in cache for fast queries." + }, "softDeletePeriodInDays": { - "type": "integer", + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "The number of days data should be kept before it stops being accessible to queries." }, - "hotCachePeriodInDays": { - "type": "integer", - "description": "The number of days of data that should be kept in cache for fast queries." + "statistics": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseStatistics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] } }, "required": [ @@ -291,137 +416,66 @@ ], "description": "Class representing the Kusto database properties." }, - "EventHubDataConnection": { - "description": "Information about the event hub data connection", - "required": [ - "kind", - "properties" - ], + "DatabaseStatistics": { "type": "object", "properties": { - "kind": { - "description": "Kind of the endpoint for the data connection", - "enum": [ - "EventHub" + "size": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } ], - "type": "string" - }, - "properties": { - "$ref": "#/definitions/EventHubDataConnectionProperties", - "description": "Event hub data connection properties" + "description": "The database size - the total size of compressed data and index in bytes." } } }, - "EventHubDataConnectionProperties": { - "description": "Class representing the Kusto event hub connection properties.", - "required": [ - "eventHubResourceId", - "consumerGroup" - ], + "EventHubConnectionProperties": { "type": "object", "properties": { - "eventHubResourceId": { - "type": "string", - "description": "The resource ID of the event hub to be used to create a data connection." - }, "consumerGroup": { "type": "string", "description": "The event hub consumer group." }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, "dataFormat": { - "$ref": "#/definitions/DataFormat", - "description": "The data format of the message. Optionally the data format can be added to each message." - } - } - }, - "EventGridDataConnection": { - "description": "Information about the event grid data connection", - "required": [ - "kind", - "properties" - ], - "type": "object", - "properties": { - "kind": { - "description": "Kind of the endpoint for the data connection", - "enum": [ - "EventGrid" + "oneOf": [ + { + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } ], - "type": "string" - }, - "properties": { - "$ref": "#/definitions/EventGridDataConnectionProperties", - "description": "Event grid data connection properties" - } - } - }, - "EventGridDataConnectionProperties": { - "description": "Class representing the Kusto event grid connection properties.", - "required": [ - "storageAccountResourceId", - "eventHubResourceId", - "consumerGroup", - "tableName", - "dataFormat" - ], - "type": "object", - "properties": { - "storageAccountResourceId": { - "type": "string", - "description": "The resource ID of the storage account where the data resides." + "description": "The data format of the message. Optionally the data format can be added to each message." }, "eventHubResourceId": { "type": "string", - "description": "The resource ID where the event grid is configured to send events." + "description": "The resource ID of the event hub to be used to create a data connection." }, - "consumerGroup": { + "mappingRuleName": { "type": "string", - "description": "The event hub consumer group." + "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." }, "tableName": { "type": "string", "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, - "dataFormat": { - "$ref": "#/definitions/DataFormat", - "description": "The data format of the message. Optionally the data format can be added to each message." } - } - }, - "DataFormat": { - "description": "The data format of the message. Optionally the data format can be added to each message.", - "type": "string", - "enum": [ - "MULTIJSON", - "JSON", - "CSV", - "TSV", - "SCSV", - "SOHSV", - "PSV", - "TXT", - "RAW", - "SINGLEJSON", - "AVRO" + }, + "required": [ + "consumerGroup", + "eventHubResourceId" ], - "x-ms-enum": { - "name": "dataFormat", - "modelAsString": true - } + "description": "Class representing the Kusto event hub connection properties." }, "TrustedExternalTenant": { + "type": "object", "properties": { "value": { "type": "string", diff --git a/schemas/2019-01-21/Microsoft.Kusto.json b/schemas/2019-01-21/Microsoft.Kusto.json index 540fa3ad8e..a1a40c8514 100644 --- a/schemas/2019-01-21/Microsoft.Kusto.json +++ b/schemas/2019-01-21/Microsoft.Kusto.json @@ -1,400 +1,559 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-01-21/Microsoft.Kusto.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Kusto", - "description": "Microsoft Kusto Resource Types", - "resourceDefinitions": { - "clusters": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The Cluster name" - }, - "type": { - "enum": [ - "Microsoft.Kusto/clusters" - ] - }, - "apiVersion": { - "enum": [ - "2019-01-21" - ] - }, - "location": { - "type": "string", - "description": "Cluster's location" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cluster tags" - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the Kusto cluster." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ClusterProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for a Kusto Cluster." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/resourceDefinitions/clusters_databases" - } - ] - } - } - }, - "required": [ - "name", - "type", - "apiVersion", - "location", - "sku" - ], - "description": "Microsoft.Kusto/clusters" - }, - "clusters_databases": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The Database name" - }, - "type": { - "enum": [ - "Microsoft.Kusto/clusters/databases" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2019-01-21" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DatabaseProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties supplied to the Database Create Or Update Kusto operation." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/resourceDefinitions/clusters_databases_dataconnections" - } - ] - } - } - }, - "required": [ - "name", - "type", - "apiVersion", - "properties" - ], - "description": "Microsoft.Kusto/clusters/databases" - }, - "clusters_databases_dataconnections": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The data connection name" - }, - "type": { - "enum": [ - "Microsoft.Kusto/clusters/databases/dataconnections" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2019-01-21" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubDataConnection" - }, - { - "$ref": "#/definitions/EventGridDataConnection" - } - ], - "description": "Properties supplied to the Data Connection Create Or Update Kusto operation." - } - }, - "required": [ - "name", - "type", - "apiVersion", - "properties" - ], - "description": "Microsoft.Kusto/clusters/databases" - } - }, - "definitions": { - "Sku": { - "oneOf": [ - { - "$ref": "#/definitions/AzureSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "AzureSku": { - "type": "object", - "required": [ - "name", - "tier" - ], - "properties": { - "name": { - "description": "SKU name. Possible values include: 'D14_v2', 'D13_v2', 'L16', 'L8', 'Standard_DS13_v2+1TB_PS', 'Standard_DS13_v2+2TB_PS', 'Standard_DS14_v2+3TB_PS', 'Standard_DS14_v2+4TB_PS', 'Dev(No SLA)_Standard_D11_v2'", - "type": "string", - "enum": [ - "D13_v2", - "D14_v2", - "L8", - "L16", - "Standard_DS13_v2+1TB_PS", - "Standard_DS13_v2+2TB_PS", - "Standard_DS14_v2+3TB_PS", - "Standard_DS14_v2+4TB_PS", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_L8s", - "Standard_L16s", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_L4s", - "Dev(No SLA)_Standard_D11_v2" - ], - "x-ms-enum": { - "name": "AzureSkuName", - "modelAsString": true - } - }, - "capacity": { - "description": "SKU capacity.", - "type": "integer" - }, - "tier": { - "description": "SKU tier", - "type": "string", - "enum": [ - "Basic", - "Standard" - ], - "x-ms-enum": { - "name": "AzureSkuTier", - "modelAsString": true - } - } - } - }, - "ClusterProperties": { - "type": "object", - "properties": { - "trustedExternalTenants": { - "type": "array", - "items": { - "$ref": "#/definitions/TrustedExternalTenant" - }, - "description": "The cluster's external tenants." - } - }, - "description": "Class representing the Kusto cluster properties." - }, - "DatabaseProperties": { - "type": "object", - "properties": { - "softDeletePeriod": { - "type": "string", - "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." - }, - "hotCachePeriod": { - "type": "string", - "description": "The time the data should be kept in cache for fast queries in TimeSpan." - } - }, - "description": "Class representing the Kusto database properties." - }, - "EventHubDataConnection": { - "description": "Information about the event hub data connection", - "required": [ - "kind", - "properties" - ], - "type": "object", - "properties": { - "kind": { - "description": "Kind of the endpoint for the data connection", - "enum": [ - "EventHub" - ], - "type": "string" - }, - "properties": { - "$ref": "#/definitions/EventHubDataConnectionProperties", - "description": "Event hub data connection properties" - } - } - }, - "EventHubDataConnectionProperties": { - "description": "Class representing the Kusto event hub connection properties.", - "required": [ - "eventHubResourceId", - "consumerGroup" - ], - "type": "object", - "properties": { - "eventHubResourceId": { - "type": "string", - "description": "The resource ID of the event hub to be used to create a data connection." - }, - "consumerGroup": { - "type": "string", - "description": "The event hub consumer group." - }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, - "dataFormat": { - "$ref": "#/definitions/DataFormat", - "description": "The data format of the message. Optionally the data format can be added to each message." - } - } - }, - "EventGridDataConnection": { - "description": "Information about the event grid data connection", - "required": [ - "kind", - "properties" - ], - "type": "object", - "properties": { - "kind": { - "description": "Kind of the endpoint for the data connection", - "enum": [ - "EventGrid" - ], - "type": "string" - }, - "properties": { - "$ref": "#/definitions/EventGridDataConnectionProperties", - "description": "Event grid data connection properties" - } - } - }, - "EventGridDataConnectionProperties": { - "description": "Class representing the Kusto event grid connection properties.", - "required": [ - "storageAccountResourceId", - "eventHubResourceId", - "consumerGroup", - "tableName", - "dataFormat" - ], - "type": "object", - "properties": { - "storageAccountResourceId": { - "type": "string", - "description": "The resource ID of the storage account where the data resides." - }, - "eventHubResourceId": { - "type": "string", - "description": "The resource ID where the event grid is configured to send events." - }, - "consumerGroup": { - "type": "string", - "description": "The event hub consumer group." - }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, - "dataFormat": { - "$ref": "#/definitions/DataFormat", - "description": "The data format of the message. Optionally the data format can be added to each message." - } - } - }, - "DataFormat": { - "description": "The data format of the message. Optionally the data format can be added to each message.", - "type": "string", - "enum": [ - "MULTIJSON", - "JSON", - "CSV", - "TSV", - "SCSV", - "SOHSV", - "PSV", - "TXT", - "RAW", - "SINGLEJSON", - "AVRO" - ], - "x-ms-enum": { - "name": "dataFormat", - "modelAsString": true - } - }, - "TrustedExternalTenant": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "GUID representing an external tenant." - } - } - } - } -} +{ + "id": "https://schema.management.azure.com/schemas/2019-01-21/Microsoft.Kusto.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Kusto", + "description": "Microsoft Kusto Resource Types", + "resourceDefinitions": { + "clusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-01-21" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the Kusto cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto cluster properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_databases_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/AzureSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure SKU definition." + }, + "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.Kusto/clusters" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Kusto/clusters" + }, + "clusters_databases": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-01-21" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the database in the Kusto cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto database properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_databases_dataConnections_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/databases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases" + }, + "clusters_databases_dataConnections": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/EventHubDataConnection" + }, + { + "$ref": "#/definitions/EventGridDataConnection" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-01-21" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the data connection." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/databases/dataConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases/dataConnections" + } + }, + "definitions": { + "AzureSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of instances of the cluster." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_DS13_v2+1TB_PS", + "Standard_DS13_v2+2TB_PS", + "Standard_DS14_v2+3TB_PS", + "Standard_DS14_v2+4TB_PS", + "Standard_D13_v2", + "Standard_D14_v2", + "Standard_L8s", + "Standard_L16s", + "Standard_D11_v2", + "Standard_D12_v2", + "Standard_L4s", + "Dev(No SLA)_Standard_D11_v2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU name." + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU tier." + } + }, + "required": [ + "name", + "tier" + ], + "description": "Azure SKU definition." + }, + "ClusterProperties": { + "type": "object", + "properties": { + "trustedExternalTenants": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TrustedExternalTenant" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster's external tenants." + } + }, + "description": "Class representing the Kusto cluster properties." + }, + "clusters_databases_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-01-21" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the database in the Kusto cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto database properties." + }, + "type": { + "type": "string", + "enum": [ + "databases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases" + }, + "clusters_databases_dataConnections_childResource": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/EventHubDataConnection" + }, + { + "$ref": "#/definitions/EventGridDataConnection" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-01-21" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the data connection." + }, + "type": { + "type": "string", + "enum": [ + "dataConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases/dataConnections" + }, + "DatabaseProperties": { + "type": "object", + "properties": { + "hotCachePeriod": { + "type": "string", + "format": "duration", + "description": "The time the data that should be kept in cache for fast queries in TimeSpan." + }, + "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." + }, + "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": { + "consumerGroup": { + "type": "string", + "description": "The event hub consumer group." + }, + "dataFormat": { + "oneOf": [ + { + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The data format of the message. Optionally the data format can be added to each message." + }, + "eventHubResourceId": { + "type": "string", + "description": "The resource ID where the event grid is configured to send events." + }, + "mappingRuleName": { + "type": "string", + "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." + }, + "storageAccountResourceId": { + "type": "string", + "description": "The resource ID of the storage account where the data resides." + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." + } + }, + "required": [ + "consumerGroup", + "dataFormat", + "eventHubResourceId", + "storageAccountResourceId", + "tableName" + ], + "description": "Class representing the Kusto event grid connection properties." + }, + "EventGridDataConnection": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "EventGrid" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EventGridConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto event grid connection properties." + } + }, + "required": [ + "kind" + ], + "description": "Class representing an Event Grid data connection." + }, + "EventHubConnectionProperties": { + "type": "object", + "properties": { + "consumerGroup": { + "type": "string", + "description": "The event hub consumer group." + }, + "dataFormat": { + "oneOf": [ + { + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The data format of the message. Optionally the data format can be added to each message." + }, + "eventHubResourceId": { + "type": "string", + "description": "The resource ID of the event hub to be used to create a data connection." + }, + "mappingRuleName": { + "type": "string", + "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." + } + }, + "required": [ + "consumerGroup", + "eventHubResourceId" + ], + "description": "Class representing the Kusto event hub connection properties." + }, + "EventHubDataConnection": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "EventHub" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EventHubConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto event hub connection properties." + } + }, + "required": [ + "kind" + ], + "description": "Class representing an event hub data connection." + }, + "TrustedExternalTenant": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "GUID representing an external tenant." + } + }, + "description": "Represents a tenant ID that is trusted by the cluster." + } + } +} \ No newline at end of file diff --git a/schemas/2019-05-15/Microsoft.Kusto.json b/schemas/2019-05-15/Microsoft.Kusto.json index 551e6ffcf9..b51ee2c390 100644 --- a/schemas/2019-05-15/Microsoft.Kusto.json +++ b/schemas/2019-05-15/Microsoft.Kusto.json @@ -1,506 +1,643 @@ { - "id": "https://schema.management.azure.com/schemas/2019-05-15/Microsoft.Kusto.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Kusto", - "description": "Microsoft Kusto Resource Types", - "resourceDefinitions": { - "clusters": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The Cluster name" - }, - "type": { - "enum": [ - "Microsoft.Kusto/clusters" - ] - }, - "apiVersion": { - "enum": [ - "2019-05-15" - ] - }, - "location": { - "type": "string", - "description": "Cluster's location" - }, - "tags": { - "oneOf": [{ - "type": "object", - "additionalProperties": { - "type": "string" - } - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cluster tags" - }, - "sku": { - "oneOf": [{ - "$ref": "#/definitions/Sku" - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of the Kusto cluster." - }, - "zones": { - "oneOf": [{ - "$ref": "#/definitions/Zones" - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The availability zones of the cluster." - }, - "properties": { - "oneOf": [{ - "$ref": "#/definitions/ClusterProperties" - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for a Kusto Cluster." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [{ - "$ref": "#/resourceDefinitions/clusters_databases" - } - ] - } - } + "id": "https://schema.management.azure.com/schemas/2019-05-15/Microsoft.Kusto.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Kusto", + "description": "Microsoft Kusto Resource Types", + "resourceDefinitions": { + "clusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-05-15" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the Kusto cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterProperties" }, - "required": [ - "name", - "type", - "apiVersion", - "location", - "sku" - ], - "description": "Microsoft.Kusto/clusters" - }, - "clusters_databases": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The Database name" - }, - "type": { - "enum": [ - "Microsoft.Kusto/clusters/databases" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2019-05-15" - ] - }, - "properties": { - "oneOf": [{ - "$ref": "#/definitions/DatabaseProperties" - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties supplied to the Database Create Or Update Kusto operation." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [{ - "$ref": "#/resourceDefinitions/clusters_databases_dataconnections" - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - } + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto cluster properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_databases_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/AzureSku" }, - "required": [ - "name", - "type", - "apiVersion", - "properties" - ], - "description": "Microsoft.Kusto/clusters/databases" - }, - "clusters_databases_dataconnections": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The data connection name" - }, - "type": { - "enum": [ - "Microsoft.Kusto/clusters/databases/dataconnections" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2019-05-15" - ] - }, - "properties": { - "oneOf": [{ - "$ref": "#/definitions/EventHubDataConnection" - }, { - "$ref": "#/definitions/EventGridDataConnection" - }, { - "$ref": "#/definitions/IotHubDataConnection" - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties supplied to the Data Connection Create Or Update Kusto operation." - } + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure SKU definition." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} }, - "required": [ - "name", - "type", - "apiVersion", - "properties" - ], - "description": "Microsoft.Kusto/clusters/databases" + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array represents the availability zones of the cluster." } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Kusto/clusters" }, - "definitions": { - "Sku": { - "oneOf": [{ - "$ref": "#/definitions/AzureSku" - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } + "clusters_databases": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-05-15" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the database in the Kusto cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto database properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_databases_dataConnections_childResource" + } ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/databases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases" + }, + "clusters_databases_dataConnections": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/EventHubDataConnection" + }, + { + "$ref": "#/definitions/IotHubDataConnection" + }, + { + "$ref": "#/definitions/EventGridDataConnection" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-05-15" + ] }, - "AzureSku": { - "type": "object", - "required": [ - "name", - "tier" - ], - "properties": { - "name": { - "description": "SKU name. Possible values include: 'D14_v2', 'D13_v2', 'L16', 'L8', 'Standard_DS13_v2+1TB_PS', 'Standard_DS13_v2+2TB_PS', 'Standard_DS14_v2+3TB_PS', 'Standard_DS14_v2+4TB_PS', 'Dev(No SLA)_Standard_D11_v2'", - "type": "string", - "enum": [ - "D13_v2", - "D14_v2", - "L8", - "L16", - "Standard_DS13_v2+1TB_PS", - "Standard_DS13_v2+2TB_PS", - "Standard_DS14_v2+3TB_PS", - "Standard_DS14_v2+4TB_PS", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_L8s", - "Standard_L16s", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_L4s", - "Dev(No SLA)_Standard_D11_v2" - ], - "x-ms-enum": { - "name": "AzureSkuName", - "modelAsString": true - } - }, - "capacity": { - "description": "SKU capacity.", - "type": "integer" - }, - "tier": { - "description": "SKU tier", - "type": "string", - "enum": [ - "Basic", - "Standard" - ], - "x-ms-enum": { - "name": "AzureSkuTier", - "modelAsString": true - } - } + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the data connection." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/databases/dataConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases/dataConnections" + } + }, + "definitions": { + "AzureSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } + ], + "description": "The number of instances of the cluster." }, - "Zones": { - "description": "An array represents the availability zones of the cluster.", - "type": "array", - "items": { - "type": "string" + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_DS13_v2+1TB_PS", + "Standard_DS13_v2+2TB_PS", + "Standard_DS14_v2+3TB_PS", + "Standard_DS14_v2+4TB_PS", + "Standard_D13_v2", + "Standard_D14_v2", + "Standard_L8s", + "Standard_L16s", + "Standard_D11_v2", + "Standard_D12_v2", + "Standard_L4s", + "Dev(No SLA)_Standard_D11_v2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU name." + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU tier." + } + }, + "required": [ + "name", + "tier" + ], + "description": "Azure SKU definition." + }, + "ClusterProperties": { + "type": "object", + "properties": { + "enableDiskEncryption": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } + ], + "description": "A boolean value that indicates if the cluster's disks are encrypted." }, - "ClusterProperties": { - "type": "object", - "properties": { - "trustedExternalTenants": { - "type": "array", - "items": { - "$ref": "#/definitions/TrustedExternalTenant" - }, - "description": "The cluster's external tenants." - }, - "optimizedAutoscale": { - "type": "object", - "description": "Optimized auto scale definition." - }, - "enableDiskEncryption": { - "description": "A boolean value that indicates if the cluster's disks are encrypted.", - "type": "boolean" - }, - "enableStreamingIngest": { - "description": "A boolean value that indicates if streaming ingest is enabled.", - "default": false, - "type": "boolean" - }, - "virtualNetworkConfiguration": { - "type": "object", - "description": "Virtual network definition." - } + "enableStreamingIngest": { + "oneOf": [ + { + "type": "boolean", + "default": false }, - "description": "Class representing the Kusto cluster properties." - }, - "DatabaseProperties": { - "type": "object", - "properties": { - "softDeletePeriod": { - "type": "string", - "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." - }, - "hotCachePeriod": { - "type": "string", - "description": "The time the data should be kept in cache for fast queries in TimeSpan." - } + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A boolean value that indicates if the streaming ingest is enabled." + }, + "optimizedAutoscale": { + "oneOf": [ + { + "$ref": "#/definitions/OptimizedAutoscale" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A class that contains the optimized auto scale definition." + }, + "trustedExternalTenants": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TrustedExternalTenant" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster's external tenants." + }, + "virtualNetworkConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A class that contains virtual network definition." + } + }, + "description": "Class representing the Kusto cluster properties." + }, + "clusters_databases_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-05-15" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the database in the Kusto cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto database properties." + }, + "type": { + "type": "string", + "enum": [ + "databases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases" + }, + "clusters_databases_dataConnections_childResource": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/EventHubDataConnection" + }, + { + "$ref": "#/definitions/IotHubDataConnection" + }, + { + "$ref": "#/definitions/EventGridDataConnection" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-05-15" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the data connection." + }, + "type": { + "type": "string", + "enum": [ + "dataConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases/dataConnections" + }, + "DatabaseProperties": { + "type": "object", + "properties": { + "hotCachePeriod": { + "type": "string", + "format": "duration", + "description": "The time the data should be kept in cache for fast queries in TimeSpan." + }, + "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." + }, + "DatabaseStatistics": { + "type": "object", + "properties": { + "size": { + "oneOf": [ + { + "type": "number" }, - "description": "Class representing the Kusto database properties." - }, - "EventHubDataConnection": { - "description": "Information about the event hub data connection", - "required": [ - "kind", - "properties" - ], - "type": "object", - "properties": { - "kind": { - "description": "Kind of the endpoint for the data connection", - "enum": [ - "EventHub" - ], - "type": "string" - }, - "properties": { - "oneOf": [{ - "$ref": "#/definitions/EventHubDataConnectionProperties" - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - - "description": "Event hub data connection properties" - } + { + "$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": { + "consumerGroup": { + "type": "string", + "description": "The event hub consumer group." }, - "EventHubDataConnectionProperties": { - "description": "Class representing the Kusto event hub connection properties.", - "required": [ - "eventHubResourceId", - "consumerGroup" - ], - "type": "object", - "properties": { - "eventHubResourceId": { - "type": "string", - "description": "The resource ID of the event hub to be used to create a data connection." - }, - "consumerGroup": { - "type": "string", - "description": "The event hub consumer group." - }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, - "dataFormat": { - "oneOf": [{ - "$ref": "#/definitions/DataFormat" - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - - "description": "The data format of the message. Optionally the data format can be added to each message." - }, - "eventSystemProperties": { - "oneOf": [{ - "$ref": "#/definitions/EventSystemProperties" - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The event hub system properties." - } + "dataFormat": { + "oneOf": [ + { + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO", + "TSVE" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } + ], + "description": "The data format of the message. Optionally the data format can be added to each message." + }, + "eventHubResourceId": { + "type": "string", + "description": "The resource ID where the event grid is configured to send events." + }, + "mappingRuleName": { + "type": "string", + "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." }, - "IotHubDataConnection": { - "description": "Information about the Iot hub data connection", - "required": [ - "kind", - "properties" - ], - "type": "object", - "properties": { - "kind": { - "description": "Kind of the endpoint for the data connection", - "enum": [ - "IotHub" - ], - "type": "string" - }, - "properties": { - "oneOf": [{ - "$ref": "#/definitions/IotHubDataConnectionProperties" - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Iot hub data connection properties" - } + "storageAccountResourceId": { + "type": "string", + "description": "The resource ID of the storage account where the data resides." + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." + } + }, + "required": [ + "consumerGroup", + "dataFormat", + "eventHubResourceId", + "storageAccountResourceId", + "tableName" + ], + "description": "Class representing the Kusto event grid connection properties." + }, + "EventGridDataConnection": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "EventGrid" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EventGridConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } + ], + "description": "Class representing the Kusto event grid connection properties." + } + }, + "required": [ + "kind" + ], + "description": "Class representing an Event Grid data connection." + }, + "EventHubConnectionProperties": { + "type": "object", + "properties": { + "consumerGroup": { + "type": "string", + "description": "The event hub consumer group." }, - "IotHubDataConnectionProperties": { - "description": "Class representing the Kusto Iot hub connection properties.", - "required": [ - "iotHubResourceId", - "consumerGroup", - "sharedAccessPolicyName" - ], - "type": "object", - "properties": { - "IotHubResourceId": { - "type": "string", - "description": "The resource ID of the iot hub to be used to create a data connection." - }, - "consumerGroup": { - "type": "string", - "description": "The iot hub consumer group." - }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, - "dataFormat": { - "oneOf": [{ - "$ref": "#/definitions/DataFormat" - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The data format of the message. Optionally the data format can be added to each message." - }, - "eventSystemProperties": { - "description": "The iot hub system properties.", - "oneOf": [{ - "$ref": "#/definitions/EventSystemProperties" - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sharedAccessPolicyName": { - "type": "string", - "description": "The name of the shared access policy." - } + "dataFormat": { + "oneOf": [ + { + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO", + "TSVE" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } + ], + "description": "The data format of the message. Optionally the data format can be added to each message." + }, + "eventHubResourceId": { + "type": "string", + "description": "The resource ID of the event hub to be used to create a data connection." }, - "EventGridDataConnection": { - "description": "Information about the event grid data connection", - "required": [ - "kind", - "properties" - ], - "type": "object", - "properties": { - "kind": { - "description": "Kind of the endpoint for the data connection", - "enum": [ - "EventGrid" - ], - "type": "string" - }, - "properties": { - "oneOf": [{ - "$ref": "#/definitions/EventGridDataConnectionProperties" - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Event grid data connection properties" - } + "eventSystemProperties": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } + ], + "description": "System properties of the event hub" }, - "EventGridDataConnectionProperties": { - "description": "Class representing the Kusto event grid connection properties.", - "required": [ - "storageAccountResourceId", - "eventHubResourceId", - "consumerGroup", - "tableName", - "dataFormat" - ], - "type": "object", - "properties": { - "storageAccountResourceId": { - "type": "string", - "description": "The resource ID of the storage account where the data resides." - }, - "eventHubResourceId": { - "type": "string", - "description": "The resource ID where the event grid is configured to send events." - }, - "consumerGroup": { - "type": "string", - "description": "The event hub consumer group." - }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, - "dataFormat": { - "oneOf": [{ - "$ref": "#/definitions/DataFormat" - }, { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The data format of the message. Optionally the data format can be added to each message." - } + "mappingRuleName": { + "type": "string", + "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." + } + }, + "required": [ + "consumerGroup", + "eventHubResourceId" + ], + "description": "Class representing the Kusto event hub connection properties." + }, + "EventHubDataConnection": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "EventHub" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EventHubConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } + ], + "description": "Class representing the Kusto event hub connection properties." + } + }, + "required": [ + "kind" + ], + "description": "Class representing an event hub data connection." + }, + "IotHubConnectionProperties": { + "type": "object", + "properties": { + "consumerGroup": { + "type": "string", + "description": "The iot hub consumer group." }, - "DataFormat": { - "description": "The data format of the message. Optionally the data format can be added to each message.", - "type": "string", - "enum": [ + "dataFormat": { + "oneOf": [ + { + "type": "string", + "enum": [ "MULTIJSON", "JSON", "CSV", @@ -513,78 +650,166 @@ "SINGLEJSON", "AVRO", "TSVE" - ], - "x-ms-enum": { - "name": "dataFormat", - "modelAsString": true + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } + ], + "description": "The data format of the message. Optionally the data format can be added to each message." }, - "EventSystemProperties": { - "description": "The resource system properties.", - "type": "array", - "items": { + "eventSystemProperties": { + "oneOf": [ + { + "type": "array", + "items": { "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } + ], + "description": "System properties of the iot hub" + }, + "iotHubResourceId": { + "type": "string", + "description": "The resource ID of the Iot hub to be used to create a data connection." }, - "TrustedExternalTenant": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "GUID representing an external tenant." - } + "mappingRuleName": { + "type": "string", + "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." + }, + "sharedAccessPolicyName": { + "type": "string", + "description": "The name of the share access policy name" + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." + } + }, + "required": [ + "consumerGroup", + "iotHubResourceId", + "sharedAccessPolicyName" + ], + "description": "Class representing the Kusto iot hub connection properties." + }, + "IotHubDataConnection": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "IotHub" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IotHubConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto iot hub connection properties." + } + }, + "required": [ + "kind" + ], + "description": "Class representing an iot hub data connection." + }, + "OptimizedAutoscale": { + "type": "object", + "properties": { + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A boolean value that indicate if the optimized autoscale feature is enabled or not." + }, + "maximum": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } + ], + "description": "Maximum allowed instances count." }, - "OptimizedAutoscale": { - "type": "object", - "required": [ - "version", - "isEnabled", - "minimum", - "maximum" - ], - "properties": { - "version": { - "description": "The version of the template defined, for instance 1.", - "type": "integer" - }, - "isEnabled": { - "description": "A boolean value that indicate if the optimized autoscale feature is enabled or not.", - "type": "boolean" - }, - "minimum": { - "description": "Minimum allowed instances count.", - "type": "integer" - }, - "maximum": { - "description": "Maximum allowed instances count.", - "type": "integer" - } + "minimum": { + "oneOf": [ + { + "type": "integer" }, - "description": "A class that contains the optimized auto scale definition." - }, - "VirtualNetworkConfiguration": { - "type": "object", - "required": [ - "subnetId", - "enginePublicIpId", - "dataManagementPublicIpId" - ], - "properties": { - "subnetId": { - "description": "The subnet resource id.", - "type": "string" - }, - "enginePublicIpId": { - "description": "Engine service's public IP address resource id.", - "type": "string" - }, - "dataManagementPublicIpId": { - "description": "Data management's service public IP address resource id.", - "type": "string" - } + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Minimum allowed instances count." + }, + "version": { + "oneOf": [ + { + "type": "integer" }, - "description": "A class that contains virtual network definition." + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The version of the template defined, for instance 1." + } + }, + "required": [ + "isEnabled", + "maximum", + "minimum", + "version" + ], + "description": "A class that contains the optimized auto scale definition." + }, + "TrustedExternalTenant": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "GUID representing an external tenant." + } + }, + "description": "Represents a tenant ID that is trusted by the cluster." + }, + "VirtualNetworkConfiguration": { + "type": "object", + "properties": { + "dataManagementPublicIpId": { + "type": "string", + "description": "Data management's service public IP address resource id." + }, + "enginePublicIpId": { + "type": "string", + "description": "Engine service's public IP address resource id." + }, + "subnetId": { + "type": "string", + "description": "The subnet resource id." } + }, + "required": [ + "dataManagementPublicIpId", + "enginePublicIpId", + "subnetId" + ], + "description": "A class that contains virtual network definition." } -} + } +} \ No newline at end of file diff --git a/schemas/2019-09-07/Microsoft.Kusto.json b/schemas/2019-09-07/Microsoft.Kusto.json index a342dcc2de..8cd2d738e6 100644 --- a/schemas/2019-09-07/Microsoft.Kusto.json +++ b/schemas/2019-09-07/Microsoft.Kusto.json @@ -7,40 +7,55 @@ "clusters": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The name of the Kusto cluster." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters" - ] - }, "apiVersion": { "type": "string", "enum": [ "2019-09-07" ] }, - "tags": { + "identity": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/definitions/Identity" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Resource tags." + "description": "Identity for the resource." }, "location": { "type": "string", "description": "The geo-location where the resource lives" }, + "name": { + "type": "string", + "description": "The name of the Kusto cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto cluster properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_databases_childResource" + }, + { + "$ref": "#/definitions/clusters_attachedDatabaseConfigurations_childResource" + } + ] + } + }, "sku": { "oneOf": [ { @@ -50,84 +65,108 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The SKU of the Kusto cluster." + "description": "Azure SKU definition." }, - "zones": { + "tags": { "oneOf": [ { - "type": "array", - "items": { + "type": "object", + "additionalProperties": { "type": "string" - } + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "An array represents the availability zones of the cluster." + "description": "Resource tags." }, - "identity": { + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters" + ] + }, + "zones": { "oneOf": [ { - "$ref": "#/definitions/Identity" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Identity for the resource." + "description": "An array represents the availability zones of the cluster." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Kusto/clusters" + }, + "clusters_attachedDatabaseConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-09-07" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the attached database configuration." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/ClusterProperties" + "$ref": "#/definitions/AttachedDatabaseConfigurationProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Class representing the an attached database configuration properties of kind specific." }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/resourceDefinitions/clusters_databases" - }, - { - "$ref": "#/resourceDefinitions/clusters_attacheddatabaseconfigurations" - } - ] - } + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/attachedDatabaseConfigurations" + ] } }, "required": [ - "name", - "type", "apiVersion", - "location", - "sku" + "name", + "properties", + "type" ], - "description": "Microsoft.Kusto/clusters" + "description": "Microsoft.Kusto/clusters/attachedDatabaseConfigurations" }, "clusters_databases": { "type": "object", "oneOf": [ { "$ref": "#/definitions/ReadWriteDatabase" + }, + { + "$ref": "#/definitions/ReadOnlyFollowingDatabase" } ], "properties": { - "name": { - "type": "string", - "description": "The name of the database in the Kusto cluster." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/databases" - ] - }, "apiVersion": { "type": "string", "enum": [ @@ -138,126 +177,132 @@ "type": "string", "description": "Resource location." }, + "name": { + "type": "string", + "description": "The name of the database in the Kusto cluster." + }, "resources": { "type": "array", "items": { "oneOf": [ { - "$ref": "#/resourceDefinitions/clusters_databases_dataconnections" + "$ref": "#/definitions/clusters_databases_dataConnections_childResource" } ] } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/databases" + ] } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "name", + "type" ], "description": "Microsoft.Kusto/clusters/databases" }, - "clusters_databases_dataconnections": { + "clusters_databases_dataConnections": { "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The data connection name" + "oneOf": [ + { + "$ref": "#/definitions/EventHubDataConnection" }, - "type": { - "enum": [ - "Microsoft.Kusto/clusters/databases/dataConnections" - ] + { + "$ref": "#/definitions/IotHubDataConnection" }, + { + "$ref": "#/definitions/EventGridDataConnection" + } + ], + "properties": { "apiVersion": { "type": "string", "enum": [ "2019-09-07" ] }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubDataConnection" - }, - { - "$ref": "#/definitions/EventGridDataConnection" - }, - { - "$ref": "#/definitions/IotHubDataConnection" - } - ], - "description": "Properties supplied to the Data Connection Create Or Update Kusto operation." + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the data connection." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/databases/dataConnections" + ] } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "name", + "type" ], "description": "Microsoft.Kusto/clusters/databases/dataConnections" - }, - "clusters_attacheddatabaseconfigurations": { + } + }, + "definitions": { + "AttachedDatabaseConfigurationProperties": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The name of the attached database configurations." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/AttachedDatabaseConfigurations" - ] - }, - "apiVersion": { + "clusterResourceId": { "type": "string", - "enum": [ - "2019-09-07" - ] + "description": "The resource id of the cluster where the databases you would like to attach reside." }, - "location": { + "databaseName": { "type": "string", - "description": "Resource location." + "description": "The name of the database which you would like to attach, use * if you want to follow all current and future databases." }, - "properties": { + "defaultPrincipalsModificationKind": { "oneOf": [ { - "$ref": "#/definitions/AttachedDatabaseConfigurationsProperties" + "type": "string", + "enum": [ + "Union", + "Replace", + "None" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "The default principals modification kind." } }, "required": [ - "name", - "type", - "apiVersion", - "properties" + "clusterResourceId", + "databaseName", + "defaultPrincipalsModificationKind" ], - "description": "Class representing an attached database configurations." - } - }, - "definitions": { + "description": "Class representing the an attached database configuration properties of kind specific." + }, "AzureSku": { "type": "object", "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of instances of the cluster." + }, "name": { "oneOf": [ { "type": "string", "enum": [ - "KC8", - "KC16", - "KS8", - "KS16", - "D13_v2", - "D14_v2", - "L8", - "L16", "Standard_DS13_v2+1TB_PS", "Standard_DS13_v2+2TB_PS", "Standard_DS14_v2+3TB_PS", @@ -270,41 +315,22 @@ "Standard_D12_v2", "Standard_L4s", "Dev(No SLA)_Standard_D11_v2" - ], - "x-ms-enum": { - "name": "AzureSkuName", - "modelAsString": true - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SKU name. Possible values include: 'D14_v2', 'D13_v2', 'L16', 'L8', 'Standard_DS13_v2+1TB_PS', 'Standard_DS13_v2+2TB_PS', 'Standard_DS14_v2+3TB_PS', 'Standard_DS14_v2+4TB_PS', 'Dev(No SLA)_Standard_D11_v2'" - }, - "capacity": { - "oneOf": [ - { - "type": "integer" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The number of instances of the cluster." + "description": "SKU name." }, "tier": { "oneOf": [ { "type": "string", "enum": [ - "Standard", - "Basic" - ], - "x-ms-enum": { - "name": "AzureSkuTier", - "modelAsString": true - } + "Basic", + "Standard" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -322,206 +348,301 @@ "ClusterProperties": { "type": "object", "properties": { - "trustedExternalTenants": { + "enableDiskEncryption": { "oneOf": [ { - "type": "array", - "items": { - "$ref": "#/definitions/TrustedExternalTenant" - } + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The cluster's external tenants." + "description": "A boolean value that indicates if the cluster's disks are encrypted." }, - "optimizedAutoscale": { + "enableStreamingIngest": { "oneOf": [ { - "$ref": "#/definitions/OptimizedAutoscale" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "A class that contains the optimized auto scale definition." + "description": "A boolean value that indicates if the streaming ingest is enabled." }, - "enableDiskEncryption": { + "keyVaultProperties": { "oneOf": [ { - "type": "boolean" + "$ref": "#/definitions/KeyVaultProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "A boolean value that indicates if the cluster's disks are encrypted." + "description": "Properties of the key vault." }, - "enableStreamingIngest": { + "optimizedAutoscale": { "oneOf": [ { - "type": "boolean", - "default": false + "$ref": "#/definitions/OptimizedAutoscale" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "A boolean value that indicates if the streaming ingest is enabled." + "description": "A class that contains the optimized auto scale definition." }, - "virtualNetworkConfiguration": { + "trustedExternalTenants": { "oneOf": [ { - "$ref": "#/definitions/VirtualNetworkConfiguration" + "type": "array", + "items": { + "$ref": "#/definitions/TrustedExternalTenant" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "A class that contains virtual network definition." + "description": "The cluster's external tenants." }, - "keyVaultProperties": { + "virtualNetworkConfiguration": { "oneOf": [ { - "$ref": "#/definitions/KeyVaultProperties" + "$ref": "#/definitions/VirtualNetworkConfiguration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "KeyVault properties for the cluster encryption." + "description": "A class that contains virtual network definition." } - } + }, + "description": "Class representing the Kusto cluster properties." }, - "ReadWriteDatabaseProperties": { + "clusters_attachedDatabaseConfigurations_childResource": { "type": "object", "properties": { - "softDeletePeriod": { + "apiVersion": { "type": "string", - "format": "duration", - "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." + "enum": [ + "2019-09-07" + ] }, - "hotCachePeriod": { + "location": { "type": "string", - "format": "duration", - "description": "The time the data should be kept in cache for fast queries in TimeSpan." - } - } - }, - "ReadWriteDatabase": { - "type": "object", - "properties": { + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the attached database configuration." + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/ReadWriteDatabaseProperties" + "$ref": "#/definitions/AttachedDatabaseConfigurationProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Read write database properties" + "description": "Class representing the an attached database configuration properties of kind specific." }, - "kind": { + "type": { "type": "string", "enum": [ - "ReadWrite" - ], - "description": "Kind of the database" + "attachedDatabaseConfigurations" + ] } }, "required": [ - "kind", - "properties" + "apiVersion", + "name", + "properties", + "type" ], - "description": "Information about the readWrite database" + "description": "Microsoft.Kusto/clusters/attachedDatabaseConfigurations" }, - "AttachedDatabaseConfigurationsProperties": { + "clusters_databases_childResource": { "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ReadWriteDatabase" + }, + { + "$ref": "#/definitions/ReadOnlyFollowingDatabase" + } + ], "properties": { - "databaseName": { + "apiVersion": { "type": "string", - "description": "The name of the database which you would like to attach, use * if you want to follow all current and future databases." + "enum": [ + "2019-09-07" + ] }, - "clusterResourceId": { + "location": { "type": "string", - "description": "The resource id of the cluster where the databases you would like to attach reside." + "description": "Resource location." }, - "defaultPrincipalsModificationKind": { + "name": { + "type": "string", + "description": "The name of the database in the Kusto cluster." + }, + "type": { "type": "string", "enum": [ - "Union", - "Replace", - "None" - ], - "description": "The default principals modification kind" + "databases" + ] } - } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases" }, - "EventGridDataConnectionProperties": { + "clusters_databases_dataConnections_childResource": { "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/EventHubDataConnection" + }, + { + "$ref": "#/definitions/IotHubDataConnection" + }, + { + "$ref": "#/definitions/EventGridDataConnection" + } + ], "properties": { - "storageAccountResourceId": { + "apiVersion": { "type": "string", - "description": "The resource ID of the storage account where the data resides." + "enum": [ + "2019-09-07" + ] }, - "eventHubResourceId": { + "location": { "type": "string", - "description": "The resource ID where the event grid is configured to send events." + "description": "Resource location." }, - "consumerGroup": { + "name": { "type": "string", - "description": "The event hub consumer group." + "description": "The name of the data connection." }, - "tableName": { + "type": { "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { + "enum": [ + "dataConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases/dataConnections" + }, + "Componentssgqdofschemasidentitypropertiesuserassignedidentitiesadditionalproperties": { + "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": { + "consumerGroup": { "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." + "description": "The event hub consumer group." }, "dataFormat": { "oneOf": [ { - "$ref": "#/definitions/DataFormat" + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO", + "TSVE" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], "description": "The data format of the message. Optionally the data format can be added to each message." + }, + "eventHubResourceId": { + "type": "string", + "description": "The resource ID where the event grid is configured to send events." + }, + "mappingRuleName": { + "type": "string", + "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." + }, + "storageAccountResourceId": { + "type": "string", + "description": "The resource ID of the storage account where the data resides." + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." } }, "required": [ - "storageAccountResourceId", - "eventHubResourceId", "consumerGroup", - "tableName", - "dataFormat" + "dataFormat", + "eventHubResourceId", + "storageAccountResourceId", + "tableName" ], "description": "Class representing the Kusto event grid connection properties." }, "EventGridDataConnection": { "type": "object", "properties": { + "kind": { + "type": "string", + "enum": [ + "EventGrid" + ] + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/EventGridDataConnectionProperties" + "$ref": "#/definitions/EventGridConnectionProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], "description": "Class representing the Kusto event grid connection properties." - }, - "kind": { - "type": "string", - "enum": [ - "EventGrid" - ] } }, "required": [ @@ -529,29 +650,31 @@ ], "description": "Class representing an Event Grid data connection." }, - "EventHubDataConnectionProperties": { + "EventHubConnectionProperties": { "type": "object", "properties": { - "eventHubResourceId": { - "type": "string", - "description": "The resource ID of the event hub to be used to create a data connection." - }, "consumerGroup": { "type": "string", "description": "The event hub consumer group." }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, "dataFormat": { "oneOf": [ { - "$ref": "#/definitions/DataFormat" + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO", + "TSVE" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -559,49 +682,64 @@ ], "description": "The data format of the message. Optionally the data format can be added to each message." }, + "eventHubResourceId": { + "type": "string", + "description": "The resource ID of the event hub to be used to create a data connection." + }, "eventSystemProperties": { "oneOf": [ { - "$ref": "#/definitions/EventSystemProperties" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], "description": "System properties of the 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." + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." } }, "required": [ - "eventHubResourceId", - "consumerGroup" + "consumerGroup", + "eventHubResourceId" ], "description": "Class representing the Kusto event hub connection properties." }, "EventHubDataConnection": { "type": "object", "properties": { + "kind": { + "type": "string", + "enum": [ + "EventHub" + ] + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/EventHubDataConnectionProperties" + "$ref": "#/definitions/EventHubConnectionProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Event hub data connection properties" - }, - "kind": { - "type": "string", - "enum": [ - "EventHub" - ] + "description": "Class representing the Kusto event hub connection properties." } }, "required": [ "kind" ], - "description": "Information about the event hub data connection" + "description": "Class representing an event hub data connection." }, "Identity": { "type": "object", @@ -620,6 +758,21 @@ } ], "description": "The identity type." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/Componentssgqdofschemasidentitypropertiesuserassignedidentitiesadditionalproperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." } }, "required": [ @@ -627,29 +780,31 @@ ], "description": "Identity for the resource." }, - "IotHubDataConnectionProperties": { + "IotHubConnectionProperties": { "type": "object", "properties": { - "iotHubResourceId": { - "type": "string", - "description": "The resource ID of the iot hub to be used to create a data connection." - }, "consumerGroup": { "type": "string", "description": "The iot hub consumer group." }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, "dataFormat": { "oneOf": [ { - "$ref": "#/definitions/DataFormat" + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO", + "TSVE" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -660,102 +815,114 @@ "eventSystemProperties": { "oneOf": [ { - "$ref": "#/definitions/EventSystemProperties" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The iot hub system properties." + "description": "System properties of the iot hub" + }, + "iotHubResourceId": { + "type": "string", + "description": "The resource ID of the Iot hub to be used to create a data connection." + }, + "mappingRuleName": { + "type": "string", + "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." }, "sharedAccessPolicyName": { "type": "string", - "description": "The name of the shared access policy." + "description": "The name of the share access policy name" + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." } }, "required": [ - "iotHubResourceId", "consumerGroup", + "iotHubResourceId", "sharedAccessPolicyName" ], - "description": "Class representing the Kusto Iot hub connection properties." + "description": "Class representing the Kusto iot hub connection properties." }, "IotHubDataConnection": { "type": "object", "properties": { + "kind": { + "type": "string", + "enum": [ + "IotHub" + ] + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/IotHubDataConnectionProperties" + "$ref": "#/definitions/IotHubConnectionProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Iot hub data connection properties" - }, - "kind": { - "type": "string", - "enum": [ - "IotHub" - ] + "description": "Class representing the Kusto iot hub connection properties." } }, "required": [ "kind" ], - "description": "Information about the Iot hub data connection" + "description": "Class representing an iot hub data connection." }, "KeyVaultProperties": { "type": "object", "properties": { "keyName": { "type": "string", - "description": "The name of the key vault key.", - "x-ms-client-name": "KeyName" + "description": "The name of the key vault key." }, - "keyVersion": { + "keyVaultUri": { "type": "string", - "description": "The version of the key vault key.", - "x-ms-client-name": "KeyVersion" + "description": "The Uri of the key vault." }, - "keyVaultUri": { + "keyVersion": { "type": "string", - "description": "The Uri of the key vault.", - "x-ms-client-name": "KeyVaultUri" + "description": "The version of the key vault key." } }, "required": [ "keyName", - "keyVersion", - "keyVaultUri" + "keyVaultUri", + "keyVersion" ], "description": "Properties of the key vault." }, "OptimizedAutoscale": { "type": "object", "properties": { - "version": { + "isEnabled": { "oneOf": [ { - "type": "integer" + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The version of the template defined, for instance 1." + "description": "A boolean value that indicate if the optimized autoscale feature is enabled or not." }, - "isEnabled": { + "maximum": { "oneOf": [ { - "type": "boolean" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "A boolean value that indicate if the optimized autoscale feature is enabled or not." + "description": "Maximum allowed instances count." }, "minimum": { "oneOf": [ @@ -768,7 +935,7 @@ ], "description": "Minimum allowed instances count." }, - "maximum": { + "version": { "oneOf": [ { "type": "integer" @@ -777,17 +944,118 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Maximum allowed instances count." + "description": "The version of the template defined, for instance 1." } }, "required": [ - "version", "isEnabled", + "maximum", "minimum", - "maximum" + "version" ], "description": "A class that contains the optimized auto scale definition." }, + "ReadOnlyFollowingDatabase": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "ReadOnlyFollowing" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ReadOnlyFollowingDatabaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto database properties." + } + }, + "required": [ + "kind" + ], + "description": "Class representing a read only following database." + }, + "ReadOnlyFollowingDatabaseProperties": { + "type": "object", + "properties": { + "hotCachePeriod": { + "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." + }, + "ReadWriteDatabase": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "ReadWrite" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ReadWriteDatabaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto database properties." + } + }, + "required": [ + "kind" + ], + "description": "Class representing a read write database." + }, + "ReadWriteDatabaseProperties": { + "type": "object", + "properties": { + "hotCachePeriod": { + "type": "string", + "format": "duration", + "description": "The time the data should be kept in cache for fast queries in TimeSpan." + }, + "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." + }, "TrustedExternalTenant": { "type": "object", "properties": { @@ -801,54 +1069,25 @@ "VirtualNetworkConfiguration": { "type": "object", "properties": { - "subnetId": { + "dataManagementPublicIpId": { "type": "string", - "description": "The subnet resource id." + "description": "Data management's service public IP address resource id." }, "enginePublicIpId": { "type": "string", "description": "Engine service's public IP address resource id." }, - "dataManagementPublicIpId": { + "subnetId": { "type": "string", - "description": "Data management's service public IP address resource id." + "description": "The subnet resource id." } }, "required": [ - "subnetId", + "dataManagementPublicIpId", "enginePublicIpId", - "dataManagementPublicIpId" + "subnetId" ], "description": "A class that contains virtual network definition." - }, - "DataFormat": { - "type": "string", - "enum": [ - "MULTIJSON", - "JSON", - "CSV", - "TSV", - "SCSV", - "SOHSV", - "PSV", - "TXT", - "RAW", - "SINGLEJSON", - "AVRO", - "TSVE" - ], - "description": "The data format of the message. Optionally the data format can be added to each message.", - "x-ms-enum": { - "name": "dataFormat", - "modelAsString": true - } - }, - "EventSystemProperties": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The resource system properties." } } } \ No newline at end of file diff --git a/schemas/2019-11-09/Microsoft.Kusto.json b/schemas/2019-11-09/Microsoft.Kusto.json index ca8043574d..c5117dd961 100644 --- a/schemas/2019-11-09/Microsoft.Kusto.json +++ b/schemas/2019-11-09/Microsoft.Kusto.json @@ -7,40 +7,58 @@ "clusters": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The name of the Kusto cluster." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters" - ] - }, "apiVersion": { "type": "string", "enum": [ "2019-11-09" ] }, - "tags": { + "identity": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/definitions/Identity" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Resource tags." + "description": "Identity for the resource." }, "location": { "type": "string", "description": "The geo-location where the resource lives" }, + "name": { + "type": "string", + "description": "The name of the Kusto cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto cluster properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_principalAssignments_childResource" + }, + { + "$ref": "#/definitions/clusters_databases_childResource" + }, + { + "$ref": "#/definitions/clusters_attachedDatabaseConfigurations_childResource" + } + ] + } + }, "sku": { "oneOf": [ { @@ -50,90 +68,108 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The SKU of the Kusto cluster." + "description": "Azure SKU definition." }, - "zones": { + "tags": { "oneOf": [ { - "type": "array", - "items": { + "type": "object", + "additionalProperties": { "type": "string" - } + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "An array represents the availability zones of the cluster." + "description": "Resource tags." }, - "identity": { + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters" + ] + }, + "zones": { "oneOf": [ { - "$ref": "#/definitions/Identity" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Identity for the resource." + "description": "An array represents the availability zones of the cluster." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Kusto/clusters" + }, + "clusters_attachedDatabaseConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-11-09" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the attached database configuration." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/ClusterProperties" + "$ref": "#/definitions/AttachedDatabaseConfigurationProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Class representing the an attached database configuration properties of kind specific." }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/resourceDefinitions/clusters_databases" - }, - { - "$ref": "#/resourceDefinitions/clusters_attacheddatabaseconfigurations" - }, - { - "$ref": "#/resourceDefinitions/clusters_dataconnections" - }, - { - "$ref": "#/resourceDefinitions/clusters_principalassignments" - } - ] - } + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/attachedDatabaseConfigurations" + ] } }, "required": [ - "name", - "type", "apiVersion", - "location", - "sku" + "name", + "properties", + "type" ], - "description": "Microsoft.Kusto/clusters" + "description": "Microsoft.Kusto/clusters/attachedDatabaseConfigurations" }, "clusters_databases": { "type": "object", "oneOf": [ { "$ref": "#/definitions/ReadWriteDatabase" + }, + { + "$ref": "#/definitions/ReadOnlyFollowingDatabase" } ], "properties": { - "name": { - "type": "string", - "description": "The name of the database in the Kusto cluster." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/databases" - ] - }, "apiVersion": { "type": "string", "enum": [ @@ -144,243 +180,213 @@ "type": "string", "description": "Resource location." }, + "name": { + "type": "string", + "description": "The name of the database in the Kusto cluster." + }, "resources": { "type": "array", "items": { "oneOf": [ { - "$ref": "#/resourceDefinitions/clusters_databases_dataconnections" + "$ref": "#/definitions/clusters_databases_principalAssignments_childResource" }, { - "$ref": "#/resourceDefinitions/clusters_databases_principalassignments" + "$ref": "#/definitions/clusters_databases_dataConnections_childResource" } ] } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/databases" + ] } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "name", + "type" ], "description": "Microsoft.Kusto/clusters/databases" }, - "clusters_dataconnections": { + "clusters_databases_dataConnections": { "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The data connection name" + "oneOf": [ + { + "$ref": "#/definitions/EventHubDataConnection" }, - "type": { - "enum": [ - "Microsoft.Kusto/clusters/dataConnections" - ] + { + "$ref": "#/definitions/IotHubDataConnection" }, + { + "$ref": "#/definitions/EventGridDataConnection" + } + ], + "properties": { "apiVersion": { "type": "string", "enum": [ "2019-11-09" ] }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GenevaDataConnection" - }, - { - "$ref": "#/definitions/GenevaLegacyDataConnection" - } - ], - "description": "Properties supplied to the data connection create or update Kusto operation." + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the data connection." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/databases/dataConnections" + ] } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "name", + "type" ], - "description": "Microsoft.Kusto/clusters/dataConnections" + "description": "Microsoft.Kusto/clusters/databases/dataConnections" }, - "clusters_databases_dataconnections": { + "clusters_databases_principalAssignments": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The data connection name" - }, - "type": { - "enum": [ - "Microsoft.Kusto/clusters/databases/dataConnections" - ] - }, "apiVersion": { "type": "string", "enum": [ "2019-11-09" ] }, + "name": { + "type": "string", + "description": "The name of the Kusto principalAssignment." + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/EventHubDataConnection" - }, - { - "$ref": "#/definitions/EventGridDataConnection" + "$ref": "#/definitions/DatabasePrincipalProperties" }, { - "$ref": "#/definitions/IotHubDataConnection" + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties supplied to the Data Connection Create Or Update Kusto operation." + "description": "A class representing database principal property." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/databases/principalAssignments" + ] } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "name", + "properties", + "type" ], - "description": "Microsoft.Kusto/clusters/databases/dataConnections" + "description": "Microsoft.Kusto/clusters/databases/principalAssignments" }, - "clusters_attacheddatabaseconfigurations": { + "clusters_principalAssignments": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The name of the attached database configurations." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/AttachedDatabaseConfigurations" - ] - }, "apiVersion": { "type": "string", "enum": [ "2019-11-09" ] }, - "location": { + "name": { "type": "string", - "description": "Resource location." + "description": "The name of the Kusto principalAssignment." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/AttachedDatabaseConfigurationsProperties" + "$ref": "#/definitions/ClusterPrincipalProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } + ], + "description": "A class representing cluster principal property." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/principalAssignments" ] } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "name", + "properties", + "type" ], - "description": "Class representing an attached database configurations." - }, - "clusters_principalassignments": { + "description": "Microsoft.Kusto/clusters/principalAssignments" + } + }, + "definitions": { + "AttachedDatabaseConfigurationProperties": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The name of the cluster principal assignment" - }, - "type": { + "clusterResourceId": { "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/principalAssignments" - ] + "description": "The resource id of the cluster where the databases you would like to attach reside." }, - "apiVersion": { + "databaseName": { "type": "string", - "enum": [ - "2019-11-09" - ] + "description": "The name of the database which you would like to attach, use * if you want to follow all current and future databases." }, - "properties": { + "defaultPrincipalsModificationKind": { "oneOf": [ { - "$ref": "#/definitions/ClusterPrincipalProperties" + "type": "string", + "enum": [ + "Union", + "Replace", + "None" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "The default principals modification kind." } }, "required": [ - "name", - "type", - "apiVersion", - "properties" + "clusterResourceId", + "databaseName", + "defaultPrincipalsModificationKind" ], - "description": "Class representing a cluster principal assignment." + "description": "Class representing the an attached database configuration properties of kind specific." }, - "clusters_databases_principalassignments": { + "AzureSku": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The name of the database principal assignment" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/databases/principalAssignments" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2019-11-09" - ] - }, - "properties": { + "capacity": { "oneOf": [ { - "$ref": "#/definitions/DatabasePrincipalProperties" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] - } - }, - "required": [ - "name", - "type", - "apiVersion", - "properties" - ], - "description": "Class representing a database principal assignment." - } - }, - "definitions": { - "AzureSku": { - "type": "object", - "properties": { + ], + "description": "The number of instances of the cluster." + }, "name": { "oneOf": [ { "type": "string", "enum": [ - "KC8", - "KC16", - "KS8", - "KS16", - "D13_v2", - "D14_v2", - "L8", - "L16", "Standard_DS13_v2+1TB_PS", "Standard_DS13_v2+2TB_PS", "Standard_DS14_v2+3TB_PS", @@ -393,41 +399,22 @@ "Standard_D12_v2", "Standard_L4s", "Dev(No SLA)_Standard_D11_v2" - ], - "x-ms-enum": { - "name": "AzureSkuName", - "modelAsString": true - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SKU name. Possible values include: 'D14_v2', 'D13_v2', 'L16', 'L8', 'Standard_DS13_v2+1TB_PS', 'Standard_DS13_v2+2TB_PS', 'Standard_DS14_v2+3TB_PS', 'Standard_DS14_v2+4TB_PS', 'Dev(No SLA)_Standard_D11_v2'" - }, - "capacity": { - "oneOf": [ - { - "type": "integer" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The number of instances of the cluster." + "description": "SKU name." }, "tier": { "oneOf": [ { "type": "string", "enum": [ - "Standard", - "Basic" - ], - "x-ms-enum": { - "name": "AzureSkuTier", - "modelAsString": true - } + "Basic", + "Standard" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -442,34 +429,59 @@ ], "description": "Azure SKU definition." }, - "ClusterProperties": { + "ClusterPrincipalProperties": { "type": "object", "properties": { - "trustedExternalTenants": { + "principalId": { + "type": "string", + "description": "The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name." + }, + "principalType": { "oneOf": [ { - "type": "array", - "items": { - "$ref": "#/definitions/TrustedExternalTenant" - } + "type": "string", + "enum": [ + "App", + "Group", + "User" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The cluster's external tenants." + "description": "Principal type." }, - "optimizedAutoscale": { + "role": { "oneOf": [ { - "$ref": "#/definitions/OptimizedAutoscale" + "type": "string", + "enum": [ + "AllDatabasesAdmin", + "AllDatabasesViewer" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "A class that contains the optimized auto scale definition." + "description": "Cluster principal role." }, + "tenantId": { + "type": "string", + "description": "The tenant id of the principal" + } + }, + "required": [ + "principalId", + "principalType", + "role" + ], + "description": "A class representing cluster principal property." + }, + "ClusterProperties": { + "type": "object", + "properties": { "enableDiskEncryption": { "oneOf": [ { @@ -493,234 +505,412 @@ ], "description": "A boolean value that indicates if the streaming ingest is enabled." }, - "virtualNetworkConfiguration": { + "keyVaultProperties": { "oneOf": [ { - "$ref": "#/definitions/VirtualNetworkConfiguration" + "$ref": "#/definitions/KeyVaultProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "A class that contains virtual network definition." + "description": "Properties of the key vault." }, - "keyVaultProperties": { + "optimizedAutoscale": { "oneOf": [ { - "$ref": "#/definitions/KeyVaultProperties" + "$ref": "#/definitions/OptimizedAutoscale" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A class that contains the optimized auto scale definition." + }, + "trustedExternalTenants": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TrustedExternalTenant" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster's external tenants." + }, + "virtualNetworkConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkConfiguration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "KeyVault properties for the cluster encryption." + "description": "A class that contains virtual network definition." } - } + }, + "description": "Class representing the Kusto cluster properties." }, - "ReadWriteDatabaseProperties": { + "clusters_attachedDatabaseConfigurations_childResource": { "type": "object", "properties": { - "softDeletePeriod": { + "apiVersion": { "type": "string", - "format": "duration", - "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." + "enum": [ + "2019-11-09" + ] }, - "hotCachePeriod": { + "location": { "type": "string", - "format": "duration", - "description": "The time the data should be kept in cache for fast queries in TimeSpan." - } - } - }, - "ReadWriteDatabase": { - "type": "object", - "properties": { + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the attached database configuration." + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/ReadWriteDatabaseProperties" + "$ref": "#/definitions/AttachedDatabaseConfigurationProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Read write database properties" + "description": "Class representing the an attached database configuration properties of kind specific." }, - "kind": { + "type": { "type": "string", "enum": [ - "ReadWrite" - ], - "description": "Kind of the database" + "attachedDatabaseConfigurations" + ] } }, "required": [ - "kind", - "properties" + "apiVersion", + "name", + "properties", + "type" ], - "description": "Information about the readWrite database" + "description": "Microsoft.Kusto/clusters/attachedDatabaseConfigurations" }, - "AttachedDatabaseConfigurationsProperties": { + "clusters_databases_childResource": { "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ReadWriteDatabase" + }, + { + "$ref": "#/definitions/ReadOnlyFollowingDatabase" + } + ], "properties": { - "databaseName": { + "apiVersion": { "type": "string", - "description": "The name of the database which you would like to attach, use * if you want to follow all current and future databases." + "enum": [ + "2019-11-09" + ] }, - "clusterResourceId": { + "location": { "type": "string", - "description": "The resource id of the cluster where the databases you would like to attach reside." + "description": "Resource location." }, - "defaultPrincipalsModificationKind": { + "name": { + "type": "string", + "description": "The name of the database in the Kusto cluster." + }, + "type": { "type": "string", "enum": [ - "Union", - "Replace", - "None" - ], - "description": "The default principals modification kind" + "databases" + ] } - } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases" }, - "EventGridDataConnectionProperties": { + "clusters_databases_dataConnections_childResource": { "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/EventHubDataConnection" + }, + { + "$ref": "#/definitions/IotHubDataConnection" + }, + { + "$ref": "#/definitions/EventGridDataConnection" + } + ], "properties": { - "storageAccountResourceId": { + "apiVersion": { "type": "string", - "description": "The resource ID of the storage account where the data resides." + "enum": [ + "2019-11-09" + ] }, - "eventHubResourceId": { + "location": { "type": "string", - "description": "The resource ID where the event grid is configured to send events." + "description": "Resource location." }, - "consumerGroup": { + "name": { "type": "string", - "description": "The event hub consumer group." + "description": "The name of the data connection." }, - "tableName": { + "type": { "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." + "enum": [ + "dataConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases/dataConnections" + }, + "clusters_databases_principalAssignments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-11-09" + ] }, - "mappingRuleName": { + "name": { "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." + "description": "The name of the Kusto principalAssignment." }, - "dataFormat": { + "properties": { "oneOf": [ { - "$ref": "#/definitions/DataFormat" + "$ref": "#/definitions/DatabasePrincipalProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The data format of the message. Optionally the data format can be added to each message." + "description": "A class representing database principal property." + }, + "type": { + "type": "string", + "enum": [ + "principalAssignments" + ] } }, "required": [ - "storageAccountResourceId", - "eventHubResourceId", - "consumerGroup", - "tableName", - "dataFormat" + "apiVersion", + "name", + "properties", + "type" ], - "description": "Class representing the Kusto event grid connection properties." + "description": "Microsoft.Kusto/clusters/databases/principalAssignments" }, - "DatabasePrincipalProperties": { + "clusters_principalAssignments_childResource": { "type": "object", "properties": { - "principalId": { - "description": "The principal ID assigned to the database principal. It can be a user email, application ID, or security group name.", - "type": "string" - }, - "role": { - "description": "Database principal role.", + "apiVersion": { "type": "string", "enum": [ - "Admin", - "Ingestor", - "Monitor", - "User", - "UnrestrictedViewers", - "Viewer" + "2019-11-09" ] }, - "tenantId": { + "name": { "type": "string", - "description": "The tenant id of the principal" + "description": "The name of the Kusto principalAssignment." }, - "principalType": { - "description": "Principal type.", + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterPrincipalProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A class representing cluster principal property." + }, + "type": { "type": "string", "enum": [ - "App", - "Group", - "User" + "principalAssignments" ] } }, "required": [ - "principalId", - "role", - "principalType" + "apiVersion", + "name", + "properties", + "type" ], - "description": "A class representing database principal property." + "description": "Microsoft.Kusto/clusters/principalAssignments" }, - "ClusterPrincipalProperties": { + "Componentssgqdofschemasidentitypropertiesuserassignedidentitiesadditionalproperties": { + "type": "object", + "properties": {} + }, + "DatabasePrincipalProperties": { "type": "object", "properties": { "principalId": { - "description": "The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name.", - "type": "string" + "type": "string", + "description": "The principal ID assigned to the database principal. It can be a user email, application ID, or security group name." + }, + "principalType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "App", + "Group", + "User" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Principal type." }, "role": { - "description": "Cluster principal role.", - "type": "string", - "enum": [ - "AllDatabasesAdmin", - "AllDatabasesViewer" - ] + "oneOf": [ + { + "type": "string", + "enum": [ + "Admin", + "Ingestor", + "Monitor", + "User", + "UnrestrictedViewers", + "Viewer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Database principal role." }, "tenantId": { "type": "string", "description": "The tenant id of the principal" - }, - "principalType": { - "description": "Principal type.", - "type": "string", - "enum": [ - "App", - "Group", - "User" - ] } }, "required": [ "principalId", - "role", - "principalType" + "principalType", + "role" ], - "description": "A class representing cluster principal property." + "description": "A class representing database principal property." }, - "EventGridDataConnection": { + "DatabaseStatistics": { "type": "object", "properties": { - "properties": { + "size": { "oneOf": [ { - "$ref": "#/definitions/EventGridDataConnectionProperties" + "type": "number" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Class representing the Kusto event grid connection properties." + "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": { + "consumerGroup": { + "type": "string", + "description": "The event hub consumer group." + }, + "dataFormat": { + "oneOf": [ + { + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO", + "TSVE", + "PARQUET", + "ORC" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The data format of the message. Optionally the data format can be added to each message." }, + "eventHubResourceId": { + "type": "string", + "description": "The resource ID where the event grid is configured to send events." + }, + "mappingRuleName": { + "type": "string", + "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." + }, + "storageAccountResourceId": { + "type": "string", + "description": "The resource ID of the storage account where the data resides." + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." + } + }, + "required": [ + "consumerGroup", + "dataFormat", + "eventHubResourceId", + "storageAccountResourceId", + "tableName" + ], + "description": "Class representing the Kusto event grid connection properties." + }, + "EventGridDataConnection": { + "type": "object", + "properties": { "kind": { "type": "string", "enum": [ "EventGrid" ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EventGridConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto event grid connection properties." } }, "required": [ @@ -728,29 +918,48 @@ ], "description": "Class representing an Event Grid data connection." }, - "EventHubDataConnectionProperties": { + "EventHubConnectionProperties": { "type": "object", "properties": { - "eventHubResourceId": { - "type": "string", - "description": "The resource ID of the event hub to be used to create a data connection." + "compression": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "GZip" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The event hub messages compression type." }, "consumerGroup": { "type": "string", "description": "The event hub consumer group." }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, "dataFormat": { "oneOf": [ { - "$ref": "#/definitions/DataFormat" + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO", + "TSVE", + "PARQUET", + "ORC" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -758,49 +967,64 @@ ], "description": "The data format of the message. Optionally the data format can be added to each message." }, + "eventHubResourceId": { + "type": "string", + "description": "The resource ID of the event hub to be used to create a data connection." + }, "eventSystemProperties": { "oneOf": [ { - "$ref": "#/definitions/EventSystemProperties" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], "description": "System properties of the 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." + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." } }, "required": [ - "eventHubResourceId", - "consumerGroup" + "consumerGroup", + "eventHubResourceId" ], "description": "Class representing the Kusto event hub connection properties." }, "EventHubDataConnection": { "type": "object", "properties": { + "kind": { + "type": "string", + "enum": [ + "EventHub" + ] + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/EventHubDataConnectionProperties" + "$ref": "#/definitions/EventHubConnectionProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Event hub data connection properties" - }, - "kind": { - "type": "string", - "enum": [ - "EventHub" - ] + "description": "Class representing the Kusto event hub connection properties." } }, "required": [ "kind" ], - "description": "Information about the event hub data connection" + "description": "Class representing an event hub data connection." }, "Identity": { "type": "object", @@ -819,6 +1043,21 @@ } ], "description": "The identity type." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/Componentssgqdofschemasidentitypropertiesuserassignedidentitiesadditionalproperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." } }, "required": [ @@ -826,29 +1065,33 @@ ], "description": "Identity for the resource." }, - "IotHubDataConnectionProperties": { + "IotHubConnectionProperties": { "type": "object", "properties": { - "iotHubResourceId": { - "type": "string", - "description": "The resource ID of the iot hub to be used to create a data connection." - }, "consumerGroup": { "type": "string", "description": "The iot hub consumer group." }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, "dataFormat": { "oneOf": [ { - "$ref": "#/definitions/DataFormat" + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO", + "TSVE", + "PARQUET", + "ORC" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -859,22 +1102,37 @@ "eventSystemProperties": { "oneOf": [ { - "$ref": "#/definitions/EventSystemProperties" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The iot hub system properties." + "description": "System properties of the iot hub" + }, + "iotHubResourceId": { + "type": "string", + "description": "The resource ID of the Iot hub to be used to create a data connection." + }, + "mappingRuleName": { + "type": "string", + "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." }, "sharedAccessPolicyName": { "type": "string", - "description": "The name of the shared access policy." + "description": "The name of the share access policy" + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." } }, "required": [ - "iotHubResourceId", "consumerGroup", + "iotHubResourceId", "sharedAccessPolicyName" ], "description": "Class representing the Kusto Iot hub connection properties." @@ -882,198 +1140,208 @@ "IotHubDataConnection": { "type": "object", "properties": { + "kind": { + "type": "string", + "enum": [ + "IotHub" + ] + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/IotHubDataConnectionProperties" + "$ref": "#/definitions/IotHubConnectionProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Iot hub data connection properties" - }, - "kind": { - "type": "string", - "enum": [ - "IotHub" - ] + "description": "Class representing the Kusto Iot hub connection properties." } }, "required": [ "kind" ], - "description": "Information about the Iot hub data connection" + "description": "Class representing an iot hub data connection." }, - "GenevaDataConnectionProperties": { + "KeyVaultProperties": { "type": "object", "properties": { - "genevaEnvironment": { + "keyName": { + "type": "string", + "description": "The name of the key vault key." + }, + "keyVaultUri": { "type": "string", - "description": "The Geneva environment of the geneva data connection." + "description": "The Uri of the key vault." + }, + "keyVersion": { + "type": "string", + "description": "The version of the key vault key." } }, "required": [ - "genevaEnvironment" + "keyName", + "keyVaultUri", + "keyVersion" ], - "description": "Class representing the Kusto Geneva (GDS) connection properties." + "description": "Properties of the key vault." }, - "GenevaDataConnection": { + "OptimizedAutoscale": { "type": "object", "properties": { - "properties": { + "isEnabled": { "oneOf": [ { - "$ref": "#/definitions/GenevaDataConnectionProperties" + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Geneva (DGS) data connection properties" + "description": "A boolean value that indicate if the optimized autoscale feature is enabled or not." }, - "kind": { - "type": "string", - "enum": [ - "Geneva" - ] - } - }, - "required": [ - "kind" - ], - "description": "Information about the Geneva (GDS) data connection" - }, - "GenevaLegacyDataConnectionProperties": { - "type": "object", - "properties": { - "genevaEnvironment": { - "type": "string", - "description": "The Geneva environment of the geneva data connection." + "maximum": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum allowed instances count." }, - "mdsAccounts": { - "type:": "array", - "description": "The list of mds accounts of the geneva data connection." + "minimum": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Minimum allowed instances count." }, - "isScrubbed": { - "type:": "boolean", - "description": "Indicates whether the data is scrubbed." + "version": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The version of the template defined, for instance 1." } }, "required": [ - "genevaEnvironment", - "mdsAccounts", - "isScrubbed" + "isEnabled", + "maximum", + "minimum", + "version" ], - "description": "Class representing the Kusto Geneva legacy connection properties." + "description": "A class that contains the optimized auto scale definition." }, - "GenevaLegacyDataConnection": { + "ReadOnlyFollowingDatabase": { "type": "object", "properties": { + "kind": { + "type": "string", + "enum": [ + "ReadOnlyFollowing" + ] + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/GenevaLegacyDataConnectionProperties" + "$ref": "#/definitions/ReadOnlyFollowingDatabaseProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Geneva legacy data connection properties" - }, - "kind": { - "type": "string", - "enum": [ - "GenevaLegacy" - ] + "description": "Class representing the Kusto database properties." } }, "required": [ "kind" ], - "description": "Information about the Geneva (GDS) data connection" + "description": "Class representing a read only following database." }, - "KeyVaultProperties": { + "ReadOnlyFollowingDatabaseProperties": { "type": "object", "properties": { - "keyName": { - "type": "string", - "description": "The name of the key vault key.", - "x-ms-client-name": "KeyName" - }, - "keyVersion": { + "hotCachePeriod": { "type": "string", - "description": "The version of the key vault key.", - "x-ms-client-name": "KeyVersion" + "format": "duration", + "description": "The time the data should be kept in cache for fast queries in TimeSpan." }, - "keyVaultUri": { - "type": "string", - "description": "The Uri of the key vault.", - "x-ms-client-name": "KeyVaultUri" - } - }, - "required": [ - "keyName", - "keyVersion", - "keyVaultUri" - ], - "description": "Properties of the key vault." - }, - "OptimizedAutoscale": { - "type": "object", - "properties": { - "version": { + "statistics": { "oneOf": [ { - "type": "integer" + "$ref": "#/definitions/DatabaseStatistics" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The version of the template defined, for instance 1." + "description": "A class that contains database statistics information." + } + }, + "description": "Class representing the Kusto database properties." + }, + "ReadWriteDatabase": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "ReadWrite" + ] }, - "isEnabled": { + "properties": { "oneOf": [ { - "type": "boolean" + "$ref": "#/definitions/ReadWriteDatabaseProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "A boolean value that indicate if the optimized autoscale feature is enabled or not." + "description": "Class representing the Kusto database properties." + } + }, + "required": [ + "kind" + ], + "description": "Class representing a read write database." + }, + "ReadWriteDatabaseProperties": { + "type": "object", + "properties": { + "hotCachePeriod": { + "type": "string", + "format": "duration", + "description": "The time the data should be kept in cache for fast queries in TimeSpan." }, - "minimum": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum allowed instances count." + "softDeletePeriod": { + "type": "string", + "format": "duration", + "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." }, - "maximum": { + "statistics": { "oneOf": [ { - "type": "integer" + "$ref": "#/definitions/DatabaseStatistics" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Maximum allowed instances count." + "description": "A class that contains database statistics information." } }, - "required": [ - "version", - "isEnabled", - "minimum", - "maximum" - ], - "description": "A class that contains the optimized auto scale definition." + "description": "Class representing the Kusto database properties." }, "TrustedExternalTenant": { "type": "object", @@ -1088,56 +1356,25 @@ "VirtualNetworkConfiguration": { "type": "object", "properties": { - "subnetId": { + "dataManagementPublicIpId": { "type": "string", - "description": "The subnet resource id." + "description": "Data management's service public IP address resource id." }, "enginePublicIpId": { "type": "string", "description": "Engine service's public IP address resource id." }, - "dataManagementPublicIpId": { + "subnetId": { "type": "string", - "description": "Data management's service public IP address resource id." + "description": "The subnet resource id." } }, "required": [ - "subnetId", + "dataManagementPublicIpId", "enginePublicIpId", - "dataManagementPublicIpId" + "subnetId" ], "description": "A class that contains virtual network definition." - }, - "DataFormat": { - "type": "string", - "enum": [ - "MULTIJSON", - "JSON", - "CSV", - "TSV", - "SCSV", - "SOHSV", - "PSV", - "TXT", - "RAW", - "SINGLEJSON", - "AVRO", - "TSVE", - "PARQUET", - "ORC" - ], - "description": "The data format of the message. Optionally the data format can be added to each message.", - "x-ms-enum": { - "name": "dataFormat", - "modelAsString": true - } - }, - "EventSystemProperties": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The resource system properties." } } } \ No newline at end of file diff --git a/schemas/2020-02-15/Microsoft.Kusto.json b/schemas/2020-02-15/Microsoft.Kusto.json index bb7e0d8ba8..93529c7e23 100644 --- a/schemas/2020-02-15/Microsoft.Kusto.json +++ b/schemas/2020-02-15/Microsoft.Kusto.json @@ -7,40 +7,58 @@ "clusters": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The name of the Kusto cluster." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters" - ] - }, "apiVersion": { "type": "string", "enum": [ "2020-02-15" ] }, - "tags": { + "identity": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/definitions/Identity" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Resource tags." + "description": "Identity for the resource." }, "location": { "type": "string", "description": "The geo-location where the resource lives" }, + "name": { + "type": "string", + "description": "The name of the Kusto cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto cluster properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_principalAssignments_childResource" + }, + { + "$ref": "#/definitions/clusters_databases_childResource" + }, + { + "$ref": "#/definitions/clusters_attachedDatabaseConfigurations_childResource" + } + ] + } + }, "sku": { "oneOf": [ { @@ -50,90 +68,108 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The SKU of the Kusto cluster." + "description": "Azure SKU definition." }, - "zones": { + "tags": { "oneOf": [ { - "type": "array", - "items": { + "type": "object", + "additionalProperties": { "type": "string" - } + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "An array represents the availability zones of the cluster." + "description": "Resource tags." }, - "identity": { + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters" + ] + }, + "zones": { "oneOf": [ { - "$ref": "#/definitions/Identity" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Identity for the resource." + "description": "An array represents the availability zones of the cluster." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Kusto/clusters" + }, + "clusters_attachedDatabaseConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-02-15" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the attached database configuration." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/ClusterProperties" + "$ref": "#/definitions/AttachedDatabaseConfigurationProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Class representing the an attached database configuration properties of kind specific." }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/resourceDefinitions/clusters_databases" - }, - { - "$ref": "#/resourceDefinitions/clusters_attacheddatabaseconfigurations" - }, - { - "$ref": "#/resourceDefinitions/clusters_dataconnections" - }, - { - "$ref": "#/resourceDefinitions/clusters_principalassignments" - } - ] - } + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/attachedDatabaseConfigurations" + ] } }, "required": [ - "name", - "type", "apiVersion", - "location", - "sku" + "name", + "properties", + "type" ], - "description": "Microsoft.Kusto/clusters" + "description": "Microsoft.Kusto/clusters/attachedDatabaseConfigurations" }, "clusters_databases": { "type": "object", "oneOf": [ { "$ref": "#/definitions/ReadWriteDatabase" + }, + { + "$ref": "#/definitions/ReadOnlyFollowingDatabase" } ], "properties": { - "name": { - "type": "string", - "description": "The name of the database in the Kusto cluster." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/databases" - ] - }, "apiVersion": { "type": "string", "enum": [ @@ -144,230 +180,208 @@ "type": "string", "description": "Resource location." }, + "name": { + "type": "string", + "description": "The name of the database in the Kusto cluster." + }, "resources": { "type": "array", "items": { "oneOf": [ { - "$ref": "#/resourceDefinitions/clusters_databases_dataconnections" + "$ref": "#/definitions/clusters_databases_principalAssignments_childResource" }, { - "$ref": "#/resourceDefinitions/clusters_databases_principalassignments" + "$ref": "#/definitions/clusters_databases_dataConnections_childResource" } ] } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/databases" + ] } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "name", + "type" ], "description": "Microsoft.Kusto/clusters/databases" }, - "clusters_dataconnections": { + "clusters_databases_dataConnections": { "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The data connection name" + "oneOf": [ + { + "$ref": "#/definitions/EventHubDataConnection" }, - "type": { - "enum": [ - "Microsoft.Kusto/clusters/dataConnections" - ] + { + "$ref": "#/definitions/IotHubDataConnection" }, + { + "$ref": "#/definitions/EventGridDataConnection" + } + ], + "properties": { "apiVersion": { "type": "string", "enum": [ "2020-02-15" ] }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GenevaDataConnection" - }, - { - "$ref": "#/definitions/GenevaLegacyDataConnection" - } - ], - "description": "Properties supplied to the data connection create or update Kusto operation." + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the data connection." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/databases/dataConnections" + ] } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "name", + "type" ], - "description": "Microsoft.Kusto/clusters/dataConnections" + "description": "Microsoft.Kusto/clusters/databases/dataConnections" }, - "clusters_databases_dataconnections": { + "clusters_databases_principalAssignments": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The data connection name" - }, - "type": { - "enum": [ - "Microsoft.Kusto/clusters/databases/dataConnections" - ] - }, "apiVersion": { "type": "string", "enum": [ "2020-02-15" ] }, + "name": { + "type": "string", + "description": "The name of the Kusto principalAssignment." + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/EventHubDataConnection" - }, - { - "$ref": "#/definitions/EventGridDataConnection" + "$ref": "#/definitions/DatabasePrincipalProperties" }, { - "$ref": "#/definitions/IotHubDataConnection" + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties supplied to the Data Connection Create Or Update Kusto operation." + "description": "A class representing database principal property." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/databases/principalAssignments" + ] } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "name", + "properties", + "type" ], - "description": "Microsoft.Kusto/clusters/databases/dataConnections" + "description": "Microsoft.Kusto/clusters/databases/principalAssignments" }, - "clusters_attacheddatabaseconfigurations": { + "clusters_principalAssignments": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The name of the attached database configurations." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/AttachedDatabaseConfigurations" - ] - }, "apiVersion": { "type": "string", "enum": [ "2020-02-15" ] }, - "location": { + "name": { "type": "string", - "description": "Resource location." + "description": "The name of the Kusto principalAssignment." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/AttachedDatabaseConfigurationsProperties" + "$ref": "#/definitions/ClusterPrincipalProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } + ], + "description": "A class representing cluster principal property." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/principalAssignments" ] } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "name", + "properties", + "type" ], - "description": "Class representing an attached database configurations." - }, - "clusters_principalassignments": { + "description": "Microsoft.Kusto/clusters/principalAssignments" + } + }, + "definitions": { + "AttachedDatabaseConfigurationProperties": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The name of the cluster principal assignment" - }, - "type": { + "clusterResourceId": { "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/principalAssignments" - ] + "description": "The resource id of the cluster where the databases you would like to attach reside." }, - "apiVersion": { + "databaseName": { "type": "string", - "enum": [ - "2020-02-15" - ] + "description": "The name of the database which you would like to attach, use * if you want to follow all current and future databases." }, - "properties": { + "defaultPrincipalsModificationKind": { "oneOf": [ { - "$ref": "#/definitions/ClusterPrincipalProperties" + "type": "string", + "enum": [ + "Union", + "Replace", + "None" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "The default principals modification kind." } }, "required": [ - "name", - "type", - "apiVersion", - "properties" + "clusterResourceId", + "databaseName", + "defaultPrincipalsModificationKind" ], - "description": "Class representing a cluster principal assignment." + "description": "Class representing the an attached database configuration properties of kind specific." }, - "clusters_databases_principalassignments": { + "AzureSku": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The name of the database principal assignment" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/databases/principalAssignments" - ] - }, - "apiVersion": { - "type": "string", - "enum": [ - "2020-02-15" - ] - }, - "properties": { + "capacity": { "oneOf": [ { - "$ref": "#/definitions/DatabasePrincipalProperties" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] - } - }, - "required": [ - "name", - "type", - "apiVersion", - "properties" - ], - "description": "Class representing a database principal assignment." - } - }, - "definitions": { - "AzureSku": { - "type": "object", - "properties": { + ], + "description": "The number of instances of the cluster." + }, "name": { "oneOf": [ { @@ -394,41 +408,22 @@ "Standard_E16as_v4+3TB_PS", "Standard_E16as_v4+4TB_PS", "Dev(No SLA)_Standard_E2a_v4" - ], - "x-ms-enum": { - "name": "AzureSkuName", - "modelAsString": true - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SKU name. Possible values include: 'Standard_DS13_v2+1TB_PS', 'Standard_DS13_v2+2TB_PS', 'Standard_DS14_v2+3TB_PS', 'Standard_DS14_v2+4TB_PS', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_L8s', 'Standard_L16s', 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_L4s', 'Dev(No SLA)_Standard_D11_v2', 'Standard_E2a_v4', 'Standard_E4a_v4', 'Standard_E8a_v4', 'Standard_E16a_v4', 'Standard_E8as_v4+1TB_PS', 'Standard_E8as_v4+2TB_PS', 'Standard_E16as_v4+3TB_PS', 'Standard_E16as_v4+4TB_PS', 'Dev(No SLA)_Standard_E2a_v4'" - }, - "capacity": { - "oneOf": [ - { - "type": "integer" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The number of instances of the cluster." + "description": "SKU name." }, "tier": { "oneOf": [ { "type": "string", "enum": [ - "Standard", - "Basic" - ], - "x-ms-enum": { - "name": "AzureSkuTier", - "modelAsString": true - } + "Basic", + "Standard" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -443,34 +438,59 @@ ], "description": "Azure SKU definition." }, - "ClusterProperties": { + "ClusterPrincipalProperties": { "type": "object", "properties": { - "trustedExternalTenants": { + "principalId": { + "type": "string", + "description": "The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name." + }, + "principalType": { "oneOf": [ { - "type": "array", - "items": { - "$ref": "#/definitions/TrustedExternalTenant" - } + "type": "string", + "enum": [ + "App", + "Group", + "User" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The cluster's external tenants." + "description": "Principal type." }, - "optimizedAutoscale": { + "role": { "oneOf": [ { - "$ref": "#/definitions/OptimizedAutoscale" + "type": "string", + "enum": [ + "AllDatabasesAdmin", + "AllDatabasesViewer" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "A class that contains the optimized auto scale definition." + "description": "Cluster principal role." }, + "tenantId": { + "type": "string", + "description": "The tenant id of the principal" + } + }, + "required": [ + "principalId", + "principalType", + "role" + ], + "description": "A class representing cluster principal property." + }, + "ClusterProperties": { + "type": "object", + "properties": { "enableDiskEncryption": { "oneOf": [ { @@ -482,7 +502,7 @@ ], "description": "A boolean value that indicates if the cluster's disks are encrypted." }, - "enableStreamingIngest": { + "enablePurge": { "oneOf": [ { "type": "boolean", @@ -492,18 +512,19 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "A boolean value that indicates if the streaming ingest is enabled." + "description": "A boolean value that indicates if the purge operations are enabled." }, - "virtualNetworkConfiguration": { + "enableStreamingIngest": { "oneOf": [ { - "$ref": "#/definitions/VirtualNetworkConfiguration" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "A class that contains virtual network definition." + "description": "A boolean value that indicates if the streaming ingest is enabled." }, "keyVaultProperties": { "oneOf": [ @@ -514,226 +535,414 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "KeyVault properties for the cluster encryption." + "description": "Properties of the key vault." }, - "enablePurge": { + "languageExtensions": { "oneOf": [ { - "type": "boolean", - "default": false + "$ref": "#/definitions/LanguageExtensionsList" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "A boolean value that indicates if the purge operations are enabled." + "description": "The list of language extension objects." + }, + "optimizedAutoscale": { + "oneOf": [ + { + "$ref": "#/definitions/OptimizedAutoscale" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A class that contains the optimized auto scale definition." + }, + "trustedExternalTenants": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TrustedExternalTenant" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster's external tenants." + }, + "virtualNetworkConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A class that contains virtual network definition." } - } + }, + "description": "Class representing the Kusto cluster properties." }, - "ReadWriteDatabaseProperties": { + "clusters_attachedDatabaseConfigurations_childResource": { "type": "object", "properties": { - "softDeletePeriod": { + "apiVersion": { "type": "string", - "format": "duration", - "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." + "enum": [ + "2020-02-15" + ] }, - "hotCachePeriod": { + "location": { "type": "string", - "format": "duration", - "description": "The time the data should be kept in cache for fast queries in TimeSpan." - } - } - }, - "ReadWriteDatabase": { - "type": "object", - "properties": { + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the attached database configuration." + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/ReadWriteDatabaseProperties" + "$ref": "#/definitions/AttachedDatabaseConfigurationProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Read write database properties" + "description": "Class representing the an attached database configuration properties of kind specific." }, - "kind": { + "type": { "type": "string", "enum": [ - "ReadWrite" - ], - "description": "Kind of the database" + "attachedDatabaseConfigurations" + ] } }, "required": [ - "kind", - "properties" + "apiVersion", + "name", + "properties", + "type" ], - "description": "Information about the readWrite database" + "description": "Microsoft.Kusto/clusters/attachedDatabaseConfigurations" }, - "AttachedDatabaseConfigurationsProperties": { + "clusters_databases_childResource": { "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ReadWriteDatabase" + }, + { + "$ref": "#/definitions/ReadOnlyFollowingDatabase" + } + ], "properties": { - "databaseName": { + "apiVersion": { "type": "string", - "description": "The name of the database which you would like to attach, use * if you want to follow all current and future databases." + "enum": [ + "2020-02-15" + ] }, - "clusterResourceId": { + "location": { "type": "string", - "description": "The resource id of the cluster where the databases you would like to attach reside." + "description": "Resource location." }, - "defaultPrincipalsModificationKind": { + "name": { + "type": "string", + "description": "The name of the database in the Kusto cluster." + }, + "type": { "type": "string", "enum": [ - "Union", - "Replace", - "None" - ], - "description": "The default principals modification kind" + "databases" + ] } - } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases" }, - "EventGridDataConnectionProperties": { + "clusters_databases_dataConnections_childResource": { "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/EventHubDataConnection" + }, + { + "$ref": "#/definitions/IotHubDataConnection" + }, + { + "$ref": "#/definitions/EventGridDataConnection" + } + ], "properties": { - "storageAccountResourceId": { + "apiVersion": { "type": "string", - "description": "The resource ID of the storage account where the data resides." + "enum": [ + "2020-02-15" + ] }, - "eventHubResourceId": { + "location": { "type": "string", - "description": "The resource ID where the event grid is configured to send events." + "description": "Resource location." }, - "consumerGroup": { + "name": { "type": "string", - "description": "The event hub consumer group." + "description": "The name of the data connection." }, - "tableName": { + "type": { "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." + "enum": [ + "dataConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases/dataConnections" + }, + "clusters_databases_principalAssignments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-02-15" + ] }, - "mappingRuleName": { + "name": { "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." + "description": "The name of the Kusto principalAssignment." }, - "dataFormat": { + "properties": { "oneOf": [ { - "$ref": "#/definitions/DataFormat" + "$ref": "#/definitions/DatabasePrincipalProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The data format of the message. Optionally the data format can be added to each message." + "description": "A class representing database principal property." + }, + "type": { + "type": "string", + "enum": [ + "principalAssignments" + ] } }, "required": [ - "storageAccountResourceId", - "eventHubResourceId", - "consumerGroup", - "tableName", - "dataFormat" + "apiVersion", + "name", + "properties", + "type" ], - "description": "Class representing the Kusto event grid connection properties." + "description": "Microsoft.Kusto/clusters/databases/principalAssignments" }, - "DatabasePrincipalProperties": { + "clusters_principalAssignments_childResource": { "type": "object", "properties": { - "principalId": { - "description": "The principal ID assigned to the database principal. It can be a user email, application ID, or security group name.", - "type": "string" - }, - "role": { - "description": "Database principal role.", + "apiVersion": { "type": "string", "enum": [ - "Admin", - "Ingestor", - "Monitor", - "User", - "UnrestrictedViewers", - "Viewer" + "2020-02-15" ] }, - "tenantId": { + "name": { "type": "string", - "description": "The tenant id of the principal" + "description": "The name of the Kusto principalAssignment." }, - "principalType": { - "description": "Principal type.", + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterPrincipalProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A class representing cluster principal property." + }, + "type": { "type": "string", "enum": [ - "App", - "Group", - "User" + "principalAssignments" ] } }, "required": [ - "principalId", - "role", - "principalType" + "apiVersion", + "name", + "properties", + "type" ], - "description": "A class representing database principal property." + "description": "Microsoft.Kusto/clusters/principalAssignments" }, - "ClusterPrincipalProperties": { + "Componentssgqdofschemasidentitypropertiesuserassignedidentitiesadditionalproperties": { + "type": "object", + "properties": {} + }, + "DatabasePrincipalProperties": { "type": "object", "properties": { "principalId": { - "description": "The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name.", - "type": "string" + "type": "string", + "description": "The principal ID assigned to the database principal. It can be a user email, application ID, or security group name." + }, + "principalType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "App", + "Group", + "User" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Principal type." }, "role": { - "description": "Cluster principal role.", - "type": "string", - "enum": [ - "AllDatabasesAdmin", - "AllDatabasesViewer" - ] + "oneOf": [ + { + "type": "string", + "enum": [ + "Admin", + "Ingestor", + "Monitor", + "User", + "UnrestrictedViewers", + "Viewer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Database principal role." }, "tenantId": { "type": "string", "description": "The tenant id of the principal" - }, - "principalType": { - "description": "Principal type.", - "type": "string", - "enum": [ - "App", - "Group", - "User" - ] } }, "required": [ "principalId", - "role", - "principalType" + "principalType", + "role" ], - "description": "A class representing cluster principal property." + "description": "A class representing database principal property." }, - "EventGridDataConnection": { + "DatabaseStatistics": { "type": "object", "properties": { - "properties": { + "size": { "oneOf": [ { - "$ref": "#/definitions/EventGridDataConnectionProperties" + "type": "number" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Class representing the Kusto event grid connection properties." + "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": { + "consumerGroup": { + "type": "string", + "description": "The event hub consumer group." + }, + "dataFormat": { + "oneOf": [ + { + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO", + "TSVE", + "PARQUET", + "ORC" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The data format of the message. Optionally the data format can be added to each message." + }, + "eventHubResourceId": { + "type": "string", + "description": "The resource ID where the event grid is configured to send events." }, + "mappingRuleName": { + "type": "string", + "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." + }, + "storageAccountResourceId": { + "type": "string", + "description": "The resource ID of the storage account where the data resides." + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." + } + }, + "required": [ + "consumerGroup", + "dataFormat", + "eventHubResourceId", + "storageAccountResourceId", + "tableName" + ], + "description": "Class representing the Kusto event grid connection properties." + }, + "EventGridDataConnection": { + "type": "object", + "properties": { "kind": { "type": "string", "enum": [ "EventGrid" ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EventGridConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto event grid connection properties." } }, "required": [ @@ -741,29 +950,48 @@ ], "description": "Class representing an Event Grid data connection." }, - "EventHubDataConnectionProperties": { + "EventHubConnectionProperties": { "type": "object", "properties": { - "eventHubResourceId": { - "type": "string", - "description": "The resource ID of the event hub to be used to create a data connection." + "compression": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "GZip" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The event hub messages compression type." }, "consumerGroup": { "type": "string", "description": "The event hub consumer group." }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, "dataFormat": { "oneOf": [ { - "$ref": "#/definitions/DataFormat" + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO", + "TSVE", + "PARQUET", + "ORC" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -771,49 +999,64 @@ ], "description": "The data format of the message. Optionally the data format can be added to each message." }, + "eventHubResourceId": { + "type": "string", + "description": "The resource ID of the event hub to be used to create a data connection." + }, "eventSystemProperties": { "oneOf": [ { - "$ref": "#/definitions/EventSystemProperties" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], "description": "System properties of the 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." + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." } }, "required": [ - "eventHubResourceId", - "consumerGroup" + "consumerGroup", + "eventHubResourceId" ], "description": "Class representing the Kusto event hub connection properties." }, "EventHubDataConnection": { "type": "object", "properties": { + "kind": { + "type": "string", + "enum": [ + "EventHub" + ] + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/EventHubDataConnectionProperties" + "$ref": "#/definitions/EventHubConnectionProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Event hub data connection properties" - }, - "kind": { - "type": "string", - "enum": [ - "EventHub" - ] + "description": "Class representing the Kusto event hub connection properties." } }, "required": [ "kind" ], - "description": "Information about the event hub data connection" + "description": "Class representing an event hub data connection." }, "Identity": { "type": "object", @@ -832,6 +1075,21 @@ } ], "description": "The identity type." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/Componentssgqdofschemasidentitypropertiesuserassignedidentitiesadditionalproperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." } }, "required": [ @@ -839,29 +1097,33 @@ ], "description": "Identity for the resource." }, - "IotHubDataConnectionProperties": { + "IotHubConnectionProperties": { "type": "object", "properties": { - "iotHubResourceId": { - "type": "string", - "description": "The resource ID of the iot hub to be used to create a data connection." - }, "consumerGroup": { "type": "string", "description": "The iot hub consumer group." }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, "dataFormat": { "oneOf": [ { - "$ref": "#/definitions/DataFormat" + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO", + "TSVE", + "PARQUET", + "ORC" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -872,22 +1134,37 @@ "eventSystemProperties": { "oneOf": [ { - "$ref": "#/definitions/EventSystemProperties" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The iot hub system properties." + "description": "System properties of the iot hub" + }, + "iotHubResourceId": { + "type": "string", + "description": "The resource ID of the Iot hub to be used to create a data connection." + }, + "mappingRuleName": { + "type": "string", + "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." }, "sharedAccessPolicyName": { "type": "string", - "description": "The name of the shared access policy." + "description": "The name of the share access policy" + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." } }, "required": [ - "iotHubResourceId", "consumerGroup", + "iotHubResourceId", "sharedAccessPolicyName" ], "description": "Class representing the Kusto Iot hub connection properties." @@ -895,167 +1172,117 @@ "IotHubDataConnection": { "type": "object", "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/IotHubDataConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Iot hub data connection properties" - }, "kind": { "type": "string", "enum": [ "IotHub" ] - } - }, - "required": [ - "kind" - ], - "description": "Information about the Iot hub data connection" - }, - "GenevaDataConnectionProperties": { - "type": "object", - "properties": { - "genevaEnvironment": { - "type": "string", - "description": "The Geneva environment of the geneva data connection." - } - }, - "required": [ - "genevaEnvironment" - ], - "description": "Class representing the Kusto Geneva (GDS) connection properties." - }, - "GenevaDataConnection": { - "type": "object", - "properties": { + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/GenevaDataConnectionProperties" + "$ref": "#/definitions/IotHubConnectionProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Geneva (DGS) data connection properties" - }, - "kind": { - "type": "string", - "enum": [ - "Geneva" - ] + "description": "Class representing the Kusto Iot hub connection properties." } }, "required": [ "kind" ], - "description": "Information about the Geneva (GDS) data connection" + "description": "Class representing an iot hub data connection." }, - "GenevaLegacyDataConnectionProperties": { + "KeyVaultProperties": { "type": "object", "properties": { - "genevaEnvironment": { + "keyName": { "type": "string", - "description": "The Geneva environment of the geneva data connection." + "description": "The name of the key vault key." }, - "mdsAccounts": { - "type:": "array", - "description": "The list of mds accounts of the geneva data connection." + "keyVaultUri": { + "type": "string", + "description": "The Uri of the key vault." }, - "isScrubbed": { - "type:": "boolean", - "description": "Indicates whether the data is scrubbed." + "keyVersion": { + "type": "string", + "description": "The version of the key vault key." } }, "required": [ - "genevaEnvironment", - "mdsAccounts", - "isScrubbed" + "keyName", + "keyVaultUri", + "keyVersion" ], - "description": "Class representing the Kusto Geneva legacy connection properties." + "description": "Properties of the key vault." }, - "GenevaLegacyDataConnection": { + "LanguageExtension": { "type": "object", "properties": { - "properties": { + "languageExtensionName": { "oneOf": [ { - "$ref": "#/definitions/GenevaLegacyDataConnectionProperties" + "type": "string", + "enum": [ + "PYTHON", + "R" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Geneva legacy data connection properties" - }, - "kind": { - "type": "string", - "enum": [ - "GenevaLegacy" - ] + "description": "The language extension name." } }, - "required": [ - "kind" - ], - "description": "Information about the Geneva (GDS) data connection" + "description": "The language extension object." }, - "KeyVaultProperties": { + "LanguageExtensionsList": { "type": "object", "properties": { - "keyName": { - "type": "string", - "description": "The name of the key vault key.", - "x-ms-client-name": "KeyName" - }, - "keyVersion": { - "type": "string", - "description": "The version of the key vault key.", - "x-ms-client-name": "KeyVersion" - }, - "keyVaultUri": { - "type": "string", - "description": "The Uri of the key vault.", - "x-ms-client-name": "KeyVaultUri" + "value": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LanguageExtension" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of language extensions." } }, - "required": [ - "keyName", - "keyVersion", - "keyVaultUri" - ], - "description": "Properties of the key vault." + "description": "The list of language extension objects." }, "OptimizedAutoscale": { "type": "object", "properties": { - "version": { + "isEnabled": { "oneOf": [ { - "type": "integer" + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The version of the template defined, for instance 1." + "description": "A boolean value that indicate if the optimized autoscale feature is enabled or not." }, - "isEnabled": { + "maximum": { "oneOf": [ { - "type": "boolean" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "A boolean value that indicate if the optimized autoscale feature is enabled or not." + "description": "Maximum allowed instances count." }, "minimum": { "oneOf": [ @@ -1068,7 +1295,7 @@ ], "description": "Minimum allowed instances count." }, - "maximum": { + "version": { "oneOf": [ { "type": "integer" @@ -1077,17 +1304,118 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Maximum allowed instances count." + "description": "The version of the template defined, for instance 1." } }, "required": [ - "version", "isEnabled", + "maximum", "minimum", - "maximum" + "version" ], "description": "A class that contains the optimized auto scale definition." }, + "ReadOnlyFollowingDatabase": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "ReadOnlyFollowing" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ReadOnlyFollowingDatabaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto database properties." + } + }, + "required": [ + "kind" + ], + "description": "Class representing a read only following database." + }, + "ReadOnlyFollowingDatabaseProperties": { + "type": "object", + "properties": { + "hotCachePeriod": { + "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." + }, + "ReadWriteDatabase": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "ReadWrite" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ReadWriteDatabaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto database properties." + } + }, + "required": [ + "kind" + ], + "description": "Class representing a read write database." + }, + "ReadWriteDatabaseProperties": { + "type": "object", + "properties": { + "hotCachePeriod": { + "type": "string", + "format": "duration", + "description": "The time the data should be kept in cache for fast queries in TimeSpan." + }, + "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." + }, "TrustedExternalTenant": { "type": "object", "properties": { @@ -1101,56 +1429,25 @@ "VirtualNetworkConfiguration": { "type": "object", "properties": { - "subnetId": { + "dataManagementPublicIpId": { "type": "string", - "description": "The subnet resource id." + "description": "Data management's service public IP address resource id." }, "enginePublicIpId": { "type": "string", "description": "Engine service's public IP address resource id." }, - "dataManagementPublicIpId": { + "subnetId": { "type": "string", - "description": "Data management's service public IP address resource id." + "description": "The subnet resource id." } }, "required": [ - "subnetId", + "dataManagementPublicIpId", "enginePublicIpId", - "dataManagementPublicIpId" + "subnetId" ], "description": "A class that contains virtual network definition." - }, - "DataFormat": { - "type": "string", - "enum": [ - "MULTIJSON", - "JSON", - "CSV", - "TSV", - "SCSV", - "SOHSV", - "PSV", - "TXT", - "RAW", - "SINGLEJSON", - "AVRO", - "TSVE", - "PARQUET", - "ORC" - ], - "description": "The data format of the message. Optionally the data format can be added to each message.", - "x-ms-enum": { - "name": "dataFormat", - "modelAsString": true - } - }, - "EventSystemProperties": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The resource system properties." } } } \ No newline at end of file diff --git a/schemas/2020-06-14/Microsoft.Kusto.json b/schemas/2020-06-14/Microsoft.Kusto.json index 01b3a1b877..e2a66c4929 100644 --- a/schemas/2020-06-14/Microsoft.Kusto.json +++ b/schemas/2020-06-14/Microsoft.Kusto.json @@ -7,40 +7,58 @@ "clusters": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The name of the Kusto cluster." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters" - ] - }, "apiVersion": { "type": "string", "enum": [ "2020-06-14" ] }, - "tags": { + "identity": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/definitions/Identity" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Resource tags." + "description": "Identity for the resource." }, "location": { "type": "string", "description": "The geo-location where the resource lives" }, + "name": { + "type": "string", + "description": "The name of the Kusto cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing the Kusto cluster properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_principalAssignments_childResource" + }, + { + "$ref": "#/definitions/clusters_databases_childResource" + }, + { + "$ref": "#/definitions/clusters_attachedDatabaseConfigurations_childResource" + } + ] + } + }, "sku": { "oneOf": [ { @@ -50,87 +68,108 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The SKU of the Kusto cluster." + "description": "Azure SKU definition." }, - "zones": { + "tags": { "oneOf": [ { - "type": "array", - "items": { + "type": "object", + "additionalProperties": { "type": "string" - } + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "An array represents the availability zones of the cluster." + "description": "Resource tags." }, - "identity": { + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters" + ] + }, + "zones": { "oneOf": [ { - "$ref": "#/definitions/Identity" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Identity for the resource." + "description": "An array represents the availability zones of the cluster." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Kusto/clusters" + }, + "clusters_attachedDatabaseConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-06-14" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the attached database configuration." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/ClusterProperties" + "$ref": "#/definitions/AttachedDatabaseConfigurationProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Class representing the an attached database configuration properties of kind specific." }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/resourceDefinitions/clusters_databases" - }, - { - "$ref": "#/resourceDefinitions/clusters_attacheddatabaseconfigurations" - }, - { - "$ref": "#/resourceDefinitions/clusters_principalassignments" - } - ] - } + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/attachedDatabaseConfigurations" + ] } }, "required": [ - "name", - "type", "apiVersion", - "location", - "sku" + "name", + "properties", + "type" ], - "description": "Microsoft.Kusto/clusters" + "description": "Microsoft.Kusto/clusters/attachedDatabaseConfigurations" }, "clusters_databases": { "type": "object", "oneOf": [ { "$ref": "#/definitions/ReadWriteDatabase" + }, + { + "$ref": "#/definitions/ReadOnlyFollowingDatabase" } ], "properties": { - "name": { - "type": "string", - "description": "The name of the database in the Kusto cluster." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/databases" - ] - }, "apiVersion": { "type": "string", "enum": [ @@ -141,165 +180,131 @@ "type": "string", "description": "Resource location." }, + "name": { + "type": "string", + "description": "The name of the database in the Kusto cluster." + }, "resources": { "type": "array", "items": { "oneOf": [ { - "$ref": "#/resourceDefinitions/clusters_databases_dataconnections" + "$ref": "#/definitions/clusters_databases_principalAssignments_childResource" }, { - "$ref": "#/resourceDefinitions/clusters_databases_principalassignments" + "$ref": "#/definitions/clusters_databases_dataConnections_childResource" } ] } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/databases" + ] } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "name", + "type" ], "description": "Microsoft.Kusto/clusters/databases" }, - "clusters_dataconnections": { + "clusters_databases_dataConnections": { "type": "object", "oneOf": [ { - "$ref": "#/definitions/GenevaDataConnection" + "$ref": "#/definitions/EventHubDataConnection" + }, + { + "$ref": "#/definitions/IotHubDataConnection" }, { - "$ref": "#/definitions/GenevaLegacyDataConnection" + "$ref": "#/definitions/EventGridDataConnection" } ], "properties": { - "name": { - "type": "string", - "description": "The data connection name" - }, - "type": { - "enum": [ - "Microsoft.Kusto/clusters/dataConnections" - ] - }, "apiVersion": { "type": "string", "enum": [ "2020-06-14" ] - } - }, - "required": [ - "name", - "type", - "apiVersion", - "properties" - ], - "description": "Microsoft.Kusto/clusters/dataConnections" - }, - "clusters_databases_dataconnections": { - "type": "object", - "properties": { + }, + "location": { + "type": "string", + "description": "Resource location." + }, "name": { "type": "string", - "description": "The data connection name" + "description": "The name of the data connection." }, "type": { - "enum": [ - "Microsoft.Kusto/clusters/databases/dataConnections" - ] - }, - "apiVersion": { "type": "string", "enum": [ - "2020-06-14" + "Microsoft.Kusto/clusters/databases/dataConnections" ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubDataConnection" - }, - { - "$ref": "#/definitions/EventGridDataConnection" - }, - { - "$ref": "#/definitions/IotHubDataConnection" - } - ], - "description": "Properties supplied to the Data Connection Create Or Update Kusto operation." } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "name", + "type" ], "description": "Microsoft.Kusto/clusters/databases/dataConnections" }, - "clusters_attacheddatabaseconfigurations": { + "clusters_databases_principalAssignments": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The name of the attached database configurations." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/AttachedDatabaseConfigurations" - ] - }, "apiVersion": { "type": "string", "enum": [ "2020-06-14" ] }, - "location": { + "name": { "type": "string", - "description": "Resource location." + "description": "The name of the Kusto principalAssignment." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/AttachedDatabaseConfigurationsProperties" + "$ref": "#/definitions/DatabasePrincipalProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } + ], + "description": "A class representing database principal property." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/databases/principalAssignments" ] } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "name", + "properties", + "type" ], - "description": "Class representing an attached database configurations." + "description": "Microsoft.Kusto/clusters/databases/principalAssignments" }, - "clusters_principalassignments": { + "clusters_principalAssignments": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The name of the cluster principal assignment" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/principalAssignments" - ] - }, "apiVersion": { "type": "string", "enum": [ "2020-06-14" ] }, + "name": { + "type": "string", + "description": "The name of the Kusto principalAssignment." + }, "properties": { "oneOf": [ { @@ -308,60 +313,75 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } + ], + "description": "A class representing cluster principal property." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kusto/clusters/principalAssignments" ] } }, "required": [ - "name", - "type", "apiVersion", - "properties" + "name", + "properties", + "type" ], - "description": "Class representing a cluster principal assignment." - }, - "clusters_databases_principalassignments": { + "description": "Microsoft.Kusto/clusters/principalAssignments" + } + }, + "definitions": { + "AttachedDatabaseConfigurationProperties": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "The name of the database principal assignment" - }, - "type": { + "clusterResourceId": { "type": "string", - "enum": [ - "Microsoft.Kusto/clusters/databases/principalAssignments" - ] + "description": "The resource id of the cluster where the databases you would like to attach reside." }, - "apiVersion": { + "databaseName": { "type": "string", - "enum": [ - "2020-06-14" - ] + "description": "The name of the database which you would like to attach, use * if you want to follow all current and future databases." }, - "properties": { + "defaultPrincipalsModificationKind": { "oneOf": [ { - "$ref": "#/definitions/DatabasePrincipalProperties" + "type": "string", + "enum": [ + "Union", + "Replace", + "None" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "The default principals modification kind." } }, "required": [ - "name", - "type", - "apiVersion", - "properties" + "clusterResourceId", + "databaseName", + "defaultPrincipalsModificationKind" ], - "description": "Class representing a database principal assignment." - } - }, - "definitions": { + "description": "Class representing the an attached database configuration properties of kind specific." + }, "AzureSku": { "type": "object", "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of instances of the cluster." + }, "name": { "oneOf": [ { @@ -388,371 +408,568 @@ "Standard_E16as_v4+3TB_PS", "Standard_E16as_v4+4TB_PS", "Dev(No SLA)_Standard_E2a_v4" - ], - "x-ms-enum": { - "name": "AzureSkuName", - "modelAsString": true - } + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "SKU name. Possible values include: 'Standard_DS13_v2+1TB_PS', 'Standard_DS13_v2+2TB_PS', 'Standard_DS14_v2+3TB_PS', 'Standard_DS14_v2+4TB_PS', 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_L8s', 'Standard_L16s', 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_L4s', 'Dev(No SLA)_Standard_D11_v2', 'Standard_E2a_v4', 'Standard_E4a_v4', 'Standard_E8a_v4', 'Standard_E16a_v4', 'Standard_E8as_v4+1TB_PS', 'Standard_E8as_v4+2TB_PS', 'Standard_E16as_v4+3TB_PS', 'Standard_E16as_v4+4TB_PS', 'Dev(No SLA)_Standard_E2a_v4'" + "description": "SKU name." }, - "capacity": { + "tier": { "oneOf": [ { - "type": "integer" + "type": "string", + "enum": [ + "Basic", + "Standard" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The number of instances of the cluster." + "description": "SKU tier." + } + }, + "required": [ + "name", + "tier" + ], + "description": "Azure SKU definition." + }, + "ClusterPrincipalProperties": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name." }, - "tier": { + "principalType": { "oneOf": [ { "type": "string", "enum": [ - "Standard", - "Basic" - ], - "x-ms-enum": { - "name": "AzureSkuTier", - "modelAsString": true - } + "App", + "Group", + "User" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "SKU tier." + "description": "Principal type." + }, + "role": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AllDatabasesAdmin", + "AllDatabasesViewer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cluster principal role." + }, + "tenantId": { + "type": "string", + "description": "The tenant id of the principal" } }, "required": [ - "name", - "tier" + "principalId", + "principalType", + "role" ], - "description": "Azure SKU definition." + "description": "A class representing cluster principal property." }, "ClusterProperties": { "type": "object", - "properties": { - "trustedExternalTenants": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/TrustedExternalTenant" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cluster's external tenants." + "properties": { + "enableDiskEncryption": { + "oneOf": [ + { + "type": "boolean" }, - "optimizedAutoscale": { - "oneOf": [ - { - "$ref": "#/definitions/OptimizedAutoscale" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains the optimized auto scale definition." + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A boolean value that indicates if the cluster's disks are encrypted." + }, + "enableDoubleEncryption": { + "oneOf": [ + { + "type": "boolean", + "default": false }, - "enableDiskEncryption": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A boolean value that indicates if the cluster's disks are encrypted." + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A boolean value that indicates if double encryption is enabled." + }, + "enablePurge": { + "oneOf": [ + { + "type": "boolean", + "default": false }, - "enableStreamingIngest": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A boolean value that indicates if the streaming ingest is enabled." + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A boolean value that indicates if the purge operations are enabled." + }, + "enableStreamingIngest": { + "oneOf": [ + { + "type": "boolean", + "default": false }, - "virtualNetworkConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/VirtualNetworkConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that contains virtual network definition." + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A boolean value that indicates if the streaming ingest is enabled." + }, + "keyVaultProperties": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the key vault." + }, + "optimizedAutoscale": { + "oneOf": [ + { + "$ref": "#/definitions/OptimizedAutoscale" }, - "keyVaultProperties": { - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "KeyVault properties for the cluster encryption." + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A class that contains the optimized auto scale definition." + }, + "trustedExternalTenants": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TrustedExternalTenant" + } }, - "enablePurge": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A boolean value that indicates if the purge operations are enabled." + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster's external tenants." + }, + "virtualNetworkConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkConfiguration" }, - "enableDoubleEncryption": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether or not Double-Encryption is enabled on storage account." + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } + ], + "description": "A class that contains virtual network definition." } + }, + "description": "Class representing the Kusto cluster properties." }, - "ReadWriteDatabaseProperties": { + "clusters_attachedDatabaseConfigurations_childResource": { "type": "object", "properties": { - "softDeletePeriod": { + "apiVersion": { "type": "string", - "format": "duration", - "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." + "enum": [ + "2020-06-14" + ] }, - "hotCachePeriod": { + "location": { "type": "string", - "format": "duration", - "description": "The time the data should be kept in cache for fast queries in TimeSpan." - } - } - }, - "ReadWriteDatabase": { - "type": "object", - "properties": { + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the attached database configuration." + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/ReadWriteDatabaseProperties" + "$ref": "#/definitions/AttachedDatabaseConfigurationProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Read write database properties" + "description": "Class representing the an attached database configuration properties of kind specific." }, - "kind": { + "type": { "type": "string", "enum": [ - "ReadWrite" - ], - "description": "Kind of the database" + "attachedDatabaseConfigurations" + ] } }, "required": [ - "kind", - "properties" + "apiVersion", + "name", + "properties", + "type" ], - "description": "Information about the readWrite database" + "description": "Microsoft.Kusto/clusters/attachedDatabaseConfigurations" }, - "AttachedDatabaseConfigurationsProperties": { + "clusters_databases_childResource": { "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ReadWriteDatabase" + }, + { + "$ref": "#/definitions/ReadOnlyFollowingDatabase" + } + ], "properties": { - "databaseName": { + "apiVersion": { "type": "string", - "description": "The name of the database which you would like to attach, use * if you want to follow all current and future databases." + "enum": [ + "2020-06-14" + ] }, - "clusterResourceId": { + "location": { "type": "string", - "description": "The resource id of the cluster where the databases you would like to attach reside." + "description": "Resource location." }, - "defaultPrincipalsModificationKind": { + "name": { + "type": "string", + "description": "The name of the database in the Kusto cluster." + }, + "type": { "type": "string", "enum": [ - "Union", - "Replace", - "None" - ], - "description": "The default principals modification kind" + "databases" + ] } - } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases" }, - "EventGridDataConnectionProperties": { + "clusters_databases_dataConnections_childResource": { "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/EventHubDataConnection" + }, + { + "$ref": "#/definitions/IotHubDataConnection" + }, + { + "$ref": "#/definitions/EventGridDataConnection" + } + ], "properties": { - "storageAccountResourceId": { + "apiVersion": { "type": "string", - "description": "The resource ID of the storage account where the data resides." + "enum": [ + "2020-06-14" + ] }, - "eventHubResourceId": { + "location": { "type": "string", - "description": "The resource ID where the event grid is configured to send events." + "description": "Resource location." }, - "consumerGroup": { + "name": { "type": "string", - "description": "The event hub consumer group." + "description": "The name of the data connection." }, - "tableName": { + "type": { "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." + "enum": [ + "dataConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases/dataConnections" + }, + "clusters_databases_principalAssignments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-06-14" + ] }, - "mappingRuleName": { + "name": { "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." + "description": "The name of the Kusto principalAssignment." }, - "dataFormat": { + "properties": { "oneOf": [ { - "$ref": "#/definitions/DataFormat" + "$ref": "#/definitions/DatabasePrincipalProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The data format of the message. Optionally the data format can be added to each message." + "description": "A class representing database principal property." }, - "ignoreFirstRecord": { - "type": "boolean", - "description": "A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file." + "type": { + "type": "string", + "enum": [ + "principalAssignments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Kusto/clusters/databases/principalAssignments" + }, + "clusters_principalAssignments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-06-14" + ] }, - "blobStorageEventType": { + "name": { + "type": "string", + "description": "The name of the Kusto principalAssignment." + }, + "properties": { "oneOf": [ { - "$ref": "#/definitions/BlobStorageEventType" + "$ref": "#/definitions/ClusterPrincipalProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The name of blob storage event type to process." + "description": "A class representing cluster principal property." + }, + "type": { + "type": "string", + "enum": [ + "principalAssignments" + ] } }, "required": [ - "storageAccountResourceId", - "eventHubResourceId", - "consumerGroup" + "apiVersion", + "name", + "properties", + "type" ], - "description": "Class representing the Kusto event grid connection properties." + "description": "Microsoft.Kusto/clusters/principalAssignments" + }, + "Componentssgqdofschemasidentitypropertiesuserassignedidentitiesadditionalproperties": { + "type": "object", + "properties": {} }, "DatabasePrincipalProperties": { "type": "object", "properties": { "principalId": { - "description": "The principal ID assigned to the database principal. It can be a user email, application ID, or security group name.", - "type": "string" + "type": "string", + "description": "The principal ID assigned to the database principal. It can be a user email, application ID, or security group name." + }, + "principalType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "App", + "Group", + "User" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Principal type." }, "role": { - "description": "Database principal role.", - "type": "string", - "enum": [ - "Admin", - "Ingestor", - "Monitor", - "User", - "UnrestrictedViewers", - "Viewer" - ] + "oneOf": [ + { + "type": "string", + "enum": [ + "Admin", + "Ingestor", + "Monitor", + "User", + "UnrestrictedViewers", + "Viewer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Database principal role." }, "tenantId": { "type": "string", "description": "The tenant id of the principal" - }, - "principalType": { - "description": "Principal type.", - "type": "string", - "enum": [ - "App", - "Group", - "User" - ] } }, "required": [ "principalId", - "role", - "principalType" + "principalType", + "role" ], "description": "A class representing database principal property." }, - "ClusterPrincipalProperties": { + "DatabaseStatistics": { "type": "object", "properties": { - "principalId": { - "description": "The principal ID assigned to the cluster principal. It can be a user email, application ID, or security group name.", - "type": "string" + "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": { + "blobStorageEventType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Microsoft.Storage.BlobCreated", + "Microsoft.Storage.BlobRenamed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of blob storage event type to process." }, - "role": { - "description": "Cluster principal role.", + "consumerGroup": { "type": "string", - "enum": [ - "AllDatabasesAdmin", - "AllDatabasesViewer" - ] + "description": "The event hub consumer group." }, - "tenantId": { + "dataFormat": { + "oneOf": [ + { + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO", + "TSVE", + "PARQUET", + "ORC", + "APACHEAVRO", + "W3CLOGFILE" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The data format of the message. Optionally the data format can be added to each message." + }, + "eventHubResourceId": { "type": "string", - "description": "The tenant id of the principal" + "description": "The resource ID where the event grid is configured to send events." }, - "principalType": { - "description": "Principal type.", + "ignoreFirstRecord": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A Boolean value that, if set to true, indicates that ingestion should ignore the first record of every file" + }, + "mappingRuleName": { "type": "string", - "enum": [ - "App", - "Group", - "User" - ] + "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." + }, + "storageAccountResourceId": { + "type": "string", + "description": "The resource ID of the storage account where the data resides." + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." } }, "required": [ - "principalId", - "role", - "principalType" + "consumerGroup", + "eventHubResourceId", + "storageAccountResourceId" ], - "description": "A class representing cluster principal property." + "description": "Class representing the Kusto event grid connection properties." }, "EventGridDataConnection": { "type": "object", "properties": { + "kind": { + "type": "string", + "enum": [ + "EventGrid" + ] + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/EventGridDataConnectionProperties" + "$ref": "#/definitions/EventGridConnectionProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], "description": "Class representing the Kusto event grid connection properties." - }, - "kind": { - "type": "string", - "enum": [ - "EventGrid" - ] } }, "required": [ @@ -760,29 +977,50 @@ ], "description": "Class representing an Event Grid data connection." }, - "EventHubDataConnectionProperties": { + "EventHubConnectionProperties": { "type": "object", "properties": { - "eventHubResourceId": { - "type": "string", - "description": "The resource ID of the event hub to be used to create a data connection." + "compression": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "GZip" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The event hub messages compression type." }, "consumerGroup": { "type": "string", "description": "The event hub consumer group." }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, "dataFormat": { "oneOf": [ { - "$ref": "#/definitions/DataFormat" + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO", + "TSVE", + "PARQUET", + "ORC", + "APACHEAVRO", + "W3CLOGFILE" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -790,49 +1028,64 @@ ], "description": "The data format of the message. Optionally the data format can be added to each message." }, + "eventHubResourceId": { + "type": "string", + "description": "The resource ID of the event hub to be used to create a data connection." + }, "eventSystemProperties": { "oneOf": [ { - "$ref": "#/definitions/EventSystemProperties" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], "description": "System properties of the 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." + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." } }, "required": [ - "eventHubResourceId", - "consumerGroup" + "consumerGroup", + "eventHubResourceId" ], "description": "Class representing the Kusto event hub connection properties." }, "EventHubDataConnection": { "type": "object", "properties": { + "kind": { + "type": "string", + "enum": [ + "EventHub" + ] + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/EventHubDataConnectionProperties" + "$ref": "#/definitions/EventHubConnectionProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Event hub data connection properties" - }, - "kind": { - "type": "string", - "enum": [ - "EventHub" - ] + "description": "Class representing the Kusto event hub connection properties." } }, "required": [ "kind" ], - "description": "Information about the event hub data connection" + "description": "Class representing an event hub data connection." }, "Identity": { "type": "object", @@ -851,6 +1104,21 @@ } ], "description": "The identity type." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/Componentssgqdofschemasidentitypropertiesuserassignedidentitiesadditionalproperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the Kusto cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." } }, "required": [ @@ -858,29 +1126,35 @@ ], "description": "Identity for the resource." }, - "IotHubDataConnectionProperties": { + "IotHubConnectionProperties": { "type": "object", "properties": { - "iotHubResourceId": { - "type": "string", - "description": "The resource ID of the iot hub to be used to create a data connection." - }, "consumerGroup": { "type": "string", "description": "The iot hub consumer group." }, - "tableName": { - "type": "string", - "description": "The table where the data should be ingested. Optionally the table information can be added to each message." - }, - "mappingRuleName": { - "type": "string", - "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." - }, "dataFormat": { "oneOf": [ { - "$ref": "#/definitions/DataFormat" + "type": "string", + "enum": [ + "MULTIJSON", + "JSON", + "CSV", + "TSV", + "SCSV", + "SOHSV", + "PSV", + "TXT", + "RAW", + "SINGLEJSON", + "AVRO", + "TSVE", + "PARQUET", + "ORC", + "APACHEAVRO", + "W3CLOGFILE" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -891,22 +1165,37 @@ "eventSystemProperties": { "oneOf": [ { - "$ref": "#/definitions/EventSystemProperties" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The iot hub system properties." + "description": "System properties of the iot hub" + }, + "iotHubResourceId": { + "type": "string", + "description": "The resource ID of the Iot hub to be used to create a data connection." + }, + "mappingRuleName": { + "type": "string", + "description": "The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message." }, "sharedAccessPolicyName": { "type": "string", - "description": "The name of the shared access policy." + "description": "The name of the share access policy" + }, + "tableName": { + "type": "string", + "description": "The table where the data should be ingested. Optionally the table information can be added to each message." } }, "required": [ - "iotHubResourceId", "consumerGroup", + "iotHubResourceId", "sharedAccessPolicyName" ], "description": "Class representing the Kusto Iot hub connection properties." @@ -914,198 +1203,208 @@ "IotHubDataConnection": { "type": "object", "properties": { + "kind": { + "type": "string", + "enum": [ + "IotHub" + ] + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/IotHubDataConnectionProperties" + "$ref": "#/definitions/IotHubConnectionProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Iot hub data connection properties" - }, - "kind": { - "type": "string", - "enum": [ - "IotHub" - ] + "description": "Class representing the Kusto Iot hub connection properties." } }, "required": [ "kind" ], - "description": "Information about the Iot hub data connection" + "description": "Class representing an iot hub data connection." }, - "GenevaDataConnectionProperties": { + "KeyVaultProperties": { "type": "object", "properties": { - "genevaEnvironment": { + "keyName": { + "type": "string", + "description": "The name of the key vault key." + }, + "keyVaultUri": { + "type": "string", + "description": "The Uri of the key vault." + }, + "keyVersion": { "type": "string", - "description": "The Geneva environment of the geneva data connection." + "description": "The version of the key vault key." } }, "required": [ - "genevaEnvironment" + "keyName", + "keyVaultUri", + "keyVersion" ], - "description": "Class representing the Kusto Geneva (GDS) connection properties." + "description": "Properties of the key vault." }, - "GenevaDataConnection": { + "OptimizedAutoscale": { "type": "object", "properties": { - "properties": { + "isEnabled": { "oneOf": [ { - "$ref": "#/definitions/GenevaDataConnectionProperties" + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Geneva (DGS) data connection properties" + "description": "A boolean value that indicate if the optimized autoscale feature is enabled or not." }, - "kind": { - "type": "string", - "enum": [ - "Geneva" - ] - } - }, - "required": [ - "kind" - ], - "description": "Information about the Geneva (GDS) data connection" - }, - "GenevaLegacyDataConnectionProperties": { - "type": "object", - "properties": { - "genevaEnvironment": { - "type": "string", - "description": "The Geneva environment of the geneva data connection." + "maximum": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum allowed instances count." }, - "mdsAccounts": { - "type:": "array", - "description": "The list of mds accounts of the geneva data connection." + "minimum": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Minimum allowed instances count." }, - "isScrubbed": { - "type:": "boolean", - "description": "Indicates whether the data is scrubbed." + "version": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The version of the template defined, for instance 1." } }, "required": [ - "genevaEnvironment", - "mdsAccounts", - "isScrubbed" + "isEnabled", + "maximum", + "minimum", + "version" ], - "description": "Class representing the Kusto Geneva legacy connection properties." + "description": "A class that contains the optimized auto scale definition." }, - "GenevaLegacyDataConnection": { + "ReadOnlyFollowingDatabase": { "type": "object", "properties": { + "kind": { + "type": "string", + "enum": [ + "ReadOnlyFollowing" + ] + }, "properties": { "oneOf": [ { - "$ref": "#/definitions/GenevaLegacyDataConnectionProperties" + "$ref": "#/definitions/ReadOnlyFollowingDatabaseProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Geneva legacy data connection properties" - }, - "kind": { - "type": "string", - "enum": [ - "GenevaLegacy" - ] + "description": "Class representing the Kusto database properties." } }, "required": [ "kind" ], - "description": "Information about the Geneva (GDS) data connection" + "description": "Class representing a read only following database." }, - "KeyVaultProperties": { + "ReadOnlyFollowingDatabaseProperties": { "type": "object", "properties": { - "keyName": { - "type": "string", - "description": "The name of the key vault key.", - "x-ms-client-name": "KeyName" - }, - "keyVersion": { + "hotCachePeriod": { "type": "string", - "description": "The version of the key vault key.", - "x-ms-client-name": "KeyVersion" + "format": "duration", + "description": "The time the data should be kept in cache for fast queries in TimeSpan." }, - "keyVaultUri": { - "type": "string", - "description": "The Uri of the key vault.", - "x-ms-client-name": "KeyVaultUri" - } - }, - "required": [ - "keyName", - "keyVersion", - "keyVaultUri" - ], - "description": "Properties of the key vault." - }, - "OptimizedAutoscale": { - "type": "object", - "properties": { - "version": { + "statistics": { "oneOf": [ { - "type": "integer" + "$ref": "#/definitions/DatabaseStatistics" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The version of the template defined, for instance 1." + "description": "A class that contains database statistics information." + } + }, + "description": "Class representing the Kusto database properties." + }, + "ReadWriteDatabase": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "ReadWrite" + ] }, - "isEnabled": { + "properties": { "oneOf": [ { - "type": "boolean" + "$ref": "#/definitions/ReadWriteDatabaseProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "A boolean value that indicate if the optimized autoscale feature is enabled or not." + "description": "Class representing the Kusto database properties." + } + }, + "required": [ + "kind" + ], + "description": "Class representing a read write database." + }, + "ReadWriteDatabaseProperties": { + "type": "object", + "properties": { + "hotCachePeriod": { + "type": "string", + "format": "duration", + "description": "The time the data should be kept in cache for fast queries in TimeSpan." }, - "minimum": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum allowed instances count." + "softDeletePeriod": { + "type": "string", + "format": "duration", + "description": "The time the data should be kept before it stops being accessible to queries in TimeSpan." }, - "maximum": { + "statistics": { "oneOf": [ { - "type": "integer" + "$ref": "#/definitions/DatabaseStatistics" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Maximum allowed instances count." + "description": "A class that contains database statistics information." } }, - "required": [ - "version", - "isEnabled", - "minimum", - "maximum" - ], - "description": "A class that contains the optimized auto scale definition." + "description": "Class representing the Kusto database properties." }, "TrustedExternalTenant": { "type": "object", @@ -1120,70 +1419,25 @@ "VirtualNetworkConfiguration": { "type": "object", "properties": { - "subnetId": { + "dataManagementPublicIpId": { "type": "string", - "description": "The subnet resource id." + "description": "Data management's service public IP address resource id." }, "enginePublicIpId": { "type": "string", "description": "Engine service's public IP address resource id." }, - "dataManagementPublicIpId": { + "subnetId": { "type": "string", - "description": "Data management's service public IP address resource id." + "description": "The subnet resource id." } }, "required": [ - "subnetId", + "dataManagementPublicIpId", "enginePublicIpId", - "dataManagementPublicIpId" + "subnetId" ], "description": "A class that contains virtual network definition." - }, - "DataFormat": { - "type": "string", - "enum": [ - "MULTIJSON", - "JSON", - "CSV", - "TSV", - "SCSV", - "SOHSV", - "PSV", - "TXT", - "RAW", - "SINGLEJSON", - "AVRO", - "TSVE", - "PARQUET", - "ORC", - "APACHEAVRO", - "W3CLOGFILE" - ], - "description": "The data format of the message. Optionally the data format can be added to each message.", - "x-ms-enum": { - "name": "dataFormat", - "modelAsString": true - } - }, - "EventSystemProperties": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The resource system properties." - }, - "BlobStorageEventType": { - "description": "The name of blob storage event type to process.", - "type": "string", - "enum": [ - "Microsoft.Storage.BlobCreated", - "Microsoft.Storage.BlobRenamed" - ], - "x-ms-enum": { - "name": "blobStorageEventType", - "modelAsString": true - } } } -} +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index cd5b1cf8d6..0cf145afd7 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -3394,6 +3394,99 @@ { "$ref": "https://schema.management.azure.com/schemas/2017-10-01-preview/Microsoft.IoTSpaces.json#/resourceDefinitions/Graph" }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-07-preview/Microsoft.Kusto.json#/resourceDefinitions/clusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-07-preview/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-07-preview/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_eventhubconnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-01-21/Microsoft.Kusto.json#/resourceDefinitions/clusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-01-21/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-01-21/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_dataConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-05-15/Microsoft.Kusto.json#/resourceDefinitions/clusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-05-15/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-05-15/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_dataConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-09-07/Microsoft.Kusto.json#/resourceDefinitions/clusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-09-07/Microsoft.Kusto.json#/resourceDefinitions/clusters_attachedDatabaseConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-09-07/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-09-07/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_dataConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-11-09/Microsoft.Kusto.json#/resourceDefinitions/clusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-11-09/Microsoft.Kusto.json#/resourceDefinitions/clusters_attachedDatabaseConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-11-09/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-11-09/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_dataConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-11-09/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_principalAssignments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-11-09/Microsoft.Kusto.json#/resourceDefinitions/clusters_principalAssignments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-02-15/Microsoft.Kusto.json#/resourceDefinitions/clusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-02-15/Microsoft.Kusto.json#/resourceDefinitions/clusters_attachedDatabaseConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-02-15/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-02-15/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_dataConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-02-15/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_principalAssignments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-02-15/Microsoft.Kusto.json#/resourceDefinitions/clusters_principalAssignments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_attachedDatabaseConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_dataConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_principalAssignments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_principalAssignments" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-10-15/Microsoft.LabServices.json#/resourceDefinitions/labaccounts" },