@azure/arm-relay 3.1.2-alpha.20250619.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
|
@@ -378,39 +378,48 @@ exports.TrackedResource = {
|
|
|
378
378
|
type: {
|
|
379
379
|
name: "Composite",
|
|
380
380
|
className: "TrackedResource",
|
|
381
|
-
modelProperties:
|
|
381
|
+
modelProperties: {
|
|
382
|
+
...exports.Resource.type.modelProperties,
|
|
383
|
+
location: {
|
|
382
384
|
serializedName: "location",
|
|
383
385
|
required: true,
|
|
384
386
|
type: {
|
|
385
387
|
name: "String"
|
|
386
388
|
}
|
|
387
|
-
},
|
|
389
|
+
},
|
|
390
|
+
tags: {
|
|
388
391
|
serializedName: "tags",
|
|
389
392
|
type: {
|
|
390
393
|
name: "Dictionary",
|
|
391
394
|
value: { type: { name: "String" } }
|
|
392
395
|
}
|
|
393
|
-
}
|
|
396
|
+
}
|
|
397
|
+
}
|
|
394
398
|
}
|
|
395
399
|
};
|
|
396
400
|
exports.ResourceNamespacePatch = {
|
|
397
401
|
type: {
|
|
398
402
|
name: "Composite",
|
|
399
403
|
className: "ResourceNamespacePatch",
|
|
400
|
-
modelProperties:
|
|
404
|
+
modelProperties: {
|
|
405
|
+
...exports.Resource.type.modelProperties,
|
|
406
|
+
tags: {
|
|
401
407
|
serializedName: "tags",
|
|
402
408
|
type: {
|
|
403
409
|
name: "Dictionary",
|
|
404
410
|
value: { type: { name: "String" } }
|
|
405
411
|
}
|
|
406
|
-
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
407
414
|
}
|
|
408
415
|
};
|
|
409
416
|
exports.AuthorizationRule = {
|
|
410
417
|
type: {
|
|
411
418
|
name: "Composite",
|
|
412
419
|
className: "AuthorizationRule",
|
|
413
|
-
modelProperties:
|
|
420
|
+
modelProperties: {
|
|
421
|
+
...exports.Resource.type.modelProperties,
|
|
422
|
+
rights: {
|
|
414
423
|
constraints: {
|
|
415
424
|
UniqueItems: true
|
|
416
425
|
},
|
|
@@ -425,26 +434,31 @@ exports.AuthorizationRule = {
|
|
|
425
434
|
}
|
|
426
435
|
}
|
|
427
436
|
}
|
|
428
|
-
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
429
439
|
}
|
|
430
440
|
};
|
|
431
441
|
exports.HybridConnection = {
|
|
432
442
|
type: {
|
|
433
443
|
name: "Composite",
|
|
434
444
|
className: "HybridConnection",
|
|
435
|
-
modelProperties:
|
|
445
|
+
modelProperties: {
|
|
446
|
+
...exports.Resource.type.modelProperties,
|
|
447
|
+
createdAt: {
|
|
436
448
|
serializedName: "properties.createdAt",
|
|
437
449
|
readOnly: true,
|
|
438
450
|
type: {
|
|
439
451
|
name: "DateTime"
|
|
440
452
|
}
|
|
441
|
-
},
|
|
453
|
+
},
|
|
454
|
+
updatedAt: {
|
|
442
455
|
serializedName: "properties.updatedAt",
|
|
443
456
|
readOnly: true,
|
|
444
457
|
type: {
|
|
445
458
|
name: "DateTime"
|
|
446
459
|
}
|
|
447
|
-
},
|
|
460
|
+
},
|
|
461
|
+
listenerCount: {
|
|
448
462
|
constraints: {
|
|
449
463
|
InclusiveMaximum: 25,
|
|
450
464
|
InclusiveMinimum: 0
|
|
@@ -454,42 +468,50 @@ exports.HybridConnection = {
|
|
|
454
468
|
type: {
|
|
455
469
|
name: "Number"
|
|
456
470
|
}
|
|
457
|
-
},
|
|
471
|
+
},
|
|
472
|
+
requiresClientAuthorization: {
|
|
458
473
|
serializedName: "properties.requiresClientAuthorization",
|
|
459
474
|
type: {
|
|
460
475
|
name: "Boolean"
|
|
461
476
|
}
|
|
462
|
-
},
|
|
477
|
+
},
|
|
478
|
+
userMetadata: {
|
|
463
479
|
serializedName: "properties.userMetadata",
|
|
464
480
|
type: {
|
|
465
481
|
name: "String"
|
|
466
482
|
}
|
|
467
|
-
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
468
485
|
}
|
|
469
486
|
};
|
|
470
487
|
exports.WcfRelay = {
|
|
471
488
|
type: {
|
|
472
489
|
name: "Composite",
|
|
473
490
|
className: "WcfRelay",
|
|
474
|
-
modelProperties:
|
|
491
|
+
modelProperties: {
|
|
492
|
+
...exports.Resource.type.modelProperties,
|
|
493
|
+
isDynamic: {
|
|
475
494
|
serializedName: "properties.isDynamic",
|
|
476
495
|
readOnly: true,
|
|
477
496
|
type: {
|
|
478
497
|
name: "Boolean"
|
|
479
498
|
}
|
|
480
|
-
},
|
|
499
|
+
},
|
|
500
|
+
createdAt: {
|
|
481
501
|
serializedName: "properties.createdAt",
|
|
482
502
|
readOnly: true,
|
|
483
503
|
type: {
|
|
484
504
|
name: "DateTime"
|
|
485
505
|
}
|
|
486
|
-
},
|
|
506
|
+
},
|
|
507
|
+
updatedAt: {
|
|
487
508
|
serializedName: "properties.updatedAt",
|
|
488
509
|
readOnly: true,
|
|
489
510
|
type: {
|
|
490
511
|
name: "DateTime"
|
|
491
512
|
}
|
|
492
|
-
},
|
|
513
|
+
},
|
|
514
|
+
listenerCount: {
|
|
493
515
|
constraints: {
|
|
494
516
|
InclusiveMaximum: 25,
|
|
495
517
|
InclusiveMinimum: 0
|
|
@@ -499,41 +521,49 @@ exports.WcfRelay = {
|
|
|
499
521
|
type: {
|
|
500
522
|
name: "Number"
|
|
501
523
|
}
|
|
502
|
-
},
|
|
524
|
+
},
|
|
525
|
+
relayType: {
|
|
503
526
|
serializedName: "properties.relayType",
|
|
504
527
|
type: {
|
|
505
528
|
name: "Enum",
|
|
506
529
|
allowedValues: ["NetTcp", "Http"]
|
|
507
530
|
}
|
|
508
|
-
},
|
|
531
|
+
},
|
|
532
|
+
requiresClientAuthorization: {
|
|
509
533
|
serializedName: "properties.requiresClientAuthorization",
|
|
510
534
|
type: {
|
|
511
535
|
name: "Boolean"
|
|
512
536
|
}
|
|
513
|
-
},
|
|
537
|
+
},
|
|
538
|
+
requiresTransportSecurity: {
|
|
514
539
|
serializedName: "properties.requiresTransportSecurity",
|
|
515
540
|
type: {
|
|
516
541
|
name: "Boolean"
|
|
517
542
|
}
|
|
518
|
-
},
|
|
543
|
+
},
|
|
544
|
+
userMetadata: {
|
|
519
545
|
serializedName: "properties.userMetadata",
|
|
520
546
|
type: {
|
|
521
547
|
name: "String"
|
|
522
548
|
}
|
|
523
|
-
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
524
551
|
}
|
|
525
552
|
};
|
|
526
553
|
exports.RelayNamespace = {
|
|
527
554
|
type: {
|
|
528
555
|
name: "Composite",
|
|
529
556
|
className: "RelayNamespace",
|
|
530
|
-
modelProperties:
|
|
557
|
+
modelProperties: {
|
|
558
|
+
...exports.TrackedResource.type.modelProperties,
|
|
559
|
+
sku: {
|
|
531
560
|
serializedName: "sku",
|
|
532
561
|
type: {
|
|
533
562
|
name: "Composite",
|
|
534
563
|
className: "Sku"
|
|
535
564
|
}
|
|
536
|
-
},
|
|
565
|
+
},
|
|
566
|
+
provisioningState: {
|
|
537
567
|
serializedName: "properties.provisioningState",
|
|
538
568
|
readOnly: true,
|
|
539
569
|
type: {
|
|
@@ -547,44 +577,52 @@ exports.RelayNamespace = {
|
|
|
547
577
|
"Unknown"
|
|
548
578
|
]
|
|
549
579
|
}
|
|
550
|
-
},
|
|
580
|
+
},
|
|
581
|
+
createdAt: {
|
|
551
582
|
serializedName: "properties.createdAt",
|
|
552
583
|
readOnly: true,
|
|
553
584
|
type: {
|
|
554
585
|
name: "DateTime"
|
|
555
586
|
}
|
|
556
|
-
},
|
|
587
|
+
},
|
|
588
|
+
updatedAt: {
|
|
557
589
|
serializedName: "properties.updatedAt",
|
|
558
590
|
readOnly: true,
|
|
559
591
|
type: {
|
|
560
592
|
name: "DateTime"
|
|
561
593
|
}
|
|
562
|
-
},
|
|
594
|
+
},
|
|
595
|
+
serviceBusEndpoint: {
|
|
563
596
|
serializedName: "properties.serviceBusEndpoint",
|
|
564
597
|
readOnly: true,
|
|
565
598
|
type: {
|
|
566
599
|
name: "String"
|
|
567
600
|
}
|
|
568
|
-
},
|
|
601
|
+
},
|
|
602
|
+
metricId: {
|
|
569
603
|
serializedName: "properties.metricId",
|
|
570
604
|
readOnly: true,
|
|
571
605
|
type: {
|
|
572
606
|
name: "String"
|
|
573
607
|
}
|
|
574
|
-
}
|
|
608
|
+
}
|
|
609
|
+
}
|
|
575
610
|
}
|
|
576
611
|
};
|
|
577
612
|
exports.RelayUpdateParameters = {
|
|
578
613
|
type: {
|
|
579
614
|
name: "Composite",
|
|
580
615
|
className: "RelayUpdateParameters",
|
|
581
|
-
modelProperties:
|
|
616
|
+
modelProperties: {
|
|
617
|
+
...exports.ResourceNamespacePatch.type.modelProperties,
|
|
618
|
+
sku: {
|
|
582
619
|
serializedName: "sku",
|
|
583
620
|
type: {
|
|
584
621
|
name: "Composite",
|
|
585
622
|
className: "Sku"
|
|
586
623
|
}
|
|
587
|
-
},
|
|
624
|
+
},
|
|
625
|
+
provisioningState: {
|
|
588
626
|
serializedName: "properties.provisioningState",
|
|
589
627
|
readOnly: true,
|
|
590
628
|
type: {
|
|
@@ -598,31 +636,36 @@ exports.RelayUpdateParameters = {
|
|
|
598
636
|
"Unknown"
|
|
599
637
|
]
|
|
600
638
|
}
|
|
601
|
-
},
|
|
639
|
+
},
|
|
640
|
+
createdAt: {
|
|
602
641
|
serializedName: "properties.createdAt",
|
|
603
642
|
readOnly: true,
|
|
604
643
|
type: {
|
|
605
644
|
name: "DateTime"
|
|
606
645
|
}
|
|
607
|
-
},
|
|
646
|
+
},
|
|
647
|
+
updatedAt: {
|
|
608
648
|
serializedName: "properties.updatedAt",
|
|
609
649
|
readOnly: true,
|
|
610
650
|
type: {
|
|
611
651
|
name: "DateTime"
|
|
612
652
|
}
|
|
613
|
-
},
|
|
653
|
+
},
|
|
654
|
+
serviceBusEndpoint: {
|
|
614
655
|
serializedName: "properties.serviceBusEndpoint",
|
|
615
656
|
readOnly: true,
|
|
616
657
|
type: {
|
|
617
658
|
name: "String"
|
|
618
659
|
}
|
|
619
|
-
},
|
|
660
|
+
},
|
|
661
|
+
metricId: {
|
|
620
662
|
serializedName: "properties.metricId",
|
|
621
663
|
readOnly: true,
|
|
622
664
|
type: {
|
|
623
665
|
name: "String"
|
|
624
666
|
}
|
|
625
|
-
}
|
|
667
|
+
}
|
|
668
|
+
}
|
|
626
669
|
}
|
|
627
670
|
};
|
|
628
671
|
//# sourceMappingURL=mappers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,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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":"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BACd,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"]}
|
|
@@ -16,6 +16,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
|
16
16
|
/// <reference lib="esnext.asynciterable" />
|
|
17
17
|
/** Class containing HybridConnections operations. */
|
|
18
18
|
class HybridConnectionsImpl {
|
|
19
|
+
client;
|
|
19
20
|
/**
|
|
20
21
|
* Initialize a new instance of the class HybridConnections class.
|
|
21
22
|
* @param client Reference to the service client
|
|
@@ -39,52 +40,35 @@ class HybridConnectionsImpl {
|
|
|
39
40
|
return this;
|
|
40
41
|
},
|
|
41
42
|
byPage: (settings) => {
|
|
42
|
-
if (settings
|
|
43
|
+
if (settings?.maxPageSize) {
|
|
43
44
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
45
|
}
|
|
45
46
|
return this.listByNamespacePagingPage(resourceGroupName, namespaceName, options, settings);
|
|
46
47
|
}
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
|
-
listByNamespacePagingPage(resourceGroupName, namespaceName, options, settings) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
});
|
|
50
|
+
async *listByNamespacePagingPage(resourceGroupName, namespaceName, options, settings) {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings?.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = await this._listByNamespace(resourceGroupName, namespaceName, options);
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
|
+
yield page;
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = await this._listByNamespaceNext(resourceGroupName, namespaceName, continuationToken, options);
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
|
+
yield page;
|
|
66
|
+
}
|
|
68
67
|
}
|
|
69
|
-
listByNamespacePagingAll(resourceGroupName, namespaceName, options) {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listByNamespacePagingPage(resourceGroupName, namespaceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
74
|
-
_c = _f.value;
|
|
75
|
-
_d = false;
|
|
76
|
-
const page = _c;
|
|
77
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
81
|
-
finally {
|
|
82
|
-
try {
|
|
83
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
84
|
-
}
|
|
85
|
-
finally { if (e_1) throw e_1.error; }
|
|
86
|
-
}
|
|
87
|
-
});
|
|
68
|
+
async *listByNamespacePagingAll(resourceGroupName, namespaceName, options) {
|
|
69
|
+
for await (const page of this.listByNamespacePagingPage(resourceGroupName, namespaceName, options)) {
|
|
70
|
+
yield* page;
|
|
71
|
+
}
|
|
88
72
|
}
|
|
89
73
|
/**
|
|
90
74
|
* Authorization rules for a hybrid connection.
|
|
@@ -103,52 +87,35 @@ class HybridConnectionsImpl {
|
|
|
103
87
|
return this;
|
|
104
88
|
},
|
|
105
89
|
byPage: (settings) => {
|
|
106
|
-
if (settings
|
|
90
|
+
if (settings?.maxPageSize) {
|
|
107
91
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
108
92
|
}
|
|
109
93
|
return this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, hybridConnectionName, options, settings);
|
|
110
94
|
}
|
|
111
95
|
};
|
|
112
96
|
}
|
|
113
|
-
listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, hybridConnectionName, options, settings) {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
});
|
|
97
|
+
async *listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, hybridConnectionName, options, settings) {
|
|
98
|
+
let result;
|
|
99
|
+
let continuationToken = settings?.continuationToken;
|
|
100
|
+
if (!continuationToken) {
|
|
101
|
+
result = await this._listAuthorizationRules(resourceGroupName, namespaceName, hybridConnectionName, options);
|
|
102
|
+
let page = result.value || [];
|
|
103
|
+
continuationToken = result.nextLink;
|
|
104
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
105
|
+
yield page;
|
|
106
|
+
}
|
|
107
|
+
while (continuationToken) {
|
|
108
|
+
result = await this._listAuthorizationRulesNext(resourceGroupName, namespaceName, hybridConnectionName, continuationToken, options);
|
|
109
|
+
continuationToken = result.nextLink;
|
|
110
|
+
let page = result.value || [];
|
|
111
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
112
|
+
yield page;
|
|
113
|
+
}
|
|
132
114
|
}
|
|
133
|
-
listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, hybridConnectionName, options) {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, hybridConnectionName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
138
|
-
_c = _f.value;
|
|
139
|
-
_d = false;
|
|
140
|
-
const page = _c;
|
|
141
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
145
|
-
finally {
|
|
146
|
-
try {
|
|
147
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
148
|
-
}
|
|
149
|
-
finally { if (e_2) throw e_2.error; }
|
|
150
|
-
}
|
|
151
|
-
});
|
|
115
|
+
async *listAuthorizationRulesPagingAll(resourceGroupName, namespaceName, hybridConnectionName, options) {
|
|
116
|
+
for await (const page of this.listAuthorizationRulesPagingPage(resourceGroupName, namespaceName, hybridConnectionName, options)) {
|
|
117
|
+
yield* page;
|
|
118
|
+
}
|
|
152
119
|
}
|
|
153
120
|
/**
|
|
154
121
|
* Lists the hybrid connection within the namespace.
|