Skip to content
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
9 changes: 9 additions & 0 deletions schemas/2014-04-01-preview/deploymentTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,13 @@
{ "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_dataconnections" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_principalassignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_principalassignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_dataconnections" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_attacheddatabaseconfigurations" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_dataconnections" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_principalassignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_principalassignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/alertrules" },
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/components" },
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/autoscalesettings" },
Expand Down Expand Up @@ -1843,6 +1850,8 @@
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups_assessments" },
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_hypervcollectors" },
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" },
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" },
{ "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" },
{ "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Insights.json#/resourceDefinitions/actionGroups" },
{ "$ref": "https://schema.management.azure.com/schemas/2018-06-01-preview/Microsoft.ManagedServices.json#/resourceDefinitions/registrationAssignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2018-06-01-preview/Microsoft.ManagedServices.json#/resourceDefinitions/registrationDefinitions" },
Expand Down
165 changes: 126 additions & 39 deletions schemas/2015-01-01/Microsoft.Authorization.json
Original file line number Diff line number Diff line change
@@ -1,70 +1,157 @@
{
"id": "https://schema.management.azure.com/schemas/2015-01-01/Microsoft.Authorization.json",
"id": "https://schema.management.azure.com/schemas/2015-01-01/Microsoft.Authorization.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Microsoft.Authorization Resource Types",
"description": "Microsoft Authorization Resource Types",
"resourceDefinitions": {
"locks": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2015-01-01"
]
},
"name": {
"type": "string",
"description": "The lock name."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ManagementLockProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The management lock properties."
},
"type": {
"type": "string",
"enum": [
"Microsoft.Authorization/locks"
]
},
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.Authorization/locks"
}
},
"subscription_resourceDefinitions": {
"locks": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2015-01-01"
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "Name of the lock"
},
"dependsOn": {
"type": "array",
"items": {
"type": "string"
},
"description": "Collection of resources this resource depends on"
"description": "The name of lock."
},
"properties": {
"type": "object",
"properties": {
"level": {
"oneOf": [
{
"enum": [
"CannotDelete",
"ReadOnly"
]
},
{ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" }
]
,
"description": "Microsoft.Authorization/locks: level - specifies the type of lock to apply to the scope. CanNotDelete allows modification but prevents deletion, ReadOnly prevents modification or deletion."
"oneOf": [
{
"$ref": "#/definitions/ManagementLockProperties"
},
"notes": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"description": "Microsoft.Authorization/locks: notes - user defined notes for the lock"
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
},
"required": [
"level"
],
"description": "The management lock properties."
},
"type": {
"type": "string",
"enum": [
"Microsoft.Authorization/locks"
]
}
},
"required": [
"apiVersion",
"name",
"type",
"properties",
"type"
],
"description": "Microsoft.Authorization/locks"
}
},
"extension_resourceDefinitions": {
"locks": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2015-01-01"
]
},
"name": {
"type": "string",
"description": "The name of lock."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ManagementLockProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The management lock properties."
},
"type": {
"type": "string",
"enum": [
"Microsoft.Authorization/locks"
]
}
},
"required": [
"apiVersion",
"properties"
"name",
"properties",
"type"
],
"description": "Microsoft.Authorization/locks resource"
"description": "Microsoft.Authorization/locks"
}
},
"definitions": {
"ManagementLockProperties": {
"type": "object",
"properties": {
"level": {
"oneOf": [
{
"type": "string",
"enum": [
"NotSpecified",
"CanNotDelete",
"ReadOnly"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The lock level of the management lock."
},
"notes": {
"type": "string",
"description": "The notes of the management lock."
}
},
"description": "The management lock properties."
}
}
}
}
7 changes: 7 additions & 0 deletions schemas/2015-01-01/deploymentTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,13 @@
{ "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_dataconnections" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_principalassignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-06-14/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_principalassignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_dataconnections" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_attacheddatabaseconfigurations" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_dataconnections" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_principalassignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_principalassignments" },
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/alertrules" },
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/components" },
{ "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Insights.json#/resourceDefinitions/autoscalesettings" },
Expand Down
148 changes: 148 additions & 0 deletions schemas/2015-10-01-preview/Microsoft.Authorization.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
{
"id": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Authorization Resource Types",
"resourceDefinitions": {},
"subscription_resourceDefinitions": {
"policydefinitions": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2015-10-01-preview"
]
},
"name": {
"type": "string",
"description": "The name of the policy definition to create."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PolicyDefinitionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The policy definition properties."
},
"type": {
"type": "string",
"enum": [
"Microsoft.Authorization/policydefinitions"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.Authorization/policydefinitions"
}
},
"unknown_resourceDefinitions": {
"policyassignments": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2015-10-01-preview"
]
},
"id": {
"type": "string",
"description": "The ID of the policy assignment."
},
"name": {
"type": "string",
"description": "The name of the policy assignment."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PolicyAssignmentProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The policy assignment properties."
},
"type": {
"type": "string",
"enum": [
"Microsoft.Authorization/policyassignments"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.Authorization/policyassignments"
}
},
"definitions": {
"PolicyAssignmentProperties": {
"type": "object",
"properties": {
"displayName": {
"type": "string",
"description": "The display name of the policy assignment."
},
"policyDefinitionId": {
"type": "string",
"description": "The ID of the policy definition."
},
"scope": {
"type": "string",
"description": "The scope for the policy assignment."
}
},
"description": "The policy assignment properties."
},
"PolicyDefinitionProperties": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "The policy definition description."
},
"displayName": {
"type": "string",
"description": "The display name of the policy definition."
},
"policyRule": {
"type": "object",
"properties": {},
"description": "The policy rule."
},
"policyType": {
"oneOf": [
{
"type": "string",
"enum": [
"NotSpecified",
"BuiltIn",
"Custom"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom."
}
},
"description": "The policy definition properties."
}
}
}
Loading