diff --git a/schemas/2019-08-01-preview/Microsoft.OperationalInsights.json b/schemas/2019-08-01-preview/Microsoft.OperationalInsights.json index 68d11d313b..e310154ae7 100644 --- a/schemas/2019-08-01-preview/Microsoft.OperationalInsights.json +++ b/schemas/2019-08-01-preview/Microsoft.OperationalInsights.json @@ -256,17 +256,6 @@ "DataExportProperties": { "type": "object", "properties": { - "allTables": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When ‘true’, all workspace's tables are exported." - }, "createdDate": { "type": "string", "description": "The latest data export rule modification time." diff --git a/schemas/2020-08-01/Microsoft.OperationalInsights.json b/schemas/2020-08-01/Microsoft.OperationalInsights.json index 891b259b2c..3673a10bd4 100644 --- a/schemas/2020-08-01/Microsoft.OperationalInsights.json +++ b/schemas/2020-08-01/Microsoft.OperationalInsights.json @@ -604,17 +604,6 @@ "DataExportProperties": { "type": "object", "properties": { - "allTables": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When ‘true’, all workspace's tables are exported." - }, "createdDate": { "type": "string", "description": "The latest data export rule modification time." diff --git a/schemas/2020-10-01/Microsoft.OperationalInsights.json b/schemas/2020-10-01/Microsoft.OperationalInsights.json new file mode 100644 index 0000000000..3753847d2a --- /dev/null +++ b/schemas/2020-10-01/Microsoft.OperationalInsights.json @@ -0,0 +1,260 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.OperationalInsights.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.OperationalInsights", + "description": "Microsoft OperationalInsights Resource Types", + "resourceDefinitions": { + "clusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-10-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$", + "minLength": 4, + "maxLength": 63 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Log Analytics cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cluster properties." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster sku definition." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.OperationalInsights/clusters" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.OperationalInsights/clusters" + } + }, + "definitions": { + "ClusterProperties": { + "type": "object", + "properties": { + "billingType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Cluster", + "Workspaces" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configures whether billing will be only on the cluster or each workspace will be billed by its proportional use. This does not change the overall billing, only how it will be distributed. Default value is 'Cluster'." + }, + "isAvailabilityZonesEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones." + }, + "isDoubleEncryptionEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true'" + }, + "keyVaultProperties": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The key vault properties." + } + }, + "description": "Cluster properties." + }, + "ClusterSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The capacity value" + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CapacityReservation" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the SKU." + } + }, + "description": "The cluster sku definition." + }, + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "required": [ + "type" + ], + "description": "Identity for the resource." + }, + "KeyVaultProperties": { + "type": "object", + "properties": { + "keyName": { + "type": "string", + "description": "The name of the key associated with the Log Analytics cluster." + }, + "keyVaultUri": { + "type": "string", + "description": "The Key Vault uri which holds they key associated with the Log Analytics cluster." + }, + "keyVersion": { + "type": "string", + "description": "The version of the key associated with the Log Analytics cluster." + }, + "rsaKeySize": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Selected key minimum required key size." + } + }, + "description": "The key vault properties." + }, + "UserIdentityProperties": { + "type": "object", + "properties": {}, + "description": "User assigned identity properties." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index ba1eed3d16..c727171172 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -4192,6 +4192,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-08-01/Microsoft.OperationalInsights.json#/resourceDefinitions/workspaces_storageInsightConfigs" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.OperationalInsights.json#/resourceDefinitions/clusters" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-08-01-preview/Microsoft.Peering.json#/resourceDefinitions/peerings" }, @@ -5530,4 +5533,4 @@ ] } ] -} +} \ No newline at end of file