azure-resource-manager-schemas/schemas/2021-06-01/Microsoft.OperationalInsigh...

604 строки
18 KiB
JSON

{
"id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.OperationalInsights.json#",
"title": "Microsoft.OperationalInsights",
"description": "Microsoft OperationalInsights Resource Types",
"$schema": "http://json-schema.org/draft-04/schema#",
"resourceDefinitions": {
"clusters": {
"description": "Microsoft.OperationalInsights/clusters",
"properties": {
"apiVersion": {
"enum": [
"2021-06-01"
],
"type": "string"
},
"identity": {
"description": "The identity of the resource.",
"oneOf": [
{
"$ref": "#/definitions/Identity"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"location": {
"description": "The geo-location where the resource lives",
"type": "string"
},
"name": {
"description": "The name of the Log Analytics cluster.",
"oneOf": [
{
"maxLength": 63,
"minLength": 4,
"pattern": "^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$",
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"description": "Log Analytics cluster properties.",
"oneOf": [
{
"$ref": "#/definitions/ClusterProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"sku": {
"description": "The sku properties.",
"oneOf": [
{
"$ref": "#/definitions/ClusterSku"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"description": "Resource tags.",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.OperationalInsights/clusters"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
},
"workspaces": {
"description": "Microsoft.OperationalInsights/workspaces",
"properties": {
"apiVersion": {
"enum": [
"2021-06-01"
],
"type": "string"
},
"etag": {
"description": "The etag of the workspace.",
"type": "string"
},
"location": {
"description": "The geo-location where the resource lives",
"type": "string"
},
"name": {
"description": "The name of the workspace.",
"oneOf": [
{
"maxLength": 63,
"minLength": 4,
"pattern": "^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$",
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"description": "Workspace properties.",
"oneOf": [
{
"$ref": "#/definitions/WorkspaceProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"description": "Resource tags.",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.OperationalInsights/workspaces"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
}
},
"definitions": {
"AssociatedWorkspace": {
"description": "The list of Log Analytics workspaces associated with the cluster.",
"properties": {},
"type": "object"
},
"CapacityReservationProperties": {
"description": "The Capacity Reservation properties.",
"properties": {},
"type": "object"
},
"ClusterProperties": {
"description": "Cluster properties.",
"properties": {
"associatedWorkspaces": {
"description": "The list of Log Analytics workspaces associated with the cluster",
"oneOf": [
{
"items": {
"$ref": "#/definitions/AssociatedWorkspace"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"billingType": {
"description": "The cluster's billing type.",
"oneOf": [
{
"enum": [
"Cluster",
"Workspaces"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"capacityReservationProperties": {
"description": "Additional properties for capacity reservation",
"oneOf": [
{
"$ref": "#/definitions/CapacityReservationProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"isAvailabilityZonesEnabled": {
"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.",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"isDoubleEncryptionEnabled": {
"description": "Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true'",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"keyVaultProperties": {
"description": "The associated key properties.",
"oneOf": [
{
"$ref": "#/definitions/KeyVaultProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"ClusterSku": {
"description": "The cluster sku definition.",
"properties": {
"capacity": {
"description": "The capacity value",
"oneOf": [
{
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"name": {
"description": "The name of the SKU.",
"oneOf": [
{
"enum": [
"CapacityReservation"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"Identity": {
"description": "Identity for the resource.",
"properties": {
"type": {
"description": "Type of managed service identity.",
"oneOf": [
{
"enum": [
"SystemAssigned",
"UserAssigned",
"None"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"userAssignedIdentities": {
"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}'.",
"oneOf": [
{
"additionalProperties": {
"$ref": "#/definitions/UserIdentityProperties"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"required": [
"type"
],
"type": "object"
},
"KeyVaultProperties": {
"description": "The key vault properties.",
"properties": {
"keyName": {
"description": "The name of the key associated with the Log Analytics cluster.",
"type": "string"
},
"keyRsaSize": {
"description": "Selected key minimum required size.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"keyVaultUri": {
"description": "The Key Vault uri which holds they key associated with the Log Analytics cluster.",
"type": "string"
},
"keyVersion": {
"description": "The version of the key associated with the Log Analytics cluster.",
"type": "string"
}
},
"type": "object"
},
"UserIdentityProperties": {
"description": "User assigned identity properties.",
"properties": {},
"type": "object"
},
"WorkspaceCapping": {
"description": "The daily volume cap for ingestion.",
"properties": {
"dailyQuotaGb": {
"description": "The workspace daily quota for ingestion.",
"oneOf": [
{
"type": "number"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"WorkspaceFeatures": {
"additionalProperties": {},
"description": "Workspace features.",
"properties": {
"clusterResourceId": {
"description": "Dedicated LA cluster resourceId that is linked to the workspaces.",
"type": "string"
},
"disableLocalAuth": {
"description": "Disable Non-AAD based Auth.",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"enableDataExport": {
"description": "Flag that indicate if data should be exported.",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"enableLogAccessUsingOnlyResourcePermissions": {
"description": "Flag that indicate which permission to use - resource or workspace or both.",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"immediatePurgeDataOn30Days": {
"description": "Flag that describes if we want to remove the data after 30 days.",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"WorkspaceProperties": {
"description": "Workspace properties.",
"properties": {
"features": {
"description": "Workspace features.",
"oneOf": [
{
"$ref": "#/definitions/WorkspaceFeatures"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"forceCmkForQuery": {
"description": "Indicates whether customer managed storage is mandatory for query management.",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"provisioningState": {
"description": "The provisioning state of the workspace.",
"oneOf": [
{
"enum": [
"Creating",
"Succeeded",
"Failed",
"Canceled",
"Deleting",
"ProvisioningAccount",
"Updating"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"publicNetworkAccessForIngestion": {
"description": "The network access type for accessing Log Analytics ingestion.",
"oneOf": [
{
"enum": [
"Enabled",
"Disabled"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"publicNetworkAccessForQuery": {
"description": "The network access type for accessing Log Analytics query.",
"oneOf": [
{
"enum": [
"Enabled",
"Disabled"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"retentionInDays": {
"description": "The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"sku": {
"description": "The SKU of the workspace.",
"oneOf": [
{
"$ref": "#/definitions/WorkspaceSku"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"workspaceCapping": {
"description": "The daily volume cap for ingestion.",
"oneOf": [
{
"$ref": "#/definitions/WorkspaceCapping"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"WorkspaceSku": {
"description": "The SKU (tier) of a workspace.",
"properties": {
"capacityReservationLevel": {
"description": "The capacity reservation level in GB for this workspace, when CapacityReservation sku is selected.",
"oneOf": [
{
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"name": {
"description": "The name of the SKU.",
"oneOf": [
{
"enum": [
"Free",
"Standard",
"Premium",
"PerNode",
"PerGB2018",
"Standalone",
"CapacityReservation",
"LACluster"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"required": [
"name"
],
"type": "object"
}
}
}