-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 22354 in Azure/azure-rest-api-specs
[Hub Generated] Publish private branch 'dev-msi-Microsoft.ManagedIdentity-2018-11-30' (#22354) * [MSI] Base stable api-version commit: '2023-01-31' is based on '2018-11-30' * [MSI] 2023-01-31 stable version * [MSI] 2023-01-31 stable version - Specification is updated based on PR comments * Update ManagedIdentity.json Comments are addressed * Update ManagedIdentity.json Comments are addressed --------- Co-authored-by: Igor Solenov <igorsolenov@microdoft.com>
- Loading branch information
SDKAuto
and
Igor Solenov
committed
Feb 1, 2023
1 parent
8c0a811
commit 0d657cc
Showing
2 changed files
with
201 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,195 @@ | ||
{ | ||
"id": "https://schema.management.azure.com/schemas/2023-01-31/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": [ | ||
"2023-01-31" | ||
] | ||
}, | ||
"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": [ | ||
"2023-01-31" | ||
] | ||
}, | ||
"name": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{2,119}$" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"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": [ | ||
"2023-01-31" | ||
] | ||
}, | ||
"name": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9-_]{2,119}$" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"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" | ||
} | ||
} | ||
} |
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