Skip to content

Commit 30ffead

Browse files
authored
Add Identity With Delegations to Common Types (#19830)
* add identity with delegations to common types * fix typo * changing definition order * fix reference path
1 parent 40dae7f commit 30ffead

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "4.0",
5+
"title": "Common types"
6+
},
7+
"paths": {},
8+
"definitions": {
9+
"ManagedServiceIdentityWithDelegation": {
10+
"description": "Managed service identity (system assigned and/or user assigned identities and/or delegated identities) - internal use only.",
11+
"type": "object",
12+
"allOf": [
13+
{
14+
"$ref": "managedidentity.json#/definitions/ManagedServiceIdentity"
15+
}
16+
],
17+
"properties": {
18+
"delegatedResources": {
19+
"$ref": "#/definitions/DelegatedResources"
20+
}
21+
}
22+
},
23+
"DelegatedResources": {
24+
"description": "The set of delegated resources. The delegated resources dictionary keys will be source resource internal ids - internal use only.",
25+
"type": "object",
26+
"additionalProperties": {
27+
"$ref": "#/definitions/DelegatedResource"
28+
}
29+
},
30+
"DelegatedResource": {
31+
"type": "object",
32+
"description": "Delegated resource properties - internal use only.",
33+
"properties": {
34+
"resourceId": {
35+
"description": "The ARM resource id of the delegated resource - internal use only.",
36+
"type": "string"
37+
},
38+
"tenantId": {
39+
"description": "The tenant id of the delegated resource - internal use only.",
40+
"format": "uuid",
41+
"type": "string"
42+
},
43+
"referralResource": {
44+
"description": "The delegation id of the referral delegation (optional) - internal use only.",
45+
"type": "string"
46+
},
47+
"location": {
48+
"description": "The source resource location - internal use only.",
49+
"type": "string"
50+
}
51+
}
52+
}
53+
}
54+
}

0 commit comments

Comments
 (0)