qovery-typescript-axios 1.1.552 → 1.1.554

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 CHANGED
@@ -1147,66 +1147,129 @@ export interface AvailableHelmRepositoryResponseList {
1147
1147
  */
1148
1148
  'results'?: Array<AvailableHelmRepositoryResponse>;
1149
1149
  }
1150
+ /**
1151
+ * @type AwsCredentialsRequest
1152
+ * @export
1153
+ */
1154
+ export type AwsCredentialsRequest = AwsRoleCredentialsRequest | AwsStaticCredentialsRequest;
1155
+
1150
1156
  /**
1151
1157
  *
1152
1158
  * @export
1153
- * @interface AwsClusterCredentials
1159
+ * @interface AwsRoleClusterCredentials
1154
1160
  */
1155
- export interface AwsClusterCredentials {
1161
+ export interface AwsRoleClusterCredentials {
1156
1162
  /**
1157
1163
  *
1158
1164
  * @type {string}
1159
- * @memberof AwsClusterCredentials
1165
+ * @memberof AwsRoleClusterCredentials
1160
1166
  */
1161
1167
  'id': string;
1162
1168
  /**
1163
1169
  *
1164
1170
  * @type {string}
1165
- * @memberof AwsClusterCredentials
1171
+ * @memberof AwsRoleClusterCredentials
1166
1172
  */
1167
1173
  'name': string;
1168
1174
  /**
1169
1175
  *
1170
1176
  * @type {string}
1171
- * @memberof AwsClusterCredentials
1177
+ * @memberof AwsRoleClusterCredentials
1178
+ */
1179
+ 'role_arn': string;
1180
+ /**
1181
+ *
1182
+ * @type {string}
1183
+ * @memberof AwsRoleClusterCredentials
1184
+ */
1185
+ 'object_type': AwsRoleClusterCredentialsObjectTypeEnum;
1186
+ }
1187
+
1188
+ export const AwsRoleClusterCredentialsObjectTypeEnum = {
1189
+ AWS_ROLE: 'AWS_ROLE'
1190
+ } as const;
1191
+
1192
+ export type AwsRoleClusterCredentialsObjectTypeEnum = typeof AwsRoleClusterCredentialsObjectTypeEnum[keyof typeof AwsRoleClusterCredentialsObjectTypeEnum];
1193
+
1194
+ /**
1195
+ *
1196
+ * @export
1197
+ * @interface AwsRoleCredentialsRequest
1198
+ */
1199
+ export interface AwsRoleCredentialsRequest {
1200
+ /**
1201
+ *
1202
+ * @type {string}
1203
+ * @memberof AwsRoleCredentialsRequest
1204
+ */
1205
+ 'name': string;
1206
+ /**
1207
+ *
1208
+ * @type {string}
1209
+ * @memberof AwsRoleCredentialsRequest
1210
+ */
1211
+ 'role_arn': string;
1212
+ }
1213
+ /**
1214
+ *
1215
+ * @export
1216
+ * @interface AwsStaticClusterCredentials
1217
+ */
1218
+ export interface AwsStaticClusterCredentials {
1219
+ /**
1220
+ *
1221
+ * @type {string}
1222
+ * @memberof AwsStaticClusterCredentials
1223
+ */
1224
+ 'id': string;
1225
+ /**
1226
+ *
1227
+ * @type {string}
1228
+ * @memberof AwsStaticClusterCredentials
1229
+ */
1230
+ 'name': string;
1231
+ /**
1232
+ *
1233
+ * @type {string}
1234
+ * @memberof AwsStaticClusterCredentials
1172
1235
  */
1173
1236
  'access_key_id': string;
1174
1237
  /**
1175
1238
  *
1176
1239
  * @type {string}
1177
- * @memberof AwsClusterCredentials
1240
+ * @memberof AwsStaticClusterCredentials
1178
1241
  */
1179
- 'object_type': AwsClusterCredentialsObjectTypeEnum;
1242
+ 'object_type': AwsStaticClusterCredentialsObjectTypeEnum;
1180
1243
  }
1181
1244
 
1182
- export const AwsClusterCredentialsObjectTypeEnum = {
1245
+ export const AwsStaticClusterCredentialsObjectTypeEnum = {
1183
1246
  AWS: 'AWS'
1184
1247
  } as const;
1185
1248
 
1186
- export type AwsClusterCredentialsObjectTypeEnum = typeof AwsClusterCredentialsObjectTypeEnum[keyof typeof AwsClusterCredentialsObjectTypeEnum];
1249
+ export type AwsStaticClusterCredentialsObjectTypeEnum = typeof AwsStaticClusterCredentialsObjectTypeEnum[keyof typeof AwsStaticClusterCredentialsObjectTypeEnum];
1187
1250
 
1188
1251
  /**
1189
1252
  *
1190
1253
  * @export
1191
- * @interface AwsCredentialsRequest
1254
+ * @interface AwsStaticCredentialsRequest
1192
1255
  */
1193
- export interface AwsCredentialsRequest {
1256
+ export interface AwsStaticCredentialsRequest {
1194
1257
  /**
1195
1258
  *
1196
1259
  * @type {string}
1197
- * @memberof AwsCredentialsRequest
1260
+ * @memberof AwsStaticCredentialsRequest
1198
1261
  */
1199
1262
  'name': string;
1200
1263
  /**
1201
1264
  *
1202
1265
  * @type {string}
1203
- * @memberof AwsCredentialsRequest
1266
+ * @memberof AwsStaticCredentialsRequest
1204
1267
  */
1205
1268
  'access_key_id': string;
1206
1269
  /**
1207
1270
  *
1208
1271
  * @type {string}
1209
- * @memberof AwsCredentialsRequest
1272
+ * @memberof AwsStaticCredentialsRequest
1210
1273
  */
1211
1274
  'secret_access_key': string;
1212
1275
  }
@@ -2353,7 +2416,7 @@ export interface ClusterCloudProviderInfoRequest {
2353
2416
  * @type ClusterCredentials
2354
2417
  * @export
2355
2418
  */
2356
- export type ClusterCredentials = { object_type: 'AWS' } & AwsClusterCredentials | { object_type: 'OTHER' } & GenericClusterCredentials | { object_type: 'SCW' } & ScalewayClusterCredentials;
2419
+ export type ClusterCredentials = { object_type: 'AWS' } & AwsStaticClusterCredentials | { object_type: 'AWS_ROLE' } & AwsRoleClusterCredentials | { object_type: 'OTHER' } & GenericClusterCredentials | { object_type: 'SCW' } & ScalewayClusterCredentials;
2357
2420
 
2358
2421
  /**
2359
2422
  *
@@ -4196,6 +4259,12 @@ export interface ContainerRegistryRequestConfig {
4196
4259
  * @memberof ContainerRegistryRequestConfig
4197
4260
  */
4198
4261
  'password'?: string;
4262
+ /**
4263
+ * For ECR, you can either set a static access_key or use a role arn that we are going to assume
4264
+ * @type {string}
4265
+ * @memberof ContainerRegistryRequestConfig
4266
+ */
4267
+ 'role_arn'?: string;
4199
4268
  }
4200
4269
  /**
4201
4270
  *
@@ -4321,6 +4390,12 @@ export interface ContainerRegistryResponseAllOfConfig {
4321
4390
  * @memberof ContainerRegistryResponseAllOfConfig
4322
4391
  */
4323
4392
  'access_key_id'?: string;
4393
+ /**
4394
+ *
4395
+ * @type {string}
4396
+ * @memberof ContainerRegistryResponseAllOfConfig
4397
+ */
4398
+ 'role_arn'?: string;
4324
4399
  }
4325
4400
  /**
4326
4401
  *
@@ -8328,6 +8403,68 @@ export interface GenericObjectCurrentCost {
8328
8403
  */
8329
8404
  'cost': Cost;
8330
8405
  }
8406
+ /**
8407
+ *
8408
+ * @export
8409
+ * @interface GetClusterKubernetesEvents200Response
8410
+ */
8411
+ export interface GetClusterKubernetesEvents200Response {
8412
+ /**
8413
+ *
8414
+ * @type {Array<GetClusterKubernetesEvents200ResponseResultsInner>}
8415
+ * @memberof GetClusterKubernetesEvents200Response
8416
+ */
8417
+ 'results'?: Array<GetClusterKubernetesEvents200ResponseResultsInner>;
8418
+ }
8419
+ /**
8420
+ *
8421
+ * @export
8422
+ * @interface GetClusterKubernetesEvents200ResponseResultsInner
8423
+ */
8424
+ export interface GetClusterKubernetesEvents200ResponseResultsInner {
8425
+ /**
8426
+ * The created date following ISO-8601 format
8427
+ * @type {string}
8428
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8429
+ */
8430
+ 'created_at'?: string;
8431
+ /**
8432
+ * The source kubernetes object related to the Event
8433
+ * @type {string}
8434
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8435
+ */
8436
+ 'kind'?: string;
8437
+ /**
8438
+ * The namespace of the kubernetes object related to the Event (optional)
8439
+ * @type {string}
8440
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8441
+ */
8442
+ 'namespace'?: string;
8443
+ /**
8444
+ * The name of the Event
8445
+ * @type {string}
8446
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8447
+ */
8448
+ 'name'?: string;
8449
+ /**
8450
+ * The action that triggered the Event
8451
+ * @type {string}
8452
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8453
+ */
8454
+ 'reason'?: string;
8455
+ /**
8456
+ * A description of the Event
8457
+ * @type {string}
8458
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8459
+ */
8460
+ 'message'?: string;
8461
+ /**
8462
+ * As of today it can be either Warning or Normal (can evolve in the next releases)
8463
+ * @type {string}
8464
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8465
+ */
8466
+ 'type'?: string;
8467
+ }
8331
8468
  /**
8332
8469
  *
8333
8470
  * @export
@@ -26241,6 +26378,65 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
26241
26378
 
26242
26379
 
26243
26380
 
26381
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26382
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26383
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26384
+
26385
+ return {
26386
+ url: toPathString(localVarUrlObj),
26387
+ options: localVarRequestOptions,
26388
+ };
26389
+ },
26390
+ /**
26391
+ * List Cluster Kubernetes Events
26392
+ * @summary List Cluster Kubernetes Events
26393
+ * @param {string} clusterId Cluster ID
26394
+ * @param {string} nodeName
26395
+ * @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
26396
+ * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
26397
+ * @param {*} [options] Override http request option.
26398
+ * @throws {RequiredError}
26399
+ */
26400
+ getClusterKubernetesEvents: async (clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
26401
+ // verify required parameter 'clusterId' is not null or undefined
26402
+ assertParamExists('getClusterKubernetesEvents', 'clusterId', clusterId)
26403
+ // verify required parameter 'nodeName' is not null or undefined
26404
+ assertParamExists('getClusterKubernetesEvents', 'nodeName', nodeName)
26405
+ // verify required parameter 'fromDateTime' is not null or undefined
26406
+ assertParamExists('getClusterKubernetesEvents', 'fromDateTime', fromDateTime)
26407
+ // verify required parameter 'toDateTime' is not null or undefined
26408
+ assertParamExists('getClusterKubernetesEvents', 'toDateTime', toDateTime)
26409
+ const localVarPath = `/cluster/{clusterId}/events/{nodeName}`
26410
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
26411
+ .replace(`{${"nodeName"}}`, encodeURIComponent(String(nodeName)));
26412
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26413
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26414
+ let baseOptions;
26415
+ if (configuration) {
26416
+ baseOptions = configuration.baseOptions;
26417
+ }
26418
+
26419
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
26420
+ const localVarHeaderParameter = {} as any;
26421
+ const localVarQueryParameter = {} as any;
26422
+
26423
+ // authentication ApiKeyAuth required
26424
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
26425
+
26426
+ // authentication bearerAuth required
26427
+ // http bearer authentication required
26428
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
26429
+
26430
+ if (fromDateTime !== undefined) {
26431
+ localVarQueryParameter['from_date_time'] = fromDateTime;
26432
+ }
26433
+
26434
+ if (toDateTime !== undefined) {
26435
+ localVarQueryParameter['to_date_time'] = toDateTime;
26436
+ }
26437
+
26438
+
26439
+
26244
26440
  setSearchParams(localVarUrlObj, localVarQueryParameter);
26245
26441
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26246
26442
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -27034,6 +27230,20 @@ export const ClustersApiFp = function(configuration?: Configuration) {
27034
27230
  const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options);
27035
27231
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27036
27232
  },
27233
+ /**
27234
+ * List Cluster Kubernetes Events
27235
+ * @summary List Cluster Kubernetes Events
27236
+ * @param {string} clusterId Cluster ID
27237
+ * @param {string} nodeName
27238
+ * @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
27239
+ * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
27240
+ * @param {*} [options] Override http request option.
27241
+ * @throws {RequiredError}
27242
+ */
27243
+ async getClusterKubernetesEvents(clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterKubernetesEvents200Response>> {
27244
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options);
27245
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
27246
+ },
27037
27247
  /**
27038
27248
  *
27039
27249
  * @summary Know if a cluster is ready to be deployed or not
@@ -27326,6 +27536,19 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
27326
27536
  getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: any): AxiosPromise<string> {
27327
27537
  return localVarFp.getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(axios, basePath));
27328
27538
  },
27539
+ /**
27540
+ * List Cluster Kubernetes Events
27541
+ * @summary List Cluster Kubernetes Events
27542
+ * @param {string} clusterId Cluster ID
27543
+ * @param {string} nodeName
27544
+ * @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
27545
+ * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
27546
+ * @param {*} [options] Override http request option.
27547
+ * @throws {RequiredError}
27548
+ */
27549
+ getClusterKubernetesEvents(clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: any): AxiosPromise<GetClusterKubernetesEvents200Response> {
27550
+ return localVarFp.getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options).then((request) => request(axios, basePath));
27551
+ },
27329
27552
  /**
27330
27553
  *
27331
27554
  * @summary Know if a cluster is ready to be deployed or not
@@ -27621,6 +27844,21 @@ export class ClustersApi extends BaseAPI {
27621
27844
  return ClustersApiFp(this.configuration).getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(this.axios, this.basePath));
27622
27845
  }
27623
27846
 
27847
+ /**
27848
+ * List Cluster Kubernetes Events
27849
+ * @summary List Cluster Kubernetes Events
27850
+ * @param {string} clusterId Cluster ID
27851
+ * @param {string} nodeName
27852
+ * @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
27853
+ * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
27854
+ * @param {*} [options] Override http request option.
27855
+ * @throws {RequiredError}
27856
+ * @memberof ClustersApi
27857
+ */
27858
+ public getClusterKubernetesEvents(clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: AxiosRequestConfig) {
27859
+ return ClustersApiFp(this.configuration).getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options).then((request) => request(this.axios, this.basePath));
27860
+ }
27861
+
27624
27862
  /**
27625
27863
  *
27626
27864
  * @summary Know if a cluster is ready to be deployed or not
package/dist/api.d.ts CHANGED
@@ -1111,63 +1111,122 @@ export interface AvailableHelmRepositoryResponseList {
1111
1111
  */
