@azure/arm-trafficmanager 6.1.1-alpha.20250717.1 → 6.1.1-alpha.20250718.1

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.
Files changed (67) hide show
  1. package/dist/browser/models/mappers.js +81 -37
  2. package/dist/browser/models/mappers.js.map +1 -1
  3. package/dist/browser/operations/endpoints.js +1 -0
  4. package/dist/browser/operations/endpoints.js.map +1 -1
  5. package/dist/browser/operations/geographicHierarchies.js +1 -0
  6. package/dist/browser/operations/geographicHierarchies.js.map +1 -1
  7. package/dist/browser/operations/heatMap.js +1 -0
  8. package/dist/browser/operations/heatMap.js.map +1 -1
  9. package/dist/browser/operations/profiles.js +19 -53
  10. package/dist/browser/operations/profiles.js.map +1 -1
  11. package/dist/browser/operations/trafficManagerUserMetricsKeys.js +1 -0
  12. package/dist/browser/operations/trafficManagerUserMetricsKeys.js.map +1 -1
  13. package/dist/browser/pagingHelper.js +2 -4
  14. package/dist/browser/pagingHelper.js.map +1 -1
  15. package/dist/browser/trafficManagerManagementClient.js +18 -5
  16. package/dist/browser/trafficManagerManagementClient.js.map +1 -1
  17. package/dist/commonjs/models/mappers.js +81 -37
  18. package/dist/commonjs/models/mappers.js.map +1 -1
  19. package/dist/commonjs/operations/endpoints.js +1 -0
  20. package/dist/commonjs/operations/endpoints.js.map +1 -1
  21. package/dist/commonjs/operations/geographicHierarchies.js +1 -0
  22. package/dist/commonjs/operations/geographicHierarchies.js.map +1 -1
  23. package/dist/commonjs/operations/heatMap.js +1 -0
  24. package/dist/commonjs/operations/heatMap.js.map +1 -1
  25. package/dist/commonjs/operations/profiles.js +19 -52
  26. package/dist/commonjs/operations/profiles.js.map +1 -1
  27. package/dist/commonjs/operations/trafficManagerUserMetricsKeys.js +1 -0
  28. package/dist/commonjs/operations/trafficManagerUserMetricsKeys.js.map +1 -1
  29. package/dist/commonjs/pagingHelper.js +2 -4
  30. package/dist/commonjs/pagingHelper.js.map +1 -1
  31. package/dist/commonjs/trafficManagerManagementClient.js +18 -5
  32. package/dist/commonjs/trafficManagerManagementClient.js.map +1 -1
  33. package/dist/commonjs/tsdoc-metadata.json +11 -11
  34. package/dist/esm/models/mappers.js +81 -37
  35. package/dist/esm/models/mappers.js.map +1 -1
  36. package/dist/esm/operations/endpoints.js +1 -0
  37. package/dist/esm/operations/endpoints.js.map +1 -1
  38. package/dist/esm/operations/geographicHierarchies.js +1 -0
  39. package/dist/esm/operations/geographicHierarchies.js.map +1 -1
  40. package/dist/esm/operations/heatMap.js +1 -0
  41. package/dist/esm/operations/heatMap.js.map +1 -1
  42. package/dist/esm/operations/profiles.js +19 -53
  43. package/dist/esm/operations/profiles.js.map +1 -1
  44. package/dist/esm/operations/trafficManagerUserMetricsKeys.js +1 -0
  45. package/dist/esm/operations/trafficManagerUserMetricsKeys.js.map +1 -1
  46. package/dist/esm/pagingHelper.js +2 -4
  47. package/dist/esm/pagingHelper.js.map +1 -1
  48. package/dist/esm/trafficManagerManagementClient.js +18 -5
  49. package/dist/esm/trafficManagerManagementClient.js.map +1 -1
  50. package/dist/react-native/models/mappers.js +81 -37
  51. package/dist/react-native/models/mappers.js.map +1 -1
  52. package/dist/react-native/operations/endpoints.js +1 -0
  53. package/dist/react-native/operations/endpoints.js.map +1 -1
  54. package/dist/react-native/operations/geographicHierarchies.js +1 -0
  55. package/dist/react-native/operations/geographicHierarchies.js.map +1 -1
  56. package/dist/react-native/operations/heatMap.js +1 -0
  57. package/dist/react-native/operations/heatMap.js.map +1 -1
  58. package/dist/react-native/operations/profiles.js +19 -53
  59. package/dist/react-native/operations/profiles.js.map +1 -1
  60. package/dist/react-native/operations/trafficManagerUserMetricsKeys.js +1 -0
  61. package/dist/react-native/operations/trafficManagerUserMetricsKeys.js.map +1 -1
  62. package/dist/react-native/pagingHelper.js +2 -4
  63. package/dist/react-native/pagingHelper.js.map +1 -1
  64. package/dist/react-native/trafficManagerManagementClient.js +18 -5
  65. package/dist/react-native/trafficManagerManagementClient.js.map +1 -1
  66. package/package.json +2 -2
  67. package/review/arm-trafficmanager-node.api.md +479 -479
@@ -486,82 +486,100 @@ export const ProxyResource = {
486
486
  type: {
487
487
  name: "Composite",
488
488
  className: "ProxyResource",
489
- modelProperties: Object.assign({}, Resource.type.modelProperties)
489
+ modelProperties: {
490
+ ...Resource.type.modelProperties
491
+ }
490
492
  }
491
493
  };
