qovery-typescript-axios 1.1.12 → 1.1.13
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 +827 -921
- package/dist/api.d.ts +623 -712
- package/dist/api.js +332 -351
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -21,6 +21,20 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @enum {string}
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
export enum APIVariableScopeEnum {
|
|
31
|
+
APPLICATION = 'APPLICATION',
|
|
32
|
+
BUILT_IN = 'BUILT_IN',
|
|
33
|
+
ENVIRONMENT = 'ENVIRONMENT',
|
|
34
|
+
PROJECT = 'PROJECT',
|
|
35
|
+
CONTAINER = 'CONTAINER'
|
|
36
|
+
}
|
|
37
|
+
|
|
24
38
|
/**
|
|
25
39
|
*
|
|
26
40
|
* @export
|
|
@@ -89,31 +103,6 @@ export interface AccountInfoEditRequest {
|
|
|
89
103
|
*/
|
|
90
104
|
'profile_picture_url'?: string;
|
|
91
105
|
}
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @export
|
|
95
|
-
* @interface AliasedSecret
|
|
96
|
-
*/
|
|
97
|
-
export interface AliasedSecret {
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {string}
|
|
101
|
-
* @memberof AliasedSecret
|
|
102
|
-
*/
|
|
103
|
-
'id'?: string;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {string}
|
|
107
|
-
* @memberof AliasedSecret
|
|
108
|
-
*/
|
|
109
|
-
'key'?: string;
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
* @type {EnvironmentVariableScopeEnum}
|
|
113
|
-
* @memberof AliasedSecret
|
|
114
|
-
*/
|
|
115
|
-
'scope'?: EnvironmentVariableScopeEnum;
|
|
116
|
-
}
|
|
117
106
|
/**
|
|
118
107
|
*
|
|
119
108
|
* @export
|
|
@@ -140,16 +129,10 @@ export interface Application {
|
|
|
140
129
|
'updated_at'?: string;
|
|
141
130
|
/**
|
|
142
131
|
*
|
|
143
|
-
* @type {Array<
|
|
144
|
-
* @memberof Application
|
|
145
|
-
*/
|
|
146
|
-
'storage'?: Array<ApplicationStorageStorage>;
|
|
147
|
-
/**
|
|
148
|
-
*
|
|
149
|
-
* @type {Array<ServicePortPorts>}
|
|
132
|
+
* @type {Array<ServiceStorageStorage>}
|
|
150
133
|
* @memberof Application
|
|
151
134
|
*/
|
|
152
|
-
'
|
|
135
|
+
'storage'?: Array<ServiceStorageStorage>;
|
|
153
136
|
/**
|
|
154
137
|
*
|
|
155
138
|
* @type {ReferenceObject}
|
|
@@ -240,6 +223,12 @@ export interface Application {
|
|
|
240
223
|
* @memberof Application
|
|
241
224
|
*/
|
|
242
225
|
'auto_preview'?: boolean;
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @type {ServicePortResponseList}
|
|
229
|
+
* @memberof Application
|
|
230
|
+
*/
|
|
231
|
+
'ports'?: ServicePortResponseList;
|
|
243
232
|
}
|
|
244
233
|
/**
|
|
245
234
|
*
|
|
@@ -302,6 +291,12 @@ export interface ApplicationAdvancedSettings {
|
|
|
302
291
|
* @memberof ApplicationAdvancedSettings
|
|
303
292
|
*/
|
|
304
293
|
'network.ingress.proxy_buffer_size_kb'?: number;
|
|
294
|
+
/**
|
|
295
|
+
* list of source ranges to allow access to ingress proxy. This property can be used to whitelist 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 To allow all source ranges, set 0.0.0.0/0.
|
|
296
|
+
* @type {string}
|
|
297
|
+
* @memberof ApplicationAdvancedSettings
|
|
298
|
+
*/
|
|
299
|
+
'network.ingress.whitelist_source_range'?: string;
|
|
305
300
|
/**
|
|
306
301
|
* `NONE` disable readiness probe `TCP` enable TCP readiness probe `HTTP` enable HTTP readiness probe
|
|
307
302
|
* @type {string}
|
|
@@ -509,6 +504,12 @@ export interface ApplicationAllOf {
|
|
|
509
504
|
* @memberof ApplicationAllOf
|
|
510
505
|
*/
|
|
511
506
|
'auto_preview'?: boolean;
|
|
507
|
+
/**
|
|
508
|
+
*
|
|
509
|
+
* @type {ServicePortResponseList}
|
|
510
|
+
* @memberof ApplicationAllOf
|
|
511
|
+
*/
|
|
512
|
+
'ports'?: ServicePortResponseList;
|
|
512
513
|
}
|
|
513
514
|
/**
|
|
514
515
|
*
|
|
@@ -654,16 +655,10 @@ export interface ApplicationDeploymentRestrictionResponseList {
|
|
|
654
655
|
export interface ApplicationEditRequest {
|
|
655
656
|
/**
|
|
656
657
|
*
|
|
657
|
-
* @type {Array<
|
|
658
|
-
* @memberof ApplicationEditRequest
|
|
659
|
-
*/
|
|
660
|
-
'storage'?: Array<ApplicationStorageStorage>;
|
|
661
|
-
/**
|
|
662
|
-
*
|
|
663
|
-
* @type {Array<ServicePortPorts>}
|
|
658
|
+
* @type {Array<ServiceStorageRequestStorage>}
|
|
664
659
|
* @memberof ApplicationEditRequest
|
|
665
660
|
*/
|
|
666
|
-
'
|
|
661
|
+
'storage'?: Array<ServiceStorageRequestStorage>;
|
|
667
662
|
/**
|
|
668
663
|
* name is case insensitive
|
|
669
664
|
* @type {string}
|
|
@@ -742,6 +737,12 @@ export interface ApplicationEditRequest {
|
|
|
742
737
|
* @memberof ApplicationEditRequest
|
|
743
738
|
*/
|
|
744
739
|
'sticky_session'?: boolean;
|
|
740
|
+
/**
|
|
741
|
+
*
|
|
742
|
+
* @type {ServicePortResponseList}
|
|
743
|
+
* @memberof ApplicationEditRequest
|
|
744
|
+
*/
|
|
745
|
+
'ports'?: ServicePortResponseList;
|
|
745
746
|
}
|
|
746
747
|
/**
|
|
747
748
|
*
|
|
@@ -827,6 +828,12 @@ export interface ApplicationEditRequestAllOf {
|
|
|
827
828
|
* @memberof ApplicationEditRequestAllOf
|
|
828
829
|
*/
|
|
829
830
|
'sticky_session'?: boolean;
|
|
831
|
+
/**
|
|
832
|
+
*
|
|
833
|
+
* @type {ServicePortResponseList}
|
|
834
|
+
* @memberof ApplicationEditRequestAllOf
|
|
835
|
+
*/
|
|
836
|
+
'ports'?: ServicePortResponseList;
|
|
830
837
|
}
|
|
831
838
|
/**
|
|
832
839
|
*
|
|
@@ -1135,50 +1142,6 @@ export interface ApplicationResponseList {
|
|
|
1135
1142
|
*/
|
|
1136
1143
|
'results'?: Array<Application>;
|
|
1137
1144
|
}
|
|
1138
|
-
/**
|
|
1139
|
-
*
|
|
1140
|
-
* @export
|
|
1141
|
-
* @interface ApplicationStorage
|
|
1142
|
-
*/
|
|
1143
|
-
export interface ApplicationStorage {
|
|
1144
|
-
/**
|
|
1145
|
-
*
|
|
1146
|
-
* @type {Array<ApplicationStorageStorage>}
|
|
1147
|
-
* @memberof ApplicationStorage
|
|
1148
|
-
*/
|
|
1149
|
-
'storage'?: Array<ApplicationStorageStorage>;
|
|
1150
|
-
}
|
|
1151
|
-
/**
|
|
1152
|
-
*
|
|
1153
|
-
* @export
|
|
1154
|
-
* @interface ApplicationStorageStorage
|
|
1155
|
-
*/
|
|
1156
|
-
export interface ApplicationStorageStorage {
|
|
1157
|
-
/**
|
|
1158
|
-
*
|
|
1159
|
-
* @type {string}
|
|
1160
|
-
* @memberof ApplicationStorageStorage
|
|
1161
|
-
*/
|
|
1162
|
-
'id'?: string;
|
|
1163
|
-
/**
|
|
1164
|
-
*
|
|
1165
|
-
* @type {StorageTypeEnum}
|
|
1166
|
-
* @memberof ApplicationStorageStorage
|
|
1167
|
-
*/
|
|
1168
|
-
'type': StorageTypeEnum;
|
|
1169
|
-
/**
|
|
1170
|
-
* unit is GB
|
|
1171
|
-
* @type {number}
|
|
1172
|
-
* @memberof ApplicationStorageStorage
|
|
1173
|
-
*/
|
|
1174
|
-
'size': number;
|
|
1175
|
-
/**
|
|
1176
|
-
*
|
|
1177
|
-
* @type {string}
|
|
1178
|
-
* @memberof ApplicationStorageStorage
|
|
1179
|
-
*/
|
|
1180
|
-
'mount_point': string;
|
|
1181
|
-
}
|
|
1182
1145
|
/**
|
|
1183
1146
|
*
|
|
1184
1147
|
* @export
|
|
@@ -1721,31 +1684,6 @@ export interface CloudProviderResponseList {
|
|
|
1721
1684
|
*/
|
|
1722
1685
|
'results'?: Array<CloudProvider>;
|
|
1723
1686
|
}
|
|
1724
|
-
/**
|
|
1725
|
-
*
|
|
1726
|
-
* @export
|
|
1727
|
-
* @interface CluserCredentials
|
|
1728
|
-
*/
|
|
1729
|
-
export interface CluserCredentials {
|
|
1730
|
-
/**
|
|
1731
|
-
*
|
|
1732
|
-
* @type {string}
|
|
1733
|
-
* @memberof CluserCredentials
|
|
1734
|
-
*/
|
|
1735
|
-
'name': string;
|
|
1736
|
-
/**
|
|
1737
|
-
*
|
|
1738
|
-
* @type {string}
|
|
1739
|
-
* @memberof CluserCredentials
|
|
1740
|
-
*/
|
|
1741
|
-
'access_key_id'?: string;
|
|
1742
|
-
/**
|
|
1743
|
-
*
|
|
1744
|
-
* @type {string}
|
|
1745
|
-
* @memberof CluserCredentials
|
|
1746
|
-
*/
|
|
1747
|
-
'secret_access_key'?: string;
|
|
1748
|
-
}
|
|
1749
1687
|
/**
|
|
1750
1688
|
*
|
|
1751
1689
|
* @export
|
|
@@ -1885,6 +1823,38 @@ export interface Cluster {
|
|
|
1885
1823
|
*/
|
|
1886
1824
|
'features'?: Array<ClusterFeature>;
|
|
1887
1825
|
}
|
|
1826
|
+
/**
|
|
1827
|
+
*
|
|
1828
|
+
* @export
|
|
1829
|
+
* @interface ClusterAdvancedSettings
|
|
1830
|
+
*/
|
|
1831
|
+
export interface ClusterAdvancedSettings {
|
|
1832
|
+
/**
|
|
1833
|
+
* Configure the number of seconds before cleaning images in the registry
|
|
1834
|
+
* @type {number}
|
|
1835
|
+
* @memberof ClusterAdvancedSettings
|
|
1836
|
+
*/
|
|
1837
|
+
'registry.image_retention_time'?: number;
|
|
1838
|
+
/**
|
|
1839
|
+
* Select the size of the main load_balancer (only effective for Scaleway)
|
|
1840
|
+
* @type {string}
|
|
1841
|
+
* @memberof ClusterAdvancedSettings
|
|
1842
|
+
*/
|
|
1843
|
+
'load_balancer.size'?: string;
|
|
1844
|
+
/**
|
|
1845
|
+
*
|
|
1846
|
+
* @type {number}
|
|
1847
|
+
* @memberof ClusterAdvancedSettings
|
|
1848
|
+
* @deprecated
|
|
1849
|
+
*/
|
|
1850
|
+
'pleco.resources_ttl'?: number;
|
|
1851
|
+
/**
|
|
1852
|
+
* For how long in week loki is going to keep logs of your applications
|
|
1853
|
+
* @type {number}
|
|
1854
|
+
* @memberof ClusterAdvancedSettings
|
|
1855
|
+
*/
|
|
1856
|
+
'loki.log_retention_in_week'?: number;
|
|
1857
|
+
}
|
|
1888
1858
|
/**
|
|
1889
1859
|
*
|
|
1890
1860
|
* @export
|
|
@@ -2086,13 +2056,13 @@ export interface ClusterCredentials {
|
|
|
2086
2056
|
* @type {string}
|
|
2087
2057
|
* @memberof ClusterCredentials
|
|
2088
2058
|
*/
|
|
2089
|
-
'id'
|
|
2059
|
+
'id': string;
|
|
2090
2060
|
/**
|
|
2091
2061
|
*
|
|
2092
2062
|
* @type {string}
|
|
2093
2063
|
* @memberof ClusterCredentials
|
|
2094
2064
|
*/
|
|
2095
|
-
'name'
|
|
2065
|
+
'name': string;
|
|
2096
2066
|
}
|
|
2097
2067
|
/**
|
|
2098
2068
|
*
|
|
@@ -2600,10 +2570,10 @@ export interface ClusterRequestFeatures {
|
|
|
2600
2570
|
'id'?: string;
|
|
2601
2571
|
/**
|
|
2602
2572
|
*
|
|
2603
|
-
* @type {string}
|
|
2573
|
+
* @type {string | boolean}
|
|
2604
2574
|
* @memberof ClusterRequestFeatures
|
|
2605
2575
|
*/
|
|
2606
|
-
'value'?: string | null;
|
|
2576
|
+
'value'?: string | boolean | null;
|
|
2607
2577
|
}
|
|
2608
2578
|
/**
|
|
2609
2579
|
*
|
|
@@ -2938,6 +2908,12 @@ export interface ContainerAdvancedSettings {
|
|
|
2938
2908
|
* @memberof ContainerAdvancedSettings
|
|
2939
2909
|
*/
|
|
2940
2910
|
'network.ingress.proxy_buffer_size_kb'?: number;
|
|
2911
|
+
/**
|
|
2912
|
+
* list of source ranges to allow access to ingress proxy. This property can be used to whitelist 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 To allow all source ranges, set 0.0.0.0/0.
|
|
2913
|
+
* @type {string}
|
|
2914
|
+
* @memberof ContainerAdvancedSettings
|
|
2915
|
+
*/
|
|
2916
|
+
'network.ingress.whitelist_source_range'?: string;
|
|
2941
2917
|
/**
|
|
2942
2918
|
* `NONE` disable readiness probe `TCP` enable TCP readiness probe `HTTP` enable HTTP readiness probe
|
|
2943
2919
|
* @type {string}
|
|
@@ -3127,246 +3103,149 @@ export interface ContainerDeployRequest {
|
|
|
3127
3103
|
/**
|
|
3128
3104
|
*
|
|
3129
3105
|
* @export
|
|
3130
|
-
* @interface
|
|
3106
|
+
* @interface ContainerNetwork
|
|
3131
3107
|
*/
|
|
3132
|
-
export interface
|
|
3108
|
+
export interface ContainerNetwork {
|
|
3133
3109
|
/**
|
|
3134
|
-
*
|
|
3135
|
-
* @type {
|
|
3136
|
-
* @memberof
|
|
3110
|
+
* Specify if the sticky session option (also called persistant session) is activated or not for this container. If activated, user will be redirected by the load balancer to the same instance each time he access to the container.
|
|
3111
|
+
* @type {boolean}
|
|
3112
|
+
* @memberof ContainerNetwork
|
|
3137
3113
|
*/
|
|
3138
|
-
'
|
|
3114
|
+
'sticky_session'?: boolean;
|
|
3115
|
+
}
|
|
3116
|
+
/**
|
|
3117
|
+
*
|
|
3118
|
+
* @export
|
|
3119
|
+
* @interface ContainerNetworkRequest
|
|
3120
|
+
*/
|
|
3121
|
+
export interface ContainerNetworkRequest {
|
|
3139
3122
|
/**
|
|
3140
|
-
*
|
|
3141
|
-
* @type {
|
|
3142
|
-
* @memberof
|
|
3123
|
+
* Specify if the sticky session option (also called persistant session) is activated or not for this container. If activated, user will be redirected by the load balancer to the same instance each time he access to the container.
|
|
3124
|
+
* @type {boolean}
|
|
3125
|
+
* @memberof ContainerNetworkRequest
|
|
3143
3126
|
*/
|
|
3144
|
-
'
|
|
3127
|
+
'sticky_session'?: boolean;
|
|
3128
|
+
}
|
|
3129
|
+
/**
|
|
3130
|
+
* The type of your container registry
|
|
3131
|
+
* @export
|
|
3132
|
+
* @enum {string}
|
|
3133
|
+
*/
|
|
3134
|
+
|
|
3135
|
+
export enum ContainerRegistryKindEnum {
|
|
3136
|
+
ECR = 'ECR',
|
|
3137
|
+
SCALEWAY_CR = 'SCALEWAY_CR',
|
|
3138
|
+
DOCKER_HUB = 'DOCKER_HUB',
|
|
3139
|
+
PUBLIC_ECR = 'PUBLIC_ECR',
|
|
3140
|
+
DOCR = 'DOCR'
|
|
3141
|
+
}
|
|
3142
|
+
|
|
3143
|
+
/**
|
|
3144
|
+
*
|
|
3145
|
+
* @export
|
|
3146
|
+
* @interface ContainerRegistryRequest
|
|
3147
|
+
*/
|
|
3148
|
+
export interface ContainerRegistryRequest {
|
|
3145
3149
|
/**
|
|
3146
|
-
*
|
|
3150
|
+
*
|
|
3147
3151
|
* @type {string}
|
|
3148
|
-
* @memberof
|
|
3152
|
+
* @memberof ContainerRegistryRequest
|
|
3149
3153
|
*/
|
|
3150
3154
|
'name': string;
|
|
3151
3155
|
/**
|
|
3152
|
-
*
|
|
3153
|
-
* @type {
|
|
3154
|
-
* @memberof
|
|
3156
|
+
*
|
|
3157
|
+
* @type {ContainerRegistryKindEnum}
|
|
3158
|
+
* @memberof ContainerRegistryRequest
|
|
3155
3159
|
*/
|
|
3156
|
-
'
|
|
3160
|
+
'kind': ContainerRegistryKindEnum;
|
|
3157
3161
|
/**
|
|
3158
|
-
*
|
|
3162
|
+
*
|
|
3159
3163
|
* @type {string}
|
|
3160
|
-
* @memberof
|
|
3164
|
+
* @memberof ContainerRegistryRequest
|
|
3161
3165
|
*/
|
|
3162
|
-
'
|
|
3166
|
+
'description'?: string;
|
|
3163
3167
|
/**
|
|
3164
|
-
*
|
|
3168
|
+
* URL of the container registry: * For `DOCKER_HUB`: should be `https://docker.io` * For others: must start by `https://`
|
|
3165
3169
|
* @type {string}
|
|
3166
|
-
* @memberof
|
|
3170
|
+
* @memberof ContainerRegistryRequest
|
|
3167
3171
|
*/
|
|
3168
|
-
'
|
|
3172
|
+
'url': string;
|
|
3169
3173
|
/**
|
|
3170
3174
|
*
|
|
3171
|
-
* @type {
|
|
3172
|
-
* @memberof
|
|
3175
|
+
* @type {ContainerRegistryRequestConfig}
|
|
3176
|
+
* @memberof ContainerRegistryRequest
|
|
3173
3177
|
*/
|
|
3174
|
-
'
|
|
3178
|
+
'config': ContainerRegistryRequestConfig;
|
|
3179
|
+
}
|
|
3180
|
+
/**
|
|
3181
|
+
* This field is dependent of the container registry kind: * `ECR` needs in the config: region, access_key_id, secret_access_key * `SCALEWAY_CR` needs in the config: region, scaleway_access_key, scaleway_secret_key * `DOCKER_HUB` needs in the config: username, password * `PUBLIC_ECR` needs in the config: access_key_id, secret_access_key * `DOCR` is not supported anymore
|
|
3182
|
+
* @export
|
|
3183
|
+
* @interface ContainerRegistryRequestConfig
|
|
3184
|
+
*/
|
|
3185
|
+
export interface ContainerRegistryRequestConfig {
|
|
3175
3186
|
/**
|
|
3176
|
-
*
|
|
3187
|
+
* Required if kind is `ECR` or `PUBLIC_ECR`
|
|
3177
3188
|
* @type {string}
|
|
3178
|
-
* @memberof
|
|
3189
|
+
* @memberof ContainerRegistryRequestConfig
|
|
3179
3190
|
*/
|
|
3180
|
-
'
|
|
3191
|
+
'access_key_id'?: string;
|
|
3181
3192
|
/**
|
|
3182
|
-
*
|
|
3183
|
-
* @type {
|
|
3184
|
-
* @memberof
|
|
3193
|
+
* Required if kind is `ECR` or `PUBLIC_ECR`
|
|
3194
|
+
* @type {string}
|
|
3195
|
+
* @memberof ContainerRegistryRequestConfig
|
|
3185
3196
|
*/
|
|
3186
|
-
'
|
|
3197
|
+
'secret_access_key'?: string;
|
|
3187
3198
|
/**
|
|
3188
|
-
*
|
|
3189
|
-
* @type {
|
|
3190
|
-
* @memberof
|
|
3199
|
+
* Required if kind is `ECR` or `SCALEWAY_CR`
|
|
3200
|
+
* @type {string}
|
|
3201
|
+
* @memberof ContainerRegistryRequestConfig
|
|
3191
3202
|
*/
|
|
3192
|
-
'
|
|
3203
|
+
'region'?: string;
|
|
3193
3204
|
/**
|
|
3194
|
-
*
|
|
3195
|
-
* @type {
|
|
3196
|
-
* @memberof
|
|
3205
|
+
* Required if kind is `SCALEWAY_CR`
|
|
3206
|
+
* @type {string}
|
|
3207
|
+
* @memberof ContainerRegistryRequestConfig
|
|
3197
3208
|
*/
|
|
3198
|
-
'
|
|
3209
|
+
'scaleway_access_key'?: string;
|
|
3199
3210
|
/**
|
|
3200
|
-
*
|
|
3201
|
-
* @type {
|
|
3202
|
-
* @memberof
|
|
3211
|
+
* Required if kind is `SCALEWAY_CR`
|
|
3212
|
+
* @type {string}
|
|
3213
|
+
* @memberof ContainerRegistryRequestConfig
|
|
3203
3214
|
*/
|
|
3204
|
-
'
|
|
3215
|
+
'scaleway_secret_key'?: string;
|
|
3216
|
+
/**
|
|
3217
|
+
* Required if kind is `DOCKER_HUB`
|
|
3218
|
+
* @type {string}
|
|
3219
|
+
* @memberof ContainerRegistryRequestConfig
|
|
3220
|
+
*/
|
|
3221
|
+
'username'?: string;
|
|
3222
|
+
/**
|
|
3223
|
+
* Required if kind is `DOCKER_HUB`
|
|
3224
|
+
* @type {string}
|
|
3225
|
+
* @memberof ContainerRegistryRequestConfig
|
|
3226
|
+
*/
|
|
3227
|
+
'password'?: string;
|
|
3205
3228
|
}
|
|
3206
3229
|
/**
|
|
3207
3230
|
*
|
|
3208
3231
|
* @export
|
|
3209
|
-
* @interface
|
|
3232
|
+
* @interface ContainerRegistryResponse
|
|
3210
3233
|
*/
|
|
3211
|
-
export interface
|
|
3234
|
+
export interface ContainerRegistryResponse {
|
|
3212
3235
|
/**
|
|
3213
|
-
*
|
|
3236
|
+
*
|
|
3214
3237
|
* @type {string}
|
|
3215
|
-
* @memberof
|
|
3238
|
+
* @memberof ContainerRegistryResponse
|
|
3216
3239
|
*/
|
|
3217
|
-
'
|
|
3240
|
+
'id': string;
|
|
3218
3241
|
/**
|
|
3219
|
-
*
|
|
3242
|
+
*
|
|
3220
3243
|
* @type {string}
|
|
3221
|
-
* @memberof
|
|
3244
|
+
* @memberof ContainerRegistryResponse
|
|
3222
3245
|
*/
|
|
3223
|
-
'
|
|
3246
|
+
'created_at': string;
|
|
3224
3247
|
/**
|
|
3225
|
-
*
|
|
3226
|
-
* @type {string}
|
|
3227
|
-
* @memberof ContainerEditRequestAllOf
|
|
3228
|
-
*/
|
|
3229
|
-
'image_name': string;
|
|
3230
|
-
/**
|
|
3231
|
-
* tag of the image container
|
|
3232
|
-
* @type {string}
|
|
3233
|
-
* @memberof ContainerEditRequestAllOf
|
|
3234
|
-
*/
|
|
3235
|
-
'tag': string;
|
|
3236
|
-
/**
|
|
3237
|
-
*
|
|
3238
|
-
* @type {Array<string>}
|
|
3239
|
-
* @memberof ContainerEditRequestAllOf
|
|
3240
|
-
*/
|
|
3241
|
-
'arguments'?: Array<string>;
|
|
3242
|
-
/**
|
|
3243
|
-
* optional entrypoint when launching container
|
|
3244
|
-
* @type {string}
|
|
3245
|
-
* @memberof ContainerEditRequestAllOf
|
|
3246
|
-
*/
|
|
3247
|
-
'entrypoint'?: string;
|
|
3248
|
-
/**
|
|
3249
|
-
* unit is millicores (m). 1000m = 1 cpu
|
|
3250
|
-
* @type {number}
|
|
3251
|
-
* @memberof ContainerEditRequestAllOf
|
|
3252
|
-
*/
|
|
3253
|
-
'cpu'?: number;
|
|
3254
|
-
/**
|
|
3255
|
-
* unit is MB. 1024 MB = 1GB
|
|
3256
|
-
* @type {number}
|
|
3257
|
-
* @memberof ContainerEditRequestAllOf
|
|
3258
|
-
*/
|
|
3259
|
-
'memory'?: number;
|
|
3260
|
-
/**
|
|
3261
|
-
* Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no application running.
|
|
3262
|
-
* @type {number}
|
|
3263
|
-
* @memberof ContainerEditRequestAllOf
|
|
3264
|
-
*/
|
|
3265
|
-
'min_running_instances'?: number;
|
|
3266
|
-
/**
|
|
3267
|
-
* Maximum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: -1 means that there is no limit.
|
|
3268
|
-
* @type {number}
|
|
3269
|
-
* @memberof ContainerEditRequestAllOf
|
|
3270
|
-
*/
|
|
3271
|
-
'max_running_instances'?: number;
|
|
3272
|
-
}
|
|
3273
|
-
/**
|
|
3274
|
-
*
|
|
3275
|
-
* @export
|
|
3276
|
-
* @interface ContainerNetwork
|
|
3277
|
-
*/
|
|
3278
|
-
export interface ContainerNetwork {
|
|
3279
|
-
/**
|
|
3280
|
-
* Specify if the sticky session option (also called persistant session) is activated or not for this container. If activated, user will be redirected by the load balancer to the same instance each time he access to the container.
|
|
3281
|
-
* @type {boolean}
|
|
3282
|
-
* @memberof ContainerNetwork
|
|
3283
|
-
*/
|
|
3284
|
-
'sticky_session'?: boolean;
|
|
3285
|
-
}
|
|
3286
|
-
/**
|
|
3287
|
-
*
|
|
3288
|
-
* @export
|
|
3289
|
-
* @interface ContainerNetworkRequest
|
|
3290
|
-
*/
|
|
3291
|
-
export interface ContainerNetworkRequest {
|
|
3292
|
-
/**
|
|
3293
|
-
* Specify if the sticky session option (also called persistant session) is activated or not for this container. If activated, user will be redirected by the load balancer to the same instance each time he access to the container.
|
|
3294
|
-
* @type {boolean}
|
|
3295
|
-
* @memberof ContainerNetworkRequest
|
|
3296
|
-
*/
|
|
3297
|
-
'sticky_session'?: boolean;
|
|
3298
|
-
}
|
|
3299
|
-
/**
|
|
3300
|
-
* ECR needs the following parameters - region, access_key_id, secret_access_key DOCR needs the following parameters - token SCALEWAY_CR needs the following parameters - scaleway_access_key, scaleway_secret_key DOCKER_HUB needs the following parameters - username, password PUBLIC_ECR needs the followinf parameters - access_key_id, secret_access_key
|
|
3301
|
-
* @export
|
|
3302
|
-
* @enum {string}
|
|
3303
|
-
*/
|
|
3304
|
-
|
|
3305
|
-
export enum ContainerRegistryKindEnum {
|
|
3306
|
-
ECR = 'ECR',
|
|
3307
|
-
DOCR = 'DOCR',
|
|
3308
|
-
SCALEWAY_CR = 'SCALEWAY_CR',
|
|
3309
|
-
DOCKER_HUB = 'DOCKER_HUB',
|
|
3310
|
-
PUBLIC_ECR = 'PUBLIC_ECR'
|
|
3311
|
-
}
|
|
3312
|
-
|
|
3313
|
-
/**
|
|
3314
|
-
*
|
|
3315
|
-
* @export
|
|
3316
|
-
* @interface ContainerRegistryRequest
|
|
3317
|
-
*/
|
|
3318
|
-
export interface ContainerRegistryRequest {
|
|
3319
|
-
/**
|
|
3320
|
-
*
|
|
3321
|
-
* @type {string}
|
|
3322
|
-
* @memberof ContainerRegistryRequest
|
|
3323
|
-
*/
|
|
3324
|
-
'name': string;
|
|
3325
|
-
/**
|
|
3326
|
-
*
|
|
3327
|
-
* @type {ContainerRegistryKindEnum}
|
|
3328
|
-
* @memberof ContainerRegistryRequest
|
|
3329
|
-
*/
|
|
3330
|
-
'kind': ContainerRegistryKindEnum;
|
|
3331
|
-
/**
|
|
3332
|
-
*
|
|
3333
|
-
* @type {string}
|
|
3334
|
-
* @memberof ContainerRegistryRequest
|
|
3335
|
-
*/
|
|
3336
|
-
'description'?: string;
|
|
3337
|
-
/**
|
|
3338
|
-
* URL of the container registry. Must start by \'https://\' and for docker_hub should be \'https://docker.io\'
|
|
3339
|
-
* @type {string}
|
|
3340
|
-
* @memberof ContainerRegistryRequest
|
|
3341
|
-
*/
|
|
3342
|
-
'url': string;
|
|
3343
|
-
/**
|
|
3344
|
-
* authentification configuration
|
|
3345
|
-
* @type {{ [key: string]: object; }}
|
|
3346
|
-
* @memberof ContainerRegistryRequest
|
|
3347
|
-
*/
|
|
3348
|
-
'config': { [key: string]: object; };
|
|
3349
|
-
}
|
|
3350
|
-
/**
|
|
3351
|
-
*
|
|
3352
|
-
* @export
|
|
3353
|
-
* @interface ContainerRegistryResponse
|
|
3354
|
-
*/
|
|
3355
|
-
export interface ContainerRegistryResponse {
|
|
3356
|
-
/**
|
|
3357
|
-
*
|
|
3358
|
-
* @type {string}
|
|
3359
|
-
* @memberof ContainerRegistryResponse
|
|
3360
|
-
*/
|
|
3361
|
-
'id': string;
|
|
3362
|
-
/**
|
|
3363
|
-
*
|
|
3364
|
-
* @type {string}
|
|
3365
|
-
* @memberof ContainerRegistryResponse
|
|
3366
|
-
*/
|
|
3367
|
-
'created_at': string;
|
|
3368
|
-
/**
|
|
3369
|
-
*
|
|
3248
|
+
*
|
|
3370
3249
|
* @type {string}
|
|
3371
3250
|
* @memberof ContainerRegistryResponse
|
|
3372
3251
|
*/
|
|
@@ -3458,7 +3337,7 @@ export interface ContainerRequest {
|
|
|
3458
3337
|
*/
|
|
3459
3338
|
'registry_id': string;
|
|
3460
3339
|
/**
|
|
3461
|
-
* name
|
|
3340
|
+
* The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `namespace/image` * `PUBLIC_ECR`: `registry_alias/repository`
|
|
3462
3341
|
* @type {string}
|
|
3463
3342
|
* @memberof ContainerRequest
|
|
3464
3343
|
*/
|
|
@@ -3525,7 +3404,7 @@ export interface ContainerRequestAllOf {
|
|
|
3525
3404
|
*/
|
|
3526
3405
|
'registry_id': string;
|
|
3527
3406
|
/**
|
|
3528
|
-
* name
|
|
3407
|
+
* The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `namespace/image` * `PUBLIC_ECR`: `registry_alias/repository`
|
|
3529
3408
|
* @type {string}
|
|
3530
3409
|
* @memberof ContainerRequestAllOf
|
|
3531
3410
|
*/
|
|
@@ -3599,58 +3478,52 @@ export interface ContainerResponse {
|
|
|
3599
3478
|
'updated_at'?: string;
|
|
3600
3479
|
/**
|
|
3601
3480
|
*
|
|
3602
|
-
* @type {Array<
|
|
3603
|
-
* @memberof ContainerResponse
|
|
3604
|
-
*/
|
|
3605
|
-
'storage'?: Array<ApplicationStorageStorage>;
|
|
3606
|
-
/**
|
|
3607
|
-
*
|
|
3608
|
-
* @type {Array<ServicePortPorts>}
|
|
3481
|
+
* @type {Array<ServiceStorageStorage>}
|
|
3609
3482
|
* @memberof ContainerResponse
|
|
3610
3483
|
*/
|
|
3611
|
-
'
|
|
3484
|
+
'storage'?: Array<ServiceStorageStorage>;
|
|
3612
3485
|
/**
|
|
3613
3486
|
*
|
|
3614
3487
|
* @type {ReferenceObject}
|
|
3615
3488
|
* @memberof ContainerResponse
|
|
3616
3489
|
*/
|
|
3617
|
-
'environment'
|
|
3490
|
+
'environment': ReferenceObject;
|
|
3618
3491
|
/**
|
|
3619
3492
|
*
|
|
3620
3493
|
* @type {ReferenceObject}
|
|
3621
3494
|
* @memberof ContainerResponse
|
|
3622
3495
|
*/
|
|
3623
|
-
'registry'
|
|
3496
|
+
'registry': ReferenceObject;
|
|
3624
3497
|
/**
|
|
3625
3498
|
* Maximum cpu that can be allocated to the container based on organization cluster configuration. unit is millicores (m). 1000m = 1 cpu
|
|
3626
3499
|
* @type {number}
|
|
3627
3500
|
* @memberof ContainerResponse
|
|
3628
3501
|
*/
|
|
3629
|
-
'maximum_cpu'
|
|
3502
|
+
'maximum_cpu': number;
|
|
3630
3503
|
/**
|
|
3631
3504
|
* Maximum memory that can be allocated to the container based on organization cluster configuration. unit is MB. 1024 MB = 1GB
|
|
3632
3505
|
* @type {number}
|
|
3633
3506
|
* @memberof ContainerResponse
|
|
3634
3507
|
*/
|
|
3635
|
-
'maximum_memory'
|
|
3508
|
+
'maximum_memory': number;
|
|
3636
3509
|
/**
|
|
3637
3510
|
* name is case insensitive
|
|
3638
3511
|
* @type {string}
|
|
3639
3512
|
* @memberof ContainerResponse
|
|
3640
3513
|
*/
|
|
3641
|
-
'name'
|
|
3514
|
+
'name': string;
|
|
3642
3515
|
/**
|
|
3643
3516
|
* name of the image container
|
|
3644
3517
|
* @type {string}
|
|
3645
3518
|
* @memberof ContainerResponse
|
|
3646
3519
|
*/
|
|
3647
|
-
'image_name'
|
|
3520
|
+
'image_name': string;
|
|
3648
3521
|
/**
|
|
3649
3522
|
* tag of the image container
|
|
3650
3523
|
* @type {string}
|
|
3651
3524
|
* @memberof ContainerResponse
|
|
3652
3525
|
*/
|
|
3653
|
-
'tag'
|
|
3526
|
+
'tag': string;
|
|
3654
3527
|
/**
|
|
3655
3528
|
*
|
|
3656
3529
|
* @type {Array<string>}
|
|
@@ -3668,25 +3541,37 @@ export interface ContainerResponse {
|
|
|
3668
3541
|
* @type {number}
|
|
3669
3542
|
* @memberof ContainerResponse
|
|
3670
3543
|
*/
|
|
3671
|
-
'cpu'
|
|
3544
|
+
'cpu': number;
|
|
3672
3545
|
/**
|
|
3673
3546
|
* unit is MB. 1024 MB = 1GB
|
|
3674
3547
|
* @type {number}
|
|
3675
3548
|
* @memberof ContainerResponse
|
|
3676
3549
|
*/
|
|
3677
|
-
'memory'
|
|
3550
|
+
'memory': number;
|
|
3678
3551
|
/**
|
|
3679
3552
|
* Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no container running.
|
|
3680
3553
|
* @type {number}
|
|
3681
3554
|
* @memberof ContainerResponse
|
|
3682
3555
|
*/
|
|
3683
|
-
'min_running_instances'
|
|
3556
|
+
'min_running_instances': number;
|
|
3684
3557
|
/**
|
|
3685
3558
|
* Maximum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: -1 means that there is no limit.
|
|
3686
3559
|
* @type {number}
|
|
3687
3560
|
* @memberof ContainerResponse
|
|
3688
3561
|
*/
|
|
3689
|
-
'max_running_instances'
|
|
3562
|
+
'max_running_instances': number;
|
|
3563
|
+
/**
|
|
3564
|
+
* Specify if the environment preview option is activated or not for this container. If activated, a preview environment will be automatically cloned at each pull request.
|
|
3565
|
+
* @type {boolean}
|
|
3566
|
+
* @memberof ContainerResponse
|
|
3567
|
+
*/
|
|
3568
|
+
'auto_preview': boolean;
|
|
3569
|
+
/**
|
|
3570
|
+
*
|
|
3571
|
+
* @type {ServicePortResponseList}
|
|
3572
|
+
* @memberof ContainerResponse
|
|
3573
|
+
*/
|
|
3574
|
+
'ports'?: ServicePortResponseList;
|
|
3690
3575
|
}
|
|
3691
3576
|
/**
|
|
3692
3577
|
*
|
|
@@ -3699,43 +3584,43 @@ export interface ContainerResponseAllOf {
|
|
|
3699
3584
|
* @type {ReferenceObject}
|
|
3700
3585
|
* @memberof ContainerResponseAllOf
|
|
3701
3586
|
*/
|
|
3702
|
-
'environment'
|
|
3587
|
+
'environment': ReferenceObject;
|
|
3703
3588
|
/**
|
|
3704
3589
|
*
|
|
3705
3590
|
* @type {ReferenceObject}
|
|
3706
3591
|
* @memberof ContainerResponseAllOf
|
|
3707
3592
|
*/
|
|
3708
|
-
'registry'
|
|
3593
|
+
'registry': ReferenceObject;
|
|
3709
3594
|
/**
|
|
3710
3595
|
* Maximum cpu that can be allocated to the container based on organization cluster configuration. unit is millicores (m). 1000m = 1 cpu
|
|
3711
3596
|
* @type {number}
|
|
3712
3597
|
* @memberof ContainerResponseAllOf
|
|
3713
3598
|
*/
|
|
3714
|
-
'maximum_cpu'
|
|
3599
|
+
'maximum_cpu': number;
|
|
3715
3600
|
/**
|
|
3716
3601
|
* Maximum memory that can be allocated to the container based on organization cluster configuration. unit is MB. 1024 MB = 1GB
|
|
3717
3602
|
* @type {number}
|
|
3718
3603
|
* @memberof ContainerResponseAllOf
|
|
3719
3604
|
*/
|
|
3720
|
-
'maximum_memory'
|
|
3605
|
+
'maximum_memory': number;
|
|
3721
3606
|
/**
|
|
3722
3607
|
* name is case insensitive
|
|
3723
3608
|
* @type {string}
|
|
3724
3609
|
* @memberof ContainerResponseAllOf
|
|
3725
3610
|
*/
|
|
3726
|
-
'name'
|
|
3611
|
+
'name': string;
|
|
3727
3612
|
/**
|
|
3728
3613
|
* name of the image container
|
|
3729
3614
|
* @type {string}
|
|
3730
3615
|
* @memberof ContainerResponseAllOf
|
|
3731
3616
|
*/
|
|
3732
|
-
'image_name'
|
|
3617
|
+
'image_name': string;
|
|
3733
3618
|
/**
|
|
3734
3619
|
* tag of the image container
|
|
3735
3620
|
* @type {string}
|
|
3736
3621
|
* @memberof ContainerResponseAllOf
|
|
3737
3622
|
*/
|
|
3738
|
-
'tag'
|
|
3623
|
+
'tag': string;
|
|
3739
3624
|
/**
|
|
3740
3625
|
*
|
|
3741
3626
|
* @type {Array<string>}
|
|
@@ -3753,25 +3638,37 @@ export interface ContainerResponseAllOf {
|
|
|
3753
3638
|
* @type {number}
|
|
3754
3639
|
* @memberof ContainerResponseAllOf
|
|
3755
3640
|
*/
|
|
3756
|
-
'cpu'
|
|
3641
|
+
'cpu': number;
|
|
3757
3642
|
/**
|
|
3758
3643
|
* unit is MB. 1024 MB = 1GB
|
|
3759
3644
|
* @type {number}
|
|
3760
3645
|
* @memberof ContainerResponseAllOf
|
|
3761
3646
|
*/
|
|
3762
|
-
'memory'
|
|
3647
|
+
'memory': number;
|
|
3763
3648
|
/**
|
|
3764
3649
|
* Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no container running.
|
|
3765
3650
|
* @type {number}
|
|
3766
3651
|
* @memberof ContainerResponseAllOf
|
|
3767
3652
|
*/
|
|
3768
|
-
'min_running_instances'
|
|
3653
|
+
'min_running_instances': number;
|
|
3769
3654
|
/**
|
|
3770
3655
|
* Maximum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: -1 means that there is no limit.
|
|
3771
3656
|
* @type {number}
|
|
3772
3657
|
* @memberof ContainerResponseAllOf
|
|
3773
3658
|
*/
|
|
3774
|
-
'max_running_instances'
|
|
3659
|
+
'max_running_instances': number;
|
|
3660
|
+
/**
|
|
3661
|
+
* Specify if the environment preview option is activated or not for this container. If activated, a preview environment will be automatically cloned at each pull request.
|
|
3662
|
+
* @type {boolean}
|
|
3663
|
+
* @memberof ContainerResponseAllOf
|
|
3664
|
+
*/
|
|
3665
|
+
'auto_preview': boolean;
|
|
3666
|
+
/**
|
|
3667
|
+
*
|
|
3668
|
+
* @type {ServicePortResponseList}
|
|
3669
|
+
* @memberof ContainerResponseAllOf
|
|
3670
|
+
*/
|
|
3671
|
+
'ports'?: ServicePortResponseList;
|
|
3775
3672
|
}
|
|
3776
3673
|
/**
|
|
3777
3674
|
*
|
|
@@ -3786,19 +3683,6 @@ export interface ContainerResponseList {
|
|
|
3786
3683
|
*/
|
|
3787
3684
|
'results'?: Array<ContainerResponse>;
|
|
3788
3685
|
}
|
|
3789
|
-
/**
|
|
3790
|
-
*
|
|
3791
|
-
* @export
|
|
3792
|
-
* @interface ContainerStorage
|
|
3793
|
-
*/
|
|
3794
|
-
export interface ContainerStorage {
|
|
3795
|
-
/**
|
|
3796
|
-
*
|
|
3797
|
-
* @type {Array<ApplicationStorageStorage>}
|
|
3798
|
-
* @memberof ContainerStorage
|
|
3799
|
-
*/
|
|
3800
|
-
'storage'?: Array<ApplicationStorageStorage>;
|
|
3801
|
-
}
|
|
3802
3686
|
/**
|
|
3803
3687
|
*
|
|
3804
3688
|
* @export
|
|
@@ -3861,6 +3745,43 @@ export interface CostRange {
|
|
|
3861
3745
|
*/
|
|
3862
3746
|
'currency_code': string;
|
|
3863
3747
|
}
|
|
3748
|
+
/**
|
|
3749
|
+
*
|
|
3750
|
+
* @export
|
|
3751
|
+
* @enum {string}
|
|
3752
|
+
*/
|
|
3753
|
+
|
|
3754
|
+
export enum CreateEnvironmentModeEnum {
|
|
3755
|
+
DEVELOPMENT = 'DEVELOPMENT',
|
|
3756
|
+
PRODUCTION = 'PRODUCTION',
|
|
3757
|
+
STAGING = 'STAGING'
|
|
3758
|
+
}
|
|
3759
|
+
|
|
3760
|
+
/**
|
|
3761
|
+
*
|
|
3762
|
+
* @export
|
|
3763
|
+
* @interface CreateEnvironmentRequest
|
|
3764
|
+
*/
|
|
3765
|
+
export interface CreateEnvironmentRequest {
|
|
3766
|
+
/**
|
|
3767
|
+
* name is case insensitive
|
|
3768
|
+
* @type {string}
|
|
3769
|
+
* @memberof CreateEnvironmentRequest
|
|
3770
|
+
*/
|
|
3771
|
+
'name': string;
|
|
3772
|
+
/**
|
|
3773
|
+
*
|
|
3774
|
+
* @type {string}
|
|
3775
|
+
* @memberof CreateEnvironmentRequest
|
|
3776
|
+
*/
|
|
3777
|
+
'cluster'?: string;
|
|
3778
|
+
/**
|
|
3779
|
+
*
|
|
3780
|
+
* @type {CreateEnvironmentModeEnum}
|
|
3781
|
+
* @memberof CreateEnvironmentRequest
|
|
3782
|
+
*/
|
|
3783
|
+
'mode'?: CreateEnvironmentModeEnum;
|
|
3784
|
+
}
|
|
3864
3785
|
/**
|
|
3865
3786
|
*
|
|
3866
3787
|
* @export
|
|
@@ -5948,10 +5869,10 @@ export interface EnvironmentEditRequest {
|
|
|
5948
5869
|
'name'?: string;
|
|
5949
5870
|
/**
|
|
5950
5871
|
*
|
|
5951
|
-
* @type {
|
|
5872
|
+
* @type {CreateEnvironmentModeEnum}
|
|
5952
5873
|
* @memberof EnvironmentEditRequest
|
|
5953
5874
|
*/
|
|
5954
|
-
'mode'?:
|
|
5875
|
+
'mode'?: CreateEnvironmentModeEnum;
|
|
5955
5876
|
}
|
|
5956
5877
|
/**
|
|
5957
5878
|
*
|
|
@@ -6103,31 +6024,6 @@ export enum EnvironmentModeEnum {
|
|
|
6103
6024
|
STAGING = 'STAGING'
|
|
6104
6025
|
}
|
|
6105
6026
|
|
|
6106
|
-
/**
|
|
6107
|
-
*
|
|
6108
|
-
* @export
|
|
6109
|
-
* @interface EnvironmentRequest
|
|
6110
|
-
*/
|
|
6111
|
-
export interface EnvironmentRequest {
|
|
6112
|
-
/**
|
|
6113
|
-
* name is case insensitive
|
|
6114
|
-
* @type {string}
|
|
6115
|
-
* @memberof EnvironmentRequest
|
|
6116
|
-
*/
|
|
6117
|
-
'name': string;
|
|
6118
|
-
/**
|
|
6119
|
-
*
|
|
6120
|
-
* @type {string}
|
|
6121
|
-
* @memberof EnvironmentRequest
|
|
6122
|
-
*/
|
|
6123
|
-
'cluster'?: string;
|
|
6124
|
-
/**
|
|
6125
|
-
*
|
|
6126
|
-
* @type {EnvironmentModeEnum}
|
|
6127
|
-
* @memberof EnvironmentRequest
|
|
6128
|
-
*/
|
|
6129
|
-
'mode'?: EnvironmentModeEnum;
|
|
6130
|
-
}
|
|
6131
6027
|
/**
|
|
6132
6028
|
*
|
|
6133
6029
|
* @export
|
|
@@ -6250,22 +6146,22 @@ export interface EnvironmentVariable {
|
|
|
6250
6146
|
'value': string;
|
|
6251
6147
|
/**
|
|
6252
6148
|
*
|
|
6253
|
-
* @type {
|
|
6149
|
+
* @type {EnvironmentVariableOverride}
|
|
6254
6150
|
* @memberof EnvironmentVariable
|
|
6255
6151
|
*/
|
|
6256
|
-
'overridden_variable'?:
|
|
6152
|
+
'overridden_variable'?: EnvironmentVariableOverride;
|
|
6257
6153
|
/**
|
|
6258
6154
|
*
|
|
6259
|
-
* @type {
|
|
6155
|
+
* @type {EnvironmentVariableAlias}
|
|
6260
6156
|
* @memberof EnvironmentVariable
|
|
6261
6157
|
*/
|
|
6262
|
-
'aliased_variable'?:
|
|
6158
|
+
'aliased_variable'?: EnvironmentVariableAlias;
|
|
6263
6159
|
/**
|
|
6264
6160
|
*
|
|
6265
|
-
* @type {
|
|
6161
|
+
* @type {APIVariableScopeEnum}
|
|
6266
6162
|
* @memberof EnvironmentVariable
|
|
6267
6163
|
*/
|
|
6268
|
-
'scope':
|
|
6164
|
+
'scope': APIVariableScopeEnum;
|
|
6269
6165
|
/**
|
|
6270
6166
|
* present only for `BUILT_IN` variable
|
|
6271
6167
|
* @type {string}
|
|
@@ -6288,107 +6184,76 @@ export interface EnvironmentVariable {
|
|
|
6288
6184
|
/**
|
|
6289
6185
|
*
|
|
6290
6186
|
* @export
|
|
6291
|
-
* @interface
|
|
6187
|
+
* @interface EnvironmentVariableAlias
|
|
6292
6188
|
*/
|
|
6293
|
-
export interface
|
|
6189
|
+
export interface EnvironmentVariableAlias {
|
|
6294
6190
|
/**
|
|
6295
6191
|
*
|
|
6296
|
-
* @type {
|
|
6297
|
-
* @memberof
|
|
6192
|
+
* @type {string}
|
|
6193
|
+
* @memberof EnvironmentVariableAlias
|
|
6298
6194
|
*/
|
|
6299
|
-
'
|
|
6195
|
+
'id': string;
|
|
6300
6196
|
/**
|
|
6301
6197
|
*
|
|
6302
|
-
* @type {
|
|
6303
|
-
* @memberof
|
|
6198
|
+
* @type {string}
|
|
6199
|
+
* @memberof EnvironmentVariableAlias
|
|
6304
6200
|
*/
|
|
6305
|
-
'
|
|
6201
|
+
'key': string;
|
|
6306
6202
|
/**
|
|
6307
6203
|
*
|
|
6308
|
-
* @type {EnvironmentVariableScopeEnum}
|
|
6309
|
-
* @memberof EnvironmentVariableAllOf
|
|
6310
|
-
*/
|
|
6311
|
-
'scope': EnvironmentVariableScopeEnum;
|
|
6312
|
-
/**
|
|
6313
|
-
* present only for `BUILT_IN` variable
|
|
6314
6204
|
* @type {string}
|
|
6315
|
-
* @memberof
|
|
6205
|
+
* @memberof EnvironmentVariableAlias
|
|
6316
6206
|
*/
|
|
6317
|
-
'
|
|
6318
|
-
/**
|
|
6319
|
-
* present only for `BUILT_IN` variable
|
|
6320
|
-
* @type {string}
|
|
6321
|
-
* @memberof EnvironmentVariableAllOf
|
|
6322
|
-
*/
|
|
6323
|
-
'service_name'?: string;
|
|
6207
|
+
'value': string;
|
|
6324
6208
|
/**
|
|
6325
6209
|
*
|
|
6326
|
-
* @type {
|
|
6327
|
-
* @memberof
|
|
6210
|
+
* @type {APIVariableScopeEnum}
|
|
6211
|
+
* @memberof EnvironmentVariableAlias
|
|
6328
6212
|
*/
|
|
6329
|
-
'
|
|
6213
|
+
'scope': APIVariableScopeEnum;
|
|
6330
6214
|
}
|
|
6331
6215
|
/**
|
|
6332
6216
|
*
|
|
6333
6217
|
* @export
|
|
6334
|
-
* @interface
|
|
6218
|
+
* @interface EnvironmentVariableAllOf
|
|
6335
6219
|
*/
|
|
6336
|
-
export interface
|
|
6337
|
-
/**
|
|
6338
|
-
*
|
|
6339
|
-
* @type {string}
|
|
6340
|
-
* @memberof EnvironmentVariableAllOfAliasedVariable
|
|
6341
|
-
*/
|
|
6342
|
-
'id'?: string;
|
|
6343
|
-
/**
|
|
6344
|
-
*
|
|
6345
|
-
* @type {string}
|
|
6346
|
-
* @memberof EnvironmentVariableAllOfAliasedVariable
|
|
6347
|
-
*/
|
|
6348
|
-
'key'?: string;
|
|
6220
|
+
export interface EnvironmentVariableAllOf {
|
|
6349
6221
|
/**
|
|
6350
6222
|
*
|
|
6351
|
-
* @type {
|
|
6352
|
-
* @memberof
|
|
6223
|
+
* @type {EnvironmentVariableOverride}
|
|
6224
|
+
* @memberof EnvironmentVariableAllOf
|
|
6353
6225
|
*/
|
|
6354
|
-
'
|
|
6226
|
+
'overridden_variable'?: EnvironmentVariableOverride;
|
|
6355
6227
|
/**
|
|
6356
6228
|
*
|
|
6357
|
-
* @type {
|
|
6358
|
-
* @memberof
|
|
6229
|
+
* @type {EnvironmentVariableAlias}
|
|
6230
|
+
* @memberof EnvironmentVariableAllOf
|
|
6359
6231
|
*/
|
|
6360
|
-
'
|
|
6361
|
-
}
|
|
6362
|
-
/**
|
|
6363
|
-
*
|
|
6364
|
-
* @export
|
|
6365
|
-
* @interface EnvironmentVariableAllOfOverriddenVariable
|
|
6366
|
-
*/
|
|
6367
|
-
export interface EnvironmentVariableAllOfOverriddenVariable {
|
|
6232
|
+
'aliased_variable'?: EnvironmentVariableAlias;
|
|
6368
6233
|
/**
|
|
6369
6234
|
*
|
|
6370
|
-
* @type {
|
|
6371
|
-
* @memberof
|
|
6235
|
+
* @type {APIVariableScopeEnum}
|
|
6236
|
+
* @memberof EnvironmentVariableAllOf
|
|
6372
6237
|
*/
|
|
6373
|
-
'
|
|
6238
|
+
'scope': APIVariableScopeEnum;
|
|
6374
6239
|
/**
|
|
6375
|
-
*
|
|
6240
|
+
* present only for `BUILT_IN` variable
|
|
6376
6241
|
* @type {string}
|
|
6377
|
-
* @memberof
|
|
6242
|
+
* @memberof EnvironmentVariableAllOf
|
|
6378
6243
|
*/
|
|
6379
|
-
'
|
|
6244
|
+
'service_id'?: string;
|
|
6380
6245
|
/**
|
|
6381
|
-
*
|
|
6246
|
+
* present only for `BUILT_IN` variable
|
|
6382
6247
|
* @type {string}
|
|
6383
|
-
* @memberof
|
|
6248
|
+
* @memberof EnvironmentVariableAllOf
|
|
6384
6249
|
*/
|
|
6385
|
-
'
|
|
6250
|
+
'service_name'?: string;
|
|
6386
6251
|
/**
|
|
6387
6252
|
*
|
|
6388
|
-
* @type {
|
|
6389
|
-
* @memberof
|
|
6253
|
+
* @type {LinkedServiceTypeEnum}
|
|
6254
|
+
* @memberof EnvironmentVariableAllOf
|
|
6390
6255
|
*/
|
|
6391
|
-
'
|
|
6256
|
+
'service_type'?: LinkedServiceTypeEnum;
|
|
6392
6257
|
}
|
|
6393
6258
|
/**
|
|
6394
6259
|
*
|
|
@@ -6409,6 +6274,37 @@ export interface EnvironmentVariableEditRequest {
|
|
|
6409
6274
|
*/
|
|
6410
6275
|
'value': string;
|
|
6411
6276
|
}
|
|
6277
|
+
/**
|
|
6278
|
+
*
|
|
6279
|
+
* @export
|
|
6280
|
+
* @interface EnvironmentVariableOverride
|
|
6281
|
+
*/
|
|
6282
|
+
export interface EnvironmentVariableOverride {
|
|
6283
|
+
/**
|
|
6284
|
+
*
|
|
6285
|
+
* @type {string}
|
|
6286
|
+
* @memberof EnvironmentVariableOverride
|
|
6287
|
+
*/
|
|
6288
|
+
'id': string;
|
|
6289
|
+
/**
|
|
6290
|
+
*
|
|
6291
|
+
* @type {string}
|
|
6292
|
+
* @memberof EnvironmentVariableOverride
|
|
6293
|
+
*/
|
|
6294
|
+
'key': string;
|
|
6295
|
+
/**
|
|
6296
|
+
*
|
|
6297
|
+
* @type {string}
|
|
6298
|
+
* @memberof EnvironmentVariableOverride
|
|
6299
|
+
*/
|
|
6300
|
+
'value': string;
|
|
6301
|
+
/**
|
|
6302
|
+
*
|
|
6303
|
+
* @type {APIVariableScopeEnum}
|
|
6304
|
+
* @memberof EnvironmentVariableOverride
|
|
6305
|
+
*/
|
|
6306
|
+
'scope': APIVariableScopeEnum;
|
|
6307
|
+
}
|
|
6412
6308
|
/**
|
|
6413
6309
|
*
|
|
6414
6310
|
* @export
|
|
@@ -6441,20 +6337,6 @@ export interface EnvironmentVariableResponseList {
|
|
|
6441
6337
|
*/
|
|
6442
6338
|
'results'?: Array<EnvironmentVariable>;
|
|
6443
6339
|
}
|
|
6444
|
-
/**
|
|
6445
|
-
*
|
|
6446
|
-
* @export
|
|
6447
|
-
* @enum {string}
|
|
6448
|
-
*/
|
|
6449
|
-
|
|
6450
|
-
export enum EnvironmentVariableScopeEnum {
|
|
6451
|
-
APPLICATION = 'APPLICATION',
|
|
6452
|
-
BUILT_IN = 'BUILT_IN',
|
|
6453
|
-
ENVIRONMENT = 'ENVIRONMENT',
|
|
6454
|
-
PROJECT = 'PROJECT',
|
|
6455
|
-
CONTAINER = 'CONTAINER'
|
|
6456
|
-
}
|
|
6457
|
-
|
|
6458
6340
|
/**
|
|
6459
6341
|
*
|
|
6460
6342
|
* @export
|
|
@@ -6810,67 +6692,35 @@ export interface InlineObject {
|
|
|
6810
6692
|
* @interface InlineObject1
|
|
6811
6693
|
*/
|
|
6812
6694
|
export interface InlineObject1 {
|
|
6813
|
-
/**
|
|
6814
|
-
* Configure the number of seconds before cleaning images in the registry
|
|
6815
|
-
* @type {number}
|
|
6816
|
-
* @memberof InlineObject1
|
|
6817
|
-
*/
|
|
6818
|
-
'registry.image_retention_time'?: number;
|
|
6819
|
-
/**
|
|
6820
|
-
* Select the size of the main load_balancer (only effective for Scaleway)
|
|
6821
|
-
* @type {string}
|
|
6822
|
-
* @memberof InlineObject1
|
|
6823
|
-
*/
|
|
6824
|
-
'load_balancer.size'?: string;
|
|
6825
|
-
/**
|
|
6826
|
-
*
|
|
6827
|
-
* @type {number}
|
|
6828
|
-
* @memberof InlineObject1
|
|
6829
|
-
* @deprecated
|
|
6830
|
-
*/
|
|
6831
|
-
'pleco.resources_ttl'?: number;
|
|
6832
|
-
/**
|
|
6833
|
-
* For how long in week loki is going to keep logs of your applications
|
|
6834
|
-
* @type {number}
|
|
6835
|
-
* @memberof InlineObject1
|
|
6836
|
-
*/
|
|
6837
|
-
'loki.log_retention_in_week'?: number;
|
|
6838
|
-
}
|
|
6839
|
-
/**
|
|
6840
|
-
*
|
|
6841
|
-
* @export
|
|
6842
|
-
* @interface InlineObject2
|
|
6843
|
-
*/
|
|
6844
|
-
export interface InlineObject2 {
|
|
6845
6695
|
/**
|
|
6846
6696
|
* the container image name to deploy
|
|
6847
6697
|
* @type {string}
|
|
6848
|
-
* @memberof
|
|
6698
|
+
* @memberof InlineObject1
|
|
6849
6699
|
*/
|
|
6850
6700
|
'image_name'?: string;
|
|
6851
6701
|
/**
|
|
6852
6702
|
* the new tag to deploy
|
|
6853
6703
|
* @type {string}
|
|
6854
|
-
* @memberof
|
|
6704
|
+
* @memberof InlineObject1
|
|
6855
6705
|
*/
|
|
6856
6706
|
'tag'?: string;
|
|
6857
6707
|
}
|
|
6858
6708
|
/**
|
|
6859
6709
|
*
|
|
6860
6710
|
* @export
|
|
6861
|
-
* @interface
|
|
6711
|
+
* @interface InlineObject2
|
|
6862
6712
|
*/
|
|
6863
|
-
export interface
|
|
6713
|
+
export interface InlineObject2 {
|
|
6864
6714
|
/**
|
|
6865
6715
|
* the container image name to trigger preview environment
|
|
6866
6716
|
* @type {string}
|
|
6867
|
-
* @memberof
|
|
6717
|
+
* @memberof InlineObject2
|
|
6868
6718
|
*/
|
|
6869
6719
|
'image_name'?: string;
|
|
6870
6720
|
/**
|
|
6871
6721
|
* the tag to be used in the preview environment
|
|
6872
6722
|
* @type {string}
|
|
6873
|
-
* @memberof
|
|
6723
|
+
* @memberof InlineObject2
|
|
6874
6724
|
*/
|
|
6875
6725
|
'tag'?: string;
|
|
6876
6726
|
}
|
|
@@ -8702,31 +8552,6 @@ export interface OrganizationWebhookResponseList {
|
|
|
8702
8552
|
*/
|
|
8703
8553
|
'results'?: Array<OrganizationWebhookResponse>;
|
|
8704
8554
|
}
|
|
8705
|
-
/**
|
|
8706
|
-
*
|
|
8707
|
-
* @export
|
|
8708
|
-
* @interface OverriddenSecret
|
|
8709
|
-
*/
|
|
8710
|
-
export interface OverriddenSecret {
|
|
8711
|
-
/**
|
|
8712
|
-
*
|
|
8713
|
-
* @type {string}
|
|
8714
|
-
* @memberof OverriddenSecret
|
|
8715
|
-
*/
|
|
8716
|
-
'id'?: string;
|
|
8717
|
-
/**
|
|
8718
|
-
*
|
|
8719
|
-
* @type {string}
|
|
8720
|
-
* @memberof OverriddenSecret
|
|
8721
|
-
*/
|
|
8722
|
-
'key'?: string;
|
|
8723
|
-
/**
|
|
8724
|
-
*
|
|
8725
|
-
* @type {EnvironmentVariableScopeEnum}
|
|
8726
|
-
* @memberof OverriddenSecret
|
|
8727
|
-
*/
|
|
8728
|
-
'scope'?: EnvironmentVariableScopeEnum;
|
|
8729
|
-
}
|
|
8730
8555
|
/**
|
|
8731
8556
|
*
|
|
8732
8557
|
* @export
|
|
@@ -9279,13 +9104,13 @@ export interface ReferenceObjectStatus {
|
|
|
9279
9104
|
* @type {string}
|
|
9280
9105
|
* @memberof ReferenceObjectStatus
|
|
9281
9106
|
*/
|
|
9282
|
-
'message'?: string
|
|
9107
|
+
'message'?: string;
|
|
9283
9108
|
/**
|
|
9284
9109
|
*
|
|
9285
9110
|
* @type {ServiceDeploymentStatusEnum}
|
|
9286
9111
|
* @memberof ReferenceObjectStatus
|
|
9287
9112
|
*/
|
|
9288
|
-
'service_deployment_status'
|
|
9113
|
+
'service_deployment_status': ServiceDeploymentStatusEnum;
|
|
9289
9114
|
/**
|
|
9290
9115
|
*
|
|
9291
9116
|
* @type {string}
|
|
@@ -9438,25 +9263,25 @@ export interface Secret {
|
|
|
9438
9263
|
* @type {string}
|
|
9439
9264
|
* @memberof Secret
|
|
9440
9265
|
*/
|
|
9441
|
-
'key'
|
|
9266
|
+
'key': string;
|
|
9442
9267
|
/**
|
|
9443
9268
|
*
|
|
9444
|
-
* @type {
|
|
9269
|
+
* @type {SecretOverride}
|
|
9445
9270
|
* @memberof Secret
|
|
9446
9271
|
*/
|
|
9447
|
-
'overridden_secret'?:
|
|
9272
|
+
'overridden_secret'?: SecretOverride;
|
|
9448
9273
|
/**
|
|
9449
9274
|
*
|
|
9450
|
-
* @type {
|
|
9275
|
+
* @type {SecretAlias}
|
|
9451
9276
|
* @memberof Secret
|
|
9452
9277
|
*/
|
|
9453
|
-
'aliased_secret'?:
|
|
9278
|
+
'aliased_secret'?: SecretAlias;
|
|
9454
9279
|
/**
|
|
9455
9280
|
*
|
|
9456
|
-
* @type {
|
|
9281
|
+
* @type {APIVariableScopeEnum}
|
|
9457
9282
|
* @memberof Secret
|
|
9458
9283
|
*/
|
|
9459
|
-
'scope':
|
|
9284
|
+
'scope': APIVariableScopeEnum;
|
|
9460
9285
|
/**
|
|
9461
9286
|
* present only for `BUILT_IN` variable
|
|
9462
9287
|
* @type {string}
|
|
@@ -9476,6 +9301,31 @@ export interface Secret {
|
|
|
9476
9301
|
*/
|
|
9477
9302
|
'service_type'?: LinkedServiceTypeEnum;
|
|
9478
9303
|
}
|
|
9304
|
+
/**
|
|
9305
|
+
*
|
|
9306
|
+
* @export
|
|
9307
|
+
* @interface SecretAlias
|
|
9308
|
+
*/
|
|
9309
|
+
export interface SecretAlias {
|
|
9310
|
+
/**
|
|
9311
|
+
*
|
|
9312
|
+
* @type {string}
|
|
9313
|
+
* @memberof SecretAlias
|
|
9314
|
+
*/
|
|
9315
|
+
'id': string;
|
|
9316
|
+
/**
|
|
9317
|
+
*
|
|
9318
|
+
* @type {string}
|
|
9319
|
+
* @memberof SecretAlias
|
|
9320
|
+
*/
|
|
9321
|
+
'key': string;
|
|
9322
|
+
/**
|
|
9323
|
+
*
|
|
9324
|
+
* @type {APIVariableScopeEnum}
|
|
9325
|
+
* @memberof SecretAlias
|
|
9326
|
+
*/
|
|
9327
|
+
'scope': APIVariableScopeEnum;
|
|
9328
|
+
}
|
|
9479
9329
|
/**
|
|
9480
9330
|
*
|
|
9481
9331
|
* @export
|
|
@@ -9487,25 +9337,25 @@ export interface SecretAllOf {
|
|
|
9487
9337
|
* @type {string}
|
|
9488
9338
|
* @memberof SecretAllOf
|
|
9489
9339
|
*/
|
|
9490
|
-
'key'
|
|
9340
|
+
'key': string;
|
|
9491
9341
|
/**
|
|
9492
9342
|
*
|
|
9493
|
-
* @type {
|
|
9343
|
+
* @type {SecretOverride}
|
|
9494
9344
|
* @memberof SecretAllOf
|
|
9495
9345
|
*/
|
|
9496
|
-
'overridden_secret'?:
|
|
9346
|
+
'overridden_secret'?: SecretOverride;
|
|
9497
9347
|
/**
|
|
9498
9348
|
*
|
|
9499
|
-
* @type {
|
|
9349
|
+
* @type {SecretAlias}
|
|
9500
9350
|
* @memberof SecretAllOf
|
|
9501
9351
|
*/
|
|
9502
|
-
'aliased_secret'?:
|
|
9352
|
+
'aliased_secret'?: SecretAlias;
|
|
9503
9353
|
/**
|
|
9504
9354
|
*
|
|
9505
|
-
* @type {
|
|
9355
|
+
* @type {APIVariableScopeEnum}
|
|
9506
9356
|
* @memberof SecretAllOf
|
|
9507
9357
|
*/
|
|
9508
|
-
'scope':
|
|
9358
|
+
'scope': APIVariableScopeEnum;
|
|
9509
9359
|
/**
|
|
9510
9360
|
* present only for `BUILT_IN` variable
|
|
9511
9361
|
* @type {string}
|
|
@@ -9536,13 +9386,38 @@ export interface SecretEditRequest {
|
|
|
9536
9386
|
* @type {string}
|
|
9537
9387
|
* @memberof SecretEditRequest
|
|
9538
9388
|
*/
|
|
9539
|
-
'value'
|
|
9389
|
+
'value': string;
|
|
9540
9390
|
/**
|
|
9541
9391
|
*
|
|
9542
9392
|
* @type {string}
|
|
9543
9393
|
* @memberof SecretEditRequest
|
|
9544
9394
|
*/
|
|
9545
|
-
'key'
|
|
9395
|
+
'key': string;
|
|
9396
|
+
}
|
|
9397
|
+
/**
|
|
9398
|
+
*
|
|
9399
|
+
* @export
|
|
9400
|
+
* @interface SecretOverride
|
|
9401
|
+
*/
|
|
9402
|
+
export interface SecretOverride {
|
|
9403
|
+
/**
|
|
9404
|
+
*
|
|
9405
|
+
* @type {string}
|
|
9406
|
+
* @memberof SecretOverride
|
|
9407
|
+
*/
|
|
9408
|
+
'id': string;
|
|
9409
|
+
/**
|
|
9410
|
+
*
|
|
9411
|
+
* @type {string}
|
|
9412
|
+
* @memberof SecretOverride
|
|
9413
|
+
*/
|
|
9414
|
+
'key': string;
|
|
9415
|
+
/**
|
|
9416
|
+
*
|
|
9417
|
+
* @type {APIVariableScopeEnum}
|
|
9418
|
+
* @memberof SecretOverride
|
|
9419
|
+
*/
|
|
9420
|
+
'scope': APIVariableScopeEnum;
|
|
9546
9421
|
}
|
|
9547
9422
|
/**
|
|
9548
9423
|
*
|
|
@@ -9728,55 +9603,48 @@ export enum ServiceDeploymentStatusEnum {
|
|
|
9728
9603
|
* @interface ServicePort
|
|
9729
9604
|
*/
|
|
9730
9605
|
export interface ServicePort {
|
|
9731
|
-
/**
|
|
9732
|
-
*
|
|
9733
|
-
* @type {Array<ServicePortPorts>}
|
|
9734
|
-
* @memberof ServicePort
|
|
9735
|
-
*/
|
|
9736
|
-
'ports'?: Array<ServicePortPorts>;
|
|
9737
|
-
}
|
|
9738
|
-
/**
|
|
9739
|
-
*
|
|
9740
|
-
* @export
|
|
9741
|
-
* @interface ServicePortPorts
|
|
9742
|
-
*/
|
|
9743
|
-
export interface ServicePortPorts {
|
|
9744
9606
|
/**
|
|
9745
9607
|
*
|
|
9746
9608
|
* @type {string}
|
|
9747
|
-
* @memberof
|
|
9609
|
+
* @memberof ServicePort
|
|
9748
9610
|
*/
|
|
9749
|
-
'id'
|
|
9611
|
+
'id': string;
|
|
9750
9612
|
/**
|
|
9751
9613
|
*
|
|
9752
9614
|
* @type {string}
|
|
9753
|
-
* @memberof
|
|
9615
|
+
* @memberof ServicePort
|
|
9754
9616
|
*/
|
|
9755
|
-
'name'?: string
|
|
9617
|
+
'name'?: string;
|
|
9756
9618
|
/**
|
|
9757
9619
|
* The listening port of your service.
|
|
9758
9620
|
* @type {number}
|
|
9759
|
-
* @memberof
|
|
9621
|
+
* @memberof ServicePort
|
|
9760
9622
|
*/
|
|
9761
9623
|
'internal_port': number;
|
|
9762
9624
|
/**
|
|
9763
9625
|
* The exposed port for your service. This is optional. If not set a default port will be used.
|
|
9764
9626
|
* @type {number}
|
|
9765
|
-
* @memberof
|
|
9627
|
+
* @memberof ServicePort
|
|
9766
9628
|
*/
|
|
9767
9629
|
'external_port'?: number;
|
|
9768
9630
|
/**
|
|
9769
9631
|
* Expose the port to the world
|
|
9770
9632
|
* @type {boolean}
|
|
9771
|
-
* @memberof
|
|
9633
|
+
* @memberof ServicePort
|
|
9772
9634
|
*/
|
|
9773
9635
|
'publicly_accessible': boolean;
|
|
9636
|
+
/**
|
|
9637
|
+
* is the default port to use for domain & probes check
|
|
9638
|
+
* @type {boolean}
|
|
9639
|
+
* @memberof ServicePort
|
|
9640
|
+
*/
|
|
9641
|
+
'is_default'?: boolean;
|
|
9774
9642
|
/**
|
|
9775
9643
|
*
|
|
9776
9644
|
* @type {PortProtocolEnum}
|
|
9777
|
-
* @memberof
|
|
9645
|
+
* @memberof ServicePort
|
|
9778
9646
|
*/
|
|
9779
|
-
'protocol'
|
|
9647
|
+
'protocol': PortProtocolEnum;
|
|
9780
9648
|
}
|
|
9781
9649
|
/**
|
|
9782
9650
|
*
|
|
@@ -9802,7 +9670,7 @@ export interface ServicePortRequestPorts {
|
|
|
9802
9670
|
* @type {string}
|
|
9803
9671
|
* @memberof ServicePortRequestPorts
|
|
9804
9672
|
*/
|
|
9805
|
-
'name'?: string
|
|
9673
|
+
'name'?: string;
|
|
9806
9674
|
/**
|
|
9807
9675
|
* The listening port of your service.
|
|
9808
9676
|
* @type {number}
|
|
@@ -9821,6 +9689,12 @@ export interface ServicePortRequestPorts {
|
|
|
9821
9689
|
* @memberof ServicePortRequestPorts
|
|
9822
9690
|
*/
|
|
9823
9691
|
'publicly_accessible': boolean;
|
|
9692
|
+
/**
|
|
9693
|
+
* is the default port to use for domain & probes check
|
|
9694
|
+
* @type {boolean}
|
|
9695
|
+
* @memberof ServicePortRequestPorts
|
|
9696
|
+
*/
|
|
9697
|
+
'is_default'?: boolean;
|
|
9824
9698
|
/**
|
|
9825
9699
|
*
|
|
9826
9700
|
* @type {PortProtocolEnum}
|
|
@@ -9828,6 +9702,19 @@ export interface ServicePortRequestPorts {
|
|
|
9828
9702
|
*/
|
|
9829
9703
|
'protocol'?: PortProtocolEnum;
|
|
9830
9704
|
}
|
|
9705
|
+
/**
|
|
9706
|
+
*
|
|
9707
|
+
* @export
|
|
9708
|
+
* @interface ServicePortResponseList
|
|
9709
|
+
*/
|
|
9710
|
+
export interface ServicePortResponseList {
|
|
9711
|
+
/**
|
|
9712
|
+
*
|
|
9713
|
+
* @type {Array<ServicePort>}
|
|
9714
|
+
* @memberof ServicePortResponseList
|
|
9715
|
+
*/
|
|
9716
|
+
'results'?: Array<ServicePort>;
|
|
9717
|
+
}
|
|
9831
9718
|
/**
|
|
9832
9719
|
*
|
|
9833
9720
|
* @export
|
|
@@ -9841,6 +9728,19 @@ export interface ServiceResponseList {
|
|
|
9841
9728
|
*/
|
|
9842
9729
|
'results'?: Array<Service>;
|
|
9843
9730
|
}
|
|
9731
|
+
/**
|
|
9732
|
+
*
|
|
9733
|
+
* @export
|
|
9734
|
+
* @interface ServiceStorage
|
|
9735
|
+
*/
|
|
9736
|
+
export interface ServiceStorage {
|
|
9737
|
+
/**
|
|
9738
|
+
*
|
|
9739
|
+
* @type {Array<ServiceStorageStorage>}
|
|
9740
|
+
* @memberof ServiceStorage
|
|
9741
|
+
*/
|
|
9742
|
+
'storage'?: Array<ServiceStorageStorage>;
|
|
9743
|
+
}
|
|
9844
9744
|
/**
|
|
9845
9745
|
*
|
|
9846
9746
|
* @export
|
|
@@ -9860,6 +9760,12 @@ export interface ServiceStorageRequest {
|
|
|
9860
9760
|
* @interface ServiceStorageRequestStorage
|
|
9861
9761
|
*/
|
|
9862
9762
|
export interface ServiceStorageRequestStorage {
|
|
9763
|
+
/**
|
|
9764
|
+
*
|
|
9765
|
+
* @type {string}
|
|
9766
|
+
* @memberof ServiceStorageRequestStorage
|
|
9767
|
+
*/
|
|
9768
|
+
'id'?: string;
|
|
9863
9769
|
/**
|
|
9864
9770
|
*
|
|
9865
9771
|
* @type {StorageTypeEnum}
|
|
@@ -9879,6 +9785,37 @@ export interface ServiceStorageRequestStorage {
|
|
|
9879
9785
|
*/
|
|
9880
9786
|
'mount_point': string;
|
|
9881
9787
|
}
|
|
9788
|
+
/**
|
|
9789
|
+
*
|
|
9790
|
+
* @export
|
|
9791
|
+
* @interface ServiceStorageStorage
|
|
9792
|
+
*/
|
|
9793
|
+
export interface ServiceStorageStorage {
|
|
9794
|
+
/**
|
|
9795
|
+
*
|
|
9796
|
+
* @type {string}
|
|
9797
|
+
* @memberof ServiceStorageStorage
|
|
9798
|
+
*/
|
|
9799
|
+
'id': string;
|
|
9800
|
+
/**
|
|
9801
|
+
*
|
|
9802
|
+
* @type {StorageTypeEnum}
|
|
9803
|
+
* @memberof ServiceStorageStorage
|
|
9804
|
+
*/
|
|
9805
|
+
'type': StorageTypeEnum;
|
|
9806
|
+
/**
|
|
9807
|
+
* unit is GB
|
|
9808
|
+
* @type {number}
|
|
9809
|
+
* @memberof ServiceStorageStorage
|
|
9810
|
+
*/
|
|
9811
|
+
'size': number;
|
|
9812
|
+
/**
|
|
9813
|
+
*
|
|
9814
|
+
* @type {string}
|
|
9815
|
+
* @memberof ServiceStorageStorage
|
|
9816
|
+
*/
|
|
9817
|
+
'mount_point': string;
|
|
9818
|
+
}
|
|
9882
9819
|
/**
|
|
9883
9820
|
*
|
|
9884
9821
|
* @export
|
|
@@ -10117,7 +10054,7 @@ export interface Status {
|
|
|
10117
10054
|
* @type {string}
|
|
10118
10055
|
* @memberof Status
|
|
10119
10056
|
*/
|
|
10120
|
-
'id'
|
|
10057
|
+
'id': string;
|
|
10121
10058
|
/**
|
|
10122
10059
|
*
|
|
10123
10060
|
* @type {StateEnum}
|
|
@@ -10129,13 +10066,13 @@ export interface Status {
|
|
|
10129
10066
|
* @type {string}
|
|
10130
10067
|
* @memberof Status
|
|
10131
10068
|
*/
|
|
10132
|
-
'message'?: string
|
|
10069
|
+
'message'?: string;
|
|
10133
10070
|
/**
|
|
10134
10071
|
*
|
|
10135
10072
|
* @type {ServiceDeploymentStatusEnum}
|
|
10136
10073
|
* @memberof Status
|
|
10137
10074
|
*/
|
|
10138
|
-
'service_deployment_status'
|
|
10075
|
+
'service_deployment_status': ServiceDeploymentStatusEnum;
|
|
10139
10076
|
/**
|
|
10140
10077
|
*
|
|
10141
10078
|
* @type {string}
|
|
@@ -10471,10 +10408,10 @@ export interface VariableImportRequestVars {
|
|
|
10471
10408
|
'value': string;
|
|
10472
10409
|
/**
|
|
10473
10410
|
*
|
|
10474
|
-
* @type {
|
|
10411
|
+
* @type {APIVariableScopeEnum}
|
|
10475
10412
|
* @memberof VariableImportRequestVars
|
|
10476
10413
|
*/
|
|
10477
|
-
'scope':
|
|
10414
|
+
'scope': APIVariableScopeEnum;
|
|
10478
10415
|
/**
|
|
10479
10416
|
*
|
|
10480
10417
|
* @type {boolean}
|
|
@@ -10502,10 +10439,10 @@ export interface VariableImportSuccessfulImportedVariables {
|
|
|
10502
10439
|
'value'?: string;
|
|
10503
10440
|
/**
|
|
10504
10441
|
*
|
|
10505
|
-
* @type {
|
|
10442
|
+
* @type {APIVariableScopeEnum}
|
|
10506
10443
|
* @memberof VariableImportSuccessfulImportedVariables
|
|
10507
10444
|
*/
|
|
10508
|
-
'scope':
|
|
10445
|
+
'scope': APIVariableScopeEnum;
|
|
10509
10446
|
/**
|
|
10510
10447
|
*
|
|
10511
10448
|
* @type {boolean}
|
|
@@ -14599,52 +14536,6 @@ export const ApplicationSecretApiAxiosParamCreator = function (configuration?: C
|
|
|
14599
14536
|
|
|
14600
14537
|
|
|
14601
14538
|
|
|
14602
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14603
|
-
|
|
14604
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14605
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14606
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14607
|
-
localVarRequestOptions.data = serializeDataIfNeeded(value, localVarRequestOptions, configuration)
|
|
14608
|
-
|
|
14609
|
-
return {
|
|
14610
|
-
url: toPathString(localVarUrlObj),
|
|
14611
|
-
options: localVarRequestOptions,
|
|
14612
|
-
};
|
|
14613
|
-
},
|
|
14614
|
-
/**
|
|
14615
|
-
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
14616
|
-
* @summary Create a secret override at the container level
|
|
14617
|
-
* @param {string} containerId Container ID
|
|
14618
|
-
* @param {string} secretId Secret ID
|
|
14619
|
-
* @param {Value} [value]
|
|
14620
|
-
* @param {*} [options] Override http request option.
|
|
14621
|
-
* @throws {RequiredError}
|
|
14622
|
-
*/
|
|
14623
|
-
createContainerSecretOverride: async (containerId: string, secretId: string, value?: Value, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14624
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
14625
|
-
assertParamExists('createContainerSecretOverride', 'containerId', containerId)
|
|
14626
|
-
// verify required parameter 'secretId' is not null or undefined
|
|
14627
|
-
assertParamExists('createContainerSecretOverride', 'secretId', secretId)
|
|
14628
|
-
const localVarPath = `/container/{containerId}/secret/{secretId}/override`
|
|
14629
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
|
|
14630
|
-
.replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
|
|
14631
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14632
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14633
|
-
let baseOptions;
|
|
14634
|
-
if (configuration) {
|
|
14635
|
-
baseOptions = configuration.baseOptions;
|
|
14636
|
-
}
|
|
14637
|
-
|
|
14638
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14639
|
-
const localVarHeaderParameter = {} as any;
|
|
14640
|
-
const localVarQueryParameter = {} as any;
|
|
14641
|
-
|
|
14642
|
-
// authentication bearerAuth required
|
|
14643
|
-
// http bearer authentication required
|
|
14644
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14645
|
-
|
|
14646
|
-
|
|
14647
|
-
|
|
14648
14539
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14649
14540
|
|
|
14650
14541
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -14833,19 +14724,6 @@ export const ApplicationSecretApiFp = function(configuration?: Configuration) {
|
|
|
14833
14724
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createApplicationSecretOverride(applicationId, secretId, value, options);
|
|
14834
14725
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14835
14726
|
},
|
|
14836
|
-
/**
|
|
14837
|
-
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
14838
|
-
* @summary Create a secret override at the container level
|
|
14839
|
-
* @param {string} containerId Container ID
|
|
14840
|
-
* @param {string} secretId Secret ID
|
|
14841
|
-
* @param {Value} [value]
|
|
14842
|
-
* @param {*} [options] Override http request option.
|
|
14843
|
-
* @throws {RequiredError}
|
|
14844
|
-
*/
|
|
14845
|
-
async createContainerSecretOverride(containerId: string, secretId: string, value?: Value, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
14846
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createContainerSecretOverride(containerId, secretId, value, options);
|
|
14847
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
14848
|
-
},
|
|
14849
14727
|
/**
|
|
14850
14728
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
14851
14729
|
* @summary Delete a secret from an application
|
|
@@ -14927,18 +14805,6 @@ export const ApplicationSecretApiFactory = function (configuration?: Configurati
|
|
|
14927
14805
|
createApplicationSecretOverride(applicationId: string, secretId: string, value?: Value, options?: any): AxiosPromise<Secret> {
|
|
14928
14806
|
return localVarFp.createApplicationSecretOverride(applicationId, secretId, value, options).then((request) => request(axios, basePath));
|
|
14929
14807
|
},
|
|
14930
|
-
/**
|
|
14931
|
-
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
14932
|
-
* @summary Create a secret override at the container level
|
|
14933
|
-
* @param {string} containerId Container ID
|
|
14934
|
-
* @param {string} secretId Secret ID
|
|
14935
|
-
* @param {Value} [value]
|
|
14936
|
-
* @param {*} [options] Override http request option.
|
|
14937
|
-
* @throws {RequiredError}
|
|
14938
|
-
*/
|
|
14939
|
-
createContainerSecretOverride(containerId: string, secretId: string, value?: Value, options?: any): AxiosPromise<Secret> {
|
|
14940
|
-
return localVarFp.createContainerSecretOverride(containerId, secretId, value, options).then((request) => request(axios, basePath));
|
|
14941
|
-
},
|
|
14942
14808
|
/**
|
|
14943
14809
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
14944
14810
|
* @summary Delete a secret from an application
|
|
@@ -15023,20 +14889,6 @@ export class ApplicationSecretApi extends BaseAPI {
|
|
|
15023
14889
|
return ApplicationSecretApiFp(this.configuration).createApplicationSecretOverride(applicationId, secretId, value, options).then((request) => request(this.axios, this.basePath));
|
|
15024
14890
|
}
|
|
15025
14891
|
|
|
15026
|
-
/**
|
|
15027
|
-
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
15028
|
-
* @summary Create a secret override at the container level
|
|
15029
|
-
* @param {string} containerId Container ID
|
|
15030
|
-
* @param {string} secretId Secret ID
|
|
15031
|
-
* @param {Value} [value]
|
|
15032
|
-
* @param {*} [options] Override http request option.
|
|
15033
|
-
* @throws {RequiredError}
|
|
15034
|
-
* @memberof ApplicationSecretApi
|
|
15035
|
-
*/
|
|
15036
|
-
public createContainerSecretOverride(containerId: string, secretId: string, value?: Value, options?: AxiosRequestConfig) {
|
|
15037
|
-
return ApplicationSecretApiFp(this.configuration).createContainerSecretOverride(containerId, secretId, value, options).then((request) => request(this.axios, this.basePath));
|
|
15038
|
-
}
|
|
15039
|
-
|
|
15040
14892
|
/**
|
|
15041
14893
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
15042
14894
|
* @summary Delete a secret from an application
|
|
@@ -15156,48 +15008,6 @@ export const ApplicationsApiAxiosParamCreator = function (configuration?: Config
|
|
|
15156
15008
|
|
|
15157
15009
|
|
|
15158
15010
|
|
|
15159
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15160
|
-
|
|
15161
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15162
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15163
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15164
|
-
localVarRequestOptions.data = serializeDataIfNeeded(deployAllRequest, localVarRequestOptions, configuration)
|
|
15165
|
-
|
|
15166
|
-
return {
|
|
15167
|
-
url: toPathString(localVarUrlObj),
|
|
15168
|
-
options: localVarRequestOptions,
|
|
15169
|
-
};
|
|
15170
|
-
},
|
|
15171
|
-
/**
|
|
15172
|
-
* Update and deploy the selected services
|
|
15173
|
-
* @summary Deploy services
|
|
15174
|
-
* @param {string} environmentId Environment ID
|
|
15175
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
15176
|
-
* @param {*} [options] Override http request option.
|
|
15177
|
-
* @throws {RequiredError}
|
|
15178
|
-
*/
|
|
15179
|
-
deployAllServices: async (environmentId: string, deployAllRequest?: DeployAllRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15180
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
15181
|
-
assertParamExists('deployAllServices', 'environmentId', environmentId)
|
|
15182
|
-
const localVarPath = `/environment/{environmentId}/container/deploy`
|
|
15183
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
15184
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15185
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15186
|
-
let baseOptions;
|
|
15187
|
-
if (configuration) {
|
|
15188
|
-
baseOptions = configuration.baseOptions;
|
|
15189
|
-
}
|
|
15190
|
-
|
|
15191
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15192
|
-
const localVarHeaderParameter = {} as any;
|
|
15193
|
-
const localVarQueryParameter = {} as any;
|
|
15194
|
-
|
|
15195
|
-
// authentication bearerAuth required
|
|
15196
|
-
// http bearer authentication required
|
|
15197
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15198
|
-
|
|
15199
|
-
|
|
15200
|
-
|
|
15201
15011
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15202
15012
|
|
|
15203
15013
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15468,18 +15278,6 @@ export const ApplicationsApiFp = function(configuration?: Configuration) {
|
|
|
15468
15278
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllApplications(environmentId, deployAllRequest, options);
|
|
15469
15279
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15470
15280
|
},
|
|
15471
|
-
/**
|
|
15472
|
-
* Update and deploy the selected services
|
|
15473
|
-
* @summary Deploy services
|
|
15474
|
-
* @param {string} environmentId Environment ID
|
|
15475
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
15476
|
-
* @param {*} [options] Override http request option.
|
|
15477
|
-
* @throws {RequiredError}
|
|
15478
|
-
*/
|
|
15479
|
-
async deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
15480
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllServices(environmentId, deployAllRequest, options);
|
|
15481
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
15482
|
-
},
|
|
15483
15281
|
/**
|
|
15484
15282
|
*
|
|
15485
15283
|
* @summary List default application advanced settings
|
|
@@ -15577,17 +15375,6 @@ export const ApplicationsApiFactory = function (configuration?: Configuration, b
|
|
|
15577
15375
|
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status> {
|
|
15578
15376
|
return localVarFp.deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
15579
15377
|
},
|
|
15580
|
-
/**
|
|
15581
|
-
* Update and deploy the selected services
|
|
15582
|
-
* @summary Deploy services
|
|
15583
|
-
* @param {string} environmentId Environment ID
|
|
15584
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
15585
|
-
* @param {*} [options] Override http request option.
|
|
15586
|
-
* @throws {RequiredError}
|
|
15587
|
-
*/
|
|
15588
|
-
deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status> {
|
|
15589
|
-
return localVarFp.deployAllServices(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
15590
|
-
},
|
|
15591
15378
|
/**
|
|
15592
15379
|
*
|
|
15593
15380
|
* @summary List default application advanced settings
|
|
@@ -15683,19 +15470,6 @@ export class ApplicationsApi extends BaseAPI {
|
|
|
15683
15470
|
return ApplicationsApiFp(this.configuration).deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15684
15471
|
}
|
|
15685
15472
|
|
|
15686
|
-
/**
|
|
15687
|
-
* Update and deploy the selected services
|
|
15688
|
-
* @summary Deploy services
|
|
15689
|
-
* @param {string} environmentId Environment ID
|
|
15690
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
15691
|
-
* @param {*} [options] Override http request option.
|
|
15692
|
-
* @throws {RequiredError}
|
|
15693
|
-
* @memberof ApplicationsApi
|
|
15694
|
-
*/
|
|
15695
|
-
public deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) {
|
|
15696
|
-
return ApplicationsApiFp(this.configuration).deployAllServices(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15697
|
-
}
|
|
15698
|
-
|
|
15699
15473
|
/**
|
|
15700
15474
|
*
|
|
15701
15475
|
* @summary List default application advanced settings
|
|
@@ -19199,11 +18973,11 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
19199
18973
|
* @summary Edit advanced settings
|
|
19200
18974
|
* @param {string} organizationId Organization ID
|
|
19201
18975
|
* @param {string} clusterId Cluster ID
|
|
19202
|
-
* @param {
|
|
18976
|
+
* @param {ClusterAdvancedSettings} [clusterAdvancedSettings]
|
|
19203
18977
|
* @param {*} [options] Override http request option.
|
|
19204
18978
|
* @throws {RequiredError}
|
|
19205
18979
|
*/
|
|
19206
|
-
editClusterAdvancedSettings: async (organizationId: string, clusterId: string,
|
|
18980
|
+
editClusterAdvancedSettings: async (organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19207
18981
|
// verify required parameter 'organizationId' is not null or undefined
|
|
19208
18982
|
assertParamExists('editClusterAdvancedSettings', 'organizationId', organizationId)
|
|
19209
18983
|
// verify required parameter 'clusterId' is not null or undefined
|
|
@@ -19233,7 +19007,7 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
19233
19007
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19234
19008
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19235
19009
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19236
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
19010
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clusterAdvancedSettings, localVarRequestOptions, configuration)
|
|
19237
19011
|
|
|
19238
19012
|
return {
|
|
19239
19013
|
url: toPathString(localVarUrlObj),
|
|
@@ -19808,12 +19582,12 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
19808
19582
|
* @summary Edit advanced settings
|
|
19809
19583
|
* @param {string} organizationId Organization ID
|
|
19810
19584
|
* @param {string} clusterId Cluster ID
|
|
19811
|
-
* @param {
|
|
19585
|
+
* @param {ClusterAdvancedSettings} [clusterAdvancedSettings]
|
|
19812
19586
|
* @param {*} [options] Override http request option.
|
|
19813
19587
|
* @throws {RequiredError}
|
|
19814
19588
|
*/
|
|
19815
|
-
async editClusterAdvancedSettings(organizationId: string, clusterId: string,
|
|
19816
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.editClusterAdvancedSettings(organizationId, clusterId,
|
|
19589
|
+
async editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>> {
|
|
19590
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options);
|
|
19817
19591
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19818
19592
|
},
|
|
19819
19593
|
/**
|
|
@@ -19837,7 +19611,7 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
19837
19611
|
* @param {*} [options] Override http request option.
|
|
19838
19612
|
* @throws {RequiredError}
|
|
19839
19613
|
*/
|
|
19840
|
-
async getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
19614
|
+
async getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>> {
|
|
19841
19615
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterAdvancedSettings(organizationId, clusterId, options);
|
|
19842
19616
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19843
19617
|
},
|
|
@@ -20020,12 +19794,12 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
20020
19794
|
* @summary Edit advanced settings
|
|
20021
19795
|
* @param {string} organizationId Organization ID
|
|
20022
19796
|
* @param {string} clusterId Cluster ID
|
|
20023
|
-
* @param {
|
|
19797
|
+
* @param {ClusterAdvancedSettings} [clusterAdvancedSettings]
|
|
20024
19798
|
* @param {*} [options] Override http request option.
|
|
20025
19799
|
* @throws {RequiredError}
|
|
20026
19800
|
*/
|
|
20027
|
-
editClusterAdvancedSettings(organizationId: string, clusterId: string,
|
|
20028
|
-
return localVarFp.editClusterAdvancedSettings(organizationId, clusterId,
|
|
19801
|
+
editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: any): AxiosPromise<ClusterAdvancedSettings> {
|
|
19802
|
+
return localVarFp.editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(axios, basePath));
|
|
20029
19803
|
},
|
|
20030
19804
|
/**
|
|
20031
19805
|
* Edit routing table by returning updated table.
|
|
@@ -20047,7 +19821,7 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
20047
19821
|
* @param {*} [options] Override http request option.
|
|
20048
19822
|
* @throws {RequiredError}
|
|
20049
19823
|
*/
|
|
20050
|
-
getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: any): AxiosPromise<
|
|
19824
|
+
getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterAdvancedSettings> {
|
|
20051
19825
|
return localVarFp.getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
20052
19826
|
},
|
|
20053
19827
|
/**
|
|
@@ -20227,13 +20001,13 @@ export class ClustersApi extends BaseAPI {
|
|
|
20227
20001
|
* @summary Edit advanced settings
|
|
20228
20002
|
* @param {string} organizationId Organization ID
|
|
20229
20003
|
* @param {string} clusterId Cluster ID
|
|
20230
|
-
* @param {
|
|
20004
|
+
* @param {ClusterAdvancedSettings} [clusterAdvancedSettings]
|
|
20231
20005
|
* @param {*} [options] Override http request option.
|
|
20232
20006
|
* @throws {RequiredError}
|
|
20233
20007
|
* @memberof ClustersApi
|
|
20234
20008
|
*/
|
|
20235
|
-
public editClusterAdvancedSettings(organizationId: string, clusterId: string,
|
|
20236
|
-
return ClustersApiFp(this.configuration).editClusterAdvancedSettings(organizationId, clusterId,
|
|
20009
|
+
public editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: AxiosRequestConfig) {
|
|
20010
|
+
return ClustersApiFp(this.configuration).editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(this.axios, this.basePath));
|
|
20237
20011
|
}
|
|
20238
20012
|
|
|
20239
20013
|
/**
|
|
@@ -22805,11 +22579,11 @@ export const ContainerMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
22805
22579
|
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
22806
22580
|
* @summary Edit container
|
|
22807
22581
|
* @param {string} containerId Container ID
|
|
22808
|
-
* @param {
|
|
22582
|
+
* @param {ContainerRequest} [containerRequest]
|
|
22809
22583
|
* @param {*} [options] Override http request option.
|
|
22810
22584
|
* @throws {RequiredError}
|
|
22811
22585
|
*/
|
|
22812
|
-
editContainer: async (containerId: string,
|
|
22586
|
+
editContainer: async (containerId: string, containerRequest?: ContainerRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22813
22587
|
// verify required parameter 'containerId' is not null or undefined
|
|
22814
22588
|
assertParamExists('editContainer', 'containerId', containerId)
|
|
22815
22589
|
const localVarPath = `/container/{containerId}`
|
|
@@ -22836,7 +22610,7 @@ export const ContainerMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
22836
22610
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22837
22611
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22838
22612
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22839
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
22613
|
+
localVarRequestOptions.data = serializeDataIfNeeded(containerRequest, localVarRequestOptions, configuration)
|
|
22840
22614
|
|
|
22841
22615
|
return {
|
|
22842
22616
|
url: toPathString(localVarUrlObj),
|
|
@@ -22982,12 +22756,12 @@ export const ContainerMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
22982
22756
|
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
22983
22757
|
* @summary Edit container
|
|
22984
22758
|
* @param {string} containerId Container ID
|
|
22985
|
-
* @param {
|
|
22759
|
+
* @param {ContainerRequest} [containerRequest]
|
|
22986
22760
|
* @param {*} [options] Override http request option.
|
|
22987
22761
|
* @throws {RequiredError}
|
|
22988
22762
|
*/
|
|
22989
|
-
async editContainer(containerId: string,
|
|
22990
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.editContainer(containerId,
|
|
22763
|
+
async editContainer(containerId: string, containerRequest?: ContainerRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>> {
|
|
22764
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editContainer(containerId, containerRequest, options);
|
|
22991
22765
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22992
22766
|
},
|
|
22993
22767
|
/**
|
|
@@ -23047,12 +22821,12 @@ export const ContainerMainCallsApiFactory = function (configuration?: Configurat
|
|
|
23047
22821
|
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
23048
22822
|
* @summary Edit container
|
|
23049
22823
|
* @param {string} containerId Container ID
|
|
23050
|
-
* @param {
|
|
22824
|
+
* @param {ContainerRequest} [containerRequest]
|
|
23051
22825
|
* @param {*} [options] Override http request option.
|
|
23052
22826
|
* @throws {RequiredError}
|
|
23053
22827
|
*/
|
|
23054
|
-
editContainer(containerId: string,
|
|
23055
|
-
return localVarFp.editContainer(containerId,
|
|
22828
|
+
editContainer(containerId: string, containerRequest?: ContainerRequest, options?: any): AxiosPromise<ContainerResponse> {
|
|
22829
|
+
return localVarFp.editContainer(containerId, containerRequest, options).then((request) => request(axios, basePath));
|
|
23056
22830
|
},
|
|
23057
22831
|
/**
|
|
23058
22832
|
*
|
|
@@ -23110,13 +22884,13 @@ export class ContainerMainCallsApi extends BaseAPI {
|
|
|
23110
22884
|
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
23111
22885
|
* @summary Edit container
|
|
23112
22886
|
* @param {string} containerId Container ID
|
|
23113
|
-
* @param {
|
|
22887
|
+
* @param {ContainerRequest} [containerRequest]
|
|
23114
22888
|
* @param {*} [options] Override http request option.
|
|
23115
22889
|
* @throws {RequiredError}
|
|
23116
22890
|
* @memberof ContainerMainCallsApi
|
|
23117
22891
|
*/
|
|
23118
|
-
public editContainer(containerId: string,
|
|
23119
|
-
return ContainerMainCallsApiFp(this.configuration).editContainer(containerId,
|
|
22892
|
+
public editContainer(containerId: string, containerRequest?: ContainerRequest, options?: AxiosRequestConfig) {
|
|
22893
|
+
return ContainerMainCallsApiFp(this.configuration).editContainer(containerId, containerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23120
22894
|
}
|
|
23121
22895
|
|
|
23122
22896
|
/**
|
|
@@ -23460,14 +23234,18 @@ export const ContainerRegistriesApiAxiosParamCreator = function (configuration?:
|
|
|
23460
23234
|
*
|
|
23461
23235
|
* @summary Delete a container registry
|
|
23462
23236
|
* @param {string} organizationId Organization ID
|
|
23237
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
23463
23238
|
* @param {*} [options] Override http request option.
|
|
23464
23239
|
* @throws {RequiredError}
|
|
23465
23240
|
*/
|
|
23466
|
-
deleteContainerRegistry: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23241
|
+
deleteContainerRegistry: async (organizationId: string, containerRegistryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23467
23242
|
// verify required parameter 'organizationId' is not null or undefined
|
|
23468
23243
|
assertParamExists('deleteContainerRegistry', 'organizationId', organizationId)
|
|
23244
|
+
// verify required parameter 'containerRegistryId' is not null or undefined
|
|
23245
|
+
assertParamExists('deleteContainerRegistry', 'containerRegistryId', containerRegistryId)
|
|
23469
23246
|
const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}`
|
|
23470
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
23247
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
23248
|
+
.replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
|
|
23471
23249
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23472
23250
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23473
23251
|
let baseOptions;
|
|
@@ -23485,6 +23263,94 @@ export const ContainerRegistriesApiAxiosParamCreator = function (configuration?:
|
|
|
23485
23263
|
|
|
23486
23264
|
|
|
23487
23265
|
|
|
23266
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23267
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23268
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23269
|
+
|
|
23270
|
+
return {
|
|
23271
|
+
url: toPathString(localVarUrlObj),
|
|
23272
|
+
options: localVarRequestOptions,
|
|
23273
|
+
};
|
|
23274
|
+
},
|
|
23275
|
+
/**
|
|
23276
|
+
*
|
|
23277
|
+
* @summary Edit a container registry
|
|
23278
|
+
* @param {string} organizationId Organization ID
|
|
23279
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
23280
|
+
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
23281
|
+
* @param {*} [options] Override http request option.
|
|
23282
|
+
* @throws {RequiredError}
|
|
23283
|
+
*/
|
|
23284
|
+
editContainerRegistry: async (organizationId: string, containerRegistryId: string, containerRegistryRequest?: ContainerRegistryRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23285
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
23286
|
+
assertParamExists('editContainerRegistry', 'organizationId', organizationId)
|
|
23287
|
+
// verify required parameter 'containerRegistryId' is not null or undefined
|
|
23288
|
+
assertParamExists('editContainerRegistry', 'containerRegistryId', containerRegistryId)
|
|
23289
|
+
const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}`
|
|
23290
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
23291
|
+
.replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
|
|
23292
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23293
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23294
|
+
let baseOptions;
|
|
23295
|
+
if (configuration) {
|
|
23296
|
+
baseOptions = configuration.baseOptions;
|
|
23297
|
+
}
|
|
23298
|
+
|
|
23299
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
23300
|
+
const localVarHeaderParameter = {} as any;
|
|
23301
|
+
const localVarQueryParameter = {} as any;
|
|
23302
|
+
|
|
23303
|
+
// authentication bearerAuth required
|
|
23304
|
+
// http bearer authentication required
|
|
23305
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23306
|
+
|
|
23307
|
+
|
|
23308
|
+
|
|
23309
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
23310
|
+
|
|
23311
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23312
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23313
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23314
|
+
localVarRequestOptions.data = serializeDataIfNeeded(containerRegistryRequest, localVarRequestOptions, configuration)
|
|
23315
|
+
|
|
23316
|
+
return {
|
|
23317
|
+
url: toPathString(localVarUrlObj),
|
|
23318
|
+
options: localVarRequestOptions,
|
|
23319
|
+
};
|
|
23320
|
+
},
|
|
23321
|
+
/**
|
|
23322
|
+
*
|
|
23323
|
+
* @summary Get a container registry
|
|
23324
|
+
* @param {string} organizationId Organization ID
|
|
23325
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
23326
|
+
* @param {*} [options] Override http request option.
|
|
23327
|
+
* @throws {RequiredError}
|
|
23328
|
+
*/
|
|
23329
|
+
getContainerRegistry: async (organizationId: string, containerRegistryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23330
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
23331
|
+
assertParamExists('getContainerRegistry', 'organizationId', organizationId)
|
|
23332
|
+
// verify required parameter 'containerRegistryId' is not null or undefined
|
|
23333
|
+
assertParamExists('getContainerRegistry', 'containerRegistryId', containerRegistryId)
|
|
23334
|
+
const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}`
|
|
23335
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
23336
|
+
.replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
|
|
23337
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23338
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23339
|
+
let baseOptions;
|
|
23340
|
+
if (configuration) {
|
|
23341
|
+
baseOptions = configuration.baseOptions;
|
|
23342
|
+
}
|
|
23343
|
+
|
|
23344
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23345
|
+
const localVarHeaderParameter = {} as any;
|
|
23346
|
+
const localVarQueryParameter = {} as any;
|
|
23347
|
+
|
|
23348
|
+
// authentication bearerAuth required
|
|
23349
|
+
// http bearer authentication required
|
|
23350
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23351
|
+
|
|
23352
|
+
|
|
23353
|
+
|
|
23488
23354
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23489
23355
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23490
23356
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -23592,11 +23458,37 @@ export const ContainerRegistriesApiFp = function(configuration?: Configuration)
|
|
|
23592
23458
|
*
|
|
23593
23459
|
* @summary Delete a container registry
|
|
23594
23460
|
* @param {string} organizationId Organization ID
|
|
23461
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
23462
|
+
* @param {*} [options] Override http request option.
|
|
23463
|
+
* @throws {RequiredError}
|
|
23464
|
+
*/
|
|
23465
|
+
async deleteContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23466
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteContainerRegistry(organizationId, containerRegistryId, options);
|
|
23467
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23468
|
+
},
|
|
23469
|
+
/**
|
|
23470
|
+
*
|
|
23471
|
+
* @summary Edit a container registry
|
|
23472
|
+
* @param {string} organizationId Organization ID
|
|
23473
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
23474
|
+
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
23475
|
+
* @param {*} [options] Override http request option.
|
|
23476
|
+
* @throws {RequiredError}
|
|
23477
|
+
*/
|
|
23478
|
+
async editContainerRegistry(organizationId: string, containerRegistryId: string, containerRegistryRequest?: ContainerRegistryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerRegistryResponse>> {
|
|
23479
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options);
|
|
23480
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23481
|
+
},
|
|
23482
|
+
/**
|
|
23483
|
+
*
|
|
23484
|
+
* @summary Get a container registry
|
|
23485
|
+
* @param {string} organizationId Organization ID
|
|
23486
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
23595
23487
|
* @param {*} [options] Override http request option.
|
|
23596
23488
|
* @throws {RequiredError}
|
|
23597
23489
|
*/
|
|
23598
|
-
async
|
|
23599
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
23490
|
+
async getContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerRegistryResponse>> {
|
|
23491
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getContainerRegistry(organizationId, containerRegistryId, options);
|
|
23600
23492
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23601
23493
|
},
|
|
23602
23494
|
/**
|
|
@@ -23645,11 +23537,35 @@ export const ContainerRegistriesApiFactory = function (configuration?: Configura
|
|
|
23645
23537
|
*
|
|
23646
23538
|
* @summary Delete a container registry
|
|
23647
23539
|
* @param {string} organizationId Organization ID
|
|
23540
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
23541
|
+
* @param {*} [options] Override http request option.
|
|
23542
|
+
* @throws {RequiredError}
|
|
23543
|
+
*/
|
|
23544
|
+
deleteContainerRegistry(organizationId: string, containerRegistryId: string, options?: any): AxiosPromise<void> {
|
|
23545
|
+
return localVarFp.deleteContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
|
|
23546
|
+
},
|
|
23547
|
+
/**
|
|
23548
|
+
*
|
|
23549
|
+
* @summary Edit a container registry
|
|
23550
|
+
* @param {string} organizationId Organization ID
|
|
23551
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
23552
|
+
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
23553
|
+
* @param {*} [options] Override http request option.
|
|
23554
|
+
* @throws {RequiredError}
|
|
23555
|
+
*/
|
|
23556
|
+
editContainerRegistry(organizationId: string, containerRegistryId: string, containerRegistryRequest?: ContainerRegistryRequest, options?: any): AxiosPromise<ContainerRegistryResponse> {
|
|
23557
|
+
return localVarFp.editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options).then((request) => request(axios, basePath));
|
|
23558
|
+
},
|
|
23559
|
+
/**
|
|
23560
|
+
*
|
|
23561
|
+
* @summary Get a container registry
|
|
23562
|
+
* @param {string} organizationId Organization ID
|
|
23563
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
23648
23564
|
* @param {*} [options] Override http request option.
|
|
23649
23565
|
* @throws {RequiredError}
|
|
23650
23566
|
*/
|
|
23651
|
-
|
|
23652
|
-
return localVarFp.
|
|
23567
|
+
getContainerRegistry(organizationId: string, containerRegistryId: string, options?: any): AxiosPromise<ContainerRegistryResponse> {
|
|
23568
|
+
return localVarFp.getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
|
|
23653
23569
|
},
|
|
23654
23570
|
/**
|
|
23655
23571
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
@@ -23697,12 +23613,40 @@ export class ContainerRegistriesApi extends BaseAPI {
|
|
|
23697
23613
|
*
|
|
23698
23614
|
* @summary Delete a container registry
|
|
23699
23615
|
* @param {string} organizationId Organization ID
|
|
23616
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
23617
|
+
* @param {*} [options] Override http request option.
|
|
23618
|
+
* @throws {RequiredError}
|
|
23619
|
+
* @memberof ContainerRegistriesApi
|
|
23620
|
+
*/
|
|
23621
|
+
public deleteContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig) {
|
|
23622
|
+
return ContainerRegistriesApiFp(this.configuration).deleteContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
|
|
23623
|
+
}
|
|
23624
|
+
|
|
23625
|
+
/**
|
|
23626
|
+
*
|
|
23627
|
+
* @summary Edit a container registry
|
|
23628
|
+
* @param {string} organizationId Organization ID
|
|
23629
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
23630
|
+
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
23631
|
+
* @param {*} [options] Override http request option.
|
|
23632
|
+
* @throws {RequiredError}
|
|
23633
|
+
* @memberof ContainerRegistriesApi
|
|
23634
|
+
*/
|
|
23635
|
+
public editContainerRegistry(organizationId: string, containerRegistryId: string, containerRegistryRequest?: ContainerRegistryRequest, options?: AxiosRequestConfig) {
|
|
23636
|
+
return ContainerRegistriesApiFp(this.configuration).editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23637
|
+
}
|
|
23638
|
+
|
|
23639
|
+
/**
|
|
23640
|
+
*
|
|
23641
|
+
* @summary Get a container registry
|
|
23642
|
+
* @param {string} organizationId Organization ID
|
|
23643
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
23700
23644
|
* @param {*} [options] Override http request option.
|
|
23701
23645
|
* @throws {RequiredError}
|
|
23702
23646
|
* @memberof ContainerRegistriesApi
|
|
23703
23647
|
*/
|
|
23704
|
-
public
|
|
23705
|
-
return ContainerRegistriesApiFp(this.configuration).
|
|
23648
|
+
public getContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig) {
|
|
23649
|
+
return ContainerRegistriesApiFp(this.configuration).getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
|
|
23706
23650
|
}
|
|
23707
23651
|
|
|
23708
23652
|
/**
|
|
@@ -23731,28 +23675,24 @@ export class ContainerRegistriesApi extends BaseAPI {
|
|
|
23731
23675
|
|
|
23732
23676
|
|
|
23733
23677
|
/**
|
|
23734
|
-
*
|
|
23678
|
+
* ContainerSecretApi - axios parameter creator
|
|
23735
23679
|
* @export
|
|
23736
23680
|
*/
|
|
23737
|
-
export const
|
|
23681
|
+
export const ContainerSecretApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23738
23682
|
return {
|
|
23739
23683
|
/**
|
|
23740
|
-
*
|
|
23741
|
-
* @summary
|
|
23742
|
-
* @param {string}
|
|
23743
|
-
* @param {
|
|
23744
|
-
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
23684
|
+
* - Add a secret to the container.
|
|
23685
|
+
* @summary Add a secret to the container
|
|
23686
|
+
* @param {string} containerId Container ID
|
|
23687
|
+
* @param {SecretRequest} [secretRequest]
|
|
23745
23688
|
* @param {*} [options] Override http request option.
|
|
23746
23689
|
* @throws {RequiredError}
|
|
23747
23690
|
*/
|
|
23748
|
-
|
|
23749
|
-
// verify required parameter '
|
|
23750
|
-
assertParamExists('
|
|
23751
|
-
|
|
23752
|
-
|
|
23753
|
-
const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}`
|
|
23754
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
23755
|
-
.replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
|
|
23691
|
+
createContainerSecret: async (containerId: string, secretRequest?: SecretRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23692
|
+
// verify required parameter 'containerId' is not null or undefined
|
|
23693
|
+
assertParamExists('createContainerSecret', 'containerId', containerId)
|
|
23694
|
+
const localVarPath = `/container/{containerId}/secret`
|
|
23695
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
23756
23696
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23757
23697
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23758
23698
|
let baseOptions;
|
|
@@ -23760,7 +23700,7 @@ export const ContainerRegistryApiAxiosParamCreator = function (configuration?: C
|
|
|
23760
23700
|
baseOptions = configuration.baseOptions;
|
|
23761
23701
|
}
|
|
23762
23702
|
|
|
23763
|
-
const localVarRequestOptions = { method: '
|
|
23703
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
23764
23704
|
const localVarHeaderParameter = {} as any;
|
|
23765
23705
|
const localVarQueryParameter = {} as any;
|
|
23766
23706
|
|
|
@@ -23775,103 +23715,30 @@ export const ContainerRegistryApiAxiosParamCreator = function (configuration?: C
|
|
|
23775
23715
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23776
23716
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23777
23717
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23778
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
23718
|
+
localVarRequestOptions.data = serializeDataIfNeeded(secretRequest, localVarRequestOptions, configuration)
|
|
23779
23719
|
|
|
23780
23720
|
return {
|
|
23781
23721
|
url: toPathString(localVarUrlObj),
|
|
23782
23722
|
options: localVarRequestOptions,
|
|
23783
23723
|
};
|
|
23784
23724
|
},
|
|
23785
|
-
}
|
|
23786
|
-
};
|
|
23787
|
-
|
|
23788
|
-
/**
|
|
23789
|
-
* ContainerRegistryApi - functional programming interface
|
|
23790
|
-
* @export
|
|
23791
|
-
*/
|
|
23792
|
-
export const ContainerRegistryApiFp = function(configuration?: Configuration) {
|
|
23793
|
-
const localVarAxiosParamCreator = ContainerRegistryApiAxiosParamCreator(configuration)
|
|
23794
|
-
return {
|
|
23795
|
-
/**
|
|
23796
|
-
*
|
|
23797
|
-
* @summary Edit a container registry
|
|
23798
|
-
* @param {string} organizationId Organization ID
|
|
23799
|
-
* @param {string} containerRegistryId Container Registry ID
|
|
23800
|
-
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
23801
|
-
* @param {*} [options] Override http request option.
|
|
23802
|
-
* @throws {RequiredError}
|
|
23803
|
-
*/
|
|
23804
|
-
async editContainerRegistry(organizationId: string, containerRegistryId: string, containerRegistryRequest?: ContainerRegistryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerRegistryResponse>> {
|
|
23805
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options);
|
|
23806
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23807
|
-
},
|
|
23808
|
-
}
|
|
23809
|
-
};
|
|
23810
|
-
|
|
23811
|
-
/**
|
|
23812
|
-
* ContainerRegistryApi - factory interface
|
|
23813
|
-
* @export
|
|
23814
|
-
*/
|
|
23815
|
-
export const ContainerRegistryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
23816
|
-
const localVarFp = ContainerRegistryApiFp(configuration)
|
|
23817
|
-
return {
|
|
23818
|
-
/**
|
|
23819
|
-
*
|
|
23820
|
-
* @summary Edit a container registry
|
|
23821
|
-
* @param {string} organizationId Organization ID
|
|
23822
|
-
* @param {string} containerRegistryId Container Registry ID
|
|
23823
|
-
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
23824
|
-
* @param {*} [options] Override http request option.
|
|
23825
|
-
* @throws {RequiredError}
|
|
23826
|
-
*/
|
|
23827
|
-
editContainerRegistry(organizationId: string, containerRegistryId: string, containerRegistryRequest?: ContainerRegistryRequest, options?: any): AxiosPromise<ContainerRegistryResponse> {
|
|
23828
|
-
return localVarFp.editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options).then((request) => request(axios, basePath));
|
|
23829
|
-
},
|
|
23830
|
-
};
|
|
23831
|
-
};
|
|
23832
|
-
|
|
23833
|
-
/**
|
|
23834
|
-
* ContainerRegistryApi - object-oriented interface
|
|
23835
|
-
* @export
|
|
23836
|
-
* @class ContainerRegistryApi
|
|
23837
|
-
* @extends {BaseAPI}
|
|
23838
|
-
*/
|
|
23839
|
-
export class ContainerRegistryApi extends BaseAPI {
|
|
23840
|
-
/**
|
|
23841
|
-
*
|
|
23842
|
-
* @summary Edit a container registry
|
|
23843
|
-
* @param {string} organizationId Organization ID
|
|
23844
|
-
* @param {string} containerRegistryId Container Registry ID
|
|
23845
|
-
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
23846
|
-
* @param {*} [options] Override http request option.
|
|
23847
|
-
* @throws {RequiredError}
|
|
23848
|
-
* @memberof ContainerRegistryApi
|
|
23849
|
-
*/
|
|
23850
|
-
public editContainerRegistry(organizationId: string, containerRegistryId: string, containerRegistryRequest?: ContainerRegistryRequest, options?: AxiosRequestConfig) {
|
|
23851
|
-
return ContainerRegistryApiFp(this.configuration).editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options).then((request) => request(this.axios, this.basePath));
|
|
23852
|
-
}
|
|
23853
|
-
}
|
|
23854
|
-
|
|
23855
|
-
|
|
23856
|
-
/**
|
|
23857
|
-
* ContainerSecretApi - axios parameter creator
|
|
23858
|
-
* @export
|
|
23859
|
-
*/
|
|
23860
|
-
export const ContainerSecretApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23861
|
-
return {
|
|
23862
23725
|
/**
|
|
23863
|
-
* -
|
|
23864
|
-
* @summary
|
|
23726
|
+
* - Allows you to add an alias at container level on an existing secret having higher scope, in order to customize its key. - You only have to specify a key in the request body - The system will create a new secret at container level with the same value as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the aliased_secret will be exposed in the \"aliased_secret\" field of the newly created secret - Only 1 alias level is allowed. You can\'t create an alias on an alias
|
|
23727
|
+
* @summary Create a secret alias at the container level
|
|
23865
23728
|
* @param {string} containerId Container ID
|
|
23866
|
-
* @param {
|
|
23729
|
+
* @param {string} secretId Secret ID
|
|
23730
|
+
* @param {Key} [key]
|
|
23867
23731
|
* @param {*} [options] Override http request option.
|
|
23868
23732
|
* @throws {RequiredError}
|
|
23869
23733
|
*/
|
|
23870
|
-
|
|
23734
|
+
createContainerSecretAlias: async (containerId: string, secretId: string, key?: Key, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23871
23735
|
// verify required parameter 'containerId' is not null or undefined
|
|
23872
|
-
assertParamExists('
|
|
23873
|
-
|
|
23874
|
-
|
|
23736
|
+
assertParamExists('createContainerSecretAlias', 'containerId', containerId)
|
|
23737
|
+
// verify required parameter 'secretId' is not null or undefined
|
|
23738
|
+
assertParamExists('createContainerSecretAlias', 'secretId', secretId)
|
|
23739
|
+
const localVarPath = `/container/{containerId}/secret/{secretId}/alias`
|
|
23740
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
|
|
23741
|
+
.replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
|
|
23875
23742
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23876
23743
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23877
23744
|
let baseOptions;
|
|
@@ -23894,7 +23761,7 @@ export const ContainerSecretApiAxiosParamCreator = function (configuration?: Con
|
|
|
23894
23761
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23895
23762
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23896
23763
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23897
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
23764
|
+
localVarRequestOptions.data = serializeDataIfNeeded(key, localVarRequestOptions, configuration)
|
|
23898
23765
|
|
|
23899
23766
|
return {
|
|
23900
23767
|
url: toPathString(localVarUrlObj),
|
|
@@ -23902,20 +23769,20 @@ export const ContainerSecretApiAxiosParamCreator = function (configuration?: Con
|
|
|
23902
23769
|
};
|
|
23903
23770
|
},
|
|
23904
23771
|
/**
|
|
23905
|
-
* - Allows you to
|
|
23906
|
-
* @summary Create a secret
|
|
23772
|
+
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
23773
|
+
* @summary Create a secret override at the container level
|
|
23907
23774
|
* @param {string} containerId Container ID
|
|
23908
23775
|
* @param {string} secretId Secret ID
|
|
23909
|
-
* @param {
|
|
23776
|
+
* @param {Value} [value]
|
|
23910
23777
|
* @param {*} [options] Override http request option.
|
|
23911
23778
|
* @throws {RequiredError}
|
|
23912
23779
|
*/
|
|
23913
|
-
|
|
23780
|
+
createContainerSecretOverride: async (containerId: string, secretId: string, value?: Value, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23914
23781
|
// verify required parameter 'containerId' is not null or undefined
|
|
23915
|
-
assertParamExists('
|
|
23782
|
+
assertParamExists('createContainerSecretOverride', 'containerId', containerId)
|
|
23916
23783
|
// verify required parameter 'secretId' is not null or undefined
|
|
23917
|
-
assertParamExists('
|
|
23918
|
-
const localVarPath = `/container/{containerId}/secret/{secretId}/
|
|
23784
|
+
assertParamExists('createContainerSecretOverride', 'secretId', secretId)
|
|
23785
|
+
const localVarPath = `/container/{containerId}/secret/{secretId}/override`
|
|
23919
23786
|
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
|
|
23920
23787
|
.replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
|
|
23921
23788
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -23940,7 +23807,7 @@ export const ContainerSecretApiAxiosParamCreator = function (configuration?: Con
|
|
|
23940
23807
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23941
23808
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23942
23809
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23943
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
23810
|
+
localVarRequestOptions.data = serializeDataIfNeeded(value, localVarRequestOptions, configuration)
|
|
23944
23811
|
|
|
23945
23812
|
return {
|
|
23946
23813
|
url: toPathString(localVarUrlObj),
|
|
@@ -24110,6 +23977,19 @@ export const ContainerSecretApiFp = function(configuration?: Configuration) {
|
|
|
24110
23977
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createContainerSecretAlias(containerId, secretId, key, options);
|
|
24111
23978
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24112
23979
|
},
|
|
23980
|
+
/**
|
|
23981
|
+
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
23982
|
+
* @summary Create a secret override at the container level
|
|
23983
|
+
* @param {string} containerId Container ID
|
|
23984
|
+
* @param {string} secretId Secret ID
|
|
23985
|
+
* @param {Value} [value]
|
|
23986
|
+
* @param {*} [options] Override http request option.
|
|
23987
|
+
* @throws {RequiredError}
|
|
23988
|
+
*/
|
|
23989
|
+
async createContainerSecretOverride(containerId: string, secretId: string, value?: Value, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
23990
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createContainerSecretOverride(containerId, secretId, value, options);
|
|
23991
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23992
|
+
},
|
|
24113
23993
|
/**
|
|
24114
23994
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
24115
23995
|
* @summary Delete a secret from an container
|
|
@@ -24179,6 +24059,18 @@ export const ContainerSecretApiFactory = function (configuration?: Configuration
|
|
|
24179
24059
|
createContainerSecretAlias(containerId: string, secretId: string, key?: Key, options?: any): AxiosPromise<Secret> {
|
|
24180
24060
|
return localVarFp.createContainerSecretAlias(containerId, secretId, key, options).then((request) => request(axios, basePath));
|
|
24181
24061
|
},
|
|
24062
|
+
/**
|
|
24063
|
+
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
24064
|
+
* @summary Create a secret override at the container level
|
|
24065
|
+
* @param {string} containerId Container ID
|
|
24066
|
+
* @param {string} secretId Secret ID
|
|
24067
|
+
* @param {Value} [value]
|
|
24068
|
+
* @param {*} [options] Override http request option.
|
|
24069
|
+
* @throws {RequiredError}
|
|
24070
|
+
*/
|
|
24071
|
+
createContainerSecretOverride(containerId: string, secretId: string, value?: Value, options?: any): AxiosPromise<Secret> {
|
|
24072
|
+
return localVarFp.createContainerSecretOverride(containerId, secretId, value, options).then((request) => request(axios, basePath));
|
|
24073
|
+
},
|
|
24182
24074
|
/**
|
|
24183
24075
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
24184
24076
|
* @summary Delete a secret from an container
|
|
@@ -24249,6 +24141,20 @@ export class ContainerSecretApi extends BaseAPI {
|
|
|
24249
24141
|
return ContainerSecretApiFp(this.configuration).createContainerSecretAlias(containerId, secretId, key, options).then((request) => request(this.axios, this.basePath));
|
|
24250
24142
|
}
|
|
24251
24143
|
|
|
24144
|
+
/**
|
|
24145
|
+
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
24146
|
+
* @summary Create a secret override at the container level
|
|
24147
|
+
* @param {string} containerId Container ID
|
|
24148
|
+
* @param {string} secretId Secret ID
|
|
24149
|
+
* @param {Value} [value]
|
|
24150
|
+
* @param {*} [options] Override http request option.
|
|
24151
|
+
* @throws {RequiredError}
|
|
24152
|
+
* @memberof ContainerSecretApi
|
|
24153
|
+
*/
|
|
24154
|
+
public createContainerSecretOverride(containerId: string, secretId: string, value?: Value, options?: AxiosRequestConfig) {
|
|
24155
|
+
return ContainerSecretApiFp(this.configuration).createContainerSecretOverride(containerId, secretId, value, options).then((request) => request(this.axios, this.basePath));
|
|
24156
|
+
}
|
|
24157
|
+
|
|
24252
24158
|
/**
|
|
24253
24159
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
24254
24160
|
* @summary Delete a secret from an container
|
|
@@ -24300,11 +24206,11 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
24300
24206
|
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
24301
24207
|
* @summary Auto deploy containers
|
|
24302
24208
|
* @param {string} organizationId Organization ID
|
|
24303
|
-
* @param {
|
|
24209
|
+
* @param {InlineObject1} [inlineObject1]
|
|
24304
24210
|
* @param {*} [options] Override http request option.
|
|
24305
24211
|
* @throws {RequiredError}
|
|
24306
24212
|
*/
|
|
24307
|
-
autoDeployContainerEnvironments: async (organizationId: string,
|
|
24213
|
+
autoDeployContainerEnvironments: async (organizationId: string, inlineObject1?: InlineObject1, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24308
24214
|
// verify required parameter 'organizationId' is not null or undefined
|
|
24309
24215
|
assertParamExists('autoDeployContainerEnvironments', 'organizationId', organizationId)
|
|
24310
24216
|
const localVarPath = `/organization/{organizationId}/container/deploy`
|
|
@@ -24331,7 +24237,7 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
24331
24237
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24332
24238
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24333
24239
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24334
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
24240
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inlineObject1, localVarRequestOptions, configuration)
|
|
24335
24241
|
|
|
24336
24242
|
return {
|
|
24337
24243
|
url: toPathString(localVarUrlObj),
|
|
@@ -24583,11 +24489,11 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
24583
24489
|
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
24584
24490
|
* @summary Preview container environments
|
|
24585
24491
|
* @param {string} organizationId Organization ID
|
|
24586
|
-
* @param {
|
|
24492
|
+
* @param {InlineObject2} [inlineObject2]
|
|
24587
24493
|
* @param {*} [options] Override http request option.
|
|
24588
24494
|
* @throws {RequiredError}
|
|
24589
24495
|
*/
|
|
24590
|
-
previewContainerEnvironments: async (organizationId: string,
|
|
24496
|
+
previewContainerEnvironments: async (organizationId: string, inlineObject2?: InlineObject2, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24591
24497
|
// verify required parameter 'organizationId' is not null or undefined
|
|
24592
24498
|
assertParamExists('previewContainerEnvironments', 'organizationId', organizationId)
|
|
24593
24499
|
const localVarPath = `/organization/{organizationId}/container/preview`
|
|
@@ -24614,7 +24520,7 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
24614
24520
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24615
24521
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24616
24522
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24617
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
24523
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inlineObject2, localVarRequestOptions, configuration)
|
|
24618
24524
|
|
|
24619
24525
|
return {
|
|
24620
24526
|
url: toPathString(localVarUrlObj),
|
|
@@ -24635,12 +24541,12 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
24635
24541
|
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
24636
24542
|
* @summary Auto deploy containers
|
|
24637
24543
|
* @param {string} organizationId Organization ID
|
|
24638
|
-
* @param {
|
|
24544
|
+
* @param {InlineObject1} [inlineObject1]
|
|
24639
24545
|
* @param {*} [options] Override http request option.
|
|
24640
24546
|
* @throws {RequiredError}
|
|
24641
24547
|
*/
|
|
24642
|
-
async autoDeployContainerEnvironments(organizationId: string,
|
|
24643
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.autoDeployContainerEnvironments(organizationId,
|
|
24548
|
+
async autoDeployContainerEnvironments(organizationId: string, inlineObject1?: InlineObject1, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
24549
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.autoDeployContainerEnvironments(organizationId, inlineObject1, options);
|
|
24644
24550
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24645
24551
|
},
|
|
24646
24552
|
/**
|
|
@@ -24716,12 +24622,12 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
24716
24622
|
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
24717
24623
|
* @summary Preview container environments
|
|
24718
24624
|
* @param {string} organizationId Organization ID
|
|
24719
|
-
* @param {
|
|
24625
|
+
* @param {InlineObject2} [inlineObject2]
|
|
24720
24626
|
* @param {*} [options] Override http request option.
|
|
24721
24627
|
* @throws {RequiredError}
|
|
24722
24628
|
*/
|
|
24723
|
-
async previewContainerEnvironments(organizationId: string,
|
|
24724
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.previewContainerEnvironments(organizationId,
|
|
24629
|
+
async previewContainerEnvironments(organizationId: string, inlineObject2?: InlineObject2, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
24630
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.previewContainerEnvironments(organizationId, inlineObject2, options);
|
|
24725
24631
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
24726
24632
|
},
|
|
24727
24633
|
}
|
|
@@ -24738,12 +24644,12 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
24738
24644
|
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
24739
24645
|
* @summary Auto deploy containers
|
|
24740
24646
|
* @param {string} organizationId Organization ID
|
|
24741
|
-
* @param {
|
|
24647
|
+
* @param {InlineObject1} [inlineObject1]
|
|
24742
24648
|
* @param {*} [options] Override http request option.
|
|
24743
24649
|
* @throws {RequiredError}
|
|
24744
24650
|
*/
|
|
24745
|
-
autoDeployContainerEnvironments(organizationId: string,
|
|
24746
|
-
return localVarFp.autoDeployContainerEnvironments(organizationId,
|
|
24651
|
+
autoDeployContainerEnvironments(organizationId: string, inlineObject1?: InlineObject1, options?: any): AxiosPromise<Status> {
|
|
24652
|
+
return localVarFp.autoDeployContainerEnvironments(organizationId, inlineObject1, options).then((request) => request(axios, basePath));
|
|
24747
24653
|
},
|
|
24748
24654
|
/**
|
|
24749
24655
|
*
|
|
@@ -24812,12 +24718,12 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
24812
24718
|
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
24813
24719
|
* @summary Preview container environments
|
|
24814
24720
|
* @param {string} organizationId Organization ID
|
|
24815
|
-
* @param {
|
|
24721
|
+
* @param {InlineObject2} [inlineObject2]
|
|
24816
24722
|
* @param {*} [options] Override http request option.
|
|
24817
24723
|
* @throws {RequiredError}
|
|
24818
24724
|
*/
|
|
24819
|
-
previewContainerEnvironments(organizationId: string,
|
|
24820
|
-
return localVarFp.previewContainerEnvironments(organizationId,
|
|
24725
|
+
previewContainerEnvironments(organizationId: string, inlineObject2?: InlineObject2, options?: any): AxiosPromise<Status> {
|
|
24726
|
+
return localVarFp.previewContainerEnvironments(organizationId, inlineObject2, options).then((request) => request(axios, basePath));
|
|
24821
24727
|
},
|
|
24822
24728
|
};
|
|
24823
24729
|
};
|
|
@@ -24833,13 +24739,13 @@ export class ContainersApi extends BaseAPI {
|
|
|
24833
24739
|
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
24834
24740
|
* @summary Auto deploy containers
|
|
24835
24741
|
* @param {string} organizationId Organization ID
|
|
24836
|
-
* @param {
|
|
24742
|
+
* @param {InlineObject1} [inlineObject1]
|
|
24837
24743
|
* @param {*} [options] Override http request option.
|
|
24838
24744
|
* @throws {RequiredError}
|
|
24839
24745
|
* @memberof ContainersApi
|
|
24840
24746
|
*/
|
|
24841
|
-
public autoDeployContainerEnvironments(organizationId: string,
|
|
24842
|
-
return ContainersApiFp(this.configuration).autoDeployContainerEnvironments(organizationId,
|
|
24747
|
+
public autoDeployContainerEnvironments(organizationId: string, inlineObject1?: InlineObject1, options?: AxiosRequestConfig) {
|
|
24748
|
+
return ContainersApiFp(this.configuration).autoDeployContainerEnvironments(organizationId, inlineObject1, options).then((request) => request(this.axios, this.basePath));
|
|
24843
24749
|
}
|
|
24844
24750
|
|
|
24845
24751
|
/**
|
|
@@ -24921,13 +24827,13 @@ export class ContainersApi extends BaseAPI {
|
|
|
24921
24827
|
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
24922
24828
|
* @summary Preview container environments
|
|
24923
24829
|
* @param {string} organizationId Organization ID
|
|
24924
|
-
* @param {
|
|
24830
|
+
* @param {InlineObject2} [inlineObject2]
|
|
24925
24831
|
* @param {*} [options] Override http request option.
|
|
24926
24832
|
* @throws {RequiredError}
|
|
24927
24833
|
* @memberof ContainersApi
|
|
24928
24834
|
*/
|
|
24929
|
-
public previewContainerEnvironments(organizationId: string,
|
|
24930
|
-
return ContainersApiFp(this.configuration).previewContainerEnvironments(organizationId,
|
|
24835
|
+
public previewContainerEnvironments(organizationId: string, inlineObject2?: InlineObject2, options?: AxiosRequestConfig) {
|
|
24836
|
+
return ContainersApiFp(this.configuration).previewContainerEnvironments(organizationId, inlineObject2, options).then((request) => request(this.axios, this.basePath));
|
|
24931
24837
|
}
|
|
24932
24838
|
}
|
|
24933
24839
|
|
|
@@ -30041,11 +29947,11 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
|
|
|
30041
29947
|
*
|
|
30042
29948
|
* @summary Create an environment
|
|
30043
29949
|
* @param {string} projectId Project ID
|
|
30044
|
-
* @param {
|
|
29950
|
+
* @param {CreateEnvironmentRequest} [createEnvironmentRequest]
|
|
30045
29951
|
* @param {*} [options] Override http request option.
|
|
30046
29952
|
* @throws {RequiredError}
|
|
30047
29953
|
*/
|
|
30048
|
-
createEnvironment: async (projectId: string,
|
|
29954
|
+
createEnvironment: async (projectId: string, createEnvironmentRequest?: CreateEnvironmentRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30049
29955
|
// verify required parameter 'projectId' is not null or undefined
|
|
30050
29956
|
assertParamExists('createEnvironment', 'projectId', projectId)
|
|
30051
29957
|
const localVarPath = `/project/{projectId}/environment`
|
|
@@ -30072,7 +29978,7 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
|
|
|
30072
29978
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30073
29979
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30074
29980
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30075
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
29981
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createEnvironmentRequest, localVarRequestOptions, configuration)
|
|
30076
29982
|
|
|
30077
29983
|
return {
|
|
30078
29984
|
url: toPathString(localVarUrlObj),
|
|
@@ -30207,12 +30113,12 @@ export const EnvironmentsApiFp = function(configuration?: Configuration) {
|
|
|
30207
30113
|
*
|
|
30208
30114
|
* @summary Create an environment
|
|
30209
30115
|
* @param {string} projectId Project ID
|
|
30210
|
-
* @param {
|
|
30116
|
+
* @param {CreateEnvironmentRequest} [createEnvironmentRequest]
|
|
30211
30117
|
* @param {*} [options] Override http request option.
|
|
30212
30118
|
* @throws {RequiredError}
|
|
30213
30119
|
*/
|
|
30214
|
-
async createEnvironment(projectId: string,
|
|
30215
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createEnvironment(projectId,
|
|
30120
|
+
async createEnvironment(projectId: string, createEnvironmentRequest?: CreateEnvironmentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Environment>> {
|
|
30121
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createEnvironment(projectId, createEnvironmentRequest, options);
|
|
30216
30122
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30217
30123
|
},
|
|
30218
30124
|
/**
|
|
@@ -30262,12 +30168,12 @@ export const EnvironmentsApiFactory = function (configuration?: Configuration, b
|
|
|
30262
30168
|
*
|
|
30263
30169
|
* @summary Create an environment
|
|
30264
30170
|
* @param {string} projectId Project ID
|
|
30265
|
-
* @param {
|
|
30171
|
+
* @param {CreateEnvironmentRequest} [createEnvironmentRequest]
|
|
30266
30172
|
* @param {*} [options] Override http request option.
|
|
30267
30173
|
* @throws {RequiredError}
|
|
30268
30174
|
*/
|
|
30269
|
-
createEnvironment(projectId: string,
|
|
30270
|
-
return localVarFp.createEnvironment(projectId,
|
|
30175
|
+
createEnvironment(projectId: string, createEnvironmentRequest?: CreateEnvironmentRequest, options?: any): AxiosPromise<Environment> {
|
|
30176
|
+
return localVarFp.createEnvironment(projectId, createEnvironmentRequest, options).then((request) => request(axios, basePath));
|
|
30271
30177
|
},
|
|
30272
30178
|
/**
|
|
30273
30179
|
* Returns a list of environment ids, and for each its total numberof services
|
|
@@ -30313,13 +30219,13 @@ export class EnvironmentsApi extends BaseAPI {
|
|
|
30313
30219
|
*
|
|
30314
30220
|
* @summary Create an environment
|
|
30315
30221
|
* @param {string} projectId Project ID
|
|
30316
|
-
* @param {
|
|
30222
|
+
* @param {CreateEnvironmentRequest} [createEnvironmentRequest]
|
|
30317
30223
|
* @param {*} [options] Override http request option.
|
|
30318
30224
|
* @throws {RequiredError}
|
|
30319
30225
|
* @memberof EnvironmentsApi
|
|
30320
30226
|
*/
|
|
30321
|
-
public createEnvironment(projectId: string,
|
|
30322
|
-
return EnvironmentsApiFp(this.configuration).createEnvironment(projectId,
|
|
30227
|
+
public createEnvironment(projectId: string, createEnvironmentRequest?: CreateEnvironmentRequest, options?: AxiosRequestConfig) {
|
|
30228
|
+
return EnvironmentsApiFp(this.configuration).createEnvironment(projectId, createEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30323
30229
|
}
|
|
30324
30230
|
|
|
30325
30231
|
/**
|