1112
1112
  'results'?: Array<AvailableHelmRepositoryResponse>;
1113
1113
  }
1114
+ /**
1115
+ * @type AwsCredentialsRequest
1116
+ * @export
1117
+ */
1118
+ export type AwsCredentialsRequest = AwsRoleCredentialsRequest | AwsStaticCredentialsRequest;
1114
1119
  /**
1115
1120
  *
1116
1121
  * @export
1117
- * @interface AwsClusterCredentials
1122
+ * @interface AwsRoleClusterCredentials
1118
1123
  */
1119
- export interface AwsClusterCredentials {
1124
+ export interface AwsRoleClusterCredentials {
1120
1125
  /**
1121
1126
  *
1122
1127
  * @type {string}
1123
- * @memberof AwsClusterCredentials
1128
+ * @memberof AwsRoleClusterCredentials
1124
1129
  */
1125
1130
  'id': string;
1126
1131
  /**
1127
1132
  *
1128
1133
  * @type {string}
1129
- * @memberof AwsClusterCredentials
1134
+ * @memberof AwsRoleClusterCredentials
1135
+ */
1136
+ 'name': string;
1137
+ /**
1138
+ *
1139
+ * @type {string}
1140
+ * @memberof AwsRoleClusterCredentials
1141
+ */
1142
+ 'role_arn': string;
1143
+ /**
1144
+ *
1145
+ * @type {string}
1146
+ * @memberof AwsRoleClusterCredentials
1147
+ */
1148
+ 'object_type': AwsRoleClusterCredentialsObjectTypeEnum;
1149
+ }
1150
+ export declare const AwsRoleClusterCredentialsObjectTypeEnum: {
1151
+ readonly AWS_ROLE: "AWS_ROLE";
1152
+ };
1153
+ export type AwsRoleClusterCredentialsObjectTypeEnum = typeof AwsRoleClusterCredentialsObjectTypeEnum[keyof typeof AwsRoleClusterCredentialsObjectTypeEnum];
1154
+ /**
1155
+ *
1156
+ * @export
1157
+ * @interface AwsRoleCredentialsRequest
1158
+ */
1159
+ export interface AwsRoleCredentialsRequest {
1160
+ /**
1161
+ *
1162
+ * @type {string}
1163
+ * @memberof AwsRoleCredentialsRequest
1130
1164
  */
1131
1165
  'name': string;
1132
1166
  /**
1133
1167
  *
1134
1168
  * @type {string}
1135
- * @memberof AwsClusterCredentials
1169
+ * @memberof AwsRoleCredentialsRequest
1170
+ */
1171
+ 'role_arn': string;
1172
+ }
1173
+ /**
1174
+ *
1175
+ * @export
1176
+ * @interface AwsStaticClusterCredentials
1177
+ */
1178
+ export interface AwsStaticClusterCredentials {
1179
+ /**
1180
+ *
1181
+ * @type {string}
1182
+ * @memberof AwsStaticClusterCredentials
1183
+ */
1184
+ 'id': string;
1185
+ /**
1186
+ *
1187
+ * @type {string}
1188
+ * @memberof AwsStaticClusterCredentials
1189
+ */
1190
+ 'name': string;
1191
+ /**
1192
+ *
1193
+ * @type {string}
1194
+ * @memberof AwsStaticClusterCredentials
1136
1195
  */
1137
1196
  'access_key_id': string;
1138
1197
  /**
1139
1198
  *
1140
1199
  * @type {string}
1141
- * @memberof AwsClusterCredentials
1200
+ * @memberof AwsStaticClusterCredentials
1142
1201
  */
1143
- 'object_type': AwsClusterCredentialsObjectTypeEnum;
1202
+ 'object_type': AwsStaticClusterCredentialsObjectTypeEnum;
1144
1203
  }
1145
- export declare const AwsClusterCredentialsObjectTypeEnum: {
1204
+ export declare const AwsStaticClusterCredentialsObjectTypeEnum: {
1146
1205
  readonly AWS: "AWS";
1147
1206
  };
1148
- export type AwsClusterCredentialsObjectTypeEnum = typeof AwsClusterCredentialsObjectTypeEnum[keyof typeof AwsClusterCredentialsObjectTypeEnum];
1207
+ export type AwsStaticClusterCredentialsObjectTypeEnum = typeof AwsStaticClusterCredentialsObjectTypeEnum[keyof typeof AwsStaticClusterCredentialsObjectTypeEnum];
1149
1208
  /**
1150
1209
  *
1151
1210
  * @export
1152
- * @interface AwsCredentialsRequest
1211
+ * @interface AwsStaticCredentialsRequest
1153
1212
  */
1154
- export interface AwsCredentialsRequest {
1213
+ export interface AwsStaticCredentialsRequest {
1155
1214
  /**
1156
1215
  *
1157
1216
  * @type {string}
1158
- * @memberof AwsCredentialsRequest
1217
+ * @memberof AwsStaticCredentialsRequest
1159
1218
  */
1160
1219
  'name': string;
1161
1220
  /**
1162
1221
  *
1163
1222
  * @type {string}
1164
- * @memberof AwsCredentialsRequest
1223
+ * @memberof AwsStaticCredentialsRequest
1165
1224
  */
1166
1225
  'access_key_id': string;
1167
1226
  /**
1168
1227
  *
1169
1228
  * @type {string}
1170
- * @memberof AwsCredentialsRequest
1229
+ * @memberof AwsStaticCredentialsRequest
1171
1230
  */
1172
1231
  'secret_access_key': string;
1173
1232
  }
@@ -2290,7 +2349,9 @@ export interface ClusterCloudProviderInfoRequest {
2290
2349
  */
2291
2350
  export type ClusterCredentials = {
2292
2351
  object_type: 'AWS';
2293
- } & AwsClusterCredentials | {
2352
+ } & AwsStaticClusterCredentials | {
2353
+ object_type: 'AWS_ROLE';
2354
+ } & AwsRoleClusterCredentials | {
2294
2355
  object_type: 'OTHER';
2295
2356
  } & GenericClusterCredentials | {
2296
2357
  object_type: 'SCW';
@@ -4085,6 +4146,12 @@ export interface ContainerRegistryRequestConfig {
4085
4146
  * @memberof ContainerRegistryRequestConfig
4086
4147
  */
4087
4148
  'password'?: string;
4149
+ /**
4150
+ * For ECR, you can either set a static access_key or use a role arn that we are going to assume
4151
+ * @type {string}
4152
+ * @memberof ContainerRegistryRequestConfig
4153
+ */
4154
+ 'role_arn'?: string;
4088
4155
  }
4089
4156
  /**
4090
4157
  *
@@ -4208,6 +4275,12 @@ export interface ContainerRegistryResponseAllOfConfig {
4208
4275
  * @memberof ContainerRegistryResponseAllOfConfig
4209
4276
  */
4210
4277
  'access_key_id'?: string;
4278
+ /**
4279
+ *
4280
+ * @type {string}
4281
+ * @memberof ContainerRegistryResponseAllOfConfig
4282
+ */
4283
+ 'role_arn'?: string;
4211
4284
  }
4212
4285
  /**
4213
4286
  *
@@ -8079,6 +8152,68 @@ export interface GenericObjectCurrentCost {
8079
8152
  */
8080
8153
  'cost': Cost;
8081
8154
  }
8155
+ /**
8156
+ *
8157
+ * @export
8158
+ * @interface GetClusterKubernetesEvents200Response
8159
+ */
8160
+ export interface GetClusterKubernetesEvents200Response {
8161
+ /**
8162
+ *
8163
+ * @type {Array<GetClusterKubernetesEvents200ResponseResultsInner>}
8164
+ * @memberof GetClusterKubernetesEvents200Response
8165
+ */
8166
+ 'results'?: Array<GetClusterKubernetesEvents200ResponseResultsInner>;
8167
+ }
8168
+ /**
8169
+ *
8170
+ * @export
8171
+ * @interface GetClusterKubernetesEvents200ResponseResultsInner
8172
+ */
8173
+ export interface GetClusterKubernetesEvents200ResponseResultsInner {
8174
+ /**
8175
+ * The created date following ISO-8601 format
8176
+ * @type {string}
8177
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8178
+ */
8179
+ 'created_at'?: string;
8180
+ /**
8181
+ * The source kubernetes object related to the Event
8182
+ * @type {string}
8183
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8184
+ */
8185
+ 'kind'?: string;
8186
+ /**
8187
+ * The namespace of the kubernetes object related to the Event (optional)
8188
+ * @type {string}
8189
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8190
+ */
8191
+ 'namespace'?: string;
8192
+ /**
8193
+ * The name of the Event
8194
+ * @type {string}
8195
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8196
+ */
8197
+ 'name'?: string;
8198
+ /**
8199
+ * The action that triggered the Event
8200
+ * @type {string}
8201
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8202
+ */
8203
+ 'reason'?: string;
8204
+ /**
8205
+ * A description of the Event
8206
+ * @type {string}
8207
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8208
+ */
8209
+ 'message'?: string;
8210
+ /**
8211
+ * As of today it can be either Warning or Normal (can evolve in the next releases)
8212
+ * @type {string}
8213
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8214
+ */
8215
+ 'type'?: string;
8216
+ }
8082
8217
  /**
8083
8218
  *
8084
8219
  * @export
@@ -20680,6 +20815,17 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
20680
20815
  * @throws {RequiredError}
20681
20816
  */
20682
20817
  getClusterKubeconfig: (organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20818
+ /**
20819
+ * List Cluster Kubernetes Events
20820
+ * @summary List Cluster Kubernetes Events
20821
+ * @param {string} clusterId Cluster ID
20822
+ * @param {string} nodeName
20823
+ * @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
20824
+ * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
20825
+ * @param {*} [options] Override http request option.
20826
+ * @throws {RequiredError}
20827
+ */
20828
+ getClusterKubernetesEvents: (clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20683
20829
  /**
20684
20830
  *
20685
20831
  * @summary Know if a cluster is ready to be deployed or not
@@ -20905,6 +21051,17 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
20905
21051
  * @throws {RequiredError}
20906
21052
  */
20907
21053
  getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
21054
+ /**
21055
+ * List Cluster Kubernetes Events
21056
+ * @summary List Cluster Kubernetes Events
21057
+ * @param {string} clusterId Cluster ID
21058
+ * @param {string} nodeName
21059
+ * @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
21060
+ * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
21061
+ * @param {*} [options] Override http request option.
21062
+ * @throws {RequiredError}
21063
+ */
21064
+ getClusterKubernetesEvents(clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterKubernetesEvents200Response>>;
20908
21065
  /**
20909
21066
  *
20910
21067
  * @summary Know if a cluster is ready to be deployed or not
@@ -21130,6 +21287,17 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
21130
21287
  * @throws {RequiredError}
21131
21288
  */
21132
21289
  getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: any): AxiosPromise<string>;
21290
+ /**
21291
+ * List Cluster Kubernetes Events
21292
+ * @summary List Cluster Kubernetes Events
21293
+ * @param {string} clusterId Cluster ID
21294
+ * @param {string} nodeName
21295
+ * @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
21296
+ * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
21297
+ * @param {*} [options] Override http request option.
21298
+ * @throws {RequiredError}
21299
+ */
21300
+ getClusterKubernetesEvents(clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: any): AxiosPromise<GetClusterKubernetesEvents200Response>;
21133
21301
  /**
21134
21302
  *
21135
21303
  * @summary Know if a cluster is ready to be deployed or not
@@ -21366,6 +21534,18 @@ export declare class ClustersApi extends BaseAPI {
21366
21534
  * @memberof ClustersApi
21367
21535
  */
21368
21536
  getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
21537
+ /**
21538
+ * List Cluster Kubernetes Events
21539
+ * @summary List Cluster Kubernetes Events
21540
+ * @param {string} clusterId Cluster ID
21541
+ * @param {string} nodeName
21542
+ * @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
21543
+ * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
21544
+ * @param {*} [options] Override http request option.
21545
+ * @throws {RequiredError}
21546
+ * @memberof ClustersApi
21547
+ */
21548
+ getClusterKubernetesEvents(clusterId: string, nodeName: string, fromDateTime: string, toDateTime: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterKubernetesEvents200Response, any>>;
21369
21549
  /**
21370
21550
  *
21371
21551
  * @summary Know if a cluster is ready to be deployed or not