492
494
  export const TrackedResource = {
493
495
  type: {
494
496
  name: "Composite",
495
497
  className: "TrackedResource",
496
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { tags: {
498
+ modelProperties: {
499
+ ...Resource.type.modelProperties,
500
+ tags: {
497
501
  serializedName: "tags",
498
502
  type: {
499
503
  name: "Dictionary",
500
504
  value: { type: { name: "String" } }
501
505
  }
502
- }, location: {
506
+ },
507
+ location: {
503
508
  serializedName: "location",
504
509
  type: {
505
510
  name: "String"
506
511
  }
507
- } })
512
+ }
513
+ }
508
514
  }
509
515
  };
510
516
  export const Endpoint = {
511
517
  type: {
512
518
  name: "Composite",
513
519
  className: "Endpoint",
514
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { targetResourceId: {
520
+ modelProperties: {
521
+ ...ProxyResource.type.modelProperties,
522
+ targetResourceId: {
515
523
  serializedName: "properties.targetResourceId",
516
524
  type: {
517
525
  name: "String"
518
526
  }
519
- }, target: {
527
+ },
528
+ target: {
520
529
  serializedName: "properties.target",
521
530
  type: {
522
531
  name: "String"
523
532
  }
524
- }, endpointStatus: {
533
+ },
534
+ endpointStatus: {
525
535
  serializedName: "properties.endpointStatus",
526
536
  type: {
527
537
  name: "String"
528
538
  }
529
- }, weight: {
539
+ },
540
+ weight: {
530
541
  serializedName: "properties.weight",
531
542
  type: {
532
543
  name: "Number"
533
544
  }
534
- }, priority: {
545
+ },
546
+ priority: {
535
547
  serializedName: "properties.priority",
536
548
  type: {
537
549
  name: "Number"
538
550
  }
539
- }, endpointLocation: {
551
+ },
552
+ endpointLocation: {
540
553
  serializedName: "properties.endpointLocation",
541
554
  type: {
542
555
  name: "String"
543
556
  }
544
- }, endpointMonitorStatus: {
557
+ },
558
+ endpointMonitorStatus: {
545
559
  serializedName: "properties.endpointMonitorStatus",
546
560
  type: {
547
561
  name: "String"
548
562
  }
549
- }, minChildEndpoints: {
563
+ },
564
+ minChildEndpoints: {
550
565
  serializedName: "properties.minChildEndpoints",
551
566
  type: {
552
567
  name: "Number"
553
568
  }
554
- }, minChildEndpointsIPv4: {
569
+ },
570
+ minChildEndpointsIPv4: {
555
571
  serializedName: "properties.minChildEndpointsIPv4",
556
572
  type: {
557
573
  name: "Number"
558
574
  }
559
- }, minChildEndpointsIPv6: {
575
+ },
576
+ minChildEndpointsIPv6: {
560
577
  serializedName: "properties.minChildEndpointsIPv6",
561
578
  type: {
562
579
  name: "Number"
563
580
  }
564
- }, geoMapping: {
581
+ },
582
+ geoMapping: {
565
583
  serializedName: "properties.geoMapping",
566
584
  type: {
567
585
  name: "Sequence",
@@ -571,7 +589,8 @@ export const Endpoint = {
571
589
  }
572
590
  }
573
591
  }
574
- }, subnets: {
592
+ },
593
+ subnets: {
575
594
  serializedName: "properties.subnets",
576
595
  type: {
577
596
  name: "Sequence",
@@ -582,7 +601,8 @@ export const Endpoint = {
582
601
  }
583
602
  }
584
603
  }
585
- }, customHeaders: {
604
+ },
605
+ customHeaders: {
586
606
  serializedName: "properties.customHeaders",
587
607
  type: {
588
608
  name: "Sequence",
@@ -593,42 +613,51 @@ export const Endpoint = {
593
613
  }
594
614
  }
595
615
  }
596
- }, alwaysServe: {
616
+ },
617
+ alwaysServe: {
597
618
  serializedName: "properties.alwaysServe",
598
619
  type: {
599
620
  name: "String"
600
621
  }
601
- } })
622
+ }
623
+ }
602
624
  }
603
625
  };
604
626
  export const TrafficManagerGeographicHierarchy = {
605
627
  type: {
606
628
  name: "Composite",
607
629
  className: "TrafficManagerGeographicHierarchy",
608
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { geographicHierarchy: {
630
+ modelProperties: {
631
+ ...ProxyResource.type.modelProperties,
632
+ geographicHierarchy: {
609
633
  serializedName: "properties.geographicHierarchy",
610
634
  type: {
611
635
  name: "Composite",
612
636
  className: "Region"
613
637
  }
614
- } })
638
+ }
639
+ }
615
640
  }
616
641
  };
617
642
  export const HeatMapModel = {
618
643
  type: {
619
644
  name: "Composite",
620
645
  className: "HeatMapModel",
621
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { startTime: {
646
+ modelProperties: {
647
+ ...ProxyResource.type.modelProperties,
648
+ startTime: {
622
649
  serializedName: "properties.startTime",
623
650
  type: {
624
651
  name: "DateTime"
625
652
  }
626
- }, endTime: {
653
+ },
654
+ endTime: {
627
655
  serializedName: "properties.endTime",
628
656
  type: {
629
657
  name: "DateTime"
630
658
  }
631
- }, endpoints: {
659
+ },
660
+ endpoints: {
632
661
  serializedName: "properties.endpoints",
633
662
  type: {
634
663
  name: "Sequence",
@@ -639,7 +668,8 @@ export const HeatMapModel = {
639
668
  }
640
669
  }
641
670
  }
642
- }, trafficFlows: {
671
+ },
672
+ trafficFlows: {
643
673
  serializedName: "properties.trafficFlows",
644
674
  type: {
645
675
  name: "Sequence",
@@ -650,48 +680,58 @@ export const HeatMapModel = {
650
680
  }
651
681
  }
652
682
  }
653
- } })
683
+ }
684
+ }
654
685
  }
