@azure/arm-cosmosdbforpostgresql 1.0.0 → 1.0.1-alpha.20231113.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/dist/index.js +74 -125
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +3 -8
  7. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js.map +1 -1
  8. package/dist-esm/samples-dev/clustersListSample.js +3 -8
  9. package/dist-esm/samples-dev/clustersListSample.js.map +1 -1
  10. package/dist-esm/samples-dev/configurationsListByClusterSample.js +3 -8
  11. package/dist-esm/samples-dev/configurationsListByClusterSample.js.map +1 -1
  12. package/dist-esm/samples-dev/configurationsListByServerSample.js +3 -8
  13. package/dist-esm/samples-dev/configurationsListByServerSample.js.map +1 -1
  14. package/dist-esm/samples-dev/firewallRulesListByClusterSample.js +3 -8
  15. package/dist-esm/samples-dev/firewallRulesListByClusterSample.js.map +1 -1
  16. package/dist-esm/samples-dev/operationsListSample.js +3 -8
  17. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  18. package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.js +3 -8
  19. package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.js.map +1 -1
  20. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +3 -8
  21. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js.map +1 -1
  22. package/dist-esm/samples-dev/rolesListByClusterSample.js +3 -8
  23. package/dist-esm/samples-dev/rolesListByClusterSample.js.map +1 -1
  24. package/dist-esm/samples-dev/serversListByClusterSample.js +3 -8
  25. package/dist-esm/samples-dev/serversListByClusterSample.js.map +1 -1
  26. package/dist-esm/src/cosmosDBForPostgreSQL.js +1 -1
  27. package/dist-esm/src/operations/clusters.js +6 -16
  28. package/dist-esm/src/operations/clusters.js.map +1 -1
  29. package/dist-esm/src/operations/configurations.js +6 -16
  30. package/dist-esm/src/operations/configurations.js.map +1 -1
  31. package/dist-esm/src/operations/firewallRules.js +3 -8
  32. package/dist-esm/src/operations/firewallRules.js.map +1 -1
  33. package/dist-esm/src/operations/operations.js +3 -8
  34. package/dist-esm/src/operations/operations.js.map +1 -1
  35. package/dist-esm/src/operations/privateEndpointConnections.js +3 -8
  36. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  37. package/dist-esm/src/operations/privateLinkResources.js +3 -8
  38. package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
  39. package/dist-esm/src/operations/roles.js +3 -8
  40. package/dist-esm/src/operations/roles.js.map +1 -1
  41. package/dist-esm/src/operations/servers.js +3 -8
  42. package/dist-esm/src/operations/servers.js.map +1 -1
  43. package/dist-esm/test/cosmosdbforpostgresql_operations_test.spec.js +7 -17
  44. package/dist-esm/test/cosmosdbforpostgresql_operations_test.spec.js.map +1 -1
  45. package/package.json +9 -16
  46. package/src/cosmosDBForPostgreSQL.ts +1 -1
  47. package/types/tsdoc-metadata.json +1 -1
  48. package/rollup.config.js +0 -122
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release History
2
-
2
+
3
+ ## 1.0.1 (Unreleased)
4
+
5
+ ### Features Added
6
+
7
+ ### Breaking Changes
8
+
9
+ ### Bugs Fixed
10
+
11
+ ### Other Changes
12
+
3
13
  ## 1.0.0 (2023-09-04)
4
14
 
5
- The package of @azure/arm-cosmosdbforpostgresql is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
15
+ The package of @azure/arm-cosmosdbforpostgresql is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
package/dist/index.js CHANGED
@@ -7,8 +7,7 @@ var coreClient = require('@azure/core-client');
7
7
  var coreRestPipeline = require('@azure/core-rest-pipeline');
8
8
  var coreLro = require('@azure/core-lro');
9
9
 
