forked from Azure/azure-resource-manager-schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 16249 in Azure/azure-rest-api-specs
Merge d0a49469609757b08357b7d073d04b7b72c12d02 into 2c6bb907c749885e933bdb4e1a40f71bd9a60c3a
- Loading branch information
SDKAuto
committed
Oct 22, 2021
1 parent
aa52d30
commit 9562cff
Showing
2 changed files
with
211 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,208 @@ | ||
{ | ||
"id": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.Insights.Application.json#", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Microsoft.Insights", | ||
"description": "Microsoft Insights Resource Types", | ||
"resourceDefinitions": { | ||
"workbooks": { | ||
"type": "object", | ||
"properties": { | ||
"apiVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"2021-08-01" | ||
] | ||
}, | ||
"etag": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"properties": {} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Resource etag" | ||
}, | ||
"identity": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/WorkbookResourceIdentity" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Identity used for BYOS" | ||
}, | ||
"kind": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"user", | ||
"shared" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The kind of workbook. Choices are user and shared." | ||
}, | ||
"location": { | ||
"type": "string", | ||
"description": "The geo-location where the resource lives" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "The name of the Application Insights component resource." | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/WorkbookProperties" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Properties that contain a workbook." | ||
}, | ||
"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/workbooks" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"apiVersion", | ||
"location", | ||
"name", | ||
"properties", | ||
"type" | ||
], | ||
"description": "Microsoft.Insights/workbooks" | ||
} | ||
}, | ||
"definitions": { | ||
"UserAssignedIdentity": { | ||
"type": "object", | ||
"properties": {}, | ||
"description": "User assigned identity properties" | ||
}, | ||
"WorkbookProperties": { | ||
"type": "object", | ||
"properties": { | ||
"category": { | ||
"type": "string", | ||
"description": "Workbook category, as defined by the user at creation time." | ||
}, | ||
"description": { | ||
"type": "string", | ||
"description": "The description of the workbook." | ||
}, | ||
"displayName": { | ||
"type": "string", | ||
"description": "The user-defined name (display name) of the workbook." | ||
}, | ||
"serializedData": { | ||
"type": "string", | ||
"description": "Configuration of this particular workbook. Configuration data is a string containing valid JSON" | ||
}, | ||
"sourceId": { | ||
"type": "string", | ||
"description": "ResourceId for a source resource." | ||
}, | ||
"storageUri": { | ||
"type": "string", | ||
"description": "The resourceId to the storage account when bring your own storage is used" | ||
}, | ||
"tags": { | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Being deprecated, please use the other tags field" | ||
}, | ||
"version": { | ||
"type": "string", | ||
"description": "Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData" | ||
} | ||
}, | ||
"required": [ | ||
"category", | ||
"displayName", | ||
"serializedData" | ||
], | ||
"description": "Properties that contain a workbook." | ||
}, | ||
"WorkbookResourceIdentity": { | ||
"type": "object", | ||
"properties": { | ||
"type": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"None", | ||
"SystemAssigned", | ||
"UserAssigned", | ||
"SystemAssigned,UserAssigned" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
] | ||
}, | ||
"userAssignedIdentities": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/UserAssignedIdentity" | ||
}, | ||
"properties": {} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests." | ||
} | ||
}, | ||
"required": [ | ||
"type" | ||
], | ||
"description": "Identity used for BYOS" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters