Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR applicationinsights] New flags added to Application Insights Component #2175

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
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
84 changes: 76 additions & 8 deletions schemas/2015-05-01/Microsoft.Insights.Application.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.Application.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 Down Expand Up @@ -40,12 +40,6 @@
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/components_analyticsItems_childResource"
},
{
"$ref": "#/definitions/components_myanalyticsItems_childResource"
},
{
"$ref": "#/definitions/components_Annotations_childResource"
},
Expand All @@ -60,6 +54,12 @@
},
{
"$ref": "#/definitions/components_favorites_childResource"
},
{
"$ref": "#/definitions/components_analyticsItems_childResource"
},
{
"$ref": "#/definitions/components_myanalyticsItems_childResource"
}
]
}
Expand Down Expand Up @@ -154,6 +154,23 @@
],
"description": "Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component."
},
"Type": {
"oneOf": [
{
"type": "string",
"enum": [
"query",
"function",
"folder",
"recent"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Enum indicating the type of the Analytics item."
},
"type": {
"type": "string",
"enum": [
Expand Down Expand Up @@ -435,6 +452,23 @@
],
"description": "Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component."
},
"Type": {
"oneOf": [
{
"type": "string",
"enum": [
"query",
"function",
"folder",
"recent"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Enum indicating the type of the Analytics item."
},
"type": {
"type": "string",
"enum": [
Expand Down Expand Up @@ -1053,6 +1087,23 @@
],
"description": "Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component."
},
"Type": {
"oneOf": [
{
"type": "string",
"enum": [
"query",
"function",
"folder",
"recent"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Enum indicating the type of the Analytics item."
},
"type": {
"type": "string",
"enum": [
Expand Down Expand Up @@ -1378,6 +1429,23 @@
],
"description": "Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component."
},
"Type": {
"oneOf": [
{
"type": "string",
"enum": [
"query",
"function",
"folder",
"recent"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Enum indicating the type of the Analytics item."
},
"type": {
"type": "string",
"enum": [
Expand Down
22 changes: 22 additions & 0 deletions schemas/2020-02-02-preview/Microsoft.Insights.Application.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,17 @@
],
"description": "Disable IP masking."
},
"DisableLocalAuth": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Disable Non-AAD based Auth."
},
"Flow_Type": {
"oneOf": [
{
Expand All @@ -117,6 +128,17 @@
],
"description": "Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API."
},
"ForceCustomerStorageForProfiler": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Force users to create their own storage account for profiler and debugger."
},
"HockeyAppId": {
"type": "string",
"description": "The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp."
Expand Down
78 changes: 39 additions & 39 deletions schemas/2020-10-20/Microsoft.Insights.Application.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"identity": {
"oneOf": [
{
"$ref": "#/definitions/ManagedIdentity"
"$ref": "#/definitions/MyWorkbookManagedIdentity"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -138,7 +138,7 @@
"identity": {
"oneOf": [
{
"$ref": "#/definitions/ManagedIdentityModel"
"$ref": "#/definitions/WorkbookManagedIdentity"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -212,7 +212,7 @@
}
},
"definitions": {
"ManagedIdentity": {
"MyWorkbookManagedIdentity": {
"type": "object",
"properties": {
"type": {
Expand All @@ -233,39 +233,7 @@
"userAssignedIdentities": {
"oneOf": [
{
"$ref": "#/definitions/UserAssignedIdentities"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Customer Managed Identity"
}
},
"description": "Customer Managed Identity"
},
"ManagedIdentityModel": {
"type": "object",
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"UserAssigned",
"None"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The identity type."
},
"userAssignedIdentities": {
"oneOf": [
{
"$ref": "#/definitions/UserAssignedIdentitiesModel"
"$ref": "#/definitions/MyWorkbookUserAssignedIdentities"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -325,14 +293,41 @@
],
"description": "Properties that contain a private workbook."
},
"UserAssignedIdentities": {
"MyWorkbookUserAssignedIdentities": {
"type": "object",
"properties": {},
"description": "Customer Managed Identity"
},
"UserAssignedIdentitiesModel": {
"WorkbookManagedIdentity": {
"type": "object",
"properties": {},
"properties": {
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"UserAssigned",
"None"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The identity type."
},
"userAssignedIdentities": {
"oneOf": [
{
"$ref": "#/definitions/WorkbookUserAssignedIdentities"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Customer Managed Identity"
}
},
"description": "Customer Managed Identity"
},
"WorkbookProperties": {
Expand Down Expand Up @@ -383,6 +378,11 @@
"serializedData"
],
"description": "Properties that contain a workbook."
},
"WorkbookUserAssignedIdentities": {
"type": "object",
"properties": {},
"description": "Customer Managed Identity"
}
}
}