655
686
  };
656
687
  export const UserMetricsModel = {
657
688
  type: {
658
689
  name: "Composite",
659
690
  className: "UserMetricsModel",
660
- modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { key: {
691
+ modelProperties: {
692
+ ...ProxyResource.type.modelProperties,
693
+ key: {
661
694
  serializedName: "properties.key",
662
695
  type: {
663
696
  name: "String"
664
697
  }
665
- } })
698
+ }
699
+ }
666
700
  }
667
701
  };
668
702
  export const Profile = {
669
703
  type: {
670
704
  name: "Composite",
671
705
  className: "Profile",
672
- modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { profileStatus: {
706
+ modelProperties: {
707
+ ...TrackedResource.type.modelProperties,
708
+ profileStatus: {
673
709
  serializedName: "properties.profileStatus",
674
710
  type: {
675
711
  name: "String"
676
712
  }
677
- }, trafficRoutingMethod: {
713
+ },
714
+ trafficRoutingMethod: {
678
715
  serializedName: "properties.trafficRoutingMethod",
679
716
  type: {
680
717
  name: "String"
681
718
  }
682
- }, dnsConfig: {
719
+ },
720
+ dnsConfig: {
683
721
  serializedName: "properties.dnsConfig",
684
722
  type: {
685
723
  name: "Composite",
686
724
  className: "DnsConfig"
687
725
  }
688
- }, monitorConfig: {
726
+ },
727
+ monitorConfig: {
689
728
  serializedName: "properties.monitorConfig",
690
729
  type: {
691
730
  name: "Composite",
692
731
  className: "MonitorConfig"
693
732
  }
694
- }, endpoints: {
733
+ },
734
+ endpoints: {
695
735
  serializedName: "properties.endpoints",
696
736
  type: {
697
737
  name: "Sequence",
@@ -702,12 +742,14 @@ export const Profile = {
702
742
  }
703
743
  }
704
744
  }
705
- }, trafficViewEnrollmentStatus: {
745
+ },
746
+ trafficViewEnrollmentStatus: {
706
747
  serializedName: "properties.trafficViewEnrollmentStatus",
707
748
  type: {
708
749
  name: "String"
709
750
  }
710
- }, allowedEndpointRecordTypes: {
751
+ },
752
+ allowedEndpointRecordTypes: {
711
753
  serializedName: "properties.allowedEndpointRecordTypes",
712
754
  type: {
713
755
  name: "Sequence",
@@ -717,12 +759,14 @@ export const Profile = {
717
759
  }
718
760
  }
719
761
  }
720
- }, maxReturn: {
762
+ },
763
+ maxReturn: {
721
764
  serializedName: "properties.maxReturn",
722
765
  type: {
723
766
  name: "Number"
724
767
  }
725
- } })
768
+ }
769
+ }
726
770
  }
727
771
  };
