Add suffix to Microsoft.Authorization config

This commit is contained in:
Anthony Martin 2021-06-11 02:58:19 +00:00 коммит произвёл GitHub
Родитель 1fdc9f3bae
Коммит eb34d0f3e7
36 изменённых файлов: 207 добавлений и 333 удалений

Просмотреть файл

@ -492,6 +492,7 @@ const autoGenList: AutoGenConfig[] = [
scopes: ScopeType.Subcription | ScopeType.ResourceGroup | ScopeType.Extension,
},
],
suffix: 'Resources',
postProcessor: policyProcessor
},
{

Просмотреть файл

@ -74,17 +74,21 @@ export async function prepareReadme(readme: string, autoGenConfig?: AutoGenConfi
const content = fs.readFileSync(readme).toString();
const markdownEx = cm.parse(content);
const fileSet = new Set<string>();
for (const codeBlock of cm.iterate(markdownEx.markDown)) {
if (codeBlock.type === 'code_block' && codeBlock?.info?.startsWith('yaml') && codeBlock.literal !== null) {
const DOC = (yaml.load(codeBlock.literal) as CodeBlock);
if (DOC) {
const inputFile = DOC['input-file'];
if (typeof inputFile === 'string') {
fileSet.add(inputFile);
} else if (inputFile instanceof Array) {
for (const i of inputFile) {
fileSet.add(i);
}
for (const node of cm.iterate(markdownEx.markDown)) {
// We're only interested in yaml code blocks
if (node.type !== 'code_block' || !node.info || !node.literal ||
!node.info.trim().startsWith('yaml')) {
continue;
}
const DOC = (yaml.load(node.literal) as CodeBlock);
if (DOC) {
const inputFile = DOC['input-file'];
if (typeof inputFile === 'string') {
fileSet.add(inputFile);
} else if (inputFile instanceof Array) {
for (const i of inputFile) {
fileSet.add(i);
}
}
}

Просмотреть файл

@ -6259,49 +6259,46 @@
"$ref": "https://schema.management.azure.com/schemas/2019-11-04-preview/Microsoft.Quantum.json#/resourceDefinitions/workspaces"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/Microsoft.Authorization.json#/resourceDefinitions/locks"
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/Microsoft.Authorization.Resources.json#/resourceDefinitions/locks"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyassignments"
"$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyassignments"
"$ref": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Authorization.Resources.json#/resourceDefinitions/locks"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Authorization.json#/resourceDefinitions/locks"
"$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyExemptions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "#/definitions/resourceGeneric"

Просмотреть файл

@ -1,5 +1,5 @@
{
"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.Resources.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Authorization Resource Types",

Просмотреть файл

@ -6678,49 +6678,46 @@
"$ref": "https://schema.management.azure.com/schemas/2019-11-04-preview/Microsoft.Quantum.json#/resourceDefinitions/workspaces"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/Microsoft.Authorization.json#/resourceDefinitions/locks"
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/Microsoft.Authorization.Resources.json#/resourceDefinitions/locks"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyassignments"
"$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyassignments"
"$ref": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Authorization.Resources.json#/resourceDefinitions/locks"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Authorization.json#/resourceDefinitions/locks"
"$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyExemptions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
}
]
}

Просмотреть файл

@ -1,5 +1,5 @@
{
"id": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.json#",
"id": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.Resources.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Authorization Resource Types",

Просмотреть файл

@ -1,128 +0,0 @@
{
"id": "https://schema.management.azure.com/schemas/2015-11-01/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-11-01"
]
},
"name": {
"type": "string",
"description": "The policy definition name."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PolicyDefinitionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "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-11-01"
]
},
"name": {
"type": "string",
"description": "Policy assignment name."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PolicyAssignmentProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "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": "Gets or sets the policy assignment display name."
},
"policyDefinitionId": {
"type": "string",
"description": "Gets or sets the policy definition Id."
},
"scope": {
"type": "string",
"description": "Gets or sets the policy assignment scope."
}
},
"description": "Policy Assignment properties."
},
"PolicyDefinitionProperties": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "Gets or sets the policy definition description."
},
"displayName": {
"type": "string",
"description": "Gets or sets the policy definition display name."
},
"policyRule": {
"type": "object",
"properties": {},
"description": "The policy rule json."
}
},
"description": "Policy definition properties."
}
}
}

