Skip to content

Commit

Permalink
Generated from bbcd96bb3e421e5f653ac95f86c7f22e958ef30c
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Nov 6, 2020
1 parent fdc3360 commit 0766a75
Show file tree
Hide file tree
Showing 19 changed files with 6,034 additions and 205 deletions.
697 changes: 697 additions & 0 deletions schemas/2015-04-01/microsoft.insights.json

Large diffs are not rendered by default.

222 changes: 222 additions & 0 deletions schemas/2015-07-01/microsoft.insights.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
{
"id": "https://schema.management.azure.com/schemas/2015-07-01/microsoft.insights.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "microsoft.insights",
"description": "microsoft insights Resource Types",
"resourceDefinitions": {},
"unknown_resourceDefinitions": {
"diagnosticSettings": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2015-07-01"
]
},
"location": {
"type": "string",
"description": "Resource location"
},
"name": {
"type": "string",
"enum": [
"service"
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ServiceDiagnosticSettings"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The diagnostic settings for service."
},
"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.insights/diagnosticSettings"
]
}
},
"required": [
"apiVersion",
"location",
"name",
"properties",
"type"
],
"description": "microsoft.insights/diagnosticSettings"
}
},
"definitions": {
"LogSettings": {
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation."
},
"enabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "a value indicating whether this log is enabled."
},
"retentionPolicy": {
"oneOf": [
{
"$ref": "#/definitions/RetentionPolicy"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Specifies the retention policy for the log."
}
},
"required": [
"enabled"
],
"description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log."
},
"MetricSettings": {
"type": "object",
"properties": {
"enabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "a value indicating whether this timegrain is enabled."
},
"retentionPolicy": {
"oneOf": [
{
"$ref": "#/definitions/RetentionPolicy"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Specifies the retention policy for the log."
},
"timeGrain": {
"type": "string",
"format": "duration",
"description": "the timegrain of the metric in ISO8601 format."
}
},
"required": [
"enabled",
"timeGrain"
],
"description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric."
},
"RetentionPolicy": {
"type": "object",
"properties": {
"days": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "the number of days for the retention in days. A value of 0 will retain the events indefinitely."
},
"enabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "a value indicating whether the retention policy is enabled."
}
},
"required": [
"days",
"enabled"
],
"description": "Specifies the retention policy for the log."
},
"ServiceDiagnosticSettings": {
"type": "object",
"properties": {
"logs": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/LogSettings"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "the list of logs settings."
},
"metrics": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/MetricSettings"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "the list of metric settings."
},
"serviceBusRuleId": {
"type": "string",
"description": "The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming Diagnostic Logs. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'."
},
"storageAccountId": {
"type": "string",
"description": "The resource ID of the storage account to which you would like to send Diagnostic Logs."
},
"workspaceId": {
"type": "string",
"description": "The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2"
}
},
"description": "The diagnostic settings for service."
}
}
}
Loading

0 comments on commit 0766a75

Please sign in to comment.