Skip to content

Commit 7355904

Browse files
author
msftbot[bot]
authored
[ReleasePR attestation] One final private link connection fix, hopefully the last (#1323)
Create to sync Azure/azure-rest-api-specs#12307 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/master...AzureSDKAutomation:sdkAuto/attestation?expand=1)
2 parents 8c783c6 + 8de342a commit 7355904

File tree

2 files changed

+173
-2
lines changed

2 files changed

+173
-2
lines changed

schemas/2018-09-01-preview/Microsoft.Attestation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,4 +202,4 @@
202202
}
203203
}
204204
}
205-
}
205+
}

schemas/2020-10-01/Microsoft.Attestation.json

Lines changed: 172 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,16 @@
4040
],
4141
"description": "Client supplied parameters used to create a new attestation provider."
4242
},
43+
"resources": {
44+
"type": "array",
45+
"items": {
46+
"oneOf": [
47+
{
48+
"$ref": "#/definitions/attestationProviders_privateEndpointConnections_childResource"
49+
}
50+
]
51+
}
52+
},
4353
"tags": {
4454
"oneOf": [
4555
{
@@ -70,9 +80,87 @@
7080
"type"
7181
],
7282
"description": "Microsoft.Attestation/attestationProviders"
83+
},
84+
"attestationProviders_privateEndpointConnections": {
85+
"type": "object",
86+
"properties": {
87+
"apiVersion": {
88+
"type": "string",
89+
"enum": [
90+
"2020-10-01"
91+
]
92+
},
93+
"name": {
94+
"type": "string",
95+
"description": "Name of the private endpoint connection associated with the attestation providers."
96+
},
97+
"properties": {
98+
"oneOf": [
99+
{
100+
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
101+
},
102+
{
103+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
104+
}
105+
],
106+
"description": "Properties of the PrivateEndpointConnectProperties."
107+
},
108+
"type": {
109+
"type": "string",
110+
"enum": [
111+
"Microsoft.Attestation/attestationProviders/privateEndpointConnections"
112+
]
113+
}
114+
},
115+
"required": [
116+
"apiVersion",
117+
"name",
118+
"properties",
119+
"type"
120+
],
121+
"description": "Microsoft.Attestation/attestationProviders/privateEndpointConnections"
73122
}
74123
},
75124
"definitions": {
125+
"attestationProviders_privateEndpointConnections_childResource": {
126+
"type": "object",
127+
"properties": {
128+
"apiVersion": {
129+
"type": "string",
130+
"enum": [
131+
"2020-10-01"
132+
]
133+
},
134+
"name": {
135+
"type": "string",
136+
"description": "Name of the private endpoint connection associated with the attestation providers."
137+
},
138+
"properties": {
139+
"oneOf": [
140+
{
141+
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
142+
},
143+
{
144+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
145+
}
146+
],
147+
"description": "Properties of the PrivateEndpointConnectProperties."
148+
},
149+
"type": {
150+
"type": "string",
151+
"enum": [
152+
"privateEndpointConnections"
153+
]
154+
}
155+
},
156+
"required": [
157+
"apiVersion",
158+
"name",
159+
"properties",
160+
"type"
161+
],
162+
"description": "Microsoft.Attestation/attestationProviders/privateEndpointConnections"
163+
},
76164
"AttestationServiceCreationSpecificParamsModel": {
77165
"type": "object",
78166
"properties": {
@@ -196,6 +284,89 @@
196284
"description": "The value of the \"keys\" parameter is an array of JWK values. By\ndefault, the order of the JWK values within the array does not imply\nan order of preference among them, although applications of JWK Sets\ncan choose to assign a meaning to the order for their purposes, if\ndesired."
197285
}
198286
}
287+
},
288+
"PrivateEndpoint": {
289+
"type": "object",
290+
"properties": {},
291+
"description": "The Private Endpoint resource."
292+
},
293+
"PrivateEndpointConnectionProperties": {
294+
"type": "object",
295+
"properties": {
296+
"privateEndpoint": {
297+
"oneOf": [
298+
{
299+
"$ref": "#/definitions/PrivateEndpoint"
300+
},
301+
{
302+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
303+
}
304+
],
305+
"description": "The Private Endpoint resource."
306+
},
307+
"privateLinkServiceConnectionState": {
308+
"oneOf": [
309+
{
310+
"$ref": "#/definitions/PrivateLinkServiceConnectionState"
311+
},
312+
{
313+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
314+
}
315+
],
316+
"description": "A collection of information about the state of the connection between service consumer and provider."
317+
},
318+
"provisioningState": {
319+
"oneOf": [
320+
{
321+
"type": "string",
322+
"enum": [
323+
"Succeeded",
324+
"Creating",
325+
"Deleting",
326+
"Failed"
327+
]
328+
},
329+
{
330+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
331+
}
332+
],
333+
"description": "The provisioning state of the private endpoint connection resource."
334+
}
335+
},
336+
"required": [
337+
"privateLinkServiceConnectionState"
338+
],
339+
"description": "Properties of the PrivateEndpointConnectProperties."
340+
},
341+
"PrivateLinkServiceConnectionState": {
342+
"type": "object",
343+
"properties": {
344+
"actionsRequired": {
345+
"type": "string",
346+
"description": "A message indicating if changes on the service provider require any updates on the consumer."
347+
},
348+
"description": {
349+
"type": "string",
350+
"description": "The reason for approval/rejection of the connection."
351+
},
352+
"status": {
353+
"oneOf": [
354+
{
355+
"type": "string",
356+
"enum": [
357+
"Pending",
358+
"Approved",
359+
"Rejected"
360+
]
361+
},
362+
{
363+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
364+
}
365+
],
366+
"description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service."
367+
}
368+
},
369+
"description": "A collection of information about the state of the connection between service consumer and provider."
199370
}
200371
}
201-
}
372+
}

0 commit comments

Comments
 (0)