Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update 2015-05-01/Microsoft.Insights.json with naming fixes from PR s…
…uggestions

- remove unnecessary sub-components from API as well
  • Loading branch information
d3r3kk committed Mar 9, 2018
commit 558ab342ae64e2c9f8c5d1fe074d5345fb680cc3
328 changes: 7 additions & 321 deletions schemas/2015-05-01/microsoft.insights.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"id": "https://schema.management.azure.com/schemas/2015-05-01/microsoft.insights.json#",
"id": "https://schema.management.azure.com/schemas/2015-05-01/Microsoft.Insights.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "microsoft.insights",
"description": "microsoft insights Resource Types",
"title": "Microsoft.Insights",
"description": "Microsoft Insights Resource Types",
"resourceDefinitions": {
"components": {
"type": "object",
Expand All @@ -14,7 +14,7 @@
"type": {
"type": "string",
"enum": [
"microsoft.insights/components"
"Microsoft.Insights/components"
]
},
"apiVersion": {
Expand Down Expand Up @@ -55,22 +55,6 @@
}
],
"description": "Properties that define an Application Insights component resource."
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/components_favorites_childResource"
},
{
"$ref": "#/definitions/components_ProactiveDetectionConfigs_childResource"
},
{
"$ref": "#/definitions/components_exportconfiguration_childResource"
}
]
}
}
},
"required": [
Expand All @@ -81,7 +65,7 @@
"kind",
"properties"
],
"description": "microsoft.insights/components"
"description": "Microsoft.Insights/components"
},
"webtests": {
"type": "object",
Expand All @@ -93,7 +77,7 @@
"type": {
"type": "string",
"enum": [
"microsoft.insights/webtests"
"Microsoft.Insights/webtests"
]
},
"apiVersion": {
Expand Down Expand Up @@ -154,76 +138,10 @@
"location",
"properties"
],
"description": "microsoft.insights/webtests"
"description": "Microsoft.Insights/webtests"
}
},
"definitions": {
"ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions": {
"type": "object",
"properties": {
"Name": {
"type": "string",
"description": "The rule name"
},
"DisplayName": {
"type": "string",
"description": "The rule name as it is displayed in UI"
},
"Description": {
"type": "string",
"description": "The rule description"
},
"HelpUrl": {
"type": "string",
"description": "URL which displays aditional info about the proactive detection rule"
},
"IsHidden": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "A flag indicating whether the rule is hidden (from the UI)"
},
"IsEnabledByDefault": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "A flag indicating whether the rule is enabled by default"
},
"IsInPreview": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "A flag indicating whether the rule is in preview"
},
"SupportsEmailNotifications": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "A flag indicating whether email notifications are supported for detections for this rule"
}
},
"description": "Static definitions of the ProactiveDetection configuration rule (same values for all components)."
},
"ApplicationInsightsComponentProperties": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -291,238 +209,6 @@
],
"description": "Properties that define an Application Insights component resource."
},
"components_exportconfiguration_childResource": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The Continuous Export configuration ID. This is unique within a Application Insights component."
},
"type": {
"type": "string",
"enum": [
"exportconfiguration"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-05-01"
]
},
"RecordTypes": {
"type": "string",
"description": "The document types to be exported, as comma separated values. Allowed values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'."
},
"DestinationType": {
"type": "string",
"description": "The Continuous Export destination type. This has to be 'Blob'."
},
"DestinationAddress": {
"type": "string",
"description": "The SAS URL for the destination storage container. It must grant write permission."
},
"IsEnabled": {
"type": "string",
"description": "Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'."
},
"NotificationQueueEnabled": {
"type": "string",
"description": "Deprecated"
},
"NotificationQueueUri": {
"type": "string",
"description": "Deprecated"
},
"DestinationStorageSubscriptionId": {
"type": "string",
"description": "The subscription ID of the destination storage container."
},
"DestinationStorageLocationId": {
"type": "string",
"description": "The location ID of the destination storage container."
},
"DestinationAccountId": {
"type": "string",
"description": "The name of destination storage account."
}
},
"required": [
"name",
"type",
"apiVersion"
],
"description": "microsoft.insights/components/exportconfiguration"
},
"components_favorites_childResource": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The Id of a specific favorite defined in the Application Insights component"
},
"type": {
"type": "string",
"enum": [
"favorites"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-05-01"
]
},
"Name": {
"type": "string",
"description": "The user-defined name of the favorite."
},
"Config": {
"type": "string",
"description": "Configuration of this particular favorite, which are driven by the Azure portal UX. Configuration data is a string containing valid JSON"
},
"Version": {
"type": "string",
"description": "This instance's version of the data model. This can change as new features are added that can be marked favorite. Current examples include MetricsExplorer (ME) and Search."
},
"FavoriteType": {
"oneOf": [
{
"type": "string",
"enum": [
"shared",
"user"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Enum indicating if this favorite definition is owned by a specific user or is shared between all users with access to the Application Insights component."
},
"SourceType": {
"type": "string",
"description": "The source of the favorite definition."
},
"Tags": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "A list of 0 or more tags that are associated with this favorite definition"
},
"Category": {
"type": "string",
"description": "Favorite category, as defined by the user at creation time."
},
"IsGeneratedFromTemplate": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Flag denoting wether or not this favorite was generated from a template."
}
},
"required": [
"name",
"type",
"apiVersion"
],
"description": "microsoft.insights/components/favorites"
},
"components_ProactiveDetectionConfigs_childResource": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The ProactiveDetection configuration ID. This is unique within a Application Insights component."
},
"type": {
"type": "string",
"enum": [
"ProactiveDetectionConfigs"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-05-01"
]
},
"Name": {
"type": "string",
"description": "The rule name"
},
"Enabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "A flag that indicates whether this rule is enabled by the user"
},
"SendEmailsToSubscriptionOwners": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "A flag that indicated whether notifications on this rule should be sent to subscription owners"
},
"CustomEmails": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Custom email addresses for this rule notifications"
},
"LastUpdatedTime": {
"type": "string",
"description": "The last time this rule was updated"
},
"RuleDefinitions": {
"oneOf": [
{
"$ref": "#/definitions/ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Static definitions of the ProactiveDetection configuration rule (same values for all components)."
}
},
"required": [
"name",
"type",
"apiVersion"
],
"description": "microsoft.insights/components/ProactiveDetectionConfigs"
},
"WebTestGeolocation": {
"type": "object",
"properties": {
Expand Down
Loading