kb-cloud-client-typescript 2.3.0-beta.0 → 2.3.0-beta.2

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 (83) hide show
  1. package/dist/adminapi/apis/cluster-api.d.ts +36 -4
  2. package/dist/adminapi/apis/cluster-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/cluster-api.js +30 -10
  4. package/dist/adminapi/apis/cluster-api.js.map +1 -1
  5. package/dist/adminapi/apis/load-balancer-api.d.ts +175 -0
  6. package/dist/adminapi/apis/load-balancer-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/load-balancer-api.js +213 -0
  8. package/dist/adminapi/apis/load-balancer-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +36 -4
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +30 -10
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/cluster-list-item.d.ts +20 -0
  14. package/dist/adminapi/models/cluster-list-item.d.ts.map +1 -1
  15. package/dist/adminapi/models/index.d.ts +4 -0
  16. package/dist/adminapi/models/index.d.ts.map +1 -1
  17. package/dist/adminapi/models/index.js +4 -0
  18. package/dist/adminapi/models/index.js.map +1 -1
  19. package/dist/adminapi/models/load-balancer-annotations.d.ts +35 -0
  20. package/dist/adminapi/models/load-balancer-annotations.d.ts.map +1 -0
  21. package/dist/adminapi/models/load-balancer-annotations.js +16 -0
  22. package/dist/adminapi/models/load-balancer-annotations.js.map +1 -0
  23. package/dist/adminapi/models/load-balancer-config-update.d.ts +26 -0
  24. package/dist/adminapi/models/load-balancer-config-update.d.ts.map +1 -0
  25. package/dist/adminapi/models/load-balancer-config-update.js +16 -0
  26. package/dist/adminapi/models/load-balancer-config-update.js.map +1 -0
  27. package/dist/adminapi/models/load-balancer-config.d.ts +32 -0
  28. package/dist/adminapi/models/load-balancer-config.d.ts.map +1 -0
  29. package/dist/adminapi/models/load-balancer-config.js +16 -0
  30. package/dist/adminapi/models/load-balancer-config.js.map +1 -0
  31. package/dist/adminapi/models/scheduling-config.d.ts +14 -0
  32. package/dist/adminapi/models/scheduling-config.d.ts.map +1 -1
  33. package/dist/adminapi/models/system-component-scheduler-policy.d.ts +22 -0
  34. package/dist/adminapi/models/system-component-scheduler-policy.d.ts.map +1 -0
  35. package/dist/adminapi/models/system-component-scheduler-policy.js +26 -0
  36. package/dist/adminapi/models/system-component-scheduler-policy.js.map +1 -0
  37. package/dist/internalapi/apis/cluster-api.d.ts +18 -2
  38. package/dist/internalapi/apis/cluster-api.d.ts.map +1 -1
  39. package/dist/internalapi/apis/cluster-api.js +15 -5
  40. package/dist/internalapi/apis/cluster-api.js.map +1 -1
  41. package/dist/internalapi/models/cluster-list-item.d.ts +20 -0
  42. package/dist/internalapi/models/cluster-list-item.d.ts.map +1 -1
  43. package/dist/internalapi/models/index.d.ts +1 -0
  44. package/dist/internalapi/models/index.d.ts.map +1 -1
  45. package/dist/internalapi/models/index.js +1 -0
  46. package/dist/internalapi/models/index.js.map +1 -1
  47. package/dist/internalapi/models/tag.d.ts +37 -0
  48. package/dist/internalapi/models/tag.d.ts.map +1 -0
  49. package/dist/internalapi/models/tag.js +16 -0
  50. package/dist/internalapi/models/tag.js.map +1 -0
  51. package/dist/openapi/apis/cluster-api.d.ts +18 -2
  52. package/dist/openapi/apis/cluster-api.d.ts.map +1 -1
  53. package/dist/openapi/apis/cluster-api.js +15 -5
  54. package/dist/openapi/apis/cluster-api.js.map +1 -1
  55. package/dist/openapi/apis/shared-api.d.ts +18 -2
  56. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  57. package/dist/openapi/apis/shared-api.js +15 -5
  58. package/dist/openapi/apis/shared-api.js.map +1 -1
  59. package/dist/openapi/models/cluster-list-item.d.ts +20 -0
  60. package/dist/openapi/models/cluster-list-item.d.ts.map +1 -1
  61. package/package.json +1 -1
  62. package/src/adminapi/.openapi-generator/FILES +4 -0
  63. package/src/adminapi/apis/cluster-api.ts +62 -10
  64. package/src/adminapi/apis/load-balancer-api.ts +318 -0
  65. package/src/adminapi/apis/shared-api.ts +62 -10
  66. package/src/adminapi/models/cluster-list-item.ts +24 -0
  67. package/src/adminapi/models/index.ts +4 -0
  68. package/src/adminapi/models/load-balancer-annotations.ts +36 -0
  69. package/src/adminapi/models/load-balancer-config-update.ts +33 -0
  70. package/src/adminapi/models/load-balancer-config.ts +39 -0
  71. package/src/adminapi/models/scheduling-config.ts +18 -0
  72. package/src/adminapi/models/system-component-scheduler-policy.ts +31 -0
  73. package/src/adminapi.yaml +249 -82
  74. package/src/internalapi/.openapi-generator/FILES +1 -0
  75. package/src/internalapi/apis/cluster-api.ts +31 -5
  76. package/src/internalapi/models/cluster-list-item.ts +24 -0
  77. package/src/internalapi/models/index.ts +1 -0
  78. package/src/internalapi/models/tag.ts +42 -0
  79. package/src/internalapi.yaml +107 -66
  80. package/src/openapi/apis/cluster-api.ts +31 -5
  81. package/src/openapi/apis/shared-api.ts +31 -5
  82. package/src/openapi/models/cluster-list-item.ts +24 -0
  83. package/src/openapi.yaml +107 -82
