Skip to content

Commit 18da679

Browse files
author
Sushil Upadhyay
committed
Fixed Lint diff Verification error...
1 parent d0f72b7 commit 18da679

File tree

3 files changed

+95
-3
lines changed

3 files changed

+95
-3
lines changed

specification/automation/resource-manager/Microsoft.Automation/stable/2022-08-08/operations.json

Lines changed: 92 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,99 @@
115115
"description": "Provider, Resource and Operation values"
116116
},
117117
"origin": {
118-
"description": "Origin System Name",
118+
"description": "Origin of the operation.",
119119
"type": "string"
120+
},
121+
"properties": {
122+
"x-ms-client-flatten": true,
123+
"$ref": "#/definitions/OperationPropertiesFormat",
124+
"description": "Operation properties format."
125+
}
126+
}
127+
},
128+
"OperationPropertiesFormat": {
129+
"description": "Description of operation properties format.",
130+
"properties": {
131+
"serviceSpecification": {
132+
"description": "Specification of the service.",
133+
"properties": {
134+
"metricSpecifications": {
135+
"type": "array",
136+
"items": {
137+
"$ref": "#/definitions/MetricSpecification"
138+
},
139+
"description": "Operation service specification."
140+
},
141+
"logSpecifications": {
142+
"type": "array",
143+
"items": {
144+
"$ref": "#/definitions/LogSpecification"
145+
},
146+
"description": "Operation log specification."
147+
}
148+
}
149+
}
150+
}
151+
},
152+
"LogSpecification": {
153+
"description": "Description of logging specification.",
154+
"properties": {
155+
"name": {
156+
"type": "string",
157+
"description": "The name of the specification."
158+
},
159+
"displayName": {
160+
"type": "string",
161+
"description": "The display name of the specification."
162+
},
163+
"blobDuration": {
164+
"type": "string",
165+
"description": "Duration of the blob."
166+
}
167+
}
168+
},
169+
"MetricSpecification": {
170+
"description": "Description of metrics specification.",
171+
"properties": {
172+
"name": {
173+
"type": "string",
174+
"description": "The name of the metric."
175+
},
176+
"displayName": {
177+
"type": "string",
178+
"description": "The display name of the metric."
179+
},
180+
"displayDescription": {
181+
"type": "string",
182+
"description": "The description of the metric."
183+
},
184+
"unit": {
185+
"type": "string",
186+
"description": "Units the metric to be displayed in."
187+
},
188+
"aggregationType": {
189+
"type": "string",
190+
"description": "The aggregation type."
191+
},
192+
"dimensions": {
193+
"type": "array",
194+
"items": {
195+
"$ref": "#/definitions/Dimension"
196+
},
197+
"description": "List of dimensions."
198+
}
199+
}
200+
},
201+
"Dimension": {
202+
"description": "Dimension of the metric.",
203+
"properties": {
204+
"name": {
205+
"type": "string",
206+
"description": "The name of the dimension."
207+
},
208+
"displayName": {
209+
"type": "string",
210+
"description": "The display name of the dimension."
120211
}
121212
}
122213
}

specification/automation/resource-manager/Microsoft.Automation/stable/2022-08-08/runbook.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"200": {
8080
"description": "OK",
8181
"schema": {
82-
"type": "string"
82+
"type": "file"
8383
}
8484
},
8585
"default": {
@@ -364,7 +364,7 @@
364364
"200": {
365365
"description": "OK",
366366
"schema": {
367-
"type": "string"
367+
"type": "file"
368368
}
369369
},
370370
"default": {

specification/automation/resource-manager/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ These settings apply only when `--tag=package-2022-08-08` is specified on the co
359359
input-file:
360360
- Microsoft.Automation/preview/2020-01-13-preview/privateEndpointConnection.json
361361
- Microsoft.Automation/preview/2020-01-13-preview/privateLinkResources.json
362+
- Microsoft.Automation/preview/2020-01-13-preview/dscNode.json
362363
- Microsoft.Automation/preview/2020-01-13-preview/dscCompilationJob.json
363364
- Microsoft.Automation/preview/2020-01-13-preview/dscNodeCounts.json
364365
- Microsoft.Automation/preview/2020-01-13-preview/watcher.json

0 commit comments

Comments
 (0)