Skip to content

Commit

Permalink
Merge pull request #3082 from Azure/autogenerate-batch
Browse files Browse the repository at this point in the history
Update Generated Schemas
  • Loading branch information
Xynoclafe authored May 16, 2024
2 parents 8102047 + 816bdb6 commit 8e14d1b
Show file tree
Hide file tree
Showing 41 changed files with 69,463 additions and 541 deletions.
489 changes: 353 additions & 136 deletions generator/resources.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
{
"id": "https://schema.management.azure.com/schemas/2015-11-01-preview/Microsoft.OperationalInsights.ServiceMap.json#",
"title": "Microsoft.OperationalInsights",
"description": "Microsoft OperationalInsights Resource Types",
"$schema": "http://json-schema.org/draft-04/schema#",
"resourceDefinitions": {
"workspaces_features_machineGroups": {
"description": "Microsoft.OperationalInsights/workspaces/features/machineGroups",
"properties": {
"apiVersion": {
"enum": [
"2015-11-01-preview"
],
"type": "string"
},
"etag": {
"description": "Resource ETAG.",
"type": "string"
},
"kind": {
"description": "Additional resource type qualifier.",
"oneOf": [
{
"enum": [
"machine",
"process",
"port",
"clientGroup",
"machineGroup"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"name": {
"description": "Machine Group resource name.",
"maxLength": 36,
"minLength": 36,
"type": "string"
},
"properties": {
"description": "Resource properties.",
"oneOf": [
{
"$ref": "#/definitions/MachineGroupProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.OperationalInsights/workspaces/features/machineGroups"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
}
},
"definitions": {
"MachineGroupProperties": {
"description": "Resource properties.",
"properties": {
"count": {
"description": "Count of machines in this group. The value of count may be bigger than the number of machines in case of the group has been truncated due to exceeding the max number of machines a group can handle.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"displayName": {
"description": "User defined name for the group",
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"groupType": {
"description": "Type of the machine group",
"oneOf": [
{
"enum": [
"unknown",
"azure-cs",
"azure-sf",
"azure-vmss",
"user-static"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"machines": {
"description": "References of the machines in this group. The hints within each reference do not represent the current value of the corresponding fields. They are a snapshot created during the last time the machine group was updated.",
"oneOf": [
{
"items": {
"$ref": "#/definitions/MachineReferenceWithHints"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"required": [
"displayName"
],
"type": "object"
},
"MachineReferenceWithHints": {
"description": "A machine reference with a hint of the machine's name and operating system.",
"properties": {
"id": {
"description": "Resource URI.",
"type": "string"
},
"kind": {
"description": "Specifies the sub-class of the reference.",
"oneOf": [
{
"enum": [
"ref:machine",
"ref:machinewithhints",
"ref:process",
"ref:port",
"ref:onmachine",
"ref:clientgroup"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"description": "Machine reference with name and os hints.",
"oneOf": [
{
"$ref": "#/definitions/MachineReferenceWithHintsProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"required": [
"id",
"kind"
],
"type": "object"
},
"MachineReferenceWithHintsProperties": {
"description": "Machine reference with name and os hints.",
"properties": {},
"type": "object"
}
}
}
6 changes: 6 additions & 0 deletions schemas/2018-05-01/subscriptionDeploymentTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -1637,6 +1637,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups"
},
{
"$ref": "https://schema.management.azure.com/schemas/2024-03-01/Microsoft.Resources.json#/subscription_resourceDefinitions/deploymentStacks"
},
{
"$ref": "https://schema.management.azure.com/schemas/2024-03-01/Microsoft.Resources.json#/subscription_resourceDefinitions/resourceGroups"
},
Expand Down Expand Up @@ -1693,6 +1696,9 @@
},
{
"$ref": "https://schema.management.azure.com/schemas/2024-04-01/Microsoft.Support.json#/subscription_resourceDefinitions/supportTickets_communications"
},
{
"$ref": "https://schema.management.azure.com/schemas/2023-09-01-preview/Oracle.Database.json#/subscription_resourceDefinitions/oracleSubscriptions"
}
]
}
Expand Down
Loading

0 comments on commit 8e14d1b

Please sign in to comment.