@azure/arm-selfhelp 2.0.0-beta.2 → 2.0.0-beta.3
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 +120 -0
- package/LICENSE +1 -1
- package/README.md +3 -2
- package/dist/index.js +1589 -861
- 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 +45 -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 +43 -0
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +5 -3
- 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 +8 -1
- package/dist-esm/src/helpRP.d.ts.map +1 -1
- package/dist-esm/src/helpRP.js +25 -15
- 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 +95 -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 +19 -0
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js +49 -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 +11 -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 +2 -2
- package/dist-esm/test/selfhelp_operations_test.spec.js.map +1 -1
- package/package.json +8 -10
- package/review/arm-selfhelp.api.md +177 -2
- package/src/helpRP.ts +58 -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 +105 -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 +64 -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 +24 -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 +359 -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,46 @@ 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: "Uuid",
|
|
2482
|
+
},
|
|
2483
|
+
},
|
|
2063
2484
|
};
|
|
2064
2485
|
|
|
2065
2486
|
/*
|
|
@@ -2097,7 +2518,7 @@ class OperationsImpl {
|
|
|
2097
2518
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2098
2519
|
}
|
|
2099
2520
|
return this.listPagingPage(options, settings);
|
|
2100
|
-
}
|
|
2521
|
+
},
|
|
2101
2522
|
};
|
|
2102
2523
|
}
|
|
2103
2524
|
listPagingPage(options, settings) {
|
|
@@ -2157,37 +2578,37 @@ class OperationsImpl {
|
|
|
2157
2578
|
}
|
|
2158
2579
|
}
|
|
2159
2580
|
// Operation Specifications
|
|
2160
|
-
const serializer$
|
|
2581
|
+
const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2161
2582
|
const listOperationSpec$1 = {
|
|
2162
2583
|
path: "/providers/Microsoft.Help/operations",
|
|
2163
2584
|
httpMethod: "GET",
|
|
2164
2585
|
responses: {
|
|
2165
2586
|
200: {
|
|
2166
|
-
bodyMapper: OperationListResult
|
|
2587
|
+
bodyMapper: OperationListResult,
|
|
2167
2588
|
},
|
|
2168
2589
|
default: {
|
|
2169
|
-
bodyMapper: ErrorResponse
|
|
2170
|
-
}
|
|
2590
|
+
bodyMapper: ErrorResponse,
|
|
2591
|
+
},
|
|
2171
2592
|
},
|
|
2172
2593
|
queryParameters: [apiVersion],
|
|
2173
2594
|
urlParameters: [$host],
|
|
2174
2595
|
headerParameters: [accept],
|
|
2175
|
-
serializer: serializer$
|
|
2596
|
+
serializer: serializer$9,
|
|
2176
2597
|
};
|
|
2177
2598
|
const listNextOperationSpec$1 = {
|
|
2178
2599
|
path: "{nextLink}",
|
|
2179
2600
|
httpMethod: "GET",
|
|
2180
2601
|
responses: {
|
|
2181
2602
|
200: {
|
|
2182
|
-
bodyMapper: OperationListResult
|
|
2603
|
+
bodyMapper: OperationListResult,
|
|
2183
2604
|
},
|
|
2184
2605
|
default: {
|
|
2185
|
-
bodyMapper: ErrorResponse
|
|
2186
|
-
}
|
|
2606
|
+
bodyMapper: ErrorResponse,
|
|
2607
|
+
},
|
|
2187
2608
|
},
|
|
2188
2609
|
urlParameters: [$host, nextLink],
|
|
2189
2610
|
headerParameters: [accept],
|
|
2190
|
-
serializer: serializer$
|
|
2611
|
+
serializer: serializer$9,
|
|
2191
2612
|
};
|
|
2192
2613
|
|
|
2193
2614
|
/*
|
|
@@ -2215,28 +2636,28 @@ class CheckNameAvailabilityImpl {
|
|
|
2215
2636
|
* @param options The options parameters.
|
|
2216
2637
|
*/
|
|
2217
2638
|
post(scope, options) {
|
|
2218
|
-
return this.client.sendOperationRequest({ scope, options }, postOperationSpec);
|
|
2639
|
+
return this.client.sendOperationRequest({ scope, options }, postOperationSpec$2);
|
|
2219
2640
|
}
|
|
2220
2641
|
}
|
|
2221
2642
|
// Operation Specifications
|
|
2222
|
-
const serializer$
|
|
2223
|
-
const postOperationSpec = {
|
|
2643
|
+
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2644
|
+
const postOperationSpec$2 = {
|
|
2224
2645
|
path: "/{scope}/providers/Microsoft.Help/checkNameAvailability",
|
|
2225
2646
|
httpMethod: "POST",
|
|
2226
2647
|
responses: {
|
|
2227
2648
|
200: {
|
|
2228
|
-
bodyMapper: CheckNameAvailabilityResponse
|
|
2649
|
+
bodyMapper: CheckNameAvailabilityResponse,
|
|
2229
2650
|
},
|
|
2230
2651
|
default: {
|
|
2231
|
-
bodyMapper: ErrorResponse
|
|
2232
|
-
}
|
|
2652
|
+
bodyMapper: ErrorResponse,
|
|
2653
|
+
},
|
|
2233
2654
|
},
|
|
2234
2655
|
requestBody: checkNameAvailabilityRequest,
|
|
2235
2656
|
queryParameters: [apiVersion],
|
|
2236
2657
|
urlParameters: [$host, scope],
|
|
2237
2658
|
headerParameters: [accept, contentType],
|
|
2238
2659
|
mediaType: "json",
|
|
2239
|
-
serializer: serializer$
|
|
2660
|
+
serializer: serializer$8,
|
|
2240
2661
|
};
|
|
2241
2662
|
|
|
2242
2663
|
/*
|
|
@@ -2255,7 +2676,7 @@ function createLroSpec(inputs) {
|
|
|
2255
2676
|
sendPollRequest: (path, options) => {
|
|
2256
2677
|
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
2257
2678
|
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
2258
|
-
}
|
|
2679
|
+
},
|
|
2259
2680
|
};
|
|
2260
2681
|
}
|
|
2261
2682
|
|
|
@@ -2276,11 +2697,9 @@ class DiagnosticsImpl {
|
|
|
2276
2697
|
this.client = client;
|
|
2277
2698
|
}
|
|
2278
2699
|
/**
|
|
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.
|
|
2700
|
+
* Creates a diagnostic for the specific resource using solutionId from discovery solutions.
|
|
2701
|
+
* <br/>Diagnostics are powerful solutions that access product resources or other relevant data and
|
|
2702
|
+
* provide the root cause of the issue and the steps to address the issue.<br/><br/>
|
|
2284
2703
|
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2285
2704
|
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2286
2705
|
*
|
|
@@ -2307,30 +2726,28 @@ class DiagnosticsImpl {
|
|
|
2307
2726
|
rawResponse: {
|
|
2308
2727
|
statusCode: currentRawResponse.status,
|
|
2309
2728
|
body: currentRawResponse.parsedBody,
|
|
2310
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2311
|
-
}
|
|
2729
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
2730
|
+
},
|
|
2312
2731
|
};
|
|
2313
2732
|
});
|
|
2314
2733
|
const lro = createLroSpec({
|
|
2315
2734
|
sendOperationFn,
|
|
2316
2735
|
args: { scope, diagnosticsResourceName, options },
|
|
2317
|
-
spec: createOperationSpec$
|
|
2736
|
+
spec: createOperationSpec$3,
|
|
2318
2737
|
});
|
|
2319
2738
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2320
2739
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2321
2740
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2322
|
-
resourceLocationConfig: "azure-async-operation"
|
|
2741
|
+
resourceLocationConfig: "azure-async-operation",
|
|
2323
2742
|
});
|
|
2324
2743
|
yield poller.poll();
|
|
2325
2744
|
return poller;
|
|
2326
2745
|
});
|
|
2327
2746
|
}
|
|
2328
2747
|
/**
|
|
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.
|
|
2748
|
+
* Creates a diagnostic for the specific resource using solutionId from discovery solutions.
|
|
2749
|
+
* <br/>Diagnostics are powerful solutions that access product resources or other relevant data and
|
|
2750
|
+
* provide the root cause of the issue and the steps to address the issue.<br/><br/>
|
|
2334
2751
|
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2335
2752
|
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2336
2753
|
*
|
|
@@ -2352,61 +2769,61 @@ class DiagnosticsImpl {
|
|
|
2352
2769
|
* @param options The options parameters.
|
|
2353
2770
|
*/
|
|
2354
2771
|
get(scope, diagnosticsResourceName, options) {
|
|
2355
|
-
return this.client.sendOperationRequest({ scope, diagnosticsResourceName, options }, getOperationSpec$
|
|
2772
|
+
return this.client.sendOperationRequest({ scope, diagnosticsResourceName, options }, getOperationSpec$4);
|
|
2356
2773
|
}
|
|
2357
2774
|
}
|
|
2358
2775
|
// Operation Specifications
|
|
2359
|
-
const serializer$
|
|
2360
|
-
const createOperationSpec$
|
|
2776
|
+
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2777
|
+
const createOperationSpec$3 = {
|
|
2361
2778
|
path: "/{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}",
|
|
2362
2779
|
httpMethod: "PUT",
|
|
2363
2780
|
responses: {
|
|
2364
2781
|
200: {
|
|
2365
|
-
bodyMapper: DiagnosticResource
|
|
2782
|
+
bodyMapper: DiagnosticResource,
|
|
2366
2783
|
},
|
|
2367
2784
|
201: {
|
|
2368
|
-
bodyMapper: DiagnosticResource
|
|
2785
|
+
bodyMapper: DiagnosticResource,
|
|
2369
2786
|
},
|
|
2370
2787
|
202: {
|
|
2371
|
-
bodyMapper: DiagnosticResource
|
|
2788
|
+
bodyMapper: DiagnosticResource,
|
|
2372
2789
|
},
|
|
2373
2790
|
204: {
|
|
2374
|
-
bodyMapper: DiagnosticResource
|
|
2791
|
+
bodyMapper: DiagnosticResource,
|
|
2375
2792
|
},
|
|
2376
2793
|
default: {
|
|
2377
|
-
bodyMapper: ErrorResponse
|
|
2378
|
-
}
|
|
2794
|
+
bodyMapper: ErrorResponse,
|
|
2795
|
+
},
|
|
2379
2796
|
},
|
|
2380
2797
|
requestBody: diagnosticResourceRequest,
|
|
2381
2798
|
queryParameters: [apiVersion],
|
|
2382
2799
|
urlParameters: [
|
|
2383
2800
|
$host,
|
|
2384
2801
|
scope,
|
|
2385
|
-
diagnosticsResourceName
|
|
2802
|
+
diagnosticsResourceName,
|
|
2386
2803
|
],
|
|
2387
2804
|
headerParameters: [accept, contentType],
|
|
2388
2805
|
mediaType: "json",
|
|
2389
|
-
serializer: serializer$
|
|
2806
|
+
serializer: serializer$7,
|
|
2390
2807
|
};
|
|
2391
|
-
const getOperationSpec$
|
|
2808
|
+
const getOperationSpec$4 = {
|
|
2392
2809
|
path: "/{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}",
|
|
2393
2810
|
httpMethod: "GET",
|
|
2394
2811
|
responses: {
|
|
2395
2812
|
200: {
|
|
2396
|
-
bodyMapper: DiagnosticResource
|
|
2813
|
+
bodyMapper: DiagnosticResource,
|
|
2397
2814
|
},
|
|
2398
2815
|
default: {
|
|
2399
|
-
bodyMapper: ErrorResponse
|
|
2400
|
-
}
|
|
2816
|
+
bodyMapper: ErrorResponse,
|
|
2817
|
+
},
|
|
2401
2818
|
},
|
|
2402
2819
|
queryParameters: [apiVersion],
|
|
2403
2820
|
urlParameters: [
|
|
2404
2821
|
$host,
|
|
2405
2822
|
scope,
|
|
2406
|
-
diagnosticsResourceName
|
|
2823
|
+
diagnosticsResourceName,
|
|
2407
2824
|
],
|
|
2408
2825
|
headerParameters: [accept],
|
|
2409
|
-
serializer: serializer$
|
|
2826
|
+
serializer: serializer$7,
|
|
2410
2827
|
};
|
|
2411
2828
|
|
|
2412
2829
|
/*
|
|
@@ -2427,7 +2844,7 @@ class DiscoverySolutionImpl {
|
|
|
2427
2844
|
this.client = client;
|
|
2428
2845
|
}
|
|
2429
2846
|
/**
|
|
2430
|
-
* Lists the relevant Azure
|
|
2847
|
+
* Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using [problemClassification
|
|
2431
2848
|
* API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND
|
|
2432
2849
|
* resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API,
|
|
2433
2850
|
* which identifies relevant Azure diagnostics and solutions. <br/><br/> Required Input :
|
|
@@ -2436,13 +2853,10 @@ class DiscoverySolutionImpl {
|
|
|
2436
2853
|
* <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from
|
|
2437
2854
|
* Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics
|
|
2438
2855
|
* 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
2856
|
* @param options The options parameters.
|
|
2443
2857
|
*/
|
|
2444
|
-
list(
|
|
2445
|
-
const iter = this.listPagingAll(
|
|
2858
|
+
list(options) {
|
|
2859
|
+
const iter = this.listPagingAll(options);
|
|
2446
2860
|
return {
|
|
2447
2861
|
next() {
|
|
2448
2862
|
return iter.next();
|
|
@@ -2454,23 +2868,23 @@ class DiscoverySolutionImpl {
|
|
|
2454
2868
|
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2455
2869
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2456
2870
|
}
|
|
2457
|
-
return this.listPagingPage(
|
|
2458
|
-
}
|
|
2871
|
+
return this.listPagingPage(options, settings);
|
|
2872
|
+
},
|
|
2459
2873
|
};
|
|
2460
2874
|
}
|
|
2461
|
-
listPagingPage(
|
|
2875
|
+
listPagingPage(options, settings) {
|
|
2462
2876
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
2463
2877
|
let result;
|
|
2464
2878
|
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
2465
2879
|
if (!continuationToken) {
|
|
2466
|
-
result = yield tslib.__await(this._list(
|
|
2880
|
+
result = yield tslib.__await(this._list(options));
|
|
2467
2881
|
let page = result.value || [];
|
|
2468
2882
|
continuationToken = result.nextLink;
|
|
2469
2883
|
setContinuationToken(page, continuationToken);
|
|
2470
2884
|
yield yield tslib.__await(page);
|
|
2471
2885
|
}
|
|
2472
2886
|
while (continuationToken) {
|
|
2473
|
-
result = yield tslib.__await(this._listNext(
|
|
2887
|
+
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
2474
2888
|
continuationToken = result.nextLink;
|
|
2475
2889
|
let page = result.value || [];
|
|
2476
2890
|
setContinuationToken(page, continuationToken);
|
|
@@ -2478,11 +2892,11 @@ class DiscoverySolutionImpl {
|
|
|
2478
2892
|
}
|
|
2479
2893
|
});
|
|
2480
2894
|
}
|
|
2481
|
-
listPagingAll(
|
|
2895
|
+
listPagingAll(options) {
|
|
2482
2896
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
2483
2897
|
var _a, e_1, _b, _c;
|
|
2484
2898
|
try {
|
|
2485
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(
|
|
2899
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2486
2900
|
_c = _f.value;
|
|
2487
2901
|
_d = false;
|
|
2488
2902
|
const page = _c;
|
|
@@ -2499,7 +2913,7 @@ class DiscoverySolutionImpl {
|
|
|
2499
2913
|
});
|
|
2500
2914
|
}
|
|
2501
2915
|
/**
|
|
2502
|
-
* Lists the relevant Azure
|
|
2916
|
+
* Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using [problemClassification
|
|
2503
2917
|
* API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND
|
|
2504
2918
|
* resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API,
|
|
2505
2919
|
* which identifies relevant Azure diagnostics and solutions. <br/><br/> Required Input :
|
|
@@ -2508,62 +2922,338 @@ class DiscoverySolutionImpl {
|
|
|
2508
2922
|
* <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from
|
|
2509
2923
|
* Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics
|
|
2510
2924
|
* 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
2925
|
* @param options The options parameters.
|
|
2515
2926
|
*/
|
|
2516
|
-
_list(
|
|
2517
|
-
return this.client.sendOperationRequest({
|
|
2927
|
+
_list(options) {
|
|
2928
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
2518
2929
|
}
|
|
2519
2930
|
/**
|
|
2520
2931
|
* 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
2932
|
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
2525
2933
|
* @param options The options parameters.
|
|
2526
2934
|
*/
|
|
2527
|
-
_listNext(
|
|
2528
|
-
return this.client.sendOperationRequest({
|
|
2935
|
+
_listNext(nextLink, options) {
|
|
2936
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
2529
2937
|
}
|
|
2530
2938
|
}
|
|
2531
2939
|
// Operation Specifications
|
|
2532
|
-
const serializer$
|
|
2940
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2533
2941
|
const listOperationSpec = {
|
|
2534
|
-
path: "/
|
|
2942
|
+
path: "/providers/Microsoft.Help/discoverySolutions",
|
|
2535
2943
|
httpMethod: "GET",
|
|
2536
2944
|
responses: {
|
|
2537
2945
|
200: {
|
|
2538
|
-
bodyMapper: DiscoveryResponse
|
|
2946
|
+
bodyMapper: DiscoveryResponse,
|
|
2539
2947
|
},
|
|
2540
2948
|
default: {
|
|
2541
|
-
bodyMapper: ErrorResponse
|
|
2542
|
-
}
|
|
2949
|
+
bodyMapper: ErrorResponse,
|
|
2950
|
+
},
|
|
2543
2951
|
},
|
|
2544
2952
|
queryParameters: [
|
|
2545
2953
|
apiVersion,
|
|
2546
2954
|
filter,
|
|
2547
|
-
skiptoken
|
|
2955
|
+
skiptoken,
|
|
2956
|
+
],
|
|
2957
|
+
urlParameters: [$host],
|
|
2958
|
+
headerParameters: [accept],
|
|
2959
|
+
serializer: serializer$6,
|
|
2960
|
+
};
|
|
2961
|
+
const listNextOperationSpec = {
|
|
2962
|
+
path: "{nextLink}",
|
|
2963
|
+
httpMethod: "GET",
|
|
2964
|
+
responses: {
|
|
2965
|
+
200: {
|
|
2966
|
+
bodyMapper: DiscoveryResponse,
|
|
2967
|
+
},
|
|
2968
|
+
default: {
|
|
2969
|
+
bodyMapper: ErrorResponse,
|
|
2970
|
+
},
|
|
2971
|
+
},
|
|
2972
|
+
urlParameters: [$host, nextLink],
|
|
2973
|
+
headerParameters: [accept],
|
|
2974
|
+
serializer: serializer$6,
|
|
2975
|
+
};
|
|
2976
|
+
|
|
2977
|
+
/*
|
|
2978
|
+
* Copyright (c) Microsoft Corporation.
|
|
2979
|
+
* Licensed under the MIT License.
|
|
2980
|
+
*
|
|
2981
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2982
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2983
|
+
*/
|
|
2984
|
+
/** Class containing Solution operations. */
|
|
2985
|
+
class SolutionImpl {
|
|
2986
|
+
/**
|
|
2987
|
+
* Initialize a new instance of the class Solution class.
|
|
2988
|
+
* @param client Reference to the service client
|
|
2989
|
+
*/
|
|
2990
|
+
constructor(client) {
|
|
2991
|
+
this.client = client;
|
|
2992
|
+
}
|
|
2993
|
+
/**
|
|
2994
|
+
* Creates a solution for the specific Azure resource or subscription using the inputs ‘solutionId and
|
|
2995
|
+
* requiredInputs’ from discovery solutions. <br/> Azure solutions comprise a comprehensive library of
|
|
2996
|
+
* self-help resources that have been thoughtfully curated by Azure engineers to aid customers in
|
|
2997
|
+
* resolving typical troubleshooting issues. These solutions encompass: <br/> (1.) Dynamic and
|
|
2998
|
+
* context-aware diagnostics, guided troubleshooting wizards, and data visualizations. <br/> (2.) Rich
|
|
2999
|
+
* instructional video tutorials and illustrative diagrams and images. <br/> (3.) Thoughtfully
|
|
3000
|
+
* assembled textual troubleshooting instructions. <br/> All these components are seamlessly converged
|
|
3001
|
+
* into unified solutions tailored to address a specific support problem area.
|
|
3002
|
+
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3003
|
+
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3004
|
+
*
|
|
3005
|
+
* @param solutionResourceName Solution resource Name.
|
|
3006
|
+
* @param options The options parameters.
|
|
3007
|
+
*/
|
|
3008
|
+
beginCreate(scope, solutionResourceName, options) {
|
|
3009
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3010
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3011
|
+
return this.client.sendOperationRequest(args, spec);
|
|
3012
|
+
});
|
|
3013
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3014
|
+
var _a;
|
|
3015
|
+
let currentRawResponse = undefined;
|
|
3016
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3017
|
+
const callback = (rawResponse, flatResponse) => {
|
|
3018
|
+
currentRawResponse = rawResponse;
|
|
3019
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3020
|
+
};
|
|
3021
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3022
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3023
|
+
return {
|
|
3024
|
+
flatResponse,
|
|
3025
|
+
rawResponse: {
|
|
3026
|
+
statusCode: currentRawResponse.status,
|
|
3027
|
+
body: currentRawResponse.parsedBody,
|
|
3028
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3029
|
+
},
|
|
3030
|
+
};
|
|
3031
|
+
});
|
|
3032
|
+
const lro = createLroSpec({
|
|
3033
|
+
sendOperationFn,
|
|
3034
|
+
args: { scope, solutionResourceName, options },
|
|
3035
|
+
spec: createOperationSpec$2,
|
|
3036
|
+
});
|
|
3037
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3038
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3039
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3040
|
+
resourceLocationConfig: "azure-async-operation",
|
|
3041
|
+
});
|
|
3042
|
+
yield poller.poll();
|
|
3043
|
+
return poller;
|
|
3044
|
+
});
|
|
3045
|
+
}
|
|
3046
|
+
/**
|
|
3047
|
+
* Creates a solution for the specific Azure resource or subscription using the inputs ‘solutionId and
|
|
3048
|
+
* requiredInputs’ from discovery solutions. <br/> Azure solutions comprise a comprehensive library of
|
|
3049
|
+
* self-help resources that have been thoughtfully curated by Azure engineers to aid customers in
|
|
3050
|
+
* resolving typical troubleshooting issues. These solutions encompass: <br/> (1.) Dynamic and
|
|
3051
|
+
* context-aware diagnostics, guided troubleshooting wizards, and data visualizations. <br/> (2.) Rich
|
|
3052
|
+
* instructional video tutorials and illustrative diagrams and images. <br/> (3.) Thoughtfully
|
|
3053
|
+
* assembled textual troubleshooting instructions. <br/> All these components are seamlessly converged
|
|
3054
|
+
* into unified solutions tailored to address a specific support problem area.
|
|
3055
|
+
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3056
|
+
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3057
|
+
*
|
|
3058
|
+
* @param solutionResourceName Solution resource Name.
|
|
3059
|
+
* @param options The options parameters.
|
|
3060
|
+
*/
|
|
3061
|
+
beginCreateAndWait(scope, solutionResourceName, options) {
|
|
3062
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3063
|
+
const poller = yield this.beginCreate(scope, solutionResourceName, options);
|
|
3064
|
+
return poller.pollUntilDone();
|
|
3065
|
+
});
|
|
3066
|
+
}
|
|
3067
|
+
/**
|
|
3068
|
+
* Get the solution using the applicable solutionResourceName while creating the solution.
|
|
3069
|
+
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3070
|
+
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3071
|
+
*
|
|
3072
|
+
* @param solutionResourceName Solution resource Name.
|
|
3073
|
+
* @param options The options parameters.
|
|
3074
|
+
*/
|
|
3075
|
+
get(scope, solutionResourceName, options) {
|
|
3076
|
+
return this.client.sendOperationRequest({ scope, solutionResourceName, options }, getOperationSpec$3);
|
|
3077
|
+
}
|
|
3078
|
+
/**
|
|
3079
|
+
* Update the requiredInputs or additional information needed to execute the solution
|
|
3080
|
+
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3081
|
+
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3082
|
+
*
|
|
3083
|
+
* @param solutionResourceName Solution resource Name.
|
|
3084
|
+
* @param options The options parameters.
|
|
3085
|
+
*/
|
|
3086
|
+
beginUpdate(scope, solutionResourceName, options) {
|
|
3087
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3088
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3089
|
+
return this.client.sendOperationRequest(args, spec);
|
|
3090
|
+
});
|
|
3091
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3092
|
+
var _a;
|
|
3093
|
+
let currentRawResponse = undefined;
|
|
3094
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3095
|
+
const callback = (rawResponse, flatResponse) => {
|
|
3096
|
+
currentRawResponse = rawResponse;
|
|
3097
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3098
|
+
};
|
|
3099
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3100
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3101
|
+
return {
|
|
3102
|
+
flatResponse,
|
|
3103
|
+
rawResponse: {
|
|
3104
|
+
statusCode: currentRawResponse.status,
|
|
3105
|
+
body: currentRawResponse.parsedBody,
|
|
3106
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3107
|
+
},
|
|
3108
|
+
};
|
|
3109
|
+
});
|
|
3110
|
+
const lro = createLroSpec({
|
|
3111
|
+
sendOperationFn,
|
|
3112
|
+
args: { scope, solutionResourceName, options },
|
|
3113
|
+
spec: updateOperationSpec,
|
|
3114
|
+
});
|
|
3115
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3116
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3117
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3118
|
+
resourceLocationConfig: "azure-async-operation",
|
|
3119
|
+
});
|
|
3120
|
+
yield poller.poll();
|
|
3121
|
+
return poller;
|
|
3122
|
+
});
|
|
3123
|
+
}
|
|
3124
|
+
/**
|
|
3125
|
+
* Update the requiredInputs or additional information needed to execute the solution
|
|
3126
|
+
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3127
|
+
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3128
|
+
*
|
|
3129
|
+
* @param solutionResourceName Solution resource Name.
|
|
3130
|
+
* @param options The options parameters.
|
|
3131
|
+
*/
|
|
3132
|
+
beginUpdateAndWait(scope, solutionResourceName, options) {
|
|
3133
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3134
|
+
const poller = yield this.beginUpdate(scope, solutionResourceName, options);
|
|
3135
|
+
return poller.pollUntilDone();
|
|
3136
|
+
});
|
|
3137
|
+
}
|
|
3138
|
+
/**
|
|
3139
|
+
* Warm up the solution resource by preloading asynchronous diagnostics results into cache
|
|
3140
|
+
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3141
|
+
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3142
|
+
*
|
|
3143
|
+
* @param solutionResourceName Solution resource Name.
|
|
3144
|
+
* @param options The options parameters.
|
|
3145
|
+
*/
|
|
3146
|
+
warmUp(scope, solutionResourceName, options) {
|
|
3147
|
+
return this.client.sendOperationRequest({ scope, solutionResourceName, options }, warmUpOperationSpec);
|
|
3148
|
+
}
|
|
3149
|
+
}
|
|
3150
|
+
// Operation Specifications
|
|
3151
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3152
|
+
const createOperationSpec$2 = {
|
|
3153
|
+
path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}",
|
|
3154
|
+
httpMethod: "PUT",
|
|
3155
|
+
responses: {
|
|
3156
|
+
200: {
|
|
3157
|
+
bodyMapper: SolutionResource,
|
|
3158
|
+
},
|
|
3159
|
+
201: {
|
|
3160
|
+
bodyMapper: SolutionResource,
|
|
3161
|
+
},
|
|
3162
|
+
202: {
|
|
3163
|
+
bodyMapper: SolutionResource,
|
|
3164
|
+
},
|
|
3165
|
+
204: {
|
|
3166
|
+
bodyMapper: SolutionResource,
|
|
3167
|
+
},
|
|
3168
|
+
default: {
|
|
3169
|
+
bodyMapper: ErrorResponse,
|
|
3170
|
+
},
|
|
3171
|
+
},
|
|
3172
|
+
requestBody: solutionRequestBody,
|
|
3173
|
+
queryParameters: [apiVersion],
|
|
3174
|
+
urlParameters: [
|
|
3175
|
+
$host,
|
|
3176
|
+
scope,
|
|
3177
|
+
solutionResourceName,
|
|
3178
|
+
],
|
|
3179
|
+
headerParameters: [accept, contentType],
|
|
3180
|
+
mediaType: "json",
|
|
3181
|
+
serializer: serializer$5,
|
|
3182
|
+
};
|
|
3183
|
+
const getOperationSpec$3 = {
|
|
3184
|
+
path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}",
|
|
3185
|
+
httpMethod: "GET",
|
|
3186
|
+
responses: {
|
|
3187
|
+
200: {
|
|
3188
|
+
bodyMapper: SolutionResource,
|
|
3189
|
+
},
|
|
3190
|
+
default: {
|
|
3191
|
+
bodyMapper: ErrorResponse,
|
|
3192
|
+
},
|
|
3193
|
+
},
|
|
3194
|
+
queryParameters: [apiVersion],
|
|
3195
|
+
urlParameters: [
|
|
3196
|
+
$host,
|
|
3197
|
+
scope,
|
|
3198
|
+
solutionResourceName,
|
|
3199
|
+
],
|
|
3200
|
+
headerParameters: [accept],
|
|
3201
|
+
serializer: serializer$5,
|
|
3202
|
+
};
|
|
3203
|
+
const updateOperationSpec = {
|
|
3204
|
+
path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}",
|
|
3205
|
+
httpMethod: "PATCH",
|
|
3206
|
+
responses: {
|
|
3207
|
+
200: {
|
|
3208
|
+
bodyMapper: SolutionResource,
|
|
3209
|
+
headersMapper: SolutionUpdateHeaders,
|
|
3210
|
+
},
|
|
3211
|
+
201: {
|
|
3212
|
+
bodyMapper: SolutionResource,
|
|
3213
|
+
headersMapper: SolutionUpdateHeaders,
|
|
3214
|
+
},
|
|
3215
|
+
202: {
|
|
3216
|
+
bodyMapper: SolutionResource,
|
|
3217
|
+
headersMapper: SolutionUpdateHeaders,
|
|
3218
|
+
},
|
|
3219
|
+
204: {
|
|
3220
|
+
bodyMapper: SolutionResource,
|
|
3221
|
+
headersMapper: SolutionUpdateHeaders,
|
|
3222
|
+
},
|
|
3223
|
+
default: {
|
|
3224
|
+
bodyMapper: ErrorResponse,
|
|
3225
|
+
},
|
|
3226
|
+
},
|
|
3227
|
+
requestBody: solutionPatchRequestBody,
|
|
3228
|
+
queryParameters: [apiVersion],
|
|
3229
|
+
urlParameters: [
|
|
3230
|
+
$host,
|
|
3231
|
+
scope,
|
|
3232
|
+
solutionResourceName,
|
|
2548
3233
|
],
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
serializer: serializer$
|
|
3234
|
+
headerParameters: [accept, contentType],
|
|
3235
|
+
mediaType: "json",
|
|
3236
|
+
serializer: serializer$5,
|
|
2552
3237
|
};
|
|
2553
|
-
const
|
|
2554
|
-
path: "{
|
|
2555
|
-
httpMethod: "
|
|
3238
|
+
const warmUpOperationSpec = {
|
|
3239
|
+
path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}/warmup",
|
|
3240
|
+
httpMethod: "POST",
|
|
2556
3241
|
responses: {
|
|
2557
|
-
|
|
2558
|
-
bodyMapper: DiscoveryResponse
|
|
2559
|
-
},
|
|
3242
|
+
204: {},
|
|
2560
3243
|
default: {
|
|
2561
|
-
bodyMapper: ErrorResponse
|
|
2562
|
-
}
|
|
3244
|
+
bodyMapper: ErrorResponse,
|
|
3245
|
+
},
|
|
2563
3246
|
},
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
3247
|
+
requestBody: solutionWarmUpRequestBody,
|
|
3248
|
+
queryParameters: [apiVersion],
|
|
3249
|
+
urlParameters: [
|
|
3250
|
+
$host,
|
|
3251
|
+
scope,
|
|
3252
|
+
solutionResourceName,
|
|
3253
|
+
],
|
|
3254
|
+
headerParameters: [accept, contentType],
|
|
3255
|
+
mediaType: "json",
|
|
3256
|
+
serializer: serializer$5,
|
|
2567
3257
|
};
|
|
2568
3258
|
|
|
2569
3259
|
/*
|
|
@@ -2573,38 +3263,29 @@ const listNextOperationSpec = {
|
|
|
2573
3263
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2574
3264
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2575
3265
|
*/
|
|
2576
|
-
/** Class containing
|
|
2577
|
-
class
|
|
3266
|
+
/** Class containing SimplifiedSolutions operations. */
|
|
3267
|
+
class SimplifiedSolutionsImpl {
|
|
2578
3268
|
/**
|
|
2579
|
-
* Initialize a new instance of the class
|
|
3269
|
+
* Initialize a new instance of the class SimplifiedSolutions class.
|
|
2580
3270
|
* @param client Reference to the service client
|
|
2581
3271
|
*/
|
|
2582
3272
|
constructor(client) {
|
|
2583
3273
|
this.client = client;
|
|
2584
3274
|
}
|
|
2585
3275
|
/**
|
|
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
|
|
3276
|
+
* Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions
|
|
3277
|
+
* as the input. <br/><br/> Simplified Solutions API makes the consumption of solutions APIs easier
|
|
3278
|
+
* while still providing access to the same powerful solutions rendered in Solutions API. With
|
|
3279
|
+
* Simplified Solutions, users don't have to worry about stitching together the article using
|
|
3280
|
+
* replacement maps and can use the content in the API response to directly render as HTML
|
|
3281
|
+
* content.<br/>
|
|
2601
3282
|
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2602
3283
|
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2603
3284
|
*
|
|
2604
|
-
* @param
|
|
3285
|
+
* @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
|
|
2605
3286
|
* @param options The options parameters.
|
|
2606
3287
|
*/
|
|
2607
|
-
beginCreate(scope,
|
|
3288
|
+
beginCreate(scope, simplifiedSolutionsResourceName, options) {
|
|
2608
3289
|
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2609
3290
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2610
3291
|
return this.client.sendOperationRequest(args, spec);
|
|
@@ -2624,211 +3305,108 @@ class SolutionImpl {
|
|
|
2624
3305
|
rawResponse: {
|
|
2625
3306
|
statusCode: currentRawResponse.status,
|
|
2626
3307
|
body: currentRawResponse.parsedBody,
|
|
2627
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2628
|
-
}
|
|
3308
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
3309
|
+
},
|
|
2629
3310
|
};
|
|
2630
3311
|
});
|
|
2631
3312
|
const lro = createLroSpec({
|
|
2632
3313
|
sendOperationFn,
|
|
2633
|
-
args: { scope,
|
|
2634
|
-
spec: createOperationSpec$1
|
|
3314
|
+
args: { scope, simplifiedSolutionsResourceName, options },
|
|
3315
|
+
spec: createOperationSpec$1,
|
|
2635
3316
|
});
|
|
2636
3317
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2637
3318
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2638
3319
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2639
|
-
resourceLocationConfig: "azure-async-operation"
|
|
3320
|
+
resourceLocationConfig: "azure-async-operation",
|
|
2640
3321
|
});
|
|
2641
3322
|
yield poller.poll();
|
|
2642
3323
|
return poller;
|
|
2643
3324
|
});
|
|
2644
3325
|
}
|
|
2645
3326
|
/**
|
|
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
|
|
3327
|
+
* Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions
|
|
3328
|
+
* as the input. <br/><br/> Simplified Solutions API makes the consumption of solutions APIs easier
|
|
3329
|
+
* while still providing access to the same powerful solutions rendered in Solutions API. With
|
|
3330
|
+
* Simplified Solutions, users don't have to worry about stitching together the article using
|
|
3331
|
+
* replacement maps and can use the content in the API response to directly render as HTML
|
|
3332
|
+
* content.<br/>
|
|
2661
3333
|
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2662
3334
|
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2663
3335
|
*
|
|
2664
|
-
* @param
|
|
3336
|
+
* @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
|
|
2665
3337
|
* @param options The options parameters.
|
|
2666
3338
|
*/
|
|
2667
|
-
beginCreateAndWait(scope,
|
|
3339
|
+
beginCreateAndWait(scope, simplifiedSolutionsResourceName, options) {
|
|
2668
3340
|
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2669
|
-
const poller = yield this.beginCreate(scope,
|
|
3341
|
+
const poller = yield this.beginCreate(scope, simplifiedSolutionsResourceName, options);
|
|
2670
3342
|
return poller.pollUntilDone();
|
|
2671
3343
|
});
|
|
2672
3344
|
}
|
|
2673
3345
|
/**
|
|
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
|
|
3346
|
+
* Get the simplified Solutions using the applicable solutionResourceName while creating the simplified
|
|
3347
|
+
* Solutions.
|
|
2732
3348
|
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2733
3349
|
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2734
3350
|
*
|
|
2735
|
-
* @param
|
|
3351
|
+
* @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
|
|
2736
3352
|
* @param options The options parameters.
|
|
2737
3353
|
*/
|
|
2738
|
-
|
|
2739
|
-
return
|
|
2740
|
-
const poller = yield this.beginUpdate(scope, solutionResourceName, options);
|
|
2741
|
-
return poller.pollUntilDone();
|
|
2742
|
-
});
|
|
3354
|
+
get(scope, simplifiedSolutionsResourceName, options) {
|
|
3355
|
+
return this.client.sendOperationRequest({ scope, simplifiedSolutionsResourceName, options }, getOperationSpec$2);
|
|
2743
3356
|
}
|
|
2744
3357
|
}
|
|
2745
3358
|
// Operation Specifications
|
|
2746
|
-
const serializer$
|
|
3359
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2747
3360
|
const createOperationSpec$1 = {
|
|
2748
|
-
path: "/{scope}/providers/Microsoft.Help/
|
|
3361
|
+
path: "/{scope}/providers/Microsoft.Help/simplifiedSolutions/{simplifiedSolutionsResourceName}",
|
|
2749
3362
|
httpMethod: "PUT",
|
|
2750
3363
|
responses: {
|
|
2751
3364
|
200: {
|
|
2752
|
-
bodyMapper:
|
|
3365
|
+
bodyMapper: SimplifiedSolutionsResource,
|
|
2753
3366
|
},
|
|
2754
3367
|
201: {
|
|
2755
|
-
bodyMapper:
|
|
3368
|
+
bodyMapper: SimplifiedSolutionsResource,
|
|
2756
3369
|
},
|
|
2757
3370
|
202: {
|
|
2758
|
-
bodyMapper:
|
|
3371
|
+
bodyMapper: SimplifiedSolutionsResource,
|
|
2759
3372
|
},
|
|
2760
3373
|
204: {
|
|
2761
|
-
bodyMapper:
|
|
3374
|
+
bodyMapper: SimplifiedSolutionsResource,
|
|
2762
3375
|
},
|
|
2763
3376
|
default: {
|
|
2764
|
-
bodyMapper: ErrorResponse
|
|
2765
|
-
}
|
|
3377
|
+
bodyMapper: ErrorResponse,
|
|
3378
|
+
},
|
|
2766
3379
|
},
|
|
2767
|
-
requestBody:
|
|
3380
|
+
requestBody: simplifiedSolutionsRequestBody,
|
|
2768
3381
|
queryParameters: [apiVersion],
|
|
2769
3382
|
urlParameters: [
|
|
2770
3383
|
$host,
|
|
2771
3384
|
scope,
|
|
2772
|
-
|
|
3385
|
+
simplifiedSolutionsResourceName,
|
|
2773
3386
|
],
|
|
2774
3387
|
headerParameters: [accept, contentType],
|
|
2775
3388
|
mediaType: "json",
|
|
2776
|
-
serializer: serializer$
|
|
3389
|
+
serializer: serializer$4,
|
|
2777
3390
|
};
|
|
2778
|
-
const getOperationSpec$
|
|
2779
|
-
path: "/{scope}/providers/Microsoft.Help/
|
|
3391
|
+
const getOperationSpec$2 = {
|
|
3392
|
+
path: "/{scope}/providers/Microsoft.Help/simplifiedSolutions/{simplifiedSolutionsResourceName}",
|
|
2780
3393
|
httpMethod: "GET",
|
|
2781
3394
|
responses: {
|
|
2782
3395
|
200: {
|
|
2783
|
-
bodyMapper:
|
|
3396
|
+
bodyMapper: SimplifiedSolutionsResource,
|
|
2784
3397
|
},
|
|
2785
3398
|
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
|
|
2813
|
-
},
|
|
2814
|
-
204: {
|
|
2815
|
-
bodyMapper: SolutionResource,
|
|
2816
|
-
headersMapper: SolutionUpdateHeaders
|
|
3399
|
+
bodyMapper: ErrorResponse,
|
|
2817
3400
|
},
|
|
2818
|
-
default: {
|
|
2819
|
-
bodyMapper: ErrorResponse
|
|
2820
|
-
}
|
|
2821
3401
|
},
|
|
2822
|
-
requestBody: solutionPatchRequestBody,
|
|
2823
3402
|
queryParameters: [apiVersion],
|
|
2824
3403
|
urlParameters: [
|
|
2825
3404
|
$host,
|
|
2826
3405
|
scope,
|
|
2827
|
-
|
|
3406
|
+
simplifiedSolutionsResourceName,
|
|
2828
3407
|
],
|
|
2829
|
-
headerParameters: [accept
|
|
2830
|
-
|
|
2831
|
-
serializer: serializer$1
|
|
3408
|
+
headerParameters: [accept],
|
|
3409
|
+
serializer: serializer$4,
|
|
2832
3410
|
};
|
|
2833
3411
|
|
|
2834
3412
|
/*
|
|
@@ -2877,7 +3455,7 @@ class TroubleshootersImpl {
|
|
|
2877
3455
|
* @param options The options parameters.
|
|
2878
3456
|
*/
|
|
2879
3457
|
get(scope, troubleshooterName, options) {
|
|
2880
|
-
return this.client.sendOperationRequest({ scope, troubleshooterName, options }, getOperationSpec);
|
|
3458
|
+
return this.client.sendOperationRequest({ scope, troubleshooterName, options }, getOperationSpec$1);
|
|
2881
3459
|
}
|
|
2882
3460
|
/**
|
|
2883
3461
|
* Uses ‘stepId’ and ‘responses’ as the trigger to continue the troubleshooting steps for the
|
|
@@ -2919,93 +3497,93 @@ class TroubleshootersImpl {
|
|
|
2919
3497
|
}
|
|
2920
3498
|
}
|
|
2921
3499
|
// Operation Specifications
|
|
2922
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3500
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2923
3501
|
const createOperationSpec = {
|
|
2924
3502
|
path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}",
|
|
2925
3503
|
httpMethod: "PUT",
|
|
2926
3504
|
responses: {
|
|
2927
3505
|
200: {
|
|
2928
|
-
bodyMapper: TroubleshooterResource
|
|
3506
|
+
bodyMapper: TroubleshooterResource,
|
|
2929
3507
|
},
|
|
2930
3508
|
201: {
|
|
2931
|
-
bodyMapper: TroubleshooterResource
|
|
3509
|
+
bodyMapper: TroubleshooterResource,
|
|
2932
3510
|
},
|
|
2933
3511
|
default: {
|
|
2934
|
-
bodyMapper: ErrorResponse
|
|
2935
|
-
}
|
|
3512
|
+
bodyMapper: ErrorResponse,
|
|
3513
|
+
},
|
|
2936
3514
|
},
|
|
2937
3515
|
requestBody: createTroubleshooterRequestBody,
|
|
2938
3516
|
queryParameters: [apiVersion],
|
|
2939
3517
|
urlParameters: [
|
|
2940
3518
|
$host,
|
|
2941
3519
|
scope,
|
|
2942
|
-
troubleshooterName
|
|
3520
|
+
troubleshooterName,
|
|
2943
3521
|
],
|
|
2944
3522
|
headerParameters: [accept, contentType],
|
|
2945
3523
|
mediaType: "json",
|
|
2946
|
-
serializer
|
|
3524
|
+
serializer: serializer$3,
|
|
2947
3525
|
};
|
|
2948
|
-
const getOperationSpec = {
|
|
3526
|
+
const getOperationSpec$1 = {
|
|
2949
3527
|
path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}",
|
|
2950
3528
|
httpMethod: "GET",
|
|
2951
3529
|
responses: {
|
|
2952
3530
|
200: {
|
|
2953
|
-
bodyMapper: TroubleshooterResource
|
|
3531
|
+
bodyMapper: TroubleshooterResource,
|
|
2954
3532
|
},
|
|
2955
3533
|
default: {
|
|
2956
|
-
bodyMapper: ErrorResponse
|
|
2957
|
-
}
|
|
3534
|
+
bodyMapper: ErrorResponse,
|
|
3535
|
+
},
|
|
2958
3536
|
},
|
|
2959
3537
|
queryParameters: [apiVersion],
|
|
2960
3538
|
urlParameters: [
|
|
2961
3539
|
$host,
|
|
2962
3540
|
scope,
|
|
2963
|
-
troubleshooterName
|
|
3541
|
+
troubleshooterName,
|
|
2964
3542
|
],
|
|
2965
3543
|
headerParameters: [accept],
|
|
2966
|
-
serializer
|
|
3544
|
+
serializer: serializer$3,
|
|
2967
3545
|
};
|
|
2968
3546
|
const continueOperationSpec = {
|
|
2969
3547
|
path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/continue",
|
|
2970
3548
|
httpMethod: "POST",
|
|
2971
3549
|
responses: {
|
|
2972
3550
|
204: {
|
|
2973
|
-
headersMapper: TroubleshootersContinueHeaders
|
|
3551
|
+
headersMapper: TroubleshootersContinueHeaders,
|
|
2974
3552
|
},
|
|
2975
3553
|
default: {
|
|
2976
|
-
bodyMapper: ErrorResponse
|
|
2977
|
-
}
|
|
3554
|
+
bodyMapper: ErrorResponse,
|
|
3555
|
+
},
|
|
2978
3556
|
},
|
|
2979
3557
|
requestBody: continueRequestBody,
|
|
2980
3558
|
queryParameters: [apiVersion],
|
|
2981
3559
|
urlParameters: [
|
|
2982
3560
|
$host,
|
|
2983
3561
|
scope,
|
|
2984
|
-
troubleshooterName
|
|
3562
|
+
troubleshooterName,
|
|
2985
3563
|
],
|
|
2986
3564
|
headerParameters: [accept, contentType],
|
|
2987
3565
|
mediaType: "json",
|
|
2988
|
-
serializer
|
|
3566
|
+
serializer: serializer$3,
|
|
2989
3567
|
};
|
|
2990
3568
|
const endOperationSpec = {
|
|
2991
3569
|
path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/end",
|
|
2992
3570
|
httpMethod: "POST",
|
|
2993
3571
|
responses: {
|
|
2994
3572
|
204: {
|
|
2995
|
-
headersMapper: TroubleshootersEndHeaders
|
|
3573
|
+
headersMapper: TroubleshootersEndHeaders,
|
|
2996
3574
|
},
|
|
2997
3575
|
default: {
|
|
2998
|
-
bodyMapper: ErrorResponse
|
|
2999
|
-
}
|
|
3576
|
+
bodyMapper: ErrorResponse,
|
|
3577
|
+
},
|
|
3000
3578
|
},
|
|
3001
3579
|
queryParameters: [apiVersion],
|
|
3002
3580
|
urlParameters: [
|
|
3003
3581
|
$host,
|
|
3004
3582
|
scope,
|
|
3005
|
-
troubleshooterName
|
|
3583
|
+
troubleshooterName,
|
|
3006
3584
|
],
|
|
3007
3585
|
headerParameters: [accept],
|
|
3008
|
-
serializer
|
|
3586
|
+
serializer: serializer$3,
|
|
3009
3587
|
};
|
|
3010
3588
|
const restartOperationSpec = {
|
|
3011
3589
|
path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/restart",
|
|
@@ -3013,20 +3591,20 @@ const restartOperationSpec = {
|
|
|
3013
3591
|
responses: {
|
|
3014
3592
|
200: {
|
|
3015
3593
|
bodyMapper: RestartTroubleshooterResponse,
|
|
3016
|
-
headersMapper: TroubleshootersRestartHeaders
|
|
3594
|
+
headersMapper: TroubleshootersRestartHeaders,
|
|
3017
3595
|
},
|
|
3018
3596
|
default: {
|
|
3019
|
-
bodyMapper: ErrorResponse
|
|
3020
|
-
}
|
|
3597
|
+
bodyMapper: ErrorResponse,
|
|
3598
|
+
},
|
|
3021
3599
|
},
|
|
3022
3600
|
queryParameters: [apiVersion],
|
|
3023
3601
|
urlParameters: [
|
|
3024
3602
|
$host,
|
|
3025
3603
|
scope,
|
|
3026
|
-
troubleshooterName
|
|
3604
|
+
troubleshooterName,
|
|
3027
3605
|
],
|
|
3028
3606
|
headerParameters: [accept],
|
|
3029
|
-
serializer
|
|
3607
|
+
serializer: serializer$3,
|
|
3030
3608
|
};
|
|
3031
3609
|
|
|
3032
3610
|
/*
|
|
@@ -3036,31 +3614,173 @@ const restartOperationSpec = {
|
|
|
3036
3614
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3037
3615
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3038
3616
|
*/
|
|
3039
|
-
|
|
3617
|
+
/** Class containing SolutionSelfHelp operations. */
|
|
3618
|
+
class SolutionSelfHelpImpl {
|
|
3619
|
+
/**
|
|
3620
|
+
* Initialize a new instance of the class SolutionSelfHelp class.
|
|
3621
|
+
* @param client Reference to the service client
|
|
3622
|
+
*/
|
|
3623
|
+
constructor(client) {
|
|
3624
|
+
this.client = client;
|
|
3625
|
+
}
|
|
3626
|
+
/**
|
|
3627
|
+
* Gets Self Help Solutions for a given solutionId. Self Help Solutions consist of rich instructional
|
|
3628
|
+
* video tutorials, links and guides to public documentation related to a specific problem that enables
|
|
3629
|
+
* users to troubleshoot Azure issues.
|
|
3630
|
+
* @param solutionId SolutionId is a unique id to identify a solution. You can retrieve the solution id
|
|
3631
|
+
* using the Discovery api -
|
|
3632
|
+
* https://learn.microsoft.com/en-us/rest/api/help/discovery-solution/list?view=rest-help-2023-09-01-preview&tabs=HTTP
|
|
3633
|
+
* @param options The options parameters.
|
|
3634
|
+
*/
|
|
3635
|
+
get(solutionId, options) {
|
|
3636
|
+
return this.client.sendOperationRequest({ solutionId, options }, getOperationSpec);
|
|
3637
|
+
}
|
|
3638
|
+
}
|
|
3639
|
+
// Operation Specifications
|
|
3640
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3641
|
+
const getOperationSpec = {
|
|
3642
|
+
path: "/providers/Microsoft.Help/selfHelp/{solutionId}",
|
|
3643
|
+
httpMethod: "GET",
|
|
3644
|
+
responses: {
|
|
3645
|
+
200: {
|
|
3646
|
+
bodyMapper: SolutionResourceSelfHelp,
|
|
3647
|
+
},
|
|
3648
|
+
default: {
|
|
3649
|
+
bodyMapper: ErrorResponse,
|
|
3650
|
+
},
|
|
3651
|
+
},
|
|
3652
|
+
queryParameters: [apiVersion],
|
|
3653
|
+
urlParameters: [$host, solutionId],
|
|
3654
|
+
headerParameters: [accept],
|
|
3655
|
+
serializer: serializer$2,
|
|
3656
|
+
};
|
|
3657
|
+
|
|
3658
|
+
/*
|
|
3659
|
+
* Copyright (c) Microsoft Corporation.
|
|
3660
|
+
* Licensed under the MIT License.
|
|
3661
|
+
*
|
|
3662
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3663
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3664
|
+
*/
|
|
3665
|
+
/** Class containing DiscoverySolutionNLPTenantScope operations. */
|
|
3666
|
+
class DiscoverySolutionNLPTenantScopeImpl {
|
|
3667
|
+
/**
|
|
3668
|
+
* Initialize a new instance of the class DiscoverySolutionNLPTenantScope class.
|
|
3669
|
+
* @param client Reference to the service client
|
|
3670
|
+
*/
|
|
3671
|
+
constructor(client) {
|
|
3672
|
+
this.client = client;
|
|
3673
|
+
}
|
|
3040
3674
|
/**
|
|
3041
|
-
*
|
|
3042
|
-
*
|
|
3043
|
-
* @param options The
|
|
3675
|
+
* Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
|
|
3676
|
+
* summary.
|
|
3677
|
+
* @param options The options parameters.
|
|
3678
|
+
*/
|
|
3679
|
+
post(options) {
|
|
3680
|
+
return this.client.sendOperationRequest({ options }, postOperationSpec$1);
|
|
3681
|
+
}
|
|
3682
|
+
}
|
|
3683
|
+
// Operation Specifications
|
|
3684
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3685
|
+
const postOperationSpec$1 = {
|
|
3686
|
+
path: "/providers/Microsoft.Help/discoverSolutions",
|
|
3687
|
+
httpMethod: "POST",
|
|
3688
|
+
responses: {
|
|
3689
|
+
200: {
|
|
3690
|
+
bodyMapper: DiscoveryNlpResponse,
|
|
3691
|
+
},
|
|
3692
|
+
default: {
|
|
3693
|
+
bodyMapper: ErrorResponse,
|
|
3694
|
+
},
|
|
3695
|
+
},
|
|
3696
|
+
requestBody: discoverSolutionRequest,
|
|
3697
|
+
queryParameters: [apiVersion],
|
|
3698
|
+
urlParameters: [$host],
|
|
3699
|
+
headerParameters: [accept, contentType],
|
|
3700
|
+
mediaType: "json",
|
|
3701
|
+
serializer: serializer$1,
|
|
3702
|
+
};
|
|
3703
|
+
|
|
3704
|
+
/*
|
|
3705
|
+
* Copyright (c) Microsoft Corporation.
|
|
3706
|
+
* Licensed under the MIT License.
|
|
3707
|
+
*
|
|
3708
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3709
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3710
|
+
*/
|
|
3711
|
+
/** Class containing DiscoverySolutionNLPSubscriptionScope operations. */
|
|
3712
|
+
class DiscoverySolutionNLPSubscriptionScopeImpl {
|
|
3713
|
+
/**
|
|
3714
|
+
* Initialize a new instance of the class DiscoverySolutionNLPSubscriptionScope class.
|
|
3715
|
+
* @param client Reference to the service client
|
|
3716
|
+
*/
|
|
3717
|
+
constructor(client) {
|
|
3718
|
+
this.client = client;
|
|
3719
|
+
}
|
|
3720
|
+
/**
|
|
3721
|
+
* Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
|
|
3722
|
+
* summary and subscription.
|
|
3723
|
+
* @param options The options parameters.
|
|
3044
3724
|
*/
|
|
3045
|
-
|
|
3725
|
+
post(options) {
|
|
3726
|
+
return this.client.sendOperationRequest({ options }, postOperationSpec);
|
|
3727
|
+
}
|
|
3728
|
+
}
|
|
3729
|
+
// Operation Specifications
|
|
3730
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3731
|
+
const postOperationSpec = {
|
|
3732
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Help/discoverSolutions",
|
|
3733
|
+
httpMethod: "POST",
|
|
3734
|
+
responses: {
|
|
3735
|
+
200: {
|
|
3736
|
+
bodyMapper: DiscoveryNlpResponse,
|
|
3737
|
+
},
|
|
3738
|
+
default: {
|
|
3739
|
+
bodyMapper: ErrorResponse,
|
|
3740
|
+
},
|
|
3741
|
+
},
|
|
3742
|
+
requestBody: discoverSolutionRequest,
|
|
3743
|
+
queryParameters: [apiVersion],
|
|
3744
|
+
urlParameters: [$host, subscriptionId],
|
|
3745
|
+
headerParameters: [accept, contentType],
|
|
3746
|
+
mediaType: "json",
|
|
3747
|
+
serializer,
|
|
3748
|
+
};
|
|
3749
|
+
|
|
3750
|
+
/*
|
|
3751
|
+
* Copyright (c) Microsoft Corporation.
|
|
3752
|
+
* Licensed under the MIT License.
|
|
3753
|
+
*
|
|
3754
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3755
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3756
|
+
*/
|
|
3757
|
+
class HelpRP extends coreClient__namespace.ServiceClient {
|
|
3758
|
+
constructor(credentials, subscriptionIdOrOptions, options) {
|
|
3046
3759
|
var _a, _b, _c;
|
|
3047
3760
|
if (credentials === undefined) {
|
|
3048
3761
|
throw new Error("'credentials' cannot be null");
|
|
3049
3762
|
}
|
|
3763
|
+
let subscriptionId;
|
|
3764
|
+
if (typeof subscriptionIdOrOptions === "string") {
|
|
3765
|
+
subscriptionId = subscriptionIdOrOptions;
|
|
3766
|
+
}
|
|
3767
|
+
else if (typeof subscriptionIdOrOptions === "object") {
|
|
3768
|
+
options = subscriptionIdOrOptions;
|
|
3769
|
+
}
|
|
3050
3770
|
// Initializing default values for options
|
|
3051
3771
|
if (!options) {
|
|
3052
3772
|
options = {};
|
|
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.3`;
|
|
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,33 @@ 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
|
}
|
|
3807
|
+
// Parameter assignments
|
|
3808
|
+
this.subscriptionId = subscriptionId;
|
|
3087
3809
|
// Assigning values to Constant parameters
|
|
3088
3810
|
this.$host = options.$host || "https://management.azure.com";
|
|
3089
|
-
this.apiVersion = options.apiVersion || "
|
|
3811
|
+
this.apiVersion = options.apiVersion || "2024-03-01-preview";
|
|
3090
3812
|
this.operations = new OperationsImpl(this);
|
|
3091
3813
|
this.checkNameAvailability = new CheckNameAvailabilityImpl(this);
|
|
3092
3814
|
this.diagnostics = new DiagnosticsImpl(this);
|
|
3093
3815
|
this.discoverySolution = new DiscoverySolutionImpl(this);
|
|
3094
3816
|
this.solution = new SolutionImpl(this);
|
|
3817
|
+
this.simplifiedSolutions = new SimplifiedSolutionsImpl(this);
|
|
3095
3818
|
this.troubleshooters = new TroubleshootersImpl(this);
|
|
3819
|
+
this.solutionSelfHelp = new SolutionSelfHelpImpl(this);
|
|
3820
|
+
this.discoverySolutionNLPTenantScope =
|
|
3821
|
+
new DiscoverySolutionNLPTenantScopeImpl(this);
|
|
3822
|
+
this.discoverySolutionNLPSubscriptionScope =
|
|
3823
|
+
new DiscoverySolutionNLPSubscriptionScopeImpl(this);
|
|
3096
3824
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
3097
3825
|
}
|
|
3098
3826
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
@@ -3118,7 +3846,7 @@ class HelpRP extends coreClient__namespace.ServiceClient {
|
|
|
3118
3846
|
}
|
|
3119
3847
|
return next(request);
|
|
3120
3848
|
});
|
|
3121
|
-
}
|
|
3849
|
+
},
|
|
3122
3850
|
};
|
|
3123
3851
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
3124
3852
|
}
|