Skip to content

Commit ad6484f

Browse files
[HDInsight]Add New API Version 2023-08-15-Preview (#25135)
Co-authored-by: Xin Li <[email protected]>
1 parent c942bdc commit ad6484f

File tree

82 files changed

+11328
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+11328
-1
lines changed

specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/applications.json

Lines changed: 543 additions & 0 deletions
Large diffs are not rendered by default.

specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-08-15-preview/cluster.json

Lines changed: 2268 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,250 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"title": "HDInsightManagementClient",
5+
"description": "The HDInsight Management Client.",
6+
"version": "2023-08-15-preview"
7+
},
8+
"host": "management.azure.com",
9+
"schemes": [
10+
"https"
11+
],
12+
"consumes": [
13+
"application/json"
14+
],
15+
"produces": [
16+
"application/json"
17+
],
18+
"security": [
19+
{
20+
"azure_auth": [
21+
"user_impersonation"
22+
]
23+
}
24+
],
25+
"securityDefinitions": {
26+
"azure_auth": {
27+
"type": "oauth2",
28+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
29+
"flow": "implicit",
30+
"description": "Azure Active Directory OAuth2 Flow",
31+
"scopes": {
32+
"user_impersonation": "impersonate your user account"
33+
}
34+
}
35+
},
36+
"paths": {
37+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations": {
38+
"post": {
39+
"tags": [
40+
"Configurations"
41+
],
42+
"operationId": "Configurations_List",
43+
"description": "Gets all configuration information for an HDI cluster.",
44+
"x-ms-examples": {
45+
"Get all configuration information": {
46+
"$ref": "./examples/HDI_Configurations_List.json"
47+
}
48+
},
49+
"parameters": [
50+
{
51+
"$ref": "#/parameters/SubscriptionIdParameter"
52+
},
53+
{
54+
"$ref": "#/parameters/ResourceGroupNameParameter"
55+
},
56+
{
57+
"$ref": "#/parameters/ClusterNameParameter"
58+
},
59+
{
60+
"$ref": "#/parameters/ApiVersionParameter"
61+
}
62+
],
63+
"responses": {
64+
"default": {
65+
"description": "Error response describing why the operation failed.",
66+
"schema": {
67+
"$ref": "./operations.json#/definitions/ErrorResponse"
68+
}
69+
},
70+
"200": {
71+
"description": "OK response definition.",
72+
"schema": {
73+
"$ref": "#/definitions/ClusterConfigurations"
74+
}
75+
}
76+
}
77+
}
78+
},
79+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/configurations/{configurationName}": {
80+
"post": {
81+
"tags": [
82+
"Configurations"
83+
],
84+
"operationId": "Configurations_Update",
85+
"description": "Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.",
86+
"deprecated": true,
87+
"x-ms-examples": {
88+
"Enable HTTP connectivity": {
89+
"$ref": "./examples/ChangeHttpConnectivityEnable.json"
90+
},
91+
"Disable HTTP connectivity": {
92+
"$ref": "./examples/ChangeHttpConnectivityDisable.json"
93+
}
94+
},
95+
"parameters": [
96+
{
97+
"$ref": "#/parameters/SubscriptionIdParameter"
98+
},
99+
{
100+
"$ref": "#/parameters/ResourceGroupNameParameter"
101+
},
102+
{
103+
"$ref": "#/parameters/ClusterNameParameter"
104+
},
105+
{
106+
"$ref": "#/parameters/ConfigurationNameParameter"
107+
},
108+
{
109+
"$ref": "#/parameters/ApiVersionParameter"
110+
},
111+
{
112+
"name": "parameters",
113+
"in": "body",
114+
"required": true,
115+
"schema": {
116+
"$ref": "#/definitions/ClusterConfiguration"
117+
},
118+
"description": "The cluster configurations."
119+
}
120+
],
121+
"responses": {
122+
"default": {
123+
"description": "Error response describing why the operation failed.",
124+
"schema": {
125+
"$ref": "./operations.json#/definitions/ErrorResponse"
126+
}
127+
},
128+
"200": {
129+
"description": "Ok response definition"
130+
},
131+
"202": {
132+
"description": "Accepted response definition"
133+
},
134+
"204": {
135+
"description": "No content response definition"
136+
}
137+
},
138+
"x-ms-long-running-operation": true,
139+
"x-ms-long-running-operation-options": {
140+
"final-state-via": "location"
141+
}
142+
},
143+
"get": {
144+
"tags": [
145+
"Configurations"
146+
],
147+
"operationId": "Configurations_Get",
148+
"description": "The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead.",
149+
"x-ms-examples": {
150+
"Get Core site settings": {
151+
"$ref": "./examples/HDI_Configurations_Get.json"
152+
}
153+
},
154+
"parameters": [
155+
{
156+
"$ref": "#/parameters/SubscriptionIdParameter"
157+
},
158+
{
159+
"$ref": "#/parameters/ResourceGroupNameParameter"
160+
},
161+
{
162+
"$ref": "#/parameters/ClusterNameParameter"
163+
},
164+
{
165+
"$ref": "#/parameters/ConfigurationNameParameter"
166+
},
167+
{
168+
"$ref": "#/parameters/ApiVersionParameter"
169+
}
170+
],
171+
"responses": {
172+
"default": {
173+
"description": "Error response describing why the operation failed.",
174+
"schema": {
175+
"$ref": "./operations.json#/definitions/ErrorResponse"
176+
}
177+
},
178+
"200": {
179+
"description": "OK response definition.",
180+
"schema": {
181+
"$ref": "#/definitions/ClusterConfiguration"
182+
}
183+
}
184+
}
185+
}
186+
}
187+
},
188+
"definitions": {
189+
"ClusterConfiguration": {
190+
"type": "object",
191+
"additionalProperties": {
192+
"type": "string"
193+
},
194+
"description": "The configuration object for the specified configuration for the specified cluster."
195+
},
196+
"ClusterConfigurations": {
197+
"type": "object",
198+
"properties": {
199+
"configurations": {
200+
"description": "The configuration object for the specified configuration for the specified cluster.",
201+
"type": "object",
202+
"additionalProperties": {
203+
"$ref": "#/definitions/ClusterConfiguration"
204+
}
205+
}
206+
},
207+
"description": "The configuration object for the specified cluster."
208+
}
209+
},
210+
"parameters": {
211+
"SubscriptionIdParameter": {
212+
"name": "subscriptionId",
213+
"in": "path",
214+
"required": true,
215+
"type": "string",
216+
"description": "The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
217+
},
218+
"ResourceGroupNameParameter": {
219+
"name": "resourceGroupName",
220+
"in": "path",
221+
"required": true,
222+
"type": "string",
223+
"description": "The name of the resource group.",
224+
"x-ms-parameter-location": "method"
225+
},
226+
"ClusterNameParameter": {
227+
"name": "clusterName",
228+
"in": "path",
229+
"required": true,
230+
"type": "string",
231+
"description": "The name of the cluster.",
232+
"x-ms-parameter-location": "method"
233+
},
234+
"ConfigurationNameParameter": {
235+
"name": "configurationName",
236+
"in": "path",
237+
"required": true,
238+
"type": "string",
239+
"description": "The name of the cluster configuration.",
240+
"x-ms-parameter-location": "method"
241+
},
242+
"ApiVersionParameter": {
243+
"name": "api-version",
244+
"in": "query",
245+
"required": true,
246+
"type": "string",
247+
"description": "The HDInsight client API Version."
248+
}
249+
}
250+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"parameters": {
3+
"privateEndpointConnectionName": "testprivateep.b3bf5fed-9b12-4560-b7d0-2abe1bba07e2",
4+
"clusterName": "cluster1",
5+
"resourceGroupName": "rg1",
6+
"api-version": "2023-08-15-preview",
7+
"subscriptionId": "subid",
8+
"parameters": {
9+
"properties": {
10+
"privateLinkServiceConnectionState": {
11+
"status": "Approved",
12+
"description": "update it from pending to approved.",
13+
"actionsRequired": "None"
14+
}
15+
}
16+
}
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/privateEndpointConnections/testprivateep.b3bf5fed-9b12-4560-b7d0-2abe1bba07e2",
22+
"name": "testprivateep.b3bf5fed-9b12-4560-b7d0-2abe1bba07e2",
23+
"type": "Microsoft.HDInsight/clusters/privateEndpointConnections",
24+
"properties": {
25+
"privateEndpoint": {
26+
"id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/testprivateep"
27+
},
28+
"privateLinkServiceConnectionState": {
29+
"status": "Approved",
30+
"description": "update it from pending to approved.",
31+
"actionsRequired": "None"
32+
},
33+
"linkIdentifier": "620815036",
34+
"provisioningState": "Succeeded"
35+
}
36+
}
37+
},
38+
"201": {
39+
"body": {
40+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/privateEndpointConnections/testprivateep.b3bf5fed-9b12-4560-b7d0-2abe1bba07e2",
41+
"name": "testprivateep.b3bf5fed-9b12-4560-b7d0-2abe1bba07e2",
42+
"type": "Microsoft.HDInsight/clusters/privateEndpointConnections",
43+
"properties": {
44+
"privateEndpoint": {
45+
"id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/testprivateep"
46+
},
47+
"privateLinkServiceConnectionState": {
48+
"status": "Approved",
49+
"description": "update it from pending to approved.",
50+
"actionsRequired": "None"
51+
},
52+
"linkIdentifier": "620815036",
53+
"provisioningState": "Succeeded"
54+
}
55+
}
56+
}
57+
}
58+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"clusterName": "cluster1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2023-08-15-preview",
6+
"subscriptionId": "subid",
7+
"configurationName": "gateway",
8+
"parameters": {
9+
"restAuthCredential.isEnabled": "false"
10+
}
11+
},
12+
"responses": {
13+
"202": {
14+
"headers": {
15+
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2023-08-15-preview"
16+
}
17+
},
18+
"200": {},
19+
"204": {}
20+
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"clusterName": "cluster1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2023-08-15-preview",
6+
"subscriptionId": "subid",
7+
"configurationName": "gateway",
8+
"parameters": {
9+
"restAuthCredential.isEnabled": "true",
10+
"restAuthCredential.username": "hadoop",
11+
"restAuthCredential.password": "**********"
12+
}
13+
},
14+
"responses": {
15+
"202": {
16+
"headers": {
17+
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/operationresults/operationid?api-version=2023-08-15-preview"
18+
}
19+
},
20+
"200": {},
21+
"204": {}
22+
}
23+
}

0 commit comments

Comments
 (0)