@@ -10,6 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { ClusterType } from './cluster-type';
13
+ import type { Endpoint } from './endpoint';
14
+ import type { Tag } from './tag';
13
15
  /**
14
16
  * KubeBlocks cluster information
15
17
  * @export
@@ -174,5 +176,23 @@ export interface ClusterListItem {
174
176
  * @memberof ClusterListItem
175
177
  */
176
178
  'orgName'?: string;
179
+ /**
180
+ * Name of project, it is the alias of environment namespace
181
+ * @type {string}
182
+ * @memberof ClusterListItem
183
+ */
184
+ 'project'?: string;
185
+ /**
186
+ * Tags bound to the cluster
187
+ * @type {Array<Tag>}
188
+ * @memberof ClusterListItem
189
+ */
190
+ 'tags'?: Array<Tag>;
191
+ /**
192
+ * Cached user-visible endpoints of the cluster; omitted unless includeEndpoints is true
193
+ * @type {Array<Endpoint>}
194
+ * @memberof ClusterListItem
195
+ */
196
+ 'endpoints'?: Array<Endpoint>;
177
197
  }
178
198
  //# sourceMappingURL=cluster-list-item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cluster-list-item.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/cluster-list-item.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC/C;;;;OAIG;IACH,aAAa,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"cluster-list-item.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/cluster-list-item.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAGlD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAG3C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC/C;;;;OAIG;IACH,aAAa,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;CACjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kb-cloud-client-typescript",
3
- "version": "2.3.0-beta.0",
3
+ "version": "2.3.0-beta.2",
4
4
  "description": "Auto-generated TypeScript SDK for KubeBlocks Cloud API",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
@@ -645,7 +645,10 @@ models/license.ts
645
645
  models/list-kubernetes-node-op-type.ts
646
646
  models/llm-list.ts
647
647
  models/llm.ts
648
+ models/load-balancer-annotations.ts
648
649
  models/load-balancer-available-type.ts
650
+ models/load-balancer-config-update.ts
651
+ models/load-balancer-config.ts
649
652
  models/load-balancer-ipam-status.ts
650
653
  models/load-balancer-status.ts
651
654
  models/load-balancer.ts
@@ -1008,6 +1011,7 @@ models/storage-provisioner.ts
1008
1011
  models/storage-stats.ts
1009
1012
  models/storage-update.ts
1010
1013
  models/storage.ts
1014
+ models/system-component-scheduler-policy.ts
1011
1015
  models/table-space-status.ts
1012
1016
  models/tag-create-items-inner.ts
1013
1017
  models/tag-create.ts
