Skip to content

Commit 53e06b4

Browse files
author
msftbot[bot]
authored
[ReleasePR azureactivedirectory] [Hub Generated] Review request for Microsoft.Aadiam to add version preview/2020-03-01-preview and stable/2020-03-01 (#1888)
Create to sync Azure/azure-rest-api-specs#15861 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...AzureSDKAutomation:sdkAuto/azureactivedirectory?expand=1)
2 parents 7c121e5 + 2ba50ec commit 53e06b4

File tree

2 files changed

+306
-0
lines changed

2 files changed

+306
-0
lines changed
Lines changed: 300 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,300 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Aadiam.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "microsoft.aadiam",
5+
"description": "microsoft aadiam Resource Types",
6+
"resourceDefinitions": {
7+
"privateLinkForAzureAd": {
8+
"type": "object",
9+
"properties": {
10+
"allTenants": {
11+
"oneOf": [
12+
{
13+
"type": "boolean"
14+
},
15+
{
16+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
17+
}
18+
],
19+
"description": "Flag indicating whether all tenants are allowed"
20+
},
21+
"apiVersion": {
22+
"type": "string",
23+
"enum": [
24+
"2020-03-01"
25+
]
26+
},
27+
"name": {
28+
"type": "string",
29+
"description": "The name of the private link policy in Azure AD."
30+
},
31+
"ownerTenantId": {
32+
"type": "string",
33+
"description": "Guid of the owner tenant"
34+
},
35+
"resourceGroup": {
36+
"type": "string",
37+
"description": "Name of the resource group"
38+
},
39+
"resourceName": {
40+
"type": "string",
41+
"description": "Name of the private link policy resource"
42+
},
43+
"resources": {
44+
"type": "array",
45+
"items": {
46+
"oneOf": [
47+
{
48+
"$ref": "#/definitions/privateLinkForAzureAd_privateEndpointConnections_childResource"
49+
}
50+
]
51+
}
52+
},
53+
"subscriptionId": {
54+
"type": "string",
55+
"description": "Subscription Identifier"
56+
},
57+
"tags": {
58+
"oneOf": [
59+
{
60+
"type": "object",
61+
"additionalProperties": {
62+
"type": "string"
63+
},
64+
"properties": {}
65+
},
66+
{
67+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
68+
}
69+
],
70+
"description": "Resource tags."
71+
},
72+
"tenants": {
73+
"oneOf": [
74+
{
75+
"type": "array",
76+
"items": {
77+
"type": "string"
78+
}
79+
},
80+
{
81+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
82+
}
83+
],
84+
"description": "The list of tenantIds."
85+
},
86+
"type": {
87+
"type": "string",
88+
"enum": [
89+
"microsoft.aadiam/privateLinkForAzureAd"
90+
]
91+
}
92+
},
93+
"required": [
94+
"apiVersion",
95+
"name",
96+
"type"
97+
],
98+
"description": "microsoft.aadiam/privateLinkForAzureAd"
99+
},
100+
"privateLinkForAzureAd_privateEndpointConnections": {
101+
"type": "object",
102+
"properties": {
103+
"apiVersion": {
104+
"type": "string",
105+
"enum": [
106+
"2020-03-01"
107+
]
108+
},
109+
"name": {
110+
"type": "string",
111+
"minLength": 1,
112+
"description": "The PrivateEndpointConnection name."
113+
},
114+
"properties": {
115+
"oneOf": [
116+
{
117+
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
118+
},
119+
{
120+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
121+
}
122+
],
123+
"description": "Properties of the private endpoint connection resource."
124+
},
125+
"type": {
126+
"type": "string",
127+
"enum": [
128+
"microsoft.aadiam/privateLinkForAzureAd/privateEndpointConnections"
129+
]
130+
}
131+
},
132+
"required": [
133+
"apiVersion",
134+
"name",
135+
"properties",
136+
"type"
137+
],
138+
"description": "microsoft.aadiam/privateLinkForAzureAd/privateEndpointConnections"
139+
}
140+
},
141+
"definitions": {
142+
"PrivateEndpoint": {
143+
"type": "object",
144+
"properties": {
145+
"id": {
146+
"type": "string",
147+
"description": "Full identifier of the private endpoint resource."
148+
}
149+
},
150+
"description": "Private endpoint object properties."
151+
},
152+
"PrivateEndpointConnectionProperties": {
153+
"type": "object",
154+
"properties": {
155+
"privateEndpoint": {
156+
"oneOf": [
157+
{
158+
"$ref": "#/definitions/PrivateEndpoint"
159+
},
160+
{
161+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
162+
}
163+
],
164+
"description": "Private endpoint object properties."
165+
},
166+
"privateLinkConnectionTags": {
167+
"oneOf": [
168+
{
169+
"$ref": "#/definitions/TagsResource"
170+
},
171+
{
172+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
173+
}
174+
],
175+
"description": "A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkConnection instance."
176+
},
177+
"privateLinkServiceConnectionState": {
178+
"oneOf": [
179+
{
180+
"$ref": "#/definitions/PrivateLinkServiceConnectionState"
181+
},
182+
{
183+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
184+
}
185+
],
186+
"description": "An object that represents the approval state of the private link connection."
187+
},
188+
"provisioningState": {
189+
"oneOf": [
190+
{
191+
"type": "string",
192+
"enum": [
193+
"Succeeded",
194+
"Provisioning",
195+
"Failed"
196+
]
197+
},
198+
{
199+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
200+
}
201+
],
202+
"description": "Provisioning state of the private endpoint connection."
203+
}
204+
},
205+
"description": "Properties of the private endpoint connection resource."
206+
},
207+
"privateLinkForAzureAd_privateEndpointConnections_childResource": {
208+
"type": "object",
209+
"properties": {
210+
"apiVersion": {
211+
"type": "string",
212+
"enum": [
213+
"2020-03-01"
214+
]
215+
},
216+
"name": {
217+
"type": "string",
218+
"minLength": 1,
219+
"description": "The PrivateEndpointConnection name."
220+
},
221+
"properties": {
222+
"oneOf": [
223+
{
224+
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
225+
},
226+
{
227+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
228+
}
229+
],
230+
"description": "Properties of the private endpoint connection resource."
231+
},
232+
"type": {
233+
"type": "string",
234+
"enum": [
235+
"privateEndpointConnections"
236+
]
237+
}
238+
},
239+
"required": [
240+
"apiVersion",
241+
"name",
242+
"properties",
243+
"type"
244+
],
245+
"description": "microsoft.aadiam/privateLinkForAzureAd/privateEndpointConnections"
246+
},
247+
"PrivateLinkServiceConnectionState": {
248+
"type": "object",
249+
"properties": {
250+
"actionsRequired": {
251+
"type": "string",
252+
"description": "A message indicating if changes on the service provider require any updates on the consumer."
253+
},
254+
"description": {
255+
"type": "string",
256+
"description": "The reason for approval or rejection."
257+
},
258+
"status": {
259+
"oneOf": [
260+
{
261+
"type": "string",
262+
"enum": [
263+
"Approved",
264+
"Pending",
265+
"Rejected",
266+
"Disconnected"
267+
]
268+
},
269+
{
270+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
271+
}
272+
],
273+
"description": "Indicates whether the connection has been approved, rejected or removed by the given policy owner."
274+
}
275+
},
276+
"description": "An object that represents the approval state of the private link connection."
277+
},
278+
"TagsResource": {
279+
"type": "object",
280+
"properties": {
281+
"tags": {
282+
"oneOf": [
283+
{
284+
"type": "object",
285+
"additionalProperties": {
286+
"type": "string"
287+
},
288+
"properties": {}
289+
},
290+
{
291+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
292+
}
293+
],
294+
"description": "Resource tags"
295+
}
296+
},
297+
"description": "A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkConnection instance."
298+
}
299+
}
300+
}

schemas/common/autogeneratedResources.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@
3131
{
3232
"$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.AAD.json#/resourceDefinitions/domainServices_ouContainer"
3333
},
34+
{
35+
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Aadiam.json#/resourceDefinitions/privateLinkForAzureAd"
36+
},
37+
{
38+
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Aadiam.json#/resourceDefinitions/privateLinkForAzureAd_privateEndpointConnections"
39+
},
3440
{
3541
"$ref": "https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.Aadiam.json#/resourceDefinitions/privateLinkForAzureAd"
3642
},

0 commit comments

Comments
 (0)