Просмотреть файл

@ -1,5 +1,5 @@
{
"id": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.json#",
"id": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.Resources.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Authorization Resource Types",

Просмотреть файл

@ -1,5 +1,5 @@
{
"id": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Authorization.json#",
"id": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Authorization.Resources.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Authorization Resource Types",

Просмотреть файл

@ -1,5 +1,5 @@
{
"id": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.json#",
"id": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Authorization Resource Types",

Просмотреть файл

@ -1,5 +1,5 @@
{
"id": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.json#",
"id": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Authorization Resource Types",

Просмотреть файл

@ -1,5 +1,5 @@
{
"id": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.json#",
"id": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Authorization Resource Types",

Просмотреть файл

@ -1,5 +1,5 @@
{
"id": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.json#",
"id": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Authorization Resource Types",

Просмотреть файл

@ -69,42 +69,6 @@
{
"$ref": "https://schema.management.azure.com/schemas/2020-01-01/Microsoft.Advisor.json#/subscription_resourceDefinitions/configurations"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/locks"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.json#/subscription_resourceDefinitions/policydefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyassignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policydefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policydefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyassignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/locks"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.json#/subscription_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2017-09-01/Microsoft.Authorization.json#/resourceDefinitions/roleAssignments"
},
@ -112,70 +76,115 @@
"$ref": "https://schema.management.azure.com/schemas/2017-09-01/Microsoft.Authorization.json#/resourceDefinitions/roleDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policyDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policySetDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policyDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policySetDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/locks"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policyDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policydefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policySetDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policydefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policyDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policySetDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/locks"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policyDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policySetDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policyDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policySetDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyExemptions"
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policyDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.json#/subscription_resourceDefinitions/policySetDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.Billing.json#/subscription_resourceDefinitions/billingAccounts_lineOfCredit"

Просмотреть файл

@ -1,5 +1,5 @@
{
"id": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#",
"id": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Authorization Resource Types",

Просмотреть файл

@ -1,5 +1,5 @@
{
"id": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#",
"id": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Authorization Resource Types",

Просмотреть файл

@ -57,27 +57,6 @@
},
{
"oneOf": [
{
"$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyassignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyassignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2017-09-01/Microsoft.Authorization.json#/resourceDefinitions/roleAssignments"
},
@ -85,70 +64,88 @@
"$ref": "https://schema.management.azure.com/schemas/2017-09-01/Microsoft.Authorization.json#/resourceDefinitions/roleDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policyDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policySetDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policyDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policySetDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policyDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policySetDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policyDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policySetDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policyDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policySetDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policyDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policySetDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyExemptions"
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policyDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.json#/managementGroup_resourceDefinitions/policySetDefinitions"
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2017-11-11-preview/Microsoft.Blueprint.json#/managementGroup_resourceDefinitions/blueprints"

Просмотреть файл

@ -1,5 +1,5 @@
{
"id": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#",
"id": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Authorization Resource Types",

Просмотреть файл

@ -1,5 +1,5 @@
{
"id": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.json#",
"id": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Authorization Resource Types",

Просмотреть файл

@ -1,5 +1,5 @@
{
"id": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.json#",
"id": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.Resources.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Authorization Resource Types",

Просмотреть файл

@ -1,5 +1,5 @@
{
"id": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.json#",
"id": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Authorization",
"description": "Microsoft Authorization Resource Types",

Просмотреть файл

@ -1499,49 +1499,46 @@
"$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Attestation.json#/resourceDefinitions/attestationProviders_privateEndpointConnections"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/Microsoft.Authorization.json#/resourceDefinitions/locks"
"$ref": "https://schema.management.azure.com/schemas/2015-01-01/Microsoft.Authorization.Resources.json#/resourceDefinitions/locks"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyassignments"
"$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyassignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyassignments"
"$ref": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Authorization.Resources.json#/resourceDefinitions/locks"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Authorization.json#/resourceDefinitions/locks"
"$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyExemptions"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.json#/unknown_resourceDefinitions/policyAssignments"
"$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-06-30-preview/Microsoft.Automanage.json#/resourceDefinitions/accounts"

Просмотреть файл

@ -2,7 +2,7 @@
"tests": [
{
"name": "locks - basic",
"definition": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Authorization.json#/resourceDefinitions/locks",
"definition": "https://schema.management.azure.com/schemas/2016-09-01/Microsoft.Authorization.Resources.json#/resourceDefinitions/locks",
"json": {
"apiVersion": "2016-09-01",
"name": "validLock",

Просмотреть файл

@ -2,7 +2,7 @@
"tests": [
{
"name": "PolicyAssignment valid test",
"definition": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.json#unknown_resourceDefinitions/policyAssignments",
"definition": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#unknown_resourceDefinitions/policyAssignments",
"json": {
"apiVersion": "2018-03-01",
"sku": {
@ -36,7 +36,7 @@
},
{
"name": "PolicyAssignment invalid test",
"definition": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.json#unknown_resourceDefinitions/policyAssignments",
"definition": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#unknown_resourceDefinitions/policyAssignments",
"json": {
"apiVersion": "2018-03-01",
"sku": {

Просмотреть файл

@ -2,7 +2,7 @@
"tests": [
{
"name": "PolicySetDefinition valid test",
"definition": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policySetDefinitions",
"definition": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policySetDefinitions",
"json": {
"apiVersion": "2018-03-01",
"properties": {
@ -52,7 +52,7 @@
},
{
"name": "PolicySetDefinition invalid test",
"definition": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policySetDefinitions",
"definition": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policySetDefinitions",
"json": {
"apiVersion": "2018-03-01",
"properties": {

Просмотреть файл

@ -2,7 +2,7 @@
"tests": [
{
"name": "PolicyAssignment valid test",
"definition": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.json#unknown_resourceDefinitions/policyAssignments",
"definition": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#unknown_resourceDefinitions/policyAssignments",
"json": {
"apiVersion": "2018-05-01",
"sku": {
@ -41,7 +41,7 @@
},
{
"name": "PolicyAssignment invalid test",
"definition": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.json#unknown_resourceDefinitions/policyAssignments",
"definition": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#unknown_resourceDefinitions/policyAssignments",
"json": {
"apiVersion": "2018-05-01",
"sku": {

Просмотреть файл

@ -2,7 +2,7 @@
"tests": [
{
"name": "PolicySetDefinition valid test",
"definition": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policySetDefinitions",
"definition": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policySetDefinitions",
"json": {
"apiVersion": "2018-05-01",
"properties": {
@ -52,7 +52,7 @@
},
{
"name": "PolicySetDefinition invalid test",
"definition": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policySetDefinitions",
"definition": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policySetDefinitions",
"json": {
"apiVersion": "2018-05-01",
"properties": {

Просмотреть файл

@ -2,7 +2,7 @@
"tests": [
{
"name": "PolicyAssignment valid test",
"definition": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#unknown_resourceDefinitions/policyAssignments",
"definition": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#unknown_resourceDefinitions/policyAssignments",
"json": {
"apiVersion": "2019-01-01",
"sku": {
@ -41,7 +41,7 @@
},
{
"name": "PolicyAssignment invalid test",
"definition": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#unknown_resourceDefinitions/policyAssignments",
"definition": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#unknown_resourceDefinitions/policyAssignments",
"json": {
"apiVersion": "2019-01-01",
"sku": {

Просмотреть файл

@ -2,7 +2,7 @@
"tests": [
{
"name": "PolicyDefinition valid test",
"definition": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policyDefinitions",
"definition": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policyDefinitions",
"json": {
"apiVersion": "2019-01-01",
"properties": {
@ -79,7 +79,7 @@
},
{
"name": "PolicyDefinition invalid test",
"definition": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policyDefinitions",
"definition": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policyDefinitions",
"json": {
"apiVersion": "2019-01-01",
"properties": {

Просмотреть файл

@ -2,7 +2,7 @@
"tests": [
{
"name": "PolicySetDefinition valid test",
"definition": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policySetDefinitions",
"definition": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policySetDefinitions",
"json": {
"apiVersion": "2019-01-01",
"properties": {
@ -52,7 +52,7 @@
},
{
"name": "PolicySetDefinition invalid test",
"definition": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policySetDefinitions",
"definition": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policySetDefinitions",
"json": {
"apiVersion": "2019-01-01",
"properties": {

Просмотреть файл

@ -2,7 +2,7 @@
"tests": [
{
"name": "PolicyAssignment valid test",
"definition": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#unknown_resourceDefinitions/policyAssignments",
"definition": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#unknown_resourceDefinitions/policyAssignments",
"json": {
"apiVersion": "2019-06-01",
"sku": {
@ -41,7 +41,7 @@
},
{
"name": "PolicyAssignment invalid test",
"definition": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#unknown_resourceDefinitions/policyAssignments",
"definition": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#unknown_resourceDefinitions/policyAssignments",
"json": {
"apiVersion": "2019-06-01",
"sku": {

Просмотреть файл

@ -2,7 +2,7 @@
"tests": [
{
"name": "PolicyDefinition valid test",
"definition": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policyDefinitions",
"definition": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policyDefinitions",
"json": {
"apiVersion": "2019-06-01",
"properties": {
@ -79,7 +79,7 @@
},
{
"name": "PolicyDefinition invalid test",
"definition": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policyDefinitions",
"definition": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policyDefinitions",
"json": {
"apiVersion": "2019-06-01",
"properties": {

Просмотреть файл

@ -2,7 +2,7 @@
"tests": [
{
"name": "PolicySetDefinition valid test",
"definition": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policySetDefinitions",
"definition": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policySetDefinitions",
"json": {
"apiVersion": "2019-06-01",
"properties": {
@ -52,7 +52,7 @@
},
{
"name": "PolicySetDefinition invalid test",
"definition": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policySetDefinitions",
"definition": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policySetDefinitions",
"json": {
"apiVersion": "2019-06-01",
"properties": {

Просмотреть файл

@ -2,7 +2,7 @@
"tests": [
{
"name": "PolicyAssignment valid test",
"definition": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#unknown_resourceDefinitions/policyAssignments",
"definition": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#unknown_resourceDefinitions/policyAssignments",
"json": {
"apiVersion": "2019-09-01",
"sku": {
@ -41,7 +41,7 @@
},
{
"name": "PolicyAssignment invalid test",
"definition": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#unknown_resourceDefinitions/policyAssignments",
"definition": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#unknown_resourceDefinitions/policyAssignments",
"json": {
"apiVersion": "2019-09-01",
"sku": {

Просмотреть файл

@ -2,7 +2,7 @@
"tests": [
{
"name": "PolicyDefinition valid test",
"definition": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policyDefinitions",
"definition": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policyDefinitions",
"json": {
"apiVersion": "2019-09-01",
"properties": {
@ -79,7 +79,7 @@
},
{
"name": "PolicyDefinition invalid test",
"definition": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policyDefinitions",
"definition": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policyDefinitions",
"json": {
"apiVersion": "2019-09-01",
"properties": {

Просмотреть файл

@ -2,7 +2,7 @@
"tests": [
{
"name": "PolicySetDefinition valid test",
"definition": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policySetDefinitions",
"definition": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policySetDefinitions",
"json": {
"apiVersion": "2019-09-01",
"properties": {
@ -66,7 +66,7 @@
},
{
"name": "PolicySetDefinition invalid test",
"definition": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policySetDefinitions",
"definition": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policySetDefinitions",
"json": {
"apiVersion": "2019-09-01",
"properties": {
@ -115,7 +115,7 @@
},
{
"name": "PolicySetDefinition invalid groups test",
"definition": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.json#subscription_resourceDefinitions/policySetDefinitions",
"definition": "https://schema.management.azure.com/schemas/2019-09-01/Microsoft.Authorization.Resources.json#subscription_resourceDefinitions/policySetDefinitions",
"json": {
"apiVersion": "2019-09-01",
"properties": {