Skip to content

Commit

Permalink
Generated from 68867f2be44e59be4faad389015591bac4294447
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Oct 7, 2020
1 parent 54b5ec6 commit e3a05ca
Show file tree
Hide file tree
Showing 23 changed files with 6,399 additions and 736 deletions.
163 changes: 125 additions & 38 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."
}
}
}
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

0 comments on commit e3a05ca

Please sign in to comment.