@@ -726,10 +726,12 @@ export const ClusterApiAxiosParamCreator = function (configuration?: Configurati
726
726
  * @param {Array<string>} [tagValues] A list of tags\&#39; values corresponding to the tagKeys
727
727
  * @param {number} [licenseId] license id
728
728
  * @param {string} [refClusterName] list clusters referenced by this cluster
729
+ * @param {string} [endpointHost] Case-insensitive substring to match against the host part of cached cluster endpoints
730
+ * @param {boolean} [includeEndpoints] Whether to include cached user-visible endpoints in each cluster item
729
731
  * @param {*} [options] Override http request option.
730
732
  * @throws {RequiredError}
731
733
  */
732
- listCluster: async (orgName: string, clusterDefinition?: string, environmentName?: string, environmentType?: EnvironmentType, tagKey?: string, tagValue?: string, tagKeys?: Array<string>, tagValues?: Array<string>, licenseId?: number, refClusterName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
734
+ listCluster: async (orgName: string, clusterDefinition?: string, environmentName?: string, environmentType?: EnvironmentType, tagKey?: string, tagValue?: string, tagKeys?: Array<string>, tagValues?: Array<string>, licenseId?: number, refClusterName?: string, endpointHost?: string, includeEndpoints?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
733
735
  // verify required parameter 'orgName' is not null or undefined
734
736
  assertParamExists('listCluster', 'orgName', orgName)
735
737
  const localVarPath = `/admin/v1/organizations/{orgName}/clusters`
@@ -788,6 +790,14 @@ export const ClusterApiAxiosParamCreator = function (configuration?: Configurati
788
790
  localVarQueryParameter['refClusterName'] = refClusterName;
789
791
  }
790
792
 
793
+ if (endpointHost !== undefined) {
794
+ localVarQueryParameter['endpointHost'] = endpointHost;
795
+ }
796
+
797
+ if (includeEndpoints !== undefined) {
798
+ localVarQueryParameter['includeEndpoints'] = includeEndpoints;
799
+ }
800
+
791
801
 
792
802
 
793
803
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -805,10 +815,12 @@ export const ClusterApiAxiosParamCreator = function (configuration?: Configurati
805
815
  * @param {string} [orgName] Organization name, if envName is provided, orgName is required
806
816
  * @param {string} [envName] Environment name
807
817
  * @param {boolean} [withStatic] Whether to include static clusters
818
+ * @param {string} [endpointHost] Case-insensitive substring to match against the host part of cached cluster endpoints
819
+ * @param {boolean} [includeEndpoints] Whether to include cached user-visible endpoints in each cluster item
808
820
  * @param {*} [options] Override http request option.
809
821
  * @throws {RequiredError}
810
822
  */
811
- listClusters: async (orgName?: string, envName?: string, withStatic?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
823
+ listClusters: async (orgName?: string, envName?: string, withStatic?: boolean, endpointHost?: string, includeEndpoints?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
812
824
  const localVarPath = `/admin/v1/clusters`;
813
825
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
814
826
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -840,6 +852,14 @@ export const ClusterApiAxiosParamCreator = function (configuration?: Configurati
840
852
  localVarQueryParameter['withStatic'] = withStatic;
841
853
  }
842
854
 
855
+ if (endpointHost !== undefined) {
856
+ localVarQueryParameter['endpointHost'] = endpointHost;
857
+ }
858
+
859
+ if (includeEndpoints !== undefined) {
860
+ localVarQueryParameter['includeEndpoints'] = includeEndpoints;
861
+ }
862
+
843
863
 
844
864
 
845
865
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -1626,11 +1646,13 @@ export const ClusterApiFp = function(configuration?: Configuration) {
1626
1646
  * @param {Array<string>} [tagValues] A list of tags\&#39; values corresponding to the tagKeys
1627
1647
  * @param {number} [licenseId] license id
1628
1648
  * @param {string} [refClusterName] list clusters referenced by this cluster
1649
+ * @param {string} [endpointHost] Case-insensitive substring to match against the host part of cached cluster endpoints
1650
+ * @param {boolean} [includeEndpoints] Whether to include cached user-visible endpoints in each cluster item
1629
1651
  * @param {*} [options] Override http request option.
1630
1652
  * @throws {RequiredError}
1631
1653
  */
1632
- async listCluster(orgName: string, clusterDefinition?: string, environmentName?: string, environmentType?: EnvironmentType, tagKey?: string, tagValue?: string, tagKeys?: Array<string>, tagValues?: Array<string>, licenseId?: number, refClusterName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterList>> {
1633
- const localVarAxiosArgs = await localVarAxiosParamCreator.listCluster(orgName, clusterDefinition, environmentName, environmentType, tagKey, tagValue, tagKeys, tagValues, licenseId, refClusterName, options);
1654
+ async listCluster(orgName: string, clusterDefinition?: string, environmentName?: string, environmentType?: EnvironmentType, tagKey?: string, tagValue?: string, tagKeys?: Array<string>, tagValues?: Array<string>, licenseId?: number, refClusterName?: string, endpointHost?: string, includeEndpoints?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterList>> {
1655
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCluster(orgName, clusterDefinition, environmentName, environmentType, tagKey, tagValue, tagKeys, tagValues, licenseId, refClusterName, endpointHost, includeEndpoints, options);
1634
1656
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1635
1657
  const localVarOperationServerBasePath = operationServerMap['ClusterApi.listCluster']?.[localVarOperationServerIndex]?.url;
1636
1658
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1641,11 +1663,13 @@ export const ClusterApiFp = function(configuration?: Configuration) {
1641
1663
  * @param {string} [orgName] Organization name, if envName is provided, orgName is required
1642
1664
  * @param {string} [envName] Environment name
1643
1665
  * @param {boolean} [withStatic] Whether to include static clusters
1666
+ * @param {string} [endpointHost] Case-insensitive substring to match against the host part of cached cluster endpoints
1667
+ * @param {boolean} [includeEndpoints] Whether to include cached user-visible endpoints in each cluster item
1644
1668
  * @param {*} [options] Override http request option.
1645
1669
  * @throws {RequiredError}
1646
1670
  */
1647
- async listClusters(orgName?: string, envName?: string, withStatic?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterList>> {
1648
- const localVarAxiosArgs = await localVarAxiosParamCreator.listClusters(orgName, envName, withStatic, options);
1671
+ async listClusters(orgName?: string, envName?: string, withStatic?: boolean, endpointHost?: string, includeEndpoints?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterList>> {
1672
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClusters(orgName, envName, withStatic, endpointHost, includeEndpoints, options);
1649
1673
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1650
1674
  const localVarOperationServerBasePath = operationServerMap['ClusterApi.listClusters']?.[localVarOperationServerIndex]?.url;
1651
1675
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1954,7 +1978,7 @@ export const ClusterApiFactory = function (configuration?: Configuration, basePa
1954
1978
  * @throws {RequiredError}
1955
1979
  */
1956
1980
  listCluster(requestParameters: ClusterApiListClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
1957
- return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, options).then((request) => request(axios, basePath));
1981
+ return localVarFp.listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
1958
1982
  },
1959
1983
  /**
1960
1984
  * Get cluster list
@@ -1964,7 +1988,7 @@ export const ClusterApiFactory = function (configuration?: Configuration, basePa
1964
1988
  * @throws {RequiredError}
1965
1989
  */
1966
1990
  listClusters(requestParameters: ClusterApiListClustersRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ClusterList> {
1967
- return localVarFp.listClusters(requestParameters.orgName, requestParameters.envName, requestParameters.withStatic, options).then((request) => request(axios, basePath));
1991
+ return localVarFp.listClusters(requestParameters.orgName, requestParameters.envName, requestParameters.withStatic, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(axios, basePath));
1968
1992
  },
1969
1993
  /**
1970
1994
  *
@@ -2783,6 +2807,20 @@ export interface ClusterApiListClusterRequest {
2783
2807
  * @memberof ClusterApiListCluster
2784
2808
  */
2785
2809
  readonly refClusterName?: string
2810
+
2811
+ /**
2812
+ * Case-insensitive substring to match against the host part of cached cluster endpoints
2813
+ * @type {string}
2814
+ * @memberof ClusterApiListCluster
2815
+ */
2816
+ readonly endpointHost?: string
2817
+
2818
+ /**
2819
+ * Whether to include cached user-visible endpoints in each cluster item
2820
+ * @type {boolean}
2821
+ * @memberof ClusterApiListCluster
2822
+ */
2823
+ readonly includeEndpoints?: boolean
2786
2824
  }
2787
2825
 
2788
2826
  /**
@@ -2811,6 +2849,20 @@ export interface ClusterApiListClustersRequest {
2811
2849
  * @memberof ClusterApiListClusters
2812
2850
  */
2813
2851
  readonly withStatic?: boolean
2852
+
2853
+ /**
2854
+ * Case-insensitive substring to match against the host part of cached cluster endpoints
2855
+ * @type {string}
2856
+ * @memberof ClusterApiListClusters
2857
+ */
2858
+ readonly endpointHost?: string
2859
+
2860
+ /**
2861
+ * Whether to include cached user-visible endpoints in each cluster item
2862
+ * @type {boolean}
2863
+ * @memberof ClusterApiListClusters
2864
+ */
2865
+ readonly includeEndpoints?: boolean
2814
2866
  }
2815
2867
 
2816
2868
  /**
@@ -3288,7 +3340,7 @@ export class ClusterApi extends BaseAPI implements ClusterApiInterface {
3288
3340
  * @memberof ClusterApi
3289
3341
  */
3290
3342
  public listCluster(requestParameters: ClusterApiListClusterRequest, options?: RawAxiosRequestConfig) {
3291
- return ClusterApiFp(this.configuration).listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, options).then((request) => request(this.axios, this.basePath));
3343
+ return ClusterApiFp(this.configuration).listCluster(requestParameters.orgName, requestParameters.clusterDefinition, requestParameters.environmentName, requestParameters.environmentType, requestParameters.tagKey, requestParameters.tagValue, requestParameters.tagKeys, requestParameters.tagValues, requestParameters.licenseId, requestParameters.refClusterName, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(this.axios, this.basePath));
3292
3344
  }
3293
3345
 
3294
3346
  /**
@@ -3300,7 +3352,7 @@ export class ClusterApi extends BaseAPI implements ClusterApiInterface {
3300
3352
  * @memberof ClusterApi
3301
3353
  */
3302
3354
  public listClusters(requestParameters: ClusterApiListClustersRequest = {}, options?: RawAxiosRequestConfig) {
3303
- return ClusterApiFp(this.configuration).listClusters(requestParameters.orgName, requestParameters.envName, requestParameters.withStatic, options).then((request) => request(this.axios, this.basePath));
3355
+ return ClusterApiFp(this.configuration).listClusters(requestParameters.orgName, requestParameters.envName, requestParameters.withStatic, requestParameters.endpointHost, requestParameters.includeEndpoints, options).then((request) => request(this.axios, this.basePath));
3304
3356
  }
3305
3357
 
3306
3358
  /**
@@ -25,6 +25,10 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
25
25
  import type { APIErrorResponse } from '../models';
26
26
  // @ts-ignore
27
27
  import type { LoadBalancer } from '../models';
28
+ // @ts-ignore
29
+ import type { LoadBalancerConfig } from '../models';
30
+ // @ts-ignore
31
+ import type { LoadBalancerConfigUpdate } from '../models';
28
32
  /**
29
33
  * LoadBalancerApi - axios parameter creator
30
34
  * @export
@@ -108,6 +112,135 @@ export const LoadBalancerApiAxiosParamCreator = function (configuration?: Config
108
112
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109
113
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
110
114
 
115
+ return {
116
+ url: toPathString(localVarUrlObj),
117
+ options: localVarRequestOptions,
118
+ };
119
+ },
120
+ /**
121
+ *
122
+ * @summary Get the effective load balancer configuration of an environment
123
+ * @param {string} environmentName name of the environment
124
+ * @param {*} [options] Override http request option.
125
+ * @throws {RequiredError}
126
+ */
127
+ getLoadBalancerConfig: async (environmentName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
128
+ // verify required parameter 'environmentName' is not null or undefined
129
+ assertParamExists('getLoadBalancerConfig', 'environmentName', environmentName)
130
+ const localVarPath = `/admin/v1/environments/{environmentName}/loadbalancer/config`
131
+ .replace(`{${"environmentName"}}`, encodeURIComponent(String(environmentName)));
132
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
133
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
134
+ let baseOptions;
135
+ if (configuration) {
136
+ baseOptions = configuration.baseOptions;
137
+ }
138
+
139
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
140
+ const localVarHeaderParameter = {} as any;
141
+ const localVarQueryParameter = {} as any;
142
+
143
+ // authentication BearerToken required
144
+ // http bearer authentication required
145
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
146
+
147
+ // authentication DigestAuth required
148
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
149
+
150
+
151
+
152
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
153
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
154
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
155
+
156
+ return {
157
+ url: toPathString(localVarUrlObj),
158
+ options: localVarRequestOptions,
159
+ };
160
+ },
161
+ /**
162
+ *
163
+ * @summary Reset the environment load balancer configuration to the current provider defaults
164
+ * @param {string} environmentName name of the environment
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ resetLoadBalancerConfig: async (environmentName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
169
+ // verify required parameter 'environmentName' is not null or undefined
170
+ assertParamExists('resetLoadBalancerConfig', 'environmentName', environmentName)
171
+ const localVarPath = `/admin/v1/environments/{environmentName}/loadbalancer/config`
172
+ .replace(`{${"environmentName"}}`, encodeURIComponent(String(environmentName)));
173
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
174
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
175
+ let baseOptions;
176
+ if (configuration) {
177
+ baseOptions = configuration.baseOptions;
178
+ }
179
+
180
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
181
+ const localVarHeaderParameter = {} as any;
182
+ const localVarQueryParameter = {} as any;
183
+
184
+ // authentication BearerToken required
185
+ // http bearer authentication required
186
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
187
+
188
+ // authentication DigestAuth required
189
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
190
+
191
+
192
+
193
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
194
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
195
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
196
+
197
+ return {
198
+ url: toPathString(localVarUrlObj),
199
+ options: localVarRequestOptions,
200
+ };
201
+ },
202
+ /**
203
+ *
204
+ * @summary Save and immediately activate the load balancer configuration of an environment
205
+ * @param {string} environmentName name of the environment
206
+ * @param {LoadBalancerConfigUpdate} body
207
+ * @param {*} [options] Override http request option.
208
+ * @throws {RequiredError}
209
+ */
210
+ updateLoadBalancerConfig: async (environmentName: string, body: LoadBalancerConfigUpdate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
211
+ // verify required parameter 'environmentName' is not null or undefined
212
+ assertParamExists('updateLoadBalancerConfig', 'environmentName', environmentName)
213
+ // verify required parameter 'body' is not null or undefined
214
+ assertParamExists('updateLoadBalancerConfig', 'body', body)
215
+ const localVarPath = `/admin/v1/environments/{environmentName}/loadbalancer/config`
216
+ .replace(`{${"environmentName"}}`, encodeURIComponent(String(environmentName)));
217
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
218
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
219
+ let baseOptions;
220
+ if (configuration) {
221
+ baseOptions = configuration.baseOptions;
222
+ }
223
+
224
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
225
+ const localVarHeaderParameter = {} as any;
226
+ const localVarQueryParameter = {} as any;
227
+
228
+ // authentication BearerToken required
229
+ // http bearer authentication required
230
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
231
+
232
+ // authentication DigestAuth required
233
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
234
+
235
+
236
+
237
+ localVarHeaderParameter['Content-Type'] = 'application/json';
238
+
239
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
240
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
241
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
242
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
243
+
111
244
  return {
112
245
  url: toPathString(localVarUrlObj),
113
246
  options: localVarRequestOptions,
@@ -149,6 +282,46 @@ export const LoadBalancerApiFp = function(configuration?: Configuration) {
149
282
  const localVarOperationServerBasePath = operationServerMap['LoadBalancerApi.getLoadBalancer']?.[localVarOperationServerIndex]?.url;
150
283
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
151
284
  },
285
+ /**
286
+ *
287
+ * @summary Get the effective load balancer configuration of an environment
288
+ * @param {string} environmentName name of the environment
289
+ * @param {*} [options] Override http request option.
290
+ * @throws {RequiredError}
291
+ */
292
+ async getLoadBalancerConfig(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoadBalancerConfig>> {
293
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLoadBalancerConfig(environmentName, options);
294
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
295
+ const localVarOperationServerBasePath = operationServerMap['LoadBalancerApi.getLoadBalancerConfig']?.[localVarOperationServerIndex]?.url;
296
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
297
+ },
298
+ /**
299
+ *
300
+ * @summary Reset the environment load balancer configuration to the current provider defaults
301
+ * @param {string} environmentName name of the environment
302
+ * @param {*} [options] Override http request option.
303
+ * @throws {RequiredError}
304
+ */
305
+ async resetLoadBalancerConfig(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoadBalancerConfig>> {
306
+ const localVarAxiosArgs = await localVarAxiosParamCreator.resetLoadBalancerConfig(environmentName, options);
307
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
308
+ const localVarOperationServerBasePath = operationServerMap['LoadBalancerApi.resetLoadBalancerConfig']?.[localVarOperationServerIndex]?.url;
309
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
310
+ },
311
+ /**
312
+ *
313
+ * @summary Save and immediately activate the load balancer configuration of an environment
314
+ * @param {string} environmentName name of the environment
315
+ * @param {LoadBalancerConfigUpdate} body
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ */
319
+ async updateLoadBalancerConfig(environmentName: string, body: LoadBalancerConfigUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoadBalancerConfig>> {
320
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateLoadBalancerConfig(environmentName, body, options);
321
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
322
+ const localVarOperationServerBasePath = operationServerMap['LoadBalancerApi.updateLoadBalancerConfig']?.[localVarOperationServerIndex]?.url;
323
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
324
+ },
152
325
  }
153
326
  };
154
327
 
@@ -179,6 +352,36 @@ export const LoadBalancerApiFactory = function (configuration?: Configuration, b
179
352
  getLoadBalancer(requestParameters: LoadBalancerApiGetLoadBalancerRequest, options?: RawAxiosRequestConfig): AxiosPromise<LoadBalancer> {
180
353
  return localVarFp.getLoadBalancer(requestParameters.environmentName, options).then((request) => request(axios, basePath));
181
354
  },
355
+ /**
356
+ *
357
+ * @summary Get the effective load balancer configuration of an environment
358
+ * @param {LoadBalancerApiGetLoadBalancerConfigRequest} requestParameters Request parameters.
359
+ * @param {*} [options] Override http request option.
360
+ * @throws {RequiredError}
361
+ */
362
+ getLoadBalancerConfig(requestParameters: LoadBalancerApiGetLoadBalancerConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<LoadBalancerConfig> {
363
+ return localVarFp.getLoadBalancerConfig(requestParameters.environmentName, options).then((request) => request(axios, basePath));
364
+ },
365
+ /**
366
+ *
367
+ * @summary Reset the environment load balancer configuration to the current provider defaults
368
+ * @param {LoadBalancerApiResetLoadBalancerConfigRequest} requestParameters Request parameters.
369
+ * @param {*} [options] Override http request option.
370
+ * @throws {RequiredError}
371
+ */
372
+ resetLoadBalancerConfig(requestParameters: LoadBalancerApiResetLoadBalancerConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<LoadBalancerConfig> {
373
+ return localVarFp.resetLoadBalancerConfig(requestParameters.environmentName, options).then((request) => request(axios, basePath));
374
+ },
375
+ /**
376
+ *
377
+ * @summary Save and immediately activate the load balancer configuration of an environment
378
+ * @param {LoadBalancerApiUpdateLoadBalancerConfigRequest} requestParameters Request parameters.
379
+ * @param {*} [options] Override http request option.
380
+ * @throws {RequiredError}
381
+ */
382
+ updateLoadBalancerConfig(requestParameters: LoadBalancerApiUpdateLoadBalancerConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<LoadBalancerConfig> {
383
+ return localVarFp.updateLoadBalancerConfig(requestParameters.environmentName, requestParameters.body, options).then((request) => request(axios, basePath));
384
+ },
182
385
  };
183
386
  };
184
387
 
@@ -208,6 +411,36 @@ export interface LoadBalancerApiInterface {
208
411
  */
209
412
  getLoadBalancer(requestParameters: LoadBalancerApiGetLoadBalancerRequest, options?: RawAxiosRequestConfig): AxiosPromise<LoadBalancer>;
210
413
 
414
+ /**
415
+ *
416
+ * @summary Get the effective load balancer configuration of an environment
417
+ * @param {LoadBalancerApiGetLoadBalancerConfigRequest} requestParameters Request parameters.
418
+ * @param {*} [options] Override http request option.
419
+ * @throws {RequiredError}
420
+ * @memberof LoadBalancerApiInterface
421
+ */
422
+ getLoadBalancerConfig(requestParameters: LoadBalancerApiGetLoadBalancerConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<LoadBalancerConfig>;
423
+
424
+ /**
425
+ *
426
+ * @summary Reset the environment load balancer configuration to the current provider defaults
427
+ * @param {LoadBalancerApiResetLoadBalancerConfigRequest} requestParameters Request parameters.
428
+ * @param {*} [options] Override http request option.
429
+ * @throws {RequiredError}
430
+ * @memberof LoadBalancerApiInterface
431
+ */
432
+ resetLoadBalancerConfig(requestParameters: LoadBalancerApiResetLoadBalancerConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<LoadBalancerConfig>;
433
+
434
+ /**
435
+ *
436
+ * @summary Save and immediately activate the load balancer configuration of an environment
437
+ * @param {LoadBalancerApiUpdateLoadBalancerConfigRequest} requestParameters Request parameters.
438
+ * @param {*} [options] Override http request option.
439
+ * @throws {RequiredError}
440
+ * @memberof LoadBalancerApiInterface
441
+ */
442
+ updateLoadBalancerConfig(requestParameters: LoadBalancerApiUpdateLoadBalancerConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<LoadBalancerConfig>;
443
+
211
444
  }
212
445
 
213
446
  /**
@@ -238,6 +471,55 @@ export interface LoadBalancerApiGetLoadBalancerRequest {
238
471
  readonly environmentName: string
239
472
  }
240
473
 
474
+ /**
475
+ * Request parameters for getLoadBalancerConfig operation in LoadBalancerApi.
476
+ * @export
477
+ * @interface LoadBalancerApiGetLoadBalancerConfigRequest
478
+ */
479
+ export interface LoadBalancerApiGetLoadBalancerConfigRequest {
480
+ /**
481
+ * name of the environment
482
+ * @type {string}
483
+ * @memberof LoadBalancerApiGetLoadBalancerConfig
484
+ */
485
+ readonly environmentName: string
486
+ }
487
+
488
+ /**
489
+ * Request parameters for resetLoadBalancerConfig operation in LoadBalancerApi.
490
+ * @export
491
+ * @interface LoadBalancerApiResetLoadBalancerConfigRequest
492
+ */
493
+ export interface LoadBalancerApiResetLoadBalancerConfigRequest {
494
+ /**
495
+ * name of the environment
496
+ * @type {string}
497
+ * @memberof LoadBalancerApiResetLoadBalancerConfig
498
+ */
499
+ readonly environmentName: string
500
+ }
501
+
502
+ /**
503
+ * Request parameters for updateLoadBalancerConfig operation in LoadBalancerApi.
504
+ * @export
505
+ * @interface LoadBalancerApiUpdateLoadBalancerConfigRequest
506
+ */
507
+ export interface LoadBalancerApiUpdateLoadBalancerConfigRequest {
508
+ /**
509
+ * name of the environment
510
+ * @type {string}
511
+ * @memberof LoadBalancerApiUpdateLoadBalancerConfig
512
+ */
513
+ readonly environmentName: string
514
+
515
+ /**
516
+ *
517
+ * @type {LoadBalancerConfigUpdate}
518
+ * @memberof LoadBalancerApiUpdateLoadBalancerConfig
519
+ */
520
+ readonly body: LoadBalancerConfigUpdate
521
+ }
522
+
241
523
  /**
242
524
  * LoadBalancerApi - object-oriented interface
243
525
  * @export
@@ -268,5 +550,41 @@ export class LoadBalancerApi extends BaseAPI implements LoadBalancerApiInterface
268
550
  public getLoadBalancer(requestParameters: LoadBalancerApiGetLoadBalancerRequest, options?: RawAxiosRequestConfig) {
269
551
  return LoadBalancerApiFp(this.configuration).getLoadBalancer(requestParameters.environmentName, options).then((request) => request(this.axios, this.basePath));
270
552
  }
553
+
554
+ /**
555
+ *
556
+ * @summary Get the effective load balancer configuration of an environment
557
+ * @param {LoadBalancerApiGetLoadBalancerConfigRequest} requestParameters Request parameters.
558
+ * @param {*} [options] Override http request option.
559
+ * @throws {RequiredError}
560
+ * @memberof LoadBalancerApi
561
+ */
562
+ public getLoadBalancerConfig(requestParameters: LoadBalancerApiGetLoadBalancerConfigRequest, options?: RawAxiosRequestConfig) {
563
+ return LoadBalancerApiFp(this.configuration).getLoadBalancerConfig(requestParameters.environmentName, options).then((request) => request(this.axios, this.basePath));
564
+ }
565
+
566
+ /**
567
+ *
568
+ * @summary Reset the environment load balancer configuration to the current provider defaults
569
+ * @param {LoadBalancerApiResetLoadBalancerConfigRequest} requestParameters Request parameters.
570
+ * @param {*} [options] Override http request option.
571
+ * @throws {RequiredError}
572
+ * @memberof LoadBalancerApi
573
+ */
574
+ public resetLoadBalancerConfig(requestParameters: LoadBalancerApiResetLoadBalancerConfigRequest, options?: RawAxiosRequestConfig) {
575
+ return LoadBalancerApiFp(this.configuration).resetLoadBalancerConfig(requestParameters.environmentName, options).then((request) => request(this.axios, this.basePath));
576
+ }
577
+
578
+ /**
579
+ *
580
+ * @summary Save and immediately activate the load balancer configuration of an environment
581
+ * @param {LoadBalancerApiUpdateLoadBalancerConfigRequest} requestParameters Request parameters.
582
+ * @param {*} [options] Override http request option.
583
+ * @throws {RequiredError}
584
+ * @memberof LoadBalancerApi
585
+ */
586
+ public updateLoadBalancerConfig(requestParameters: LoadBalancerApiUpdateLoadBalancerConfigRequest, options?: RawAxiosRequestConfig) {
587
+ return LoadBalancerApiFp(this.configuration).updateLoadBalancerConfig(requestParameters.environmentName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
588
+ }
271
589
  }
272
590