@azure/arm-trafficmanager 6.0.2-alpha.20221101.1 → 6.1.0-alpha.20221115.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 +14 -10
- package/README.md +1 -1
- package/dist/index.js +153 -48
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js +32 -4
- package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/endpointsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/endpointsGetSample.js +3 -3
- package/dist-esm/samples-dev/endpointsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.js +1 -1
- package/dist-esm/samples-dev/heatMapGetSample.js +3 -3
- package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.js +2 -2
- package/dist-esm/samples-dev/profilesCreateOrUpdateSample.js +6 -6
- package/dist-esm/samples-dev/profilesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/profilesGetSample.js +3 -3
- package/dist-esm/samples-dev/profilesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/profilesListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/profilesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.js +1 -1
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.js +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +62 -13
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +38 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +5 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +8 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/endpoints.d.ts +4 -7
- package/dist-esm/src/operations/endpoints.d.ts.map +1 -1
- package/dist-esm/src/operations/endpoints.js +4 -7
- package/dist-esm/src/operations/endpoints.js.map +1 -1
- package/dist-esm/src/operations/heatMap.d.ts +1 -1
- package/dist-esm/src/operations/heatMap.js +1 -1
- package/dist-esm/src/operations/profiles.d.ts +6 -9
- package/dist-esm/src/operations/profiles.d.ts.map +1 -1
- package/dist-esm/src/operations/profiles.js +22 -17
- package/dist-esm/src/operations/profiles.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/endpoints.d.ts +4 -7
- package/dist-esm/src/operationsInterfaces/endpoints.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/heatMap.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/profiles.d.ts +5 -7
- package/dist-esm/src/operationsInterfaces/profiles.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/trafficManagerManagementClient.d.ts +3 -2
- package/dist-esm/src/trafficManagerManagementClient.d.ts.map +1 -1
- package/dist-esm/src/trafficManagerManagementClient.js +51 -21
- package/dist-esm/src/trafficManagerManagementClient.js.map +1 -1
- package/dist-esm/test/trafficmanager_examples.spec.d.ts +4 -0
- package/dist-esm/test/trafficmanager_examples.spec.d.ts.map +1 -0
- package/dist-esm/test/trafficmanager_examples.spec.js +112 -0
- package/dist-esm/test/trafficmanager_examples.spec.js.map +1 -0
- package/package.json +12 -8
- package/review/arm-trafficmanager.api.md +42 -58
- package/src/index.ts +1 -0
- package/src/models/index.ts +63 -13
- package/src/models/mappers.ts +6 -0
- package/src/models/parameters.ts +8 -1
- package/src/operations/endpoints.ts +4 -7
- package/src/operations/heatMap.ts +1 -1
- package/src/operations/profiles.ts +31 -20
- package/src/operationsInterfaces/endpoints.ts +4 -7
- package/src/operationsInterfaces/heatMap.ts +1 -1
- package/src/operationsInterfaces/profiles.ts +5 -7
- package/src/pagingHelper.ts +39 -0
- package/src/trafficManagerManagementClient.ts +62 -23
- package/types/arm-trafficmanager.d.ts +86 -30
- package/dist-esm/samples-dev/endpointDeleteExternal.d.ts +0 -2
- package/dist-esm/samples-dev/endpointDeleteExternal.d.ts.map +0 -1
- package/dist-esm/samples-dev/endpointDeleteExternal.js +0 -33
- package/dist-esm/samples-dev/endpointDeleteExternal.js.map +0 -1
- package/dist-esm/samples-dev/endpointGetExternalWithGeoMapping.d.ts +0 -2
- package/dist-esm/samples-dev/endpointGetExternalWithGeoMapping.d.ts.map +0 -1
- package/dist-esm/samples-dev/endpointGetExternalWithGeoMapping.js +0 -33
- package/dist-esm/samples-dev/endpointGetExternalWithGeoMapping.js.map +0 -1
- package/dist-esm/samples-dev/endpointGetExternalWithLocation.d.ts +0 -2
- package/dist-esm/samples-dev/endpointGetExternalWithLocation.d.ts.map +0 -1
- package/dist-esm/samples-dev/endpointGetExternalWithLocation.js +0 -33
- package/dist-esm/samples-dev/endpointGetExternalWithLocation.js.map +0 -1
- package/dist-esm/samples-dev/endpointGetExternalWithSubnetMapping.d.ts +0 -2
- package/dist-esm/samples-dev/endpointGetExternalWithSubnetMapping.d.ts.map +0 -1
- package/dist-esm/samples-dev/endpointGetExternalWithSubnetMapping.js +0 -33
- package/dist-esm/samples-dev/endpointGetExternalWithSubnetMapping.js.map +0 -1
- package/dist-esm/samples-dev/endpointPatchExternalTarget.d.ts +0 -2
- package/dist-esm/samples-dev/endpointPatchExternalTarget.d.ts.map +0 -1
- package/dist-esm/samples-dev/endpointPatchExternalTarget.js +0 -39
- package/dist-esm/samples-dev/endpointPatchExternalTarget.js.map +0 -1
- package/dist-esm/samples-dev/endpointPutExternalWithCustomHeaders.d.ts +0 -2
- package/dist-esm/samples-dev/endpointPutExternalWithCustomHeaders.d.ts.map +0 -1
- package/dist-esm/samples-dev/endpointPutExternalWithCustomHeaders.js +0 -44
- package/dist-esm/samples-dev/endpointPutExternalWithCustomHeaders.js.map +0 -1
- package/dist-esm/samples-dev/endpointPutExternalWithGeoMapping.d.ts +0 -2
- package/dist-esm/samples-dev/endpointPutExternalWithGeoMapping.d.ts.map +0 -1
- package/dist-esm/samples-dev/endpointPutExternalWithGeoMapping.js +0 -40
- package/dist-esm/samples-dev/endpointPutExternalWithGeoMapping.js.map +0 -1
- package/dist-esm/samples-dev/endpointPutExternalWithLocation.d.ts +0 -2
- package/dist-esm/samples-dev/endpointPutExternalWithLocation.d.ts.map +0 -1
- package/dist-esm/samples-dev/endpointPutExternalWithLocation.js +0 -40
- package/dist-esm/samples-dev/endpointPutExternalWithLocation.js.map +0 -1
- package/dist-esm/samples-dev/endpointPutExternalWithSubnetMapping.d.ts +0 -2
- package/dist-esm/samples-dev/endpointPutExternalWithSubnetMapping.d.ts.map +0 -1
- package/dist-esm/samples-dev/endpointPutExternalWithSubnetMapping.js +0 -43
- package/dist-esm/samples-dev/endpointPutExternalWithSubnetMapping.js.map +0 -1
- package/dist-esm/samples-dev/geographicHierarchyGetDefault.d.ts +0 -2
- package/dist-esm/samples-dev/geographicHierarchyGetDefault.d.ts.map +0 -1
- package/dist-esm/samples-dev/geographicHierarchyGetDefault.js +0 -29
- package/dist-esm/samples-dev/geographicHierarchyGetDefault.js.map +0 -1
- package/dist-esm/samples-dev/heatMapGet.d.ts +0 -2
- package/dist-esm/samples-dev/heatMapGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/heatMapGet.js +0 -31
- package/dist-esm/samples-dev/heatMapGet.js.map +0 -1
- package/dist-esm/samples-dev/heatMapGetWithNullValues.d.ts +0 -2
- package/dist-esm/samples-dev/heatMapGetWithNullValues.d.ts.map +0 -1
- package/dist-esm/samples-dev/heatMapGetWithNullValues.js +0 -31
- package/dist-esm/samples-dev/heatMapGetWithNullValues.js.map +0 -1
- package/dist-esm/samples-dev/heatMapGetWithTopLeftBotRight.d.ts +0 -2
- package/dist-esm/samples-dev/heatMapGetWithTopLeftBotRight.d.ts.map +0 -1
- package/dist-esm/samples-dev/heatMapGetWithTopLeftBotRight.js +0 -34
- package/dist-esm/samples-dev/heatMapGetWithTopLeftBotRight.js.map +0 -1
- package/dist-esm/samples-dev/listBySubscription.d.ts +0 -2
- package/dist-esm/samples-dev/listBySubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/listBySubscription.js +0 -43
- package/dist-esm/samples-dev/listBySubscription.js.map +0 -1
- package/dist-esm/samples-dev/listProfilesByResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/listProfilesByResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/listProfilesByResourceGroup.js +0 -44
- package/dist-esm/samples-dev/listProfilesByResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/nameAvailabilityTestNameAvailablePost21.d.ts +0 -2
- package/dist-esm/samples-dev/nameAvailabilityTestNameAvailablePost21.d.ts.map +0 -1
- package/dist-esm/samples-dev/nameAvailabilityTestNameAvailablePost21.js +0 -33
- package/dist-esm/samples-dev/nameAvailabilityTestNameAvailablePost21.js.map +0 -1
- package/dist-esm/samples-dev/nameAvailabilityTestNameNotAvailablePost23.d.ts +0 -2
- package/dist-esm/samples-dev/nameAvailabilityTestNameNotAvailablePost23.d.ts.map +0 -1
- package/dist-esm/samples-dev/nameAvailabilityTestNameNotAvailablePost23.js +0 -33
- package/dist-esm/samples-dev/nameAvailabilityTestNameNotAvailablePost23.js.map +0 -1
- package/dist-esm/samples-dev/profileDelete.d.ts +0 -2
- package/dist-esm/samples-dev/profileDelete.d.ts.map +0 -1
- package/dist-esm/samples-dev/profileDelete.js +0 -31
- package/dist-esm/samples-dev/profileDelete.js.map +0 -1
- package/dist-esm/samples-dev/profileGetWithEndpoints.d.ts +0 -2
- package/dist-esm/samples-dev/profileGetWithEndpoints.d.ts.map +0 -1
- package/dist-esm/samples-dev/profileGetWithEndpoints.js +0 -31
- package/dist-esm/samples-dev/profileGetWithEndpoints.js.map +0 -1
- package/dist-esm/samples-dev/profileGetWithTrafficViewDisabled.d.ts +0 -2
- package/dist-esm/samples-dev/profileGetWithTrafficViewDisabled.d.ts.map +0 -1
- package/dist-esm/samples-dev/profileGetWithTrafficViewDisabled.js +0 -31
- package/dist-esm/samples-dev/profileGetWithTrafficViewDisabled.js.map +0 -1
- package/dist-esm/samples-dev/profileGetWithTrafficViewEnabled.d.ts +0 -2
- package/dist-esm/samples-dev/profileGetWithTrafficViewEnabled.d.ts.map +0 -1
- package/dist-esm/samples-dev/profileGetWithTrafficViewEnabled.js +0 -31
- package/dist-esm/samples-dev/profileGetWithTrafficViewEnabled.js.map +0 -1
- package/dist-esm/samples-dev/profilePatchMonitorConfig.d.ts +0 -2
- package/dist-esm/samples-dev/profilePatchMonitorConfig.d.ts.map +0 -1
- package/dist-esm/samples-dev/profilePatchMonitorConfig.js +0 -45
- package/dist-esm/samples-dev/profilePatchMonitorConfig.js.map +0 -1
- package/dist-esm/samples-dev/profilePutMultiValue.d.ts +0 -2
- package/dist-esm/samples-dev/profilePutMultiValue.d.ts.map +0 -1
- package/dist-esm/samples-dev/profilePutMultiValue.js +0 -40
- package/dist-esm/samples-dev/profilePutMultiValue.js.map +0 -1
- package/dist-esm/samples-dev/profilePutNoEndpoints.d.ts +0 -2
- package/dist-esm/samples-dev/profilePutNoEndpoints.d.ts.map +0 -1
- package/dist-esm/samples-dev/profilePutNoEndpoints.js +0 -38
- package/dist-esm/samples-dev/profilePutNoEndpoints.js.map +0 -1
- package/dist-esm/samples-dev/profilePutWithAliasing.d.ts +0 -2
- package/dist-esm/samples-dev/profilePutWithAliasing.d.ts.map +0 -1
- package/dist-esm/samples-dev/profilePutWithAliasing.js +0 -58
- package/dist-esm/samples-dev/profilePutWithAliasing.js.map +0 -1
- package/dist-esm/samples-dev/profilePutWithCustomHeaders.d.ts +0 -2
- package/dist-esm/samples-dev/profilePutWithCustomHeaders.d.ts.map +0 -1
- package/dist-esm/samples-dev/profilePutWithCustomHeaders.js +0 -67
- package/dist-esm/samples-dev/profilePutWithCustomHeaders.js.map +0 -1
- package/dist-esm/samples-dev/profilePutWithEndpoints.d.ts +0 -2
- package/dist-esm/samples-dev/profilePutWithEndpoints.d.ts.map +0 -1
- package/dist-esm/samples-dev/profilePutWithEndpoints.js +0 -57
- package/dist-esm/samples-dev/profilePutWithEndpoints.js.map +0 -1
- package/dist-esm/samples-dev/profilePutWithNestedEndpoints.d.ts +0 -2
- package/dist-esm/samples-dev/profilePutWithNestedEndpoints.d.ts.map +0 -1
- package/dist-esm/samples-dev/profilePutWithNestedEndpoints.js +0 -69
- package/dist-esm/samples-dev/profilePutWithNestedEndpoints.js.map +0 -1
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDelete.d.ts +0 -2
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDelete.d.ts.map +0 -1
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDelete.js +0 -29
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDelete.js.map +0 -1
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGet.d.ts +0 -2
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGet.d.ts.map +0 -1
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGet.js +0 -29
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGet.js.map +0 -1
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysPut.d.ts +0 -2
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysPut.d.ts.map +0 -1
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysPut.js +0 -29
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysPut.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -40
- package/dist-esm/test/sampleTest.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../src/operations/endpoints.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAenD,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../src/operations/endpoints.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAenD,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAyB,EACzB,WAAmB,EACnB,YAA0B,EAC1B,YAAoB,EACpB,UAAoB,EACpB,OAAuC;QAEvC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,WAAW;YACX,YAAY;YACZ,YAAY;YACZ,UAAU;YACV,OAAO;SACR,EACD,mBAAmB,CACpB,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CACD,iBAAyB,EACzB,WAAmB,EACnB,YAA0B,E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KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,mKAAmK;IACrK,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -11,7 +11,7 @@ export declare class HeatMapImpl implements HeatMap {
|
|
|
11
11
|
constructor(client: TrafficManagerManagementClient);
|
|
12
12
|
/**
|
|
13
13
|
* Gets latest heatmap for Traffic Manager profile.
|
|
14
|
-
* @param resourceGroupName The name of the resource group
|
|
14
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
15
15
|
* @param profileName The name of the Traffic Manager profile.
|
|
16
16
|
* @param options The options parameters.
|
|
17
17
|
*/
|
|
@@ -19,7 +19,7 @@ export class HeatMapImpl {
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Gets latest heatmap for Traffic Manager profile.
|
|
22
|
-
* @param resourceGroupName The name of the resource group
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
23
|
* @param profileName The name of the Traffic Manager profile.
|
|
24
24
|
* @param options The options parameters.
|
|
25
25
|
*/
|
|
@@ -12,8 +12,7 @@ export declare class ProfilesImpl implements Profiles {
|
|
|
12
12
|
constructor(client: TrafficManagerManagementClient);
|
|
13
13
|
/**
|
|
14
14
|
* Lists all Traffic Manager profiles within a resource group.
|
|
15
|
-
* @param resourceGroupName The name of the resource group
|
|
16
|
-
* be listed.
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
16
|
* @param options The options parameters.
|
|
18
17
|
*/
|
|
19
18
|
listByResourceGroup(resourceGroupName: string, options?: ProfilesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Profile>;
|
|
@@ -35,8 +34,7 @@ export declare class ProfilesImpl implements Profiles {
|
|
|
35
34
|
checkTrafficManagerRelativeDnsNameAvailability(parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters, options?: ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams): Promise<ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse>;
|
|
36
35
|
/**
|
|
37
36
|
* Lists all Traffic Manager profiles within a resource group.
|
|
38
|
-
* @param resourceGroupName The name of the resource group
|
|
39
|
-
* be listed.
|
|
37
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
40
38
|
* @param options The options parameters.
|
|
41
39
|
*/
|
|
42
40
|
private _listByResourceGroup;
|
|
@@ -47,14 +45,14 @@ export declare class ProfilesImpl implements Profiles {
|
|
|
47
45
|
private _listBySubscription;
|
|
48
46
|
/**
|
|
49
47
|
* Gets a Traffic Manager profile.
|
|
50
|
-
* @param resourceGroupName The name of the resource group
|
|
48
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
51
49
|
* @param profileName The name of the Traffic Manager profile.
|
|
52
50
|
* @param options The options parameters.
|
|
53
51
|
*/
|
|
54
52
|
get(resourceGroupName: string, profileName: string, options?: ProfilesGetOptionalParams): Promise<ProfilesGetResponse>;
|
|
55
53
|
/**
|
|
56
54
|
* Create or update a Traffic Manager profile.
|
|
57
|
-
* @param resourceGroupName The name of the resource group
|
|
55
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
58
56
|
* @param profileName The name of the Traffic Manager profile.
|
|
59
57
|
* @param parameters The Traffic Manager profile parameters supplied to the CreateOrUpdate operation.
|
|
60
58
|
* @param options The options parameters.
|
|
@@ -62,15 +60,14 @@ export declare class ProfilesImpl implements Profiles {
|
|
|
62
60
|
createOrUpdate(resourceGroupName: string, profileName: string, parameters: Profile, options?: ProfilesCreateOrUpdateOptionalParams): Promise<ProfilesCreateOrUpdateResponse>;
|
|
63
61
|
/**
|
|
64
62
|
* Deletes a Traffic Manager profile.
|
|
65
|
-
* @param resourceGroupName The name of the resource group
|
|
66
|
-
* deleted.
|
|
63
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
67
64
|
* @param profileName The name of the Traffic Manager profile to be deleted.
|
|
68
65
|
* @param options The options parameters.
|
|
69
66
|
*/
|
|
70
67
|
delete(resourceGroupName: string, profileName: string, options?: ProfilesDeleteOptionalParams): Promise<ProfilesDeleteResponse>;
|
|
71
68
|
/**
|
|
72
69
|
* Update a Traffic Manager profile.
|
|
73
|
-
* @param resourceGroupName The name of the resource group
|
|
70
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
74
71
|
* @param profileName The name of the Traffic Manager profile.
|
|
75
72
|
* @param parameters The Traffic Manager profile parameters supplied to the Update operation.
|
|
76
73
|
* @param options The options parameters.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../../src/operations/profiles.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,
|
|
1
|
+
{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../../src/operations/profiles.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,OAAO,EAAE,8BA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,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAOlC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAMnC"}
|
|
@@ -21,8 +21,7 @@ export class ProfilesImpl {
|
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Lists all Traffic Manager profiles within a resource group.
|
|
24
|
-
* @param resourceGroupName The name of the resource group
|
|
25
|
-
* be listed.
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
25
|
* @param options The options parameters.
|
|
27
26
|
*/
|
|
28
27
|
listByResourceGroup(resourceGroupName, options) {
|
|
@@ -34,14 +33,18 @@ export class ProfilesImpl {
|
|
|
34
33
|
[Symbol.asyncIterator]() {
|
|
35
34
|
return this;
|
|
36
35
|
},
|
|
37
|
-
byPage: () => {
|
|
38
|
-
|
|
36
|
+
byPage: (settings) => {
|
|
37
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
38
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
|
+
}
|
|
40
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
39
41
|
}
|
|
40
42
|
};
|
|
41
43
|
}
|
|
42
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
44
|
+
listByResourceGroupPagingPage(resourceGroupName, options, _settings) {
|
|
43
45
|
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
44
|
-
let result
|
|
46
|
+
let result;
|
|
47
|
+
result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
45
48
|
yield yield __await(result.value || []);
|
|
46
49
|
});
|
|
47
50
|
}
|
|
@@ -76,14 +79,18 @@ export class ProfilesImpl {
|
|
|
76
79
|
[Symbol.asyncIterator]() {
|
|
77
80
|
return this;
|
|
78
81
|
},
|
|
79
|
-
byPage: () => {
|
|
80
|
-
|
|
82
|
+
byPage: (settings) => {
|
|
83
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
84
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
85
|
+
}
|
|
86
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
81
87
|
}
|
|
82
88
|
};
|
|
83
89
|
}
|
|
84
|
-
listBySubscriptionPagingPage(options) {
|
|
90
|
+
listBySubscriptionPagingPage(options, _settings) {
|
|
85
91
|
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
86
|
-
let result
|
|
92
|
+
let result;
|
|
93
|
+
result = yield __await(this._listBySubscription(options));
|
|
87
94
|
yield yield __await(result.value || []);
|
|
88
95
|
});
|
|
89
96
|
}
|
|
@@ -116,8 +123,7 @@ export class ProfilesImpl {
|
|
|
116
123
|
}
|
|
117
124
|
/**
|
|
118
125
|
* Lists all Traffic Manager profiles within a resource group.
|
|
119
|
-
* @param resourceGroupName The name of the resource group
|
|
120
|
-
* be listed.
|
|
126
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
121
127
|
* @param options The options parameters.
|
|
122
128
|
*/
|
|
123
129
|
_listByResourceGroup(resourceGroupName, options) {
|
|
@@ -132,7 +138,7 @@ export class ProfilesImpl {
|
|
|
132
138
|
}
|
|
133
139
|
/**
|
|
134
140
|
* Gets a Traffic Manager profile.
|
|
135
|
-
* @param resourceGroupName The name of the resource group
|
|
141
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
136
142
|
* @param profileName The name of the Traffic Manager profile.
|
|
137
143
|
* @param options The options parameters.
|
|
138
144
|
*/
|
|
@@ -141,7 +147,7 @@ export class ProfilesImpl {
|
|
|
141
147
|
}
|
|
142
148
|
/**
|
|
143
149
|
* Create or update a Traffic Manager profile.
|
|
144
|
-
* @param resourceGroupName The name of the resource group
|
|
150
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
145
151
|
* @param profileName The name of the Traffic Manager profile.
|
|
146
152
|
* @param parameters The Traffic Manager profile parameters supplied to the CreateOrUpdate operation.
|
|
147
153
|
* @param options The options parameters.
|
|
@@ -151,8 +157,7 @@ export class ProfilesImpl {
|
|
|
151
157
|
}
|
|
152
158
|
/**
|
|
153
159
|
* Deletes a Traffic Manager profile.
|
|
154
|
-
* @param resourceGroupName The name of the resource group
|
|
155
|
-
* deleted.
|
|
160
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
156
161
|
* @param profileName The name of the Traffic Manager profile to be deleted.
|
|
157
162
|
* @param options The options parameters.
|
|
158
163
|
*/
|
|
@@ -161,7 +166,7 @@ export class ProfilesImpl {
|
|
|
161
166
|
}
|
|
162
167
|
/**
|
|
163
168
|
* Update a Traffic Manager profile.
|
|
164
|
-
* @param resourceGroupName The name of the resource group
|
|
169
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
165
170
|
* @param profileName The name of the Traffic Manager profile.
|
|
166
171
|
* @param parameters The Traffic Manager profile parameters supplied to the Update operation.
|
|
167
172
|
* @param options The options parameters.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profiles.js","sourceRoot":"","sources":["../../../src/operations/profiles.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAqBnD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"profi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ndpointType, EndpointsUpdateOptionalParams, EndpointsUpdateR
|
|
|
3
3
|
export interface Endpoints {
|
|
4
4
|
/**
|
|
5
5
|
* Update a Traffic Manager endpoint.
|
|
6
|
-
* @param resourceGroupName The name of the resource group
|
|
7
|
-
* be updated.
|
|
6
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
8
7
|
* @param profileName The name of the Traffic Manager profile.
|
|
9
8
|
* @param endpointType The type of the Traffic Manager endpoint to be updated.
|
|
10
9
|
* @param endpointName The name of the Traffic Manager endpoint to be updated.
|
|
@@ -14,7 +13,7 @@ export interface Endpoints {
|
|
|
14
13
|
update(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsUpdateOptionalParams): Promise<EndpointsUpdateResponse>;
|
|
15
14
|
/**
|
|
16
15
|
* Gets a Traffic Manager endpoint.
|
|
17
|
-
* @param resourceGroupName The name of the resource group
|
|
16
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
18
17
|
* @param profileName The name of the Traffic Manager profile.
|
|
19
18
|
* @param endpointType The type of the Traffic Manager endpoint.
|
|
20
19
|
* @param endpointName The name of the Traffic Manager endpoint.
|
|
@@ -23,8 +22,7 @@ export interface Endpoints {
|
|
|
23
22
|
get(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, options?: EndpointsGetOptionalParams): Promise<EndpointsGetResponse>;
|
|
24
23
|
/**
|
|
25
24
|
* Create or update a Traffic Manager endpoint.
|
|
26
|
-
* @param resourceGroupName The name of the resource group
|
|
27
|
-
* be created or updated.
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
28
26
|
* @param profileName The name of the Traffic Manager profile.
|
|
29
27
|
* @param endpointType The type of the Traffic Manager endpoint to be created or updated.
|
|
30
28
|
* @param endpointName The name of the Traffic Manager endpoint to be created or updated.
|
|
@@ -34,8 +32,7 @@ export interface Endpoints {
|
|
|
34
32
|
createOrUpdate(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsCreateOrUpdateOptionalParams): Promise<EndpointsCreateOrUpdateResponse>;
|
|
35
33
|
/**
|
|
36
34
|
* Deletes a Traffic Manager endpoint.
|
|
37
|
-
* @param resourceGroupName The name of the resource group
|
|
38
|
-
* be deleted.
|
|
35
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
39
36
|
* @param profileName The name of the Traffic Manager profile.
|
|
40
37
|
* @param endpointType The type of the Traffic Manager endpoint to be deleted.
|
|
41
38
|
* @param endpointName The name of the Traffic Manager endpoint to be deleted.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/endpoints.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,6BAA6B,EAC7B,uBAAuB,EACvB,0BAA0B,EAC1B,oBAAoB,EACpB,qCAAqC,EACrC,+BAA+B,EAC/B,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,WAAW,CAAC;AAEnB,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB
|
|
1
|
+
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/endpoints.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,6BAA6B,EAC7B,uBAAuB,EACvB,0BAA0B,EAC1B,oBAAoB,EACpB,qCAAqC,EACrC,+BAA+B,EAC/B,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,WAAW,CAAC;AAEnB,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACpC;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC5C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACrC"}
|
|
@@ -3,7 +3,7 @@ import { HeatMapGetOptionalParams, HeatMapGetResponse } from "../models";
|
|
|
3
3
|
export interface HeatMap {
|
|
4
4
|
/**
|
|
5
5
|
* Gets latest heatmap for Traffic Manager profile.
|
|
6
|
-
* @param resourceGroupName The name of the resource group
|
|
6
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
7
7
|
* @param profileName The name of the Traffic Manager profile.
|
|
8
8
|
* @param options The options parameters.
|
|
9
9
|
*/
|
|
@@ -4,8 +4,7 @@ import { Profile, ProfilesListByResourceGroupOptionalParams, ProfilesListBySubsc
|
|
|
4
4
|
export interface Profiles {
|
|
5
5
|
/**
|
|
6
6
|
* Lists all Traffic Manager profiles within a resource group.
|
|
7
|
-
* @param resourceGroupName The name of the resource group
|
|
8
|
-
* be listed.
|
|
7
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9
8
|
* @param options The options parameters.
|
|
10
9
|
*/
|
|
11
10
|
listByResourceGroup(resourceGroupName: string, options?: ProfilesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Profile>;
|
|
@@ -23,14 +22,14 @@ export interface Profiles {
|
|
|
23
22
|
checkTrafficManagerRelativeDnsNameAvailability(parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters, options?: ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams): Promise<ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse>;
|
|
24
23
|
/**
|
|
25
24
|
* Gets a Traffic Manager profile.
|
|
26
|
-
* @param resourceGroupName The name of the resource group
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
27
26
|
* @param profileName The name of the Traffic Manager profile.
|
|
28
27
|
* @param options The options parameters.
|
|
29
28
|
*/
|
|
30
29
|
get(resourceGroupName: string, profileName: string, options?: ProfilesGetOptionalParams): Promise<ProfilesGetResponse>;
|
|
31
30
|
/**
|
|
32
31
|
* Create or update a Traffic Manager profile.
|
|
33
|
-
* @param resourceGroupName The name of the resource group
|
|
32
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
33
|
* @param profileName The name of the Traffic Manager profile.
|
|
35
34
|
* @param parameters The Traffic Manager profile parameters supplied to the CreateOrUpdate operation.
|
|
36
35
|
* @param options The options parameters.
|
|
@@ -38,15 +37,14 @@ export interface Profiles {
|
|
|
38
37
|
createOrUpdate(resourceGroupName: string, profileName: string, parameters: Profile, options?: ProfilesCreateOrUpdateOptionalParams): Promise<ProfilesCreateOrUpdateResponse>;
|
|
39
38
|
/**
|
|
40
39
|
* Deletes a Traffic Manager profile.
|
|
41
|
-
* @param resourceGroupName The name of the resource group
|
|
42
|
-
* deleted.
|
|
40
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
43
41
|
* @param profileName The name of the Traffic Manager profile to be deleted.
|
|
44
42
|
* @param options The options parameters.
|
|
45
43
|
*/
|
|
46
44
|
delete(resourceGroupName: string, profileName: string, options?: ProfilesDeleteOptionalParams): Promise<ProfilesDeleteResponse>;
|
|
47
45
|
/**
|
|
48
46
|
* Update a Traffic Manager profile.
|
|
49
|
-
* @param resourceGroupName The name of the resource group
|
|
47
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
50
48
|
* @param profileName The name of the Traffic Manager profile.
|
|
51
49
|
* @param parameters The Traffic Manager profile parameters supplied to the Update operation.
|
|
52
50
|
* @param options The options parameters.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/profiles.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,OAAO,EACP,yCAAyC,EACzC,wCAAwC,EACxC,wDAAwD,EACxD,oEAAoE,EACpE,8DAA8D,EAC9D,yBAAyB,EACzB,mBAAmB,EACnB,oCAAoC,EACpC,8BAA8B,EAC9B,4BAA4B,EAC5B,sBAAsB,EACtB,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,WAAW,CAAC;AAGnB,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB
|
|
1
|
+
{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/profiles.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,OAAO,EACP,yCAAyC,EACzC,wCAAwC,EACxC,wDAAwD,EACxD,oEAAoE,EACpE,8DAA8D,EAC9D,yBAAyB,EACzB,mBAAmB,EACnB,oCAAoC,EACpC,8BAA8B,EAC9B,4BAA4B,EAC5B,sBAAsB,EACtB,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,WAAW,CAAC;AAGnB,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;;OAKG;IACH,8CAA8C,CAC5C,UAAU,EAAE,wDAAwD,EACpE,OAAO,CAAC,EAAE,oEAAoE,GAC7E,OAAO,CAAC,8DAA8D,CAAC,CAAC;IAC3E;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;IAC3C;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,OAAO,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACpC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PageInfo {
|
|
2
|
+
continuationToken?: string;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* Given a result page from a pageable operation, returns a
|
|
6
|
+
* continuation token that can be used to begin paging from
|
|
7
|
+
* that point later.
|
|
8
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
9
|
+
* @returns The continuation token that can be passed into byPage().
|
|
10
|
+
*/
|
|
11
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
12
|
+
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
|
13
|
+
//# sourceMappingURL=pagingHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
const pageMap = new WeakMap();
|
|
9
|
+
/**
|
|
10
|
+
* Given a result page from a pageable operation, returns a
|
|
11
|
+
* continuation token that can be used to begin paging from
|
|
12
|
+
* that point later.
|
|
13
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
|
14
|
+
* @returns The continuation token that can be passed into byPage().
|
|
15
|
+
*/
|
|
16
|
+
export function getContinuationToken(page) {
|
|
17
|
+
var _a;
|
|
18
|
+
if (typeof page !== "object" || page === null) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
22
|
+
}
|
|
23
|
+
export function setContinuationToken(page, continuationToken) {
|
|
24
|
+
var _a;
|
|
25
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
29
|
+
pageInfo.continuationToken = continuationToken;
|
|
30
|
+
pageMap.set(page, pageInfo);
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=pagingHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE;QAC7C,OAAO,SAAS,CAAC;KAClB;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE;QACnE,OAAO;KACR;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC"}
|
|
@@ -9,11 +9,12 @@ export declare class TrafficManagerManagementClient extends coreClient.ServiceCl
|
|
|
9
9
|
/**
|
|
10
10
|
* Initializes a new instance of the TrafficManagerManagementClient class.
|
|
11
11
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
-
* @param subscriptionId
|
|
13
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
12
|
+
* @param subscriptionId The ID of the target subscription.
|
|
14
13
|
* @param options The parameter options
|
|
15
14
|
*/
|
|
16
15
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: TrafficManagerManagementClientOptionalParams);
|
|
16
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
17
|
+
private addCustomApiVersionPolicy;
|
|
17
18
|
endpoints: Endpoints;
|
|
18
19
|
profiles: Profiles;
|
|
19
20
|
geographicHierarchies: GeographicHierarchies;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trafficManagerManagementClient.d.ts","sourceRoot":"","sources":["../../src/trafficManagerManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"trafficManagerManagementClient.d.ts","sourceRoot":"","sources":["../../src/trafficManagerManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAQ7C,OAAO,EACL,SAAS,EACT,QAAQ,EACR,qBAAqB,EACrB,OAAO,EACP,6BAA6B,EAC9B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,4CAA4C,EAAE,MAAM,UAAU,CAAC;AAExE,qBAAa,8BAA+B,SAAQ,UAAU,CAAC,aAAa;IAC1E,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,4CAA4C;IAkFxD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,6BAA6B,EAAE,6BAA6B,CAAC;CAC9D"}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
8
9
|
import * as coreClient from "@azure/core-client";
|
|
9
10
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
11
|
import { EndpointsImpl, ProfilesImpl, GeographicHierarchiesImpl, HeatMapImpl, TrafficManagerUserMetricsKeysImpl } from "./operations";
|
|
@@ -12,12 +13,11 @@ export class TrafficManagerManagementClient extends coreClient.ServiceClient {
|
|
|
12
13
|
/**
|
|
13
14
|
* Initializes a new instance of the TrafficManagerManagementClient class.
|
|
14
15
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
15
|
-
* @param subscriptionId
|
|
16
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
16
|
+
* @param subscriptionId The ID of the target subscription.
|
|
17
17
|
* @param options The parameter options
|
|
18
18
|
*/
|
|
19
19
|
constructor(credentials, subscriptionId, options) {
|
|
20
|
-
var _a, _b;
|
|
20
|
+
var _a, _b, _c;
|
|
21
21
|
if (credentials === undefined) {
|
|
22
22
|
throw new Error("'credentials' cannot be null");
|
|
23
23
|
}
|
|
@@ -32,43 +32,73 @@ export class TrafficManagerManagementClient extends coreClient.ServiceClient {
|
|
|
32
32
|
requestContentType: "application/json; charset=utf-8",
|
|
33
33
|
credential: credentials
|
|
34
34
|
};
|
|
35
|
-
const packageDetails = `azsdk-js-arm-trafficmanager/6.0.
|
|
35
|
+
const packageDetails = `azsdk-js-arm-trafficmanager/6.1.0-beta.1`;
|
|
36
36
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
37
37
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
38
38
|
: `${packageDetails}`;
|
|
39
|
-
if (!options.credentialScopes) {
|
|
40
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
41
|
-
}
|
|
42
39
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
43
40
|
userAgentPrefix
|
|
44
|
-
},
|
|
41
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
45
42
|
super(optionsWithDefaults);
|
|
43
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
46
44
|
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
47
45
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
48
|
-
|
|
46
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
49
47
|
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
48
|
+
}
|
|
49
|
+
if (!options ||
|
|
50
|
+
!options.pipeline ||
|
|
51
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
52
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
53
|
+
this.pipeline.removePolicy({
|
|
54
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
55
|
+
});
|
|
56
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
57
|
+
credential: credentials,
|
|
58
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
59
|
+
challengeCallbacks: {
|
|
60
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
61
|
+
}
|
|
62
|
+
}));
|
|
61
63
|
}
|
|
62
64
|
// Parameter assignments
|
|
63
65
|
this.subscriptionId = subscriptionId;
|
|
64
66
|
// Assigning values to Constant parameters
|
|
65
67
|
this.$host = options.$host || "https://management.azure.com";
|
|
66
|
-
this.apiVersion = options.apiVersion || "
|
|
68
|
+
this.apiVersion = options.apiVersion || "2022-04-01-preview";
|
|
67
69
|
this.endpoints = new EndpointsImpl(this);
|
|
68
70
|
this.profiles = new ProfilesImpl(this);
|
|
69
71
|
this.geographicHierarchies = new GeographicHierarchiesImpl(this);
|
|
70
72
|
this.heatMap = new HeatMapImpl(this);
|
|
71
73
|
this.trafficManagerUserMetricsKeys = new TrafficManagerUserMetricsKeysImpl(this);
|
|
74
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
75
|
+
}
|
|
76
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
77
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
78
|
+
if (!apiVersion) {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
const apiVersionPolicy = {
|
|
82
|
+
name: "CustomApiVersionPolicy",
|
|
83
|
+
sendRequest(request, next) {
|
|
84
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
85
|
+
const param = request.url.split("?");
|
|
86
|
+
if (param.length > 1) {
|
|
87
|
+
const newParams = param[1].split("&").map((item) => {
|
|
88
|
+
if (item.indexOf("api-version") > -1) {
|
|
89
|
+
return "api-version=" + apiVersion;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
return item;
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
96
|
+
}
|
|
97
|
+
return next(request);
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
72
102
|
}
|
|
73
103
|
}
|
|
74
104
|
//# sourceMappingURL=trafficManagerManagementClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trafficManagerManagementClient.js","sourceRoot":"","sources":["../../src/trafficManagerManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"trafficManagerManagementClient.js","sourceRoot":"","sources":["../../src/trafficManagerManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,aAAa,EACb,YAAY,EACZ,yBAAyB,EACzB,WAAW,EACX,iCAAiC,EAClC,MAAM,cAAc,CAAC;AAUtB,MAAM,OAAO,8BAA+B,SAAQ,UAAU,CAAC,aAAa;IAK1E;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAsD;;QAEtD,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SACjD;QACD,IAAI,cAAc,KAAK,SAAS,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,MAAM,QAAQ,GAAiD;YAC7D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,0CAA0C,CAAC;QAClE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GAC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;qBACpD;oBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC;aAAA;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAOF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trafficmanager_examples.spec.d.ts","sourceRoot":"","sources":["../../test/trafficmanager_examples.spec.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,kBAAkB;;CAE9B,CAAC"}
|