@azure/arm-selfhelp 2.0.0-beta.2 → 2.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +239 -0
- package/LICENSE +1 -1
- package/dist/index.js +1582 -856
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/checkNameAvailabilityPostSample.js +7 -7
- package/dist-esm/samples-dev/checkNameAvailabilityPostSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticsCreateSample.js +4 -13
- package/dist-esm/samples-dev/diagnosticsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticsGetSample.js +1 -1
- package/dist-esm/samples-dev/discoverySolutionListSample.js +6 -41
- package/dist-esm/samples-dev/discoverySolutionListSample.js.map +1 -1
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.d.ts +2 -0
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.js +44 -0
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.js.map +1 -0
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts +2 -0
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.js +42 -0
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +2 -2
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.js +46 -0
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.js +37 -0
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/solutionCreateSample.js +8 -5
- package/dist-esm/samples-dev/solutionCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/solutionGetSample.js +1 -1
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.js +36 -0
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.js.map +1 -0
- package/dist-esm/samples-dev/solutionUpdateSample.js +2 -11
- package/dist-esm/samples-dev/solutionUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/solutionWarmUpSample.d.ts +2 -0
- package/dist-esm/samples-dev/solutionWarmUpSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/solutionWarmUpSample.js +37 -0
- package/dist-esm/samples-dev/solutionWarmUpSample.js.map +1 -0
- package/dist-esm/samples-dev/troubleshootersContinueSample.js +6 -6
- package/dist-esm/samples-dev/troubleshootersContinueSample.js.map +1 -1
- package/dist-esm/samples-dev/troubleshootersCreateSample.js +5 -5
- package/dist-esm/samples-dev/troubleshootersCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/troubleshootersEndSample.js +1 -1
- package/dist-esm/samples-dev/troubleshootersGetSample.js +1 -1
- package/dist-esm/samples-dev/troubleshootersRestartSample.js +1 -1
- package/dist-esm/src/helpRP.d.ts +5 -1
- package/dist-esm/src/helpRP.d.ts.map +1 -1
- package/dist-esm/src/helpRP.js +15 -9
- package/dist-esm/src/helpRP.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +227 -7
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +24 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +9 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +860 -523
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +6 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +96 -44
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/checkNameAvailability.js +4 -4
- package/dist-esm/src/operations/diagnostics.d.ts +6 -10
- package/dist-esm/src/operations/diagnostics.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnostics.js +24 -28
- package/dist-esm/src/operations/diagnostics.js.map +1 -1
- package/dist-esm/src/operations/discoverySolution.d.ts +3 -12
- package/dist-esm/src/operations/discoverySolution.d.ts.map +1 -1
- package/dist-esm/src/operations/discoverySolution.js +27 -36
- package/dist-esm/src/operations/discoverySolution.js.map +1 -1
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts +20 -0
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js +50 -0
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js.map +1 -0
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts +19 -0
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts.map +1 -0
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js +49 -0
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +4 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +4 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.js +9 -9
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/simplifiedSolutions.d.ts +52 -0
- package/dist-esm/src/operations/simplifiedSolutions.d.ts.map +1 -0
- package/dist-esm/src/operations/simplifiedSolutions.js +159 -0
- package/dist-esm/src/operations/simplifiedSolutions.js.map +1 -0
- package/dist-esm/src/operations/solution.d.ts +20 -25
- package/dist-esm/src/operations/solution.d.ts.map +1 -1
- package/dist-esm/src/operations/solution.js +71 -54
- package/dist-esm/src/operations/solution.js.map +1 -1
- package/dist-esm/src/operations/solutionSelfHelp.d.ts +23 -0
- package/dist-esm/src/operations/solutionSelfHelp.d.ts.map +1 -0
- package/dist-esm/src/operations/solutionSelfHelp.js +51 -0
- package/dist-esm/src/operations/solutionSelfHelp.js.map +1 -0
- package/dist-esm/src/operations/troubleshooters.js +26 -26
- package/dist-esm/src/operations/troubleshooters.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/diagnostics.d.ts +6 -10
- package/dist-esm/src/operationsInterfaces/diagnostics.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/discoverySolution.d.ts +2 -5
- package/dist-esm/src/operationsInterfaces/discoverySolution.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js +9 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.js +9 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +4 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/simplifiedSolutions.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/simplifiedSolutions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/simplifiedSolutions.js +9 -0
- package/dist-esm/src/operationsInterfaces/simplifiedSolutions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/solution.d.ts +20 -25
- package/dist-esm/src/operationsInterfaces/solution.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/solutionSelfHelp.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/solutionSelfHelp.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/solutionSelfHelp.js +9 -0
- package/dist-esm/src/operationsInterfaces/solutionSelfHelp.js.map +1 -0
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/test/selfhelp_operations_test.spec.js +6 -1
- package/dist-esm/test/selfhelp_operations_test.spec.js.map +1 -1
- package/package.json +8 -9
- package/review/arm-selfhelp.api.md +174 -2
- package/src/helpRP.ts +36 -17
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +263 -22
- package/src/models/mappers.ts +898 -529
- package/src/models/parameters.ts +106 -45
- package/src/operations/checkNameAvailability.ts +7 -7
- package/src/operations/diagnostics.ts +39 -46
- package/src/operations/discoverySolution.ts +29 -46
- package/src/operations/discoverySolutionNLPSubscriptionScope.ts +69 -0
- package/src/operations/discoverySolutionNLPTenantScope.ts +64 -0
- package/src/operations/index.ts +4 -0
- package/src/operations/operations.ts +16 -16
- package/src/operations/simplifiedSolutions.ts +216 -0
- package/src/operations/solution.ts +101 -77
- package/src/operations/solutionSelfHelp.ts +68 -0
- package/src/operations/troubleshooters.ts +42 -47
- package/src/operationsInterfaces/checkNameAvailability.ts +2 -2
- package/src/operationsInterfaces/diagnostics.ts +10 -14
- package/src/operationsInterfaces/discoverySolution.ts +3 -7
- package/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.ts +26 -0
- package/src/operationsInterfaces/discoverySolutionNLPTenantScope.ts +24 -0
- package/src/operationsInterfaces/index.ts +4 -0
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/simplifiedSolutions.ts +74 -0
- package/src/operationsInterfaces/solution.ts +30 -30
- package/src/operationsInterfaces/solutionSelfHelp.ts +29 -0
- package/src/operationsInterfaces/troubleshooters.ts +6 -6
- package/src/pagingHelper.ts +1 -1
- package/types/arm-selfhelp.d.ts +357 -46
- package/types/tsdoc-metadata.json +1 -1
package/dist/index.js
CHANGED
|
@@ -139,6 +139,10 @@ exports.KnownSolutionType = void 0;
|
|
|
139
139
|
KnownSolutionType["Diagnostics"] = "Diagnostics";
|
|
140
140
|
/** Solutions resource type. */
|
|
141
141
|
KnownSolutionType["Solutions"] = "Solutions";
|
|
142
|
+
/** Troubleshooters resource type. */
|
|
143
|
+
KnownSolutionType["Troubleshooters"] = "Troubleshooters";
|
|
144
|
+
/** SelfHelp resource type. */
|
|
145
|
+
KnownSolutionType["SelfHelp"] = "SelfHelp";
|
|
142
146
|
})(exports.KnownSolutionType || (exports.KnownSolutionType = {}));
|
|
143
147
|
/** Known values of {@link Name} that the service accepts. */
|
|
144
148
|
exports.KnownName = void 0;
|
|
@@ -233,6 +237,8 @@ exports.KnownType = void 0;
|
|
|
233
237
|
KnownType["Insight"] = "Insight";
|
|
234
238
|
/** AutomatedCheck */
|
|
235
239
|
KnownType["AutomatedCheck"] = "AutomatedCheck";
|
|
240
|
+
/** Input */
|
|
241
|
+
KnownType["Input"] = "Input";
|
|
236
242
|
})(exports.KnownType || (exports.KnownType = {}));
|
|
237
243
|
/** Known values of {@link QuestionType} that the service accepts. */
|
|
238
244
|
exports.KnownQuestionType = void 0;
|
|
@@ -245,6 +251,10 @@ exports.KnownQuestionType = void 0;
|
|
|
245
251
|
KnownQuestionType["TextInput"] = "TextInput";
|
|
246
252
|
/** MultiLineInfoBox */
|
|
247
253
|
KnownQuestionType["MultiLineInfoBox"] = "MultiLineInfoBox";
|
|
254
|
+
/** DateTime Picker */
|
|
255
|
+
KnownQuestionType["DateTimePicker"] = "DateTimePicker";
|
|
256
|
+
/** Multi Select */
|
|
257
|
+
KnownQuestionType["MultiSelect"] = "MultiSelect";
|
|
248
258
|
})(exports.KnownQuestionType || (exports.KnownQuestionType = {}));
|
|
249
259
|
/** Known values of {@link QuestionContentType} that the service accepts. */
|
|
250
260
|
exports.KnownQuestionContentType = void 0;
|
|
@@ -256,6 +266,20 @@ exports.KnownQuestionContentType = void 0;
|
|
|
256
266
|
/** Markdown */
|
|
257
267
|
KnownQuestionContentType["Markdown"] = "Markdown";
|
|
258
268
|
})(exports.KnownQuestionContentType || (exports.KnownQuestionContentType = {}));
|
|
269
|
+
/** Known values of {@link ValidationScope} that the service accepts. */
|
|
270
|
+
exports.KnownValidationScope = void 0;
|
|
271
|
+
(function (KnownValidationScope) {
|
|
272
|
+
/** None */
|
|
273
|
+
KnownValidationScope["None"] = "None";
|
|
274
|
+
/** URLFormat */
|
|
275
|
+
KnownValidationScope["URLFormat"] = "URLFormat";
|
|
276
|
+
/** GuidFormat */
|
|
277
|
+
KnownValidationScope["GuidFormat"] = "GuidFormat";
|
|
278
|
+
/** IpAddressFormat */
|
|
279
|
+
KnownValidationScope["IpAddressFormat"] = "IpAddressFormat";
|
|
280
|
+
/** NumberOnlyFormat */
|
|
281
|
+
KnownValidationScope["NumberOnlyFormat"] = "NumberOnlyFormat";
|
|
282
|
+
})(exports.KnownValidationScope || (exports.KnownValidationScope = {}));
|
|
259
283
|
/** Known values of {@link AutomatedCheckResultType} that the service accepts. */
|
|
260
284
|
exports.KnownAutomatedCheckResultType = void 0;
|
|
261
285
|
(function (KnownAutomatedCheckResultType) {
|
|
@@ -289,20 +313,20 @@ const OperationListResult = {
|
|
|
289
313
|
element: {
|
|
290
314
|
type: {
|
|
291
315
|
name: "Composite",
|
|
292
|
-
className: "Operation"
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
}
|
|
316
|
+
className: "Operation",
|
|
317
|
+
},
|
|
318
|
+
},
|
|
319
|
+
},
|
|
296
320
|
},
|
|
297
321
|
nextLink: {
|
|
298
322
|
serializedName: "nextLink",
|
|
299
323
|
readOnly: true,
|
|
300
324
|
type: {
|
|
301
|
-
name: "String"
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
}
|
|
325
|
+
name: "String",
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
},
|
|
306
330
|
};
|
|
307
331
|
const Operation = {
|
|
308
332
|
type: {
|
|
@@ -313,39 +337,39 @@ const Operation = {
|
|
|
313
337
|
serializedName: "name",
|
|
314
338
|
readOnly: true,
|
|
315
339
|
type: {
|
|
316
|
-
name: "String"
|
|
317
|
-
}
|
|
340
|
+
name: "String",
|
|
341
|
+
},
|
|
318
342
|
},
|
|
319
343
|
isDataAction: {
|
|
320
344
|
serializedName: "isDataAction",
|
|
321
345
|
readOnly: true,
|
|
322
346
|
type: {
|
|
323
|
-
name: "Boolean"
|
|
324
|
-
}
|
|
347
|
+
name: "Boolean",
|
|
348
|
+
},
|
|
325
349
|
},
|
|
326
350
|
display: {
|
|
327
351
|
serializedName: "display",
|
|
328
352
|
type: {
|
|
329
353
|
name: "Composite",
|
|
330
|
-
className: "OperationDisplay"
|
|
331
|
-
}
|
|
354
|
+
className: "OperationDisplay",
|
|
355
|
+
},
|
|
332
356
|
},
|
|
333
357
|
origin: {
|
|
334
358
|
serializedName: "origin",
|
|
335
359
|
readOnly: true,
|
|
336
360
|
type: {
|
|
337
|
-
name: "String"
|
|
338
|
-
}
|
|
361
|
+
name: "String",
|
|
362
|
+
},
|
|
339
363
|
},
|
|
340
364
|
actionType: {
|
|
341
365
|
serializedName: "actionType",
|
|
342
366
|
readOnly: true,
|
|
343
367
|
type: {
|
|
344
|
-
name: "String"
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
}
|
|
368
|
+
name: "String",
|
|
369
|
+
},
|
|
370
|
+
},
|
|
371
|
+
},
|
|
372
|
+
},
|
|
349
373
|
};
|
|
350
374
|
const OperationDisplay = {
|
|
351
375
|
type: {
|
|
@@ -356,32 +380,32 @@ const OperationDisplay = {
|
|
|
356
380
|
serializedName: "provider",
|
|
357
381
|
readOnly: true,
|
|
358
382
|
type: {
|
|
359
|
-
name: "String"
|
|
360
|
-
}
|
|
383
|
+
name: "String",
|
|
384
|
+
},
|
|
361
385
|
},
|
|
362
386
|
resource: {
|
|
363
387
|
serializedName: "resource",
|
|
364
388
|
readOnly: true,
|
|
365
389
|
type: {
|
|
366
|
-
name: "String"
|
|
367
|
-
}
|
|
390
|
+
name: "String",
|
|
391
|
+
},
|
|
368
392
|
},
|
|
369
393
|
operation: {
|
|
370
394
|
serializedName: "operation",
|
|
371
395
|
readOnly: true,
|
|
372
396
|
type: {
|
|
373
|
-
name: "String"
|
|
374
|
-
}
|
|
397
|
+
name: "String",
|
|
398
|
+
},
|
|
375
399
|
},
|
|
376
400
|
description: {
|
|
377
401
|
serializedName: "description",
|
|
378
402
|
readOnly: true,
|
|
379
403
|
type: {
|
|
380
|
-
name: "String"
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
}
|
|
404
|
+
name: "String",
|
|
405
|
+
},
|
|
406
|
+
},
|
|
407
|
+
},
|
|
408
|
+
},
|
|
385
409
|
};
|
|
386
410
|
const ErrorResponse = {
|
|
387
411
|
type: {
|
|
@@ -392,11 +416,11 @@ const ErrorResponse = {
|
|
|
392
416
|
serializedName: "error",
|
|
393
417
|
type: {
|
|
394
418
|
name: "Composite",
|
|
395
|
-
className: "ErrorDetail"
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
}
|
|
419
|
+
className: "ErrorDetail",
|
|
420
|
+
},
|
|
421
|
+
},
|
|
422
|
+
},
|
|
423
|
+
},
|
|
400
424
|
};
|
|
401
425
|
const ErrorDetail = {
|
|
402
426
|
type: {
|
|
@@ -407,22 +431,22 @@ const ErrorDetail = {
|
|
|
407
431
|
serializedName: "code",
|
|
408
432
|
readOnly: true,
|
|
409
433
|
type: {
|
|
410
|
-
name: "String"
|
|
411
|
-
}
|
|
434
|
+
name: "String",
|
|
435
|
+
},
|
|
412
436
|
},
|
|
413
437
|
message: {
|
|
414
438
|
serializedName: "message",
|
|
415
439
|
readOnly: true,
|
|
416
440
|
type: {
|
|
417
|
-
name: "String"
|
|
418
|
-
}
|
|
441
|
+
name: "String",
|
|
442
|
+
},
|
|
419
443
|
},
|
|
420
444
|
target: {
|
|
421
445
|
serializedName: "target",
|
|
422
446
|
readOnly: true,
|
|
423
447
|
type: {
|
|
424
|
-
name: "String"
|
|
425
|
-
}
|
|
448
|
+
name: "String",
|
|
449
|
+
},
|
|
426
450
|
},
|
|
427
451
|
details: {
|
|
428
452
|
serializedName: "details",
|
|
@@ -432,10 +456,10 @@ const ErrorDetail = {
|
|
|
432
456
|
element: {
|
|
433
457
|
type: {
|
|
434
458
|
name: "Composite",
|
|
435
|
-
className: "ErrorDetail"
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
}
|
|
459
|
+
className: "ErrorDetail",
|
|
460
|
+
},
|
|
461
|
+
},
|
|
462
|
+
},
|
|
439
463
|
},
|
|
440
464
|
additionalInfo: {
|
|
441
465
|
serializedName: "additionalInfo",
|
|
@@ -445,13 +469,13 @@ const ErrorDetail = {
|
|
|
445
469
|
element: {
|
|
446
470
|
type: {
|
|
447
471
|
name: "Composite",
|
|
448
|
-
className: "ErrorAdditionalInfo"
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
}
|
|
472
|
+
className: "ErrorAdditionalInfo",
|
|
473
|
+
},
|
|
474
|
+
},
|
|
475
|
+
},
|
|
476
|
+
},
|
|
477
|
+
},
|
|
478
|
+
},
|
|
455
479
|
};
|
|
456
480
|
const ErrorAdditionalInfo = {
|
|
457
481
|
type: {
|
|
@@ -462,19 +486,19 @@ const ErrorAdditionalInfo = {
|
|
|
462
486
|
serializedName: "type",
|
|
463
487
|
readOnly: true,
|
|
464
488
|
type: {
|
|
465
|
-
name: "String"
|
|
466
|
-
}
|
|
489
|
+
name: "String",
|
|
490
|
+
},
|
|
467
491
|
},
|
|
468
492
|
info: {
|
|
469
493
|
serializedName: "info",
|
|
470
494
|
readOnly: true,
|
|
471
495
|
type: {
|
|
472
496
|
name: "Dictionary",
|
|
473
|
-
value: { type: { name: "any" } }
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
}
|
|
497
|
+
value: { type: { name: "any" } },
|
|
498
|
+
},
|
|
499
|
+
},
|
|
500
|
+
},
|
|
501
|
+
},
|
|
478
502
|
};
|
|
479
503
|
const CheckNameAvailabilityRequest = {
|
|
480
504
|
type: {
|
|
@@ -484,17 +508,17 @@ const CheckNameAvailabilityRequest = {
|
|
|
484
508
|
name: {
|
|
485
509
|
serializedName: "name",
|
|
486
510
|
type: {
|
|
487
|
-
name: "String"
|
|
488
|
-
}
|
|
511
|
+
name: "String",
|
|
512
|
+
},
|
|
489
513
|
},
|
|
490
514
|
type: {
|
|
491
515
|
serializedName: "type",
|
|
492
516
|
type: {
|
|
493
|
-
name: "String"
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
}
|
|
517
|
+
name: "String",
|
|
518
|
+
},
|
|
519
|
+
},
|
|
520
|
+
},
|
|
521
|
+
},
|
|
498
522
|
};
|
|
499
523
|
const CheckNameAvailabilityResponse = {
|
|
500
524
|
type: {
|
|
@@ -504,23 +528,23 @@ const CheckNameAvailabilityResponse = {
|
|
|
504
528
|
nameAvailable: {
|
|
505
529
|
serializedName: "nameAvailable",
|
|
506
530
|
type: {
|
|
507
|
-
name: "Boolean"
|
|
508
|
-
}
|
|
531
|
+
name: "Boolean",
|
|
532
|
+
},
|
|
509
533
|
},
|
|
510
534
|
reason: {
|
|
511
535
|
serializedName: "reason",
|
|
512
536
|
type: {
|
|
513
|
-
name: "String"
|
|
514
|
-
}
|
|
537
|
+
name: "String",
|
|
538
|
+
},
|
|
515
539
|
},
|
|
516
540
|
message: {
|
|
517
541
|
serializedName: "message",
|
|
518
542
|
type: {
|
|
519
|
-
name: "String"
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
}
|
|
543
|
+
name: "String",
|
|
544
|
+
},
|
|
545
|
+
},
|
|
546
|
+
},
|
|
547
|
+
},
|
|
524
548
|
};
|
|
525
549
|
const DiagnosticInvocation = {
|
|
526
550
|
type: {
|
|
@@ -530,18 +554,18 @@ const DiagnosticInvocation = {
|
|
|
530
554
|
solutionId: {
|
|
531
555
|
serializedName: "solutionId",
|
|
532
556
|
type: {
|
|
533
|
-
name: "String"
|
|
534
|
-
}
|
|
557
|
+
name: "String",
|
|
558
|
+
},
|
|
535
559
|
},
|
|
536
560
|
additionalParameters: {
|
|
537
561
|
serializedName: "additionalParameters",
|
|
538
562
|
type: {
|
|
539
563
|
name: "Dictionary",
|
|
540
|
-
value: { type: { name: "String" } }
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
}
|
|
564
|
+
value: { type: { name: "String" } },
|
|
565
|
+
},
|
|
566
|
+
},
|
|
567
|
+
},
|
|
568
|
+
},
|
|
545
569
|
};
|
|
546
570
|
const Diagnostic = {
|
|
547
571
|
type: {
|
|
@@ -551,14 +575,14 @@ const Diagnostic = {
|
|
|
551
575
|
solutionId: {
|
|
552
576
|
serializedName: "solutionId",
|
|
553
577
|
type: {
|
|
554
|
-
name: "String"
|
|
555
|
-
}
|
|
578
|
+
name: "String",
|
|
579
|
+
},
|
|
556
580
|
},
|
|
557
581
|
status: {
|
|
558
582
|
serializedName: "status",
|
|
559
583
|
type: {
|
|
560
|
-
name: "String"
|
|
561
|
-
}
|
|
584
|
+
name: "String",
|
|
585
|
+
},
|
|
562
586
|
},
|
|
563
587
|
insights: {
|
|
564
588
|
serializedName: "insights",
|
|
@@ -567,20 +591,20 @@ const Diagnostic = {
|
|
|
567
591
|
element: {
|
|
568
592
|
type: {
|
|
569
593
|
name: "Composite",
|
|
570
|
-
className: "Insight"
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
}
|
|
594
|
+
className: "Insight",
|
|
595
|
+
},
|
|
596
|
+
},
|
|
597
|
+
},
|
|
574
598
|
},
|
|
575
599
|
error: {
|
|
576
600
|
serializedName: "error",
|
|
577
601
|
type: {
|
|
578
602
|
name: "Composite",
|
|
579
|
-
className: "ErrorModel"
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
}
|
|
603
|
+
className: "ErrorModel",
|
|
604
|
+
},
|
|
605
|
+
},
|
|
606
|
+
},
|
|
607
|
+
},
|
|
584
608
|
};
|
|
585
609
|
const Insight = {
|
|
586
610
|
type: {
|
|
@@ -590,29 +614,29 @@ const Insight = {
|
|
|
590
614
|
id: {
|
|
591
615
|
serializedName: "id",
|
|
592
616
|
type: {
|
|
593
|
-
name: "String"
|
|
594
|
-
}
|
|
617
|
+
name: "String",
|
|
618
|
+
},
|
|
595
619
|
},
|
|
596
620
|
title: {
|
|
597
621
|
serializedName: "title",
|
|
598
622
|
type: {
|
|
599
|
-
name: "String"
|
|
600
|
-
}
|
|
623
|
+
name: "String",
|
|
624
|
+
},
|
|
601
625
|
},
|
|
602
626
|
results: {
|
|
603
627
|
serializedName: "results",
|
|
604
628
|
type: {
|
|
605
|
-
name: "String"
|
|
606
|
-
}
|
|
629
|
+
name: "String",
|
|
630
|
+
},
|
|
607
631
|
},
|
|
608
632
|
importanceLevel: {
|
|
609
633
|
serializedName: "importanceLevel",
|
|
610
634
|
type: {
|
|
611
|
-
name: "String"
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
}
|
|
635
|
+
name: "String",
|
|
636
|
+
},
|
|
637
|
+
},
|
|
638
|
+
},
|
|
639
|
+
},
|
|
616
640
|
};
|
|
617
641
|
const ErrorModel = {
|
|
618
642
|
type: {
|
|
@@ -623,22 +647,22 @@ const ErrorModel = {
|
|
|
623
647
|
serializedName: "code",
|
|
624
648
|
readOnly: true,
|
|
625
649
|
type: {
|
|
626
|
-
name: "String"
|
|
627
|
-
}
|
|
650
|
+
name: "String",
|
|
651
|
+
},
|
|
628
652
|
},
|
|
629
653
|
type: {
|
|
630
654
|
serializedName: "type",
|
|
631
655
|
readOnly: true,
|
|
632
656
|
type: {
|
|
633
|
-
name: "String"
|
|
634
|
-
}
|
|
657
|
+
name: "String",
|
|
658
|
+
},
|
|
635
659
|
},
|
|
636
660
|
message: {
|
|
637
661
|
serializedName: "message",
|
|
638
662
|
readOnly: true,
|
|
639
663
|
type: {
|
|
640
|
-
name: "String"
|
|
641
|
-
}
|
|
664
|
+
name: "String",
|
|
665
|
+
},
|
|
642
666
|
},
|
|
643
667
|
details: {
|
|
644
668
|
serializedName: "details",
|
|
@@ -647,13 +671,13 @@ const ErrorModel = {
|
|
|
647
671
|
element: {
|
|
648
672
|
type: {
|
|
649
673
|
name: "Composite",
|
|
650
|
-
className: "ErrorModel"
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
}
|
|
674
|
+
className: "ErrorModel",
|
|
675
|
+
},
|
|
676
|
+
},
|
|
677
|
+
},
|
|
678
|
+
},
|
|
679
|
+
},
|
|
680
|
+
},
|
|
657
681
|
};
|
|
658
682
|
const Resource = {
|
|
659
683
|
type: {
|
|
@@ -664,32 +688,32 @@ const Resource = {
|
|
|
664
688
|
serializedName: "id",
|
|
665
689
|
readOnly: true,
|
|
666
690
|
type: {
|
|
667
|
-
name: "String"
|
|
668
|
-
}
|
|
691
|
+
name: "String",
|
|
692
|
+
},
|
|
669
693
|
},
|
|
670
694
|
name: {
|
|
671
695
|
serializedName: "name",
|
|
672
696
|
readOnly: true,
|
|
673
697
|
type: {
|
|
674
|
-
name: "String"
|
|
675
|
-
}
|
|
698
|
+
name: "String",
|
|
699
|
+
},
|
|
676
700
|
},
|
|
677
701
|
type: {
|
|
678
702
|
serializedName: "type",
|
|
679
703
|
readOnly: true,
|
|
680
704
|
type: {
|
|
681
|
-
name: "String"
|
|
682
|
-
}
|
|
705
|
+
name: "String",
|
|
706
|
+
},
|
|
683
707
|
},
|
|
684
708
|
systemData: {
|
|
685
709
|
serializedName: "systemData",
|
|
686
710
|
type: {
|
|
687
711
|
name: "Composite",
|
|
688
|
-
className: "SystemData"
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
}
|
|
712
|
+
className: "SystemData",
|
|
713
|
+
},
|
|
714
|
+
},
|
|
715
|
+
},
|
|
716
|
+
},
|
|
693
717
|
};
|
|
694
718
|
const SystemData = {
|
|
695
719
|
type: {
|
|
@@ -699,41 +723,41 @@ const SystemData = {
|
|
|
699
723
|
createdBy: {
|
|
700
724
|
serializedName: "createdBy",
|
|
701
725
|
type: {
|
|
702
|
-
name: "String"
|
|
703
|
-
}
|
|
726
|
+
name: "String",
|
|
727
|
+
},
|
|
704
728
|
},
|
|
705
729
|
createdByType: {
|
|
706
730
|
serializedName: "createdByType",
|
|
707
731
|
type: {
|
|
708
|
-
name: "String"
|
|
709
|
-
}
|
|
732
|
+
name: "String",
|
|
733
|
+
},
|
|
710
734
|
},
|
|
711
735
|
createdAt: {
|
|
712
736
|
serializedName: "createdAt",
|
|
713
737
|
type: {
|
|
714
|
-
name: "DateTime"
|
|
715
|
-
}
|
|
738
|
+
name: "DateTime",
|
|
739
|
+
},
|
|
716
740
|
},
|
|
717
741
|
lastModifiedBy: {
|
|
718
742
|
serializedName: "lastModifiedBy",
|
|
719
743
|
type: {
|
|
720
|
-
name: "String"
|
|
721
|
-
}
|
|
744
|
+
name: "String",
|
|
745
|
+
},
|
|
722
746
|
},
|
|
723
747
|
lastModifiedByType: {
|
|
724
748
|
serializedName: "lastModifiedByType",
|
|
725
749
|
type: {
|
|
726
|
-
name: "String"
|
|
727
|
-
}
|
|
750
|
+
name: "String",
|
|
751
|
+
},
|
|
728
752
|
},
|
|
729
753
|
lastModifiedAt: {
|
|
730
754
|
serializedName: "lastModifiedAt",
|
|
731
755
|
type: {
|
|
732
|
-
name: "DateTime"
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
}
|
|
756
|
+
name: "DateTime",
|
|
757
|
+
},
|
|
758
|
+
},
|
|
759
|
+
},
|
|
760
|
+
},
|
|
737
761
|
};
|
|
738
762
|
const DiscoveryResponse = {
|
|
739
763
|
type: {
|
|
@@ -747,19 +771,19 @@ const DiscoveryResponse = {
|
|
|
747
771
|
element: {
|
|
748
772
|
type: {
|
|
749
773
|
name: "Composite",
|
|
750
|
-
className: "SolutionMetadataResource"
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
}
|
|
774
|
+
className: "SolutionMetadataResource",
|
|
775
|
+
},
|
|
776
|
+
},
|
|
777
|
+
},
|
|
754
778
|
},
|
|
755
779
|
nextLink: {
|
|
756
780
|
serializedName: "nextLink",
|
|
757
781
|
type: {
|
|
758
|
-
name: "String"
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
|
-
}
|
|
782
|
+
name: "String",
|
|
783
|
+
},
|
|
784
|
+
},
|
|
785
|
+
},
|
|
786
|
+
},
|
|
763
787
|
};
|
|
764
788
|
const SolutionMetadataProperties = {
|
|
765
789
|
type: {
|
|
@@ -769,22 +793,22 @@ const SolutionMetadataProperties = {
|
|
|
769
793
|
solutionId: {
|
|
770
794
|
serializedName: "solutionId",
|
|
771
795
|
type: {
|
|
772
|
-
name: "String"
|
|
773
|
-
}
|
|
796
|
+
name: "String",
|
|
797
|
+
},
|
|
774
798
|
},
|
|
775
799
|
solutionType: {
|
|
776
800
|
serializedName: "solutionType",
|
|
777
801
|
readOnly: true,
|
|
778
802
|
type: {
|
|
779
|
-
name: "String"
|
|
780
|
-
}
|
|
803
|
+
name: "String",
|
|
804
|
+
},
|
|
781
805
|
},
|
|
782
806
|
description: {
|
|
783
807
|
serializedName: "description",
|
|
784
808
|
readOnly: true,
|
|
785
809
|
type: {
|
|
786
|
-
name: "String"
|
|
787
|
-
}
|
|
810
|
+
name: "String",
|
|
811
|
+
},
|
|
788
812
|
},
|
|
789
813
|
requiredInputs: {
|
|
790
814
|
serializedName: "requiredInputs",
|
|
@@ -793,13 +817,13 @@ const SolutionMetadataProperties = {
|
|
|
793
817
|
name: "Sequence",
|
|
794
818
|
element: {
|
|
795
819
|
type: {
|
|
796
|
-
name: "String"
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
}
|
|
820
|
+
name: "String",
|
|
821
|
+
},
|
|
822
|
+
},
|
|
823
|
+
},
|
|
824
|
+
},
|
|
825
|
+
},
|
|
826
|
+
},
|
|
803
827
|
};
|
|
804
828
|
const TriggerCriterion = {
|
|
805
829
|
type: {
|
|
@@ -809,17 +833,17 @@ const TriggerCriterion = {
|
|
|
809
833
|
name: {
|
|
810
834
|
serializedName: "name",
|
|
811
835
|
type: {
|
|
812
|
-
name: "String"
|
|
813
|
-
}
|
|
836
|
+
name: "String",
|
|
837
|
+
},
|
|
814
838
|
},
|
|
815
839
|
value: {
|
|
816
840
|
serializedName: "value",
|
|
817
841
|
type: {
|
|
818
|
-
name: "String"
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
}
|
|
842
|
+
name: "String",
|
|
843
|
+
},
|
|
844
|
+
},
|
|
845
|
+
},
|
|
846
|
+
},
|
|
823
847
|
};
|
|
824
848
|
const ReplacementMaps = {
|
|
825
849
|
type: {
|
|
@@ -833,10 +857,10 @@ const ReplacementMaps = {
|
|
|
833
857
|
element: {
|
|
834
858
|
type: {
|
|
835
859
|
name: "Composite",
|
|
836
|
-
className: "WebResult"
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
}
|
|
860
|
+
className: "WebResult",
|
|
861
|
+
},
|
|
862
|
+
},
|
|
863
|
+
},
|
|
840
864
|
},
|
|
841
865
|
diagnostics: {
|
|
842
866
|
serializedName: "diagnostics",
|
|
@@ -845,10 +869,10 @@ const ReplacementMaps = {
|
|
|
845
869
|
element: {
|
|
846
870
|
type: {
|
|
847
871
|
name: "Composite",
|
|
848
|
-
className: "SolutionsDiagnostic"
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
}
|
|
872
|
+
className: "SolutionsDiagnostic",
|
|
873
|
+
},
|
|
874
|
+
},
|
|
875
|
+
},
|
|
852
876
|
},
|
|
853
877
|
troubleshooters: {
|
|
854
878
|
serializedName: "troubleshooters",
|
|
@@ -857,10 +881,10 @@ const ReplacementMaps = {
|
|
|
857
881
|
element: {
|
|
858
882
|
type: {
|
|
859
883
|
name: "Composite",
|
|
860
|
-
className: "SolutionsTroubleshooters"
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
}
|
|
884
|
+
className: "SolutionsTroubleshooters",
|
|
885
|
+
},
|
|
886
|
+
},
|
|
887
|
+
},
|
|
864
888
|
},
|
|
865
889
|
metricsBasedCharts: {
|
|
866
890
|
serializedName: "metricsBasedCharts",
|
|
@@ -869,10 +893,10 @@ const ReplacementMaps = {
|
|
|
869
893
|
element: {
|
|
870
894
|
type: {
|
|
871
895
|
name: "Composite",
|
|
872
|
-
className: "MetricsBasedChart"
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
}
|
|
896
|
+
className: "MetricsBasedChart",
|
|
897
|
+
},
|
|
898
|
+
},
|
|
899
|
+
},
|
|
876
900
|
},
|
|
877
901
|
videos: {
|
|
878
902
|
serializedName: "videos",
|
|
@@ -881,10 +905,10 @@ const ReplacementMaps = {
|
|
|
881
905
|
element: {
|
|
882
906
|
type: {
|
|
883
907
|
name: "Composite",
|
|
884
|
-
className: "Video"
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
}
|
|
908
|
+
className: "Video",
|
|
909
|
+
},
|
|
910
|
+
},
|
|
911
|
+
},
|
|
888
912
|
},
|
|
889
913
|
videoGroups: {
|
|
890
914
|
serializedName: "videoGroups",
|
|
@@ -893,13 +917,13 @@ const ReplacementMaps = {
|
|
|
893
917
|
element: {
|
|
894
918
|
type: {
|
|
895
919
|
name: "Composite",
|
|
896
|
-
className: "VideoGroup"
|
|
897
|
-
}
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
}
|
|
920
|
+
className: "VideoGroup",
|
|
921
|
+
},
|
|
922
|
+
},
|
|
923
|
+
},
|
|
924
|
+
},
|
|
925
|
+
},
|
|
926
|
+
},
|
|
903
927
|
};
|
|
904
928
|
const WebResult = {
|
|
905
929
|
type: {
|
|
@@ -909,8 +933,8 @@ const WebResult = {
|
|
|
909
933
|
replacementKey: {
|
|
910
934
|
serializedName: "replacementKey",
|
|
911
935
|
type: {
|
|
912
|
-
name: "String"
|
|
913
|
-
}
|
|
936
|
+
name: "String",
|
|
937
|
+
},
|
|
914
938
|
},
|
|
915
939
|
searchResults: {
|
|
916
940
|
serializedName: "searchResults",
|
|
@@ -919,13 +943,13 @@ const WebResult = {
|
|
|
919
943
|
element: {
|
|
920
944
|
type: {
|
|
921
945
|
name: "Composite",
|
|
922
|
-
className: "SearchResult"
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
}
|
|
946
|
+
className: "SearchResult",
|
|
947
|
+
},
|
|
948
|
+
},
|
|
949
|
+
},
|
|
950
|
+
},
|
|
951
|
+
},
|
|
952
|
+
},
|
|
929
953
|
};
|
|
930
954
|
const SearchResult = {
|
|
931
955
|
type: {
|
|
@@ -935,53 +959,53 @@ const SearchResult = {
|
|
|
935
959
|
solutionId: {
|
|
936
960
|
serializedName: "solutionId",
|
|
937
961
|
type: {
|
|
938
|
-
name: "String"
|
|
939
|
-
}
|
|
962
|
+
name: "String",
|
|
963
|
+
},
|
|
940
964
|
},
|
|
941
965
|
content: {
|
|
942
966
|
serializedName: "content",
|
|
943
967
|
type: {
|
|
944
|
-
name: "String"
|
|
945
|
-
}
|
|
968
|
+
name: "String",
|
|
969
|
+
},
|
|
946
970
|
},
|
|
947
971
|
title: {
|
|
948
972
|
serializedName: "title",
|
|
949
973
|
type: {
|
|
950
|
-
name: "String"
|
|
951
|
-
}
|
|
974
|
+
name: "String",
|
|
975
|
+
},
|
|
952
976
|
},
|
|
953
977
|
confidence: {
|
|
954
978
|
serializedName: "confidence",
|
|
955
979
|
type: {
|
|
956
|
-
name: "String"
|
|
957
|
-
}
|
|
980
|
+
name: "String",
|
|
981
|
+
},
|
|
958
982
|
},
|
|
959
983
|
source: {
|
|
960
984
|
serializedName: "source",
|
|
961
985
|
type: {
|
|
962
|
-
name: "String"
|
|
963
|
-
}
|
|
986
|
+
name: "String",
|
|
987
|
+
},
|
|
964
988
|
},
|
|
965
989
|
resultType: {
|
|
966
990
|
serializedName: "resultType",
|
|
967
991
|
type: {
|
|
968
|
-
name: "String"
|
|
969
|
-
}
|
|
992
|
+
name: "String",
|
|
993
|
+
},
|
|
970
994
|
},
|
|
971
995
|
rank: {
|
|
972
996
|
serializedName: "rank",
|
|
973
997
|
type: {
|
|
974
|
-
name: "Number"
|
|
975
|
-
}
|
|
998
|
+
name: "Number",
|
|
999
|
+
},
|
|
976
1000
|
},
|
|
977
1001
|
link: {
|
|
978
1002
|
serializedName: "link",
|
|
979
1003
|
type: {
|
|
980
|
-
name: "String"
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
}
|
|
1004
|
+
name: "String",
|
|
1005
|
+
},
|
|
1006
|
+
},
|
|
1007
|
+
},
|
|
1008
|
+
},
|
|
985
1009
|
};
|
|
986
1010
|
const SolutionsDiagnostic = {
|
|
987
1011
|
type: {
|
|
@@ -991,26 +1015,32 @@ const SolutionsDiagnostic = {
|
|
|
991
1015
|
solutionId: {
|
|
992
1016
|
serializedName: "solutionId",
|
|
993
1017
|
type: {
|
|
994
|
-
name: "String"
|
|
995
|
-
}
|
|
1018
|
+
name: "String",
|
|
1019
|
+
},
|
|
996
1020
|
},
|
|
997
1021
|
status: {
|
|
998
1022
|
serializedName: "status",
|
|
999
1023
|
type: {
|
|
1000
|
-
name: "String"
|
|
1001
|
-
}
|
|
1024
|
+
name: "String",
|
|
1025
|
+
},
|
|
1002
1026
|
},
|
|
1003
1027
|
statusDetails: {
|
|
1004
1028
|
serializedName: "statusDetails",
|
|
1005
1029
|
type: {
|
|
1006
|
-
name: "String"
|
|
1007
|
-
}
|
|
1030
|
+
name: "String",
|
|
1031
|
+
},
|
|
1008
1032
|
},
|
|
1009
1033
|
replacementKey: {
|
|
1010
1034
|
serializedName: "replacementKey",
|
|
1011
1035
|
type: {
|
|
1012
|
-
name: "String"
|
|
1013
|
-
}
|
|
1036
|
+
name: "String",
|
|
1037
|
+
},
|
|
1038
|
+
},
|
|
1039
|
+
estimatedCompletionTime: {
|
|
1040
|
+
serializedName: "estimatedCompletionTime",
|
|
1041
|
+
type: {
|
|
1042
|
+
name: "String",
|
|
1043
|
+
},
|
|
1014
1044
|
},
|
|
1015
1045
|
requiredParameters: {
|
|
1016
1046
|
serializedName: "requiredParameters",
|
|
@@ -1018,10 +1048,10 @@ const SolutionsDiagnostic = {
|
|
|
1018
1048
|
name: "Sequence",
|
|
1019
1049
|
element: {
|
|
1020
1050
|
type: {
|
|
1021
|
-
name: "String"
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
}
|
|
1051
|
+
name: "String",
|
|
1052
|
+
},
|
|
1053
|
+
},
|
|
1054
|
+
},
|
|
1025
1055
|
},
|
|
1026
1056
|
insights: {
|
|
1027
1057
|
serializedName: "insights",
|
|
@@ -1030,13 +1060,13 @@ const SolutionsDiagnostic = {
|
|
|
1030
1060
|
element: {
|
|
1031
1061
|
type: {
|
|
1032
1062
|
name: "Composite",
|
|
1033
|
-
className: "Insight"
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1038
|
-
}
|
|
1039
|
-
}
|
|
1063
|
+
className: "Insight",
|
|
1064
|
+
},
|
|
1065
|
+
},
|
|
1066
|
+
},
|
|
1067
|
+
},
|
|
1068
|
+
},
|
|
1069
|
+
},
|
|
1040
1070
|
};
|
|
1041
1071
|
const SolutionsTroubleshooters = {
|
|
1042
1072
|
type: {
|
|
@@ -1046,23 +1076,23 @@ const SolutionsTroubleshooters = {
|
|
|
1046
1076
|
solutionId: {
|
|
1047
1077
|
serializedName: "solutionId",
|
|
1048
1078
|
type: {
|
|
1049
|
-
name: "String"
|
|
1050
|
-
}
|
|
1079
|
+
name: "String",
|
|
1080
|
+
},
|
|
1051
1081
|
},
|
|
1052
1082
|
title: {
|
|
1053
1083
|
serializedName: "title",
|
|
1054
1084
|
type: {
|
|
1055
|
-
name: "String"
|
|
1056
|
-
}
|
|
1085
|
+
name: "String",
|
|
1086
|
+
},
|
|
1057
1087
|
},
|
|
1058
1088
|
summary: {
|
|
1059
1089
|
serializedName: "summary",
|
|
1060
1090
|
type: {
|
|
1061
|
-
name: "String"
|
|
1062
|
-
}
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1091
|
+
name: "String",
|
|
1092
|
+
},
|
|
1093
|
+
},
|
|
1094
|
+
},
|
|
1095
|
+
},
|
|
1066
1096
|
};
|
|
1067
1097
|
const MetricsBasedChart = {
|
|
1068
1098
|
type: {
|
|
@@ -1072,42 +1102,42 @@ const MetricsBasedChart = {
|
|
|
1072
1102
|
name: {
|
|
1073
1103
|
serializedName: "name",
|
|
1074
1104
|
type: {
|
|
1075
|
-
name: "String"
|
|
1076
|
-
}
|
|
1105
|
+
name: "String",
|
|
1106
|
+
},
|
|
1077
1107
|
},
|
|
1078
1108
|
aggregationType: {
|
|
1079
1109
|
serializedName: "aggregationType",
|
|
1080
1110
|
type: {
|
|
1081
|
-
name: "String"
|
|
1082
|
-
}
|
|
1111
|
+
name: "String",
|
|
1112
|
+
},
|
|
1083
1113
|
},
|
|
1084
1114
|
timeSpanDuration: {
|
|
1085
1115
|
serializedName: "timeSpanDuration",
|
|
1086
1116
|
type: {
|
|
1087
|
-
name: "String"
|
|
1088
|
-
}
|
|
1117
|
+
name: "String",
|
|
1118
|
+
},
|
|
1089
1119
|
},
|
|
1090
1120
|
title: {
|
|
1091
1121
|
serializedName: "title",
|
|
1092
1122
|
type: {
|
|
1093
|
-
name: "String"
|
|
1094
|
-
}
|
|
1123
|
+
name: "String",
|
|
1124
|
+
},
|
|
1095
1125
|
},
|
|
1096
1126
|
filterGroup: {
|
|
1097
1127
|
serializedName: "filterGroup",
|
|
1098
1128
|
type: {
|
|
1099
1129
|
name: "Composite",
|
|
1100
|
-
className: "FilterGroup"
|
|
1101
|
-
}
|
|
1130
|
+
className: "FilterGroup",
|
|
1131
|
+
},
|
|
1102
1132
|
},
|
|
1103
1133
|
replacementKey: {
|
|
1104
1134
|
serializedName: "replacementKey",
|
|
1105
1135
|
type: {
|
|
1106
|
-
name: "String"
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
}
|
|
1136
|
+
name: "String",
|
|
1137
|
+
},
|
|
1138
|
+
},
|
|
1139
|
+
},
|
|
1140
|
+
},
|
|
1111
1141
|
};
|
|
1112
1142
|
const FilterGroup = {
|
|
1113
1143
|
type: {
|
|
@@ -1121,13 +1151,13 @@ const FilterGroup = {
|
|
|
1121
1151
|
element: {
|
|
1122
1152
|
type: {
|
|
1123
1153
|
name: "Composite",
|
|
1124
|
-
className: "Filter"
|
|
1125
|
-
}
|
|
1126
|
-
}
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
}
|
|
1130
|
-
}
|
|
1154
|
+
className: "Filter",
|
|
1155
|
+
},
|
|
1156
|
+
},
|
|
1157
|
+
},
|
|
1158
|
+
},
|
|
1159
|
+
},
|
|
1160
|
+
},
|
|
1131
1161
|
};
|
|
1132
1162
|
const Filter = {
|
|
1133
1163
|
type: {
|
|
@@ -1137,23 +1167,23 @@ const Filter = {
|
|
|
1137
1167
|
name: {
|
|
1138
1168
|
serializedName: "name",
|
|
1139
1169
|
type: {
|
|
1140
|
-
name: "String"
|
|
1141
|
-
}
|
|
1170
|
+
name: "String",
|
|
1171
|
+
},
|
|
1142
1172
|
},
|
|
1143
1173
|
values: {
|
|
1144
1174
|
serializedName: "values",
|
|
1145
1175
|
type: {
|
|
1146
|
-
name: "String"
|
|
1147
|
-
}
|
|
1176
|
+
name: "String",
|
|
1177
|
+
},
|
|
1148
1178
|
},
|
|
1149
1179
|
operator: {
|
|
1150
1180
|
serializedName: "operator",
|
|
1151
1181
|
type: {
|
|
1152
|
-
name: "String"
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1182
|
+
name: "String",
|
|
1183
|
+
},
|
|
1184
|
+
},
|
|
1185
|
+
},
|
|
1186
|
+
},
|
|
1157
1187
|
};
|
|
1158
1188
|
const VideoGroupVideo = {
|
|
1159
1189
|
type: {
|
|
@@ -1163,17 +1193,17 @@ const VideoGroupVideo = {
|
|
|
1163
1193
|
src: {
|
|
1164
1194
|
serializedName: "src",
|
|
1165
1195
|
type: {
|
|
1166
|
-
name: "String"
|
|
1167
|
-
}
|
|
1196
|
+
name: "String",
|
|
1197
|
+
},
|
|
1168
1198
|
},
|
|
1169
1199
|
title: {
|
|
1170
1200
|
serializedName: "title",
|
|
1171
1201
|
type: {
|
|
1172
|
-
name: "String"
|
|
1173
|
-
}
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1202
|
+
name: "String",
|
|
1203
|
+
},
|
|
1204
|
+
},
|
|
1205
|
+
},
|
|
1206
|
+
},
|
|
1177
1207
|
};
|
|
1178
1208
|
const VideoGroup = {
|
|
1179
1209
|
type: {
|
|
@@ -1187,19 +1217,19 @@ const VideoGroup = {
|
|
|
1187
1217
|
element: {
|
|
1188
1218
|
type: {
|
|
1189
1219
|
name: "Composite",
|
|
1190
|
-
className: "VideoGroupVideo"
|
|
1191
|
-
}
|
|
1192
|
-
}
|
|
1193
|
-
}
|
|
1220
|
+
className: "VideoGroupVideo",
|
|
1221
|
+
},
|
|
1222
|
+
},
|
|
1223
|
+
},
|
|
1194
1224
|
},
|
|
1195
1225
|
replacementKey: {
|
|
1196
1226
|
serializedName: "replacementKey",
|
|
1197
1227
|
type: {
|
|
1198
|
-
name: "String"
|
|
1199
|
-
}
|
|
1200
|
-
}
|
|
1201
|
-
}
|
|
1202
|
-
}
|
|
1228
|
+
name: "String",
|
|
1229
|
+
},
|
|
1230
|
+
},
|
|
1231
|
+
},
|
|
1232
|
+
},
|
|
1203
1233
|
};
|
|
1204
1234
|
const Section = {
|
|
1205
1235
|
type: {
|
|
@@ -1209,24 +1239,24 @@ const Section = {
|
|
|
1209
1239
|
title: {
|
|
1210
1240
|
serializedName: "title",
|
|
1211
1241
|
type: {
|
|
1212
|
-
name: "String"
|
|
1213
|
-
}
|
|
1242
|
+
name: "String",
|
|
1243
|
+
},
|
|
1214
1244
|
},
|
|
1215
1245
|
content: {
|
|
1216
1246
|
serializedName: "content",
|
|
1217
1247
|
type: {
|
|
1218
|
-
name: "String"
|
|
1219
|
-
}
|
|
1248
|
+
name: "String",
|
|
1249
|
+
},
|
|
1220
1250
|
},
|
|
1221
1251
|
replacementMaps: {
|
|
1222
1252
|
serializedName: "replacementMaps",
|
|
1223
1253
|
type: {
|
|
1224
1254
|
name: "Composite",
|
|
1225
|
-
className: "ReplacementMaps"
|
|
1226
|
-
}
|
|
1227
|
-
}
|
|
1228
|
-
}
|
|
1229
|
-
}
|
|
1255
|
+
className: "ReplacementMaps",
|
|
1256
|
+
},
|
|
1257
|
+
},
|
|
1258
|
+
},
|
|
1259
|
+
},
|
|
1230
1260
|
};
|
|
1231
1261
|
const SolutionPatchRequestBody = {
|
|
1232
1262
|
type: {
|
|
@@ -1240,52 +1270,52 @@ const SolutionPatchRequestBody = {
|
|
|
1240
1270
|
element: {
|
|
1241
1271
|
type: {
|
|
1242
1272
|
name: "Composite",
|
|
1243
|
-
className: "TriggerCriterion"
|
|
1244
|
-
}
|
|
1245
|
-
}
|
|
1246
|
-
}
|
|
1273
|
+
className: "TriggerCriterion",
|
|
1274
|
+
},
|
|
1275
|
+
},
|
|
1276
|
+
},
|
|
1247
1277
|
},
|
|
1248
1278
|
parameters: {
|
|
1249
1279
|
serializedName: "properties.parameters",
|
|
1250
1280
|
type: {
|
|
1251
1281
|
name: "Dictionary",
|
|
1252
|
-
value: { type: { name: "String" } }
|
|
1253
|
-
}
|
|
1282
|
+
value: { type: { name: "String" } },
|
|
1283
|
+
},
|
|
1254
1284
|
},
|
|
1255
1285
|
solutionId: {
|
|
1256
1286
|
serializedName: "properties.solutionId",
|
|
1257
1287
|
readOnly: true,
|
|
1258
1288
|
type: {
|
|
1259
|
-
name: "String"
|
|
1260
|
-
}
|
|
1289
|
+
name: "String",
|
|
1290
|
+
},
|
|
1261
1291
|
},
|
|
1262
1292
|
provisioningState: {
|
|
1263
1293
|
serializedName: "properties.provisioningState",
|
|
1264
1294
|
readOnly: true,
|
|
1265
1295
|
type: {
|
|
1266
|
-
name: "String"
|
|
1267
|
-
}
|
|
1296
|
+
name: "String",
|
|
1297
|
+
},
|
|
1268
1298
|
},
|
|
1269
1299
|
title: {
|
|
1270
1300
|
serializedName: "properties.title",
|
|
1271
1301
|
readOnly: true,
|
|
1272
1302
|
type: {
|
|
1273
|
-
name: "String"
|
|
1274
|
-
}
|
|
1303
|
+
name: "String",
|
|
1304
|
+
},
|
|
1275
1305
|
},
|
|
1276
1306
|
content: {
|
|
1277
1307
|
serializedName: "properties.content",
|
|
1278
1308
|
readOnly: true,
|
|
1279
1309
|
type: {
|
|
1280
|
-
name: "String"
|
|
1281
|
-
}
|
|
1310
|
+
name: "String",
|
|
1311
|
+
},
|
|
1282
1312
|
},
|
|
1283
1313
|
replacementMaps: {
|
|
1284
1314
|
serializedName: "properties.replacementMaps",
|
|
1285
1315
|
type: {
|
|
1286
1316
|
name: "Composite",
|
|
1287
|
-
className: "ReplacementMaps"
|
|
1288
|
-
}
|
|
1317
|
+
className: "ReplacementMaps",
|
|
1318
|
+
},
|
|
1289
1319
|
},
|
|
1290
1320
|
sections: {
|
|
1291
1321
|
serializedName: "properties.sections",
|
|
@@ -1295,13 +1325,28 @@ const SolutionPatchRequestBody = {
|
|
|
1295
1325
|
element: {
|
|
1296
1326
|
type: {
|
|
1297
1327
|
name: "Composite",
|
|
1298
|
-
className: "Section"
|
|
1299
|
-
}
|
|
1300
|
-
}
|
|
1301
|
-
}
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
}
|
|
1328
|
+
className: "Section",
|
|
1329
|
+
},
|
|
1330
|
+
},
|
|
1331
|
+
},
|
|
1332
|
+
},
|
|
1333
|
+
},
|
|
1334
|
+
},
|
|
1335
|
+
};
|
|
1336
|
+
const SolutionWarmUpRequestBody = {
|
|
1337
|
+
type: {
|
|
1338
|
+
name: "Composite",
|
|
1339
|
+
className: "SolutionWarmUpRequestBody",
|
|
1340
|
+
modelProperties: {
|
|
1341
|
+
parameters: {
|
|
1342
|
+
serializedName: "parameters",
|
|
1343
|
+
type: {
|
|
1344
|
+
name: "Dictionary",
|
|
1345
|
+
value: { type: { name: "String" } },
|
|
1346
|
+
},
|
|
1347
|
+
},
|
|
1348
|
+
},
|
|
1349
|
+
},
|
|
1305
1350
|
};
|
|
1306
1351
|
const Step = {
|
|
1307
1352
|
type: {
|
|
@@ -1311,50 +1356,50 @@ const Step = {
|
|
|
1311
1356
|
id: {
|
|
1312
1357
|
serializedName: "id",
|
|
1313
1358
|
type: {
|
|
1314
|
-
name: "String"
|
|
1315
|
-
}
|
|
1359
|
+
name: "String",
|
|
1360
|
+
},
|
|
1316
1361
|
},
|
|
1317
1362
|
title: {
|
|
1318
1363
|
serializedName: "title",
|
|
1319
1364
|
type: {
|
|
1320
|
-
name: "String"
|
|
1321
|
-
}
|
|
1365
|
+
name: "String",
|
|
1366
|
+
},
|
|
1322
1367
|
},
|
|
1323
1368
|
description: {
|
|
1324
1369
|
serializedName: "description",
|
|
1325
1370
|
type: {
|
|
1326
|
-
name: "String"
|
|
1327
|
-
}
|
|
1371
|
+
name: "String",
|
|
1372
|
+
},
|
|
1328
1373
|
},
|
|
1329
1374
|
guidance: {
|
|
1330
1375
|
serializedName: "guidance",
|
|
1331
1376
|
type: {
|
|
1332
|
-
name: "String"
|
|
1333
|
-
}
|
|
1377
|
+
name: "String",
|
|
1378
|
+
},
|
|
1334
1379
|
},
|
|
1335
1380
|
executionStatus: {
|
|
1336
1381
|
serializedName: "executionStatus",
|
|
1337
1382
|
type: {
|
|
1338
|
-
name: "String"
|
|
1339
|
-
}
|
|
1383
|
+
name: "String",
|
|
1384
|
+
},
|
|
1340
1385
|
},
|
|
1341
1386
|
executionStatusDescription: {
|
|
1342
1387
|
serializedName: "executionStatusDescription",
|
|
1343
1388
|
type: {
|
|
1344
|
-
name: "String"
|
|
1345
|
-
}
|
|
1389
|
+
name: "String",
|
|
1390
|
+
},
|
|
1346
1391
|
},
|
|
1347
1392
|
type: {
|
|
1348
1393
|
serializedName: "type",
|
|
1349
1394
|
type: {
|
|
1350
|
-
name: "String"
|
|
1351
|
-
}
|
|
1395
|
+
name: "String",
|
|
1396
|
+
},
|
|
1352
1397
|
},
|
|
1353
1398
|
isLastStep: {
|
|
1354
1399
|
serializedName: "isLastStep",
|
|
1355
1400
|
type: {
|
|
1356
|
-
name: "Boolean"
|
|
1357
|
-
}
|
|
1401
|
+
name: "Boolean",
|
|
1402
|
+
},
|
|
1358
1403
|
},
|
|
1359
1404
|
inputs: {
|
|
1360
1405
|
serializedName: "inputs",
|
|
@@ -1363,17 +1408,17 @@ const Step = {
|
|
|
1363
1408
|
element: {
|
|
1364
1409
|
type: {
|
|
1365
1410
|
name: "Composite",
|
|
1366
|
-
className: "StepInput"
|
|
1367
|
-
}
|
|
1368
|
-
}
|
|
1369
|
-
}
|
|
1411
|
+
className: "StepInput",
|
|
1412
|
+
},
|
|
1413
|
+
},
|
|
1414
|
+
},
|
|
1370
1415
|
},
|
|
1371
1416
|
automatedCheckResults: {
|
|
1372
1417
|
serializedName: "automatedCheckResults",
|
|
1373
1418
|
type: {
|
|
1374
1419
|
name: "Composite",
|
|
1375
|
-
className: "AutomatedCheckResult"
|
|
1376
|
-
}
|
|
1420
|
+
className: "AutomatedCheckResult",
|
|
1421
|
+
},
|
|
1377
1422
|
},
|
|
1378
1423
|
insights: {
|
|
1379
1424
|
serializedName: "insights",
|
|
@@ -1382,20 +1427,20 @@ const Step = {
|
|
|
1382
1427
|
element: {
|
|
1383
1428
|
type: {
|
|
1384
1429
|
name: "Composite",
|
|
1385
|
-
className: "Insight"
|
|
1386
|
-
}
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1430
|
+
className: "Insight",
|
|
1431
|
+
},
|
|
1432
|
+
},
|
|
1433
|
+
},
|
|
1389
1434
|
},
|
|
1390
1435
|
error: {
|
|
1391
1436
|
serializedName: "error",
|
|
1392
1437
|
type: {
|
|
1393
1438
|
name: "Composite",
|
|
1394
|
-
className: "ErrorDetail"
|
|
1395
|
-
}
|
|
1396
|
-
}
|
|
1397
|
-
}
|
|
1398
|
-
}
|
|
1439
|
+
className: "ErrorDetail",
|
|
1440
|
+
},
|
|
1441
|
+
},
|
|
1442
|
+
},
|
|
1443
|
+
},
|
|
1399
1444
|
};
|
|
1400
1445
|
const StepInput = {
|
|
1401
1446
|
type: {
|
|
@@ -1405,51 +1450,57 @@ const StepInput = {
|
|
|
1405
1450
|
questionId: {
|
|
1406
1451
|
serializedName: "questionId",
|
|
1407
1452
|
type: {
|
|
1408
|
-
name: "String"
|
|
1409
|
-
}
|
|
1453
|
+
name: "String",
|
|
1454
|
+
},
|
|
1410
1455
|
},
|
|
1411
1456
|
questionType: {
|
|
1412
1457
|
serializedName: "questionType",
|
|
1413
1458
|
type: {
|
|
1414
|
-
name: "String"
|
|
1415
|
-
}
|
|
1459
|
+
name: "String",
|
|
1460
|
+
},
|
|
1461
|
+
},
|
|
1462
|
+
questionTitle: {
|
|
1463
|
+
serializedName: "questionTitle",
|
|
1464
|
+
type: {
|
|
1465
|
+
name: "String",
|
|
1466
|
+
},
|
|
1416
1467
|
},
|
|
1417
1468
|
questionContent: {
|
|
1418
1469
|
serializedName: "questionContent",
|
|
1419
1470
|
type: {
|
|
1420
|
-
name: "String"
|
|
1421
|
-
}
|
|
1471
|
+
name: "String",
|
|
1472
|
+
},
|
|
1422
1473
|
},
|
|
1423
1474
|
questionContentType: {
|
|
1424
1475
|
serializedName: "questionContentType",
|
|
1425
1476
|
type: {
|
|
1426
|
-
name: "String"
|
|
1427
|
-
}
|
|
1477
|
+
name: "String",
|
|
1478
|
+
},
|
|
1428
1479
|
},
|
|
1429
1480
|
responseHint: {
|
|
1430
1481
|
serializedName: "responseHint",
|
|
1431
1482
|
type: {
|
|
1432
|
-
name: "String"
|
|
1433
|
-
}
|
|
1483
|
+
name: "String",
|
|
1484
|
+
},
|
|
1434
1485
|
},
|
|
1435
1486
|
recommendedOption: {
|
|
1436
1487
|
serializedName: "recommendedOption",
|
|
1437
1488
|
type: {
|
|
1438
|
-
name: "String"
|
|
1439
|
-
}
|
|
1489
|
+
name: "String",
|
|
1490
|
+
},
|
|
1440
1491
|
},
|
|
1441
1492
|
selectedOptionValue: {
|
|
1442
1493
|
serializedName: "selectedOptionValue",
|
|
1443
1494
|
type: {
|
|
1444
|
-
name: "String"
|
|
1445
|
-
}
|
|
1495
|
+
name: "String",
|
|
1496
|
+
},
|
|
1446
1497
|
},
|
|
1447
1498
|
responseValidationProperties: {
|
|
1448
1499
|
serializedName: "responseValidationProperties",
|
|
1449
1500
|
type: {
|
|
1450
1501
|
name: "Composite",
|
|
1451
|
-
className: "ResponseValidationProperties"
|
|
1452
|
-
}
|
|
1502
|
+
className: "ResponseValidationProperties",
|
|
1503
|
+
},
|
|
1453
1504
|
},
|
|
1454
1505
|
responseOptions: {
|
|
1455
1506
|
serializedName: "responseOptions",
|
|
@@ -1458,13 +1509,13 @@ const StepInput = {
|
|
|
1458
1509
|
element: {
|
|
1459
1510
|
type: {
|
|
1460
1511
|
name: "Composite",
|
|
1461
|
-
className: "ResponseOption"
|
|
1462
|
-
}
|
|
1463
|
-
}
|
|
1464
|
-
}
|
|
1465
|
-
}
|
|
1466
|
-
}
|
|
1467
|
-
}
|
|
1512
|
+
className: "ResponseOption",
|
|
1513
|
+
},
|
|
1514
|
+
},
|
|
1515
|
+
},
|
|
1516
|
+
},
|
|
1517
|
+
},
|
|
1518
|
+
},
|
|
1468
1519
|
};
|
|
1469
1520
|
const ResponseValidationProperties = {
|
|
1470
1521
|
type: {
|
|
@@ -1474,29 +1525,35 @@ const ResponseValidationProperties = {
|
|
|
1474
1525
|
regex: {
|
|
1475
1526
|
serializedName: "regex",
|
|
1476
1527
|
type: {
|
|
1477
|
-
name: "String"
|
|
1478
|
-
}
|
|
1528
|
+
name: "String",
|
|
1529
|
+
},
|
|
1530
|
+
},
|
|
1531
|
+
validationScope: {
|
|
1532
|
+
serializedName: "validationScope",
|
|
1533
|
+
type: {
|
|
1534
|
+
name: "String",
|
|
1535
|
+
},
|
|
1479
1536
|
},
|
|
1480
1537
|
isRequired: {
|
|
1481
1538
|
serializedName: "isRequired",
|
|
1482
1539
|
type: {
|
|
1483
|
-
name: "Boolean"
|
|
1484
|
-
}
|
|
1540
|
+
name: "Boolean",
|
|
1541
|
+
},
|
|
1485
1542
|
},
|
|
1486
1543
|
validationErrorMessage: {
|
|
1487
1544
|
serializedName: "validationErrorMessage",
|
|
1488
1545
|
type: {
|
|
1489
|
-
name: "String"
|
|
1490
|
-
}
|
|
1546
|
+
name: "String",
|
|
1547
|
+
},
|
|
1491
1548
|
},
|
|
1492
1549
|
maxLength: {
|
|
1493
1550
|
serializedName: "maxLength",
|
|
1494
1551
|
type: {
|
|
1495
|
-
name: "Number"
|
|
1496
|
-
}
|
|
1497
|
-
}
|
|
1498
|
-
}
|
|
1499
|
-
}
|
|
1552
|
+
name: "Number",
|
|
1553
|
+
},
|
|
1554
|
+
},
|
|
1555
|
+
},
|
|
1556
|
+
},
|
|
1500
1557
|
};
|
|
1501
1558
|
const ResponseOption = {
|
|
1502
1559
|
type: {
|
|
@@ -1506,37 +1563,49 @@ const ResponseOption = {
|
|
|
1506
1563
|
key: {
|
|
1507
1564
|
serializedName: "key",
|
|
1508
1565
|
type: {
|
|
1509
|
-
name: "String"
|
|
1510
|
-
}
|
|
1566
|
+
name: "String",
|
|
1567
|
+
},
|
|
1511
1568
|
},
|
|
1512
1569
|
value: {
|
|
1513
1570
|
serializedName: "value",
|
|
1514
1571
|
type: {
|
|
1515
|
-
name: "String"
|
|
1516
|
-
}
|
|
1517
|
-
}
|
|
1518
|
-
}
|
|
1519
|
-
}
|
|
1572
|
+
name: "String",
|
|
1573
|
+
},
|
|
1574
|
+
},
|
|
1575
|
+
},
|
|
1576
|
+
},
|
|
1520
1577
|
};
|
|
1521
1578
|
const AutomatedCheckResult = {
|
|
1522
1579
|
type: {
|
|
1523
1580
|
name: "Composite",
|
|
1524
1581
|
className: "AutomatedCheckResult",
|
|
1525
1582
|
modelProperties: {
|
|
1583
|
+
version: {
|
|
1584
|
+
serializedName: "version",
|
|
1585
|
+
type: {
|
|
1586
|
+
name: "String",
|
|
1587
|
+
},
|
|
1588
|
+
},
|
|
1589
|
+
status: {
|
|
1590
|
+
serializedName: "status",
|
|
1591
|
+
type: {
|
|
1592
|
+
name: "String",
|
|
1593
|
+
},
|
|
1594
|
+
},
|
|
1526
1595
|
result: {
|
|
1527
1596
|
serializedName: "result",
|
|
1528
1597
|
type: {
|
|
1529
|
-
name: "String"
|
|
1530
|
-
}
|
|
1598
|
+
name: "String",
|
|
1599
|
+
},
|
|
1531
1600
|
},
|
|
1532
1601
|
type: {
|
|
1533
1602
|
serializedName: "type",
|
|
1534
1603
|
type: {
|
|
1535
|
-
name: "String"
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
|
-
}
|
|
1539
|
-
}
|
|
1604
|
+
name: "String",
|
|
1605
|
+
},
|
|
1606
|
+
},
|
|
1607
|
+
},
|
|
1608
|
+
},
|
|
1540
1609
|
};
|
|
1541
1610
|
const ContinueRequestBody = {
|
|
1542
1611
|
type: {
|
|
@@ -1546,8 +1615,8 @@ const ContinueRequestBody = {
|
|
|
1546
1615
|
stepId: {
|
|
1547
1616
|
serializedName: "stepId",
|
|
1548
1617
|
type: {
|
|
1549
|
-
name: "String"
|
|
1550
|
-
}
|
|
1618
|
+
name: "String",
|
|
1619
|
+
},
|
|
1551
1620
|
},
|
|
1552
1621
|
responses: {
|
|
1553
1622
|
serializedName: "responses",
|
|
@@ -1556,13 +1625,13 @@ const ContinueRequestBody = {
|
|
|
1556
1625
|
element: {
|
|
1557
1626
|
type: {
|
|
1558
1627
|
name: "Composite",
|
|
1559
|
-
className: "TroubleshooterResponse"
|
|
1560
|
-
}
|
|
1561
|
-
}
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
}
|
|
1565
|
-
}
|
|
1628
|
+
className: "TroubleshooterResponse",
|
|
1629
|
+
},
|
|
1630
|
+
},
|
|
1631
|
+
},
|
|
1632
|
+
},
|
|
1633
|
+
},
|
|
1634
|
+
},
|
|
1566
1635
|
};
|
|
1567
1636
|
const TroubleshooterResponse = {
|
|
1568
1637
|
type: {
|
|
@@ -1572,23 +1641,23 @@ const TroubleshooterResponse = {
|
|
|
1572
1641
|
questionId: {
|
|
1573
1642
|
serializedName: "questionId",
|
|
1574
1643
|
type: {
|
|
1575
|
-
name: "String"
|
|
1576
|
-
}
|
|
1644
|
+
name: "String",
|
|
1645
|
+
},
|
|
1577
1646
|
},
|
|
1578
1647
|
questionType: {
|
|
1579
1648
|
serializedName: "questionType",
|
|
1580
1649
|
type: {
|
|
1581
|
-
name: "String"
|
|
1582
|
-
}
|
|
1650
|
+
name: "String",
|
|
1651
|
+
},
|
|
1583
1652
|
},
|
|
1584
1653
|
response: {
|
|
1585
1654
|
serializedName: "response",
|
|
1586
1655
|
type: {
|
|
1587
|
-
name: "String"
|
|
1588
|
-
}
|
|
1589
|
-
}
|
|
1590
|
-
}
|
|
1591
|
-
}
|
|
1656
|
+
name: "String",
|
|
1657
|
+
},
|
|
1658
|
+
},
|
|
1659
|
+
},
|
|
1660
|
+
},
|
|
1592
1661
|
};
|
|
1593
1662
|
const RestartTroubleshooterResponse = {
|
|
1594
1663
|
type: {
|
|
@@ -1599,18 +1668,175 @@ const RestartTroubleshooterResponse = {
|
|
|
1599
1668
|
serializedName: "troubleshooterResourceName",
|
|
1600
1669
|
readOnly: true,
|
|
1601
1670
|
type: {
|
|
1602
|
-
name: "String"
|
|
1603
|
-
}
|
|
1604
|
-
}
|
|
1605
|
-
}
|
|
1606
|
-
}
|
|
1671
|
+
name: "String",
|
|
1672
|
+
},
|
|
1673
|
+
},
|
|
1674
|
+
},
|
|
1675
|
+
},
|
|
1676
|
+
};
|
|
1677
|
+
const ReplacementMapsSelfHelp = {
|
|
1678
|
+
type: {
|
|
1679
|
+
name: "Composite",
|
|
1680
|
+
className: "ReplacementMapsSelfHelp",
|
|
1681
|
+
modelProperties: {
|
|
1682
|
+
webResults: {
|
|
1683
|
+
serializedName: "webResults",
|
|
1684
|
+
type: {
|
|
1685
|
+
name: "Sequence",
|
|
1686
|
+
element: {
|
|
1687
|
+
type: {
|
|
1688
|
+
name: "Composite",
|
|
1689
|
+
className: "WebResult",
|
|
1690
|
+
},
|
|
1691
|
+
},
|
|
1692
|
+
},
|
|
1693
|
+
},
|
|
1694
|
+
videos: {
|
|
1695
|
+
serializedName: "videos",
|
|
1696
|
+
type: {
|
|
1697
|
+
name: "Sequence",
|
|
1698
|
+
element: {
|
|
1699
|
+
type: {
|
|
1700
|
+
name: "Composite",
|
|
1701
|
+
className: "Video",
|
|
1702
|
+
},
|
|
1703
|
+
},
|
|
1704
|
+
},
|
|
1705
|
+
},
|
|
1706
|
+
videoGroups: {
|
|
1707
|
+
serializedName: "videoGroups",
|
|
1708
|
+
type: {
|
|
1709
|
+
name: "Sequence",
|
|
1710
|
+
element: {
|
|
1711
|
+
type: {
|
|
1712
|
+
name: "Composite",
|
|
1713
|
+
className: "VideoGroup",
|
|
1714
|
+
},
|
|
1715
|
+
},
|
|
1716
|
+
},
|
|
1717
|
+
},
|
|
1718
|
+
},
|
|
1719
|
+
},
|
|
1720
|
+
};
|
|
1721
|
+
const SectionSelfHelp = {
|
|
1722
|
+
type: {
|
|
1723
|
+
name: "Composite",
|
|
1724
|
+
className: "SectionSelfHelp",
|
|
1725
|
+
modelProperties: {
|
|
1726
|
+
title: {
|
|
1727
|
+
serializedName: "title",
|
|
1728
|
+
type: {
|
|
1729
|
+
name: "String",
|
|
1730
|
+
},
|
|
1731
|
+
},
|
|
1732
|
+
content: {
|
|
1733
|
+
serializedName: "content",
|
|
1734
|
+
type: {
|
|
1735
|
+
name: "String",
|
|
1736
|
+
},
|
|
1737
|
+
},
|
|
1738
|
+
replacementMaps: {
|
|
1739
|
+
serializedName: "replacementMaps",
|
|
1740
|
+
type: {
|
|
1741
|
+
name: "Composite",
|
|
1742
|
+
className: "ReplacementMapsSelfHelp",
|
|
1743
|
+
},
|
|
1744
|
+
},
|
|
1745
|
+
},
|
|
1746
|
+
},
|
|
1747
|
+
};
|
|
1748
|
+
const DiscoveryNlpRequest = {
|
|
1749
|
+
type: {
|
|
1750
|
+
name: "Composite",
|
|
1751
|
+
className: "DiscoveryNlpRequest",
|
|
1752
|
+
modelProperties: {
|
|
1753
|
+
issueSummary: {
|
|
1754
|
+
serializedName: "issueSummary",
|
|
1755
|
+
required: true,
|
|
1756
|
+
type: {
|
|
1757
|
+
name: "String",
|
|
1758
|
+
},
|
|
1759
|
+
},
|
|
1760
|
+
resourceId: {
|
|
1761
|
+
serializedName: "resourceId",
|
|
1762
|
+
type: {
|
|
1763
|
+
name: "String",
|
|
1764
|
+
},
|
|
1765
|
+
},
|
|
1766
|
+
serviceId: {
|
|
1767
|
+
serializedName: "serviceId",
|
|
1768
|
+
type: {
|
|
1769
|
+
name: "String",
|
|
1770
|
+
},
|
|
1771
|
+
},
|
|
1772
|
+
additionalContext: {
|
|
1773
|
+
serializedName: "additionalContext",
|
|
1774
|
+
type: {
|
|
1775
|
+
name: "String",
|
|
1776
|
+
},
|
|
1777
|
+
},
|
|
1778
|
+
},
|
|
1779
|
+
},
|
|
1780
|
+
};
|
|
1781
|
+
const DiscoveryNlpResponse = {
|
|
1782
|
+
type: {
|
|
1783
|
+
name: "Composite",
|
|
1784
|
+
className: "DiscoveryNlpResponse",
|
|
1785
|
+
modelProperties: {
|
|
1786
|
+
value: {
|
|
1787
|
+
serializedName: "value",
|
|
1788
|
+
type: {
|
|
1789
|
+
name: "Sequence",
|
|
1790
|
+
element: {
|
|
1791
|
+
type: {
|
|
1792
|
+
name: "Composite",
|
|
1793
|
+
className: "SolutionNlpMetadataResource",
|
|
1794
|
+
},
|
|
1795
|
+
},
|
|
1796
|
+
},
|
|
1797
|
+
},
|
|
1798
|
+
},
|
|
1799
|
+
},
|
|
1800
|
+
};
|
|
1801
|
+
const ClassificationService = {
|
|
1802
|
+
type: {
|
|
1803
|
+
name: "Composite",
|
|
1804
|
+
className: "ClassificationService",
|
|
1805
|
+
modelProperties: {
|
|
1806
|
+
serviceId: {
|
|
1807
|
+
serializedName: "serviceId",
|
|
1808
|
+
readOnly: true,
|
|
1809
|
+
type: {
|
|
1810
|
+
name: "String",
|
|
1811
|
+
},
|
|
1812
|
+
},
|
|
1813
|
+
displayName: {
|
|
1814
|
+
serializedName: "displayName",
|
|
1815
|
+
readOnly: true,
|
|
1816
|
+
type: {
|
|
1817
|
+
name: "String",
|
|
1818
|
+
},
|
|
1819
|
+
},
|
|
1820
|
+
resourceTypes: {
|
|
1821
|
+
serializedName: "resourceTypes",
|
|
1822
|
+
type: {
|
|
1823
|
+
name: "Sequence",
|
|
1824
|
+
element: {
|
|
1825
|
+
type: {
|
|
1826
|
+
name: "String",
|
|
1827
|
+
},
|
|
1828
|
+
},
|
|
1829
|
+
},
|
|
1830
|
+
},
|
|
1831
|
+
},
|
|
1832
|
+
},
|
|
1607
1833
|
};
|
|
1608
1834
|
const ProxyResource = {
|
|
1609
1835
|
type: {
|
|
1610
1836
|
name: "Composite",
|
|
1611
1837
|
className: "ProxyResource",
|
|
1612
|
-
modelProperties: Object.assign({}, Resource.type.modelProperties)
|
|
1613
|
-
}
|
|
1838
|
+
modelProperties: Object.assign({}, Resource.type.modelProperties),
|
|
1839
|
+
},
|
|
1614
1840
|
};
|
|
1615
1841
|
const Video = {
|
|
1616
1842
|
type: {
|
|
@@ -1619,10 +1845,10 @@ const Video = {
|
|
|
1619
1845
|
modelProperties: Object.assign(Object.assign({}, VideoGroupVideo.type.modelProperties), { replacementKey: {
|
|
1620
1846
|
serializedName: "replacementKey",
|
|
1621
1847
|
type: {
|
|
1622
|
-
name: "String"
|
|
1623
|
-
}
|
|
1624
|
-
} })
|
|
1625
|
-
}
|
|
1848
|
+
name: "String",
|
|
1849
|
+
},
|
|
1850
|
+
} }),
|
|
1851
|
+
},
|
|
1626
1852
|
};
|
|
1627
1853
|
const DiagnosticResource = {
|
|
1628
1854
|
type: {
|
|
@@ -1632,8 +1858,8 @@ const DiagnosticResource = {
|
|
|
1632
1858
|
serializedName: "properties.globalParameters",
|
|
1633
1859
|
type: {
|
|
1634
1860
|
name: "Dictionary",
|
|
1635
|
-
value: { type: { name: "String" } }
|
|
1636
|
-
}
|
|
1861
|
+
value: { type: { name: "String" } },
|
|
1862
|
+
},
|
|
1637
1863
|
}, insights: {
|
|
1638
1864
|
serializedName: "properties.insights",
|
|
1639
1865
|
type: {
|
|
@@ -1641,22 +1867,22 @@ const DiagnosticResource = {
|
|
|
1641
1867
|
element: {
|
|
1642
1868
|
type: {
|
|
1643
1869
|
name: "Composite",
|
|
1644
|
-
className: "DiagnosticInvocation"
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
1647
|
-
}
|
|
1870
|
+
className: "DiagnosticInvocation",
|
|
1871
|
+
},
|
|
1872
|
+
},
|
|
1873
|
+
},
|
|
1648
1874
|
}, acceptedAt: {
|
|
1649
1875
|
serializedName: "properties.acceptedAt",
|
|
1650
1876
|
readOnly: true,
|
|
1651
1877
|
type: {
|
|
1652
|
-
name: "String"
|
|
1653
|
-
}
|
|
1878
|
+
name: "String",
|
|
1879
|
+
},
|
|
1654
1880
|
}, provisioningState: {
|
|
1655
1881
|
serializedName: "properties.provisioningState",
|
|
1656
1882
|
readOnly: true,
|
|
1657
1883
|
type: {
|
|
1658
|
-
name: "String"
|
|
1659
|
-
}
|
|
1884
|
+
name: "String",
|
|
1885
|
+
},
|
|
1660
1886
|
}, diagnostics: {
|
|
1661
1887
|
serializedName: "properties.diagnostics",
|
|
1662
1888
|
readOnly: true,
|
|
@@ -1665,12 +1891,12 @@ const DiagnosticResource = {
|
|
|
1665
1891
|
element: {
|
|
1666
1892
|
type: {
|
|
1667
1893
|
name: "Composite",
|
|
1668
|
-
className: "Diagnostic"
|
|
1669
|
-
}
|
|
1670
|
-
}
|
|
1671
|
-
}
|
|
1672
|
-
} })
|
|
1673
|
-
}
|
|
1894
|
+
className: "Diagnostic",
|
|
1895
|
+
},
|
|
1896
|
+
},
|
|
1897
|
+
},
|
|
1898
|
+
} }),
|
|
1899
|
+
},
|
|
1674
1900
|
};
|
|
1675
1901
|
const SolutionMetadataResource = {
|
|
1676
1902
|
type: {
|
|
@@ -1683,12 +1909,12 @@ const SolutionMetadataResource = {
|
|
|
1683
1909
|
element: {
|
|
1684
1910
|
type: {
|
|
1685
1911
|
name: "Composite",
|
|
1686
|
-
className: "SolutionMetadataProperties"
|
|
1687
|
-
}
|
|
1688
|
-
}
|
|
1689
|
-
}
|
|
1690
|
-
} })
|
|
1691
|
-
}
|
|
1912
|
+
className: "SolutionMetadataProperties",
|
|
1913
|
+
},
|
|
1914
|
+
},
|
|
1915
|
+
},
|
|
1916
|
+
} }),
|
|
1917
|
+
},
|
|
1692
1918
|
};
|
|
1693
1919
|
const SolutionResource = {
|
|
1694
1920
|
type: {
|
|
@@ -1701,46 +1927,46 @@ const SolutionResource = {
|
|
|
1701
1927
|
element: {
|
|
1702
1928
|
type: {
|
|
1703
1929
|
name: "Composite",
|
|
1704
|
-
className: "TriggerCriterion"
|
|
1705
|
-
}
|
|
1706
|
-
}
|
|
1707
|
-
}
|
|
1930
|
+
className: "TriggerCriterion",
|
|
1931
|
+
},
|
|
1932
|
+
},
|
|
1933
|
+
},
|
|
1708
1934
|
}, parameters: {
|
|
1709
1935
|
serializedName: "properties.parameters",
|
|
1710
1936
|
type: {
|
|
1711
1937
|
name: "Dictionary",
|
|
1712
|
-
value: { type: { name: "String" } }
|
|
1713
|
-
}
|
|
1938
|
+
value: { type: { name: "String" } },
|
|
1939
|
+
},
|
|
1714
1940
|
}, solutionId: {
|
|
1715
1941
|
serializedName: "properties.solutionId",
|
|
1716
1942
|
readOnly: true,
|
|
1717
1943
|
type: {
|
|
1718
|
-
name: "String"
|
|
1719
|
-
}
|
|
1944
|
+
name: "String",
|
|
1945
|
+
},
|
|
1720
1946
|
}, provisioningState: {
|
|
1721
1947
|
serializedName: "properties.provisioningState",
|
|
1722
1948
|
readOnly: true,
|
|
1723
1949
|
type: {
|
|
1724
|
-
name: "String"
|
|
1725
|
-
}
|
|
1950
|
+
name: "String",
|
|
1951
|
+
},
|
|
1726
1952
|
}, title: {
|
|
1727
1953
|
serializedName: "properties.title",
|
|
1728
1954
|
readOnly: true,
|
|
1729
1955
|
type: {
|
|
1730
|
-
name: "String"
|
|
1731
|
-
}
|
|
1956
|
+
name: "String",
|
|
1957
|
+
},
|
|
1732
1958
|
}, content: {
|
|
1733
1959
|
serializedName: "properties.content",
|
|
1734
1960
|
readOnly: true,
|
|
1735
1961
|
type: {
|
|
1736
|
-
name: "String"
|
|
1737
|
-
}
|
|
1962
|
+
name: "String",
|
|
1963
|
+
},
|
|
1738
1964
|
}, replacementMaps: {
|
|
1739
1965
|
serializedName: "properties.replacementMaps",
|
|
1740
1966
|
type: {
|
|
1741
1967
|
name: "Composite",
|
|
1742
|
-
className: "ReplacementMaps"
|
|
1743
|
-
}
|
|
1968
|
+
className: "ReplacementMaps",
|
|
1969
|
+
},
|
|
1744
1970
|
}, sections: {
|
|
1745
1971
|
serializedName: "properties.sections",
|
|
1746
1972
|
readOnly: true,
|
|
@@ -1749,12 +1975,55 @@ const SolutionResource = {
|
|
|
1749
1975
|
element: {
|
|
1750
1976
|
type: {
|
|
1751
1977
|
name: "Composite",
|
|
1752
|
-
className: "Section"
|
|
1753
|
-
}
|
|
1754
|
-
}
|
|
1755
|
-
}
|
|
1756
|
-
} })
|
|
1757
|
-
}
|
|
1978
|
+
className: "Section",
|
|
1979
|
+
},
|
|
1980
|
+
},
|
|
1981
|
+
},
|
|
1982
|
+
} }),
|
|
1983
|
+
},
|
|
1984
|
+
};
|
|
1985
|
+
const SimplifiedSolutionsResource = {
|
|
1986
|
+
type: {
|
|
1987
|
+
name: "Composite",
|
|
1988
|
+
className: "SimplifiedSolutionsResource",
|
|
1989
|
+
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { solutionId: {
|
|
1990
|
+
serializedName: "properties.solutionId",
|
|
1991
|
+
type: {
|
|
1992
|
+
name: "String",
|
|
1993
|
+
},
|
|
1994
|
+
}, parameters: {
|
|
1995
|
+
serializedName: "properties.parameters",
|
|
1996
|
+
type: {
|
|
1997
|
+
name: "Dictionary",
|
|
1998
|
+
value: { type: { name: "String" } },
|
|
1999
|
+
},
|
|
2000
|
+
}, title: {
|
|
2001
|
+
serializedName: "properties.title",
|
|
2002
|
+
readOnly: true,
|
|
2003
|
+
type: {
|
|
2004
|
+
name: "String",
|
|
2005
|
+
},
|
|
2006
|
+
}, appendix: {
|
|
2007
|
+
serializedName: "properties.appendix",
|
|
2008
|
+
readOnly: true,
|
|
2009
|
+
type: {
|
|
2010
|
+
name: "Dictionary",
|
|
2011
|
+
value: { type: { name: "String" } },
|
|
2012
|
+
},
|
|
2013
|
+
}, content: {
|
|
2014
|
+
serializedName: "properties.content",
|
|
2015
|
+
readOnly: true,
|
|
2016
|
+
type: {
|
|
2017
|
+
name: "String",
|
|
2018
|
+
},
|
|
2019
|
+
}, provisioningState: {
|
|
2020
|
+
serializedName: "properties.provisioningState",
|
|
2021
|
+
readOnly: true,
|
|
2022
|
+
type: {
|
|
2023
|
+
name: "String",
|
|
2024
|
+
},
|
|
2025
|
+
} }),
|
|
2026
|
+
},
|
|
1758
2027
|
};
|
|
1759
2028
|
const TroubleshooterResource = {
|
|
1760
2029
|
type: {
|
|
@@ -1763,20 +2032,20 @@ const TroubleshooterResource = {
|
|
|
1763
2032
|
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { solutionId: {
|
|
1764
2033
|
serializedName: "properties.solutionId",
|
|
1765
2034
|
type: {
|
|
1766
|
-
name: "String"
|
|
1767
|
-
}
|
|
2035
|
+
name: "String",
|
|
2036
|
+
},
|
|
1768
2037
|
}, parameters: {
|
|
1769
2038
|
serializedName: "properties.parameters",
|
|
1770
2039
|
type: {
|
|
1771
2040
|
name: "Dictionary",
|
|
1772
|
-
value: { type: { name: "String" } }
|
|
1773
|
-
}
|
|
2041
|
+
value: { type: { name: "String" } },
|
|
2042
|
+
},
|
|
1774
2043
|
}, provisioningState: {
|
|
1775
2044
|
serializedName: "properties.provisioningState",
|
|
1776
2045
|
readOnly: true,
|
|
1777
2046
|
type: {
|
|
1778
|
-
name: "String"
|
|
1779
|
-
}
|
|
2047
|
+
name: "String",
|
|
2048
|
+
},
|
|
1780
2049
|
}, steps: {
|
|
1781
2050
|
serializedName: "properties.steps",
|
|
1782
2051
|
readOnly: true,
|
|
@@ -1785,12 +2054,104 @@ const TroubleshooterResource = {
|
|
|
1785
2054
|
element: {
|
|
1786
2055
|
type: {
|
|
1787
2056
|
name: "Composite",
|
|
1788
|
-
className: "Step"
|
|
1789
|
-
}
|
|
1790
|
-
}
|
|
1791
|
-
}
|
|
1792
|
-
} })
|
|
1793
|
-
}
|
|
2057
|
+
className: "Step",
|
|
2058
|
+
},
|
|
2059
|
+
},
|
|
2060
|
+
},
|
|
2061
|
+
} }),
|
|
2062
|
+
},
|
|
2063
|
+
};
|
|
2064
|
+
const SolutionResourceSelfHelp = {
|
|
2065
|
+
type: {
|
|
2066
|
+
name: "Composite",
|
|
2067
|
+
className: "SolutionResourceSelfHelp",
|
|
2068
|
+
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { solutionId: {
|
|
2069
|
+
serializedName: "properties.solutionId",
|
|
2070
|
+
readOnly: true,
|
|
2071
|
+
type: {
|
|
2072
|
+
name: "String",
|
|
2073
|
+
},
|
|
2074
|
+
}, title: {
|
|
2075
|
+
serializedName: "properties.title",
|
|
2076
|
+
readOnly: true,
|
|
2077
|
+
type: {
|
|
2078
|
+
name: "String",
|
|
2079
|
+
},
|
|
2080
|
+
}, content: {
|
|
2081
|
+
serializedName: "properties.content",
|
|
2082
|
+
readOnly: true,
|
|
2083
|
+
type: {
|
|
2084
|
+
name: "String",
|
|
2085
|
+
},
|
|
2086
|
+
}, replacementMaps: {
|
|
2087
|
+
serializedName: "properties.replacementMaps",
|
|
2088
|
+
type: {
|
|
2089
|
+
name: "Composite",
|
|
2090
|
+
className: "ReplacementMapsSelfHelp",
|
|
2091
|
+
},
|
|
2092
|
+
}, sections: {
|
|
2093
|
+
serializedName: "properties.sections",
|
|
2094
|
+
readOnly: true,
|
|
2095
|
+
type: {
|
|
2096
|
+
name: "Sequence",
|
|
2097
|
+
element: {
|
|
2098
|
+
type: {
|
|
2099
|
+
name: "Composite",
|
|
2100
|
+
className: "SectionSelfHelp",
|
|
2101
|
+
},
|
|
2102
|
+
},
|
|
2103
|
+
},
|
|
2104
|
+
} }),
|
|
2105
|
+
},
|
|
2106
|
+
};
|
|
2107
|
+
const SolutionNlpMetadataResource = {
|
|
2108
|
+
type: {
|
|
2109
|
+
name: "Composite",
|
|
2110
|
+
className: "SolutionNlpMetadataResource",
|
|
2111
|
+
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { problemTitle: {
|
|
2112
|
+
serializedName: "properties.problemTitle",
|
|
2113
|
+
type: {
|
|
2114
|
+
name: "String",
|
|
2115
|
+
},
|
|
2116
|
+
}, problemDescription: {
|
|
2117
|
+
serializedName: "properties.problemDescription",
|
|
2118
|
+
type: {
|
|
2119
|
+
name: "String",
|
|
2120
|
+
},
|
|
2121
|
+
}, serviceId: {
|
|
2122
|
+
serializedName: "properties.serviceId",
|
|
2123
|
+
type: {
|
|
2124
|
+
name: "String",
|
|
2125
|
+
},
|
|
2126
|
+
}, problemClassificationId: {
|
|
2127
|
+
serializedName: "properties.problemClassificationId",
|
|
2128
|
+
type: {
|
|
2129
|
+
name: "String",
|
|
2130
|
+
},
|
|
2131
|
+
}, solutions: {
|
|
2132
|
+
serializedName: "properties.solutions",
|
|
2133
|
+
type: {
|
|
2134
|
+
name: "Sequence",
|
|
2135
|
+
element: {
|
|
2136
|
+
type: {
|
|
2137
|
+
name: "Composite",
|
|
2138
|
+
className: "SolutionMetadataProperties",
|
|
2139
|
+
},
|
|
2140
|
+
},
|
|
2141
|
+
},
|
|
2142
|
+
}, relatedServices: {
|
|
2143
|
+
serializedName: "properties.relatedServices",
|
|
2144
|
+
type: {
|
|
2145
|
+
name: "Sequence",
|
|
2146
|
+
element: {
|
|
2147
|
+
type: {
|
|
2148
|
+
name: "Composite",
|
|
2149
|
+
className: "ClassificationService",
|
|
2150
|
+
},
|
|
2151
|
+
},
|
|
2152
|
+
},
|
|
2153
|
+
} }),
|
|
2154
|
+
},
|
|
1794
2155
|
};
|
|
1795
2156
|
const SolutionUpdateHeaders = {
|
|
1796
2157
|
type: {
|
|
@@ -1800,11 +2161,11 @@ const SolutionUpdateHeaders = {
|
|
|
1800
2161
|
location: {
|
|
1801
2162
|
serializedName: "location",
|
|
1802
2163
|
type: {
|
|
1803
|
-
name: "String"
|
|
1804
|
-
}
|
|
1805
|
-
}
|
|
1806
|
-
}
|
|
1807
|
-
}
|
|
2164
|
+
name: "String",
|
|
2165
|
+
},
|
|
2166
|
+
},
|
|
2167
|
+
},
|
|
2168
|
+
},
|
|
1808
2169
|
};
|
|
1809
2170
|
const TroubleshootersContinueHeaders = {
|
|
1810
2171
|
type: {
|
|
@@ -1814,11 +2175,11 @@ const TroubleshootersContinueHeaders = {
|
|
|
1814
2175
|
location: {
|
|
1815
2176
|
serializedName: "location",
|
|
1816
2177
|
type: {
|
|
1817
|
-
name: "String"
|
|
1818
|
-
}
|
|
1819
|
-
}
|
|
1820
|
-
}
|
|
1821
|
-
}
|
|
2178
|
+
name: "String",
|
|
2179
|
+
},
|
|
2180
|
+
},
|
|
2181
|
+
},
|
|
2182
|
+
},
|
|
1822
2183
|
};
|
|
1823
2184
|
const TroubleshootersEndHeaders = {
|
|
1824
2185
|
type: {
|
|
@@ -1828,11 +2189,11 @@ const TroubleshootersEndHeaders = {
|
|
|
1828
2189
|
location: {
|
|
1829
2190
|
serializedName: "location",
|
|
1830
2191
|
type: {
|
|
1831
|
-
name: "String"
|
|
1832
|
-
}
|
|
1833
|
-
}
|
|
1834
|
-
}
|
|
1835
|
-
}
|
|
2192
|
+
name: "String",
|
|
2193
|
+
},
|
|
2194
|
+
},
|
|
2195
|
+
},
|
|
2196
|
+
},
|
|
1836
2197
|
};
|
|
1837
2198
|
const TroubleshootersRestartHeaders = {
|
|
1838
2199
|
type: {
|
|
@@ -1842,11 +2203,11 @@ const TroubleshootersRestartHeaders = {
|
|
|
1842
2203
|
location: {
|
|
1843
2204
|
serializedName: "location",
|
|
1844
2205
|
type: {
|
|
1845
|
-
name: "String"
|
|
1846
|
-
}
|
|
1847
|
-
}
|
|
1848
|
-
}
|
|
1849
|
-
}
|
|
2206
|
+
name: "String",
|
|
2207
|
+
},
|
|
2208
|
+
},
|
|
2209
|
+
},
|
|
2210
|
+
},
|
|
1850
2211
|
};
|
|
1851
2212
|
|
|
1852
2213
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
@@ -1854,10 +2215,13 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
1854
2215
|
AutomatedCheckResult: AutomatedCheckResult,
|
|
1855
2216
|
CheckNameAvailabilityRequest: CheckNameAvailabilityRequest,
|
|
1856
2217
|
CheckNameAvailabilityResponse: CheckNameAvailabilityResponse,
|
|
2218
|
+
ClassificationService: ClassificationService,
|
|
1857
2219
|
ContinueRequestBody: ContinueRequestBody,
|
|
1858
2220
|
Diagnostic: Diagnostic,
|
|
1859
2221
|
DiagnosticInvocation: DiagnosticInvocation,
|
|
1860
2222
|
DiagnosticResource: DiagnosticResource,
|
|
2223
|
+
DiscoveryNlpRequest: DiscoveryNlpRequest,
|
|
2224
|
+
DiscoveryNlpResponse: DiscoveryNlpResponse,
|
|
1861
2225
|
DiscoveryResponse: DiscoveryResponse,
|
|
1862
2226
|
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
1863
2227
|
ErrorDetail: ErrorDetail,
|
|
@@ -1872,17 +2236,23 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
1872
2236
|
OperationListResult: OperationListResult,
|
|
1873
2237
|
ProxyResource: ProxyResource,
|
|
1874
2238
|
ReplacementMaps: ReplacementMaps,
|
|
2239
|
+
ReplacementMapsSelfHelp: ReplacementMapsSelfHelp,
|
|
1875
2240
|
Resource: Resource,
|
|
1876
2241
|
ResponseOption: ResponseOption,
|
|
1877
2242
|
ResponseValidationProperties: ResponseValidationProperties,
|
|
1878
2243
|
RestartTroubleshooterResponse: RestartTroubleshooterResponse,
|
|
1879
2244
|
SearchResult: SearchResult,
|
|
1880
2245
|
Section: Section,
|
|
2246
|
+
SectionSelfHelp: SectionSelfHelp,
|
|
2247
|
+
SimplifiedSolutionsResource: SimplifiedSolutionsResource,
|
|
1881
2248
|
SolutionMetadataProperties: SolutionMetadataProperties,
|
|
1882
2249
|
SolutionMetadataResource: SolutionMetadataResource,
|
|
2250
|
+
SolutionNlpMetadataResource: SolutionNlpMetadataResource,
|
|
1883
2251
|
SolutionPatchRequestBody: SolutionPatchRequestBody,
|
|
1884
2252
|
SolutionResource: SolutionResource,
|
|
2253
|
+
SolutionResourceSelfHelp: SolutionResourceSelfHelp,
|
|
1885
2254
|
SolutionUpdateHeaders: SolutionUpdateHeaders,
|
|
2255
|
+
SolutionWarmUpRequestBody: SolutionWarmUpRequestBody,
|
|
1886
2256
|
SolutionsDiagnostic: SolutionsDiagnostic,
|
|
1887
2257
|
SolutionsTroubleshooters: SolutionsTroubleshooters,
|
|
1888
2258
|
Step: Step,
|
|
@@ -1914,9 +2284,9 @@ const accept = {
|
|
|
1914
2284
|
isConstant: true,
|
|
1915
2285
|
serializedName: "Accept",
|
|
1916
2286
|
type: {
|
|
1917
|
-
name: "String"
|
|
1918
|
-
}
|
|
1919
|
-
}
|
|
2287
|
+
name: "String",
|
|
2288
|
+
},
|
|
2289
|
+
},
|
|
1920
2290
|
};
|
|
1921
2291
|
const $host = {
|
|
1922
2292
|
parameterPath: "$host",
|
|
@@ -1924,21 +2294,21 @@ const $host = {
|
|
|
1924
2294
|
serializedName: "$host",
|
|
1925
2295
|
required: true,
|
|
1926
2296
|
type: {
|
|
1927
|
-
name: "String"
|
|
1928
|
-
}
|
|
2297
|
+
name: "String",
|
|
2298
|
+
},
|
|
1929
2299
|
},
|
|
1930
|
-
skipEncoding: true
|
|
2300
|
+
skipEncoding: true,
|
|
1931
2301
|
};
|
|
1932
2302
|
const apiVersion = {
|
|
1933
2303
|
parameterPath: "apiVersion",
|
|
1934
2304
|
mapper: {
|
|
1935
|
-
defaultValue: "
|
|
2305
|
+
defaultValue: "2024-03-01-preview",
|
|
1936
2306
|
isConstant: true,
|
|
1937
2307
|
serializedName: "api-version",
|
|
1938
2308
|
type: {
|
|
1939
|
-
name: "String"
|
|
1940
|
-
}
|
|
1941
|
-
}
|
|
2309
|
+
name: "String",
|
|
2310
|
+
},
|
|
2311
|
+
},
|
|
1942
2312
|
};
|
|
1943
2313
|
const nextLink = {
|
|
1944
2314
|
parameterPath: "nextLink",
|
|
@@ -1946,10 +2316,10 @@ const nextLink = {
|
|
|
1946
2316
|
serializedName: "nextLink",
|
|
1947
2317
|
required: true,
|
|
1948
2318
|
type: {
|
|
1949
|
-
name: "String"
|
|
1950
|
-
}
|
|
2319
|
+
name: "String",
|
|
2320
|
+
},
|
|
1951
2321
|
},
|
|
1952
|
-
skipEncoding: true
|
|
2322
|
+
skipEncoding: true,
|
|
1953
2323
|
};
|
|
1954
2324
|
const contentType = {
|
|
1955
2325
|
parameterPath: ["options", "contentType"],
|
|
@@ -1958,13 +2328,13 @@ const contentType = {
|
|
|
1958
2328
|
isConstant: true,
|
|
1959
2329
|
serializedName: "Content-Type",
|
|
1960
2330
|
type: {
|
|
1961
|
-
name: "String"
|
|
1962
|
-
}
|
|
1963
|
-
}
|
|
2331
|
+
name: "String",
|
|
2332
|
+
},
|
|
2333
|
+
},
|
|
1964
2334
|
};
|
|
1965
2335
|
const checkNameAvailabilityRequest = {
|
|
1966
2336
|
parameterPath: ["options", "checkNameAvailabilityRequest"],
|
|
1967
|
-
mapper: CheckNameAvailabilityRequest
|
|
2337
|
+
mapper: CheckNameAvailabilityRequest,
|
|
1968
2338
|
};
|
|
1969
2339
|
const scope = {
|
|
1970
2340
|
parameterPath: "scope",
|
|
@@ -1972,14 +2342,14 @@ const scope = {
|
|
|
1972
2342
|
serializedName: "scope",
|
|
1973
2343
|
required: true,
|
|
1974
2344
|
type: {
|
|
1975
|
-
name: "String"
|
|
1976
|
-
}
|
|
2345
|
+
name: "String",
|
|
2346
|
+
},
|
|
1977
2347
|
},
|
|
1978
|
-
skipEncoding: true
|
|
2348
|
+
skipEncoding: true,
|
|
1979
2349
|
};
|
|
1980
2350
|
const diagnosticResourceRequest = {
|
|
1981
2351
|
parameterPath: ["options", "diagnosticResourceRequest"],
|
|
1982
|
-
mapper: DiagnosticResource
|
|
2352
|
+
mapper: DiagnosticResource,
|
|
1983
2353
|
};
|
|
1984
2354
|
const diagnosticsResourceName = {
|
|
1985
2355
|
parameterPath: "diagnosticsResourceName",
|
|
@@ -1987,37 +2357,37 @@ const diagnosticsResourceName = {
|
|
|
1987
2357
|
constraints: {
|
|
1988
2358
|
Pattern: new RegExp("^[A-Za-z0-9-+@()_]+$"),
|
|
1989
2359
|
MaxLength: 100,
|
|
1990
|
-
MinLength: 1
|
|
2360
|
+
MinLength: 1,
|
|
1991
2361
|
},
|
|
1992
2362
|
serializedName: "diagnosticsResourceName",
|
|
1993
2363
|
required: true,
|
|
1994
2364
|
type: {
|
|
1995
|
-
name: "String"
|
|
1996
|
-
}
|
|
1997
|
-
}
|
|
2365
|
+
name: "String",
|
|
2366
|
+
},
|
|
2367
|
+
},
|
|
1998
2368
|
};
|
|
1999
2369
|
const filter = {
|
|
2000
2370
|
parameterPath: ["options", "filter"],
|
|
2001
2371
|
mapper: {
|
|
2002
2372
|
serializedName: "$filter",
|
|
2003
2373
|
type: {
|
|
2004
|
-
name: "String"
|
|
2005
|
-
}
|
|
2374
|
+
name: "String",
|
|
2375
|
+
},
|
|
2006
2376
|
},
|
|
2007
|
-
skipEncoding: true
|
|
2377
|
+
skipEncoding: true,
|
|
2008
2378
|
};
|
|
2009
2379
|
const skiptoken = {
|
|
2010
2380
|
parameterPath: ["options", "skiptoken"],
|
|
2011
2381
|
mapper: {
|
|
2012
2382
|
serializedName: "$skiptoken",
|
|
2013
2383
|
type: {
|
|
2014
|
-
name: "String"
|
|
2015
|
-
}
|
|
2016
|
-
}
|
|
2384
|
+
name: "String",
|
|
2385
|
+
},
|
|
2386
|
+
},
|
|
2017
2387
|
};
|
|
2018
2388
|
const solutionRequestBody = {
|
|
2019
2389
|
parameterPath: ["options", "solutionRequestBody"],
|
|
2020
|
-
mapper: SolutionResource
|
|
2390
|
+
mapper: SolutionResource,
|
|
2021
2391
|
};
|
|
2022
2392
|
const solutionResourceName = {
|
|
2023
2393
|
parameterPath: "solutionResourceName",
|
|
@@ -2025,22 +2395,45 @@ const solutionResourceName = {
|
|
|
2025
2395
|
constraints: {
|
|
2026
2396
|
Pattern: new RegExp("^[A-Za-z0-9-+@()_]+$"),
|
|
2027
2397
|
MaxLength: 100,
|
|
2028
|
-
MinLength: 1
|
|
2398
|
+
MinLength: 1,
|
|
2029
2399
|
},
|
|
2030
2400
|
serializedName: "solutionResourceName",
|
|
2031
2401
|
required: true,
|
|
2032
2402
|
type: {
|
|
2033
|
-
name: "String"
|
|
2034
|
-
}
|
|
2035
|
-
}
|
|
2403
|
+
name: "String",
|
|
2404
|
+
},
|
|
2405
|
+
},
|
|
2036
2406
|
};
|
|
2037
2407
|
const solutionPatchRequestBody = {
|
|
2038
2408
|
parameterPath: ["options", "solutionPatchRequestBody"],
|
|
2039
|
-
mapper: SolutionPatchRequestBody
|
|
2409
|
+
mapper: SolutionPatchRequestBody,
|
|
2410
|
+
};
|
|
2411
|
+
const solutionWarmUpRequestBody = {
|
|
2412
|
+
parameterPath: ["options", "solutionWarmUpRequestBody"],
|
|
2413
|
+
mapper: SolutionWarmUpRequestBody,
|
|
2414
|
+
};
|
|
2415
|
+
const simplifiedSolutionsRequestBody = {
|
|
2416
|
+
parameterPath: ["options", "simplifiedSolutionsRequestBody"],
|
|
2417
|
+
mapper: SimplifiedSolutionsResource,
|
|
2418
|
+
};
|
|
2419
|
+
const simplifiedSolutionsResourceName = {
|
|
2420
|
+
parameterPath: "simplifiedSolutionsResourceName",
|
|
2421
|
+
mapper: {
|
|
2422
|
+
constraints: {
|
|
2423
|
+
Pattern: new RegExp("^[A-Za-z0-9-+@()_]+$"),
|
|
2424
|
+
MaxLength: 100,
|
|
2425
|
+
MinLength: 1,
|
|
2426
|
+
},
|
|
2427
|
+
serializedName: "simplifiedSolutionsResourceName",
|
|
2428
|
+
required: true,
|
|
2429
|
+
type: {
|
|
2430
|
+
name: "String",
|
|
2431
|
+
},
|
|
2432
|
+
},
|
|
2040
2433
|
};
|
|
2041
2434
|
const createTroubleshooterRequestBody = {
|
|
2042
2435
|
parameterPath: ["options", "createTroubleshooterRequestBody"],
|
|
2043
|
-
mapper: TroubleshooterResource
|
|
2436
|
+
mapper: TroubleshooterResource,
|
|
2044
2437
|
};
|
|
2045
2438
|
const troubleshooterName = {
|
|
2046
2439
|
parameterPath: "troubleshooterName",
|
|
@@ -2048,18 +2441,47 @@ const troubleshooterName = {
|
|
|
2048
2441
|
constraints: {
|
|
2049
2442
|
Pattern: new RegExp("([A-Za-z0-9]+(-[A-Za-z0-9]+)+)"),
|
|
2050
2443
|
MaxLength: 100,
|
|
2051
|
-
MinLength: 1
|
|
2444
|
+
MinLength: 1,
|
|
2052
2445
|
},
|
|
2053
2446
|
serializedName: "troubleshooterName",
|
|
2054
2447
|
required: true,
|
|
2055
2448
|
type: {
|
|
2056
|
-
name: "String"
|
|
2057
|
-
}
|
|
2058
|
-
}
|
|
2449
|
+
name: "String",
|
|
2450
|
+
},
|
|
2451
|
+
},
|
|
2059
2452
|
};
|
|
2060
2453
|
const continueRequestBody = {
|
|
2061
2454
|
parameterPath: ["options", "continueRequestBody"],
|
|
2062
|
-
mapper: ContinueRequestBody
|
|
2455
|
+
mapper: ContinueRequestBody,
|
|
2456
|
+
};
|
|
2457
|
+
const solutionId = {
|
|
2458
|
+
parameterPath: "solutionId",
|
|
2459
|
+
mapper: {
|
|
2460
|
+
constraints: {
|
|
2461
|
+
MaxLength: 100,
|
|
2462
|
+
MinLength: 1,
|
|
2463
|
+
},
|
|
2464
|
+
serializedName: "solutionId",
|
|
2465
|
+
required: true,
|
|
2466
|
+
type: {
|
|
2467
|
+
name: "String",
|
|
2468
|
+
},
|
|
2469
|
+
},
|
|
2470
|
+
};
|
|
2471
|
+
const discoverSolutionRequest = {
|
|
2472
|
+
parameterPath: ["options", "discoverSolutionRequest"],
|
|
2473
|
+
mapper: DiscoveryNlpRequest,
|
|
2474
|
+
};
|
|
2475
|
+
const subscriptionId = {
|
|
2476
|
+
parameterPath: "subscriptionId",
|
|
2477
|
+
mapper: {
|
|
2478
|
+
serializedName: "subscriptionId",
|
|
2479
|
+
required: true,
|
|
2480
|
+
type: {
|
|
2481
|
+
name: "String",
|
|
2482
|
+
},
|
|
2483
|
+
},
|
|
2484
|
+
skipEncoding: true,
|
|
2063
2485
|
};
|
|
2064
2486
|
|
|
2065
2487
|
/*
|
|
@@ -2097,7 +2519,7 @@ class OperationsImpl {
|
|
|
2097
2519
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2098
2520
|
}
|
|
2099
2521
|
return this.listPagingPage(options, settings);
|
|
2100
|
-
}
|
|
2522
|
+
},
|
|
2101
2523
|
};
|
|
2102
2524
|
}
|
|
2103
2525
|
listPagingPage(options, settings) {
|
|
@@ -2157,37 +2579,37 @@ class OperationsImpl {
|
|
|
2157
2579
|
}
|
|
2158
2580
|
}
|
|
2159
2581
|
// Operation Specifications
|
|
2160
|
-
const serializer$
|
|
2582
|
+
const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2161
2583
|
const listOperationSpec$1 = {
|
|
2162
2584
|
path: "/providers/Microsoft.Help/operations",
|
|
2163
2585
|
httpMethod: "GET",
|
|
2164
2586
|
responses: {
|
|
2165
2587
|
200: {
|
|
2166
|
-
bodyMapper: OperationListResult
|
|
2588
|
+
bodyMapper: OperationListResult,
|
|
2167
2589
|
},
|
|
2168
2590
|
default: {
|
|
2169
|
-
bodyMapper: ErrorResponse
|
|
2170
|
-
}
|
|
2591
|
+
bodyMapper: ErrorResponse,
|
|
2592
|
+
},
|
|
2171
2593
|
},
|
|
2172
2594
|
queryParameters: [apiVersion],
|
|
2173
2595
|
urlParameters: [$host],
|
|
2174
2596
|
headerParameters: [accept],
|
|
2175
|
-
serializer: serializer$
|
|
2597
|
+
serializer: serializer$9,
|
|
2176
2598
|
};
|
|
2177
2599
|
const listNextOperationSpec$1 = {
|
|
2178
2600
|
path: "{nextLink}",
|
|
2179
2601
|
httpMethod: "GET",
|
|
2180
2602
|
responses: {
|
|
2181
2603
|
200: {
|
|
2182
|
-
bodyMapper: OperationListResult
|
|
2604
|
+
bodyMapper: OperationListResult,
|
|
2183
2605
|
},
|
|
2184
2606
|
default: {
|
|
2185
|
-
bodyMapper: ErrorResponse
|
|
2186
|
-
}
|
|
2607
|
+
bodyMapper: ErrorResponse,
|
|
2608
|
+
},
|
|
2187
2609
|
},
|
|
2188
2610
|
urlParameters: [$host, nextLink],
|
|
2189
2611
|
headerParameters: [accept],
|
|
2190
|
-
serializer: serializer$
|
|
2612
|
+
serializer: serializer$9,
|
|
2191
2613
|
};
|
|
2192
2614
|
|
|
2193
2615
|
/*
|
|
@@ -2215,28 +2637,28 @@ class CheckNameAvailabilityImpl {
|
|
|
2215
2637
|
* @param options The options parameters.
|
|
2216
2638
|
*/
|
|
2217
2639
|
post(scope, options) {
|
|
2218
|
-
return this.client.sendOperationRequest({ scope, options }, postOperationSpec);
|
|
2640
|
+
return this.client.sendOperationRequest({ scope, options }, postOperationSpec$2);
|
|
2219
2641
|
}
|
|
2220
2642
|
}
|
|
2221
2643
|
// Operation Specifications
|
|
2222
|
-
const serializer$
|
|
2223
|
-
const postOperationSpec = {
|
|
2644
|
+
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2645
|
+
const postOperationSpec$2 = {
|
|
2224
2646
|
path: "/{scope}/providers/Microsoft.Help/checkNameAvailability",
|
|
2225
2647
|
httpMethod: "POST",
|
|
2226
2648
|
responses: {
|
|
2227
2649
|
200: {
|
|
2228
|
-
bodyMapper: CheckNameAvailabilityResponse
|
|
2650
|
+
bodyMapper: CheckNameAvailabilityResponse,
|
|
2229
2651
|
},
|
|
2230
2652
|
default: {
|
|
2231
|
-
bodyMapper: ErrorResponse
|
|
2232
|
-
}
|
|
2653
|
+
bodyMapper: ErrorResponse,
|
|
2654
|
+
},
|
|
2233
2655
|
},
|
|
2234
2656
|
requestBody: checkNameAvailabilityRequest,
|
|
2235
2657
|
queryParameters: [apiVersion],
|
|
2236
2658
|
urlParameters: [$host, scope],
|
|
2237
2659
|
headerParameters: [accept, contentType],
|
|
2238
2660
|
mediaType: "json",
|
|
2239
|
-
serializer: serializer$
|
|
2661
|
+
serializer: serializer$8,
|
|
2240
2662
|
};
|
|
2241
2663
|
|
|
2242
2664
|
/*
|
|
@@ -2255,7 +2677,7 @@ function createLroSpec(inputs) {
|
|
|
2255
2677
|
sendPollRequest: (path, options) => {
|
|
2256
2678
|
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
2257
2679
|
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
2258
|
-
}
|
|
2680
|
+
},
|
|
2259
2681
|
};
|
|
2260
2682
|
}
|
|
2261
2683
|
|
|
@@ -2276,11 +2698,9 @@ class DiagnosticsImpl {
|
|
|
2276
2698
|
this.client = client;
|
|
2277
2699
|
}
|
|
2278
2700
|
/**
|
|
2279
|
-
* Creates a diagnostic for the specific resource using solutionId
|
|
2280
|
-
*
|
|
2281
|
-
*
|
|
2282
|
-
* </b> ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as
|
|
2283
|
-
* an input to Diagnostics API.
|
|
2701
|
+
* Creates a diagnostic for the specific resource using solutionId from discovery solutions.
|
|
2702
|
+
* <br/>Diagnostics are powerful solutions that access product resources or other relevant data and
|
|
2703
|
+
* provide the root cause of the issue and the steps to address the issue.<br/><br/>
|
|
2284
2704
|
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2285
2705
|
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2286
2706
|
*
|
|
@@ -2307,30 +2727,28 @@ class DiagnosticsImpl {
|
|
|
2307
2727
|
rawResponse: {
|
|
2308
2728
|
statusCode: currentRawResponse.status,
|
|
2309
2729
|
body: currentRawResponse.parsedBody,
|
|
2310
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2311
|
-
}
|
|
2730
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
2731
|
+
},
|
|
2312
2732
|
};
|
|
2313
2733
|
});
|
|
2314
2734
|
const lro = createLroSpec({
|
|
2315
2735
|
sendOperationFn,
|
|
2316
2736
|
args: { scope, diagnosticsResourceName, options },
|
|
2317
|
-
spec: createOperationSpec$
|
|
2737
|
+
spec: createOperationSpec$3,
|
|
2318
2738
|
});
|
|
2319
2739
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2320
2740
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2321
2741
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2322
|
-
resourceLocationConfig: "azure-async-operation"
|
|
2742
|
+
resourceLocationConfig: "azure-async-operation",
|
|
2323
2743
|
});
|
|
2324
2744
|
yield poller.poll();
|
|
2325
2745
|
return poller;
|
|
2326
2746
|
});
|
|
2327
2747
|
}
|
|
2328
2748
|
/**
|
|
2329
|
-
* Creates a diagnostic for the specific resource using solutionId
|
|
2330
|
-
*
|
|
2331
|
-
*
|
|
2332
|
-
* </b> ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as
|
|
2333
|
-
* an input to Diagnostics API.
|
|
2749
|
+
* Creates a diagnostic for the specific resource using solutionId from discovery solutions.
|
|
2750
|
+
* <br/>Diagnostics are powerful solutions that access product resources or other relevant data and
|
|
2751
|
+
* provide the root cause of the issue and the steps to address the issue.<br/><br/>
|
|
2334
2752
|
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2335
2753
|
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2336
2754
|
*
|
|
@@ -2352,61 +2770,61 @@ class DiagnosticsImpl {
|
|
|
2352
2770
|
* @param options The options parameters.
|
|
2353
2771
|
*/
|
|
2354
2772
|
get(scope, diagnosticsResourceName, options) {
|
|
2355
|
-
return this.client.sendOperationRequest({ scope, diagnosticsResourceName, options }, getOperationSpec$
|
|
2773
|
+
return this.client.sendOperationRequest({ scope, diagnosticsResourceName, options }, getOperationSpec$4);
|
|
2356
2774
|
}
|
|
2357
2775
|
}
|
|
2358
2776
|
// Operation Specifications
|
|
2359
|
-
const serializer$
|
|
2360
|
-
const createOperationSpec$
|
|
2777
|
+
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2778
|
+
const createOperationSpec$3 = {
|
|
2361
2779
|
path: "/{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}",
|
|
2362
2780
|
httpMethod: "PUT",
|
|
2363
2781
|
responses: {
|
|
2364
2782
|
200: {
|
|
2365
|
-
bodyMapper: DiagnosticResource
|
|
2783
|
+
bodyMapper: DiagnosticResource,
|
|
2366
2784
|
},
|
|
2367
2785
|
201: {
|
|
2368
|
-
bodyMapper: DiagnosticResource
|
|
2786
|
+
bodyMapper: DiagnosticResource,
|
|
2369
2787
|
},
|
|
2370
2788
|
202: {
|
|
2371
|
-
bodyMapper: DiagnosticResource
|
|
2789
|
+
bodyMapper: DiagnosticResource,
|
|
2372
2790
|
},
|
|
2373
2791
|
204: {
|
|
2374
|
-
bodyMapper: DiagnosticResource
|
|
2792
|
+
bodyMapper: DiagnosticResource,
|
|
2375
2793
|
},
|
|
2376
2794
|
default: {
|
|
2377
|
-
bodyMapper: ErrorResponse
|
|
2378
|
-
}
|
|
2795
|
+
bodyMapper: ErrorResponse,
|
|
2796
|
+
},
|
|
2379
2797
|
},
|
|
2380
2798
|
requestBody: diagnosticResourceRequest,
|
|
2381
2799
|
queryParameters: [apiVersion],
|
|
2382
2800
|
urlParameters: [
|
|
2383
2801
|
$host,
|
|
2384
2802
|
scope,
|
|
2385
|
-
diagnosticsResourceName
|
|
2803
|
+
diagnosticsResourceName,
|
|
2386
2804
|
],
|
|
2387
2805
|
headerParameters: [accept, contentType],
|
|
2388
2806
|
mediaType: "json",
|
|
2389
|
-
serializer: serializer$
|
|
2807
|
+
serializer: serializer$7,
|
|
2390
2808
|
};
|
|
2391
|
-
const getOperationSpec$
|
|
2809
|
+
const getOperationSpec$4 = {
|
|
2392
2810
|
path: "/{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}",
|
|
2393
2811
|
httpMethod: "GET",
|
|
2394
2812
|
responses: {
|
|
2395
2813
|
200: {
|
|
2396
|
-
bodyMapper: DiagnosticResource
|
|
2814
|
+
bodyMapper: DiagnosticResource,
|
|
2397
2815
|
},
|
|
2398
2816
|
default: {
|
|
2399
|
-
bodyMapper: ErrorResponse
|
|
2400
|
-
}
|
|
2817
|
+
bodyMapper: ErrorResponse,
|
|
2818
|
+
},
|
|
2401
2819
|
},
|
|
2402
2820
|
queryParameters: [apiVersion],
|
|
2403
2821
|
urlParameters: [
|
|
2404
2822
|
$host,
|
|
2405
2823
|
scope,
|
|
2406
|
-
diagnosticsResourceName
|
|
2824
|
+
diagnosticsResourceName,
|
|
2407
2825
|
],
|
|
2408
2826
|
headerParameters: [accept],
|
|
2409
|
-
serializer: serializer$
|
|
2827
|
+
serializer: serializer$7,
|
|
2410
2828
|
};
|
|
2411
2829
|
|
|
2412
2830
|
/*
|
|
@@ -2427,7 +2845,7 @@ class DiscoverySolutionImpl {
|
|
|
2427
2845
|
this.client = client;
|
|
2428
2846
|
}
|
|
2429
2847
|
/**
|
|
2430
|
-
* Lists the relevant Azure
|
|
2848
|
+
* Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using [problemClassification
|
|
2431
2849
|
* API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND
|
|
2432
2850
|
* resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API,
|
|
2433
2851
|
* which identifies relevant Azure diagnostics and solutions. <br/><br/> Required Input :
|
|
@@ -2436,13 +2854,10 @@ class DiscoverySolutionImpl {
|
|
|
2436
2854
|
* <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from
|
|
2437
2855
|
* Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics
|
|
2438
2856
|
* and Solutions API.
|
|
2439
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2440
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2441
|
-
*
|
|
2442
2857
|
* @param options The options parameters.
|
|
2443
2858
|
*/
|
|
2444
|
-
list(
|
|
2445
|
-
const iter = this.listPagingAll(
|
|
2859
|
+
list(options) {
|
|
2860
|
+
const iter = this.listPagingAll(options);
|
|
2446
2861
|
return {
|
|
2447
2862
|
next() {
|
|
2448
2863
|
return iter.next();
|
|
@@ -2454,23 +2869,23 @@ class DiscoverySolutionImpl {
|
|
|
2454
2869
|
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2455
2870
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2456
2871
|
}
|
|
2457
|
-
return this.listPagingPage(
|
|
2458
|
-
}
|
|
2872
|
+
return this.listPagingPage(options, settings);
|
|
2873
|
+
},
|
|
2459
2874
|
};
|
|
2460
2875
|
}
|
|
2461
|
-
listPagingPage(
|
|
2876
|
+
listPagingPage(options, settings) {
|
|
2462
2877
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
2463
2878
|
let result;
|
|
2464
2879
|
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
2465
2880
|
if (!continuationToken) {
|
|
2466
|
-
result = yield tslib.__await(this._list(
|
|
2881
|
+
result = yield tslib.__await(this._list(options));
|
|
2467
2882
|
let page = result.value || [];
|
|
2468
2883
|
continuationToken = result.nextLink;
|
|
2469
2884
|
setContinuationToken(page, continuationToken);
|
|
2470
2885
|
yield yield tslib.__await(page);
|
|
2471
2886
|
}
|
|
2472
2887
|
while (continuationToken) {
|
|
2473
|
-
result = yield tslib.__await(this._listNext(
|
|
2888
|
+
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
2474
2889
|
continuationToken = result.nextLink;
|
|
2475
2890
|
let page = result.value || [];
|
|
2476
2891
|
setContinuationToken(page, continuationToken);
|
|
@@ -2478,11 +2893,11 @@ class DiscoverySolutionImpl {
|
|
|
2478
2893
|
}
|
|
2479
2894
|
});
|
|
2480
2895
|
}
|
|
2481
|
-
listPagingAll(
|
|
2896
|
+
listPagingAll(options) {
|
|
2482
2897
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
2483
2898
|
var _a, e_1, _b, _c;
|
|
2484
2899
|
try {
|
|
2485
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(
|
|
2900
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2486
2901
|
_c = _f.value;
|
|
2487
2902
|
_d = false;
|
|
2488
2903
|
const page = _c;
|
|
@@ -2499,7 +2914,7 @@ class DiscoverySolutionImpl {
|
|
|
2499
2914
|
});
|
|
2500
2915
|
}
|
|
2501
2916
|
/**
|
|
2502
|
-
* Lists the relevant Azure
|
|
2917
|
+
* Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using [problemClassification
|
|
2503
2918
|
* API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND
|
|
2504
2919
|
* resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API,
|
|
2505
2920
|
* which identifies relevant Azure diagnostics and solutions. <br/><br/> Required Input :
|
|
@@ -2508,62 +2923,338 @@ class DiscoverySolutionImpl {
|
|
|
2508
2923
|
* <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from
|
|
2509
2924
|
* Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics
|
|
2510
2925
|
* and Solutions API.
|
|
2511
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2512
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2513
|
-
*
|
|
2514
2926
|
* @param options The options parameters.
|
|
2515
2927
|
*/
|
|
2516
|
-
_list(
|
|
2517
|
-
return this.client.sendOperationRequest({
|
|
2928
|
+
_list(options) {
|
|
2929
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
2518
2930
|
}
|
|
2519
2931
|
/**
|
|
2520
2932
|
* ListNext
|
|
2521
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2522
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2523
|
-
*
|
|
2524
2933
|
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
2525
2934
|
* @param options The options parameters.
|
|
2526
2935
|
*/
|
|
2527
|
-
_listNext(
|
|
2528
|
-
return this.client.sendOperationRequest({
|
|
2936
|
+
_listNext(nextLink, options) {
|
|
2937
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
2529
2938
|
}
|
|
2530
2939
|
}
|
|
2531
2940
|
// Operation Specifications
|
|
2532
|
-
const serializer$
|
|
2941
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2533
2942
|
const listOperationSpec = {
|
|
2534
|
-
path: "/
|
|
2943
|
+
path: "/providers/Microsoft.Help/discoverySolutions",
|
|
2535
2944
|
httpMethod: "GET",
|
|
2536
2945
|
responses: {
|
|
2537
2946
|
200: {
|
|
2538
|
-
bodyMapper: DiscoveryResponse
|
|
2947
|
+
bodyMapper: DiscoveryResponse,
|
|
2539
2948
|
},
|
|
2540
2949
|
default: {
|
|
2541
|
-
bodyMapper: ErrorResponse
|
|
2542
|
-
}
|
|
2950
|
+
bodyMapper: ErrorResponse,
|
|
2951
|
+
},
|
|
2543
2952
|
},
|
|
2544
2953
|
queryParameters: [
|
|
2545
2954
|
apiVersion,
|
|
2546
2955
|
filter,
|
|
2547
|
-
skiptoken
|
|
2956
|
+
skiptoken,
|
|
2957
|
+
],
|
|
2958
|
+
urlParameters: [$host],
|
|
2959
|
+
headerParameters: [accept],
|
|
2960
|
+
serializer: serializer$6,
|
|
2961
|
+
};
|
|
2962
|
+
const listNextOperationSpec = {
|
|
2963
|
+
path: "{nextLink}",
|
|
2964
|
+
httpMethod: "GET",
|
|
2965
|
+
responses: {
|
|
2966
|
+
200: {
|
|
2967
|
+
bodyMapper: DiscoveryResponse,
|
|
2968
|
+
},
|
|
2969
|
+
default: {
|
|
2970
|
+
bodyMapper: ErrorResponse,
|
|
2971
|
+
},
|
|
2972
|
+
},
|
|
2973
|
+
urlParameters: [$host, nextLink],
|
|
2974
|
+
headerParameters: [accept],
|
|
2975
|
+
serializer: serializer$6,
|
|
2976
|
+
};
|
|
2977
|
+
|
|
2978
|
+
/*
|
|
2979
|
+
* Copyright (c) Microsoft Corporation.
|
|
2980
|
+
* Licensed under the MIT License.
|
|
2981
|
+
*
|
|
2982
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2983
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2984
|
+
*/
|
|
2985
|
+
/** Class containing Solution operations. */
|
|
2986
|
+
class SolutionImpl {
|
|
2987
|
+
/**
|
|
2988
|
+
* Initialize a new instance of the class Solution class.
|
|
2989
|
+
* @param client Reference to the service client
|
|
2990
|
+
*/
|
|
2991
|
+
constructor(client) {
|
|
2992
|
+
this.client = client;
|
|
2993
|
+
}
|
|
2994
|
+
/**
|
|
2995
|
+
* Creates a solution for the specific Azure resource or subscription using the inputs ‘solutionId and
|
|
2996
|
+
* requiredInputs’ from discovery solutions. <br/> Azure solutions comprise a comprehensive library of
|
|
2997
|
+
* self-help resources that have been thoughtfully curated by Azure engineers to aid customers in
|
|
2998
|
+
* resolving typical troubleshooting issues. These solutions encompass: <br/> (1.) Dynamic and
|
|
2999
|
+
* context-aware diagnostics, guided troubleshooting wizards, and data visualizations. <br/> (2.) Rich
|
|
3000
|
+
* instructional video tutorials and illustrative diagrams and images. <br/> (3.) Thoughtfully
|
|
3001
|
+
* assembled textual troubleshooting instructions. <br/> All these components are seamlessly converged
|
|
3002
|
+
* into unified solutions tailored to address a specific support problem area.
|
|
3003
|
+
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3004
|
+
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3005
|
+
*
|
|
3006
|
+
* @param solutionResourceName Solution resource Name.
|
|
3007
|
+
* @param options The options parameters.
|
|
3008
|
+
*/
|
|
3009
|
+
beginCreate(scope, solutionResourceName, options) {
|
|
3010
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3011
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3012
|
+
return this.client.sendOperationRequest(args, spec);
|
|
3013
|
+
});
|
|
3014
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3015
|
+
var _a;
|
|
3016
|
+
let currentRawResponse = undefined;
|
|
3017
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3018
|
+
const callback = (rawResponse, flatResponse) => {
|
|
3019
|
+
currentRawResponse = rawResponse;
|
|
3020
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3021
|
+
};
|
|
3022
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3023
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3024
|
+
return {
|
|
3025
|
+
flatResponse,
|
|
3026
|
+
rawResponse: {
|
|
3027
|
+
statusCode: currentRawResponse.status,
|
|
3028
|
+
body: currentRawResponse.parsedBody,
|
|
3029
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3030
|
+
},
|
|
3031
|
+
};
|
|
3032
|
+
});
|
|
3033
|
+
const lro = createLroSpec({
|
|
3034
|
+
sendOperationFn,
|
|
3035
|
+
args: { scope, solutionResourceName, options },
|
|
3036
|
+
spec: createOperationSpec$2,
|
|
3037
|
+
});
|
|
3038
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3039
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3040
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3041
|
+
resourceLocationConfig: "azure-async-operation",
|
|
3042
|
+
});
|
|
3043
|
+
yield poller.poll();
|
|
3044
|
+
return poller;
|
|
3045
|
+
});
|
|
3046
|
+
}
|
|
3047
|
+
/**
|
|
3048
|
+
* Creates a solution for the specific Azure resource or subscription using the inputs ‘solutionId and
|
|
3049
|
+
* requiredInputs’ from discovery solutions. <br/> Azure solutions comprise a comprehensive library of
|
|
3050
|
+
* self-help resources that have been thoughtfully curated by Azure engineers to aid customers in
|
|
3051
|
+
* resolving typical troubleshooting issues. These solutions encompass: <br/> (1.) Dynamic and
|
|
3052
|
+
* context-aware diagnostics, guided troubleshooting wizards, and data visualizations. <br/> (2.) Rich
|
|
3053
|
+
* instructional video tutorials and illustrative diagrams and images. <br/> (3.) Thoughtfully
|
|
3054
|
+
* assembled textual troubleshooting instructions. <br/> All these components are seamlessly converged
|
|
3055
|
+
* into unified solutions tailored to address a specific support problem area.
|
|
3056
|
+
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3057
|
+
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3058
|
+
*
|
|
3059
|
+
* @param solutionResourceName Solution resource Name.
|
|
3060
|
+
* @param options The options parameters.
|
|
3061
|
+
*/
|
|
3062
|
+
beginCreateAndWait(scope, solutionResourceName, options) {
|
|
3063
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3064
|
+
const poller = yield this.beginCreate(scope, solutionResourceName, options);
|
|
3065
|
+
return poller.pollUntilDone();
|
|
3066
|
+
});
|
|
3067
|
+
}
|
|
3068
|
+
/**
|
|
3069
|
+
* Get the solution using the applicable solutionResourceName while creating the solution.
|
|
3070
|
+
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3071
|
+
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3072
|
+
*
|
|
3073
|
+
* @param solutionResourceName Solution resource Name.
|
|
3074
|
+
* @param options The options parameters.
|
|
3075
|
+
*/
|
|
3076
|
+
get(scope, solutionResourceName, options) {
|
|
3077
|
+
return this.client.sendOperationRequest({ scope, solutionResourceName, options }, getOperationSpec$3);
|
|
3078
|
+
}
|
|
3079
|
+
/**
|
|
3080
|
+
* Update the requiredInputs or additional information needed to execute the solution
|
|
3081
|
+
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3082
|
+
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3083
|
+
*
|
|
3084
|
+
* @param solutionResourceName Solution resource Name.
|
|
3085
|
+
* @param options The options parameters.
|
|
3086
|
+
*/
|
|
3087
|
+
beginUpdate(scope, solutionResourceName, options) {
|
|
3088
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3089
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3090
|
+
return this.client.sendOperationRequest(args, spec);
|
|
3091
|
+
});
|
|
3092
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3093
|
+
var _a;
|
|
3094
|
+
let currentRawResponse = undefined;
|
|
3095
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3096
|
+
const callback = (rawResponse, flatResponse) => {
|
|
3097
|
+
currentRawResponse = rawResponse;
|
|
3098
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3099
|
+
};
|
|
3100
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3101
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3102
|
+
return {
|
|
3103
|
+
flatResponse,
|
|
3104
|
+
rawResponse: {
|
|
3105
|
+
statusCode: currentRawResponse.status,
|
|
3106
|
+
body: currentRawResponse.parsedBody,
|
|
3107
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3108
|
+
},
|
|
3109
|
+
};
|
|
3110
|
+
});
|
|
3111
|
+
const lro = createLroSpec({
|
|
3112
|
+
sendOperationFn,
|
|
3113
|
+
args: { scope, solutionResourceName, options },
|
|
3114
|
+
spec: updateOperationSpec,
|
|
3115
|
+
});
|
|
3116
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3117
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3118
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3119
|
+
resourceLocationConfig: "azure-async-operation",
|
|
3120
|
+
});
|
|
3121
|
+
yield poller.poll();
|
|
3122
|
+
return poller;
|
|
3123
|
+
});
|
|
3124
|
+
}
|
|
3125
|
+
/**
|
|
3126
|
+
* Update the requiredInputs or additional information needed to execute the solution
|
|
3127
|
+
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3128
|
+
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3129
|
+
*
|
|
3130
|
+
* @param solutionResourceName Solution resource Name.
|
|
3131
|
+
* @param options The options parameters.
|
|
3132
|
+
*/
|
|
3133
|
+
beginUpdateAndWait(scope, solutionResourceName, options) {
|
|
3134
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3135
|
+
const poller = yield this.beginUpdate(scope, solutionResourceName, options);
|
|
3136
|
+
return poller.pollUntilDone();
|
|
3137
|
+
});
|
|
3138
|
+
}
|
|
3139
|
+
/**
|
|
3140
|
+
* Warm up the solution resource by preloading asynchronous diagnostics results into cache
|
|
3141
|
+
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3142
|
+
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3143
|
+
*
|
|
3144
|
+
* @param solutionResourceName Solution resource Name.
|
|
3145
|
+
* @param options The options parameters.
|
|
3146
|
+
*/
|
|
3147
|
+
warmUp(scope, solutionResourceName, options) {
|
|
3148
|
+
return this.client.sendOperationRequest({ scope, solutionResourceName, options }, warmUpOperationSpec);
|
|
3149
|
+
}
|
|
3150
|
+
}
|
|
3151
|
+
// Operation Specifications
|
|
3152
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3153
|
+
const createOperationSpec$2 = {
|
|
3154
|
+
path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}",
|
|
3155
|
+
httpMethod: "PUT",
|
|
3156
|
+
responses: {
|
|
3157
|
+
200: {
|
|
3158
|
+
bodyMapper: SolutionResource,
|
|
3159
|
+
},
|
|
3160
|
+
201: {
|
|
3161
|
+
bodyMapper: SolutionResource,
|
|
3162
|
+
},
|
|
3163
|
+
202: {
|
|
3164
|
+
bodyMapper: SolutionResource,
|
|
3165
|
+
},
|
|
3166
|
+
204: {
|
|
3167
|
+
bodyMapper: SolutionResource,
|
|
3168
|
+
},
|
|
3169
|
+
default: {
|
|
3170
|
+
bodyMapper: ErrorResponse,
|
|
3171
|
+
},
|
|
3172
|
+
},
|
|
3173
|
+
requestBody: solutionRequestBody,
|
|
3174
|
+
queryParameters: [apiVersion],
|
|
3175
|
+
urlParameters: [
|
|
3176
|
+
$host,
|
|
3177
|
+
scope,
|
|
3178
|
+
solutionResourceName,
|
|
3179
|
+
],
|
|
3180
|
+
headerParameters: [accept, contentType],
|
|
3181
|
+
mediaType: "json",
|
|
3182
|
+
serializer: serializer$5,
|
|
3183
|
+
};
|
|
3184
|
+
const getOperationSpec$3 = {
|
|
3185
|
+
path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}",
|
|
3186
|
+
httpMethod: "GET",
|
|
3187
|
+
responses: {
|
|
3188
|
+
200: {
|
|
3189
|
+
bodyMapper: SolutionResource,
|
|
3190
|
+
},
|
|
3191
|
+
default: {
|
|
3192
|
+
bodyMapper: ErrorResponse,
|
|
3193
|
+
},
|
|
3194
|
+
},
|
|
3195
|
+
queryParameters: [apiVersion],
|
|
3196
|
+
urlParameters: [
|
|
3197
|
+
$host,
|
|
3198
|
+
scope,
|
|
3199
|
+
solutionResourceName,
|
|
3200
|
+
],
|
|
3201
|
+
headerParameters: [accept],
|
|
3202
|
+
serializer: serializer$5,
|
|
3203
|
+
};
|
|
3204
|
+
const updateOperationSpec = {
|
|
3205
|
+
path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}",
|
|
3206
|
+
httpMethod: "PATCH",
|
|
3207
|
+
responses: {
|
|
3208
|
+
200: {
|
|
3209
|
+
bodyMapper: SolutionResource,
|
|
3210
|
+
headersMapper: SolutionUpdateHeaders,
|
|
3211
|
+
},
|
|
3212
|
+
201: {
|
|
3213
|
+
bodyMapper: SolutionResource,
|
|
3214
|
+
headersMapper: SolutionUpdateHeaders,
|
|
3215
|
+
},
|
|
3216
|
+
202: {
|
|
3217
|
+
bodyMapper: SolutionResource,
|
|
3218
|
+
headersMapper: SolutionUpdateHeaders,
|
|
3219
|
+
},
|
|
3220
|
+
204: {
|
|
3221
|
+
bodyMapper: SolutionResource,
|
|
3222
|
+
headersMapper: SolutionUpdateHeaders,
|
|
3223
|
+
},
|
|
3224
|
+
default: {
|
|
3225
|
+
bodyMapper: ErrorResponse,
|
|
3226
|
+
},
|
|
3227
|
+
},
|
|
3228
|
+
requestBody: solutionPatchRequestBody,
|
|
3229
|
+
queryParameters: [apiVersion],
|
|
3230
|
+
urlParameters: [
|
|
3231
|
+
$host,
|
|
3232
|
+
scope,
|
|
3233
|
+
solutionResourceName,
|
|
2548
3234
|
],
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
serializer: serializer$
|
|
3235
|
+
headerParameters: [accept, contentType],
|
|
3236
|
+
mediaType: "json",
|
|
3237
|
+
serializer: serializer$5,
|
|
2552
3238
|
};
|
|
2553
|
-
const
|
|
2554
|
-
path: "{
|
|
2555
|
-
httpMethod: "
|
|
3239
|
+
const warmUpOperationSpec = {
|
|
3240
|
+
path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}/warmup",
|
|
3241
|
+
httpMethod: "POST",
|
|
2556
3242
|
responses: {
|
|
2557
|
-
|
|
2558
|
-
bodyMapper: DiscoveryResponse
|
|
2559
|
-
},
|
|
3243
|
+
204: {},
|
|
2560
3244
|
default: {
|
|
2561
|
-
bodyMapper: ErrorResponse
|
|
2562
|
-
}
|
|
3245
|
+
bodyMapper: ErrorResponse,
|
|
3246
|
+
},
|
|
2563
3247
|
},
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
3248
|
+
requestBody: solutionWarmUpRequestBody,
|
|
3249
|
+
queryParameters: [apiVersion],
|
|
3250
|
+
urlParameters: [
|
|
3251
|
+
$host,
|
|
3252
|
+
scope,
|
|
3253
|
+
solutionResourceName,
|
|
3254
|
+
],
|
|
3255
|
+
headerParameters: [accept, contentType],
|
|
3256
|
+
mediaType: "json",
|
|
3257
|
+
serializer: serializer$5,
|
|
2567
3258
|
};
|
|
2568
3259
|
|
|
2569
3260
|
/*
|
|
@@ -2573,38 +3264,29 @@ const listNextOperationSpec = {
|
|
|
2573
3264
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2574
3265
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2575
3266
|
*/
|
|
2576
|
-
/** Class containing
|
|
2577
|
-
class
|
|
3267
|
+
/** Class containing SimplifiedSolutions operations. */
|
|
3268
|
+
class SimplifiedSolutionsImpl {
|
|
2578
3269
|
/**
|
|
2579
|
-
* Initialize a new instance of the class
|
|
3270
|
+
* Initialize a new instance of the class SimplifiedSolutions class.
|
|
2580
3271
|
* @param client Reference to the service client
|
|
2581
3272
|
*/
|
|
2582
3273
|
constructor(client) {
|
|
2583
3274
|
this.client = client;
|
|
2584
3275
|
}
|
|
2585
3276
|
/**
|
|
2586
|
-
* Creates
|
|
2587
|
-
*
|
|
2588
|
-
*
|
|
2589
|
-
*
|
|
2590
|
-
*
|
|
2591
|
-
*
|
|
2592
|
-
* troubleshooting instructions. All these components are seamlessly converged into unified solutions
|
|
2593
|
-
* tailored to address a specific support problem area. Each solution type may require one or more
|
|
2594
|
-
* ‘requiredParameters’ that are required to execute the individual solution component. In the absence
|
|
2595
|
-
* of the ‘requiredParameters’ it is likely that some of the solutions might fail execution, and you
|
|
2596
|
-
* might see an empty response. <br/><br/> <b>Note:</b> <br/>1. ‘requiredInputs’ from Discovery
|
|
2597
|
-
* solutions response must be passed via ‘parameters’ in the request body of Solutions API. <br/>2.
|
|
2598
|
-
* ‘requiredParameters’ from the Solutions response is the same as ‘ additionalParameters’ in the
|
|
2599
|
-
* request for diagnostics <br/>3. ‘requiredParameters’ from the Solutions response is the same as
|
|
2600
|
-
* ‘properties.parameters’ in the request for Troubleshooters
|
|
3277
|
+
* Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions
|
|
3278
|
+
* as the input. <br/><br/> Simplified Solutions API makes the consumption of solutions APIs easier
|
|
3279
|
+
* while still providing access to the same powerful solutions rendered in Solutions API. With
|
|
3280
|
+
* Simplified Solutions, users don't have to worry about stitching together the article using
|
|
3281
|
+
* replacement maps and can use the content in the API response to directly render as HTML
|
|
3282
|
+
* content.<br/>
|
|
2601
3283
|
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2602
3284
|
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2603
3285
|
*
|
|
2604
|
-
* @param
|
|
3286
|
+
* @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
|
|
2605
3287
|
* @param options The options parameters.
|
|
2606
3288
|
*/
|
|
2607
|
-
beginCreate(scope,
|
|
3289
|
+
beginCreate(scope, simplifiedSolutionsResourceName, options) {
|
|
2608
3290
|
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2609
3291
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2610
3292
|
return this.client.sendOperationRequest(args, spec);
|
|
@@ -2624,211 +3306,108 @@ class SolutionImpl {
|
|
|
2624
3306
|
rawResponse: {
|
|
2625
3307
|
statusCode: currentRawResponse.status,
|
|
2626
3308
|
body: currentRawResponse.parsedBody,
|
|
2627
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2628
|
-
}
|
|
3309
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3310
|
+
},
|
|
2629
3311
|
};
|
|
2630
3312
|
});
|
|
2631
3313
|
const lro = createLroSpec({
|
|
2632
3314
|
sendOperationFn,
|
|
2633
|
-
args: { scope,
|
|
2634
|
-
spec: createOperationSpec$1
|
|
3315
|
+
args: { scope, simplifiedSolutionsResourceName, options },
|
|
3316
|
+
spec: createOperationSpec$1,
|
|
2635
3317
|
});
|
|
2636
3318
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2637
3319
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2638
3320
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2639
|
-
resourceLocationConfig: "azure-async-operation"
|
|
3321
|
+
resourceLocationConfig: "azure-async-operation",
|
|
2640
3322
|
});
|
|
2641
3323
|
yield poller.poll();
|
|
2642
3324
|
return poller;
|
|
2643
3325
|
});
|
|
2644
3326
|
}
|
|
2645
3327
|
/**
|
|
2646
|
-
* Creates
|
|
2647
|
-
*
|
|
2648
|
-
*
|
|
2649
|
-
*
|
|
2650
|
-
*
|
|
2651
|
-
*
|
|
2652
|
-
* troubleshooting instructions. All these components are seamlessly converged into unified solutions
|
|
2653
|
-
* tailored to address a specific support problem area. Each solution type may require one or more
|
|
2654
|
-
* ‘requiredParameters’ that are required to execute the individual solution component. In the absence
|
|
2655
|
-
* of the ‘requiredParameters’ it is likely that some of the solutions might fail execution, and you
|
|
2656
|
-
* might see an empty response. <br/><br/> <b>Note:</b> <br/>1. ‘requiredInputs’ from Discovery
|
|
2657
|
-
* solutions response must be passed via ‘parameters’ in the request body of Solutions API. <br/>2.
|
|
2658
|
-
* ‘requiredParameters’ from the Solutions response is the same as ‘ additionalParameters’ in the
|
|
2659
|
-
* request for diagnostics <br/>3. ‘requiredParameters’ from the Solutions response is the same as
|
|
2660
|
-
* ‘properties.parameters’ in the request for Troubleshooters
|
|
3328
|
+
* Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions
|
|
3329
|
+
* as the input. <br/><br/> Simplified Solutions API makes the consumption of solutions APIs easier
|
|
3330
|
+
* while still providing access to the same powerful solutions rendered in Solutions API. With
|
|
3331
|
+
* Simplified Solutions, users don't have to worry about stitching together the article using
|
|
3332
|
+
* replacement maps and can use the content in the API response to directly render as HTML
|
|
3333
|
+
* content.<br/>
|
|
2661
3334
|
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2662
3335
|
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2663
3336
|
*
|
|
2664
|
-
* @param
|
|
3337
|
+
* @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
|
|
2665
3338
|
* @param options The options parameters.
|
|
2666
3339
|
*/
|
|
2667
|
-
beginCreateAndWait(scope,
|
|
3340
|
+
beginCreateAndWait(scope, simplifiedSolutionsResourceName, options) {
|
|
2668
3341
|
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2669
|
-
const poller = yield this.beginCreate(scope,
|
|
3342
|
+
const poller = yield this.beginCreate(scope, simplifiedSolutionsResourceName, options);
|
|
2670
3343
|
return poller.pollUntilDone();
|
|
2671
3344
|
});
|
|
2672
3345
|
}
|
|
2673
3346
|
/**
|
|
2674
|
-
* Get the
|
|
2675
|
-
*
|
|
2676
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2677
|
-
*
|
|
2678
|
-
* @param solutionResourceName Solution resource Name.
|
|
2679
|
-
* @param options The options parameters.
|
|
2680
|
-
*/
|
|
2681
|
-
get(scope, solutionResourceName, options) {
|
|
2682
|
-
return this.client.sendOperationRequest({ scope, solutionResourceName, options }, getOperationSpec$1);
|
|
2683
|
-
}
|
|
2684
|
-
/**
|
|
2685
|
-
* Update the requiredInputs or additional information needed to execute the solution
|
|
2686
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2687
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2688
|
-
*
|
|
2689
|
-
* @param solutionResourceName Solution resource Name.
|
|
2690
|
-
* @param options The options parameters.
|
|
2691
|
-
*/
|
|
2692
|
-
beginUpdate(scope, solutionResourceName, options) {
|
|
2693
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2694
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2695
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2696
|
-
});
|
|
2697
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2698
|
-
var _a;
|
|
2699
|
-
let currentRawResponse = undefined;
|
|
2700
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2701
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2702
|
-
currentRawResponse = rawResponse;
|
|
2703
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2704
|
-
};
|
|
2705
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2706
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2707
|
-
return {
|
|
2708
|
-
flatResponse,
|
|
2709
|
-
rawResponse: {
|
|
2710
|
-
statusCode: currentRawResponse.status,
|
|
2711
|
-
body: currentRawResponse.parsedBody,
|
|
2712
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2713
|
-
}
|
|
2714
|
-
};
|
|
2715
|
-
});
|
|
2716
|
-
const lro = createLroSpec({
|
|
2717
|
-
sendOperationFn,
|
|
2718
|
-
args: { scope, solutionResourceName, options },
|
|
2719
|
-
spec: updateOperationSpec
|
|
2720
|
-
});
|
|
2721
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2722
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2723
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2724
|
-
resourceLocationConfig: "azure-async-operation"
|
|
2725
|
-
});
|
|
2726
|
-
yield poller.poll();
|
|
2727
|
-
return poller;
|
|
2728
|
-
});
|
|
2729
|
-
}
|
|
2730
|
-
/**
|
|
2731
|
-
* Update the requiredInputs or additional information needed to execute the solution
|
|
3347
|
+
* Get the simplified Solutions using the applicable solutionResourceName while creating the simplified
|
|
3348
|
+
* Solutions.
|
|
2732
3349
|
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2733
3350
|
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2734
3351
|
*
|
|
2735
|
-
* @param
|
|
3352
|
+
* @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
|
|
2736
3353
|
* @param options The options parameters.
|
|
2737
3354
|
*/
|
|
2738
|
-
|
|
2739
|
-
return
|
|
2740
|
-
const poller = yield this.beginUpdate(scope, solutionResourceName, options);
|
|
2741
|
-
return poller.pollUntilDone();
|
|
2742
|
-
});
|
|
3355
|
+
get(scope, simplifiedSolutionsResourceName, options) {
|
|
3356
|
+
return this.client.sendOperationRequest({ scope, simplifiedSolutionsResourceName, options }, getOperationSpec$2);
|
|
2743
3357
|
}
|
|
2744
3358
|
}
|
|
2745
3359
|
// Operation Specifications
|
|
2746
|
-
const serializer$
|
|
3360
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2747
3361
|
const createOperationSpec$1 = {
|
|
2748
|
-
path: "/{scope}/providers/Microsoft.Help/
|
|
3362
|
+
path: "/{scope}/providers/Microsoft.Help/simplifiedSolutions/{simplifiedSolutionsResourceName}",
|
|
2749
3363
|
httpMethod: "PUT",
|
|
2750
3364
|
responses: {
|
|
2751
3365
|
200: {
|
|
2752
|
-
bodyMapper:
|
|
3366
|
+
bodyMapper: SimplifiedSolutionsResource,
|
|
2753
3367
|
},
|
|
2754
3368
|
201: {
|
|
2755
|
-
bodyMapper:
|
|
3369
|
+
bodyMapper: SimplifiedSolutionsResource,
|
|
2756
3370
|
},
|
|
2757
3371
|
202: {
|
|
2758
|
-
bodyMapper:
|
|
3372
|
+
bodyMapper: SimplifiedSolutionsResource,
|
|
2759
3373
|
},
|
|
2760
3374
|
204: {
|
|
2761
|
-
bodyMapper:
|
|
3375
|
+
bodyMapper: SimplifiedSolutionsResource,
|
|
2762
3376
|
},
|
|
2763
3377
|
default: {
|
|
2764
|
-
bodyMapper: ErrorResponse
|
|
2765
|
-
}
|
|
3378
|
+
bodyMapper: ErrorResponse,
|
|
3379
|
+
},
|
|
2766
3380
|
},
|
|
2767
|
-
requestBody:
|
|
3381
|
+
requestBody: simplifiedSolutionsRequestBody,
|
|
2768
3382
|
queryParameters: [apiVersion],
|
|
2769
3383
|
urlParameters: [
|
|
2770
3384
|
$host,
|
|
2771
3385
|
scope,
|
|
2772
|
-
|
|
3386
|
+
simplifiedSolutionsResourceName,
|
|
2773
3387
|
],
|
|
2774
3388
|
headerParameters: [accept, contentType],
|
|
2775
3389
|
mediaType: "json",
|
|
2776
|
-
serializer: serializer$
|
|
3390
|
+
serializer: serializer$4,
|
|
2777
3391
|
};
|
|
2778
|
-
const getOperationSpec$
|
|
2779
|
-
path: "/{scope}/providers/Microsoft.Help/
|
|
3392
|
+
const getOperationSpec$2 = {
|
|
3393
|
+
path: "/{scope}/providers/Microsoft.Help/simplifiedSolutions/{simplifiedSolutionsResourceName}",
|
|
2780
3394
|
httpMethod: "GET",
|
|
2781
3395
|
responses: {
|
|
2782
3396
|
200: {
|
|
2783
|
-
bodyMapper:
|
|
3397
|
+
bodyMapper: SimplifiedSolutionsResource,
|
|
2784
3398
|
},
|
|
2785
3399
|
default: {
|
|
2786
|
-
bodyMapper: ErrorResponse
|
|
2787
|
-
}
|
|
2788
|
-
},
|
|
2789
|
-
queryParameters: [apiVersion],
|
|
2790
|
-
urlParameters: [
|
|
2791
|
-
$host,
|
|
2792
|
-
scope,
|
|
2793
|
-
solutionResourceName
|
|
2794
|
-
],
|
|
2795
|
-
headerParameters: [accept],
|
|
2796
|
-
serializer: serializer$1
|
|
2797
|
-
};
|
|
2798
|
-
const updateOperationSpec = {
|
|
2799
|
-
path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}",
|
|
2800
|
-
httpMethod: "PATCH",
|
|
2801
|
-
responses: {
|
|
2802
|
-
200: {
|
|
2803
|
-
bodyMapper: SolutionResource,
|
|
2804
|
-
headersMapper: SolutionUpdateHeaders
|
|
2805
|
-
},
|
|
2806
|
-
201: {
|
|
2807
|
-
bodyMapper: SolutionResource,
|
|
2808
|
-
headersMapper: SolutionUpdateHeaders
|
|
2809
|
-
},
|
|
2810
|
-
202: {
|
|
2811
|
-
bodyMapper: SolutionResource,
|
|
2812
|
-
headersMapper: SolutionUpdateHeaders
|
|
3400
|
+
bodyMapper: ErrorResponse,
|
|
2813
3401
|
},
|
|
2814
|
-
204: {
|
|
2815
|
-
bodyMapper: SolutionResource,
|
|
2816
|
-
headersMapper: SolutionUpdateHeaders
|
|
2817
|
-
},
|
|
2818
|
-
default: {
|
|
2819
|
-
bodyMapper: ErrorResponse
|
|
2820
|
-
}
|
|
2821
3402
|
},
|
|
2822
|
-
requestBody: solutionPatchRequestBody,
|
|
2823
3403
|
queryParameters: [apiVersion],
|
|
2824
3404
|
urlParameters: [
|
|
2825
3405
|
$host,
|
|
2826
3406
|
scope,
|
|
2827
|
-
|
|
3407
|
+
simplifiedSolutionsResourceName,
|
|
2828
3408
|
],
|
|
2829
|
-
headerParameters: [accept
|
|
2830
|
-
|
|
2831
|
-
serializer: serializer$1
|
|
3409
|
+
headerParameters: [accept],
|
|
3410
|
+
serializer: serializer$4,
|
|
2832
3411
|
};
|
|
2833
3412
|
|
|
2834
3413
|
/*
|
|
@@ -2877,7 +3456,7 @@ class TroubleshootersImpl {
|
|
|
2877
3456
|
* @param options The options parameters.
|
|
2878
3457
|
*/
|
|
2879
3458
|
get(scope, troubleshooterName, options) {
|
|
2880
|
-
return this.client.sendOperationRequest({ scope, troubleshooterName, options }, getOperationSpec);
|
|
3459
|
+
return this.client.sendOperationRequest({ scope, troubleshooterName, options }, getOperationSpec$1);
|
|
2881
3460
|
}
|
|
2882
3461
|
/**
|
|
2883
3462
|
* Uses ‘stepId’ and ‘responses’ as the trigger to continue the troubleshooting steps for the
|
|
@@ -2919,93 +3498,93 @@ class TroubleshootersImpl {
|
|
|
2919
3498
|
}
|
|
2920
3499
|
}
|
|
2921
3500
|
// Operation Specifications
|
|
2922
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3501
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2923
3502
|
const createOperationSpec = {
|
|
2924
3503
|
path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}",
|
|
2925
3504
|
httpMethod: "PUT",
|
|
2926
3505
|
responses: {
|
|
2927
3506
|
200: {
|
|
2928
|
-
bodyMapper: TroubleshooterResource
|
|
3507
|
+
bodyMapper: TroubleshooterResource,
|
|
2929
3508
|
},
|
|
2930
3509
|
201: {
|
|
2931
|
-
bodyMapper: TroubleshooterResource
|
|
3510
|
+
bodyMapper: TroubleshooterResource,
|
|
2932
3511
|
},
|
|
2933
3512
|
default: {
|
|
2934
|
-
bodyMapper: ErrorResponse
|
|
2935
|
-
}
|
|
3513
|
+
bodyMapper: ErrorResponse,
|
|
3514
|
+
},
|
|
2936
3515
|
},
|
|
2937
3516
|
requestBody: createTroubleshooterRequestBody,
|
|
2938
3517
|
queryParameters: [apiVersion],
|
|
2939
3518
|
urlParameters: [
|
|
2940
3519
|
$host,
|
|
2941
3520
|
scope,
|
|
2942
|
-
troubleshooterName
|
|
3521
|
+
troubleshooterName,
|
|
2943
3522
|
],
|
|
2944
3523
|
headerParameters: [accept, contentType],
|
|
2945
3524
|
mediaType: "json",
|
|
2946
|
-
serializer
|
|
3525
|
+
serializer: serializer$3,
|
|
2947
3526
|
};
|
|
2948
|
-
const getOperationSpec = {
|
|
3527
|
+
const getOperationSpec$1 = {
|
|
2949
3528
|
path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}",
|
|
2950
3529
|
httpMethod: "GET",
|
|
2951
3530
|
responses: {
|
|
2952
3531
|
200: {
|
|
2953
|
-
bodyMapper: TroubleshooterResource
|
|
3532
|
+
bodyMapper: TroubleshooterResource,
|
|
2954
3533
|
},
|
|
2955
3534
|
default: {
|
|
2956
|
-
bodyMapper: ErrorResponse
|
|
2957
|
-
}
|
|
3535
|
+
bodyMapper: ErrorResponse,
|
|
3536
|
+
},
|
|
2958
3537
|
},
|
|
2959
3538
|
queryParameters: [apiVersion],
|
|
2960
3539
|
urlParameters: [
|
|
2961
3540
|
$host,
|
|
2962
3541
|
scope,
|
|
2963
|
-
troubleshooterName
|
|
3542
|
+
troubleshooterName,
|
|
2964
3543
|
],
|
|
2965
3544
|
headerParameters: [accept],
|
|
2966
|
-
serializer
|
|
3545
|
+
serializer: serializer$3,
|
|
2967
3546
|
};
|
|
2968
3547
|
const continueOperationSpec = {
|
|
2969
3548
|
path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/continue",
|
|
2970
3549
|
httpMethod: "POST",
|
|
2971
3550
|
responses: {
|
|
2972
3551
|
204: {
|
|
2973
|
-
headersMapper: TroubleshootersContinueHeaders
|
|
3552
|
+
headersMapper: TroubleshootersContinueHeaders,
|
|
2974
3553
|
},
|
|
2975
3554
|
default: {
|
|
2976
|
-
bodyMapper: ErrorResponse
|
|
2977
|
-
}
|
|
3555
|
+
bodyMapper: ErrorResponse,
|
|
3556
|
+
},
|
|
2978
3557
|
},
|
|
2979
3558
|
requestBody: continueRequestBody,
|
|
2980
3559
|
queryParameters: [apiVersion],
|
|
2981
3560
|
urlParameters: [
|
|
2982
3561
|
$host,
|
|
2983
3562
|
scope,
|
|
2984
|
-
troubleshooterName
|
|
3563
|
+
troubleshooterName,
|
|
2985
3564
|
],
|
|
2986
3565
|
headerParameters: [accept, contentType],
|
|
2987
3566
|
mediaType: "json",
|
|
2988
|
-
serializer
|
|
3567
|
+
serializer: serializer$3,
|
|
2989
3568
|
};
|
|
2990
3569
|
const endOperationSpec = {
|
|
2991
3570
|
path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/end",
|
|
2992
3571
|
httpMethod: "POST",
|
|
2993
3572
|
responses: {
|
|
2994
3573
|
204: {
|
|
2995
|
-
headersMapper: TroubleshootersEndHeaders
|
|
3574
|
+
headersMapper: TroubleshootersEndHeaders,
|
|
2996
3575
|
},
|
|
2997
3576
|
default: {
|
|
2998
|
-
bodyMapper: ErrorResponse
|
|
2999
|
-
}
|
|
3577
|
+
bodyMapper: ErrorResponse,
|
|
3578
|
+
},
|
|
3000
3579
|
},
|
|
3001
3580
|
queryParameters: [apiVersion],
|
|
3002
3581
|
urlParameters: [
|
|
3003
3582
|
$host,
|
|
3004
3583
|
scope,
|
|
3005
|
-
troubleshooterName
|
|
3584
|
+
troubleshooterName,
|
|
3006
3585
|
],
|
|
3007
3586
|
headerParameters: [accept],
|
|
3008
|
-
serializer
|
|
3587
|
+
serializer: serializer$3,
|
|
3009
3588
|
};
|
|
3010
3589
|
const restartOperationSpec = {
|
|
3011
3590
|
path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/restart",
|
|
@@ -3013,20 +3592,161 @@ const restartOperationSpec = {
|
|
|
3013
3592
|
responses: {
|
|
3014
3593
|
200: {
|
|
3015
3594
|
bodyMapper: RestartTroubleshooterResponse,
|
|
3016
|
-
headersMapper: TroubleshootersRestartHeaders
|
|
3595
|
+
headersMapper: TroubleshootersRestartHeaders,
|
|
3017
3596
|
},
|
|
3018
3597
|
default: {
|
|
3019
|
-
bodyMapper: ErrorResponse
|
|
3020
|
-
}
|
|
3598
|
+
bodyMapper: ErrorResponse,
|
|
3599
|
+
},
|
|
3021
3600
|
},
|
|
3022
3601
|
queryParameters: [apiVersion],
|
|
3023
3602
|
urlParameters: [
|
|
3024
3603
|
$host,
|
|
3025
3604
|
scope,
|
|
3026
|
-
troubleshooterName
|
|
3605
|
+
troubleshooterName,
|
|
3027
3606
|
],
|
|
3028
3607
|
headerParameters: [accept],
|
|
3029
|
-
serializer
|
|
3608
|
+
serializer: serializer$3,
|
|
3609
|
+
};
|
|
3610
|
+
|
|
3611
|
+
/*
|
|
3612
|
+
* Copyright (c) Microsoft Corporation.
|
|
3613
|
+
* Licensed under the MIT License.
|
|
3614
|
+
*
|
|
3615
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3616
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3617
|
+
*/
|
|
3618
|
+
/** Class containing SolutionSelfHelp operations. */
|
|
3619
|
+
class SolutionSelfHelpImpl {
|
|
3620
|
+
/**
|
|
3621
|
+
* Initialize a new instance of the class SolutionSelfHelp class.
|
|
3622
|
+
* @param client Reference to the service client
|
|
3623
|
+
*/
|
|
3624
|
+
constructor(client) {
|
|
3625
|
+
this.client = client;
|
|
3626
|
+
}
|
|
3627
|
+
/**
|
|
3628
|
+
* Gets Self Help Solutions for a given solutionId. Self Help Solutions consist of rich instructional
|
|
3629
|
+
* video tutorials, links and guides to public documentation related to a specific problem that enables
|
|
3630
|
+
* users to troubleshoot Azure issues.
|
|
3631
|
+
* @param solutionId SolutionId is a unique id to identify a solution. You can retrieve the solution id
|
|
3632
|
+
* using the Discovery api -
|
|
3633
|
+
* https://learn.microsoft.com/en-us/rest/api/help/discovery-solution/list?view=rest-help-2023-09-01-preview&tabs=HTTP
|
|
3634
|
+
* @param options The options parameters.
|
|
3635
|
+
*/
|
|
3636
|
+
get(solutionId, options) {
|
|
3637
|
+
return this.client.sendOperationRequest({ solutionId, options }, getOperationSpec);
|
|
3638
|
+
}
|
|
3639
|
+
}
|
|
3640
|
+
// Operation Specifications
|
|
3641
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3642
|
+
const getOperationSpec = {
|
|
3643
|
+
path: "/providers/Microsoft.Help/selfHelp/{solutionId}",
|
|
3644
|
+
httpMethod: "GET",
|
|
3645
|
+
responses: {
|
|
3646
|
+
200: {
|
|
3647
|
+
bodyMapper: SolutionResourceSelfHelp,
|
|
3648
|
+
},
|
|
3649
|
+
default: {
|
|
3650
|
+
bodyMapper: ErrorResponse,
|
|
3651
|
+
},
|
|
3652
|
+
},
|
|
3653
|
+
queryParameters: [apiVersion],
|
|
3654
|
+
urlParameters: [$host, solutionId],
|
|
3655
|
+
headerParameters: [accept],
|
|
3656
|
+
serializer: serializer$2,
|
|
3657
|
+
};
|
|
3658
|
+
|
|
3659
|
+
/*
|
|
3660
|
+
* Copyright (c) Microsoft Corporation.
|
|
3661
|
+
* Licensed under the MIT License.
|
|
3662
|
+
*
|
|
3663
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3664
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3665
|
+
*/
|
|
3666
|
+
/** Class containing DiscoverySolutionNLPTenantScope operations. */
|
|
3667
|
+
class DiscoverySolutionNLPTenantScopeImpl {
|
|
3668
|
+
/**
|
|
3669
|
+
* Initialize a new instance of the class DiscoverySolutionNLPTenantScope class.
|
|
3670
|
+
* @param client Reference to the service client
|
|
3671
|
+
*/
|
|
3672
|
+
constructor(client) {
|
|
3673
|
+
this.client = client;
|
|
3674
|
+
}
|
|
3675
|
+
/**
|
|
3676
|
+
* Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
|
|
3677
|
+
* summary.
|
|
3678
|
+
* @param options The options parameters.
|
|
3679
|
+
*/
|
|
3680
|
+
post(options) {
|
|
3681
|
+
return this.client.sendOperationRequest({ options }, postOperationSpec$1);
|
|
3682
|
+
}
|
|
3683
|
+
}
|
|
3684
|
+
// Operation Specifications
|
|
3685
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3686
|
+
const postOperationSpec$1 = {
|
|
3687
|
+
path: "/providers/Microsoft.Help/discoverSolutions",
|
|
3688
|
+
httpMethod: "POST",
|
|
3689
|
+
responses: {
|
|
3690
|
+
200: {
|
|
3691
|
+
bodyMapper: DiscoveryNlpResponse,
|
|
3692
|
+
},
|
|
3693
|
+
default: {
|
|
3694
|
+
bodyMapper: ErrorResponse,
|
|
3695
|
+
},
|
|
3696
|
+
},
|
|
3697
|
+
requestBody: discoverSolutionRequest,
|
|
3698
|
+
queryParameters: [apiVersion],
|
|
3699
|
+
urlParameters: [$host],
|
|
3700
|
+
headerParameters: [accept, contentType],
|
|
3701
|
+
mediaType: "json",
|
|
3702
|
+
serializer: serializer$1,
|
|
3703
|
+
};
|
|
3704
|
+
|
|
3705
|
+
/*
|
|
3706
|
+
* Copyright (c) Microsoft Corporation.
|
|
3707
|
+
* Licensed under the MIT License.
|
|
3708
|
+
*
|
|
3709
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3710
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3711
|
+
*/
|
|
3712
|
+
/** Class containing DiscoverySolutionNLPSubscriptionScope operations. */
|
|
3713
|
+
class DiscoverySolutionNLPSubscriptionScopeImpl {
|
|
3714
|
+
/**
|
|
3715
|
+
* Initialize a new instance of the class DiscoverySolutionNLPSubscriptionScope class.
|
|
3716
|
+
* @param client Reference to the service client
|
|
3717
|
+
*/
|
|
3718
|
+
constructor(client) {
|
|
3719
|
+
this.client = client;
|
|
3720
|
+
}
|
|
3721
|
+
/**
|
|
3722
|
+
* Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
|
|
3723
|
+
* summary and subscription.
|
|
3724
|
+
* @param subscriptionId The Azure subscription ID.
|
|
3725
|
+
* @param options The options parameters.
|
|
3726
|
+
*/
|
|
3727
|
+
post(subscriptionId, options) {
|
|
3728
|
+
return this.client.sendOperationRequest({ subscriptionId, options }, postOperationSpec);
|
|
3729
|
+
}
|
|
3730
|
+
}
|
|
3731
|
+
// Operation Specifications
|
|
3732
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3733
|
+
const postOperationSpec = {
|
|
3734
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Help/discoverSolutions",
|
|
3735
|
+
httpMethod: "POST",
|
|
3736
|
+
responses: {
|
|
3737
|
+
200: {
|
|
3738
|
+
bodyMapper: DiscoveryNlpResponse,
|
|
3739
|
+
},
|
|
3740
|
+
default: {
|
|
3741
|
+
bodyMapper: ErrorResponse,
|
|
3742
|
+
},
|
|
3743
|
+
},
|
|
3744
|
+
requestBody: discoverSolutionRequest,
|
|
3745
|
+
queryParameters: [apiVersion],
|
|
3746
|
+
urlParameters: [$host, subscriptionId],
|
|
3747
|
+
headerParameters: [accept, contentType],
|
|
3748
|
+
mediaType: "json",
|
|
3749
|
+
serializer,
|
|
3030
3750
|
};
|
|
3031
3751
|
|
|
3032
3752
|
/*
|
|
@@ -3053,14 +3773,14 @@ class HelpRP extends coreClient__namespace.ServiceClient {
|
|
|
3053
3773
|
}
|
|
3054
3774
|
const defaults = {
|
|
3055
3775
|
requestContentType: "application/json; charset=utf-8",
|
|
3056
|
-
credential: credentials
|
|
3776
|
+
credential: credentials,
|
|
3057
3777
|
};
|
|
3058
|
-
const packageDetails = `azsdk-js-arm-selfhelp/2.0.0-beta.
|
|
3778
|
+
const packageDetails = `azsdk-js-arm-selfhelp/2.0.0-beta.4`;
|
|
3059
3779
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
3060
3780
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
3061
3781
|
: `${packageDetails}`;
|
|
3062
3782
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
3063
|
-
userAgentPrefix
|
|
3783
|
+
userAgentPrefix,
|
|
3064
3784
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
3065
3785
|
super(optionsWithDefaults);
|
|
3066
3786
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
@@ -3074,25 +3794,31 @@ class HelpRP extends coreClient__namespace.ServiceClient {
|
|
|
3074
3794
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
3075
3795
|
!bearerTokenAuthenticationPolicyFound) {
|
|
3076
3796
|
this.pipeline.removePolicy({
|
|
3077
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
3797
|
+
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
|
|
3078
3798
|
});
|
|
3079
3799
|
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
3080
3800
|
credential: credentials,
|
|
3081
3801
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
3082
3802
|
challengeCallbacks: {
|
|
3083
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
3084
|
-
}
|
|
3803
|
+
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
|
|
3804
|
+
},
|
|
3085
3805
|
}));
|
|
3086
3806
|
}
|
|
3087
3807
|
// Assigning values to Constant parameters
|
|
3088
3808
|
this.$host = options.$host || "https://management.azure.com";
|
|
3089
|
-
this.apiVersion = options.apiVersion || "
|
|
3809
|
+
this.apiVersion = options.apiVersion || "2024-03-01-preview";
|
|
3090
3810
|
this.operations = new OperationsImpl(this);
|
|
3091
3811
|
this.checkNameAvailability = new CheckNameAvailabilityImpl(this);
|
|
3092
3812
|
this.diagnostics = new DiagnosticsImpl(this);
|
|
3093
3813
|
this.discoverySolution = new DiscoverySolutionImpl(this);
|
|
3094
3814
|
this.solution = new SolutionImpl(this);
|
|
3815
|
+
this.simplifiedSolutions = new SimplifiedSolutionsImpl(this);
|
|
3095
3816
|
this.troubleshooters = new TroubleshootersImpl(this);
|
|
3817
|
+
this.solutionSelfHelp = new SolutionSelfHelpImpl(this);
|
|
3818
|
+
this.discoverySolutionNLPTenantScope =
|
|
3819
|
+
new DiscoverySolutionNLPTenantScopeImpl(this);
|
|
3820
|
+
this.discoverySolutionNLPSubscriptionScope =
|
|
3821
|
+
new DiscoverySolutionNLPSubscriptionScopeImpl(this);
|
|
3096
3822
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
3097
3823
|
}
|
|
3098
3824
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
@@ -3118,7 +3844,7 @@ class HelpRP extends coreClient__namespace.ServiceClient {
|
|
|
3118
3844
|
}
|
|
3119
3845
|
return next(request);
|
|
3120
3846
|
});
|
|
3121
|
-
}
|
|
3847
|
+
},
|
|
3122
3848
|
};
|
|
3123
3849
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
3124
3850
|
}
|