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 monitor] [Hub Generated] Review request for Microsoft.Monitor to add version stable/2023-04-03 #2206

Closed
wants to merge 1 commit into from
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
82 changes: 82 additions & 0 deletions schemas/2023-04-03/Microsoft.Monitor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"id": "https://schema.management.azure.com/schemas/2023-04-03/Microsoft.Monitor.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Monitor",
"description": "Microsoft Monitor Resource Types",
"resourceDefinitions": {
"accounts": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2023-04-03"
]
},
"location": {
"type": "string",
"description": "The geo-location where the resource lives"
},
"name": {
"oneOf": [
{
"type": "string",
"pattern": "^(?!-)[a-zA-Z0-9-]+[^-]$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The name of the Azure Monitor workspace. The name is case insensitive"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/AzureMonitorWorkspaceResourceProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resource properties"
},
"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.Monitor/accounts"
]
}
},
"required": [
"apiVersion",
"location",
"name",
"properties",
"type"
],
"description": "Microsoft.Monitor/accounts"
}
},
"definitions": {
"AzureMonitorWorkspaceResourceProperties": {
"type": "object",
"properties": {},
"description": "Resource properties"
}
}
}
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -16465,6 +16465,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2021-06-03-preview/Microsoft.Monitor.json#/resourceDefinitions/accounts"
},
{
"$ref": "https://schema.management.azure.com/schemas/2023-04-03/Microsoft.Monitor.json#/resourceDefinitions/accounts"
},
{
"$ref": "https://schema.management.azure.com/schemas/2017-08-15/Microsoft.NetApp.json#/resourceDefinitions/netAppAccounts"
},
Expand Down