10
- function _interopNamespace(e) {
11
- if (e && e.__esModule) return e;
10
+ function _interopNamespaceDefault(e) {
12
11
  var n = Object.create(null);
13
12
  if (e) {
14
13
  Object.keys(e).forEach(function (k) {
@@ -21,12 +20,12 @@ function _interopNamespace(e) {
21
20
  }
22
21
  });
23
22
  }
24
- n["default"] = e;
23
+ n.default = e;
25
24
  return Object.freeze(n);
26
25
  }
27
26
 
28
- var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
29
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
27
+ var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
28
+ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
30
29
 
31
30
  /*
32
31
  * Copyright (c) Microsoft Corporation.
@@ -1856,59 +1855,59 @@ const PrivateEndpointConnectionsDeleteHeaders = {
1856
1855
 
1857
1856
  var Mappers = /*#__PURE__*/Object.freeze({
1858
1857
  __proto__: null,
1859
- ClusterListResult: ClusterListResult,
1860
- MaintenanceWindow: MaintenanceWindow,
1861
- ServerNameItem: ServerNameItem,
1862
- PrivateEndpointProperty: PrivateEndpointProperty,
1863
- PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
1864
- Resource: Resource,
1865
- SystemData: SystemData,
1866
- ErrorResponse: ErrorResponse,
1867
- ErrorDetail: ErrorDetail,
1868
- ErrorAdditionalInfo: ErrorAdditionalInfo,
1858
+ Cluster: Cluster,
1859
+ ClusterConfigurationListResult: ClusterConfigurationListResult,
1869
1860
  ClusterForUpdate: ClusterForUpdate,
1861
+ ClusterListResult: ClusterListResult,
1862
+ ClusterServer: ClusterServer,
1870
1863
  ClusterServerListResult: ClusterServerListResult,
1871
- ServerProperties: ServerProperties,
1872
- ServerConfigurationListResult: ServerConfigurationListResult,
1873
- ClusterConfigurationListResult: ClusterConfigurationListResult,
1874
- ServerRoleGroupConfiguration: ServerRoleGroupConfiguration,
1875
- FirewallRuleListResult: FirewallRuleListResult,
1876
- RoleListResult: RoleListResult,
1877
- NameAvailabilityRequest: NameAvailabilityRequest,
1878
- NameAvailability: NameAvailability,
1879
- OperationListResult: OperationListResult,
1880
- Operation: Operation,
1881
- OperationDisplay: OperationDisplay,
1882
- PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
1883
- PrivateEndpoint: PrivateEndpoint,
1884
- PrivateLinkResourceListResult: PrivateLinkResourceListResult,
1885
- ProxyResource: ProxyResource,
1886
- TrackedResource: TrackedResource,
1887
- PrivateEndpointConnection: PrivateEndpointConnection,
1888
- PrivateLinkResource: PrivateLinkResource,
1889
1864
  ClusterServerProperties: ClusterServerProperties,
1890
- SimplePrivateEndpointConnection: SimplePrivateEndpointConnection,
1891
- ClusterServer: ClusterServer,
1892
- ServerConfiguration: ServerConfiguration,
1893
- Configuration: Configuration,
1894
- FirewallRule: FirewallRule,
1895
- Role: Role,
1896
- Cluster: Cluster,
1897
1865
  ClustersCreateHeaders: ClustersCreateHeaders,
1898
1866
  ClustersDeleteHeaders: ClustersDeleteHeaders,
1899
- ClustersUpdateHeaders: ClustersUpdateHeaders,
1867
+ ClustersPromoteReadReplicaHeaders: ClustersPromoteReadReplicaHeaders,
1900
1868
  ClustersRestartHeaders: ClustersRestartHeaders,
1901
1869
  ClustersStartHeaders: ClustersStartHeaders,
1902
1870
  ClustersStopHeaders: ClustersStopHeaders,
1903
- ClustersPromoteReadReplicaHeaders: ClustersPromoteReadReplicaHeaders,
1871
+ ClustersUpdateHeaders: ClustersUpdateHeaders,
1872
+ Configuration: Configuration,
1904
1873
  ConfigurationsUpdateOnCoordinatorHeaders: ConfigurationsUpdateOnCoordinatorHeaders,
1905
1874
  ConfigurationsUpdateOnNodeHeaders: ConfigurationsUpdateOnNodeHeaders,
1875
+ ErrorAdditionalInfo: ErrorAdditionalInfo,
1876
+ ErrorDetail: ErrorDetail,
1877
+ ErrorResponse: ErrorResponse,
1878
+ FirewallRule: FirewallRule,
1879
+ FirewallRuleListResult: FirewallRuleListResult,
1906
1880
  FirewallRulesCreateOrUpdateHeaders: FirewallRulesCreateOrUpdateHeaders,
1907
1881
  FirewallRulesDeleteHeaders: FirewallRulesDeleteHeaders,
1882
+ MaintenanceWindow: MaintenanceWindow,
1883
+ NameAvailability: NameAvailability,
1884
+ NameAvailabilityRequest: NameAvailabilityRequest,
1885
+ Operation: Operation,
1886
+ OperationDisplay: OperationDisplay,
1887
+ OperationListResult: OperationListResult,
1888
+ PrivateEndpoint: PrivateEndpoint,
1889
+ PrivateEndpointConnection: PrivateEndpointConnection,
1890
+ PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
1891
+ PrivateEndpointConnectionsCreateOrUpdateHeaders: PrivateEndpointConnectionsCreateOrUpdateHeaders,
1892
+ PrivateEndpointConnectionsDeleteHeaders: PrivateEndpointConnectionsDeleteHeaders,
1893
+ PrivateEndpointProperty: PrivateEndpointProperty,
1894
+ PrivateLinkResource: PrivateLinkResource,
1895
+ PrivateLinkResourceListResult: PrivateLinkResourceListResult,
1896
+ PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
1897
+ ProxyResource: ProxyResource,
1898
+ Resource: Resource,
1899
+ Role: Role,
1900
+ RoleListResult: RoleListResult,
1908
1901
  RolesCreateHeaders: RolesCreateHeaders,
1909
1902
  RolesDeleteHeaders: RolesDeleteHeaders,
1910
- PrivateEndpointConnectionsCreateOrUpdateHeaders: PrivateEndpointConnectionsCreateOrUpdateHeaders,
1911
- PrivateEndpointConnectionsDeleteHeaders: PrivateEndpointConnectionsDeleteHeaders
1903
+ ServerConfiguration: ServerConfiguration,
1904
+ ServerConfigurationListResult: ServerConfigurationListResult,
1905
+ ServerNameItem: ServerNameItem,
1906
+ ServerProperties: ServerProperties,
1907
+ ServerRoleGroupConfiguration: ServerRoleGroupConfiguration,
1908
+ SimplePrivateEndpointConnection: SimplePrivateEndpointConnection,
1909
+ SystemData: SystemData,
1910
+ TrackedResource: TrackedResource
1912
1911
  });
1913
1912
 
1914
1913
  /*
@@ -2205,16 +2204,11 @@ class ClustersImpl {
2205
2204
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2206
2205
  var _a, e_1, _b, _c;
2207
2206
  try {
2208
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2207
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2209
2208
  _c = _f.value;
2210
2209
  _d = false;
2211
- try {
2212
- const page = _c;
2213
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2214
- }
2215
- finally {
2216
- _d = true;
2217
- }
2210
+ const page = _c;
2211
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2218
2212
  }
2219
2213
  }
2220
2214
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2272,16 +2266,11 @@ class ClustersImpl {
2272
2266
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
2273
2267
  var _a, e_2, _b, _c;
2274
2268
  try {
2275
- for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2269
+ for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2276
2270
  _c = _f.value;
2277
2271
  _d = false;
2278
- try {
2279
- const page = _c;
2280
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2281
- }
2282
- finally {
2283
- _d = true;
2284
- }
2272
+ const page = _c;
2273
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2285
2274
  }
2286
2275
  }
2287
2276
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -3102,16 +3091,11 @@ class ServersImpl {
3102
3091
  return tslib.__asyncGenerator(this, arguments, function* listByClusterPagingAll_1() {
3103
3092
  var _a, e_1, _b, _c;
3104
3093
  try {
3105
- for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3094
+ for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3106
3095
  _c = _f.value;
3107
3096
  _d = false;
3108
- try {
3109
- const page = _c;
3110
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3111
- }
3112
- finally {
3113
- _d = true;
3114
- }
3097
+ const page = _c;
3098
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3115
3099
  }
3116
3100
  }
3117
3101
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -3254,16 +3238,11 @@ class ConfigurationsImpl {
3254
3238
  return tslib.__asyncGenerator(this, arguments, function* listByServerPagingAll_1() {
3255
3239
  var _a, e_1, _b, _c;
3256
3240
  try {
3257
- for (var _d = true, _e = tslib.__asyncValues(this.listByServerPagingPage(resourceGroupName, clusterName, serverName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3241
+ for (var _d = true, _e = tslib.__asyncValues(this.listByServerPagingPage(resourceGroupName, clusterName, serverName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3258
3242
  _c = _f.value;
3259
3243
  _d = false;
3260
- try {
3261
- const page = _c;
3262
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3263
- }
3264
- finally {
3265
- _d = true;
3266
- }
3244
+ const page = _c;
3245
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3267
3246
  }
3268
3247
  }
3269
3248
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -3322,16 +3301,11 @@ class ConfigurationsImpl {
3322
3301
  return tslib.__asyncGenerator(this, arguments, function* listByClusterPagingAll_1() {
3323
3302
  var _a, e_2, _b, _c;
3324
3303
  try {
3325
- for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3304
+ for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3326
3305
  _c = _f.value;
3327
3306
  _d = false;
3328
- try {
3329
- const page = _c;
3330
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3331
- }
3332
- finally {
3333
- _d = true;
3334
- }
3307
+ const page = _c;
3308
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3335
3309
  }
3336
3310
  }
3337
3311
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -3818,16 +3792,11 @@ class FirewallRulesImpl {
3818
3792
  return tslib.__asyncGenerator(this, arguments, function* listByClusterPagingAll_1() {
3819
3793
  var _a, e_1, _b, _c;
3820
3794
  try {
3821
- for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3795
+ for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
3822
3796
  _c = _f.value;
3823
3797
  _d = false;
3824
- try {
3825
- const page = _c;
3826
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3827
- }
3828
- finally {
3829
- _d = true;
3830
- }
3798
+ const page = _c;
3799
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3831
3800
  }
3832
3801
  }
3833
3802
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -4144,16 +4113,11 @@ class RolesImpl {
4144
4113
  return tslib.__asyncGenerator(this, arguments, function* listByClusterPagingAll_1() {
4145
4114
  var _a, e_1, _b, _c;
4146
4115
  try {
4147
- for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4116
+ for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4148
4117
  _c = _f.value;
4149
4118
  _d = false;
4150
- try {
4151
- const page = _c;
4152
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4153
- }
4154
- finally {
4155
- _d = true;
4156
- }
4119
+ const page = _c;
4120
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4157
4121
  }
4158
4122
  }
4159
4123
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -4462,16 +4426,11 @@ class OperationsImpl {
4462
4426
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
4463
4427
  var _a, e_1, _b, _c;
4464
4428
  try {
4465
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4429
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4466
4430
  _c = _f.value;
4467
4431
  _d = false;
4468
- try {
4469
- const page = _c;
4470
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4471
- }
4472
- finally {
4473
- _d = true;
4474
- }
4432
+ const page = _c;
4433
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4475
4434
  }
4476
4435
  }
4477
4436
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -4561,16 +4520,11 @@ class PrivateEndpointConnectionsImpl {
4561
4520
  return tslib.__asyncGenerator(this, arguments, function* listByClusterPagingAll_1() {
4562
4521
  var _a, e_1, _b, _c;
4563
4522
  try {
4564
- for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4523
+ for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4565
4524
  _c = _f.value;
4566
4525
  _d = false;
4567
- try {
4568
- const page = _c;
4569
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4570
- }
4571
- finally {
4572
- _d = true;
4573
- }
4526
+ const page = _c;
4527
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4574
4528
  }
4575
4529
  }
4576
4530
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -4902,16 +4856,11 @@ class PrivateLinkResourcesImpl {
4902
4856
  return tslib.__asyncGenerator(this, arguments, function* listByClusterPagingAll_1() {
4903
4857
  var _a, e_1, _b, _c;
4904
4858
  try {
4905
- for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4859
+ for (var _d = true, _e = tslib.__asyncValues(this.listByClusterPagingPage(resourceGroupName, clusterName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
4906
4860
  _c = _f.value;
4907
4861
  _d = false;
4908
- try {
4909
- const page = _c;
4910
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4911
- }
4912
- finally {
4913
- _d = true;
4914
- }
4862
+ const page = _c;
4863
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4915
4864
  }
4916
4865
  }
4917
4866
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -5019,7 +4968,7 @@ class CosmosDBForPostgreSQL extends coreClient__namespace.ServiceClient {
5019
4968
  requestContentType: "application/json; charset=utf-8",
5020
4969
  credential: credentials
5021
4970
  };
5022
- const packageDetails = `azsdk-js-arm-cosmosdbforpostgresql/1.0.0`;
4971
+ const packageDetails = `azsdk-js-arm-cosmosdbforpostgresql/1.0.1`;
5023
4972
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
5024
4973
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
5025
4974
  : `${packageDetails}`;