@azure/arm-trafficmanager 4.1.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +1 -1
- package/README.md +75 -81
- package/dist/index.js +1719 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/endpointDeleteExternal.d.ts +2 -0
- package/dist-esm/samples-dev/endpointDeleteExternal.d.ts.map +1 -0
- package/dist-esm/samples-dev/endpointDeleteExternal.js +33 -0
- package/dist-esm/samples-dev/endpointDeleteExternal.js.map +1 -0
- package/dist-esm/samples-dev/endpointGetExternalWithGeoMapping.d.ts +2 -0
- package/dist-esm/samples-dev/endpointGetExternalWithGeoMapping.d.ts.map +1 -0
- package/dist-esm/samples-dev/endpointGetExternalWithGeoMapping.js +33 -0
- package/dist-esm/samples-dev/endpointGetExternalWithGeoMapping.js.map +1 -0
- package/dist-esm/samples-dev/endpointGetExternalWithLocation.d.ts +2 -0
- package/dist-esm/samples-dev/endpointGetExternalWithLocation.d.ts.map +1 -0
- package/dist-esm/samples-dev/endpointGetExternalWithLocation.js +33 -0
- package/dist-esm/samples-dev/endpointGetExternalWithLocation.js.map +1 -0
- package/dist-esm/samples-dev/endpointGetExternalWithSubnetMapping.d.ts +2 -0
- package/dist-esm/samples-dev/endpointGetExternalWithSubnetMapping.d.ts.map +1 -0
- package/dist-esm/samples-dev/endpointGetExternalWithSubnetMapping.js +33 -0
- package/dist-esm/samples-dev/endpointGetExternalWithSubnetMapping.js.map +1 -0
- package/dist-esm/samples-dev/endpointPatchExternalTarget.d.ts +2 -0
- package/dist-esm/samples-dev/endpointPatchExternalTarget.d.ts.map +1 -0
- package/dist-esm/samples-dev/endpointPatchExternalTarget.js +39 -0
- package/dist-esm/samples-dev/endpointPatchExternalTarget.js.map +1 -0
- package/dist-esm/samples-dev/endpointPutExternalWithCustomHeaders.d.ts +2 -0
- package/dist-esm/samples-dev/endpointPutExternalWithCustomHeaders.d.ts.map +1 -0
- package/dist-esm/samples-dev/endpointPutExternalWithCustomHeaders.js +44 -0
- package/dist-esm/samples-dev/endpointPutExternalWithCustomHeaders.js.map +1 -0
- package/dist-esm/samples-dev/endpointPutExternalWithGeoMapping.d.ts +2 -0
- package/dist-esm/samples-dev/endpointPutExternalWithGeoMapping.d.ts.map +1 -0
- package/dist-esm/samples-dev/endpointPutExternalWithGeoMapping.js +40 -0
- package/dist-esm/samples-dev/endpointPutExternalWithGeoMapping.js.map +1 -0
- package/dist-esm/samples-dev/endpointPutExternalWithLocation.d.ts +2 -0
- package/dist-esm/samples-dev/endpointPutExternalWithLocation.d.ts.map +1 -0
- package/dist-esm/samples-dev/endpointPutExternalWithLocation.js +40 -0
- package/dist-esm/samples-dev/endpointPutExternalWithLocation.js.map +1 -0
- package/dist-esm/samples-dev/endpointPutExternalWithSubnetMapping.d.ts +2 -0
- package/dist-esm/samples-dev/endpointPutExternalWithSubnetMapping.d.ts.map +1 -0
- package/dist-esm/samples-dev/endpointPutExternalWithSubnetMapping.js +43 -0
- package/dist-esm/samples-dev/endpointPutExternalWithSubnetMapping.js.map +1 -0
- package/dist-esm/samples-dev/geographicHierarchyGetDefault.d.ts +2 -0
- package/dist-esm/samples-dev/geographicHierarchyGetDefault.d.ts.map +1 -0
- package/dist-esm/samples-dev/geographicHierarchyGetDefault.js +29 -0
- package/dist-esm/samples-dev/geographicHierarchyGetDefault.js.map +1 -0
- package/dist-esm/samples-dev/heatMapGet.d.ts +2 -0
- package/dist-esm/samples-dev/heatMapGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/heatMapGet.js +31 -0
- package/dist-esm/samples-dev/heatMapGet.js.map +1 -0
- package/dist-esm/samples-dev/heatMapGetWithNullValues.d.ts +2 -0
- package/dist-esm/samples-dev/heatMapGetWithNullValues.d.ts.map +1 -0
- package/dist-esm/samples-dev/heatMapGetWithNullValues.js +31 -0
- package/dist-esm/samples-dev/heatMapGetWithNullValues.js.map +1 -0
- package/dist-esm/samples-dev/heatMapGetWithTopLeftBotRight.d.ts +2 -0
- package/dist-esm/samples-dev/heatMapGetWithTopLeftBotRight.d.ts.map +1 -0
- package/dist-esm/samples-dev/heatMapGetWithTopLeftBotRight.js +34 -0
- package/dist-esm/samples-dev/heatMapGetWithTopLeftBotRight.js.map +1 -0
- package/dist-esm/samples-dev/listBySubscription.d.ts +2 -0
- package/dist-esm/samples-dev/listBySubscription.d.ts.map +1 -0
- package/dist-esm/samples-dev/listBySubscription.js +43 -0
- package/dist-esm/samples-dev/listBySubscription.js.map +1 -0
- package/dist-esm/samples-dev/listProfilesByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/listProfilesByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/listProfilesByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/listProfilesByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/nameAvailabilityTestNameAvailablePost21.d.ts +2 -0
- package/dist-esm/samples-dev/nameAvailabilityTestNameAvailablePost21.d.ts.map +1 -0
- package/dist-esm/samples-dev/nameAvailabilityTestNameAvailablePost21.js +33 -0
- package/dist-esm/samples-dev/nameAvailabilityTestNameAvailablePost21.js.map +1 -0
- package/dist-esm/samples-dev/nameAvailabilityTestNameNotAvailablePost23.d.ts +2 -0
- package/dist-esm/samples-dev/nameAvailabilityTestNameNotAvailablePost23.d.ts.map +1 -0
- package/dist-esm/samples-dev/nameAvailabilityTestNameNotAvailablePost23.js +33 -0
- package/dist-esm/samples-dev/nameAvailabilityTestNameNotAvailablePost23.js.map +1 -0
- package/dist-esm/samples-dev/profileDelete.d.ts +2 -0
- package/dist-esm/samples-dev/profileDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/profileDelete.js +31 -0
- package/dist-esm/samples-dev/profileDelete.js.map +1 -0
- package/dist-esm/samples-dev/profileGetWithEndpoints.d.ts +2 -0
- package/dist-esm/samples-dev/profileGetWithEndpoints.d.ts.map +1 -0
- package/dist-esm/samples-dev/profileGetWithEndpoints.js +31 -0
- package/dist-esm/samples-dev/profileGetWithEndpoints.js.map +1 -0
- package/dist-esm/samples-dev/profileGetWithTrafficViewDisabled.d.ts +2 -0
- package/dist-esm/samples-dev/profileGetWithTrafficViewDisabled.d.ts.map +1 -0
- package/dist-esm/samples-dev/profileGetWithTrafficViewDisabled.js +31 -0
- package/dist-esm/samples-dev/profileGetWithTrafficViewDisabled.js.map +1 -0
- package/dist-esm/samples-dev/profileGetWithTrafficViewEnabled.d.ts +2 -0
- package/dist-esm/samples-dev/profileGetWithTrafficViewEnabled.d.ts.map +1 -0
- package/dist-esm/samples-dev/profileGetWithTrafficViewEnabled.js +31 -0
- package/dist-esm/samples-dev/profileGetWithTrafficViewEnabled.js.map +1 -0
- package/dist-esm/samples-dev/profilePatchMonitorConfig.d.ts +2 -0
- package/dist-esm/samples-dev/profilePatchMonitorConfig.d.ts.map +1 -0
- package/dist-esm/samples-dev/profilePatchMonitorConfig.js +45 -0
- package/dist-esm/samples-dev/profilePatchMonitorConfig.js.map +1 -0
- package/dist-esm/samples-dev/profilePutMultiValue.d.ts +2 -0
- package/dist-esm/samples-dev/profilePutMultiValue.d.ts.map +1 -0
- package/dist-esm/samples-dev/profilePutMultiValue.js +40 -0
- package/dist-esm/samples-dev/profilePutMultiValue.js.map +1 -0
- package/dist-esm/samples-dev/profilePutNoEndpoints.d.ts +2 -0
- package/dist-esm/samples-dev/profilePutNoEndpoints.d.ts.map +1 -0
- package/dist-esm/samples-dev/profilePutNoEndpoints.js +38 -0
- package/dist-esm/samples-dev/profilePutNoEndpoints.js.map +1 -0
- package/dist-esm/samples-dev/profilePutWithAliasing.d.ts +2 -0
- package/dist-esm/samples-dev/profilePutWithAliasing.d.ts.map +1 -0
- package/dist-esm/samples-dev/profilePutWithAliasing.js +58 -0
- package/dist-esm/samples-dev/profilePutWithAliasing.js.map +1 -0
- package/dist-esm/samples-dev/profilePutWithCustomHeaders.d.ts +2 -0
- package/dist-esm/samples-dev/profilePutWithCustomHeaders.d.ts.map +1 -0
- package/dist-esm/samples-dev/profilePutWithCustomHeaders.js +67 -0
- package/dist-esm/samples-dev/profilePutWithCustomHeaders.js.map +1 -0
- package/dist-esm/samples-dev/profilePutWithEndpoints.d.ts +2 -0
- package/dist-esm/samples-dev/profilePutWithEndpoints.d.ts.map +1 -0
- package/dist-esm/samples-dev/profilePutWithEndpoints.js +57 -0
- package/dist-esm/samples-dev/profilePutWithEndpoints.js.map +1 -0
- package/dist-esm/samples-dev/profilePutWithNestedEndpoints.d.ts +2 -0
- package/dist-esm/samples-dev/profilePutWithNestedEndpoints.d.ts.map +1 -0
- package/dist-esm/samples-dev/profilePutWithNestedEndpoints.js +69 -0
- package/dist-esm/samples-dev/profilePutWithNestedEndpoints.js.map +1 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDelete.d.ts +2 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDelete.js +29 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDelete.js.map +1 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGet.d.ts +2 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGet.js +29 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGet.js.map +1 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysPut.d.ts +2 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysPut.d.ts.map +1 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysPut.js +29 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysPut.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +474 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +70 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +26 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +371 -330
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +17 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +88 -60
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/endpoints.d.ts +54 -0
- package/dist-esm/src/operations/endpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/endpoints.js +186 -0
- package/dist-esm/src/operations/endpoints.js.map +1 -0
- package/dist-esm/src/operations/geographicHierarchies.d.ts +18 -0
- package/dist-esm/src/operations/geographicHierarchies.d.ts.map +1 -0
- package/dist-esm/src/operations/geographicHierarchies.js +46 -0
- package/dist-esm/src/operations/geographicHierarchies.js.map +1 -0
- package/dist-esm/src/operations/heatMap.d.ts +20 -0
- package/dist-esm/src/operations/heatMap.d.ts.map +1 -0
- package/dist-esm/src/operations/heatMap.js +58 -0
- package/dist-esm/src/operations/heatMap.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/profiles.d.ts +80 -0
- package/dist-esm/src/operations/profiles.d.ts.map +1 -0
- package/dist-esm/src/operations/profiles.js +321 -0
- package/dist-esm/src/operations/profiles.js.map +1 -0
- package/dist-esm/src/operations/trafficManagerUserMetricsKeys.d.ts +28 -0
- package/dist-esm/src/operations/trafficManagerUserMetricsKeys.d.ts.map +1 -0
- package/dist-esm/src/operations/trafficManagerUserMetricsKeys.js +92 -0
- package/dist-esm/src/operations/trafficManagerUserMetricsKeys.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/endpoints.d.ts +46 -0
- package/dist-esm/src/operationsInterfaces/endpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/endpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/endpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/geographicHierarchies.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/geographicHierarchies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/geographicHierarchies.js +9 -0
- package/dist-esm/src/operationsInterfaces/geographicHierarchies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/heatMap.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/heatMap.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/heatMap.js +9 -0
- package/dist-esm/src/operationsInterfaces/heatMap.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/profiles.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/profiles.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/profiles.js +9 -0
- package/dist-esm/src/operationsInterfaces/profiles.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/trafficManagerUserMetricsKeys.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/trafficManagerUserMetricsKeys.js +9 -0
- package/dist-esm/src/operationsInterfaces/trafficManagerUserMetricsKeys.js.map +1 -0
- package/dist-esm/src/trafficManagerManagementClient.d.ts +23 -0
- package/dist-esm/src/trafficManagerManagementClient.d.ts.map +1 -0
- package/dist-esm/src/trafficManagerManagementClient.js +56 -0
- package/dist-esm/src/trafficManagerManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +82 -34
- package/review/arm-trafficmanager.api.md +486 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/models/index.ts +556 -0
- package/{lib → src}/models/mappers.ts +373 -327
- package/src/models/parameters.ts +189 -0
- package/src/operations/endpoints.ts +250 -0
- package/src/operations/geographicHierarchies.ts +63 -0
- package/src/operations/heatMap.ts +74 -0
- package/{lib → src}/operations/index.ts +3 -5
- package/src/operations/profiles.ts +399 -0
- package/src/operations/trafficManagerUserMetricsKeys.ts +122 -0
- package/src/operationsInterfaces/endpoints.ts +91 -0
- package/src/operationsInterfaces/geographicHierarchies.ts +23 -0
- package/src/operationsInterfaces/heatMap.ts +24 -0
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/profiles.ts +106 -0
- package/src/operationsInterfaces/trafficManagerUserMetricsKeys.ts +41 -0
- package/src/trafficManagerManagementClient.ts +98 -0
- package/tsconfig.json +6 -5
- package/types/arm-trafficmanager.d.ts +708 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-trafficmanager.js +0 -1822
- package/dist/arm-trafficmanager.js.map +0 -1
- package/dist/arm-trafficmanager.min.js +0 -1
- package/dist/arm-trafficmanager.min.js.map +0 -1
- package/esm/models/endpointsMappers.d.ts +0 -2
- package/esm/models/endpointsMappers.d.ts.map +0 -1
- package/esm/models/endpointsMappers.js +0 -11
- package/esm/models/endpointsMappers.js.map +0 -1
- package/esm/models/geographicHierarchiesMappers.d.ts +0 -2
- package/esm/models/geographicHierarchiesMappers.d.ts.map +0 -1
- package/esm/models/geographicHierarchiesMappers.js +0 -11
- package/esm/models/geographicHierarchiesMappers.js.map +0 -1
- package/esm/models/heatMapMappers.d.ts +0 -2
- package/esm/models/heatMapMappers.d.ts.map +0 -1
- package/esm/models/heatMapMappers.js +0 -11
- package/esm/models/heatMapMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -925
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -26
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -12
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/profilesMappers.d.ts +0 -2
- package/esm/models/profilesMappers.d.ts.map +0 -1
- package/esm/models/profilesMappers.js +0 -11
- package/esm/models/profilesMappers.js.map +0 -1
- package/esm/models/trafficManagerUserMetricsKeysMappers.d.ts +0 -2
- package/esm/models/trafficManagerUserMetricsKeysMappers.d.ts.map +0 -1
- package/esm/models/trafficManagerUserMetricsKeysMappers.js +0 -11
- package/esm/models/trafficManagerUserMetricsKeysMappers.js.map +0 -1
- package/esm/operations/endpoints.d.ts +0 -139
- package/esm/operations/endpoints.d.ts.map +0 -1
- package/esm/operations/endpoints.js +0 -182
- package/esm/operations/endpoints.js.map +0 -1
- package/esm/operations/geographicHierarchies.d.ts +0 -28
- package/esm/operations/geographicHierarchies.d.ts.map +0 -1
- package/esm/operations/geographicHierarchies.js +0 -51
- package/esm/operations/geographicHierarchies.js.map +0 -1
- package/esm/operations/heatMap.d.ts +0 -34
- package/esm/operations/heatMap.d.ts.map +0 -1
- package/esm/operations/heatMap.js +0 -61
- package/esm/operations/heatMap.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/profiles.d.ts +0 -166
- package/esm/operations/profiles.d.ts.map +0 -1
- package/esm/operations/profiles.js +0 -251
- package/esm/operations/profiles.js.map +0 -1
- package/esm/operations/trafficManagerUserMetricsKeys.d.ts +0 -58
- package/esm/operations/trafficManagerUserMetricsKeys.d.ts.map +0 -1
- package/esm/operations/trafficManagerUserMetricsKeys.js +0 -108
- package/esm/operations/trafficManagerUserMetricsKeys.js.map +0 -1
- package/esm/trafficManagerManagementClient.d.ts +0 -23
- package/esm/trafficManagerManagementClient.d.ts.map +0 -1
- package/esm/trafficManagerManagementClient.js +0 -38
- package/esm/trafficManagerManagementClient.js.map +0 -1
- package/esm/trafficManagerManagementClientContext.d.ts +0 -17
- package/esm/trafficManagerManagementClientContext.d.ts.map +0 -1
- package/esm/trafficManagerManagementClientContext.js +0 -57
- package/esm/trafficManagerManagementClientContext.js.map +0 -1
- package/lib/models/endpointsMappers.ts +0 -34
- package/lib/models/geographicHierarchiesMappers.ts +0 -33
- package/lib/models/heatMapMappers.ts +0 -33
- package/lib/models/index.ts +0 -982
- package/lib/models/parameters.ts +0 -138
- package/lib/models/profilesMappers.ts +0 -37
- package/lib/models/trafficManagerUserMetricsKeysMappers.ts +0 -34
- package/lib/operations/endpoints.ts +0 -336
- package/lib/operations/geographicHierarchies.ts +0 -74
- package/lib/operations/heatMap.ts +0 -90
- package/lib/operations/profiles.ts +0 -450
- package/lib/operations/trafficManagerUserMetricsKeys.ts +0 -171
- package/lib/trafficManagerManagementClient.ts +0 -51
- package/lib/trafficManagerManagementClientContext.ts +0 -63
package/lib/models/index.ts
DELETED
|
@@ -1,982 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
13
|
-
|
|
14
|
-
export { BaseResource, CloudError };
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @interface
|
|
19
|
-
* An interface representing DeleteOperationResult.
|
|
20
|
-
* The result of the request or operation.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export interface DeleteOperationResult {
|
|
24
|
-
/**
|
|
25
|
-
* @member {boolean} [operationResult] The result of the operation or
|
|
26
|
-
* request.
|
|
27
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
28
|
-
* the server.**
|
|
29
|
-
*/
|
|
30
|
-
readonly operationResult?: boolean;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* @interface
|
|
35
|
-
* An interface representing EndpointPropertiesSubnetsItem.
|
|
36
|
-
* Subnet first address, scope, and/or last address.
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
|
-
export interface EndpointPropertiesSubnetsItem {
|
|
40
|
-
/**
|
|
41
|
-
* @member {string} [first] First address in the subnet.
|
|
42
|
-
*/
|
|
43
|
-
first?: string;
|
|
44
|
-
/**
|
|
45
|
-
* @member {string} [last] Last address in the subnet.
|
|
46
|
-
*/
|
|
47
|
-
last?: string;
|
|
48
|
-
/**
|
|
49
|
-
* @member {number} [scope] Block size (number of leading bits in the subnet
|
|
50
|
-
* mask).
|
|
51
|
-
*/
|
|
52
|
-
scope?: number;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @interface
|
|
57
|
-
* An interface representing EndpointPropertiesCustomHeadersItem.
|
|
58
|
-
* Custom header name and value.
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
export interface EndpointPropertiesCustomHeadersItem {
|
|
62
|
-
/**
|
|
63
|
-
* @member {string} [name] Header name.
|
|
64
|
-
*/
|
|
65
|
-
name?: string;
|
|
66
|
-
/**
|
|
67
|
-
* @member {string} [value] Header value.
|
|
68
|
-
*/
|
|
69
|
-
value?: string;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* @interface
|
|
74
|
-
* An interface representing HeatMapEndpoint.
|
|
75
|
-
* Class which is a sparse representation of a Traffic Manager endpoint.
|
|
76
|
-
*
|
|
77
|
-
*/
|
|
78
|
-
export interface HeatMapEndpoint {
|
|
79
|
-
/**
|
|
80
|
-
* @member {string} [resourceId] The ARM Resource ID of this Traffic Manager
|
|
81
|
-
* endpoint.
|
|
82
|
-
*/
|
|
83
|
-
resourceId?: string;
|
|
84
|
-
/**
|
|
85
|
-
* @member {number} [endpointId] A number uniquely identifying this endpoint
|
|
86
|
-
* in query experiences.
|
|
87
|
-
*/
|
|
88
|
-
endpointId?: number;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* @interface
|
|
93
|
-
* An interface representing QueryExperience.
|
|
94
|
-
* Class representing a Traffic Manager HeatMap query experience properties.
|
|
95
|
-
*
|
|
96
|
-
*/
|
|
97
|
-
export interface QueryExperience {
|
|
98
|
-
/**
|
|
99
|
-
* @member {number} endpointId The id of the endpoint from the 'endpoints'
|
|
100
|
-
* array which these queries were routed to.
|
|
101
|
-
*/
|
|
102
|
-
endpointId: number;
|
|
103
|
-
/**
|
|
104
|
-
* @member {number} queryCount The number of queries originating from this
|
|
105
|
-
* location.
|
|
106
|
-
*/
|
|
107
|
-
queryCount: number;
|
|
108
|
-
/**
|
|
109
|
-
* @member {number} [latency] The latency experienced by queries originating
|
|
110
|
-
* from this location.
|
|
111
|
-
*/
|
|
112
|
-
latency?: number;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* @interface
|
|
117
|
-
* An interface representing TrafficFlow.
|
|
118
|
-
* Class representing a Traffic Manager HeatMap traffic flow properties.
|
|
119
|
-
*
|
|
120
|
-
*/
|
|
121
|
-
export interface TrafficFlow {
|
|
122
|
-
/**
|
|
123
|
-
* @member {string} [sourceIp] The IP address that this query experience
|
|
124
|
-
* originated from.
|
|
125
|
-
*/
|
|
126
|
-
sourceIp?: string;
|
|
127
|
-
/**
|
|
128
|
-
* @member {number} [latitude] The approximate latitude that these queries
|
|
129
|
-
* originated from.
|
|
130
|
-
*/
|
|
131
|
-
latitude?: number;
|
|
132
|
-
/**
|
|
133
|
-
* @member {number} [longitude] The approximate longitude that these queries
|
|
134
|
-
* originated from.
|
|
135
|
-
*/
|
|
136
|
-
longitude?: number;
|
|
137
|
-
/**
|
|
138
|
-
* @member {QueryExperience[]} [queryExperiences] The query experiences
|
|
139
|
-
* produced in this HeatMap calculation.
|
|
140
|
-
*/
|
|
141
|
-
queryExperiences?: QueryExperience[];
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* @interface
|
|
146
|
-
* An interface representing Resource.
|
|
147
|
-
* The core properties of ARM resources
|
|
148
|
-
*
|
|
149
|
-
* @extends BaseResource
|
|
150
|
-
*/
|
|
151
|
-
export interface Resource extends BaseResource {
|
|
152
|
-
/**
|
|
153
|
-
* @member {string} [id] Fully qualified resource Id for the resource. Ex -
|
|
154
|
-
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
|
|
155
|
-
*/
|
|
156
|
-
id?: string;
|
|
157
|
-
/**
|
|
158
|
-
* @member {string} [name] The name of the resource
|
|
159
|
-
*/
|
|
160
|
-
name?: string;
|
|
161
|
-
/**
|
|
162
|
-
* @member {string} [type] The type of the resource. Ex-
|
|
163
|
-
* Microsoft.Network/trafficmanagerProfiles.
|
|
164
|
-
*/
|
|
165
|
-
type?: string;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* @interface
|
|
170
|
-
* An interface representing ProxyResource.
|
|
171
|
-
* The resource model definition for a ARM proxy resource. It will have
|
|
172
|
-
* everything other than required location and tags
|
|
173
|
-
*
|
|
174
|
-
* @extends Resource
|
|
175
|
-
*/
|
|
176
|
-
export interface ProxyResource extends Resource {
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* @interface
|
|
181
|
-
* An interface representing HeatMapModel.
|
|
182
|
-
* Class representing a Traffic Manager HeatMap.
|
|
183
|
-
*
|
|
184
|
-
* @extends ProxyResource
|
|
185
|
-
*/
|
|
186
|
-
export interface HeatMapModel extends ProxyResource {
|
|
187
|
-
/**
|
|
188
|
-
* @member {Date} [startTime] The beginning of the time window for this
|
|
189
|
-
* HeatMap, inclusive.
|
|
190
|
-
*/
|
|
191
|
-
startTime?: Date;
|
|
192
|
-
/**
|
|
193
|
-
* @member {Date} [endTime] The ending of the time window for this HeatMap,
|
|
194
|
-
* exclusive.
|
|
195
|
-
*/
|
|
196
|
-
endTime?: Date;
|
|
197
|
-
/**
|
|
198
|
-
* @member {HeatMapEndpoint[]} [endpoints] The endpoints used in this HeatMap
|
|
199
|
-
* calculation.
|
|
200
|
-
*/
|
|
201
|
-
endpoints?: HeatMapEndpoint[];
|
|
202
|
-
/**
|
|
203
|
-
* @member {TrafficFlow[]} [trafficFlows] The traffic flows produced in this
|
|
204
|
-
* HeatMap calculation.
|
|
205
|
-
*/
|
|
206
|
-
trafficFlows?: TrafficFlow[];
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* @interface
|
|
211
|
-
* An interface representing UserMetricsModel.
|
|
212
|
-
* Class representing Traffic Manager User Metrics.
|
|
213
|
-
*
|
|
214
|
-
* @extends ProxyResource
|
|
215
|
-
*/
|
|
216
|
-
export interface UserMetricsModel extends ProxyResource {
|
|
217
|
-
/**
|
|
218
|
-
* @member {string} [key] The key returned by the User Metrics operation.
|
|
219
|
-
*/
|
|
220
|
-
key?: string;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* @interface
|
|
225
|
-
* An interface representing Endpoint.
|
|
226
|
-
* Class representing a Traffic Manager endpoint.
|
|
227
|
-
*
|
|
228
|
-
* @extends ProxyResource
|
|
229
|
-
*/
|
|
230
|
-
export interface Endpoint extends ProxyResource {
|
|
231
|
-
/**
|
|
232
|
-
* @member {string} [targetResourceId] The Azure Resource URI of the of the
|
|
233
|
-
* endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
|
|
234
|
-
*/
|
|
235
|
-
targetResourceId?: string;
|
|
236
|
-
/**
|
|
237
|
-
* @member {string} [target] The fully-qualified DNS name or IP address of
|
|
238
|
-
* the endpoint. Traffic Manager returns this value in DNS responses to
|
|
239
|
-
* direct traffic to this endpoint.
|
|
240
|
-
*/
|
|
241
|
-
target?: string;
|
|
242
|
-
/**
|
|
243
|
-
* @member {EndpointStatus} [endpointStatus] The status of the endpoint. If
|
|
244
|
-
* the endpoint is Enabled, it is probed for endpoint health and is included
|
|
245
|
-
* in the traffic routing method. Possible values include: 'Enabled',
|
|
246
|
-
* 'Disabled'
|
|
247
|
-
*/
|
|
248
|
-
endpointStatus?: EndpointStatus;
|
|
249
|
-
/**
|
|
250
|
-
* @member {number} [weight] The weight of this endpoint when using the
|
|
251
|
-
* 'Weighted' traffic routing method. Possible values are from 1 to 1000.
|
|
252
|
-
*/
|
|
253
|
-
weight?: number;
|
|
254
|
-
/**
|
|
255
|
-
* @member {number} [priority] The priority of this endpoint when using the
|
|
256
|
-
* 'Priority' traffic routing method. Possible values are from 1 to 1000,
|
|
257
|
-
* lower values represent higher priority. This is an optional parameter. If
|
|
258
|
-
* specified, it must be specified on all endpoints, and no two endpoints can
|
|
259
|
-
* share the same priority value.
|
|
260
|
-
*/
|
|
261
|
-
priority?: number;
|
|
262
|
-
/**
|
|
263
|
-
* @member {string} [endpointLocation] Specifies the location of the external
|
|
264
|
-
* or nested endpoints when using the 'Performance' traffic routing method.
|
|
265
|
-
*/
|
|
266
|
-
endpointLocation?: string;
|
|
267
|
-
/**
|
|
268
|
-
* @member {EndpointMonitorStatus} [endpointMonitorStatus] The monitoring
|
|
269
|
-
* status of the endpoint. Possible values include: 'CheckingEndpoint',
|
|
270
|
-
* 'Online', 'Degraded', 'Disabled', 'Inactive', 'Stopped'
|
|
271
|
-
*/
|
|
272
|
-
endpointMonitorStatus?: EndpointMonitorStatus;
|
|
273
|
-
/**
|
|
274
|
-
* @member {number} [minChildEndpoints] The minimum number of endpoints that
|
|
275
|
-
* must be available in the child profile in order for the parent profile to
|
|
276
|
-
* be considered available. Only applicable to endpoint of type
|
|
277
|
-
* 'NestedEndpoints'.
|
|
278
|
-
*/
|
|
279
|
-
minChildEndpoints?: number;
|
|
280
|
-
/**
|
|
281
|
-
* @member {string[]} [geoMapping] The list of countries/regions mapped to
|
|
282
|
-
* this endpoint when using the 'Geographic' traffic routing method. Please
|
|
283
|
-
* consult Traffic Manager Geographic documentation for a full list of
|
|
284
|
-
* accepted values.
|
|
285
|
-
*/
|
|
286
|
-
geoMapping?: string[];
|
|
287
|
-
/**
|
|
288
|
-
* @member {EndpointPropertiesSubnetsItem[]} [subnets] The list of subnets,
|
|
289
|
-
* IP addresses, and/or address ranges mapped to this endpoint when using the
|
|
290
|
-
* 'Subnet' traffic routing method. An empty list will match all ranges not
|
|
291
|
-
* covered by other endpoints.
|
|
292
|
-
*/
|
|
293
|
-
subnets?: EndpointPropertiesSubnetsItem[];
|
|
294
|
-
/**
|
|
295
|
-
* @member {EndpointPropertiesCustomHeadersItem[]} [customHeaders] List of
|
|
296
|
-
* custom headers.
|
|
297
|
-
*/
|
|
298
|
-
customHeaders?: EndpointPropertiesCustomHeadersItem[];
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* @interface
|
|
303
|
-
* An interface representing CheckTrafficManagerRelativeDnsNameAvailabilityParameters.
|
|
304
|
-
* Parameters supplied to check Traffic Manager name operation.
|
|
305
|
-
*
|
|
306
|
-
*/
|
|
307
|
-
export interface CheckTrafficManagerRelativeDnsNameAvailabilityParameters {
|
|
308
|
-
/**
|
|
309
|
-
* @member {string} [name] The name of the resource.
|
|
310
|
-
*/
|
|
311
|
-
name?: string;
|
|
312
|
-
/**
|
|
313
|
-
* @member {string} [type] The type of the resource.
|
|
314
|
-
*/
|
|
315
|
-
type?: string;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* @interface
|
|
320
|
-
* An interface representing DnsConfig.
|
|
321
|
-
* Class containing DNS settings in a Traffic Manager profile.
|
|
322
|
-
*
|
|
323
|
-
*/
|
|
324
|
-
export interface DnsConfig {
|
|
325
|
-
/**
|
|
326
|
-
* @member {string} [relativeName] The relative DNS name provided by this
|
|
327
|
-
* Traffic Manager profile. This value is combined with the DNS domain name
|
|
328
|
-
* used by Azure Traffic Manager to form the fully-qualified domain name
|
|
329
|
-
* (FQDN) of the profile.
|
|
330
|
-
*/
|
|
331
|
-
relativeName?: string;
|
|
332
|
-
/**
|
|
333
|
-
* @member {string} [fqdn] The fully-qualified domain name (FQDN) of the
|
|
334
|
-
* Traffic Manager profile. This is formed from the concatenation of the
|
|
335
|
-
* RelativeName with the DNS domain used by Azure Traffic Manager.
|
|
336
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
337
|
-
* the server.**
|
|
338
|
-
*/
|
|
339
|
-
readonly fqdn?: string;
|
|
340
|
-
/**
|
|
341
|
-
* @member {number} [ttl] The DNS Time-To-Live (TTL), in seconds. This
|
|
342
|
-
* informs the local DNS resolvers and DNS clients how long to cache DNS
|
|
343
|
-
* responses provided by this Traffic Manager profile.
|
|
344
|
-
*/
|
|
345
|
-
ttl?: number;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* @interface
|
|
350
|
-
* An interface representing MonitorConfigCustomHeadersItem.
|
|
351
|
-
* Custom header name and value.
|
|
352
|
-
*
|
|
353
|
-
*/
|
|
354
|
-
export interface MonitorConfigCustomHeadersItem {
|
|
355
|
-
/**
|
|
356
|
-
* @member {string} [name] Header name.
|
|
357
|
-
*/
|
|
358
|
-
name?: string;
|
|
359
|
-
/**
|
|
360
|
-
* @member {string} [value] Header value.
|
|
361
|
-
*/
|
|
362
|
-
value?: string;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
* @interface
|
|
367
|
-
* An interface representing MonitorConfigExpectedStatusCodeRangesItem.
|
|
368
|
-
* Min and max value of a status code range.
|
|
369
|
-
*
|
|
370
|
-
*/
|
|
371
|
-
export interface MonitorConfigExpectedStatusCodeRangesItem {
|
|
372
|
-
/**
|
|
373
|
-
* @member {number} [min] Min status code.
|
|
374
|
-
*/
|
|
375
|
-
min?: number;
|
|
376
|
-
/**
|
|
377
|
-
* @member {number} [max] Max status code.
|
|
378
|
-
*/
|
|
379
|
-
max?: number;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* @interface
|
|
384
|
-
* An interface representing MonitorConfig.
|
|
385
|
-
* Class containing endpoint monitoring settings in a Traffic Manager profile.
|
|
386
|
-
*
|
|
387
|
-
*/
|
|
388
|
-
export interface MonitorConfig {
|
|
389
|
-
/**
|
|
390
|
-
* @member {ProfileMonitorStatus} [profileMonitorStatus] The profile-level
|
|
391
|
-
* monitoring status of the Traffic Manager profile. Possible values include:
|
|
392
|
-
* 'CheckingEndpoints', 'Online', 'Degraded', 'Disabled', 'Inactive'
|
|
393
|
-
*/
|
|
394
|
-
profileMonitorStatus?: ProfileMonitorStatus;
|
|
395
|
-
/**
|
|
396
|
-
* @member {MonitorProtocol} [protocol] The protocol (HTTP, HTTPS or TCP)
|
|
397
|
-
* used to probe for endpoint health. Possible values include: 'HTTP',
|
|
398
|
-
* 'HTTPS', 'TCP'
|
|
399
|
-
*/
|
|
400
|
-
protocol?: MonitorProtocol;
|
|
401
|
-
/**
|
|
402
|
-
* @member {number} [port] The TCP port used to probe for endpoint health.
|
|
403
|
-
*/
|
|
404
|
-
port?: number;
|
|
405
|
-
/**
|
|
406
|
-
* @member {string} [path] The path relative to the endpoint domain name used
|
|
407
|
-
* to probe for endpoint health.
|
|
408
|
-
*/
|
|
409
|
-
path?: string;
|
|
410
|
-
/**
|
|
411
|
-
* @member {number} [intervalInSeconds] The monitor interval for endpoints in
|
|
412
|
-
* this profile. This is the interval at which Traffic Manager will check the
|
|
413
|
-
* health of each endpoint in this profile.
|
|
414
|
-
*/
|
|
415
|
-
intervalInSeconds?: number;
|
|
416
|
-
/**
|
|
417
|
-
* @member {number} [timeoutInSeconds] The monitor timeout for endpoints in
|
|
418
|
-
* this profile. This is the time that Traffic Manager allows endpoints in
|
|
419
|
-
* this profile to response to the health check.
|
|
420
|
-
*/
|
|
421
|
-
timeoutInSeconds?: number;
|
|
422
|
-
/**
|
|
423
|
-
* @member {number} [toleratedNumberOfFailures] The number of consecutive
|
|
424
|
-
* failed health check that Traffic Manager tolerates before declaring an
|
|
425
|
-
* endpoint in this profile Degraded after the next failed health check.
|
|
426
|
-
*/
|
|
427
|
-
toleratedNumberOfFailures?: number;
|
|
428
|
-
/**
|
|
429
|
-
* @member {MonitorConfigCustomHeadersItem[]} [customHeaders] List of custom
|
|
430
|
-
* headers.
|
|
431
|
-
*/
|
|
432
|
-
customHeaders?: MonitorConfigCustomHeadersItem[];
|
|
433
|
-
/**
|
|
434
|
-
* @member {MonitorConfigExpectedStatusCodeRangesItem[]}
|
|
435
|
-
* [expectedStatusCodeRanges] List of expected status code ranges.
|
|
436
|
-
*/
|
|
437
|
-
expectedStatusCodeRanges?: MonitorConfigExpectedStatusCodeRangesItem[];
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
/**
|
|
441
|
-
* @interface
|
|
442
|
-
* An interface representing TrackedResource.
|
|
443
|
-
* The resource model definition for a ARM tracked top level resource
|
|
444
|
-
*
|
|
445
|
-
* @extends Resource
|
|
446
|
-
*/
|
|
447
|
-
export interface TrackedResource extends Resource {
|
|
448
|
-
/**
|
|
449
|
-
* @member {{ [propertyName: string]: string }} [tags] Resource tags.
|
|
450
|
-
*/
|
|
451
|
-
tags?: { [propertyName: string]: string };
|
|
452
|
-
/**
|
|
453
|
-
* @member {string} [location] The Azure Region where the resource lives
|
|
454
|
-
*/
|
|
455
|
-
location?: string;
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
/**
|
|
459
|
-
* @interface
|
|
460
|
-
* An interface representing Profile.
|
|
461
|
-
* Class representing a Traffic Manager profile.
|
|
462
|
-
*
|
|
463
|
-
* @extends TrackedResource
|
|
464
|
-
*/
|
|
465
|
-
export interface Profile extends TrackedResource {
|
|
466
|
-
/**
|
|
467
|
-
* @member {ProfileStatus} [profileStatus] The status of the Traffic Manager
|
|
468
|
-
* profile. Possible values include: 'Enabled', 'Disabled'
|
|
469
|
-
*/
|
|
470
|
-
profileStatus?: ProfileStatus;
|
|
471
|
-
/**
|
|
472
|
-
* @member {TrafficRoutingMethod} [trafficRoutingMethod] The traffic routing
|
|
473
|
-
* method of the Traffic Manager profile. Possible values include:
|
|
474
|
-
* 'Performance', 'Priority', 'Weighted', 'Geographic', 'MultiValue',
|
|
475
|
-
* 'Subnet'
|
|
476
|
-
*/
|
|
477
|
-
trafficRoutingMethod?: TrafficRoutingMethod;
|
|
478
|
-
/**
|
|
479
|
-
* @member {DnsConfig} [dnsConfig] The DNS settings of the Traffic Manager
|
|
480
|
-
* profile.
|
|
481
|
-
*/
|
|
482
|
-
dnsConfig?: DnsConfig;
|
|
483
|
-
/**
|
|
484
|
-
* @member {MonitorConfig} [monitorConfig] The endpoint monitoring settings
|
|
485
|
-
* of the Traffic Manager profile.
|
|
486
|
-
*/
|
|
487
|
-
monitorConfig?: MonitorConfig;
|
|
488
|
-
/**
|
|
489
|
-
* @member {Endpoint[]} [endpoints] The list of endpoints in the Traffic
|
|
490
|
-
* Manager profile.
|
|
491
|
-
*/
|
|
492
|
-
endpoints?: Endpoint[];
|
|
493
|
-
/**
|
|
494
|
-
* @member {TrafficViewEnrollmentStatus} [trafficViewEnrollmentStatus]
|
|
495
|
-
* Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic
|
|
496
|
-
* Manager profile. Null, indicates 'Disabled'. Enabling this feature will
|
|
497
|
-
* increase the cost of the Traffic Manage profile. Possible values include:
|
|
498
|
-
* 'Enabled', 'Disabled'
|
|
499
|
-
*/
|
|
500
|
-
trafficViewEnrollmentStatus?: TrafficViewEnrollmentStatus;
|
|
501
|
-
/**
|
|
502
|
-
* @member {number} [maxReturn] Maximum number of endpoints to be returned
|
|
503
|
-
* for MultiValue routing type.
|
|
504
|
-
*/
|
|
505
|
-
maxReturn?: number;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* @interface
|
|
510
|
-
* An interface representing TrafficManagerNameAvailability.
|
|
511
|
-
* Class representing a Traffic Manager Name Availability response.
|
|
512
|
-
*
|
|
513
|
-
*/
|
|
514
|
-
export interface TrafficManagerNameAvailability {
|
|
515
|
-
/**
|
|
516
|
-
* @member {string} [name] The relative name.
|
|
517
|
-
*/
|
|
518
|
-
name?: string;
|
|
519
|
-
/**
|
|
520
|
-
* @member {string} [type] Traffic Manager profile resource type.
|
|
521
|
-
*/
|
|
522
|
-
type?: string;
|
|
523
|
-
/**
|
|
524
|
-
* @member {boolean} [nameAvailable] Describes whether the relative name is
|
|
525
|
-
* available or not.
|
|
526
|
-
*/
|
|
527
|
-
nameAvailable?: boolean;
|
|
528
|
-
/**
|
|
529
|
-
* @member {string} [reason] The reason why the name is not available, when
|
|
530
|
-
* applicable.
|
|
531
|
-
*/
|
|
532
|
-
reason?: string;
|
|
533
|
-
/**
|
|
534
|
-
* @member {string} [message] Descriptive message that explains why the name
|
|
535
|
-
* is not available, when applicable.
|
|
536
|
-
*/
|
|
537
|
-
message?: string;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
/**
|
|
541
|
-
* @interface
|
|
542
|
-
* An interface representing Region.
|
|
543
|
-
* Class representing a region in the Geographic hierarchy used with the
|
|
544
|
-
* Geographic traffic routing method.
|
|
545
|
-
*
|
|
546
|
-
*/
|
|
547
|
-
export interface Region {
|
|
548
|
-
/**
|
|
549
|
-
* @member {string} [code] The code of the region
|
|
550
|
-
*/
|
|
551
|
-
code?: string;
|
|
552
|
-
/**
|
|
553
|
-
* @member {string} [name] The name of the region
|
|
554
|
-
*/
|
|
555
|
-
name?: string;
|
|
556
|
-
/**
|
|
557
|
-
* @member {Region[]} [regions] The list of Regions grouped under this Region
|
|
558
|
-
* in the Geographic Hierarchy.
|
|
559
|
-
*/
|
|
560
|
-
regions?: Region[];
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
/**
|
|
564
|
-
* @interface
|
|
565
|
-
* An interface representing TrafficManagerGeographicHierarchy.
|
|
566
|
-
* Class representing the Geographic hierarchy used with the Geographic traffic
|
|
567
|
-
* routing method.
|
|
568
|
-
*
|
|
569
|
-
* @extends ProxyResource
|
|
570
|
-
*/
|
|
571
|
-
export interface TrafficManagerGeographicHierarchy extends ProxyResource {
|
|
572
|
-
/**
|
|
573
|
-
* @member {Region} [geographicHierarchy] The region at the root of the
|
|
574
|
-
* hierarchy from all the regions in the hierarchy can be retrieved.
|
|
575
|
-
*/
|
|
576
|
-
geographicHierarchy?: Region;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* @interface
|
|
581
|
-
* An interface representing HeatMapGetOptionalParams.
|
|
582
|
-
* Optional Parameters.
|
|
583
|
-
*
|
|
584
|
-
* @extends RequestOptionsBase
|
|
585
|
-
*/
|
|
586
|
-
export interface HeatMapGetOptionalParams extends msRest.RequestOptionsBase {
|
|
587
|
-
/**
|
|
588
|
-
* @member {number[]} [topLeft] The top left latitude,longitude pair of the
|
|
589
|
-
* rectangular viewport to query for.
|
|
590
|
-
*/
|
|
591
|
-
topLeft?: number[];
|
|
592
|
-
/**
|
|
593
|
-
* @member {number[]} [botRight] The bottom right latitude,longitude pair of
|
|
594
|
-
* the rectangular viewport to query for.
|
|
595
|
-
*/
|
|
596
|
-
botRight?: number[];
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
/**
|
|
600
|
-
* @interface
|
|
601
|
-
* An interface representing TrafficManagerManagementClientOptions.
|
|
602
|
-
* @extends AzureServiceClientOptions
|
|
603
|
-
*/
|
|
604
|
-
export interface TrafficManagerManagementClientOptions extends AzureServiceClientOptions {
|
|
605
|
-
/**
|
|
606
|
-
* @member {string} [baseUri]
|
|
607
|
-
*/
|
|
608
|
-
baseUri?: string;
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
/**
|
|
613
|
-
* @interface
|
|
614
|
-
* An interface representing the ProfileListResult.
|
|
615
|
-
* The list Traffic Manager profiles operation response.
|
|
616
|
-
*
|
|
617
|
-
* @extends Array<Profile>
|
|
618
|
-
*/
|
|
619
|
-
export interface ProfileListResult extends Array<Profile> {
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
/**
|
|
623
|
-
* Defines values for EndpointStatus.
|
|
624
|
-
* Possible values include: 'Enabled', 'Disabled'
|
|
625
|
-
* @readonly
|
|
626
|
-
* @enum {string}
|
|
627
|
-
*/
|
|
628
|
-
export type EndpointStatus = 'Enabled' | 'Disabled';
|
|
629
|
-
|
|
630
|
-
/**
|
|
631
|
-
* Defines values for EndpointMonitorStatus.
|
|
632
|
-
* Possible values include: 'CheckingEndpoint', 'Online', 'Degraded', 'Disabled', 'Inactive',
|
|
633
|
-
* 'Stopped'
|
|
634
|
-
* @readonly
|
|
635
|
-
* @enum {string}
|
|
636
|
-
*/
|
|
637
|
-
export type EndpointMonitorStatus = 'CheckingEndpoint' | 'Online' | 'Degraded' | 'Disabled' | 'Inactive' | 'Stopped';
|
|
638
|
-
|
|
639
|
-
/**
|
|
640
|
-
* Defines values for ProfileMonitorStatus.
|
|
641
|
-
* Possible values include: 'CheckingEndpoints', 'Online', 'Degraded', 'Disabled', 'Inactive'
|
|
642
|
-
* @readonly
|
|
643
|
-
* @enum {string}
|
|
644
|
-
*/
|
|
645
|
-
export type ProfileMonitorStatus = 'CheckingEndpoints' | 'Online' | 'Degraded' | 'Disabled' | 'Inactive';
|
|
646
|
-
|
|
647
|
-
/**
|
|
648
|
-
* Defines values for MonitorProtocol.
|
|
649
|
-
* Possible values include: 'HTTP', 'HTTPS', 'TCP'
|
|
650
|
-
* @readonly
|
|
651
|
-
* @enum {string}
|
|
652
|
-
*/
|
|
653
|
-
export type MonitorProtocol = 'HTTP' | 'HTTPS' | 'TCP';
|
|
654
|
-
|
|
655
|
-
/**
|
|
656
|
-
* Defines values for ProfileStatus.
|
|
657
|
-
* Possible values include: 'Enabled', 'Disabled'
|
|
658
|
-
* @readonly
|
|
659
|
-
* @enum {string}
|
|
660
|
-
*/
|
|
661
|
-
export type ProfileStatus = 'Enabled' | 'Disabled';
|
|
662
|
-
|
|
663
|
-
/**
|
|
664
|
-
* Defines values for TrafficRoutingMethod.
|
|
665
|
-
* Possible values include: 'Performance', 'Priority', 'Weighted', 'Geographic', 'MultiValue',
|
|
666
|
-
* 'Subnet'
|
|
667
|
-
* @readonly
|
|
668
|
-
* @enum {string}
|
|
669
|
-
*/
|
|
670
|
-
export type TrafficRoutingMethod = 'Performance' | 'Priority' | 'Weighted' | 'Geographic' | 'MultiValue' | 'Subnet';
|
|
671
|
-
|
|
672
|
-
/**
|
|
673
|
-
* Defines values for TrafficViewEnrollmentStatus.
|
|
674
|
-
* Possible values include: 'Enabled', 'Disabled'
|
|
675
|
-
* @readonly
|
|
676
|
-
* @enum {string}
|
|
677
|
-
*/
|
|
678
|
-
export type TrafficViewEnrollmentStatus = 'Enabled' | 'Disabled';
|
|
679
|
-
|
|
680
|
-
/**
|
|
681
|
-
* Contains response data for the update operation.
|
|
682
|
-
*/
|
|
683
|
-
export type EndpointsUpdateResponse = Endpoint & {
|
|
684
|
-
/**
|
|
685
|
-
* The underlying HTTP response.
|
|
686
|
-
*/
|
|
687
|
-
_response: msRest.HttpResponse & {
|
|
688
|
-
/**
|
|
689
|
-
* The response body as text (string format)
|
|
690
|
-
*/
|
|
691
|
-
bodyAsText: string;
|
|
692
|
-
/**
|
|
693
|
-
* The response body as parsed JSON or XML
|
|
694
|
-
*/
|
|
695
|
-
parsedBody: Endpoint;
|
|
696
|
-
};
|
|
697
|
-
};
|
|
698
|
-
|
|
699
|
-
/**
|
|
700
|
-
* Contains response data for the get operation.
|
|
701
|
-
*/
|
|
702
|
-
export type EndpointsGetResponse = Endpoint & {
|
|
703
|
-
/**
|
|
704
|
-
* The underlying HTTP response.
|
|
705
|
-
*/
|
|
706
|
-
_response: msRest.HttpResponse & {
|
|
707
|
-
/**
|
|
708
|
-
* The response body as text (string format)
|
|
709
|
-
*/
|
|
710
|
-
bodyAsText: string;
|
|
711
|
-
/**
|
|
712
|
-
* The response body as parsed JSON or XML
|
|
713
|
-
*/
|
|
714
|
-
parsedBody: Endpoint;
|
|
715
|
-
};
|
|
716
|
-
};
|
|
717
|
-
|
|
718
|
-
/**
|
|
719
|
-
* Contains response data for the createOrUpdate operation.
|
|
720
|
-
*/
|
|
721
|
-
export type EndpointsCreateOrUpdateResponse = Endpoint & {
|
|
722
|
-
/**
|
|
723
|
-
* The underlying HTTP response.
|
|
724
|
-
*/
|
|
725
|
-
_response: msRest.HttpResponse & {
|
|
726
|
-
/**
|
|
727
|
-
* The response body as text (string format)
|
|
728
|
-
*/
|
|
729
|
-
bodyAsText: string;
|
|
730
|
-
/**
|
|
731
|
-
* The response body as parsed JSON or XML
|
|
732
|
-
*/
|
|
733
|
-
parsedBody: Endpoint;
|
|
734
|
-
};
|
|
735
|
-
};
|
|
736
|
-
|
|
737
|
-
/**
|
|
738
|
-
* Contains response data for the deleteMethod operation.
|
|
739
|
-
*/
|
|
740
|
-
export type EndpointsDeleteMethodResponse = DeleteOperationResult & {
|
|
741
|
-
/**
|
|
742
|
-
* The underlying HTTP response.
|
|
743
|
-
*/
|
|
744
|
-
_response: msRest.HttpResponse & {
|
|
745
|
-
/**
|
|
746
|
-
* The response body as text (string format)
|
|
747
|
-
*/
|
|
748
|
-
bodyAsText: string;
|
|
749
|
-
/**
|
|
750
|
-
* The response body as parsed JSON or XML
|
|
751
|
-
*/
|
|
752
|
-
parsedBody: DeleteOperationResult;
|
|
753
|
-
};
|
|
754
|
-
};
|
|
755
|
-
|
|
756
|
-
/**
|
|
757
|
-
* Contains response data for the checkTrafficManagerRelativeDnsNameAvailability operation.
|
|
758
|
-
*/
|
|
759
|
-
export type ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse = TrafficManagerNameAvailability & {
|
|
760
|
-
/**
|
|
761
|
-
* The underlying HTTP response.
|
|
762
|
-
*/
|
|
763
|
-
_response: msRest.HttpResponse & {
|
|
764
|
-
/**
|
|
765
|
-
* The response body as text (string format)
|
|
766
|
-
*/
|
|
767
|
-
bodyAsText: string;
|
|
768
|
-
/**
|
|
769
|
-
* The response body as parsed JSON or XML
|
|
770
|
-
*/
|
|
771
|
-
parsedBody: TrafficManagerNameAvailability;
|
|
772
|
-
};
|
|
773
|
-
};
|
|
774
|
-
|
|
775
|
-
/**
|
|
776
|
-
* Contains response data for the listByResourceGroup operation.
|
|
777
|
-
*/
|
|
778
|
-
export type ProfilesListByResourceGroupResponse = ProfileListResult & {
|
|
779
|
-
/**
|
|
780
|
-
* The underlying HTTP response.
|
|
781
|
-
*/
|
|
782
|
-
_response: msRest.HttpResponse & {
|
|
783
|
-
/**
|
|
784
|
-
* The response body as text (string format)
|
|
785
|
-
*/
|
|
786
|
-
bodyAsText: string;
|
|
787
|
-
/**
|
|
788
|
-
* The response body as parsed JSON or XML
|
|
789
|
-
*/
|
|
790
|
-
parsedBody: ProfileListResult;
|
|
791
|
-
};
|
|
792
|
-
};
|
|
793
|
-
|
|
794
|
-
/**
|
|
795
|
-
* Contains response data for the listBySubscription operation.
|
|
796
|
-
*/
|
|
797
|
-
export type ProfilesListBySubscriptionResponse = ProfileListResult & {
|
|
798
|
-
/**
|
|
799
|
-
* The underlying HTTP response.
|
|
800
|
-
*/
|
|
801
|
-
_response: msRest.HttpResponse & {
|
|
802
|
-
/**
|
|
803
|
-
* The response body as text (string format)
|
|
804
|
-
*/
|
|
805
|
-
bodyAsText: string;
|
|
806
|
-
/**
|
|
807
|
-
* The response body as parsed JSON or XML
|
|
808
|
-
*/
|
|
809
|
-
parsedBody: ProfileListResult;
|
|
810
|
-
};
|
|
811
|
-
};
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* Contains response data for the get operation.
|
|
815
|
-
*/
|
|
816
|
-
export type ProfilesGetResponse = Profile & {
|
|
817
|
-
/**
|
|
818
|
-
* The underlying HTTP response.
|
|
819
|
-
*/
|
|
820
|
-
_response: msRest.HttpResponse & {
|
|
821
|
-
/**
|
|
822
|
-
* The response body as text (string format)
|
|
823
|
-
*/
|
|
824
|
-
bodyAsText: string;
|
|
825
|
-
/**
|
|
826
|
-
* The response body as parsed JSON or XML
|
|
827
|
-
*/
|
|
828
|
-
parsedBody: Profile;
|
|
829
|
-
};
|
|
830
|
-
};
|
|
831
|
-
|
|
832
|
-
/**
|
|
833
|
-
* Contains response data for the createOrUpdate operation.
|
|
834
|
-
*/
|
|
835
|
-
export type ProfilesCreateOrUpdateResponse = Profile & {
|
|
836
|
-
/**
|
|
837
|
-
* The underlying HTTP response.
|
|
838
|
-
*/
|
|
839
|
-
_response: msRest.HttpResponse & {
|
|
840
|
-
/**
|
|
841
|
-
* The response body as text (string format)
|
|
842
|
-
*/
|
|
843
|
-
bodyAsText: string;
|
|
844
|
-
/**
|
|
845
|
-
* The response body as parsed JSON or XML
|
|
846
|
-
*/
|
|
847
|
-
parsedBody: Profile;
|
|
848
|
-
};
|
|
849
|
-
};
|
|
850
|
-
|
|
851
|
-
/**
|
|
852
|
-
* Contains response data for the deleteMethod operation.
|
|
853
|
-
*/
|
|
854
|
-
export type ProfilesDeleteMethodResponse = DeleteOperationResult & {
|
|
855
|
-
/**
|
|
856
|
-
* The underlying HTTP response.
|
|
857
|
-
*/
|
|
858
|
-
_response: msRest.HttpResponse & {
|
|
859
|
-
/**
|
|
860
|
-
* The response body as text (string format)
|
|
861
|
-
*/
|
|
862
|
-
bodyAsText: string;
|
|
863
|
-
/**
|
|
864
|
-
* The response body as parsed JSON or XML
|
|
865
|
-
*/
|
|
866
|
-
parsedBody: DeleteOperationResult;
|
|
867
|
-
};
|
|
868
|
-
};
|
|
869
|
-
|
|
870
|
-
/**
|
|
871
|
-
* Contains response data for the update operation.
|
|
872
|
-
*/
|
|
873
|
-
export type ProfilesUpdateResponse = Profile & {
|
|
874
|
-
/**
|
|
875
|
-
* The underlying HTTP response.
|
|
876
|
-
*/
|
|
877
|
-
_response: msRest.HttpResponse & {
|
|
878
|
-
/**
|
|
879
|
-
* The response body as text (string format)
|
|
880
|
-
*/
|
|
881
|
-
bodyAsText: string;
|
|
882
|
-
/**
|
|
883
|
-
* The response body as parsed JSON or XML
|
|
884
|
-
*/
|
|
885
|
-
parsedBody: Profile;
|
|
886
|
-
};
|
|
887
|
-
};
|
|
888
|
-
|
|
889
|
-
/**
|
|
890
|
-
* Contains response data for the getDefault operation.
|
|
891
|
-
*/
|
|
892
|
-
export type GeographicHierarchiesGetDefaultResponse = TrafficManagerGeographicHierarchy & {
|
|
893
|
-
/**
|
|
894
|
-
* The underlying HTTP response.
|
|
895
|
-
*/
|
|
896
|
-
_response: msRest.HttpResponse & {
|
|
897
|
-
/**
|
|
898
|
-
* The response body as text (string format)
|
|
899
|
-
*/
|
|
900
|
-
bodyAsText: string;
|
|
901
|
-
/**
|
|
902
|
-
* The response body as parsed JSON or XML
|
|
903
|
-
*/
|
|
904
|
-
parsedBody: TrafficManagerGeographicHierarchy;
|
|
905
|
-
};
|
|
906
|
-
};
|
|
907
|
-
|
|
908
|
-
/**
|
|
909
|
-
* Contains response data for the get operation.
|
|
910
|
-
*/
|
|
911
|
-
export type HeatMapGetResponse = HeatMapModel & {
|
|
912
|
-
/**
|
|
913
|
-
* The underlying HTTP response.
|
|
914
|
-
*/
|
|
915
|
-
_response: msRest.HttpResponse & {
|
|
916
|
-
/**
|
|
917
|
-
* The response body as text (string format)
|
|
918
|
-
*/
|
|
919
|
-
bodyAsText: string;
|
|
920
|
-
/**
|
|
921
|
-
* The response body as parsed JSON or XML
|
|
922
|
-
*/
|
|
923
|
-
parsedBody: HeatMapModel;
|
|
924
|
-
};
|
|
925
|
-
};
|
|
926
|
-
|
|
927
|
-
/**
|
|
928
|
-
* Contains response data for the get operation.
|
|
929
|
-
*/
|
|
930
|
-
export type TrafficManagerUserMetricsKeysGetResponse = UserMetricsModel & {
|
|
931
|
-
/**
|
|
932
|
-
* The underlying HTTP response.
|
|
933
|
-
*/
|
|
934
|
-
_response: msRest.HttpResponse & {
|
|
935
|
-
/**
|
|
936
|
-
* The response body as text (string format)
|
|
937
|
-
*/
|
|
938
|
-
bodyAsText: string;
|
|
939
|
-
/**
|
|
940
|
-
* The response body as parsed JSON or XML
|
|
941
|
-
*/
|
|
942
|
-
parsedBody: UserMetricsModel;
|
|
943
|
-
};
|
|
944
|
-
};
|
|
945
|
-
|
|
946
|
-
/**
|
|
947
|
-
* Contains response data for the createOrUpdate operation.
|
|
948
|
-
*/
|
|
949
|
-
export type TrafficManagerUserMetricsKeysCreateOrUpdateResponse = UserMetricsModel & {
|
|
950
|
-
/**
|
|
951
|
-
* The underlying HTTP response.
|
|
952
|
-
*/
|
|
953
|
-
_response: msRest.HttpResponse & {
|
|
954
|
-
/**
|
|
955
|
-
* The response body as text (string format)
|
|
956
|
-
*/
|
|
957
|
-
bodyAsText: string;
|
|
958
|
-
/**
|
|
959
|
-
* The response body as parsed JSON or XML
|
|
960
|
-
*/
|
|
961
|
-
parsedBody: UserMetricsModel;
|
|
962
|
-
};
|
|
963
|
-
};
|
|
964
|
-
|
|
965
|
-
/**
|
|
966
|
-
* Contains response data for the deleteMethod operation.
|
|
967
|
-
*/
|
|
968
|
-
export type TrafficManagerUserMetricsKeysDeleteMethodResponse = DeleteOperationResult & {
|
|
969
|
-
/**
|
|
970
|
-
* The underlying HTTP response.
|
|
971
|
-
*/
|
|
972
|
-
_response: msRest.HttpResponse & {
|
|
973
|
-
/**
|
|
974
|
-
* The response body as text (string format)
|
|
975
|
-
*/
|
|
976
|
-
bodyAsText: string;
|
|
977
|
-
/**
|
|
978
|
-
* The response body as parsed JSON or XML
|
|
979
|
-
*/
|
|
980
|
-
parsedBody: DeleteOperationResult;
|
|
981
|
-
};
|
|
982
|
-
};
|