Skip to content

Commit e4c8ef9

Browse files
author
Zhenyu Zhou
committed
Add display.description and properties of operation.
Fix DeletionOperationResponse linting error Add privateIPAddress in ConnectivityEndpoints and ApplicationGetEndpoints
1 parent 891652d commit e4c8ef9

File tree

5 files changed

+159
-0
lines changed

5 files changed

+159
-0
lines changed

specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,9 @@
219219
},
220220
"202": {
221221
"description": "Accepted response definition."
222+
},
223+
"204": {
224+
"description": "No Content response definition."
222225
}
223226
},
224227
"x-ms-long-running-operation": true
@@ -278,6 +281,10 @@
278281
"type": "integer",
279282
"format": "int32",
280283
"description": "The public port to connect to."
284+
},
285+
"privateIPAddress": {
286+
"type": "string",
287+
"description": "The private ip address of the endpoint."
281288
}
282289
}
283290
},

specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@
204204
},
205205
"200": {
206206
"description": "Ok response definition."
207+
},
208+
"204": {
209+
"description": "No Content response definition."
207210
}
208211
},
209212
"x-ms-long-running-operation": true
@@ -1229,6 +1232,10 @@
12291232
"type": "integer",
12301233
"format": "int32",
12311234
"description": "The port to connect to."
1235+
},
1236+
"privateIPAddress": {
1237+
"type": "string",
1238+
"description": "The private ip address of the endpoint."
12321239
}
12331240
}
12341241
},

specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/extensions.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@
162162
},
163163
"202": {
164164
"description": "OK response definition."
165+
},
166+
"204": {
167+
"description": "No Content response definition."
165168
}
166169
},
167170
"x-ms-long-running-operation": true
@@ -304,6 +307,9 @@
304307
},
305308
"202": {
306309
"description": "Accepted response definition."
310+
},
311+
"204": {
312+
"description": "No Content response definition."
307313
}
308314
},
309315
"x-ms-long-running-operation": true

specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/operations.json

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,148 @@
8989
"operation": {
9090
"description": "The operation type: read, write, delete, etc.",
9191
"type": "string"
92+
},
93+
"description": {
94+
"description": "Localized friendly description for the operation",
95+
"type": "string"
9296
}
9397
}
98+
},
99+
"properties": {
100+
"description": "The operation properties.",
101+
"$ref": "#/definitions/OperationProperties"
94102
}
95103
},
96104
"readOnly": true
97105
},
106+
"OperationProperties": {
107+
"description": "The details of operation.",
108+
"type": "object",
109+
"properties": {
110+
"serviceSpecification": {
111+
"description": "The specification of the service.",
112+
"$ref": "#/definitions/ServiceSpecification"
113+
}
114+
}
115+
},
116+
"ServiceSpecification": {
117+
"description": "The specification of the service.",
118+
"type": "object",
119+
"properties": {
120+
"metricSpecifications": {
121+
"description": "The metric specifications.",
122+
"type": "array",
123+
"items": {
124+
"$ref": "#/definitions/MetricSpecifications"
125+
}
126+
}
127+
}
128+
},
129+
"MetricSpecifications": {
130+
"description": "The details of metric specifications.",
131+
"type": "object",
132+
"properties": {
133+
"name": {
134+
"description": "The name of the metric specification.",
135+
"type": "string"
136+
},
137+
"displayName": {
138+
"description": "The display name of the metric specification.",
139+
"type": "string"
140+
},
141+
"displayDescription": {
142+
"description": "The display description of the metric specification.",
143+
"type": "string"
144+
},
145+
"unit": {
146+
"description": "The unit of the metric specification.",
147+
"type": "string"
148+
},
149+
"aggregationType": {
150+
"description": "The aggregation type of the metric specification.",
151+
"type": "string"
152+
},
153+
"supportedAggregationTypes": {
154+
"description": "The supported aggregation types of the metric specification.",
155+
"type": "array",
156+
"items": {
157+
"type": "string"
158+
}
159+
},
160+
"supportedTimeGrainTypes": {
161+
"description": "The supported time grain types of the metric specification.",
162+
"type": "array",
163+
"items": {
164+
"type": "string"
165+
}
166+
},
167+
"enableRegionalMdmAccount": {
168+
"description": "The flag indicates whether enable regional mdm account or not.",
169+
"type": "boolean"
170+
},
171+
"sourceMdmAccount": {
172+
"description": "The source mdm account.",
173+
"type": "string"
174+
},
175+
"sourceMdmNamespace": {
176+
"description": "The source mdm namespace.",
177+
"type": "string"
178+
},
179+
"metricFilterPattern": {
180+
"description": "The metric filter pattern.",
181+
"type": "string"
182+
},
183+
"fillGapWithZero": {
184+
"description": "The flag indicates whether filling gap with zero.",
185+
"type": "boolean"
186+
},
187+
"category": {
188+
"description": "The category of the metric.",
189+
"type": "string"
190+
},
191+
"resourceIdDimensionNameOverride": {
192+
"description": "The override name of resource id dimension name.",
193+
"type": "string"
194+
},
195+
"isInternal": {
196+
"description": "The flag indicates whether the metric is internal or not.",
197+
"type": "boolean"
198+
},
199+
"delegateMetricNameOverride": {
200+
"description": "The override name of delegate metric.",
201+
"type": "string"
202+
},
203+
"dimensions": {
204+
"description": "The dimensions of the metric specification.",
205+
"type": "array",
206+
"items": {
207+
"$ref": "#/definitions/Dimension"
208+
}
209+
}
210+
}
211+
},
212+
"Dimension": {
213+
"description": "The definition of Dimension.",
214+
"type": "object",
215+
"properties": {
216+
"name": {
217+
"description": "The name of the dimension.",
218+
"type": "string"
219+
},
220+
"displayName": {
221+
"description": "The display name of the dimension.",
222+
"type": "string"
223+
},
224+
"internalName": {
225+
"description": "The display name of the dimension.",
226+
"type": "string"
227+
},
228+
"toBeExportedForShoebox": {
229+
"description": "The flag indicates whether the metric will be exported for shoebox or not.",
230+
"type": "boolean"
231+
}
232+
}
233+
},
98234
"OperationListResult": {
99235
"description": "Result of the request to list HDInsight operations. It contains a list of operations and a URL link to get the next set of results.",
100236
"properties": {

specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/scriptActions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@
7272
},
7373
"200": {
7474
"description": "OK response definition."
75+
},
76+
"204": {
77+
"description": "No Content response definition."
7578
}
7679
}
7780
}

0 commit comments

Comments
 (0)