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