From 2357d32f89f48a8fb509eb74b1b85e1df0df7c5e Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 14 Jul 2021 23:38:24 +0000 Subject: [PATCH] CodeGen from PR 15206 in Azure/azure-rest-api-specs Merge 801a1bbb0e87e24433aa0f33e9045ab86e92a1e0 into 10873ac628ee703126f82974487d8a290e983f8c --- .../Microsoft.TimeSeriesInsights.json | 682 ----------- .../Microsoft.TimeSeriesInsights.json | 773 ------------ .../Microsoft.TimeSeriesInsights.json | 966 --------------- .../Microsoft.TimeSeriesInsights.json | 1036 ----------------- schemas/common/autogeneratedResources.json | 48 - 5 files changed, 3505 deletions(-) delete mode 100644 schemas/2017-02-28-preview/Microsoft.TimeSeriesInsights.json delete mode 100644 schemas/2017-11-15/Microsoft.TimeSeriesInsights.json delete mode 100644 schemas/2018-08-15-preview/Microsoft.TimeSeriesInsights.json delete mode 100644 schemas/2020-05-15/Microsoft.TimeSeriesInsights.json diff --git a/schemas/2017-02-28-preview/Microsoft.TimeSeriesInsights.json b/schemas/2017-02-28-preview/Microsoft.TimeSeriesInsights.json deleted file mode 100644 index 373cf030a5..0000000000 --- a/schemas/2017-02-28-preview/Microsoft.TimeSeriesInsights.json +++ /dev/null @@ -1,682 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-02-28-preview/Microsoft.TimeSeriesInsights.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.TimeSeriesInsights", - "description": "Microsoft TimeSeriesInsights Resource Types", - "resourceDefinitions": { - "environments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-02-28-preview" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the environment" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EnvironmentCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties used to create an environment." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/environments_eventSources_childResource" - }, - { - "$ref": "#/definitions/environments_referenceDataSets_childResource" - }, - { - "$ref": "#/definitions/environments_accessPolicies_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The sku determines the capacity of the environment, the SLA (in queries-per-minute and total capacity), and the billing rate." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "sku", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments" - }, - "environments_accessPolicies": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-02-28-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of the access policy." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AccessPolicyResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments/accessPolicies" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/accessPolicies" - }, - "environments_eventSources": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventHubEventSourceCreateOrUpdateParameters" - }, - { - "$ref": "#/definitions/IoTHubEventSourceCreateOrUpdateParameters" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-02-28-preview" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the event source." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments/eventSources" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/eventSources" - }, - "environments_referenceDataSets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-02-28-preview" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the reference data set." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ReferenceDataSetCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties used to create a reference data set." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments/referenceDataSets" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/referenceDataSets" - } - }, - "definitions": { - "AccessPolicyResourceProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "An description of the access policy." - }, - "principalObjectId": { - "type": "string", - "description": "The objectId of the principal in Azure Active Directory." - }, - "roles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Reader", - "Contributor" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of roles the principal is assigned on the environment." - } - } - }, - "EnvironmentCreationProperties": { - "type": "object", - "properties": { - "dataRetentionTime": { - "type": "string", - "format": "duration", - "description": "ISO8601 timespan specifying the minimum number of days the environment's events will be available for query." - }, - "storageLimitExceededBehavior": { - "oneOf": [ - { - "type": "string", - "enum": [ - "PurgeOldData", - "PauseIngress" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If \"PauseIngress\" is specified, new events will not be read from the event source. If \"PurgeOldData\" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData." - } - }, - "required": [ - "dataRetentionTime" - ], - "description": "Properties used to create an environment." - }, - "environments_accessPolicies_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-02-28-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of the access policy." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AccessPolicyResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "accessPolicies" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/accessPolicies" - }, - "environments_eventSources_childResource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventHubEventSourceCreateOrUpdateParameters" - }, - { - "$ref": "#/definitions/IoTHubEventSourceCreateOrUpdateParameters" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-02-28-preview" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the event source." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "eventSources" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/eventSources" - }, - "environments_referenceDataSets_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-02-28-preview" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the reference data set." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ReferenceDataSetCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties used to create a reference data set." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "referenceDataSets" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/referenceDataSets" - }, - "EventHubEventSourceCreateOrUpdateParameters": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "Microsoft.EventHub" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubEventSourceCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the EventHub event source that are required on create or update requests." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Parameters supplied to the Create or Update Event Source operation for an EventHub event source." - }, - "EventHubEventSourceCreationProperties": { - "type": "object", - "properties": { - "consumerGroupName": { - "type": "string", - "description": "The name of the event hub's consumer group that holds the partitions from which events will be read." - }, - "eventHubName": { - "type": "string", - "description": "The name of the event hub." - }, - "eventSourceResourceId": { - "type": "string", - "description": "The resource id of the event source in Azure Resource Manager." - }, - "keyName": { - "type": "string", - "description": "The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub." - }, - "serviceBusNamespace": { - "type": "string", - "description": "The name of the service bus that contains the event hub." - }, - "sharedAccessKey": { - "type": "string", - "description": "The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses." - }, - "timestampPropertyName": { - "type": "string", - "description": "The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used." - } - }, - "required": [ - "consumerGroupName", - "eventHubName", - "eventSourceResourceId", - "keyName", - "serviceBusNamespace", - "sharedAccessKey" - ], - "description": "Properties of the EventHub event source that are required on create or update requests." - }, - "IoTHubEventSourceCreateOrUpdateParameters": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "Microsoft.IoTHub" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/IoTHubEventSourceCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the IoTHub event source that are required on create or update requests." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Parameters supplied to the Create or Update Event Source operation for an IoTHub event source." - }, - "IoTHubEventSourceCreationProperties": { - "type": "object", - "properties": { - "consumerGroupName": { - "type": "string", - "description": "The name of the iot hub's consumer group that holds the partitions from which events will be read." - }, - "eventSourceResourceId": { - "type": "string", - "description": "The resource id of the event source in Azure Resource Manager." - }, - "iotHubName": { - "type": "string", - "description": "The name of the iot hub." - }, - "keyName": { - "type": "string", - "description": "The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub." - }, - "sharedAccessKey": { - "type": "string", - "description": "The value of the Shared Access Policy key that grants the Time Series Insights service read access to the iot hub. This property is not shown in event source responses." - }, - "timestampPropertyName": { - "type": "string", - "description": "The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used." - } - }, - "required": [ - "consumerGroupName", - "eventSourceResourceId", - "iotHubName", - "keyName", - "sharedAccessKey" - ], - "description": "Properties of the IoTHub event source that are required on create or update requests." - }, - "ReferenceDataSetCreationProperties": { - "type": "object", - "properties": { - "keyProperties": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ReferenceDataSetKeyProperty" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of key properties for the reference data set." - } - }, - "required": [ - "keyProperties" - ], - "description": "Properties used to create a reference data set." - }, - "ReferenceDataSetKeyProperty": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the key property." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Double", - "Bool", - "DateTime" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the key property." - } - }, - "description": "A key property for the reference data set. A reference data set can have multiple key properties." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 10 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The capacity of the sku. This value can be changed to support scale out of environments after they have been created." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "S1", - "S2" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of this SKU." - } - }, - "required": [ - "capacity", - "name" - ], - "description": "The sku determines the capacity of the environment, the SLA (in queries-per-minute and total capacity), and the billing rate." - } - } -} \ No newline at end of file diff --git a/schemas/2017-11-15/Microsoft.TimeSeriesInsights.json b/schemas/2017-11-15/Microsoft.TimeSeriesInsights.json deleted file mode 100644 index 15b0d6da34..0000000000 --- a/schemas/2017-11-15/Microsoft.TimeSeriesInsights.json +++ /dev/null @@ -1,773 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-11-15/Microsoft.TimeSeriesInsights.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.TimeSeriesInsights", - "description": "Microsoft TimeSeriesInsights Resource Types", - "resourceDefinitions": { - "environments": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-11-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the environment" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EnvironmentCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties used to create an environment." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/environments_eventSources_childResource" - }, - { - "$ref": "#/definitions/environments_referenceDataSets_childResource" - }, - { - "$ref": "#/definitions/environments_accessPolicies_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The sku determines the capacity of the environment, the SLA (in queries-per-minute and total capacity), and the billing rate." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "sku", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments" - }, - "environments_accessPolicies": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-11-15" - ] - }, - "name": { - "type": "string", - "description": "Name of the access policy." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AccessPolicyResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments/accessPolicies" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/accessPolicies" - }, - "environments_eventSources": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventHubEventSourceCreateOrUpdateParameters" - }, - { - "$ref": "#/definitions/IoTHubEventSourceCreateOrUpdateParameters" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-11-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the event source." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments/eventSources" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/eventSources" - }, - "environments_referenceDataSets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-11-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the reference data set." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ReferenceDataSetCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties used to create a reference data set." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments/referenceDataSets" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/referenceDataSets" - } - }, - "definitions": { - "AccessPolicyResourceProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "An description of the access policy." - }, - "principalObjectId": { - "type": "string", - "description": "The objectId of the principal in Azure Active Directory." - }, - "roles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Reader", - "Contributor" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of roles the principal is assigned on the environment." - } - } - }, - "EnvironmentCreationProperties": { - "type": "object", - "properties": { - "dataRetentionTime": { - "type": "string", - "format": "duration", - "description": "ISO8601 timespan specifying the minimum number of days the environment's events will be available for query." - }, - "partitionKeyProperties": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/PartitionKeyProperty" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of partition keys according to which the data in the environment will be ordered." - }, - "storageLimitExceededBehavior": { - "oneOf": [ - { - "type": "string", - "enum": [ - "PurgeOldData", - "PauseIngress" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If \"PauseIngress\" is specified, new events will not be read from the event source. If \"PurgeOldData\" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData." - } - }, - "required": [ - "dataRetentionTime" - ], - "description": "Properties used to create an environment." - }, - "environments_accessPolicies_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-11-15" - ] - }, - "name": { - "type": "string", - "description": "Name of the access policy." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AccessPolicyResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "accessPolicies" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/accessPolicies" - }, - "environments_eventSources_childResource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventHubEventSourceCreateOrUpdateParameters" - }, - { - "$ref": "#/definitions/IoTHubEventSourceCreateOrUpdateParameters" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-11-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the event source." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "eventSources" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/eventSources" - }, - "environments_referenceDataSets_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-11-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the reference data set." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ReferenceDataSetCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties used to create a reference data set." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "referenceDataSets" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/referenceDataSets" - }, - "EventHubEventSourceCreateOrUpdateParameters": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "Microsoft.EventHub" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubEventSourceCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the EventHub event source that are required on create or update requests." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Parameters supplied to the Create or Update Event Source operation for an EventHub event source." - }, - "EventHubEventSourceCreationProperties": { - "type": "object", - "properties": { - "consumerGroupName": { - "type": "string", - "description": "The name of the event hub's consumer group that holds the partitions from which events will be read." - }, - "eventHubName": { - "type": "string", - "description": "The name of the event hub." - }, - "eventSourceResourceId": { - "type": "string", - "description": "The resource id of the event source in Azure Resource Manager." - }, - "keyName": { - "type": "string", - "description": "The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Updating", - "Succeeded", - "Failed", - "Deleting" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the resource." - }, - "serviceBusNamespace": { - "type": "string", - "description": "The name of the service bus that contains the event hub." - }, - "sharedAccessKey": { - "type": "string", - "description": "The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses." - }, - "timestampPropertyName": { - "type": "string", - "description": "The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used." - } - }, - "required": [ - "consumerGroupName", - "eventHubName", - "eventSourceResourceId", - "keyName", - "serviceBusNamespace", - "sharedAccessKey" - ], - "description": "Properties of the EventHub event source that are required on create or update requests." - }, - "IoTHubEventSourceCreateOrUpdateParameters": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "Microsoft.IoTHub" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/IoTHubEventSourceCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the IoTHub event source that are required on create or update requests." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Parameters supplied to the Create or Update Event Source operation for an IoTHub event source." - }, - "IoTHubEventSourceCreationProperties": { - "type": "object", - "properties": { - "consumerGroupName": { - "type": "string", - "description": "The name of the iot hub's consumer group that holds the partitions from which events will be read." - }, - "eventSourceResourceId": { - "type": "string", - "description": "The resource id of the event source in Azure Resource Manager." - }, - "iotHubName": { - "type": "string", - "description": "The name of the iot hub." - }, - "keyName": { - "type": "string", - "description": "The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Updating", - "Succeeded", - "Failed", - "Deleting" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the resource." - }, - "sharedAccessKey": { - "type": "string", - "description": "The value of the Shared Access Policy key that grants the Time Series Insights service read access to the iot hub. This property is not shown in event source responses." - }, - "timestampPropertyName": { - "type": "string", - "description": "The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used." - } - }, - "required": [ - "consumerGroupName", - "eventSourceResourceId", - "iotHubName", - "keyName", - "sharedAccessKey" - ], - "description": "Properties of the IoTHub event source that are required on create or update requests." - }, - "PartitionKeyProperty": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the property." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the property." - } - }, - "description": "The structure of the property that a partition key can have. An environment can have multiple such properties." - }, - "ReferenceDataSetCreationProperties": { - "type": "object", - "properties": { - "dataStringComparisonBehavior": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Ordinal", - "OrdinalIgnoreCase" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used." - }, - "keyProperties": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ReferenceDataSetKeyProperty" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of key properties for the reference data set." - } - }, - "required": [ - "keyProperties" - ], - "description": "Properties used to create a reference data set." - }, - "ReferenceDataSetKeyProperty": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the key property." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Double", - "Bool", - "DateTime" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the key property." - } - }, - "description": "A key property for the reference data set. A reference data set can have multiple key properties." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 10 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The capacity of the sku. This value can be changed to support scale out of environments after they have been created." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "S1", - "S2" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of this SKU." - } - }, - "required": [ - "capacity", - "name" - ], - "description": "The sku determines the capacity of the environment, the SLA (in queries-per-minute and total capacity), and the billing rate." - } - } -} \ No newline at end of file diff --git a/schemas/2018-08-15-preview/Microsoft.TimeSeriesInsights.json b/schemas/2018-08-15-preview/Microsoft.TimeSeriesInsights.json deleted file mode 100644 index cacf6ade7f..0000000000 --- a/schemas/2018-08-15-preview/Microsoft.TimeSeriesInsights.json +++ /dev/null @@ -1,966 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-08-15-preview/Microsoft.TimeSeriesInsights.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.TimeSeriesInsights", - "description": "Microsoft TimeSeriesInsights Resource Types", - "resourceDefinitions": { - "environments": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/StandardEnvironmentCreateOrUpdateParameters" - }, - { - "$ref": "#/definitions/LongTermEnvironmentCreateOrUpdateParameters" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-08-15-preview" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the environment" - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/environments_eventSources_childResource" - }, - { - "$ref": "#/definitions/environments_referenceDataSets_childResource" - }, - { - "$ref": "#/definitions/environments_accessPolicies_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The sku determines the type of environment, either standard (S1 or S2) or long-term (L1). For standard environments the sku determines the capacity of the environment, the ingress rate, and the billing rate." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "sku", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments" - }, - "environments_accessPolicies": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-08-15-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of the access policy." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AccessPolicyResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments/accessPolicies" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/accessPolicies" - }, - "environments_eventSources": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventHubEventSourceCreateOrUpdateParameters" - }, - { - "$ref": "#/definitions/IoTHubEventSourceCreateOrUpdateParameters" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-08-15-preview" - ] - }, - "localTimestamp": { - "oneOf": [ - { - "$ref": "#/definitions/LocalTimestamp" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events." - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the event source." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments/eventSources" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/eventSources" - }, - "environments_referenceDataSets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-08-15-preview" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the reference data set." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ReferenceDataSetCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties used to create a reference data set." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments/referenceDataSets" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/referenceDataSets" - } - }, - "definitions": { - "AccessPolicyResourceProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "An description of the access policy." - }, - "principalObjectId": { - "type": "string", - "description": "The objectId of the principal in Azure Active Directory." - }, - "roles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Reader", - "Contributor" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of roles the principal is assigned on the environment." - } - } - }, - "environments_accessPolicies_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-08-15-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of the access policy." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AccessPolicyResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "accessPolicies" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/accessPolicies" - }, - "environments_eventSources_childResource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventHubEventSourceCreateOrUpdateParameters" - }, - { - "$ref": "#/definitions/IoTHubEventSourceCreateOrUpdateParameters" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-08-15-preview" - ] - }, - "localTimestamp": { - "oneOf": [ - { - "$ref": "#/definitions/LocalTimestamp" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events." - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the event source." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "eventSources" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/eventSources" - }, - "environments_referenceDataSets_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-08-15-preview" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the reference data set." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ReferenceDataSetCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties used to create a reference data set." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "referenceDataSets" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/referenceDataSets" - }, - "EventHubEventSourceCreateOrUpdateParameters": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "Microsoft.EventHub" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubEventSourceCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the EventHub event source that are required on create or update requests." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Parameters supplied to the Create or Update Event Source operation for an EventHub event source." - }, - "EventHubEventSourceCreationProperties": { - "type": "object", - "properties": { - "consumerGroupName": { - "type": "string", - "description": "The name of the event hub's consumer group that holds the partitions from which events will be read." - }, - "eventHubName": { - "type": "string", - "description": "The name of the event hub." - }, - "eventSourceResourceId": { - "type": "string", - "description": "The resource id of the event source in Azure Resource Manager." - }, - "keyName": { - "type": "string", - "description": "The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Updating", - "Succeeded", - "Failed", - "Deleting" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the resource." - }, - "serviceBusNamespace": { - "type": "string", - "description": "The name of the service bus that contains the event hub." - }, - "sharedAccessKey": { - "type": "string", - "description": "The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses." - }, - "timestampPropertyName": { - "type": "string", - "description": "The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used." - } - }, - "required": [ - "consumerGroupName", - "eventHubName", - "eventSourceResourceId", - "keyName", - "serviceBusNamespace", - "sharedAccessKey" - ], - "description": "Properties of the EventHub event source that are required on create or update requests." - }, - "IoTHubEventSourceCreateOrUpdateParameters": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "Microsoft.IoTHub" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/IoTHubEventSourceCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the IoTHub event source that are required on create or update requests." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Parameters supplied to the Create or Update Event Source operation for an IoTHub event source." - }, - "IoTHubEventSourceCreationProperties": { - "type": "object", - "properties": { - "consumerGroupName": { - "type": "string", - "description": "The name of the iot hub's consumer group that holds the partitions from which events will be read." - }, - "eventSourceResourceId": { - "type": "string", - "description": "The resource id of the event source in Azure Resource Manager." - }, - "iotHubName": { - "type": "string", - "description": "The name of the iot hub." - }, - "keyName": { - "type": "string", - "description": "The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Updating", - "Succeeded", - "Failed", - "Deleting" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the resource." - }, - "sharedAccessKey": { - "type": "string", - "description": "The value of the Shared Access Policy key that grants the Time Series Insights service read access to the iot hub. This property is not shown in event source responses." - }, - "timestampPropertyName": { - "type": "string", - "description": "The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used." - } - }, - "required": [ - "consumerGroupName", - "eventSourceResourceId", - "iotHubName", - "keyName", - "sharedAccessKey" - ], - "description": "Properties of the IoTHub event source that are required on create or update requests." - }, - "LocalTimestamp": { - "type": "object", - "properties": { - "format": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Embedded" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An enum that represents the format of the local timestamp property that needs to be set." - }, - "timeZoneOffset": { - "oneOf": [ - { - "$ref": "#/definitions/LocalTimestampTimeZoneOffset" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded." - } - }, - "description": "An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events." - }, - "LocalTimestampTimeZoneOffset": { - "type": "object", - "properties": { - "propertyName": { - "type": "string", - "description": "The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)" - } - }, - "description": "An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded." - }, - "LongTermEnvironmentCreateOrUpdateParameters": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "LongTerm" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/LongTermEnvironmentCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties used to create a long-term environment." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Parameters supplied to the Create or Update Environment operation for a long-term environment." - }, - "LongTermEnvironmentCreationProperties": { - "type": "object", - "properties": { - "storageConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/LongTermStorageConfigurationInput" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The storage configuration provides the connection details that allows the Time Series Insights service to connect to the customer storage account that is used to store the environment's data." - }, - "timeSeriesIdProperties": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/TimeSeriesIdProperty" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of event properties which will be used to define the environment's time series id." - }, - "warmStoreConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/WarmStoreConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query." - } - }, - "required": [ - "storageConfiguration", - "timeSeriesIdProperties" - ], - "description": "Properties used to create a long-term environment." - }, - "LongTermStorageConfigurationInput": { - "type": "object", - "properties": { - "accountName": { - "type": "string", - "description": "The name of the storage account that will hold the environment's long term data." - }, - "managementKey": { - "type": "string", - "description": "The value of the management key that grants the Time Series Insights service write access to the storage account. This property is not shown in environment responses." - } - }, - "required": [ - "accountName", - "managementKey" - ], - "description": "The storage configuration provides the connection details that allows the Time Series Insights service to connect to the customer storage account that is used to store the environment's data." - }, - "ReferenceDataSetCreationProperties": { - "type": "object", - "properties": { - "dataStringComparisonBehavior": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Ordinal", - "OrdinalIgnoreCase" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used." - }, - "keyProperties": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ReferenceDataSetKeyProperty" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of key properties for the reference data set." - } - }, - "required": [ - "keyProperties" - ], - "description": "Properties used to create a reference data set." - }, - "ReferenceDataSetKeyProperty": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the key property." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Double", - "Bool", - "DateTime" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the key property." - } - }, - "description": "A key property for the reference data set. A reference data set can have multiple key properties." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 10 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The capacity of the sku. For standard environments, this value can be changed to support scale out of environments after they have been created." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "S1", - "S2", - "P1", - "L1" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of this SKU." - } - }, - "required": [ - "capacity", - "name" - ], - "description": "The sku determines the type of environment, either standard (S1 or S2) or long-term (L1). For standard environments the sku determines the capacity of the environment, the ingress rate, and the billing rate." - }, - "StandardEnvironmentCreateOrUpdateParameters": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "Standard" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/StandardEnvironmentCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties used to create a standard environment." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Parameters supplied to the Create or Update Environment operation for a standard environment." - }, - "StandardEnvironmentCreationProperties": { - "type": "object", - "properties": { - "dataRetentionTime": { - "type": "string", - "format": "duration", - "description": "ISO8601 timespan specifying the minimum number of days the environment's events will be available for query." - }, - "partitionKeyProperties": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/TimeSeriesIdProperty" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of event properties which will be used to partition data in the environment. Currently, only a single partition key property is supported." - }, - "storageLimitExceededBehavior": { - "oneOf": [ - { - "type": "string", - "enum": [ - "PurgeOldData", - "PauseIngress" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If \"PauseIngress\" is specified, new events will not be read from the event source. If \"PurgeOldData\" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData." - } - }, - "required": [ - "dataRetentionTime" - ], - "description": "Properties used to create a standard environment." - }, - "TimeSeriesIdProperty": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the property." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the property." - } - }, - "description": "The structure of the property that a time series id can have. An environment can have multiple such properties." - }, - "WarmStoreConfigurationProperties": { - "type": "object", - "properties": { - "dataRetention": { - "type": "string", - "format": "duration", - "description": "ISO8601 timespan specifying the number of days the environment's events will be available for query from the warm store." - } - }, - "required": [ - "dataRetention" - ], - "description": "The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query." - } - } -} \ No newline at end of file diff --git a/schemas/2020-05-15/Microsoft.TimeSeriesInsights.json b/schemas/2020-05-15/Microsoft.TimeSeriesInsights.json deleted file mode 100644 index d732329ee1..0000000000 --- a/schemas/2020-05-15/Microsoft.TimeSeriesInsights.json +++ /dev/null @@ -1,1036 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-05-15/Microsoft.TimeSeriesInsights.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.TimeSeriesInsights", - "description": "Microsoft TimeSeriesInsights Resource Types", - "resourceDefinitions": { - "environments": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/Gen1EnvironmentCreateOrUpdateParameters" - }, - { - "$ref": "#/definitions/Gen2EnvironmentCreateOrUpdateParameters" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the environment" - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/environments_eventSources_childResource" - }, - { - "$ref": "#/definitions/environments_referenceDataSets_childResource" - }, - { - "$ref": "#/definitions/environments_accessPolicies_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "sku", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments" - }, - "environments_accessPolicies": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-15" - ] - }, - "name": { - "type": "string", - "description": "Name of the access policy." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AccessPolicyResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments/accessPolicies" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/accessPolicies" - }, - "environments_eventSources": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventHubEventSourceCreateOrUpdateParameters" - }, - { - "$ref": "#/definitions/IoTHubEventSourceCreateOrUpdateParameters" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-15" - ] - }, - "localTimestamp": { - "oneOf": [ - { - "$ref": "#/definitions/LocalTimestamp" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events." - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the event source." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments/eventSources" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/eventSources" - }, - "environments_referenceDataSets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the reference data set." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ReferenceDataSetCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties used to create a reference data set." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.TimeSeriesInsights/environments/referenceDataSets" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/referenceDataSets" - } - }, - "definitions": { - "AccessPolicyResourceProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "An description of the access policy." - }, - "principalObjectId": { - "type": "string", - "description": "The objectId of the principal in Azure Active Directory." - }, - "roles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Reader", - "Contributor" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of roles the principal is assigned on the environment." - } - } - }, - "environments_accessPolicies_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-15" - ] - }, - "name": { - "type": "string", - "description": "Name of the access policy." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AccessPolicyResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "type": "string", - "enum": [ - "accessPolicies" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/accessPolicies" - }, - "environments_eventSources_childResource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventHubEventSourceCreateOrUpdateParameters" - }, - { - "$ref": "#/definitions/IoTHubEventSourceCreateOrUpdateParameters" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-15" - ] - }, - "localTimestamp": { - "oneOf": [ - { - "$ref": "#/definitions/LocalTimestamp" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events." - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the event source." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "eventSources" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/eventSources" - }, - "environments_referenceDataSets_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-15" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource." - }, - "name": { - "type": "string", - "description": "Name of the reference data set." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ReferenceDataSetCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties used to create a reference data set." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Key-value pairs of additional properties for the resource." - }, - "type": { - "type": "string", - "enum": [ - "referenceDataSets" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.TimeSeriesInsights/environments/referenceDataSets" - }, - "EventHubEventSourceCreateOrUpdateParameters": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "Microsoft.EventHub" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubEventSourceCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the EventHub event source that are required on create or update requests." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Parameters supplied to the Create or Update Event Source operation for an EventHub event source." - }, - "EventHubEventSourceCreationProperties": { - "type": "object", - "properties": { - "consumerGroupName": { - "type": "string", - "description": "The name of the event hub's consumer group that holds the partitions from which events will be read." - }, - "eventHubName": { - "type": "string", - "description": "The name of the event hub." - }, - "eventSourceResourceId": { - "type": "string", - "description": "The resource id of the event source in Azure Resource Manager." - }, - "ingressStartAt": { - "oneOf": [ - { - "$ref": "#/definitions/IngressStartAtProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An object that contains the details about the starting point in time to ingest events." - }, - "keyName": { - "type": "string", - "description": "The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub." - }, - "localTimestamp": { - "oneOf": [ - { - "$ref": "#/definitions/LocalTimestamp" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Updating", - "Succeeded", - "Failed", - "Deleting" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the resource." - }, - "serviceBusNamespace": { - "type": "string", - "description": "The name of the service bus that contains the event hub." - }, - "sharedAccessKey": { - "type": "string", - "description": "The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses." - }, - "timestampPropertyName": { - "type": "string", - "description": "The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used." - } - }, - "required": [ - "consumerGroupName", - "eventHubName", - "eventSourceResourceId", - "keyName", - "serviceBusNamespace", - "sharedAccessKey" - ], - "description": "Properties of the EventHub event source that are required on create or update requests." - }, - "Gen1EnvironmentCreateOrUpdateParameters": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "Gen1" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Gen1EnvironmentCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties used to create a Gen1 environment." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Parameters supplied to the Create or Update Environment operation for a Gen1 environment." - }, - "Gen1EnvironmentCreationProperties": { - "type": "object", - "properties": { - "dataRetentionTime": { - "type": "string", - "format": "duration", - "description": "ISO8601 timespan specifying the minimum number of days the environment's events will be available for query." - }, - "partitionKeyProperties": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/TimeSeriesIdProperty" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of event properties which will be used to partition data in the environment. Currently, only a single partition key property is supported." - }, - "storageLimitExceededBehavior": { - "oneOf": [ - { - "type": "string", - "enum": [ - "PurgeOldData", - "PauseIngress" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If \"PauseIngress\" is specified, new events will not be read from the event source. If \"PurgeOldData\" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData." - } - }, - "required": [ - "dataRetentionTime" - ], - "description": "Properties used to create a Gen1 environment." - }, - "Gen2EnvironmentCreateOrUpdateParameters": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "Gen2" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/Gen2EnvironmentCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties used to create a Gen2 environment." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Parameters supplied to the Create or Update Environment operation for a Gen2 environment." - }, - "Gen2EnvironmentCreationProperties": { - "type": "object", - "properties": { - "storageConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/Gen2StorageConfigurationInput" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The storage configuration provides the connection details that allows the Time Series Insights service to connect to the customer storage account that is used to store the environment's data." - }, - "timeSeriesIdProperties": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/TimeSeriesIdProperty" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of event properties which will be used to define the environment's time series id." - }, - "warmStoreConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/WarmStoreConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query." - } - }, - "required": [ - "storageConfiguration", - "timeSeriesIdProperties" - ], - "description": "Properties used to create a Gen2 environment." - }, - "Gen2StorageConfigurationInput": { - "type": "object", - "properties": { - "accountName": { - "type": "string", - "description": "The name of the storage account that will hold the environment's Gen2 data." - }, - "managementKey": { - "type": "string", - "description": "The value of the management key that grants the Time Series Insights service write access to the storage account. This property is not shown in environment responses." - } - }, - "required": [ - "accountName", - "managementKey" - ], - "description": "The storage configuration provides the connection details that allows the Time Series Insights service to connect to the customer storage account that is used to store the environment's data." - }, - "IngressStartAtProperties": { - "type": "object", - "properties": { - "time": { - "type": "string", - "description": "ISO8601 UTC datetime with seconds precision (milliseconds are optional), specifying the date and time that will be the starting point for Events to be consumed." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EarliestAvailable", - "EventSourceCreationTime", - "CustomEnqueuedTime" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the ingressStartAt, It can be \"EarliestAvailable\", \"EventSourceCreationTime\", \"CustomEnqueuedTime\"." - } - }, - "description": "An object that contains the details about the starting point in time to ingest events." - }, - "IoTHubEventSourceCreateOrUpdateParameters": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "Microsoft.IoTHub" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/IoTHubEventSourceCreationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the IoTHub event source that are required on create or update requests." - } - }, - "required": [ - "kind", - "properties" - ], - "description": "Parameters supplied to the Create or Update Event Source operation for an IoTHub event source." - }, - "IoTHubEventSourceCreationProperties": { - "type": "object", - "properties": { - "consumerGroupName": { - "type": "string", - "description": "The name of the iot hub's consumer group that holds the partitions from which events will be read." - }, - "eventSourceResourceId": { - "type": "string", - "description": "The resource id of the event source in Azure Resource Manager." - }, - "ingressStartAt": { - "oneOf": [ - { - "$ref": "#/definitions/IngressStartAtProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An object that contains the details about the starting point in time to ingest events." - }, - "iotHubName": { - "type": "string", - "description": "The name of the iot hub." - }, - "keyName": { - "type": "string", - "description": "The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub." - }, - "localTimestamp": { - "oneOf": [ - { - "$ref": "#/definitions/LocalTimestamp" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accepted", - "Creating", - "Updating", - "Succeeded", - "Failed", - "Deleting" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the resource." - }, - "sharedAccessKey": { - "type": "string", - "description": "The value of the Shared Access Policy key that grants the Time Series Insights service read access to the iot hub. This property is not shown in event source responses." - }, - "timestampPropertyName": { - "type": "string", - "description": "The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used." - } - }, - "required": [ - "consumerGroupName", - "eventSourceResourceId", - "iotHubName", - "keyName", - "sharedAccessKey" - ], - "description": "Properties of the IoTHub event source that are required on create or update requests." - }, - "LocalTimestamp": { - "type": "object", - "properties": { - "format": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Embedded" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An enum that represents the format of the local timestamp property that needs to be set." - }, - "timeZoneOffset": { - "oneOf": [ - { - "$ref": "#/definitions/LocalTimestampTimeZoneOffset" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded." - } - }, - "description": "An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events." - }, - "LocalTimestampTimeZoneOffset": { - "type": "object", - "properties": { - "propertyName": { - "type": "string", - "description": "The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)" - } - }, - "description": "An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded." - }, - "ReferenceDataSetCreationProperties": { - "type": "object", - "properties": { - "dataStringComparisonBehavior": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Ordinal", - "OrdinalIgnoreCase" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used." - }, - "keyProperties": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ReferenceDataSetKeyProperty" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of key properties for the reference data set." - } - }, - "required": [ - "keyProperties" - ], - "description": "Properties used to create a reference data set." - }, - "ReferenceDataSetKeyProperty": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the key property." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Double", - "Bool", - "DateTime" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the key property." - } - }, - "description": "A key property for the reference data set. A reference data set can have multiple key properties." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 10 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The capacity of the sku. For Gen1 environments, this value can be changed to support scale out of environments after they have been created." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "S1", - "S2", - "P1", - "L1" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of this SKU." - } - }, - "required": [ - "capacity", - "name" - ], - "description": "The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate." - }, - "TimeSeriesIdProperty": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the property." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the property." - } - }, - "description": "The structure of the property that a time series id can have. An environment can have multiple such properties." - }, - "WarmStoreConfigurationProperties": { - "type": "object", - "properties": { - "dataRetention": { - "type": "string", - "format": "duration", - "description": "ISO8601 timespan specifying the number of days the environment's events will be available for query from the warm store." - } - }, - "required": [ - "dataRetention" - ], - "description": "The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 169c51ed9f..6e69be7ab4 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -10669,54 +10669,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.Synapse.json#/resourceDefinitions/workspaces_vulnerabilityAssessments" }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-02-28-preview/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-02-28-preview/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_accessPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-02-28-preview/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_eventSources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-02-28-preview/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_referenceDataSets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-11-15/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-11-15/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_accessPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-11-15/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_eventSources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-11-15/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_referenceDataSets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-08-15-preview/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-08-15-preview/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_accessPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-08-15-preview/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_eventSources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-08-15-preview/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_referenceDataSets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-05-15/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-05-15/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_accessPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-05-15/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_eventSources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-05-15/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_referenceDataSets" - }, { "$ref": "https://schema.management.azure.com/schemas/2018-02-01-preview/Microsoft.VirtualMachineImages.json#/resourceDefinitions/imageTemplates" },