Skip to content

Commit

Permalink
Generated from 8277f20ca4f2779b5a35a0d64ac9d6af2df757fc
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Oct 31, 2020
1 parent 8b42aae commit 0f3f21c
Show file tree
Hide file tree
Showing 5 changed files with 848 additions and 90 deletions.
110 changes: 65 additions & 45 deletions schemas/2018-06-01-preview/Microsoft.ManagedServices.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,21 @@
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.ManagedServices",
"description": "Microsoft ManagedServices Resource Types",
"resourceDefinitions": {
"resourceDefinitions": {},
"unknown_resourceDefinitions": {
"registrationAssignments": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Guid of the registration assignment."
},
"type": {
"type": "string",
"enum": [
"Microsoft.ManagedServices/registrationAssignments"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2018-06-01-preview"
]
},
"name": {
"type": "string",
"description": "Guid of the registration assignment."
},
"properties": {
"oneOf": [
{
Expand All @@ -33,63 +28,69 @@
}
],
"description": "Properties of a registration assignment."
},
"type": {
"type": "string",
"enum": [
"Microsoft.ManagedServices/registrationAssignments"
]
}
},
"required": [
"name",
"type",
"apiVersion",
"properties"
"name",
"properties",
"type"
],
"description": "Microsoft.ManagedServices/registrationAssignments"
},
"registrationDefinitions": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Guid of the registration definition."
},
"type": {
"type": "string",
"enum": [
"Microsoft.ManagedServices/registrationDefinitions"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2018-06-01-preview"
]
},
"properties": {
"name": {
"type": "string",
"description": "Guid of the registration definition."
},
"plan": {
"oneOf": [
{
"$ref": "#/definitions/RegistrationDefinitionProperties"
"$ref": "#/definitions/Plan"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Properties of a registration definition."
"description": "Plan details for the managed services."
},
"plan": {
"properties": {
"oneOf": [
{
"$ref": "#/definitions/Plan"
"$ref": "#/definitions/RegistrationDefinitionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Plan details for the managed services."
"description": "Properties of a registration definition."
},
"type": {
"type": "string",
"enum": [
"Microsoft.ManagedServices/registrationDefinitions"
]
}
},
"required": [
"name",
"type",
"apiVersion",
"properties"
"name",
"properties",
"type"
],
"description": "Microsoft.ManagedServices/registrationDefinitions"
}
Expand All @@ -98,10 +99,29 @@
"Authorization": {
"type": "object",
"properties": {
"delegatedRoleDefinitionIds": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The delegatedRoleDefinitionIds field is required when the roleDefinitionId refers to the User Access Administrator Role. It is the list of role definition ids which define all the permissions that the user in the authorization can assign to other security groups/service principals/users."
},
"principalId": {
"type": "string",
"description": "Principal Id of the security group/service principal/user that would be assigned permissions to the projected subscription"
},
"principalIdDisplayName": {
"type": "string",
"description": "Display name of the principal Id."
},
"roleDefinitionId": {
"type": "string",
"description": "The role definition identifier. This role will define all the permissions that the security group/service principal/user must have on the projected subscription. This role cannot be an owner role."
Expand All @@ -120,23 +140,23 @@
"type": "string",
"description": "The plan name."
},
"publisher": {
"type": "string",
"description": "The publisher ID."
},
"product": {
"type": "string",
"description": "The product code."
},
"publisher": {
"type": "string",
"description": "The publisher ID."
},
"version": {
"type": "string",
"description": "The plan's version."
}
},
"required": [
"name",
"publisher",
"product",
"publisher",
"version"
],
"description": "Plan details for the managed services."
Expand All @@ -157,10 +177,6 @@
"RegistrationDefinitionProperties": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "Description of the registration definition."
},
"authorizations": {
"oneOf": [
{
Expand All @@ -175,13 +191,17 @@
],
"description": "Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role."
},
"registrationDefinitionName": {
"description": {
"type": "string",
"description": "Name of the registration definition."
"description": "Description of the registration definition."
},
"managedByTenantId": {
"type": "string",
"description": "Id of the managedBy tenant."
},
"registrationDefinitionName": {
"type": "string",
"description": "Name of the registration definition."
}
},
"required": [
Expand All @@ -191,4 +211,4 @@
"description": "Properties of a registration definition."
}
}
}
}
Loading

0 comments on commit 0f3f21c

Please sign in to comment.