@azure/arm-trafficmanager 6.1.1-alpha.20250128.1 → 6.1.1-alpha.20250129.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.
- package/README.md +21 -12
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/endpoints.d.ts +3 -3
- package/dist/browser/operations/endpoints.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/endpoints.js +2 -2
- package/dist/browser/operations/endpoints.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/geographicHierarchies.d.ts +3 -3
- package/dist/browser/operations/geographicHierarchies.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/geographicHierarchies.js +2 -2
- package/dist/browser/operations/geographicHierarchies.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/heatMap.d.ts +3 -3
- package/dist/browser/operations/heatMap.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/heatMap.js +2 -2
- package/dist/browser/operations/heatMap.js.map +1 -0
- package/dist/browser/operations/index.d.ts +6 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +5 -5
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/profiles.d.ts +3 -3
- package/dist/browser/operations/profiles.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/profiles.js +2 -2
- package/dist/browser/operations/profiles.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/trafficManagerUserMetricsKeys.d.ts +3 -3
- package/dist/browser/operations/trafficManagerUserMetricsKeys.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/trafficManagerUserMetricsKeys.js +2 -2
- package/dist/browser/operations/trafficManagerUserMetricsKeys.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/endpoints.d.ts +1 -1
- package/dist/browser/operationsInterfaces/endpoints.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/endpoints.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/geographicHierarchies.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/geographicHierarchies.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/geographicHierarchies.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/heatMap.d.ts +1 -1
- package/dist/browser/operationsInterfaces/heatMap.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/heatMap.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +6 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +5 -5
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/profiles.d.ts +1 -1
- package/dist/browser/operationsInterfaces/profiles.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/profiles.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts +1 -1
- package/dist/browser/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/trafficManagerUserMetricsKeys.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/trafficManagerManagementClient.d.ts +2 -2
- package/dist/browser/trafficManagerManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/trafficManagerManagementClient.js +15 -18
- package/dist/browser/trafficManagerManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/{types/arm-trafficmanager.d.ts → dist/commonjs/models/index.d.ts} +531 -781
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +113 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +26 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +731 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +17 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +175 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/endpoints.d.ts +51 -0
- package/dist/commonjs/operations/endpoints.d.ts.map +1 -0
- package/dist/commonjs/operations/endpoints.js +188 -0
- package/dist/commonjs/operations/endpoints.js.map +1 -0
- package/dist/commonjs/operations/geographicHierarchies.d.ts +18 -0
- package/dist/commonjs/operations/geographicHierarchies.d.ts.map +1 -0
- package/dist/commonjs/operations/geographicHierarchies.js +51 -0
- package/dist/commonjs/operations/geographicHierarchies.js.map +1 -0
- package/dist/commonjs/operations/heatMap.d.ts +20 -0
- package/dist/commonjs/operations/heatMap.d.ts.map +1 -0
- package/dist/commonjs/operations/heatMap.js +63 -0
- package/dist/commonjs/operations/heatMap.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +6 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +16 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/profiles.d.ts +84 -0
- package/dist/commonjs/operations/profiles.d.ts.map +1 -0
- package/dist/commonjs/operations/profiles.js +361 -0
- package/dist/commonjs/operations/profiles.js.map +1 -0
- package/dist/commonjs/operations/trafficManagerUserMetricsKeys.d.ts +28 -0
- package/dist/commonjs/operations/trafficManagerUserMetricsKeys.d.ts.map +1 -0
- package/dist/commonjs/operations/trafficManagerUserMetricsKeys.js +97 -0
- package/dist/commonjs/operations/trafficManagerUserMetricsKeys.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/endpoints.d.ts +43 -0
- package/dist/commonjs/operationsInterfaces/endpoints.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/endpoints.js +10 -0
- package/dist/commonjs/operationsInterfaces/endpoints.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/geographicHierarchies.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/geographicHierarchies.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/geographicHierarchies.js +10 -0
- package/dist/commonjs/operationsInterfaces/geographicHierarchies.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/heatMap.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/heatMap.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/heatMap.js +10 -0
- package/dist/commonjs/operationsInterfaces/heatMap.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +16 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/profiles.d.ts +61 -0
- package/dist/commonjs/operationsInterfaces/profiles.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/profiles.js +10 -0
- package/dist/commonjs/operationsInterfaces/profiles.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts +20 -0
- package/dist/commonjs/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/trafficManagerUserMetricsKeys.js +10 -0
- package/dist/commonjs/operationsInterfaces/trafficManagerUserMetricsKeys.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/trafficManagerManagementClient.d.ts +24 -0
- package/dist/commonjs/trafficManagerManagementClient.d.ts.map +1 -0
- package/dist/commonjs/trafficManagerManagementClient.js +106 -0
- package/dist/commonjs/trafficManagerManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/index.d.ts +531 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +110 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +26 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +728 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +17 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +172 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/endpoints.d.ts +51 -0
- package/dist/esm/operations/endpoints.d.ts.map +1 -0
- package/dist/esm/operations/endpoints.js +183 -0
- package/dist/esm/operations/endpoints.js.map +1 -0
- package/dist/esm/operations/geographicHierarchies.d.ts +18 -0
- package/dist/esm/operations/geographicHierarchies.d.ts.map +1 -0
- package/dist/esm/operations/geographicHierarchies.js +46 -0
- package/dist/esm/operations/geographicHierarchies.js.map +1 -0
- package/dist/esm/operations/heatMap.d.ts +20 -0
- package/dist/esm/operations/heatMap.d.ts.map +1 -0
- package/dist/esm/operations/heatMap.js +58 -0
- package/dist/esm/operations/heatMap.js.map +1 -0
- package/dist/esm/operations/index.d.ts +6 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +13 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/profiles.d.ts +84 -0
- package/dist/esm/operations/profiles.d.ts.map +1 -0
- package/dist/esm/operations/profiles.js +357 -0
- package/dist/esm/operations/profiles.js.map +1 -0
- package/dist/esm/operations/trafficManagerUserMetricsKeys.d.ts +28 -0
- package/dist/esm/operations/trafficManagerUserMetricsKeys.d.ts.map +1 -0
- package/dist/esm/operations/trafficManagerUserMetricsKeys.js +92 -0
- package/dist/esm/operations/trafficManagerUserMetricsKeys.js.map +1 -0
- package/dist/esm/operationsInterfaces/endpoints.d.ts +43 -0
- package/dist/esm/operationsInterfaces/endpoints.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/endpoints.js +9 -0
- package/dist/esm/operationsInterfaces/endpoints.js.map +1 -0
- package/dist/esm/operationsInterfaces/geographicHierarchies.d.ts +10 -0
- package/dist/esm/operationsInterfaces/geographicHierarchies.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/geographicHierarchies.js +9 -0
- package/dist/esm/operationsInterfaces/geographicHierarchies.js.map +1 -0
- package/dist/esm/operationsInterfaces/heatMap.d.ts +12 -0
- package/dist/esm/operationsInterfaces/heatMap.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/heatMap.js +9 -0
- package/dist/esm/operationsInterfaces/heatMap.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +6 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +13 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/profiles.d.ts +61 -0
- package/dist/esm/operationsInterfaces/profiles.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/profiles.js +9 -0
- package/dist/esm/operationsInterfaces/profiles.js.map +1 -0
- package/dist/esm/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts +20 -0
- package/dist/esm/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/trafficManagerUserMetricsKeys.js +9 -0
- package/dist/esm/operationsInterfaces/trafficManagerUserMetricsKeys.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/trafficManagerManagementClient.d.ts +24 -0
- package/dist/esm/trafficManagerManagementClient.d.ts.map +1 -0
- package/dist/esm/trafficManagerManagementClient.js +101 -0
- package/dist/esm/trafficManagerManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/models/index.d.ts +531 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +110 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +26 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +728 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +17 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +172 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/endpoints.d.ts +51 -0
- package/dist/react-native/operations/endpoints.d.ts.map +1 -0
- package/dist/react-native/operations/endpoints.js +183 -0
- package/dist/react-native/operations/endpoints.js.map +1 -0
- package/dist/react-native/operations/geographicHierarchies.d.ts +18 -0
- package/dist/react-native/operations/geographicHierarchies.d.ts.map +1 -0
- package/dist/react-native/operations/geographicHierarchies.js +46 -0
- package/dist/react-native/operations/geographicHierarchies.js.map +1 -0
- package/dist/react-native/operations/heatMap.d.ts +20 -0
- package/dist/react-native/operations/heatMap.d.ts.map +1 -0
- package/dist/react-native/operations/heatMap.js +58 -0
- package/dist/react-native/operations/heatMap.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +6 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +13 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/profiles.d.ts +84 -0
- package/dist/react-native/operations/profiles.d.ts.map +1 -0
- package/dist/react-native/operations/profiles.js +357 -0
- package/dist/react-native/operations/profiles.js.map +1 -0
- package/dist/react-native/operations/trafficManagerUserMetricsKeys.d.ts +28 -0
- package/dist/react-native/operations/trafficManagerUserMetricsKeys.d.ts.map +1 -0
- package/dist/react-native/operations/trafficManagerUserMetricsKeys.js +92 -0
- package/dist/react-native/operations/trafficManagerUserMetricsKeys.js.map +1 -0
- package/dist/react-native/operationsInterfaces/endpoints.d.ts +43 -0
- package/dist/react-native/operationsInterfaces/endpoints.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/endpoints.js +9 -0
- package/dist/react-native/operationsInterfaces/endpoints.js.map +1 -0
- package/dist/react-native/operationsInterfaces/geographicHierarchies.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/geographicHierarchies.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/geographicHierarchies.js +9 -0
- package/dist/react-native/operationsInterfaces/geographicHierarchies.js.map +1 -0
- package/dist/react-native/operationsInterfaces/heatMap.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/heatMap.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/heatMap.js +9 -0
- package/dist/react-native/operationsInterfaces/heatMap.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +6 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +13 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/profiles.d.ts +61 -0
- package/dist/react-native/operationsInterfaces/profiles.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/profiles.js +9 -0
- package/dist/react-native/operationsInterfaces/profiles.js.map +1 -0
- package/dist/react-native/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts +20 -0
- package/dist/react-native/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/trafficManagerUserMetricsKeys.js +9 -0
- package/dist/react-native/operationsInterfaces/trafficManagerUserMetricsKeys.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/trafficManagerManagementClient.d.ts +24 -0
- package/dist/react-native/trafficManagerManagementClient.d.ts.map +1 -0
- package/dist/react-native/trafficManagerManagementClient.js +101 -0
- package/dist/react-native/trafficManagerManagementClient.js.map +1 -0
- package/package.json +69 -40
- package/dist/index.js +0 -1911
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js +0 -154
- package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/endpointsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/endpointsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/endpointsDeleteSample.js +0 -38
- package/dist-esm/samples-dev/endpointsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/endpointsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/endpointsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/endpointsGetSample.js +0 -78
- package/dist-esm/samples-dev/endpointsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/endpointsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/endpointsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/endpointsUpdateSample.js +0 -37
- package/dist-esm/samples-dev/endpointsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.d.ts +0 -2
- package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.js +0 -34
- package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.js.map +0 -1
- package/dist-esm/samples-dev/heatMapGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/heatMapGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/heatMapGetSample.js +0 -68
- package/dist-esm/samples-dev/heatMapGetSample.js.map +0 -1
- package/dist-esm/samples-dev/profilesCheckTrafficManagerNameAvailabilityV2Sample.d.ts +0 -2
- package/dist-esm/samples-dev/profilesCheckTrafficManagerNameAvailabilityV2Sample.d.ts.map +0 -1
- package/dist-esm/samples-dev/profilesCheckTrafficManagerNameAvailabilityV2Sample.js +0 -51
- package/dist-esm/samples-dev/profilesCheckTrafficManagerNameAvailabilityV2Sample.js.map +0 -1
- package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.js +0 -51
- package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/profilesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/profilesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/profilesCreateOrUpdateSample.js +0 -262
- package/dist-esm/samples-dev/profilesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/profilesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/profilesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/profilesDeleteSample.js +0 -36
- package/dist-esm/samples-dev/profilesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/profilesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/profilesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/profilesGetSample.js +0 -72
- package/dist-esm/samples-dev/profilesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/profilesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/profilesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/profilesListByResourceGroupSample.js +0 -51
- package/dist-esm/samples-dev/profilesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/profilesListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/profilesListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/profilesListBySubscriptionSample.js +0 -50
- package/dist-esm/samples-dev/profilesListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/profilesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/profilesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/profilesUpdateSample.js +0 -43
- package/dist-esm/samples-dev/profilesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.js +0 -34
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.js +0 -34
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.js +0 -34
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/endpoints.d.ts.map +0 -1
- package/dist-esm/src/operations/endpoints.js.map +0 -1
- package/dist-esm/src/operations/geographicHierarchies.d.ts.map +0 -1
- package/dist-esm/src/operations/geographicHierarchies.js.map +0 -1
- package/dist-esm/src/operations/heatMap.d.ts.map +0 -1
- package/dist-esm/src/operations/heatMap.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -6
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/profiles.d.ts.map +0 -1
- package/dist-esm/src/operations/profiles.js.map +0 -1
- package/dist-esm/src/operations/trafficManagerUserMetricsKeys.d.ts.map +0 -1
- package/dist-esm/src/operations/trafficManagerUserMetricsKeys.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/endpoints.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/endpoints.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/geographicHierarchies.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/heatMap.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/heatMap.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/profiles.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/profiles.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/trafficManagerUserMetricsKeys.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/trafficManagerManagementClient.d.ts.map +0 -1
- package/dist-esm/src/trafficManagerManagementClient.js.map +0 -1
- package/dist-esm/test/trafficmanager_examples.spec.d.ts +0 -4
- package/dist-esm/test/trafficmanager_examples.spec.d.ts.map +0 -1
- package/dist-esm/test/trafficmanager_examples.spec.js +0 -120
- package/dist-esm/test/trafficmanager_examples.spec.js.map +0 -1
- package/src/models/index.ts +0 -616
- package/src/models/mappers.ts +0 -797
- package/src/models/parameters.ts +0 -196
- package/src/operations/endpoints.ts +0 -247
- package/src/operations/geographicHierarchies.ts +0 -63
- package/src/operations/heatMap.ts +0 -74
- package/src/operations/index.ts +0 -13
- package/src/operations/profiles.ts +0 -447
- package/src/operations/trafficManagerUserMetricsKeys.ts +0 -122
- package/src/operationsInterfaces/endpoints.ts +0 -88
- package/src/operationsInterfaces/geographicHierarchies.ts +0 -23
- package/src/operationsInterfaces/heatMap.ts +0 -24
- package/src/operationsInterfaces/index.ts +0 -13
- package/src/operationsInterfaces/profiles.ts +0 -116
- package/src/operationsInterfaces/trafficManagerUserMetricsKeys.ts +0 -41
- package/src/pagingHelper.ts +0 -39
- package/src/trafficManagerManagementClient.ts +0 -162
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/endpoints.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/geographicHierarchies.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/heatMap.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/profiles.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/trafficManagerUserMetricsKeys.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +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;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;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;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"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
|
|
2
|
+
export declare const contentType: OperationParameter;
|
|
3
|
+
export declare const parameters: OperationParameter;
|
|
4
|
+
export declare const accept: OperationParameter;
|
|
5
|
+
export declare const $host: OperationURLParameter;
|
|
6
|
+
export declare const resourceGroupName: OperationURLParameter;
|
|
7
|
+
export declare const profileName: OperationURLParameter;
|
|
8
|
+
export declare const endpointType: OperationURLParameter;
|
|
9
|
+
export declare const endpointName: OperationURLParameter;
|
|
10
|
+
export declare const apiVersion: OperationQueryParameter;
|
|
11
|
+
export declare const subscriptionId: OperationURLParameter;
|
|
12
|
+
export declare const parameters1: OperationParameter;
|
|
13
|
+
export declare const parameters2: OperationParameter;
|
|
14
|
+
export declare const heatMapType: OperationURLParameter;
|
|
15
|
+
export declare const topLeft: OperationQueryParameter;
|
|
16
|
+
export declare const botRight: OperationQueryParameter;
|
|
17
|
+
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAO5B,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,kBAGxB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAa/B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,qBASzB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAU1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAS1B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAY5B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,qBAUzB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,uBAkBrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,uBAkBtB,CAAC"}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { Endpoint as EndpointMapper, CheckTrafficManagerRelativeDnsNameAvailabilityParameters as CheckTrafficManagerRelativeDnsNameAvailabilityParametersMapper, Profile as ProfileMapper } from "../models/mappers.js";
|
|
9
|
+
export const contentType = {
|
|
10
|
+
parameterPath: ["options", "contentType"],
|
|
11
|
+
mapper: {
|
|
12
|
+
defaultValue: "application/json",
|
|
13
|
+
isConstant: true,
|
|
14
|
+
serializedName: "Content-Type",
|
|
15
|
+
type: {
|
|
16
|
+
name: "String"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export const parameters = {
|
|
21
|
+
parameterPath: "parameters",
|
|
22
|
+
mapper: EndpointMapper
|
|
23
|
+
};
|
|
24
|
+
export const accept = {
|
|
25
|
+
parameterPath: "accept",
|
|
26
|
+
mapper: {
|
|
27
|
+
defaultValue: "application/json",
|
|
28
|
+
isConstant: true,
|
|
29
|
+
serializedName: "Accept",
|
|
30
|
+
type: {
|
|
31
|
+
name: "String"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
export const $host = {
|
|
36
|
+
parameterPath: "$host",
|
|
37
|
+
mapper: {
|
|
38
|
+
serializedName: "$host",
|
|
39
|
+
required: true,
|
|
40
|
+
type: {
|
|
41
|
+
name: "String"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
skipEncoding: true
|
|
45
|
+
};
|
|
46
|
+
export const resourceGroupName = {
|
|
47
|
+
parameterPath: "resourceGroupName",
|
|
48
|
+
mapper: {
|
|
49
|
+
constraints: {
|
|
50
|
+
MaxLength: 90,
|
|
51
|
+
MinLength: 1
|
|
52
|
+
},
|
|
53
|
+
serializedName: "resourceGroupName",
|
|
54
|
+
required: true,
|
|
55
|
+
type: {
|
|
56
|
+
name: "String"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
export const profileName = {
|
|
61
|
+
parameterPath: "profileName",
|
|
62
|
+
mapper: {
|
|
63
|
+
serializedName: "profileName",
|
|
64
|
+
required: true,
|
|
65
|
+
type: {
|
|
66
|
+
name: "String"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
export const endpointType = {
|
|
71
|
+
parameterPath: "endpointType",
|
|
72
|
+
mapper: {
|
|
73
|
+
serializedName: "endpointType",
|
|
74
|
+
required: true,
|
|
75
|
+
type: {
|
|
76
|
+
name: "Enum",
|
|
77
|
+
allowedValues: ["AzureEndpoints", "ExternalEndpoints", "NestedEndpoints"]
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
export const endpointName = {
|
|
82
|
+
parameterPath: "endpointName",
|
|
83
|
+
mapper: {
|
|
84
|
+
serializedName: "endpointName",
|
|
85
|
+
required: true,
|
|
86
|
+
type: {
|
|
87
|
+
name: "String"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
export const apiVersion = {
|
|
92
|
+
parameterPath: "apiVersion",
|
|
93
|
+
mapper: {
|
|
94
|
+
defaultValue: "2022-04-01",
|
|
95
|
+
isConstant: true,
|
|
96
|
+
serializedName: "api-version",
|
|
97
|
+
type: {
|
|
98
|
+
name: "String"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
export const subscriptionId = {
|
|
103
|
+
parameterPath: "subscriptionId",
|
|
104
|
+
mapper: {
|
|
105
|
+
constraints: {
|
|
106
|
+
MinLength: 1
|
|
107
|
+
},
|
|
108
|
+
serializedName: "subscriptionId",
|
|
109
|
+
required: true,
|
|
110
|
+
type: {
|
|
111
|
+
name: "String"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
export const parameters1 = {
|
|
116
|
+
parameterPath: "parameters",
|
|
117
|
+
mapper: CheckTrafficManagerRelativeDnsNameAvailabilityParametersMapper
|
|
118
|
+
};
|
|
119
|
+
export const parameters2 = {
|
|
120
|
+
parameterPath: "parameters",
|
|
121
|
+
mapper: ProfileMapper
|
|
122
|
+
};
|
|
123
|
+
export const heatMapType = {
|
|
124
|
+
parameterPath: "heatMapType",
|
|
125
|
+
mapper: {
|
|
126
|
+
defaultValue: "default",
|
|
127
|
+
isConstant: true,
|
|
128
|
+
serializedName: "heatMapType",
|
|
129
|
+
type: {
|
|
130
|
+
name: "String"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
export const topLeft = {
|
|
135
|
+
parameterPath: ["options", "topLeft"],
|
|
136
|
+
mapper: {
|
|
137
|
+
constraints: {
|
|
138
|
+
MinItems: 2,
|
|
139
|
+
MaxItems: 2
|
|
140
|
+
},
|
|
141
|
+
serializedName: "topLeft",
|
|
142
|
+
type: {
|
|
143
|
+
name: "Sequence",
|
|
144
|
+
element: {
|
|
145
|
+
type: {
|
|
146
|
+
name: "Number"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
collectionFormat: "CSV"
|
|
152
|
+
};
|
|
153
|
+
export const botRight = {
|
|
154
|
+
parameterPath: ["options", "botRight"],
|
|
155
|
+
mapper: {
|
|
156
|
+
constraints: {
|
|
157
|
+
MinItems: 2,
|
|
158
|
+
MaxItems: 2
|
|
159
|
+
},
|
|
160
|
+
serializedName: "botRight",
|
|
161
|
+
type: {
|
|
162
|
+
name: "Sequence",
|
|
163
|
+
element: {
|
|
164
|
+
type: {
|
|
165
|
+
name: "Number"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
collectionFormat: "CSV"
|
|
171
|
+
};
|
|
172
|
+
//# sourceMappingURL=parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,QAAQ,IAAI,cAAc,EAC1B,wDAAwD,IAAI,8DAA8D,EAC1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,MAAM,EAAE;QACN,YAAY,EAAE,SAAS;QACvB,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAA4B;IAC9C,aAAa,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;IACrC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,CAAC;SACZ;QACD,cAAc,EAAE,SAAS;QACzB,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;IACD,gBAAgB,EAAE,KAAK;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA4B;IAC/C,aAAa,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;IACtC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,QAAQ,EAAE,CAAC;YACX,QAAQ,EAAE,CAAC;SACZ;QACD,cAAc,EAAE,UAAU;QAC1B,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;IACD,gBAAgB,EAAE,KAAK;CACxB,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n Endpoint as EndpointMapper,\n CheckTrafficManagerRelativeDnsNameAvailabilityParameters as CheckTrafficManagerRelativeDnsNameAvailabilityParametersMapper,\n Profile as ProfileMapper\n} from \"../models/mappers.js\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: EndpointMapper\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const profileName: OperationURLParameter = {\n parameterPath: \"profileName\",\n mapper: {\n serializedName: \"profileName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpointType: OperationURLParameter = {\n parameterPath: \"endpointType\",\n mapper: {\n serializedName: \"endpointType\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"AzureEndpoints\", \"ExternalEndpoints\", \"NestedEndpoints\"]\n }\n }\n};\n\nexport const endpointName: OperationURLParameter = {\n parameterPath: \"endpointName\",\n mapper: {\n serializedName: \"endpointName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2022-04-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: CheckTrafficManagerRelativeDnsNameAvailabilityParametersMapper\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ProfileMapper\n};\n\nexport const heatMapType: OperationURLParameter = {\n parameterPath: \"heatMapType\",\n mapper: {\n defaultValue: \"default\",\n isConstant: true,\n serializedName: \"heatMapType\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const topLeft: OperationQueryParameter = {\n parameterPath: [\"options\", \"topLeft\"],\n mapper: {\n constraints: {\n MinItems: 2,\n MaxItems: 2\n },\n serializedName: \"topLeft\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Number\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const botRight: OperationQueryParameter = {\n parameterPath: [\"options\", \"botRight\"],\n mapper: {\n constraints: {\n MinItems: 2,\n MaxItems: 2\n },\n serializedName: \"botRight\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Number\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n"]}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Endpoints } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { TrafficManagerManagementClient } from "../trafficManagerManagementClient.js";
|
|
3
|
+
import { Endpoint, EndpointType, EndpointsUpdateOptionalParams, EndpointsUpdateResponse, EndpointsGetOptionalParams, EndpointsGetResponse, EndpointsCreateOrUpdateOptionalParams, EndpointsCreateOrUpdateResponse, EndpointsDeleteOptionalParams, EndpointsDeleteResponse } from "../models/index.js";
|
|
4
|
+
/** Class containing Endpoints operations. */
|
|
5
|
+
export declare class EndpointsImpl implements Endpoints {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class Endpoints class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: TrafficManagerManagementClient);
|
|
12
|
+
/**
|
|
13
|
+
* Update a Traffic Manager endpoint.
|
|
14
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
15
|
+
* @param profileName The name of the Traffic Manager profile.
|
|
16
|
+
* @param endpointType The type of the Traffic Manager endpoint to be updated.
|
|
17
|
+
* @param endpointName The name of the Traffic Manager endpoint to be updated.
|
|
18
|
+
* @param parameters The Traffic Manager endpoint parameters supplied to the Update operation.
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
update(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsUpdateOptionalParams): Promise<EndpointsUpdateResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Gets a Traffic Manager endpoint.
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param profileName The name of the Traffic Manager profile.
|
|
26
|
+
* @param endpointType The type of the Traffic Manager endpoint.
|
|
27
|
+
* @param endpointName The name of the Traffic Manager endpoint.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
get(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, options?: EndpointsGetOptionalParams): Promise<EndpointsGetResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Create or update a Traffic Manager endpoint.
|
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
+
* @param profileName The name of the Traffic Manager profile.
|
|
35
|
+
* @param endpointType The type of the Traffic Manager endpoint to be created or updated.
|
|
36
|
+
* @param endpointName The name of the Traffic Manager endpoint to be created or updated.
|
|
37
|
+
* @param parameters The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
createOrUpdate(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsCreateOrUpdateOptionalParams): Promise<EndpointsCreateOrUpdateResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Deletes a Traffic Manager endpoint.
|
|
43
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
44
|
+
* @param profileName The name of the Traffic Manager profile.
|
|
45
|
+
* @param endpointType The type of the Traffic Manager endpoint to be deleted.
|
|
46
|
+
* @param endpointName The name of the Traffic Manager endpoint to be deleted.
|
|
47
|
+
* @param options The options parameters.
|
|
48
|
+
*/
|
|
49
|
+
delete(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, options?: EndpointsDeleteOptionalParams): Promise<EndpointsDeleteResponse>;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=endpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../src/operations/endpoints.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAI7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,6BAA6B,EAC7B,uBAAuB,EACvB,0BAA0B,EAC1B,oBAAoB,EACpB,qCAAqC,EACrC,+BAA+B,EAC/B,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAE5B,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC;IAcnC;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC;IAOhC;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAc3C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC;CAMpC"}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
|
+
/** Class containing Endpoints operations. */
|
|
12
|
+
export class EndpointsImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class Endpoints class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Update a Traffic Manager endpoint.
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
+
* @param profileName The name of the Traffic Manager profile.
|
|
24
|
+
* @param endpointType The type of the Traffic Manager endpoint to be updated.
|
|
25
|
+
* @param endpointName The name of the Traffic Manager endpoint to be updated.
|
|
26
|
+
* @param parameters The Traffic Manager endpoint parameters supplied to the Update operation.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
update(resourceGroupName, profileName, endpointType, endpointName, parameters, options) {
|
|
30
|
+
return this.client.sendOperationRequest({
|
|
31
|
+
resourceGroupName,
|
|
32
|
+
profileName,
|
|
33
|
+
endpointType,
|
|
34
|
+
endpointName,
|
|
35
|
+
parameters,
|
|
36
|
+
options
|
|
37
|
+
}, updateOperationSpec);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Gets a Traffic Manager endpoint.
|
|
41
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
42
|
+
* @param profileName The name of the Traffic Manager profile.
|
|
43
|
+
* @param endpointType The type of the Traffic Manager endpoint.
|
|
44
|
+
* @param endpointName The name of the Traffic Manager endpoint.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
get(resourceGroupName, profileName, endpointType, endpointName, options) {
|
|
48
|
+
return this.client.sendOperationRequest({ resourceGroupName, profileName, endpointType, endpointName, options }, getOperationSpec);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Create or update a Traffic Manager endpoint.
|
|
52
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
53
|
+
* @param profileName The name of the Traffic Manager profile.
|
|
54
|
+
* @param endpointType The type of the Traffic Manager endpoint to be created or updated.
|
|
55
|
+
* @param endpointName The name of the Traffic Manager endpoint to be created or updated.
|
|
56
|
+
* @param parameters The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation.
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
createOrUpdate(resourceGroupName, profileName, endpointType, endpointName, parameters, options) {
|
|
60
|
+
return this.client.sendOperationRequest({
|
|
61
|
+
resourceGroupName,
|
|
62
|
+
profileName,
|
|
63
|
+
endpointType,
|
|
64
|
+
endpointName,
|
|
65
|
+
parameters,
|
|
66
|
+
options
|
|
67
|
+
}, createOrUpdateOperationSpec);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Deletes a Traffic Manager endpoint.
|
|
71
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
72
|
+
* @param profileName The name of the Traffic Manager profile.
|
|
73
|
+
* @param endpointType The type of the Traffic Manager endpoint to be deleted.
|
|
74
|
+
* @param endpointName The name of the Traffic Manager endpoint to be deleted.
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
delete(resourceGroupName, profileName, endpointType, endpointName, options) {
|
|
78
|
+
return this.client.sendOperationRequest({ resourceGroupName, profileName, endpointType, endpointName, options }, deleteOperationSpec);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
// Operation Specifications
|
|
82
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
83
|
+
const updateOperationSpec = {
|
|
84
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",
|
|
85
|
+
httpMethod: "PATCH",
|
|
86
|
+
responses: {
|
|
87
|
+
200: {
|
|
88
|
+
bodyMapper: Mappers.Endpoint
|
|
89
|
+
},
|
|
90
|
+
default: {
|
|
91
|
+
bodyMapper: Mappers.CloudError
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
requestBody: Parameters.parameters,
|
|
95
|
+
queryParameters: [Parameters.apiVersion],
|
|
96
|
+
urlParameters: [
|
|
97
|
+
Parameters.$host,
|
|
98
|
+
Parameters.resourceGroupName,
|
|
99
|
+
Parameters.profileName,
|
|
100
|
+
Parameters.endpointType,
|
|
101
|
+
Parameters.endpointName,
|
|
102
|
+
Parameters.subscriptionId
|
|
103
|
+
],
|
|
104
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
105
|
+
mediaType: "json",
|
|
106
|
+
serializer
|
|
107
|
+
};
|
|
108
|
+
const getOperationSpec = {
|
|
109
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",
|
|
110
|
+
httpMethod: "GET",
|
|
111
|
+
responses: {
|
|
112
|
+
200: {
|
|
113
|
+
bodyMapper: Mappers.Endpoint
|
|
114
|
+
},
|
|
115
|
+
default: {
|
|
116
|
+
bodyMapper: Mappers.CloudError
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
queryParameters: [Parameters.apiVersion],
|
|
120
|
+
urlParameters: [
|
|
121
|
+
Parameters.$host,
|
|
122
|
+
Parameters.resourceGroupName,
|
|
123
|
+
Parameters.profileName,
|
|
124
|
+
Parameters.endpointType,
|
|
125
|
+
Parameters.endpointName,
|
|
126
|
+
Parameters.subscriptionId
|
|
127
|
+
],
|
|
128
|
+
headerParameters: [Parameters.accept],
|
|
129
|
+
serializer
|
|
130
|
+
};
|
|
131
|
+
const createOrUpdateOperationSpec = {
|
|
132
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",
|
|
133
|
+
httpMethod: "PUT",
|
|
134
|
+
responses: {
|
|
135
|
+
200: {
|
|
136
|
+
bodyMapper: Mappers.Endpoint
|
|
137
|
+
},
|
|
138
|
+
201: {
|
|
139
|
+
bodyMapper: Mappers.Endpoint
|
|
140
|
+
},
|
|
141
|
+
default: {
|
|
142
|
+
bodyMapper: Mappers.CloudError
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
requestBody: Parameters.parameters,
|
|
146
|
+
queryParameters: [Parameters.apiVersion],
|
|
147
|
+
urlParameters: [
|
|
148
|
+
Parameters.$host,
|
|
149
|
+
Parameters.resourceGroupName,
|
|
150
|
+
Parameters.profileName,
|
|
151
|
+
Parameters.endpointType,
|
|
152
|
+
Parameters.endpointName,
|
|
153
|
+
Parameters.subscriptionId
|
|
154
|
+
],
|
|
155
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
156
|
+
mediaType: "json",
|
|
157
|
+
serializer
|
|
158
|
+
};
|
|
159
|
+
const deleteOperationSpec = {
|
|
160
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",
|
|
161
|
+
httpMethod: "DELETE",
|
|
162
|
+
responses: {
|
|
163
|
+
200: {
|
|
164
|
+
bodyMapper: Mappers.DeleteOperationResult
|
|
165
|
+
},
|
|
166
|
+
204: {},
|
|
167
|
+
default: {
|
|
168
|
+
bodyMapper: Mappers.CloudError
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
queryParameters: [Parameters.apiVersion],
|
|
172
|
+
urlParameters: [
|
|
173
|
+
Parameters.$host,
|
|
174
|
+
Parameters.resourceGroupName,
|
|
175
|
+
Parameters.profileName,
|
|
176
|
+
Parameters.endpointType,
|
|
177
|
+
Parameters.endpointName,
|
|
178
|
+
Parameters.subscriptionId
|
|
179
|
+
],
|
|
180
|
+
headerParameters: [Parameters.accept],
|
|
181
|
+
serializer
|
|
182
|
+
};
|
|
183
|
+
//# sourceMappingURL=endpoints.js.map
|
|
@@ -0,0 +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;;;;;;;;OA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AAC,QAAQ;SAC7B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,UAAU;IAClC,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,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"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { GeographicHierarchies } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { TrafficManagerManagementClient } from "../trafficManagerManagementClient.js";
|
|
3
|
+
import { GeographicHierarchiesGetDefaultOptionalParams, GeographicHierarchiesGetDefaultResponse } from "../models/index.js";
|
|
4
|
+
/** Class containing GeographicHierarchies operations. */
|
|
5
|
+
export declare class GeographicHierarchiesImpl implements GeographicHierarchies {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class GeographicHierarchies class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: TrafficManagerManagementClient);
|
|
12
|
+
/**
|
|
13
|
+
* Gets the default Geographic Hierarchy used by the Geographic traffic routing method.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
getDefault(options?: GeographicHierarchiesGetDefaultOptionalParams): Promise<GeographicHierarchiesGetDefaultResponse>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=geographicHierarchies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geographicHierarchies.d.ts","sourceRoot":"","sources":["../../../src/operations/geographicHierarchies.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAIzE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EACL,6CAA6C,EAC7C,uCAAuC,EACxC,MAAM,oBAAoB,CAAC;AAE5B,yDAAyD;AACzD,qBAAa,yBAA0B,YAAW,qBAAqB;IACrE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;OAGG;IACH,UAAU,CACR,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;CAMpD"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
|
+
/** Class containing GeographicHierarchies operations. */
|
|
12
|
+
export class GeographicHierarchiesImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class GeographicHierarchies class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Gets the default Geographic Hierarchy used by the Geographic traffic routing method.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
getDefault(options) {
|
|
25
|
+
return this.client.sendOperationRequest({ options }, getDefaultOperationSpec);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
// Operation Specifications
|
|
29
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
30
|
+
const getDefaultOperationSpec = {
|
|
31
|
+
path: "/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default",
|
|
32
|
+
httpMethod: "GET",
|
|
33
|
+
responses: {
|
|
34
|
+
200: {
|
|
35
|
+
bodyMapper: Mappers.TrafficManagerGeographicHierarchy
|
|
36
|
+
},
|
|
37
|
+
default: {
|
|
38
|
+
bodyMapper: Mappers.CloudError
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
queryParameters: [Parameters.apiVersion],
|
|
42
|
+
urlParameters: [Parameters.$host],
|
|
43
|
+
headerParameters: [Parameters.accept],
|
|
44
|
+
serializer
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=geographicHierarchies.js.map
|
|
@@ -0,0 +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"]}
|