Skip to content

Commit 8c6fffe

Browse files
author
SDKAuto
committed
CodeGen from PR 24738 in Azure/azure-rest-api-specs
Merge d1d6e0b2c6701892cdd9143c33df79ef9a59ae44 into 5758cc23b0022e403d876662d9799f02c9bba3e6
1 parent 6b21631 commit 8c6fffe

File tree

2 files changed

+143
-0
lines changed

2 files changed

+143
-0
lines changed
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2023-06-30/Microsoft.DBforMySQL.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.DBforMySQL",
5+
"description": "Microsoft DBforMySQL Resource Types",
6+
"resourceDefinitions": {
7+
"flexibleServers_privateEndpointConnections": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2023-06-30"
14+
]
15+
},
16+
"name": {
17+
"oneOf": [
18+
{
19+
"type": "string",
20+
"pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*"
21+
},
22+
{
23+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
24+
}
25+
],
26+
"description": "The name of the private endpoint connection."
27+
},
28+
"properties": {
29+
"oneOf": [
30+
{
31+
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
32+
},
33+
{
34+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
35+
}
36+
],
37+
"description": "Properties of the private endpoint connection."
38+
},
39+
"type": {
40+
"type": "string",
41+
"enum": [
42+
"Microsoft.DBforMySQL/flexibleServers/privateEndpointConnections"
43+
]
44+
}
45+
},
46+
"required": [
47+
"apiVersion",
48+
"name",
49+
"properties",
50+
"type"
51+
],
52+
"description": "Microsoft.DBforMySQL/flexibleServers/privateEndpointConnections"
53+
}
54+
},
55+
"definitions": {
56+
"PrivateEndpoint": {
57+
"type": "object",
58+
"properties": {},
59+
"description": "The private endpoint resource."
60+
},
61+
"PrivateEndpointConnectionProperties": {
62+
"type": "object",
63+
"properties": {
64+
"privateEndpoint": {
65+
"oneOf": [
66+
{
67+
"$ref": "#/definitions/PrivateEndpoint"
68+
},
69+
{
70+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
71+
}
72+
],
73+
"description": "The private endpoint resource."
74+
},
75+
"privateLinkServiceConnectionState": {
76+
"oneOf": [
77+
{
78+
"$ref": "#/definitions/PrivateLinkServiceConnectionState"
79+
},
80+
{
81+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
82+
}
83+
],
84+
"description": "A collection of information about the state of the connection between service consumer and provider."
85+
},
86+
"provisioningState": {
87+
"oneOf": [
88+
{
89+
"type": "string",
90+
"enum": [
91+
"Succeeded",
92+
"Creating",
93+
"Deleting",
94+
"Failed"
95+
]
96+
},
97+
{
98+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
99+
}
100+
],
101+
"description": "The provisioning state of the private endpoint connection resource."
102+
}
103+
},
104+
"required": [
105+
"privateLinkServiceConnectionState"
106+
],
107+
"description": "Properties of the private endpoint connection."
108+
},
109+
"PrivateLinkServiceConnectionState": {
110+
"type": "object",
111+
"properties": {
112+
"actionsRequired": {
113+
"type": "string",
114+
"description": "A message indicating if changes on the service provider require any updates on the consumer."
115+
},
116+
"description": {
117+
"type": "string",
118+
"description": "The reason for approval/rejection of the connection."
119+
},
120+
"status": {
121+
"oneOf": [
122+
{
123+
"type": "string",
124+
"enum": [
125+
"Pending",
126+
"Approved",
127+
"Rejected"
128+
]
129+
},
130+
{
131+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
132+
}
133+
],
134+
"description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service."
135+
}
136+
},
137+
"description": "A collection of information about the state of the connection between service consumer and provider."
138+
}
139+
}
140+
}

schemas/common/autogeneratedResources.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9793,6 +9793,9 @@
97939793
{
97949794
"$ref": "https://schema.management.azure.com/schemas/2022-09-30-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_privateEndpointConnections"
97959795
},
9796+
{
9797+
"$ref": "https://schema.management.azure.com/schemas/2023-06-30/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_privateEndpointConnections"
9798+
},
97969799
{
97979800
"$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers"
97989801
},

0 commit comments

Comments
 (0)