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.
Generated from f9fc2d73ad70827428065857e5ef8ff83e82c019
- Loading branch information
SDK Automation
committed
Sep 18, 2020
1 parent
443fa3a
commit 778a4ef
Showing
34 changed files
with
6,153 additions
and
1,480 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 |
---|---|---|
@@ -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." | ||
} | ||
} | ||
} | ||
} |
148 changes: 148 additions & 0 deletions
148
schemas/2015-10-01-preview/Microsoft.Authorization.json
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,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." | ||
} | ||
} | ||
} |
Oops, something went wrong.