728
772
  //# 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,6BAA6B,GAA+B;IACvE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;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EACD,SAAS,EAAE;gBACT,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,WAAW;iBACvB;aACF,EACD,aAAa,EAAE;gBACb,cAAc,EAAE,0BAA0B;gBAC1C,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,eAAe;iBAC3B;aACF,EACD,SAAS,EAAE;gBACT,cAAc,EAAE,sBAAsB;gBACtC,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,UAAU;yBACtB;qBACF;iBACF;aACF,EACD,2BAA2B,EAAE;gBAC3B,cAAc,EAAE,wCAAwC;gBACxD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,0BAA0B,EAAE;gBAC1B,cAAc,EAAE,uCAAuC;gBACvD,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF,EACD,SAAS,EAAE;gBACT,cAAc,EAAE,sBAAsB;gBACtC,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 EndpointPropertiesSubnetsItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EndpointPropertiesSubnetsItem\",\n modelProperties: {\n first: {\n serializedName: \"first\",\n type: {\n name: \"String\"\n }\n },\n last: {\n serializedName: \"last\",\n type: {\n name: \"String\"\n }\n },\n scope: {\n serializedName: \"scope\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const EndpointPropertiesCustomHeadersItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EndpointPropertiesCustomHeadersItem\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\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 type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CloudError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n};\n\nexport const CloudErrorBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\",\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 target: {\n serializedName: \"target\",\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const DeleteOperationResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeleteOperationResult\",\n modelProperties: {\n operationResult: {\n serializedName: \"boolean\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const CheckTrafficManagerRelativeDnsNameAvailabilityParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckTrafficManagerRelativeDnsNameAvailabilityParameters\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrafficManagerNameAvailability: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrafficManagerNameAvailability\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\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: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProfileListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProfileListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Profile\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const DnsConfig: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DnsConfig\",\n modelProperties: {\n relativeName: {\n serializedName: \"relativeName\",\n type: {\n name: \"String\"\n }\n },\n fqdn: {\n serializedName: \"fqdn\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n ttl: {\n serializedName: \"ttl\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const MonitorConfig: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MonitorConfig\",\n modelProperties: {\n profileMonitorStatus: {\n serializedName: \"profileMonitorStatus\",\n type: {\n name: \"String\"\n }\n },\n protocol: {\n serializedName: \"protocol\",\n type: {\n name: \"String\"\n }\n },\n port: {\n serializedName: \"port\",\n type: {\n name: \"Number\"\n }\n },\n path: {\n serializedName: \"path\",\n type: {\n name: \"String\"\n }\n },\n intervalInSeconds: {\n serializedName: \"intervalInSeconds\",\n type: {\n name: \"Number\"\n }\n },\n timeoutInSeconds: {\n serializedName: \"timeoutInSeconds\",\n type: {\n name: \"Number\"\n }\n },\n toleratedNumberOfFailures: {\n serializedName: \"toleratedNumberOfFailures\",\n type: {\n name: \"Number\"\n }\n },\n customHeaders: {\n serializedName: \"customHeaders\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MonitorConfigCustomHeadersItem\"\n }\n }\n }\n },\n expectedStatusCodeRanges: {\n serializedName: \"expectedStatusCodeRanges\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MonitorConfigExpectedStatusCodeRangesItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const MonitorConfigCustomHeadersItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MonitorConfigCustomHeadersItem\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const MonitorConfigExpectedStatusCodeRangesItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MonitorConfigExpectedStatusCodeRangesItem\",\n modelProperties: {\n min: {\n serializedName: \"min\",\n type: {\n name: \"Number\"\n }\n },\n max: {\n serializedName: \"max\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const Region: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Region\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n regions: {\n serializedName: \"regions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Region\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const HeatMapEndpoint: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HeatMapEndpoint\",\n modelProperties: {\n resourceId: {\n serializedName: \"resourceId\",\n type: {\n name: \"String\"\n }\n },\n endpointId: {\n serializedName: \"endpointId\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const TrafficFlow: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrafficFlow\",\n modelProperties: {\n sourceIp: {\n serializedName: \"sourceIp\",\n type: {\n name: \"String\"\n }\n },\n latitude: {\n serializedName: \"latitude\",\n type: {\n name: \"Number\"\n }\n },\n longitude: {\n serializedName: \"longitude\",\n type: {\n name: \"Number\"\n }\n },\n queryExperiences: {\n serializedName: \"queryExperiences\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"QueryExperience\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const QueryExperience: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QueryExperience\",\n modelProperties: {\n endpointId: {\n serializedName: \"endpointId\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n queryCount: {\n serializedName: \"queryCount\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n latency: {\n serializedName: \"latency\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n ...Resource.type.modelProperties\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Endpoint: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Endpoint\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n targetResourceId: {\n serializedName: \"properties.targetResourceId\",\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"properties.target\",\n type: {\n name: \"String\"\n }\n },\n endpointStatus: {\n serializedName: \"properties.endpointStatus\",\n type: {\n name: \"String\"\n }\n },\n weight: {\n serializedName: \"properties.weight\",\n type: {\n name: \"Number\"\n }\n },\n priority: {\n serializedName: \"properties.priority\",\n type: {\n name: \"Number\"\n }\n },\n endpointLocation: {\n serializedName: \"properties.endpointLocation\",\n type: {\n name: \"String\"\n }\n },\n endpointMonitorStatus: {\n serializedName: \"properties.endpointMonitorStatus\",\n type: {\n name: \"String\"\n }\n },\n minChildEndpoints: {\n serializedName: \"properties.minChildEndpoints\",\n type: {\n name: \"Number\"\n }\n },\n minChildEndpointsIPv4: {\n serializedName: \"properties.minChildEndpointsIPv4\",\n type: {\n name: \"Number\"\n }\n },\n minChildEndpointsIPv6: {\n serializedName: \"properties.minChildEndpointsIPv6\",\n type: {\n name: \"Number\"\n }\n },\n geoMapping: {\n serializedName: \"properties.geoMapping\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n subnets: {\n serializedName: \"properties.subnets\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EndpointPropertiesSubnetsItem\"\n }\n }\n }\n },\n customHeaders: {\n serializedName: \"properties.customHeaders\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EndpointPropertiesCustomHeadersItem\"\n }\n }\n }\n },\n alwaysServe: {\n serializedName: \"properties.alwaysServe\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrafficManagerGeographicHierarchy: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrafficManagerGeographicHierarchy\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n geographicHierarchy: {\n serializedName: \"properties.geographicHierarchy\",\n type: {\n name: \"Composite\",\n className: \"Region\"\n }\n }\n }\n }\n};\n\nexport const HeatMapModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HeatMapModel\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n startTime: {\n serializedName: \"properties.startTime\",\n type: {\n name: \"DateTime\"\n }\n },\n endTime: {\n serializedName: \"properties.endTime\",\n type: {\n name: \"DateTime\"\n }\n },\n endpoints: {\n serializedName: \"properties.endpoints\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"HeatMapEndpoint\"\n }\n }\n }\n },\n trafficFlows: {\n serializedName: \"properties.trafficFlows\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TrafficFlow\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const UserMetricsModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UserMetricsModel\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n key: {\n serializedName: \"properties.key\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Profile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Profile\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n profileStatus: {\n serializedName: \"properties.profileStatus\",\n type: {\n name: \"String\"\n }\n },\n trafficRoutingMethod: {\n serializedName: \"properties.trafficRoutingMethod\",\n type: {\n name: \"String\"\n }\n },\n dnsConfig: {\n serializedName: \"properties.dnsConfig\",\n type: {\n name: \"Composite\",\n className: \"DnsConfig\"\n }\n },\n monitorConfig: {\n serializedName: \"properties.monitorConfig\",\n type: {\n name: \"Composite\",\n className: \"MonitorConfig\"\n }\n },\n endpoints: {\n serializedName: \"properties.endpoints\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Endpoint\"\n }\n }\n }\n },\n trafficViewEnrollmentStatus: {\n serializedName: \"properties.trafficViewEnrollmentStatus\",\n type: {\n name: \"String\"\n }\n },\n allowedEndpointRecordTypes: {\n serializedName: \"properties.allowedEndpointRecordTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n maxReturn: {\n serializedName: \"properties.maxReturn\",\n type: {\n name: \"Number\"\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,6BAA6B,GAA+B;IACvE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,+BAA+B;QAC1C,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAA+B;IAC7E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qCAAqC;QAChD,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA+B;IAClD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,UAAU;QACrB,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;gBACpB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,E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IT 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 EndpointPropertiesSubnetsItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EndpointPropertiesSubnetsItem\",\n modelProperties: {\n first: {\n serializedName: \"first\",\n type: {\n name: \"String\"\n }\n },\n last: {\n serializedName: \"last\",\n type: {\n name: \"String\"\n }\n },\n scope: {\n serializedName: \"scope\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const EndpointPropertiesCustomHeadersItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"EndpointPropertiesCustomHeadersItem\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\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 type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const CloudError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n};\n\nexport const CloudErrorBody: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\",\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 target: {\n serializedName: \"target\",\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CloudErrorBody\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const DeleteOperationResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DeleteOperationResult\",\n modelProperties: {\n operationResult: {\n serializedName: \"boolean\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const CheckTrafficManagerRelativeDnsNameAvailabilityParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckTrafficManagerRelativeDnsNameAvailabilityParameters\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrafficManagerNameAvailability: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrafficManagerNameAvailability\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\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: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ProfileListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProfileListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Profile\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const DnsConfig: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DnsConfig\",\n modelProperties: {\n relativeName: {\n serializedName: \"relativeName\",\n type: {\n name: \"String\"\n }\n },\n fqdn: {\n serializedName: \"fqdn\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n ttl: {\n serializedName: \"ttl\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const MonitorConfig: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MonitorConfig\",\n modelProperties: {\n profileMonitorStatus: {\n serializedName: \"profileMonitorStatus\",\n type: {\n name: \"String\"\n }\n },\n protocol: {\n serializedName: \"protocol\",\n type: {\n name: \"String\"\n }\n },\n port: {\n serializedName: \"port\",\n type: {\n name: \"Number\"\n }\n },\n path: {\n serializedName: \"path\",\n type: {\n name: \"String\"\n }\n },\n intervalInSeconds: {\n serializedName: \"intervalInSeconds\",\n type: {\n name: \"Number\"\n }\n },\n timeoutInSeconds: {\n serializedName: \"timeoutInSeconds\",\n type: {\n name: \"Number\"\n }\n },\n toleratedNumberOfFailures: {\n serializedName: \"toleratedNumberOfFailures\",\n type: {\n name: \"Number\"\n }\n },\n customHeaders: {\n serializedName: \"customHeaders\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MonitorConfigCustomHeadersItem\"\n }\n }\n }\n },\n expectedStatusCodeRanges: {\n serializedName: \"expectedStatusCodeRanges\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MonitorConfigExpectedStatusCodeRangesItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const MonitorConfigCustomHeadersItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MonitorConfigCustomHeadersItem\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const MonitorConfigExpectedStatusCodeRangesItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MonitorConfigExpectedStatusCodeRangesItem\",\n modelProperties: {\n min: {\n serializedName: \"min\",\n type: {\n name: \"Number\"\n }\n },\n max: {\n serializedName: \"max\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const Region: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Region\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n regions: {\n serializedName: \"regions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Region\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const HeatMapEndpoint: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HeatMapEndpoint\",\n modelProperties: {\n resourceId: {\n serializedName: \"resourceId\",\n type: {\n name: \"String\"\n }\n },\n endpointId: {\n serializedName: \"endpointId\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const TrafficFlow: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrafficFlow\",\n modelProperties: {\n sourceIp: {\n serializedName: \"sourceIp\",\n type: {\n name: \"String\"\n }\n },\n latitude: {\n serializedName: \"latitude\",\n type: {\n name: \"Number\"\n }\n },\n longitude: {\n serializedName: \"longitude\",\n type: {\n name: \"Number\"\n }\n },\n queryExperiences: {\n serializedName: \"queryExperiences\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"QueryExperience\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const QueryExperience: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QueryExperience\",\n modelProperties: {\n endpointId: {\n serializedName: \"endpointId\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n queryCount: {\n serializedName: \"queryCount\",\n required: true,\n type: {\n name: \"Number\"\n }\n },\n latency: {\n serializedName: \"latency\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const ProxyResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProxyResource\",\n modelProperties: {\n ...Resource.type.modelProperties\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Endpoint: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Endpoint\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n targetResourceId: {\n serializedName: \"properties.targetResourceId\",\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"properties.target\",\n type: {\n name: \"String\"\n }\n },\n endpointStatus: {\n serializedName: \"properties.endpointStatus\",\n type: {\n name: \"String\"\n }\n },\n weight: {\n serializedName: \"properties.weight\",\n type: {\n name: \"Number\"\n }\n },\n priority: {\n serializedName: \"properties.priority\",\n type: {\n name: \"Number\"\n }\n },\n endpointLocation: {\n serializedName: \"properties.endpointLocation\",\n type: {\n name: \"String\"\n }\n },\n endpointMonitorStatus: {\n serializedName: \"properties.endpointMonitorStatus\",\n type: {\n name: \"String\"\n }\n },\n minChildEndpoints: {\n serializedName: \"properties.minChildEndpoints\",\n type: {\n name: \"Number\"\n }\n },\n minChildEndpointsIPv4: {\n serializedName: \"properties.minChildEndpointsIPv4\",\n type: {\n name: \"Number\"\n }\n },\n minChildEndpointsIPv6: {\n serializedName: \"properties.minChildEndpointsIPv6\",\n type: {\n name: \"Number\"\n }\n },\n geoMapping: {\n serializedName: \"properties.geoMapping\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n subnets: {\n serializedName: \"properties.subnets\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EndpointPropertiesSubnetsItem\"\n }\n }\n }\n },\n customHeaders: {\n serializedName: \"properties.customHeaders\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"EndpointPropertiesCustomHeadersItem\"\n }\n }\n }\n },\n alwaysServe: {\n serializedName: \"properties.alwaysServe\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrafficManagerGeographicHierarchy: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrafficManagerGeographicHierarchy\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n geographicHierarchy: {\n serializedName: \"properties.geographicHierarchy\",\n type: {\n name: \"Composite\",\n className: \"Region\"\n }\n }\n }\n }\n};\n\nexport const HeatMapModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HeatMapModel\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n startTime: {\n serializedName: \"properties.startTime\",\n type: {\n name: \"DateTime\"\n }\n },\n endTime: {\n serializedName: \"properties.endTime\",\n type: {\n name: \"DateTime\"\n }\n },\n endpoints: {\n serializedName: \"properties.endpoints\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"HeatMapEndpoint\"\n }\n }\n }\n },\n trafficFlows: {\n serializedName: \"properties.trafficFlows\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TrafficFlow\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const UserMetricsModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UserMetricsModel\",\n modelProperties: {\n ...ProxyResource.type.modelProperties,\n key: {\n serializedName: \"properties.key\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Profile: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Profile\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n profileStatus: {\n serializedName: \"properties.profileStatus\",\n type: {\n name: \"String\"\n }\n },\n trafficRoutingMethod: {\n serializedName: \"properties.trafficRoutingMethod\",\n type: {\n name: \"String\"\n }\n },\n dnsConfig: {\n serializedName: \"properties.dnsConfig\",\n type: {\n name: \"Composite\",\n className: \"DnsConfig\"\n }\n },\n monitorConfig: {\n serializedName: \"properties.monitorConfig\",\n type: {\n name: \"Composite\",\n className: \"MonitorConfig\"\n }\n },\n endpoints: {\n serializedName: \"properties.endpoints\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Endpoint\"\n }\n }\n }\n },\n trafficViewEnrollmentStatus: {\n serializedName: \"properties.trafficViewEnrollmentStatus\",\n type: {\n name: \"String\"\n }\n },\n allowedEndpointRecordTypes: {\n serializedName: \"properties.allowedEndpointRecordTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n maxReturn: {\n serializedName: \"properties.maxReturn\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n"]}
