Skip to content

Commit

Permalink
Merge pull request #2 from serhangursoy-microsoft/autogenerate-47df2e7
Browse files Browse the repository at this point in the history
Update Generated Types (single path: msi)
  • Loading branch information
serhangursoy-microsoft authored Jun 29, 2022
2 parents 47df2e7 + 248471b commit b120509
Show file tree
Hide file tree
Showing 5 changed files with 290 additions and 36 deletions.
38 changes: 20 additions & 18 deletions schemas/2015-08-31-preview/Microsoft.ManagedIdentity.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@
"userAssignedIdentities": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the identity resource."
},
"type": {
"type": "string",
"enum": [
"Microsoft.ManagedIdentity/userAssignedIdentities"
]
},
"apiVersion": {
"type": "string",
"enum": [
Expand All @@ -25,30 +15,42 @@
},
"location": {
"type": "string",
"description": "The Azure region where the identity lives."
"description": "The geo-location where the resource lives"
},
"name": {
"type": "string",
"description": "The name of the identity resource."
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resource tags"
"description": "Resource tags."
},
"type": {
"type": "string",
"enum": [
"Microsoft.ManagedIdentity/userAssignedIdentities"
]
}
},
"required": [
"name",
"type",
"apiVersion",
"location"
"location",
"name",
"type"
],
"description": "Microsoft.ManagedIdentity/userAssignedIdentities"
}
}
}
},
"definitions": {}
}
38 changes: 20 additions & 18 deletions schemas/2018-11-30/Microsoft.ManagedIdentity.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@
"userAssignedIdentities": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the identity resource."
},
"type": {
"type": "string",
"enum": [
"Microsoft.ManagedIdentity/userAssignedIdentities"
]
},
"apiVersion": {
"type": "string",
"enum": [
Expand All @@ -25,30 +15,42 @@
},
"location": {
"type": "string",
"description": "The Azure region where the identity lives."
"description": "The geo-location where the resource lives"
},
"name": {
"type": "string",
"description": "The name of the identity resource."
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resource tags"
"description": "Resource tags."
},
"type": {
"type": "string",
"enum": [
"Microsoft.ManagedIdentity/userAssignedIdentities"
]
}
},
"required": [
"name",
"type",
"apiVersion",
"location"
"location",
"name",
"type"
],
"description": "Microsoft.ManagedIdentity/userAssignedIdentities"
}
}
}
},
"definitions": {}
}
56 changes: 56 additions & 0 deletions schemas/2021-09-30-preview/Microsoft.ManagedIdentity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"id": "https://schema.management.azure.com/schemas/2021-09-30-preview/Microsoft.ManagedIdentity.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.ManagedIdentity",
"description": "Microsoft ManagedIdentity Resource Types",
"resourceDefinitions": {
"userAssignedIdentities": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-09-30-preview"
]
},
"location": {
"type": "string",
"description": "The geo-location where the resource lives"
},
"name": {
"type": "string",
"description": "The name of the identity resource."
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resource tags."
},
"type": {
"type": "string",
"enum": [
"Microsoft.ManagedIdentity/userAssignedIdentities"
]
}
},
"required": [
"apiVersion",
"location",
"name",
"type"
],
"description": "Microsoft.ManagedIdentity/userAssignedIdentities"
}
},
"definitions": {}
}
179 changes: 179 additions & 0 deletions schemas/2022-01-31-preview/Microsoft.ManagedIdentity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
{
"id": "https://schema.management.azure.com/schemas/2022-01-31-preview/Microsoft.ManagedIdentity.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.ManagedIdentity",
"description": "Microsoft ManagedIdentity Resource Types",
"resourceDefinitions": {
"userAssignedIdentities": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2022-01-31-preview"
]
},
"location": {
"type": "string",
"description": "The geo-location where the resource lives"
},
"name": {
"type": "string",
"description": "The name of the identity resource."
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/userAssignedIdentities_federatedIdentityCredentials_childResource"
}
]
}
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resource tags."
},
"type": {
"type": "string",
"enum": [
"Microsoft.ManagedIdentity/userAssignedIdentities"
]
}
},
"required": [
"apiVersion",
"location",
"name",
"type"
],
"description": "Microsoft.ManagedIdentity/userAssignedIdentities"
},
"userAssignedIdentities_federatedIdentityCredentials": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2022-01-31-preview"
]
},
"name": {
"type": "string",
"description": "The name of the federated identity credential resource."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/FederatedIdentityCredentialProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The properties associated with a federated identity credential."
},
"type": {
"type": "string",
"enum": [
"Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials"
}
},
"definitions": {
"FederatedIdentityCredentialProperties": {
"type": "object",
"properties": {
"audiences": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The list of audiences that can appear in the issued token."
},
"issuer": {
"type": "string",
"format": "uri",
"description": "The URL of the issuer to be trusted."
},
"subject": {
"type": "string",
"description": "The identifier of the external identity."
}
},
"required": [
"audiences",
"issuer",
"subject"
],
"description": "The properties associated with a federated identity credential."
},
"userAssignedIdentities_federatedIdentityCredentials_childResource": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2022-01-31-preview"
]
},
"name": {
"type": "string",
"description": "The name of the federated identity credential resource."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/FederatedIdentityCredentialProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The properties associated with a federated identity credential."
},
"type": {
"type": "string",
"enum": [
"federatedIdentityCredentials"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials"
}
}
}
Loading

0 comments on commit b120509

Please sign in to comment.