@azure/arm-relay 3.1.2-alpha.20250618.1 → 3.1.2-alpha.20250718.2
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/dist/browser/lroImpl.js +11 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +79 -36
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/hybridConnections.js +45 -79
- package/dist/browser/operations/hybridConnections.js.map +1 -1
- package/dist/browser/operations/namespaces.js +89 -130
- package/dist/browser/operations/namespaces.js.map +1 -1
- package/dist/browser/operations/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/wCFRelays.js +45 -79
- package/dist/browser/operations/wCFRelays.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/browser/relayAPI.js +17 -5
- package/dist/browser/relayAPI.js.map +1 -1
- package/dist/commonjs/lroImpl.js +11 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +79 -36
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/hybridConnections.js +45 -78
- package/dist/commonjs/operations/hybridConnections.js.map +1 -1
- package/dist/commonjs/operations/namespaces.js +89 -129
- package/dist/commonjs/operations/namespaces.js.map +1 -1
- package/dist/commonjs/operations/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/wCFRelays.js +45 -78
- package/dist/commonjs/operations/wCFRelays.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/relayAPI.js +17 -5
- package/dist/commonjs/relayAPI.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/lroImpl.js +11 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +79 -36
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/hybridConnections.js +45 -79
- package/dist/esm/operations/hybridConnections.js.map +1 -1
- package/dist/esm/operations/namespaces.js +89 -130
- package/dist/esm/operations/namespaces.js.map +1 -1
- package/dist/esm/operations/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/wCFRelays.js +45 -79
- package/dist/esm/operations/wCFRelays.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/esm/relayAPI.js +17 -5
- package/dist/esm/relayAPI.js.map +1 -1
- package/dist/react-native/lroImpl.js +11 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +79 -36
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/hybridConnections.js +45 -79
- package/dist/react-native/operations/hybridConnections.js.map +1 -1
- package/dist/react-native/operations/namespaces.js +89 -130
- package/dist/react-native/operations/namespaces.js.map +1 -1
- package/dist/react-native/operations/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/wCFRelays.js +45 -79
- package/dist/react-native/operations/wCFRelays.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/dist/react-native/relayAPI.js +17 -5
- package/dist/react-native/relayAPI.js.map +1 -1
- package/package.json +2 -2
- /package/review/{arm-relay.api.md → arm-relay-node.api.md} +0 -0
package/dist/browser/lroImpl.js
CHANGED
|
@@ -5,8 +5,12 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __rest } from "tslib";
|
|
9
8
|
export class LroImpl {
|
|
9
|
+
sendOperationFn;
|
|
10
|
+
args;
|
|
11
|
+
spec;
|
|
12
|
+
requestPath;
|
|
13
|
+
requestMethod;
|
|
10
14
|
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
11
15
|
this.sendOperationFn = sendOperationFn;
|
|
12
16
|
this.args = args;
|
|
@@ -18,8 +22,12 @@ export class LroImpl {
|
|
|
18
22
|
return this.sendOperationFn(this.args, this.spec);
|
|
19
23
|
}
|
|
20
24
|
async sendPollRequest(path) {
|
|
21
|
-
const
|
|
22
|
-
return this.sendOperationFn(this.args,
|
|
25
|
+
const { requestBody, ...restSpec } = this.spec;
|
|
26
|
+
return this.sendOperationFn(this.args, {
|
|
27
|
+
...restSpec,
|
|
28
|
+
path,
|
|
29
|
+
httpMethod: "GET"
|
|
30
|
+
});
|
|
23
31
|
}
|
|
24
32
|
}
|
|
25
33
|
//# sourceMappingURL=lroImpl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,OAAO,OAAO;IAER;IACA;IACA;IAKD;IACA;IATT,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE;YACrC,GAAG,QAAQ;YACX,IAAI;YACJ,UAAU,EAAE,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
|
|
@@ -375,39 +375,48 @@ export const TrackedResource = {
|
|
|
375
375
|
type: {
|
|
376
376
|
name: "Composite",
|
|
377
377
|
className: "TrackedResource",
|
|
378
|
-
modelProperties:
|
|
378
|
+
modelProperties: {
|
|
379
|
+
...Resource.type.modelProperties,
|
|
380
|
+
location: {
|
|
379
381
|
serializedName: "location",
|
|
380
382
|
required: true,
|
|
381
383
|
type: {
|
|
382
384
|
name: "String"
|
|
383
385
|
}
|
|
384
|
-
},
|
|
386
|
+
},
|
|
387
|
+
tags: {
|
|
385
388
|
serializedName: "tags",
|
|
386
389
|
type: {
|
|
387
390
|
name: "Dictionary",
|
|
388
391
|
value: { type: { name: "String" } }
|
|
389
392
|
}
|
|
390
|
-
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
391
395
|
}
|
|
392
396
|
};
|
|
393
397
|
export const ResourceNamespacePatch = {
|
|
394
398
|
type: {
|
|
395
399
|
name: "Composite",
|
|
396
400
|
className: "ResourceNamespacePatch",
|
|
397
|
-
modelProperties:
|
|
401
|
+
modelProperties: {
|
|
402
|
+
...Resource.type.modelProperties,
|
|
403
|
+
tags: {
|
|
398
404
|
serializedName: "tags",
|
|
399
405
|
type: {
|
|
400
406
|
name: "Dictionary",
|
|
401
407
|
value: { type: { name: "String" } }
|
|
402
408
|
}
|
|
403
|
-
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
404
411
|
}
|
|
405
412
|
};
|
|
406
413
|
export const AuthorizationRule = {
|
|
407
414
|
type: {
|
|
408
415
|
name: "Composite",
|
|
409
416
|
className: "AuthorizationRule",
|
|
410
|
-
modelProperties:
|
|
417
|
+
modelProperties: {
|
|
418
|
+
...Resource.type.modelProperties,
|
|
419
|
+
rights: {
|
|
411
420
|
constraints: {
|
|
412
421
|
UniqueItems: true
|
|
413
422
|
},
|
|
@@ -422,26 +431,31 @@ export const AuthorizationRule = {
|
|
|
422
431
|
}
|
|
423
432
|
}
|
|
424
433
|
}
|
|
425
|
-
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
426
436
|
}
|
|
427
437
|
};
|
|
428
438
|
export const HybridConnection = {
|
|
429
439
|
type: {
|
|
430
440
|
name: "Composite",
|
|
431
441
|
className: "HybridConnection",
|
|
432
|
-
modelProperties:
|
|
442
|
+
modelProperties: {
|
|
443
|
+
...Resource.type.modelProperties,
|
|
444
|
+
createdAt: {
|
|
433
445
|
serializedName: "properties.createdAt",
|
|
434
446
|
readOnly: true,
|
|
435
447
|
type: {
|
|
436
448
|
name: "DateTime"
|
|
437
449
|
}
|
|
438
|
-
},
|
|
450
|
+
},
|
|
451
|
+
updatedAt: {
|
|
439
452
|
serializedName: "properties.updatedAt",
|
|
440
453
|
readOnly: true,
|
|
441
454
|
type: {
|
|
442
455
|
name: "DateTime"
|
|
443
456
|
}
|
|
444
|
-
},
|
|
457
|
+
},
|
|
458
|
+
listenerCount: {
|
|
445
459
|
constraints: {
|
|
446
460
|
InclusiveMaximum: 25,
|
|
447
461
|
InclusiveMinimum: 0
|
|
@@ -451,42 +465,50 @@ export const HybridConnection = {
|
|
|
451
465
|
type: {
|
|
452
466
|
name: "Number"
|
|
453
467
|
}
|
|
454
|
-
},
|
|
468
|
+
},
|
|
469
|
+
requiresClientAuthorization: {
|
|
455
470
|
serializedName: "properties.requiresClientAuthorization",
|
|
456
471
|
type: {
|
|
457
472
|
name: "Boolean"
|
|
458
473
|
}
|
|
459
|
-
},
|
|
474
|
+
},
|
|
475
|
+
userMetadata: {
|
|
460
476
|
serializedName: "properties.userMetadata",
|
|
461
477
|
type: {
|
|
462
478
|
name: "String"
|
|
463
479
|
}
|
|
464
|
-
}
|
|
480
|
+
}
|
|
481
|
+
}
|
|
465
482
|
}
|
|
466
483
|
};
|
|
467
484
|
export const WcfRelay = {
|
|
468
485
|
type: {
|
|
469
486
|
name: "Composite",
|
|
470
487
|
className: "WcfRelay",
|
|
471
|
-
modelProperties:
|
|
488
|
+
modelProperties: {
|
|
489
|
+
...Resource.type.modelProperties,
|
|
490
|
+
isDynamic: {
|
|
472
491
|
serializedName: "properties.isDynamic",
|
|
473
492
|
readOnly: true,
|
|
474
493
|
type: {
|
|
475
494
|
name: "Boolean"
|
|
476
495
|
}
|
|
477
|
-
},
|
|
496
|
+
},
|
|
497
|
+
createdAt: {
|
|
478
498
|
serializedName: "properties.createdAt",
|
|
479
499
|
readOnly: true,
|
|
480
500
|
type: {
|
|
481
501
|
name: "DateTime"
|
|
482
502
|
}
|
|
483
|
-
},
|
|
503
|
+
},
|
|
504
|
+
updatedAt: {
|
|
484
505
|
serializedName: "properties.updatedAt",
|
|
485
506
|
readOnly: true,
|
|
486
507
|
type: {
|
|
487
508
|
name: "DateTime"
|
|
488
509
|
}
|
|
489
|
-
},
|
|
510
|
+
},
|
|
511
|
+
listenerCount: {
|
|
490
512
|
constraints: {
|
|
491
513
|
InclusiveMaximum: 25,
|
|
492
514
|
InclusiveMinimum: 0
|
|
@@ -496,41 +518,49 @@ export const WcfRelay = {
|
|
|
496
518
|
type: {
|
|
497
519
|
name: "Number"
|
|
498
520
|
}
|
|
499
|
-
},
|
|
521
|
+
},
|
|
522
|
+
relayType: {
|
|
500
523
|
serializedName: "properties.relayType",
|
|
501
524
|
type: {
|
|
502
525
|
name: "Enum",
|
|
503
526
|
allowedValues: ["NetTcp", "Http"]
|
|
504
527
|
}
|
|
505
|
-
},
|
|
528
|
+
},
|
|
529
|
+
requiresClientAuthorization: {
|
|
506
530
|
serializedName: "properties.requiresClientAuthorization",
|
|
507
531
|
type: {
|
|
508
532
|
name: "Boolean"
|
|
509
533
|
}
|
|
510
|
-
},
|
|
534
|
+
},
|
|
535
|
+
requiresTransportSecurity: {
|
|
511
536
|
serializedName: "properties.requiresTransportSecurity",
|
|
512
537
|
type: {
|
|
513
538
|
name: "Boolean"
|
|
514
539
|
}
|
|
515
|
-
},
|
|
540
|
+
},
|
|
541
|
+
userMetadata: {
|
|
516
542
|
serializedName: "properties.userMetadata",
|
|
517
543
|
type: {
|
|
518
544
|
name: "String"
|
|
519
545
|
}
|
|
520
|
-
}
|
|
546
|
+
}
|
|
547
|
+
}
|
|
521
548
|
}
|
|
522
549
|
};
|
|
523
550
|
export const RelayNamespace = {
|
|
524
551
|
type: {
|
|
525
552
|
name: "Composite",
|
|
526
553
|
className: "RelayNamespace",
|
|
527
|
-
modelProperties:
|
|
554
|
+
modelProperties: {
|
|
555
|
+
...TrackedResource.type.modelProperties,
|
|
556
|
+
sku: {
|
|
528
557
|
serializedName: "sku",
|
|
529
558
|
type: {
|
|
530
559
|
name: "Composite",
|
|
531
560
|
className: "Sku"
|
|
532
561
|
}
|
|
533
|
-
},
|
|
562
|
+
},
|
|
563
|
+
provisioningState: {
|
|
534
564
|
serializedName: "properties.provisioningState",
|
|
535
565
|
readOnly: true,
|
|
536
566
|
type: {
|
|
@@ -544,44 +574,52 @@ export const RelayNamespace = {
|
|
|
544
574
|
"Unknown"
|
|
545
575
|
]
|
|
546
576
|
}
|
|
547
|
-
},
|
|
577
|
+
},
|
|
578
|
+
createdAt: {
|
|
548
579
|
serializedName: "properties.createdAt",
|
|
549
580
|
readOnly: true,
|
|
550
581
|
type: {
|
|
551
582
|
name: "DateTime"
|
|
552
583
|
}
|
|
553
|
-
},
|
|
584
|
+
},
|
|
585
|
+
updatedAt: {
|
|
554
586
|
serializedName: "properties.updatedAt",
|
|
555
587
|
readOnly: true,
|
|
556
588
|
type: {
|
|
557
589
|
name: "DateTime"
|
|
558
590
|
}
|
|
559
|
-
},
|
|
591
|
+
},
|
|
592
|
+
serviceBusEndpoint: {
|
|
560
593
|
serializedName: "properties.serviceBusEndpoint",
|
|
561
594
|
readOnly: true,
|
|
562
595
|
type: {
|
|
563
596
|
name: "String"
|
|
564
597
|
}
|
|
565
|
-
},
|
|
598
|
+
},
|
|
599
|
+
metricId: {
|
|
566
600
|
serializedName: "properties.metricId",
|
|
567
601
|
readOnly: true,
|
|
568
602
|
type: {
|
|
569
603
|
name: "String"
|
|
570
604
|
}
|
|
571
|
-
}
|
|
605
|
+
}
|
|
606
|
+
}
|
|
572
607
|
}
|
|
573
608
|
};
|
|
574
609
|
export const RelayUpdateParameters = {
|
|
575
610
|
type: {
|
|
576
611
|
name: "Composite",
|
|
577
612
|
className: "RelayUpdateParameters",
|
|
578
|
-
modelProperties:
|
|
613
|
+
modelProperties: {
|
|
614
|
+
...ResourceNamespacePatch.type.modelProperties,
|
|
615
|
+
sku: {
|
|
579
616
|
serializedName: "sku",
|
|
580
617
|
type: {
|
|
581
618
|
name: "Composite",
|
|
582
619
|
className: "Sku"
|
|
583
620
|
}
|
|
584
|
-
},
|
|
621
|
+
},
|
|
622
|
+
provisioningState: {
|
|
585
623
|
serializedName: "properties.provisioningState",
|
|
586
624
|
readOnly: true,
|
|
587
625
|
type: {
|
|
@@ -595,31 +633,36 @@ export const RelayUpdateParameters = {
|
|
|
595
633
|
"Unknown"
|
|
596
634
|
]
|
|
597
635
|
}
|
|
598
|
-
},
|
|
636
|
+
},
|
|
637
|
+
createdAt: {
|
|
599
638
|
serializedName: "properties.createdAt",
|
|
600
639
|
readOnly: true,
|
|
601
640
|
type: {
|
|
602
641
|
name: "DateTime"
|
|
603
642
|
}
|
|
604
|
-
},
|
|
643
|
+
},
|
|
644
|
+
updatedAt: {
|
|
605
645
|
serializedName: "properties.updatedAt",
|
|
606
646
|
readOnly: true,
|
|
607
647
|
type: {
|
|
608
648
|
name: "DateTime"
|
|
609
649
|
}
|
|
610
|
-
},
|
|
650
|
+
},
|
|
651
|
+
serviceBusEndpoint: {
|
|
611
652
|
serializedName: "properties.serviceBusEndpoint",
|
|
612
653
|
readOnly: true,
|
|
613
654
|
type: {
|
|
614
655
|
name: "String"
|
|
615
656
|
}
|
|
616
|
-
},
|
|
657
|
+
},
|
|
658
|
+
metricId: {
|
|
617
659
|
serializedName: "properties.metricId",
|
|
618
660
|
readOnly: true,
|
|
619
661
|
type: {
|
|
620
662
|
name: "String"
|
|
621
663
|
}
|
|
622
|
-
}
|
|
664
|
+
}
|
|
665
|
+
}
|
|
623
666
|
}
|
|
624
667
|
};
|
|
625
668
|
//# sourceMappingURL=mappers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,I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BACT,cAAc,EAAE,sBAAsB;gBACtC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;iBACjB;aACF,EACD,SAAS,EAAE;gBACT,cAAc,EAAE,sBAAsB;gBACtC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;iBACjB;aACF,EACD,kBAAkB,EAAE;gBAClB,cAAc,EAAE,+BAA+B;gBAC/C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,QAAQ,EAAE;gBACR,cAAc,EAAE,qBAAqB;gBACrC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,GACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CheckNameAvailability: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailability\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CheckNameAvailabilityResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityResult\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n nameAvailable: {\n serializedName: \"nameAvailable\",\n type: {\n name: \"Boolean\"\n }\n },\n reason: {\n serializedName: \"reason\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"None\",\n \"InvalidName\",\n \"SubscriptionIsDisabled\",\n \"NameInUse\",\n \"NameInLockdown\",\n \"TooManyNamespaceInCurrentSubscription\"\n ]\n }\n }\n }\n }\n};\n\nexport const RelayNamespaceListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RelayNamespaceListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"RelayNamespace\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Sku: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Sku\",\n modelProperties: {\n name: {\n defaultValue: \"Standard\",\n isConstant: true,\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n tier: {\n defaultValue: \"Standard\",\n isConstant: true,\n serializedName: \"tier\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AuthorizationRuleListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AuthorizationRuleListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AuthorizationRule\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AccessKeys: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AccessKeys\",\n modelProperties: {\n primaryConnectionString: {\n serializedName: \"primaryConnectionString\",\n type: {\n name: \"String\"\n }\n },\n secondaryConnectionString: {\n serializedName: \"secondaryConnectionString\",\n type: {\n name: \"String\"\n }\n },\n primaryKey: {\n serializedName: \"primaryKey\",\n type: {\n name: \"String\"\n }\n },\n secondaryKey: {\n serializedName: \"secondaryKey\",\n type: {\n name: \"String\"\n }\n },\n keyName: {\n serializedName: \"keyName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RegenerateAccessKeyParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RegenerateAccessKeyParameters\",\n modelProperties: {\n keyType: {\n serializedName: \"keyType\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"PrimaryKey\", \"SecondaryKey\"]\n }\n },\n key: {\n serializedName: \"key\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const HybridConnectionListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HybridConnectionListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"HybridConnection\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WcfRelaysListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WcfRelaysListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"WcfRelay\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const ResourceNamespacePatch: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceNamespacePatch\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const AuthorizationRule: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AuthorizationRule\",\n modelProperties: {\n ...Resource.type.modelProperties,\n rights: {\n constraints: {\n UniqueItems: true\n },\n serializedName: \"properties.rights\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Enum\",\n allowedValues: [\"Manage\", \"Send\", \"Listen\"]\n }\n }\n }\n }\n }\n }\n};\n\nexport const HybridConnection: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HybridConnection\",\n modelProperties: {\n ...Resource.type.modelProperties,\n createdAt: {\n serializedName: \"properties.createdAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n updatedAt: {\n serializedName: \"properties.updatedAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n listenerCount: {\n constraints: {\n InclusiveMaximum: 25,\n InclusiveMinimum: 0\n },\n serializedName: \"properties.listenerCount\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n requiresClientAuthorization: {\n serializedName: \"properties.requiresClientAuthorization\",\n type: {\n name: \"Boolean\"\n }\n },\n userMetadata: {\n serializedName: \"properties.userMetadata\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WcfRelay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WcfRelay\",\n modelProperties: {\n ...Resource.type.modelProperties,\n isDynamic: {\n serializedName: \"properties.isDynamic\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n createdAt: {\n serializedName: \"properties.createdAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n updatedAt: {\n serializedName: \"properties.updatedAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n listenerCount: {\n constraints: {\n InclusiveMaximum: 25,\n InclusiveMinimum: 0\n },\n serializedName: \"properties.listenerCount\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n relayType: {\n serializedName: \"properties.relayType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"NetTcp\", \"Http\"]\n }\n },\n requiresClientAuthorization: {\n serializedName: \"properties.requiresClientAuthorization\",\n type: {\n name: \"Boolean\"\n }\n },\n requiresTransportSecurity: {\n serializedName: \"properties.requiresTransportSecurity\",\n type: {\n name: \"Boolean\"\n }\n },\n userMetadata: {\n serializedName: \"properties.userMetadata\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RelayNamespace: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RelayNamespace\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n sku: {\n serializedName: \"sku\",\n type: {\n name: \"Composite\",\n className: \"Sku\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Created\",\n \"Succeeded\",\n \"Deleted\",\n \"Failed\",\n \"Updating\",\n \"Unknown\"\n ]\n }\n },\n createdAt: {\n serializedName: \"properties.createdAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n updatedAt: {\n serializedName: \"properties.updatedAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n serviceBusEndpoint: {\n serializedName: \"properties.serviceBusEndpoint\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n metricId: {\n serializedName: \"properties.metricId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RelayUpdateParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RelayUpdateParameters\",\n modelProperties: {\n ...ResourceNamespacePatch.type.modelProperties,\n sku: {\n serializedName: \"sku\",\n type: {\n name: \"Composite\",\n className: \"Sku\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Created\",\n \"Succeeded\",\n \"Deleted\",\n \"Failed\",\n \"Updating\",\n \"Unknown\"\n ]\n }\n },\n createdAt: {\n serializedName: \"properties.createdAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n updatedAt: {\n serializedName: \"properties.updatedAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n serviceBusEndpoint: {\n serializedName: \"properties.serviceBusEndpoint\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n metricId: {\n serializedName: \"properties.metricId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,WAAW;yBACvB;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAA+B;IACnD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,WAAW;QACtB,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,kBAAkB;iBAC9B;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAA+B;IAC1D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,kBAAkB;QAC7B,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,QAAQ,EAAE,IAAI;gBAC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QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,uBAAuB;QAClC,eAAe,EAAE;YACf,GAAG,sBAAsB,CAAC,IAAI,CAAC,eAAe;YAC9C,GAAG,EAAE;gBACH,cAAc,EAAE,KAAK;gBACrB,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,KAAK;iBACjB;aACF;YACD,iBAAiB,EAAE;gBACjB,cAAc,EAAE,8BAA8B;gBAC9C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,MAAM;oBACZ,aAAa,EAAE;wBACb,SAAS;wBACT,WAAW;wBACX,SAAS;wBACT,QAAQ;wBACR,UAAU;wBACV,SAAS;qBACV;iBACF;aACF;YACD,SAAS,EAAE;gBACT,cAAc,EAAE,sBAAsB;gBACtC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;iBACjB;aACF;YACD,SAAS,EAAE;gBACT,cAAc,EAAE,sBAAsB;gBACtC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;iBACjB;aACF;YACD,kBAAkB,EAAE;gBAClB,cAAc,EAAE,+BAA+B;gBAC/C,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,qBAAqB;gBACrC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CheckNameAvailability: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailability\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CheckNameAvailabilityResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityResult\",\n modelProperties: {\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n nameAvailable: {\n serializedName: \"nameAvailable\",\n type: {\n name: \"Boolean\"\n }\n },\n reason: {\n serializedName: \"reason\",\n type: {\n name: \"Enum\",\n allowedValues: [\n \"None\",\n \"InvalidName\",\n \"SubscriptionIsDisabled\",\n \"NameInUse\",\n \"NameInLockdown\",\n \"TooManyNamespaceInCurrentSubscription\"\n ]\n }\n }\n }\n }\n};\n\nexport const RelayNamespaceListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RelayNamespaceListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"RelayNamespace\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Sku: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Sku\",\n modelProperties: {\n name: {\n defaultValue: \"Standard\",\n isConstant: true,\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n tier: {\n defaultValue: \"Standard\",\n isConstant: true,\n serializedName: \"tier\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AuthorizationRuleListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AuthorizationRuleListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AuthorizationRule\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AccessKeys: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AccessKeys\",\n modelProperties: {\n primaryConnectionString: {\n serializedName: \"primaryConnectionString\",\n type: {\n name: \"String\"\n }\n },\n secondaryConnectionString: {\n serializedName: \"secondaryConnectionString\",\n type: {\n name: \"String\"\n }\n },\n primaryKey: {\n serializedName: \"primaryKey\",\n type: {\n name: \"String\"\n }\n },\n secondaryKey: {\n serializedName: \"secondaryKey\",\n type: {\n name: \"String\"\n }\n },\n keyName: {\n serializedName: \"keyName\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RegenerateAccessKeyParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RegenerateAccessKeyParameters\",\n modelProperties: {\n keyType: {\n serializedName: \"keyType\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"PrimaryKey\", \"SecondaryKey\"]\n }\n },\n key: {\n serializedName: \"key\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const HybridConnectionListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HybridConnectionListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"HybridConnection\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WcfRelaysListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WcfRelaysListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"WcfRelay\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const ResourceNamespacePatch: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceNamespacePatch\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const AuthorizationRule: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AuthorizationRule\",\n modelProperties: {\n ...Resource.type.modelProperties,\n rights: {\n constraints: {\n UniqueItems: true\n },\n serializedName: \"properties.rights\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Enum\",\n allowedValues: [\"Manage\", \"Send\", \"Listen\"]\n }\n }\n }\n }\n }\n }\n};\n\nexport const HybridConnection: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HybridConnection\",\n modelProperties: {\n ...Resource.type.modelProperties,\n createdAt: {\n serializedName: \"properties.createdAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n updatedAt: {\n serializedName: \"properties.updatedAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n listenerCount: {\n constraints: {\n InclusiveMaximum: 25,\n InclusiveMinimum: 0\n },\n serializedName: \"properties.listenerCount\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n requiresClientAuthorization: {\n serializedName: \"properties.requiresClientAuthorization\",\n type: {\n name: \"Boolean\"\n }\n },\n userMetadata: {\n serializedName: \"properties.userMetadata\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const WcfRelay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WcfRelay\",\n modelProperties: {\n ...Resource.type.modelProperties,\n isDynamic: {\n serializedName: \"properties.isDynamic\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n createdAt: {\n serializedName: \"properties.createdAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n updatedAt: {\n serializedName: \"properties.updatedAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n listenerCount: {\n constraints: {\n InclusiveMaximum: 25,\n InclusiveMinimum: 0\n },\n serializedName: \"properties.listenerCount\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n relayType: {\n serializedName: \"properties.relayType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"NetTcp\", \"Http\"]\n }\n },\n requiresClientAuthorization: {\n serializedName: \"properties.requiresClientAuthorization\",\n type: {\n name: \"Boolean\"\n }\n },\n requiresTransportSecurity: {\n serializedName: \"properties.requiresTransportSecurity\",\n type: {\n name: \"Boolean\"\n }\n },\n userMetadata: {\n serializedName: \"properties.userMetadata\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RelayNamespace: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RelayNamespace\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n sku: {\n serializedName: \"sku\",\n type: {\n name: \"Composite\",\n className: \"Sku\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Created\",\n \"Succeeded\",\n \"Deleted\",\n \"Failed\",\n \"Updating\",\n \"Unknown\"\n ]\n }\n },\n createdAt: {\n serializedName: \"properties.createdAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n updatedAt: {\n serializedName: \"properties.updatedAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n serviceBusEndpoint: {\n serializedName: \"properties.serviceBusEndpoint\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n metricId: {\n serializedName: \"properties.metricId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const RelayUpdateParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RelayUpdateParameters\",\n modelProperties: {\n ...ResourceNamespacePatch.type.modelProperties,\n sku: {\n serializedName: \"sku\",\n type: {\n name: \"Composite\",\n className: \"Sku\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"Created\",\n \"Succeeded\",\n \"Deleted\",\n \"Failed\",\n \"Updating\",\n \"Unknown\"\n ]\n }\n },\n createdAt: {\n serializedName: \"properties.createdAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n updatedAt: {\n serializedName: \"properties.updatedAt\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n serviceBusEndpoint: {\n serializedName: \"properties.serviceBusEndpoint\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n metricId: {\n serializedName: \"properties.metricId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
8
|
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
9
|
import * as coreClient from "@azure/core-client";
|
|
11
10
|
import * as Mappers from "../models/mappers.js";
|
|
@@ -13,6 +12,7 @@ import * as Parameters from "../models/parameters.js";
|
|
|
13
12
|
/// <reference lib="esnext.asynciterable" />
|
|
14
13
|
/** Class containing HybridConnections operations. */
|
|
15
14
|
export class HybridConnectionsImpl {
|
|
15
|
+
client;
|
|
16
16
|
/**
|
|
17
17
|
* Initialize a new instance of the class HybridConnections class.
|
|
18
18
|
* @param client Reference to the service client
|
|
@@ -36,52 +36,35 @@ export class HybridConnectionsImpl {
|
|
|
36
36
|
return this;
|
|
37
37
|
},
|
|
38
38
|
byPage: (settings) => {
|
|
39
|
-
if (settings
|
|
39
|
+
if (settings?.maxPageSize) {
|
|
40
40
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
41
|
}
|
|
42
42
|
return this.listByNamespacePagingPage(resourceGroupName, namespaceName, options, settings);
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
listByNamespacePagingPage(resourceGroupName, namespaceName, options, settings) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
});
|
|
46
|
+
async *listByNamespacePagingPage(resourceGroupName, namespaceName, options, settings) {
|
|
47
|
+
let result;
|
|
48
|
+
let continuationToken = settings?.continuationToken;
|
|
49
|
+
if (!continuationToken) {
|
|
50
|
+
result = await this._listByNamespace(resourceGroupName, namespaceName, options);
|
|
51
|
+
let page = result.value || [];
|
|
52
|
+
continuationToken = result.nextLink;
|
|
53
|
+
setContinuationToken(page, continuationToken);
|
|
54
|
+
yield page;
|
|
55
|
+
}
|
|
56
|
+
while (continuationToken) {
|
|
57
|
+
result = await this._listByNamespaceNext(resourceGroupName, namespaceName, continuationToken, options);
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
let page = result.value || [];
|
|
60
|
+
setContinuationToken(page, continuationToken);
|
|
61
|
+
yield page;
|
|
62
|
+
}
|
|
65
63
|
}
|
|
66
|
-
listByNamespacePagingAll(resourceGroupName, namespaceName, options) {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
for (var _d = true, _e = __asyncValues(this.listByNamespacePagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
71
|
-
_c = _f.value;
|
|
72
|
-
_d = false;
|
|
73
|
-
const page = _c;
|
|
74
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
78
|
-
finally {
|
|
79
|
-
try {
|
|
80
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
81
|
-
}
|
|
82
|
-
finally { if (e_1) throw e_1.error; }
|
|
83
|
-
}
|
|
84
|
-
});
|
|
64
|
+
async *listByNamespacePagingAll(resourceGroupName, namespaceName, options) {
|
|
65
|
+
for await (const page of this.listByNamespacePagingPage(resourceGroupName, namespaceName, options)) {
|
|
66
|
+
yield* page;
|
|
67
|
+
}
|
|
85
68
|
}
|
|
86
69
|
/**
|
|
87
70
|
* Authorization rules for a hybrid connection.
|
|
@@ -100,52 +83,35 @@ export class HybridConnectionsImpl {
|
|
|
100
83
|
return this;
|
|
101
84
|
},
|
|
102
85
|
byPage: (settings) => {
|
|
103
|
-
if (settings
|
|
86
|
+
if (settings?.maxPageSize) {
|
|
104
87
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
105
88
|
}
|
|
106
89
|
return this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, hybridConnectionName, options, settings);
|
|
107
90
|
}
|
|
108
91
|
};
|
|
109
92
|
}
|
|
110
|
-
listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, hybridConnectionName, options, settings) {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
});
|
|
93
|
+
async *listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, hybridConnectionName, options, settings) {
|
|
94
|
+
let result;
|
|
95
|
+
let continuationToken = settings?.continuationToken;
|
|
96
|
+
if (!continuationToken) {
|
|
97
|
+
result = await this._listAuthorizationRules(resourceGroupName, namespaceName, hybridConnectionName, options);
|
|
98
|
+
let page = result.value || [];
|
|
99
|
+
continuationToken = result.nextLink;
|
|
100
|
+
setContinuationToken(page, continuationToken);
|
|
101
|
+
yield page;
|
|
102
|
+
}
|
|
103
|
+
while (continuationToken) {
|
|
104
|
+
result = await this._listAuthorizationRulesNext(resourceGroupName, namespaceName, hybridConnectionName, continuationToken, options);
|
|
105
|
+
continuationToken = result.nextLink;
|
|
106
|
+
let page = result.value || [];
|
|
107
|
+
setContinuationToken(page, continuationToken);
|
|
108
|
+
yield page;
|
|
109
|
+
}
|
|
129
110
|
}
|
|
130
|
-
listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, hybridConnectionName, options) {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
for (var _d = true, _e = __asyncValues(this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, hybridConnectionName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
135
|
-
_c = _f.value;
|
|
136
|
-
_d = false;
|
|
137
|
-
const page = _c;
|
|
138
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
142
|
-
finally {
|
|
143
|
-
try {
|
|
144
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
145
|
-
}
|
|
146
|
-
finally { if (e_2) throw e_2.error; }
|
|
147
|
-
}
|
|
148
|
-
});
|
|
111
|
+
async *listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, hybridConnectionName, options) {
|
|
112
|
+
for await (const page of this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, hybridConnectionName, options)) {
|
|
113
|
+
yield* page;
|
|
114
|
+
}
|
|
149
115
|
}
|
|
150
116
|
/**
|
|
151
117
|
* Lists the hybrid connection within the namespace.
|