@@ -10,6 +10,7 @@ import * as Mappers from "../models/mappers.js";
10
10
  import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing Endpoints operations. */
12
12
  export class EndpointsImpl {
13
+ client;
13
14
  /**
14
15
  * Initialize a new instance of the class Endpoints class.
15
16
  * @param client Reference to the service client
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../src/operations/endpoints.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAetD,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAyB,EACzB,WAAmB,EACnB,YAA0B,EAC1B,YAAoB,EACpB,UAAoB,EACpB,OAAuC;QAEvC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,WAAW;YACX,YAAY;YACZ,YAAY;YACZ,UAAU;YACV,OAAO;SACR,EACD,mBAAmB,CACpB,CAAC;IACJ,C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W;QACtB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,mKAAmK;IACrK,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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 { Endpoints } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { TrafficManagerManagementClient } from \"../trafficManagerManagementClient.js\";\nimport {\n Endpoint,\n EndpointType,\n EndpointsUpdateOptionalParams,\n EndpointsUpdateResponse,\n EndpointsGetOptionalParams,\n EndpointsGetResponse,\n EndpointsCreateOrUpdateOptionalParams,\n EndpointsCreateOrUpdateResponse,\n EndpointsDeleteOptionalParams,\n EndpointsDeleteResponse\n} from \"../models/index.js\";\n\n/** Class containing Endpoints operations. */\nexport class EndpointsImpl implements Endpoints {\n private readonly client: TrafficManagerManagementClient;\n\n /**\n * Initialize a new instance of the class Endpoints class.\n * @param client Reference to the service client\n */\n constructor(client: TrafficManagerManagementClient) {\n this.client = client;\n }\n\n /**\n * Update a Traffic Manager endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param profileName The name of the Traffic Manager profile.\n * @param endpointType The type of the Traffic Manager endpoint to be updated.\n * @param endpointName The name of the Traffic Manager endpoint to be updated.\n * @param parameters The Traffic Manager endpoint parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n profileName: string,\n endpointType: EndpointType,\n endpointName: string,\n parameters: Endpoint,\n options?: EndpointsUpdateOptionalParams\n ): Promise<EndpointsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n endpointType,\n endpointName,\n parameters,\n options\n },\n updateOperationSpec\n );\n }\n\n /**\n * Gets a Traffic Manager endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param profileName The name of the Traffic Manager profile.\n * @param endpointType The type of the Traffic Manager endpoint.\n * @param endpointName The name of the Traffic Manager endpoint.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n profileName: string,\n endpointType: EndpointType,\n endpointName: string,\n options?: EndpointsGetOptionalParams\n ): Promise<EndpointsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, endpointType, endpointName, options },\n getOperationSpec\n );\n }\n\n /**\n * Create or update a Traffic Manager endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param profileName The name of the Traffic Manager profile.\n * @param endpointType The type of the Traffic Manager endpoint to be created or updated.\n * @param endpointName The name of the Traffic Manager endpoint to be created or updated.\n * @param parameters The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n profileName: string,\n endpointType: EndpointType,\n endpointName: string,\n parameters: Endpoint,\n options?: EndpointsCreateOrUpdateOptionalParams\n ): Promise<EndpointsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n endpointType,\n endpointName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes a Traffic Manager endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param profileName The name of the Traffic Manager profile.\n * @param endpointType The type of the Traffic Manager endpoint to be deleted.\n * @param endpointName The name of the Traffic Manager endpoint to be deleted.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n profileName: string,\n endpointType: EndpointType,\n endpointName: string,\n options?: EndpointsDeleteOptionalParams\n ): Promise<EndpointsDeleteResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, endpointType, endpointName, options },\n deleteOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.endpointType,\n Parameters.endpointName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.endpointType,\n Parameters.endpointName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint\n },\n 201: {\n bodyMapper: Mappers.Endpoint\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.endpointType,\n Parameters.endpointName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeleteOperationResult\n },\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.endpointType,\n Parameters.endpointName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../src/operations/endpoints.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,s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(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 { Endpoints } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { TrafficManagerManagementClient } from \"../trafficManagerManagementClient.js\";\nimport {\n Endpoint,\n EndpointType,\n EndpointsUpdateOptionalParams,\n EndpointsUpdateResponse,\n EndpointsGetOptionalParams,\n EndpointsGetResponse,\n EndpointsCreateOrUpdateOptionalParams,\n EndpointsCreateOrUpdateResponse,\n EndpointsDeleteOptionalParams,\n EndpointsDeleteResponse\n} from \"../models/index.js\";\n\n/** Class containing Endpoints operations. */\nexport class EndpointsImpl implements Endpoints {\n private readonly client: TrafficManagerManagementClient;\n\n /**\n * Initialize a new instance of the class Endpoints class.\n * @param client Reference to the service client\n */\n constructor(client: TrafficManagerManagementClient) {\n this.client = client;\n }\n\n /**\n * Update a Traffic Manager endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param profileName The name of the Traffic Manager profile.\n * @param endpointType The type of the Traffic Manager endpoint to be updated.\n * @param endpointName The name of the Traffic Manager endpoint to be updated.\n * @param parameters The Traffic Manager endpoint parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n profileName: string,\n endpointType: EndpointType,\n endpointName: string,\n parameters: Endpoint,\n options?: EndpointsUpdateOptionalParams\n ): Promise<EndpointsUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n endpointType,\n endpointName,\n parameters,\n options\n },\n updateOperationSpec\n );\n }\n\n /**\n * Gets a Traffic Manager endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param profileName The name of the Traffic Manager profile.\n * @param endpointType The type of the Traffic Manager endpoint.\n * @param endpointName The name of the Traffic Manager endpoint.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n profileName: string,\n endpointType: EndpointType,\n endpointName: string,\n options?: EndpointsGetOptionalParams\n ): Promise<EndpointsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, endpointType, endpointName, options },\n getOperationSpec\n );\n }\n\n /**\n * Create or update a Traffic Manager endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param profileName The name of the Traffic Manager profile.\n * @param endpointType The type of the Traffic Manager endpoint to be created or updated.\n * @param endpointName The name of the Traffic Manager endpoint to be created or updated.\n * @param parameters The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n profileName: string,\n endpointType: EndpointType,\n endpointName: string,\n parameters: Endpoint,\n options?: EndpointsCreateOrUpdateOptionalParams\n ): Promise<EndpointsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n profileName,\n endpointType,\n endpointName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes a Traffic Manager endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param profileName The name of the Traffic Manager profile.\n * @param endpointType The type of the Traffic Manager endpoint to be deleted.\n * @param endpointName The name of the Traffic Manager endpoint to be deleted.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n profileName: string,\n endpointType: EndpointType,\n endpointName: string,\n options?: EndpointsDeleteOptionalParams\n ): Promise<EndpointsDeleteResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, endpointType, endpointName, options },\n deleteOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.endpointType,\n Parameters.endpointName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.endpointType,\n Parameters.endpointName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Endpoint\n },\n 201: {\n bodyMapper: Mappers.Endpoint\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.endpointType,\n Parameters.endpointName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.DeleteOperationResult\n },\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.endpointType,\n Parameters.endpointName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -10,6 +10,7 @@ import * as Mappers from "../models/mappers.js";
10
10
  import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing GeographicHierarchies operations. */
12
12
  export class GeographicHierarchiesImpl {
13
+ client;
13
14
  /**
14
15
  * Initialize a new instance of the class GeographicHierarchies class.
15
16
  * @param client Reference to the service client
@@ -1 +1 @@
1
- {"version":3,"file":"geographicHierarchies.js","sourceRoot":"","sources":["../../../src/operations/geographicHierarchies.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IAGpC;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,UAAU,CACR,OAAuD;QAEvD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,uBAAuB,CACxB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,uBAAuB,GAA6B;IACxD,IAAI,EACF,0EAA0E;IAC5E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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 { GeographicHierarchies } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { TrafficManagerManagementClient } from \"../trafficManagerManagementClient.js\";\nimport {\n GeographicHierarchiesGetDefaultOptionalParams,\n GeographicHierarchiesGetDefaultResponse\n} from \"../models/index.js\";\n\n/** Class containing GeographicHierarchies operations. */\nexport class GeographicHierarchiesImpl implements GeographicHierarchies {\n private readonly client: TrafficManagerManagementClient;\n\n /**\n * Initialize a new instance of the class GeographicHierarchies class.\n * @param client Reference to the service client\n */\n constructor(client: TrafficManagerManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the default Geographic Hierarchy used by the Geographic traffic routing method.\n * @param options The options parameters.\n */\n getDefault(\n options?: GeographicHierarchiesGetDefaultOptionalParams\n ): Promise<GeographicHierarchiesGetDefaultResponse> {\n return this.client.sendOperationRequest(\n { options },\n getDefaultOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getDefaultOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TrafficManagerGeographicHierarchy\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"geographicHierarchies.js","sourceRoot":"","sources":["../../../src/operations/geographicHierarchies.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IACnB,MAAM,CAAiC;IAExD;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,UAAU,CACR,OAAuD;QAEvD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,uBAAuB,CACxB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,uBAAuB,GAA6B;IACxD,IAAI,EACF,0EAA0E;IAC5E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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 { GeographicHierarchies } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { TrafficManagerManagementClient } from \"../trafficManagerManagementClient.js\";\nimport {\n GeographicHierarchiesGetDefaultOptionalParams,\n GeographicHierarchiesGetDefaultResponse\n} from \"../models/index.js\";\n\n/** Class containing GeographicHierarchies operations. */\nexport class GeographicHierarchiesImpl implements GeographicHierarchies {\n private readonly client: TrafficManagerManagementClient;\n\n /**\n * Initialize a new instance of the class GeographicHierarchies class.\n * @param client Reference to the service client\n */\n constructor(client: TrafficManagerManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the default Geographic Hierarchy used by the Geographic traffic routing method.\n * @param options The options parameters.\n */\n getDefault(\n options?: GeographicHierarchiesGetDefaultOptionalParams\n ): Promise<GeographicHierarchiesGetDefaultResponse> {\n return this.client.sendOperationRequest(\n { options },\n getDefaultOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getDefaultOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TrafficManagerGeographicHierarchy\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -10,6 +10,7 @@ import * as Mappers from "../models/mappers.js";
10
10
  import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing HeatMap operations. */
12
12
  export class HeatMapImpl {
13
+ client;
13
14
  /**
14
15
  * Initialize a new instance of the class HeatMap class.
15
16
  * @param client Reference to the service client
@@ -1 +1 @@
1
- {"version":3,"file":"heatMap.js","sourceRoot":"","sources":["../../../src/operations/heatMap.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAItD,2CAA2C;AAC3C,MAAM,OAAO,WAAW;IAGtB;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,iBAAyB,EACzB,WAAmB,EACnB,OAAkC;QAElC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC3C,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,4JAA4J;IAC9J,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,QAAQ;KACpB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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 { HeatMap } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { TrafficManagerManagementClient } from \"../trafficManagerManagementClient.js\";\nimport { HeatMapGetOptionalParams, HeatMapGetResponse } from \"../models/index.js\";\n\n/** Class containing HeatMap operations. */\nexport class HeatMapImpl implements HeatMap {\n private readonly client: TrafficManagerManagementClient;\n\n /**\n * Initialize a new instance of the class HeatMap class.\n * @param client Reference to the service client\n */\n constructor(client: TrafficManagerManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets latest heatmap for Traffic Manager profile.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param profileName The name of the Traffic Manager profile.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n profileName: string,\n options?: HeatMapGetOptionalParams\n ): Promise<HeatMapGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, options },\n getOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/heatMaps/{heatMapType}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.HeatMapModel\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.topLeft,\n Parameters.botRight\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.subscriptionId,\n Parameters.heatMapType\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"heatMap.js","sourceRoot":"","sources":["../../../src/operations/heatMap.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAItD,2CAA2C;AAC3C,MAAM,OAAO,WAAW;IACL,MAAM,CAAiC;IAExD;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,iBAAyB,EACzB,WAAmB,EACnB,OAAkC;QAElC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC3C,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,4JAA4J;IAC9J,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,QAAQ;KACpB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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 { HeatMap } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { TrafficManagerManagementClient } from \"../trafficManagerManagementClient.js\";\nimport { HeatMapGetOptionalParams, HeatMapGetResponse } from \"../models/index.js\";\n\n/** Class containing HeatMap operations. */\nexport class HeatMapImpl implements HeatMap {\n private readonly client: TrafficManagerManagementClient;\n\n /**\n * Initialize a new instance of the class HeatMap class.\n * @param client Reference to the service client\n */\n constructor(client: TrafficManagerManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets latest heatmap for Traffic Manager profile.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param profileName The name of the Traffic Manager profile.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n profileName: string,\n options?: HeatMapGetOptionalParams\n ): Promise<HeatMapGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, profileName, options },\n getOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/heatMaps/{heatMapType}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.HeatMapModel\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.topLeft,\n Parameters.botRight\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.profileName,\n Parameters.subscriptionId,\n Parameters.heatMapType\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}