Skip to content

Commit 09d826c

Browse files
jianyexijianyexi
andauthored
add v2 priavatelinks (#14026)
* copied from v1/privatelinks.json * bump version Co-authored-by: jianyexi <[email protected]>
1 parent 6acf748 commit 09d826c

File tree

1 file changed

+174
-0
lines changed

1 file changed

+174
-0
lines changed
Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2.0",
5+
"title": "Common types"
6+
},
7+
"paths": {},
8+
"definitions": {
9+
"PrivateEndpoint": {
10+
"properties": {
11+
"id": {
12+
"readOnly": true,
13+
"type": "string",
14+
"description": "The ARM identifier for Private Endpoint"
15+
}
16+
},
17+
"description": "The Private Endpoint resource."
18+
},
19+
"PrivateEndpointConnection": {
20+
"properties": {
21+
"properties": {
22+
"$ref": "#/definitions/PrivateEndpointConnectionProperties",
23+
"x-ms-client-flatten": true,
24+
"description": "Resource properties."
25+
}
26+
},
27+
"allOf": [
28+
{
29+
"$ref": "./types.json#/definitions/Resource"
30+
}
31+
],
32+
"description": "The Private Endpoint Connection resource."
33+
},
34+
"PrivateEndpointConnectionProperties": {
35+
"properties": {
36+
"privateEndpoint": {
37+
"$ref": "#/definitions/PrivateEndpoint",
38+
"description": "The resource of private end point."
39+
},
40+
"privateLinkServiceConnectionState": {
41+
"$ref": "#/definitions/PrivateLinkServiceConnectionState",
42+
"description": "A collection of information about the state of the connection between service consumer and provider."
43+
},
44+
"provisioningState": {
45+
"$ref": "#/definitions/PrivateEndpointConnectionProvisioningState",
46+
"description": "The provisioning state of the private endpoint connection resource."
47+
}
48+
},
49+
"required": [
50+
"privateLinkServiceConnectionState"
51+
],
52+
"description": "Properties of the PrivateEndpointConnectProperties."
53+
},
54+
"PrivateLinkServiceConnectionState": {
55+
"properties": {
56+
"status": {
57+
"$ref": "#/definitions/PrivateEndpointServiceConnectionStatus",
58+
"description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service."
59+
},
60+
"description": {
61+
"type": "string",
62+
"description": "The reason for approval/rejection of the connection."
63+
},
64+
"actionsRequired": {
65+
"type": "string",
66+
"description": "A message indicating if changes on the service provider require any updates on the consumer."
67+
}
68+
},
69+
"description": "A collection of information about the state of the connection between service consumer and provider."
70+
},
71+
"PrivateEndpointServiceConnectionStatus": {
72+
"type": "string",
73+
"description": "The private endpoint connection status.",
74+
"enum": [
75+
"Pending",
76+
"Approved",
77+
"Rejected"
78+
],
79+
"x-ms-enum": {
80+
"name": "PrivateEndpointServiceConnectionStatus",
81+
"modelAsString": true
82+
}
83+
},
84+
"PrivateEndpointConnectionProvisioningState": {
85+
"type": "string",
86+
"readOnly": true,
87+
"description": "The current provisioning state.",
88+
"enum": [
89+
"Succeeded",
90+
"Creating",
91+
"Deleting",
92+
"Failed"
93+
],
94+
"x-ms-enum": {
95+
"name": "PrivateEndpointConnectionProvisioningState",
96+
"modelAsString": true
97+
}
98+
},
99+
"PrivateLinkResource": {
100+
"properties": {
101+
"properties": {
102+
"$ref": "#/definitions/PrivateLinkResourceProperties",
103+
"description": "Resource properties.",
104+
"x-ms-client-flatten": true
105+
}
106+
},
107+
"allOf": [
108+
{
109+
"$ref": "./types.json#/definitions/Resource"
110+
}
111+
],
112+
"description": "A private link resource"
113+
},
114+
"PrivateLinkResourceProperties": {
115+
"properties": {
116+
"groupId": {
117+
"description": "The private link resource group id.",
118+
"type": "string",
119+
"readOnly": true
120+
},
121+
"requiredMembers": {
122+
"description": "The private link resource required member names.",
123+
"type": "array",
124+
"items": {
125+
"type": "string"
126+
},
127+
"readOnly": true
128+
},
129+
"requiredZoneNames": {
130+
"type": "array",
131+
"items": {
132+
"type": "string"
133+
},
134+
"description": "The private link resource Private link DNS zone name."
135+
}
136+
},
137+
"description": "Properties of a private link resource."
138+
},
139+
"PrivateEndpointConnectionListResult": {
140+
"properties": {
141+
"value": {
142+
"type": "array",
143+
"description": "Array of private endpoint connections",
144+
"items": {
145+
"$ref": "#/definitions/PrivateEndpointConnection"
146+
}
147+
}
148+
},
149+
"description": "List of private endpoint connection associated with the specified storage account"
150+
},
151+
"PrivateLinkResourceListResult": {
152+
"properties": {
153+
"value": {
154+
"type": "array",
155+
"description": "Array of private link resources",
156+
"items": {
157+
"$ref": "#/definitions/PrivateLinkResource"
158+
}
159+
}
160+
},
161+
"description": "A list of private link resources"
162+
}
163+
},
164+
"parameters": {
165+
"PrivateEndpointConnectionName": {
166+
"name": "privateEndpointConnectionName",
167+
"in": "path",
168+
"required": true,
169+
"type": "string",
170+
"description": "The name of the private endpoint connection associated with the Azure resource",
171+
"x-ms-parameter-location": "method"
172+
}
173+
}
174+
}

0 commit comments

Comments
 (0)