qovery-typescript-axios 1.1.80 → 1.1.85
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/api.ts +112 -9
- package/dist/api.d.ts +105 -5
- package/dist/api.js +16 -9
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -244,6 +244,18 @@ export interface Application {
|
|
|
244
244
|
* @memberof Application
|
|
245
245
|
*/
|
|
246
246
|
'ports'?: Array<ServicePort>;
|
|
247
|
+
/**
|
|
248
|
+
*
|
|
249
|
+
* @type {Array<string>}
|
|
250
|
+
* @memberof Application
|
|
251
|
+
*/
|
|
252
|
+
'arguments'?: Array<string>;
|
|
253
|
+
/**
|
|
254
|
+
* optional entrypoint when launching container
|
|
255
|
+
* @type {string}
|
|
256
|
+
* @memberof Application
|
|
257
|
+
*/
|
|
258
|
+
'entrypoint'?: string;
|
|
247
259
|
}
|
|
248
260
|
/**
|
|
249
261
|
*
|
|
@@ -354,6 +366,18 @@ export interface ApplicationAdvancedSettings {
|
|
|
354
366
|
* @memberof ApplicationAdvancedSettings
|
|
355
367
|
*/
|
|
356
368
|
'network.ingress.whitelist_source_range'?: string;
|
|
369
|
+
/**
|
|
370
|
+
* list of source ranges to deny access to ingress proxy. This property can be used to blacklist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1
|
|
371
|
+
* @type {string}
|
|
372
|
+
* @memberof ApplicationAdvancedSettings
|
|
373
|
+
*/
|
|
374
|
+
'network.ingress.denylist_source_range'?: string;
|
|
375
|
+
/**
|
|
376
|
+
* Set the name of an environment variable to use as a basic authentication (`login:crypted_password`) from `htpasswd` command.
|
|
377
|
+
* @type {string}
|
|
378
|
+
* @memberof ApplicationAdvancedSettings
|
|
379
|
+
*/
|
|
380
|
+
'network.ingress.basic_auth_env_var'?: string;
|
|
357
381
|
/**
|
|
358
382
|
* `NONE` disable readiness probe `TCP` enable TCP readiness probe `HTTP` enable HTTP readiness probe
|
|
359
383
|
* @type {string}
|
|
@@ -567,6 +591,18 @@ export interface ApplicationAllOf {
|
|
|
567
591
|
* @memberof ApplicationAllOf
|
|
568
592
|
*/
|
|
569
593
|
'ports'?: Array<ServicePort>;
|
|
594
|
+
/**
|
|
595
|
+
*
|
|
596
|
+
* @type {Array<string>}
|
|
597
|
+
* @memberof ApplicationAllOf
|
|
598
|
+
*/
|
|
599
|
+
'arguments'?: Array<string>;
|
|
600
|
+
/**
|
|
601
|
+
* optional entrypoint when launching container
|
|
602
|
+
* @type {string}
|
|
603
|
+
* @memberof ApplicationAllOf
|
|
604
|
+
*/
|
|
605
|
+
'entrypoint'?: string;
|
|
570
606
|
}
|
|
571
607
|
/**
|
|
572
608
|
*
|
|
@@ -794,6 +830,18 @@ export interface ApplicationEditRequest {
|
|
|
794
830
|
* @memberof ApplicationEditRequest
|
|
795
831
|
*/
|
|
796
832
|
'ports'?: Array<ServicePort>;
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @type {Array<string>}
|
|
836
|
+
* @memberof ApplicationEditRequest
|
|
837
|
+
*/
|
|
838
|
+
'arguments'?: Array<string>;
|
|
839
|
+
/**
|
|
840
|
+
* optional entrypoint when launching container
|
|
841
|
+
* @type {string}
|
|
842
|
+
* @memberof ApplicationEditRequest
|
|
843
|
+
*/
|
|
844
|
+
'entrypoint'?: string;
|
|
797
845
|
}
|
|
798
846
|
/**
|
|
799
847
|
*
|
|
@@ -879,6 +927,18 @@ export interface ApplicationEditRequestAllOf {
|
|
|
879
927
|
* @memberof ApplicationEditRequestAllOf
|
|
880
928
|
*/
|
|
881
929
|
'ports'?: Array<ServicePort>;
|
|
930
|
+
/**
|
|
931
|
+
*
|
|
932
|
+
* @type {Array<string>}
|
|
933
|
+
* @memberof ApplicationEditRequestAllOf
|
|
934
|
+
*/
|
|
935
|
+
'arguments'?: Array<string>;
|
|
936
|
+
/**
|
|
937
|
+
* optional entrypoint when launching container
|
|
938
|
+
* @type {string}
|
|
939
|
+
* @memberof ApplicationEditRequestAllOf
|
|
940
|
+
*/
|
|
941
|
+
'entrypoint'?: string;
|
|
882
942
|
}
|
|
883
943
|
/**
|
|
884
944
|
*
|
|
@@ -1094,6 +1154,18 @@ export interface ApplicationRequest {
|
|
|
1094
1154
|
* @memberof ApplicationRequest
|
|
1095
1155
|
*/
|
|
1096
1156
|
'auto_preview'?: boolean;
|
|
1157
|
+
/**
|
|
1158
|
+
*
|
|
1159
|
+
* @type {Array<string>}
|
|
1160
|
+
* @memberof ApplicationRequest
|
|
1161
|
+
*/
|
|
1162
|
+
'arguments'?: Array<string>;
|
|
1163
|
+
/**
|
|
1164
|
+
* optional entrypoint when launching container
|
|
1165
|
+
* @type {string}
|
|
1166
|
+
* @memberof ApplicationRequest
|
|
1167
|
+
*/
|
|
1168
|
+
'entrypoint'?: string;
|
|
1097
1169
|
}
|
|
1098
1170
|
/**
|
|
1099
1171
|
*
|
|
@@ -1173,6 +1245,18 @@ export interface ApplicationRequestAllOf {
|
|
|
1173
1245
|
* @memberof ApplicationRequestAllOf
|
|
1174
1246
|
*/
|
|
1175
1247
|
'auto_preview'?: boolean;
|
|
1248
|
+
/**
|
|
1249
|
+
*
|
|
1250
|
+
* @type {Array<string>}
|
|
1251
|
+
* @memberof ApplicationRequestAllOf
|
|
1252
|
+
*/
|
|
1253
|
+
'arguments'?: Array<string>;
|
|
1254
|
+
/**
|
|
1255
|
+
* optional entrypoint when launching container
|
|
1256
|
+
* @type {string}
|
|
1257
|
+
* @memberof ApplicationRequestAllOf
|
|
1258
|
+
*/
|
|
1259
|
+
'entrypoint'?: string;
|
|
1176
1260
|
}
|
|
1177
1261
|
/**
|
|
1178
1262
|
*
|
|
@@ -3088,6 +3172,18 @@ export interface ContainerAdvancedSettings {
|
|
|
3088
3172
|
* @memberof ContainerAdvancedSettings
|
|
3089
3173
|
*/
|
|
3090
3174
|
'network.ingress.whitelist_source_range'?: string;
|
|
3175
|
+
/**
|
|
3176
|
+
* list of source ranges to deny access to ingress proxy. This property can be used to blacklist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1
|
|
3177
|
+
* @type {string}
|
|
3178
|
+
* @memberof ContainerAdvancedSettings
|
|
3179
|
+
*/
|
|
3180
|
+
'network.ingress.denylist_source_range'?: string;
|
|
3181
|
+
/**
|
|
3182
|
+
* Set the name of an environment variable to use as a basic authentication (`login:crypted_password`) from `htpasswd` command. You can add multiples comma separated values.
|
|
3183
|
+
* @type {string}
|
|
3184
|
+
* @memberof ContainerAdvancedSettings
|
|
3185
|
+
*/
|
|
3186
|
+
'network.ingress.basic_auth_env_var'?: string;
|
|
3091
3187
|
/**
|
|
3092
3188
|
* `NONE` disable readiness probe `TCP` enable TCP readiness probe `HTTP` enable HTTP readiness probe
|
|
3093
3189
|
* @type {string}
|
|
@@ -11989,7 +12085,7 @@ export enum StateEnum {
|
|
|
11989
12085
|
RESTART_QUEUED = 'RESTART_QUEUED',
|
|
11990
12086
|
RESTARTING = 'RESTARTING',
|
|
11991
12087
|
RESTARTED = 'RESTARTED',
|
|
11992
|
-
|
|
12088
|
+
RESTART_ERROR = 'RESTART_ERROR'
|
|
11993
12089
|
}
|
|
11994
12090
|
|
|
11995
12091
|
/**
|
|
@@ -18434,11 +18530,15 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
18434
18530
|
/**
|
|
18435
18531
|
*
|
|
18436
18532
|
* @summary List AWS EKS available instance types
|
|
18533
|
+
* @param {string} region region name
|
|
18437
18534
|
* @param {*} [options] Override http request option.
|
|
18438
18535
|
* @throws {RequiredError}
|
|
18439
18536
|
*/
|
|
18440
|
-
listAWSEKSInstanceType: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18441
|
-
|
|
18537
|
+
listAWSEKSInstanceType: async (region: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18538
|
+
// verify required parameter 'region' is not null or undefined
|
|
18539
|
+
assertParamExists('listAWSEKSInstanceType', 'region', region)
|
|
18540
|
+
const localVarPath = `/aws/eks/instanceType/{region}`
|
|
18541
|
+
.replace(`{${"region"}}`, encodeURIComponent(String(region)));
|
|
18442
18542
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18443
18543
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18444
18544
|
let baseOptions;
|
|
@@ -18894,11 +18994,12 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
18894
18994
|
/**
|
|
18895
18995
|
*
|
|
18896
18996
|
* @summary List AWS EKS available instance types
|
|
18997
|
+
* @param {string} region region name
|
|
18897
18998
|
* @param {*} [options] Override http request option.
|
|
18898
18999
|
* @throws {RequiredError}
|
|
18899
19000
|
*/
|
|
18900
|
-
async listAWSEKSInstanceType(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
|
|
18901
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAWSEKSInstanceType(options);
|
|
19001
|
+
async listAWSEKSInstanceType(region: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
|
|
19002
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAWSEKSInstanceType(region, options);
|
|
18902
19003
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18903
19004
|
},
|
|
18904
19005
|
/**
|
|
@@ -19036,11 +19137,12 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
19036
19137
|
/**
|
|
19037
19138
|
*
|
|
19038
19139
|
* @summary List AWS EKS available instance types
|
|
19140
|
+
* @param {string} region region name
|
|
19039
19141
|
* @param {*} [options] Override http request option.
|
|
19040
19142
|
* @throws {RequiredError}
|
|
19041
19143
|
*/
|
|
19042
|
-
listAWSEKSInstanceType(options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
19043
|
-
return localVarFp.listAWSEKSInstanceType(options).then((request) => request(axios, basePath));
|
|
19144
|
+
listAWSEKSInstanceType(region: string, options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
19145
|
+
return localVarFp.listAWSEKSInstanceType(region, options).then((request) => request(axios, basePath));
|
|
19044
19146
|
},
|
|
19045
19147
|
/**
|
|
19046
19148
|
*
|
|
@@ -19165,12 +19267,13 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
19165
19267
|
/**
|
|
19166
19268
|
*
|
|
19167
19269
|
* @summary List AWS EKS available instance types
|
|
19270
|
+
* @param {string} region region name
|
|
19168
19271
|
* @param {*} [options] Override http request option.
|
|
19169
19272
|
* @throws {RequiredError}
|
|
19170
19273
|
* @memberof CloudProviderApi
|
|
19171
19274
|
*/
|
|
19172
|
-
public listAWSEKSInstanceType(options?: AxiosRequestConfig) {
|
|
19173
|
-
return CloudProviderApiFp(this.configuration).listAWSEKSInstanceType(options).then((request) => request(this.axios, this.basePath));
|
|
19275
|
+
public listAWSEKSInstanceType(region: string, options?: AxiosRequestConfig) {
|
|
19276
|
+
return CloudProviderApiFp(this.configuration).listAWSEKSInstanceType(region, options).then((request) => request(this.axios, this.basePath));
|
|
19174
19277
|
}
|
|
19175
19278
|
|
|
19176
19279
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -231,6 +231,18 @@ export interface Application {
|
|
|
231
231
|
* @memberof Application
|
|
232
232
|
*/
|
|
233
233
|
'ports'?: Array<ServicePort>;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @type {Array<string>}
|
|
237
|
+
* @memberof Application
|
|
238
|
+
*/
|
|
239
|
+
'arguments'?: Array<string>;
|
|
240
|
+
/**
|
|
241
|
+
* optional entrypoint when launching container
|
|
242
|
+
* @type {string}
|
|
243
|
+
* @memberof Application
|
|
244
|
+
*/
|
|
245
|
+
'entrypoint'?: string;
|
|
234
246
|
}
|
|
235
247
|
/**
|
|
236
248
|
*
|
|
@@ -341,6 +353,18 @@ export interface ApplicationAdvancedSettings {
|
|
|
341
353
|
* @memberof ApplicationAdvancedSettings
|
|
342
354
|
*/
|
|
343
355
|
'network.ingress.whitelist_source_range'?: string;
|
|
356
|
+
/**
|
|
357
|
+
* list of source ranges to deny access to ingress proxy. This property can be used to blacklist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1
|
|
358
|
+
* @type {string}
|
|
359
|
+
* @memberof ApplicationAdvancedSettings
|
|
360
|
+
*/
|
|
361
|
+
'network.ingress.denylist_source_range'?: string;
|
|
362
|
+
/**
|
|
363
|
+
* Set the name of an environment variable to use as a basic authentication (`login:crypted_password`) from `htpasswd` command.
|
|
364
|
+
* @type {string}
|
|
365
|
+
* @memberof ApplicationAdvancedSettings
|
|
366
|
+
*/
|
|
367
|
+
'network.ingress.basic_auth_env_var'?: string;
|
|
344
368
|
/**
|
|
345
369
|
* `NONE` disable readiness probe `TCP` enable TCP readiness probe `HTTP` enable HTTP readiness probe
|
|
346
370
|
* @type {string}
|
|
@@ -552,6 +576,18 @@ export interface ApplicationAllOf {
|
|
|
552
576
|
* @memberof ApplicationAllOf
|
|
553
577
|
*/
|
|
554
578
|
'ports'?: Array<ServicePort>;
|
|
579
|
+
/**
|
|
580
|
+
*
|
|
581
|
+
* @type {Array<string>}
|
|
582
|
+
* @memberof ApplicationAllOf
|
|
583
|
+
*/
|
|
584
|
+
'arguments'?: Array<string>;
|
|
585
|
+
/**
|
|
586
|
+
* optional entrypoint when launching container
|
|
587
|
+
* @type {string}
|
|
588
|
+
* @memberof ApplicationAllOf
|
|
589
|
+
*/
|
|
590
|
+
'entrypoint'?: string;
|
|
555
591
|
}
|
|
556
592
|
/**
|
|
557
593
|
*
|
|
@@ -779,6 +815,18 @@ export interface ApplicationEditRequest {
|
|
|
779
815
|
* @memberof ApplicationEditRequest
|
|
780
816
|
*/
|
|
781
817
|
'ports'?: Array<ServicePort>;
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @type {Array<string>}
|
|
821
|
+
* @memberof ApplicationEditRequest
|
|
822
|
+
*/
|
|
823
|
+
'arguments'?: Array<string>;
|
|
824
|
+
/**
|
|
825
|
+
* optional entrypoint when launching container
|
|
826
|
+
* @type {string}
|
|
827
|
+
* @memberof ApplicationEditRequest
|
|
828
|
+
*/
|
|
829
|
+
'entrypoint'?: string;
|
|
782
830
|
}
|
|
783
831
|
/**
|
|
784
832
|
*
|
|
@@ -864,6 +912,18 @@ export interface ApplicationEditRequestAllOf {
|
|
|
864
912
|
* @memberof ApplicationEditRequestAllOf
|
|
865
913
|
*/
|
|
866
914
|
'ports'?: Array<ServicePort>;
|
|
915
|
+
/**
|
|
916
|
+
*
|
|
917
|
+
* @type {Array<string>}
|
|
918
|
+
* @memberof ApplicationEditRequestAllOf
|
|
919
|
+
*/
|
|
920
|
+
'arguments'?: Array<string>;
|
|
921
|
+
/**
|
|
922
|
+
* optional entrypoint when launching container
|
|
923
|
+
* @type {string}
|
|
924
|
+
* @memberof ApplicationEditRequestAllOf
|
|
925
|
+
*/
|
|
926
|
+
'entrypoint'?: string;
|
|
867
927
|
}
|
|
868
928
|
/**
|
|
869
929
|
*
|
|
@@ -1079,6 +1139,18 @@ export interface ApplicationRequest {
|
|
|
1079
1139
|
* @memberof ApplicationRequest
|
|
1080
1140
|
*/
|
|
1081
1141
|
'auto_preview'?: boolean;
|
|
1142
|
+
/**
|
|
1143
|
+
*
|
|
1144
|
+
* @type {Array<string>}
|
|
1145
|
+
* @memberof ApplicationRequest
|
|
1146
|
+
*/
|
|
1147
|
+
'arguments'?: Array<string>;
|
|
1148
|
+
/**
|
|
1149
|
+
* optional entrypoint when launching container
|
|
1150
|
+
* @type {string}
|
|
1151
|
+
* @memberof ApplicationRequest
|
|
1152
|
+
*/
|
|
1153
|
+
'entrypoint'?: string;
|
|
1082
1154
|
}
|
|
1083
1155
|
/**
|
|
1084
1156
|
*
|
|
@@ -1158,6 +1230,18 @@ export interface ApplicationRequestAllOf {
|
|
|
1158
1230
|
* @memberof ApplicationRequestAllOf
|
|
1159
1231
|
*/
|
|
1160
1232
|
'auto_preview'?: boolean;
|
|
1233
|
+
/**
|
|
1234
|
+
*
|
|
1235
|
+
* @type {Array<string>}
|
|
1236
|
+
* @memberof ApplicationRequestAllOf
|
|
1237
|
+
*/
|
|
1238
|
+
'arguments'?: Array<string>;
|
|
1239
|
+
/**
|
|
1240
|
+
* optional entrypoint when launching container
|
|
1241
|
+
* @type {string}
|
|
1242
|
+
* @memberof ApplicationRequestAllOf
|
|
1243
|
+
*/
|
|
1244
|
+
'entrypoint'?: string;
|
|
1161
1245
|
}
|
|
1162
1246
|
/**
|
|
1163
1247
|
*
|
|
@@ -3063,6 +3147,18 @@ export interface ContainerAdvancedSettings {
|
|
|
3063
3147
|
* @memberof ContainerAdvancedSettings
|
|
3064
3148
|
*/
|
|
3065
3149
|
'network.ingress.whitelist_source_range'?: string;
|
|
3150
|
+
/**
|
|
3151
|
+
* list of source ranges to deny access to ingress proxy. This property can be used to blacklist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1
|
|
3152
|
+
* @type {string}
|
|
3153
|
+
* @memberof ContainerAdvancedSettings
|
|
3154
|
+
*/
|
|
3155
|
+
'network.ingress.denylist_source_range'?: string;
|
|
3156
|
+
/**
|
|
3157
|
+
* Set the name of an environment variable to use as a basic authentication (`login:crypted_password`) from `htpasswd` command. You can add multiples comma separated values.
|
|
3158
|
+
* @type {string}
|
|
3159
|
+
* @memberof ContainerAdvancedSettings
|
|
3160
|
+
*/
|
|
3161
|
+
'network.ingress.basic_auth_env_var'?: string;
|
|
3066
3162
|
/**
|
|
3067
3163
|
* `NONE` disable readiness probe `TCP` enable TCP readiness probe `HTTP` enable HTTP readiness probe
|
|
3068
3164
|
* @type {string}
|
|
@@ -11899,7 +11995,7 @@ export declare enum StateEnum {
|
|
|
11899
11995
|
RESTART_QUEUED = "RESTART_QUEUED",
|
|
11900
11996
|
RESTARTING = "RESTARTING",
|
|
11901
11997
|
RESTARTED = "RESTARTED",
|
|
11902
|
-
|
|
11998
|
+
RESTART_ERROR = "RESTART_ERROR"
|
|
11903
11999
|
}
|
|
11904
12000
|
/**
|
|
11905
12001
|
*
|
|
@@ -15268,10 +15364,11 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
15268
15364
|
/**
|
|
15269
15365
|
*
|
|
15270
15366
|
* @summary List AWS EKS available instance types
|
|
15367
|
+
* @param {string} region region name
|
|
15271
15368
|
* @param {*} [options] Override http request option.
|
|
15272
15369
|
* @throws {RequiredError}
|
|
15273
15370
|
*/
|
|
15274
|
-
listAWSEKSInstanceType: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
15371
|
+
listAWSEKSInstanceType: (region: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
15275
15372
|
/**
|
|
15276
15373
|
*
|
|
15277
15374
|
* @summary List AWS EC2 available instance types
|
|
@@ -15367,10 +15464,11 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
15367
15464
|
/**
|
|
15368
15465
|
*
|
|
15369
15466
|
* @summary List AWS EKS available instance types
|
|
15467
|
+
* @param {string} region region name
|
|
15370
15468
|
* @param {*} [options] Override http request option.
|
|
15371
15469
|
* @throws {RequiredError}
|
|
15372
15470
|
*/
|
|
15373
|
-
listAWSEKSInstanceType(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
15471
|
+
listAWSEKSInstanceType(region: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
15374
15472
|
/**
|
|
15375
15473
|
*
|
|
15376
15474
|
* @summary List AWS EC2 available instance types
|
|
@@ -15466,10 +15564,11 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
15466
15564
|
/**
|
|
15467
15565
|
*
|
|
15468
15566
|
* @summary List AWS EKS available instance types
|
|
15567
|
+
* @param {string} region region name
|
|
15469
15568
|
* @param {*} [options] Override http request option.
|
|
15470
15569
|
* @throws {RequiredError}
|
|
15471
15570
|
*/
|
|
15472
|
-
listAWSEKSInstanceType(options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
15571
|
+
listAWSEKSInstanceType(region: string, options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
15473
15572
|
/**
|
|
15474
15573
|
*
|
|
15475
15574
|
* @summary List AWS EC2 available instance types
|
|
@@ -15567,11 +15666,12 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
15567
15666
|
/**
|
|
15568
15667
|
*
|
|
15569
15668
|
* @summary List AWS EKS available instance types
|
|
15669
|
+
* @param {string} region region name
|
|
15570
15670
|
* @param {*} [options] Override http request option.
|
|
15571
15671
|
* @throws {RequiredError}
|
|
15572
15672
|
* @memberof CloudProviderApi
|
|
15573
15673
|
*/
|
|
15574
|
-
listAWSEKSInstanceType(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList>>;
|
|
15674
|
+
listAWSEKSInstanceType(region: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList>>;
|
|
15575
15675
|
/**
|
|
15576
15676
|
*
|
|
15577
15677
|
* @summary List AWS EC2 available instance types
|
package/dist/api.js
CHANGED
|
@@ -561,7 +561,7 @@ var StateEnum;
|
|
|
561
561
|
StateEnum["RESTART_QUEUED"] = "RESTART_QUEUED";
|
|
562
562
|
StateEnum["RESTARTING"] = "RESTARTING";
|
|
563
563
|
StateEnum["RESTARTED"] = "RESTARTED";
|
|
564
|
-
StateEnum["
|
|
564
|
+
StateEnum["RESTART_ERROR"] = "RESTART_ERROR";
|
|
565
565
|
})(StateEnum = exports.StateEnum || (exports.StateEnum = {}));
|
|
566
566
|
/**
|
|
567
567
|
*
|
|
@@ -6230,11 +6230,15 @@ const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6230
6230
|
/**
|
|
6231
6231
|
*
|
|
6232
6232
|
* @summary List AWS EKS available instance types
|
|
6233
|
+
* @param {string} region region name
|
|
6233
6234
|
* @param {*} [options] Override http request option.
|
|
6234
6235
|
* @throws {RequiredError}
|
|
6235
6236
|
*/
|
|
6236
|
-
listAWSEKSInstanceType: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6237
|
-
|
|
6237
|
+
listAWSEKSInstanceType: (region, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6238
|
+
// verify required parameter 'region' is not null or undefined
|
|
6239
|
+
(0, common_1.assertParamExists)('listAWSEKSInstanceType', 'region', region);
|
|
6240
|
+
const localVarPath = `/aws/eks/instanceType/{region}`
|
|
6241
|
+
.replace(`{${"region"}}`, encodeURIComponent(String(region)));
|
|
6238
6242
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6239
6243
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6240
6244
|
let baseOptions;
|
|
@@ -6612,12 +6616,13 @@ const CloudProviderApiFp = function (configuration) {
|
|
|
6612
6616
|
/**
|
|
6613
6617
|
*
|
|
6614
6618
|
* @summary List AWS EKS available instance types
|
|
6619
|
+
* @param {string} region region name
|
|
6615
6620
|
* @param {*} [options] Override http request option.
|
|
6616
6621
|
* @throws {RequiredError}
|
|
6617
6622
|
*/
|
|
6618
|
-
listAWSEKSInstanceType(options) {
|
|
6623
|
+
listAWSEKSInstanceType(region, options) {
|
|
6619
6624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6620
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAWSEKSInstanceType(options);
|
|
6625
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAWSEKSInstanceType(region, options);
|
|
6621
6626
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6622
6627
|
});
|
|
6623
6628
|
},
|
|
@@ -6780,11 +6785,12 @@ const CloudProviderApiFactory = function (configuration, basePath, axios) {
|
|
|
6780
6785
|
/**
|
|
6781
6786
|
*
|
|
6782
6787
|
* @summary List AWS EKS available instance types
|
|
6788
|
+
* @param {string} region region name
|
|
6783
6789
|
* @param {*} [options] Override http request option.
|
|
6784
6790
|
* @throws {RequiredError}
|
|
6785
6791
|
*/
|
|
6786
|
-
listAWSEKSInstanceType(options) {
|
|
6787
|
-
return localVarFp.listAWSEKSInstanceType(options).then((request) => request(axios, basePath));
|
|
6792
|
+
listAWSEKSInstanceType(region, options) {
|
|
6793
|
+
return localVarFp.listAWSEKSInstanceType(region, options).then((request) => request(axios, basePath));
|
|
6788
6794
|
},
|
|
6789
6795
|
/**
|
|
6790
6796
|
*
|
|
@@ -6909,12 +6915,13 @@ class CloudProviderApi extends base_1.BaseAPI {
|
|
|
6909
6915
|
/**
|
|
6910
6916
|
*
|
|
6911
6917
|
* @summary List AWS EKS available instance types
|
|
6918
|
+
* @param {string} region region name
|
|
6912
6919
|
* @param {*} [options] Override http request option.
|
|
6913
6920
|
* @throws {RequiredError}
|
|
6914
6921
|
* @memberof CloudProviderApi
|
|
6915
6922
|
*/
|
|
6916
|
-
listAWSEKSInstanceType(options) {
|
|
6917
|
-
return (0, exports.CloudProviderApiFp)(this.configuration).listAWSEKSInstanceType(options).then((request) => request(this.axios, this.basePath));
|
|
6923
|
+
listAWSEKSInstanceType(region, options) {
|
|
6924
|
+
return (0, exports.CloudProviderApiFp)(this.configuration).listAWSEKSInstanceType(region, options).then((request) => request(this.axios, this.basePath));
|
|
6918
6925
|
}
|
|
6919
6926
|
/**
|
|
6920
6927
|
*
|