@distilled.cloud/stackit 1.0.0-rc.18 → 1.0.0-rc.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/lib/_bundle/sdk.js +1 -1
  2. package/lib/_bundle/sdk.js.map +1 -1
  3. package/lib/pagination.d.ts.map +1 -1
  4. package/lib/protocol.d.ts +2 -1
  5. package/lib/protocol.d.ts.map +1 -1
  6. package/lib/services/alb.d.ts +134 -132
  7. package/lib/services/alb.d.ts.map +1 -1
  8. package/lib/services/alb.js +24 -24
  9. package/lib/services/alb.js.map +1 -1
  10. package/lib/services/alb_waf.d.ts +51 -51
  11. package/lib/services/alb_waf.d.ts.map +1 -1
  12. package/lib/services/alb_waf.js +29 -29
  13. package/lib/services/alb_waf.js.map +1 -1
  14. package/lib/services/authorization.d.ts +15 -15
  15. package/lib/services/authorization.d.ts.map +1 -1
  16. package/lib/services/authorization.js +1 -1
  17. package/lib/services/authorization.js.map +1 -1
  18. package/lib/services/automation.d.ts +47 -46
  19. package/lib/services/automation.d.ts.map +1 -1
  20. package/lib/services/automation.js +22 -22
  21. package/lib/services/automation.js.map +1 -1
  22. package/lib/services/cdn.d.ts +129 -129
  23. package/lib/services/cdn.d.ts.map +1 -1
  24. package/lib/services/cdn.js +22 -22
  25. package/lib/services/cdn.js.map +1 -1
  26. package/lib/services/certificates.d.ts +40 -40
  27. package/lib/services/certificates.d.ts.map +1 -1
  28. package/lib/services/certificates.js +1 -1
  29. package/lib/services/certificates.js.map +1 -1
  30. package/lib/services/cost.d.ts +15 -15
  31. package/lib/services/cost.d.ts.map +1 -1
  32. package/lib/services/cost.js +1 -1
  33. package/lib/services/cost.js.map +1 -1
  34. package/lib/services/dns.d.ts +218 -161
  35. package/lib/services/dns.d.ts.map +1 -1
  36. package/lib/services/dns.js +40 -39
  37. package/lib/services/dns.js.map +1 -1
  38. package/lib/services/dremio.d.ts +49 -34
  39. package/lib/services/dremio.d.ts.map +1 -1
  40. package/lib/services/dremio.js +1 -1
  41. package/lib/services/dremio.js.map +1 -1
  42. package/lib/services/edge.d.ts +21 -21
  43. package/lib/services/edge.d.ts.map +1 -1
  44. package/lib/services/edge.js +23 -23
  45. package/lib/services/edge.js.map +1 -1
  46. package/lib/services/functions.d.ts +104 -101
  47. package/lib/services/functions.d.ts.map +1 -1
  48. package/lib/services/functions.js +24 -24
  49. package/lib/services/functions.js.map +1 -1
  50. package/lib/services/git.d.ts +120 -29
  51. package/lib/services/git.d.ts.map +1 -1
  52. package/lib/services/git.js +37 -33
  53. package/lib/services/git.js.map +1 -1
  54. package/lib/services/iaas.d.ts +430 -415
  55. package/lib/services/iaas.d.ts.map +1 -1
  56. package/lib/services/iaas.js +179 -179
  57. package/lib/services/iaas.js.map +1 -1
  58. package/lib/services/identity.d.ts +204 -0
  59. package/lib/services/identity.d.ts.map +1 -0
  60. package/lib/services/identity.js +2 -0
  61. package/lib/services/identity.js.map +1 -0
  62. package/lib/services/index.d.ts +2 -0
  63. package/lib/services/index.d.ts.map +1 -1
  64. package/lib/services/index.js +2 -0
  65. package/lib/services/intake.d.ts +58 -58
  66. package/lib/services/intake.d.ts.map +1 -1
  67. package/lib/services/intake.js +25 -25
  68. package/lib/services/intake.js.map +1 -1
  69. package/lib/services/kms.d.ts +13 -13
  70. package/lib/services/kms.d.ts.map +1 -1
  71. package/lib/services/kms.js +37 -37
  72. package/lib/services/kms.js.map +1 -1
  73. package/lib/services/lb_ip_lists.d.ts +14 -14
  74. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  75. package/lib/services/lb_ip_lists.js +1 -1
  76. package/lib/services/lb_ip_lists.js.map +1 -1
  77. package/lib/services/load_balancer.d.ts +128 -126
  78. package/lib/services/load_balancer.d.ts.map +1 -1
  79. package/lib/services/load_balancer.js +25 -25
  80. package/lib/services/load_balancer.js.map +1 -1
  81. package/lib/services/logme.d.ts +96 -45
  82. package/lib/services/logme.d.ts.map +1 -1
  83. package/lib/services/logme.js +34 -31
  84. package/lib/services/logme.js.map +1 -1
  85. package/lib/services/logs.d.ts +78 -24
  86. package/lib/services/logs.d.ts.map +1 -1
  87. package/lib/services/logs.js +34 -33
  88. package/lib/services/logs.js.map +1 -1
  89. package/lib/services/mailout.d.ts +476 -0
  90. package/lib/services/mailout.d.ts.map +1 -0
  91. package/lib/services/mailout.js +33 -0
  92. package/lib/services/mailout.js.map +1 -0
  93. package/lib/services/mariadb.d.ts +81 -30
  94. package/lib/services/mariadb.d.ts.map +1 -1
  95. package/lib/services/mariadb.js +35 -32
  96. package/lib/services/mariadb.js.map +1 -1
  97. package/lib/services/model_experiments.d.ts +33 -33
  98. package/lib/services/model_experiments.d.ts.map +1 -1
  99. package/lib/services/model_experiments.js +1 -1
  100. package/lib/services/model_experiments.js.map +1 -1
  101. package/lib/services/model_serving.d.ts +25 -25
  102. package/lib/services/model_serving.d.ts.map +1 -1
  103. package/lib/services/model_serving.js +1 -1
  104. package/lib/services/model_serving.js.map +1 -1
  105. package/lib/services/mongodb_flex.d.ts +142 -137
  106. package/lib/services/mongodb_flex.d.ts.map +1 -1
  107. package/lib/services/mongodb_flex.js +38 -38
  108. package/lib/services/mongodb_flex.js.map +1 -1
  109. package/lib/services/object_storage.d.ts +6 -6
  110. package/lib/services/object_storage.d.ts.map +1 -1
  111. package/lib/services/object_storage.js +34 -34
  112. package/lib/services/object_storage.js.map +1 -1
  113. package/lib/services/observability.d.ts +362 -362
  114. package/lib/services/observability.d.ts.map +1 -1
  115. package/lib/services/observability.js +147 -147
  116. package/lib/services/observability.js.map +1 -1
  117. package/lib/services/opensearch.d.ts +87 -36
  118. package/lib/services/opensearch.d.ts.map +1 -1
  119. package/lib/services/opensearch.js +35 -32
  120. package/lib/services/opensearch.js.map +1 -1
  121. package/lib/services/pim.d.ts +334 -278
  122. package/lib/services/pim.d.ts.map +1 -1
  123. package/lib/services/pim.js +24 -24
  124. package/lib/services/pim.js.map +1 -1
  125. package/lib/services/postgres_flex.d.ts +59 -55
  126. package/lib/services/postgres_flex.d.ts.map +1 -1
  127. package/lib/services/postgres_flex.js +47 -46
  128. package/lib/services/postgres_flex.js.map +1 -1
  129. package/lib/services/pubsub.d.ts +36 -36
  130. package/lib/services/pubsub.d.ts.map +1 -1
  131. package/lib/services/pubsub.js +33 -33
  132. package/lib/services/pubsub.js.map +1 -1
  133. package/lib/services/rabbitmq.d.ts +92 -41
  134. package/lib/services/rabbitmq.d.ts.map +1 -1
  135. package/lib/services/rabbitmq.js +36 -33
  136. package/lib/services/rabbitmq.js.map +1 -1
  137. package/lib/services/registry.d.ts +26 -22
  138. package/lib/services/registry.d.ts.map +1 -1
  139. package/lib/services/registry.js +1 -1
  140. package/lib/services/registry.js.map +1 -1
  141. package/lib/services/resource_manager.d.ts +56 -56
  142. package/lib/services/resource_manager.d.ts.map +1 -1
  143. package/lib/services/resource_manager.js +32 -32
  144. package/lib/services/resource_manager.js.map +1 -1
  145. package/lib/services/run_command.d.ts +42 -42
  146. package/lib/services/run_command.d.ts.map +1 -1
  147. package/lib/services/run_command.js +1 -1
  148. package/lib/services/run_command.js.map +1 -1
  149. package/lib/services/sca.d.ts +349 -213
  150. package/lib/services/sca.d.ts.map +1 -1
  151. package/lib/services/sca.js +31 -23
  152. package/lib/services/sca.js.map +1 -1
  153. package/lib/services/scf.d.ts +24 -24
  154. package/lib/services/scf.d.ts.map +1 -1
  155. package/lib/services/scf.js +33 -33
  156. package/lib/services/scf.js.map +1 -1
  157. package/lib/services/secrets_manager.d.ts +21 -21
  158. package/lib/services/secrets_manager.d.ts.map +1 -1
  159. package/lib/services/secrets_manager.js +39 -39
  160. package/lib/services/secrets_manager.js.map +1 -1
  161. package/lib/services/server_backup.d.ts +31 -31
  162. package/lib/services/server_backup.d.ts.map +1 -1
  163. package/lib/services/server_backup.js +25 -25
  164. package/lib/services/server_backup.js.map +1 -1
  165. package/lib/services/server_update.d.ts +17 -17
  166. package/lib/services/server_update.d.ts.map +1 -1
  167. package/lib/services/server_update.js +1 -1
  168. package/lib/services/server_update.js.map +1 -1
  169. package/lib/services/service_account.d.ts +30 -30
  170. package/lib/services/service_account.d.ts.map +1 -1
  171. package/lib/services/service_account.js +26 -26
  172. package/lib/services/service_account.js.map +1 -1
  173. package/lib/services/service_enablement.d.ts +22 -21
  174. package/lib/services/service_enablement.d.ts.map +1 -1
  175. package/lib/services/service_enablement.js +1 -1
  176. package/lib/services/service_enablement.js.map +1 -1
  177. package/lib/services/sfs.d.ts +151 -141
  178. package/lib/services/sfs.d.ts.map +1 -1
  179. package/lib/services/sfs.js +46 -45
  180. package/lib/services/sfs.js.map +1 -1
  181. package/lib/services/ske.d.ts +121 -110
  182. package/lib/services/ske.d.ts.map +1 -1
  183. package/lib/services/ske.js +21 -21
  184. package/lib/services/ske.js.map +1 -1
  185. package/lib/services/sqlserverflex.d.ts +47 -47
  186. package/lib/services/sqlserverflex.d.ts.map +1 -1
  187. package/lib/services/sqlserverflex.js +36 -36
  188. package/lib/services/sqlserverflex.js.map +1 -1
  189. package/lib/services/stackit_marketplace.d.ts +39 -39
  190. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  191. package/lib/services/stackit_marketplace.js +22 -22
  192. package/lib/services/stackit_marketplace.js.map +1 -1
  193. package/lib/services/telemetry_link.d.ts +80 -38
  194. package/lib/services/telemetry_link.d.ts.map +1 -1
  195. package/lib/services/telemetry_link.js +34 -33
  196. package/lib/services/telemetry_link.js.map +1 -1
  197. package/lib/services/telemetry_router.d.ts +116 -41
  198. package/lib/services/telemetry_router.d.ts.map +1 -1
  199. package/lib/services/telemetry_router.js +31 -28
  200. package/lib/services/telemetry_router.js.map +1 -1
  201. package/lib/services/ufw.d.ts +55 -54
  202. package/lib/services/ufw.d.ts.map +1 -1
  203. package/lib/services/ufw.js +1 -1
  204. package/lib/services/ufw.js.map +1 -1
  205. package/lib/services/valkey.d.ts +94 -43
  206. package/lib/services/valkey.d.ts.map +1 -1
  207. package/lib/services/valkey.js +35 -32
  208. package/lib/services/valkey.js.map +1 -1
  209. package/lib/services/vpn.d.ts +150 -142
  210. package/lib/services/vpn.d.ts.map +1 -1
  211. package/lib/services/vpn.js +40 -40
  212. package/lib/services/vpn.js.map +1 -1
  213. package/lib/services/workflows.d.ts +65 -65
  214. package/lib/services/workflows.d.ts.map +1 -1
  215. package/lib/services/workflows.js +23 -23
  216. package/lib/services/workflows.js.map +1 -1
  217. package/lib/services.lazy/alb.js +1 -1
  218. package/lib/services.lazy/automation.js +1 -1
  219. package/lib/services.lazy/dns.js +2 -2
  220. package/lib/services.lazy/functions.js +2 -2
  221. package/lib/services.lazy/git.js +2 -2
  222. package/lib/services.lazy/iaas.js +1 -1
  223. package/lib/services.lazy/identity.js +1 -0
  224. package/lib/services.lazy/index.js +2 -2
  225. package/lib/services.lazy/load_balancer.js +1 -1
  226. package/lib/services.lazy/logme.js +2 -2
  227. package/lib/services.lazy/logs.js +1 -1
  228. package/lib/services.lazy/mailout.js +4 -0
  229. package/lib/services.lazy/mariadb.js +2 -2
  230. package/lib/services.lazy/opensearch.js +2 -2
  231. package/lib/services.lazy/pim.js +1 -1
  232. package/lib/services.lazy/postgres_flex.js +1 -1
  233. package/lib/services.lazy/rabbitmq.js +2 -2
  234. package/lib/services.lazy/resource_manager.js +1 -1
  235. package/lib/services.lazy/sca.js +2 -2
  236. package/lib/services.lazy/secrets_manager.js +1 -1
  237. package/lib/services.lazy/sfs.js +2 -2
  238. package/lib/services.lazy/ske.js +1 -1
  239. package/lib/services.lazy/telemetry_link.js +1 -1
  240. package/lib/services.lazy/telemetry_router.js +2 -2
  241. package/lib/services.lazy/valkey.js +2 -2
  242. package/lib/services.lazy/vpn.js +1 -1
  243. package/package.json +5 -5
  244. package/src/pagination.ts +7 -3
  245. package/src/protocol.ts +10 -10
  246. package/src/services/alb.ts +135 -132
  247. package/src/services/alb_waf.ts +51 -51
  248. package/src/services/authorization.ts +15 -15
  249. package/src/services/automation.ts +53 -49
  250. package/src/services/cdn.ts +129 -129
  251. package/src/services/certificates.ts +40 -40
  252. package/src/services/cost.ts +15 -15
  253. package/src/services/dns.ts +497 -269
  254. package/src/services/dremio.ts +156 -118
  255. package/src/services/edge.ts +21 -21
  256. package/src/services/functions.ts +176 -172
  257. package/src/services/git.ts +354 -108
  258. package/src/services/iaas.ts +438 -415
  259. package/src/services/identity.ts +625 -0
  260. package/src/services/index.ts +2 -0
  261. package/src/services/intake.ts +58 -58
  262. package/src/services/kms.ts +13 -13
  263. package/src/services/lb_ip_lists.ts +14 -14
  264. package/src/services/load_balancer.ts +129 -126
  265. package/src/services/logme.ts +294 -122
  266. package/src/services/logs.ts +123 -72
  267. package/src/services/mailout.ts +1277 -0
  268. package/src/services/mariadb.ts +277 -105
  269. package/src/services/model_experiments.ts +33 -33
  270. package/src/services/model_serving.ts +25 -25
  271. package/src/services/mongodb_flex.ts +142 -137
  272. package/src/services/object_storage.ts +6 -6
  273. package/src/services/observability.ts +369 -362
  274. package/src/services/opensearch.ts +286 -114
  275. package/src/services/pim.ts +362 -278
  276. package/src/services/postgres_flex.ts +191 -179
  277. package/src/services/pubsub.ts +36 -36
  278. package/src/services/rabbitmq.ts +297 -125
  279. package/src/services/registry.ts +30 -26
  280. package/src/services/resource_manager.ts +57 -57
  281. package/src/services/run_command.ts +42 -42
  282. package/src/services/sca.ts +732 -371
  283. package/src/services/scf.ts +24 -24
  284. package/src/services/secrets_manager.ts +22 -22
  285. package/src/services/server_backup.ts +31 -31
  286. package/src/services/server_update.ts +17 -17
  287. package/src/services/service_account.ts +32 -30
  288. package/src/services/service_enablement.ts +28 -24
  289. package/src/services/sfs.ts +404 -395
  290. package/src/services/ske.ts +258 -228
  291. package/src/services/sqlserverflex.ts +47 -47
  292. package/src/services/stackit_marketplace.ts +39 -39
  293. package/src/services/telemetry_link.ts +136 -81
  294. package/src/services/telemetry_router.ts +283 -94
  295. package/src/services/ufw.ts +56 -54
  296. package/src/services/valkey.ts +290 -118
  297. package/src/services/vpn.ts +152 -142
  298. package/src/services/workflows.ts +65 -65
@@ -58,256 +58,257 @@ export type ContainerArgsList = Array<string>;
58
58
  /** Container command override. */
59
59
  export type ContainerCommandList = Array<string>;
60
60
  /** EnvVarType identifies the origin of an environment variable. - ENV_FROM_SOURCE_TYPE_UNSPECIFIED: Used as zero value. - ENV_FROM_SOURCE_TYPE_MANUAL: Environment source from a literal value. - ENV_FROM_SOURCE_TYPE_SECRET: Environment source from a secret. */
61
- export type EnvVarType =
61
+ export type ContainerEnvVarType =
62
62
  | "ENV_FROM_SOURCE_TYPE_UNSPECIFIED"
63
63
  | "ENV_FROM_SOURCE_TYPE_MANUAL"
64
64
  | "ENV_FROM_SOURCE_TYPE_SECRET";
65
65
  /** EnvVar defines a single environment variable. */
66
- export interface EnvVar {
66
+ export interface ContainerEnvVar {
67
67
  /** Environment variable key. */
68
68
  key: string;
69
- origin?: EnvVarType | (string & {});
69
+ origin?: ContainerEnvVarType | (string & {}) | undefined;
70
70
  /** Environment variable value. */
71
71
  value: string;
72
72
  }
73
73
  /** Environment variables exposed to the container. */
74
- export type ContainerEnvironmentVariablesList = Array<EnvVar>;
74
+ export type ContainerEnvironmentVariablesList = Array<ContainerEnvVar>;
75
75
  /** Container describes a simplified container configuration for the application. */
76
76
  export interface Container {
77
77
  /** Container argument override. */
78
- args?: ContainerArgsList;
78
+ args?: ContainerArgsList | undefined;
79
79
  /** Container command override. */
80
- command?: ContainerCommandList;
80
+ command?: ContainerCommandList | undefined;
81
81
  /** CPU limit for the container. */
82
- cpu?: number;
82
+ cpu?: number | undefined;
83
83
  /** Environment variables exposed to the container. */
84
- environmentVariables?: ContainerEnvironmentVariablesList;
84
+ environmentVariables?: ContainerEnvironmentVariablesList | undefined;
85
85
  /** Container image configuration. */
86
86
  image: string;
87
87
  /** Memory limit for the container. */
88
- memory?: number;
88
+ memory?: number | undefined;
89
89
  /** Container name. */
90
90
  name: string;
91
91
  }
92
92
  /** Containers to deploy for the application. */
93
93
  export type CreateApplicationRequestContainersList = Array<Container>;
94
- /** Allowed destination CIDRs for Ingress traffic. */
95
- export type NetworkIngressAclList = Array<string>;
94
+ export interface ApplicationInternalNetwork {
95
+ /** Enable or disable internal networking. */
96
+ enabled: boolean;
97
+ /** Port to expose the application internally. */
98
+ port?: number | undefined;
99
+ }
100
+ /** List of IPv4 CIDR ranges that the application is allowed to communicate with. */
101
+ export type ApplicationAccessControlEgressList = Array<string>;
102
+ /** List of IPv4 CIDR ranges allowed to access the application. */
103
+ export type ApplicationAccessControlIngressList = Array<string>;
104
+ export interface ApplicationAccessControl {
105
+ /** List of IPv4 CIDR ranges that the application is allowed to communicate with. */
106
+ egress?: ApplicationAccessControlEgressList | undefined;
107
+ /** List of IPv4 CIDR ranges allowed to access the application. */
108
+ ingress?: ApplicationAccessControlIngressList | undefined;
109
+ }
110
+ export interface ApplicationPublicNetwork {
111
+ accessControl?: ApplicationAccessControl | undefined;
112
+ /** Enable or disable public networking. */
113
+ enabled: boolean;
114
+ /** Port to expose the application. */
115
+ port?: number | undefined;
116
+ }
96
117
  /** Network configuration for an application. */
97
- export interface Network {
98
- /** Allowed destination CIDRs for Ingress traffic. */
99
- ingressAcl?: NetworkIngressAclList;
100
- /** Internal port number for inter application communication. */
101
- internalPort?: number;
102
- /** Port number. */
103
- port?: number;
104
- /** Whether the application should be accessible from the internet. */
105
- publicIngress?: boolean;
106
- }
107
- export interface ApplicationRegistryCredentialsAuth {
108
- /** Password to authenticate to the registry. Omit or set to null to indicate deletion in updates. */
109
- password?: string | Redacted.Redacted<string>;
110
- url: string;
111
- user: string;
112
- }
113
- export type ApplicationRegistryAuthType = "AUTH_TYPE_NONE" | "AUTH_TYPE_CREDENTIALS";
114
- export interface ApplicationRegistry {
115
- credentials?: ApplicationRegistryCredentialsAuth;
116
- type: ApplicationRegistryAuthType | (string & {});
117
- }
118
- /** Image registry configuration for the application. */
119
- export type CreateApplicationRequestRegistryList = Array<ApplicationRegistry>;
120
- /** - CURRENT_STATUS_UNSPECIFIED: Used as zero value. - CURRENT_STATUS_PROGRESSING: Applications replicas are being created. - CURRENT_STATUS_RUNNING: Application is ready and has the desired replicas running. - CURRENT_STATUS_FAILED: Application is not available and has some error. - CURRENT_STATUS_IDLE: Application is ready but is scaled to 0 replicas. - CURRENT_STATUS_NONE: Application is stopped. */
121
- export type CurrentStatus =
122
- | "CURRENT_STATUS_UNSPECIFIED"
123
- | "CURRENT_STATUS_PROGRESSING"
124
- | "CURRENT_STATUS_RUNNING"
125
- | "CURRENT_STATUS_FAILED"
126
- | "CURRENT_STATUS_IDLE"
127
- | "CURRENT_STATUS_NONE";
128
- export interface RuntimeStatusInput {
129
- currentStatus?: CurrentStatus | (string & {});
118
+ export interface ApplicationNetwork {
119
+ internal?: ApplicationInternalNetwork | undefined;
120
+ public?: ApplicationPublicNetwork | undefined;
130
121
  }
131
- /** CustomRuleParameter defines a single scaler parameter. */
132
- export interface CustomRuleParameter {
122
+ /** CustomRuleParameter defines a single scaler parameter from KEDA Scaler metadata configuration. */
123
+ export interface ApplicationCustomRuleParameter {
124
+ /** Parameter name/key from KEDA metadata parameters. */
133
125
  name: string;
126
+ /** Parameter value for KEDA metadata key. */
134
127
  value: string;
135
128
  }
136
129
  /** Scaler parameters. */
137
- export type CustomScaleRuleParametersList = Array<CustomRuleParameter>;
130
+ export type ApplicationCustomScaleRuleParametersList = Array<ApplicationCustomRuleParameter>;
138
131
  /** CustomRuleSecretMapping maps a scaler parameter to an environment secret. */
139
- export interface CustomRuleSecretMapping {
132
+ export interface ApplicationCustomRuleSecretMapping {
140
133
  /** Secret parameter name. */
141
134
  parameter: string;
142
135
  /** Environment secret name. */
143
136
  secret: string | Redacted.Redacted<string>;
144
137
  }
145
138
  /** Secret mappings for the scaler. */
146
- export type CustomScaleRuleSecretsMappingList = Array<CustomRuleSecretMapping>;
147
- /** CustomScaleRule defines parameters for custom scalers (e.g., KEDA). */
148
- export interface CustomScaleRule {
139
+ export type ApplicationCustomScaleRuleSecretsMappingList =
140
+ Array<ApplicationCustomRuleSecretMapping>;
141
+ /** CustomScaleRule defines parameters for KEDA Scalers. */
142
+ export interface ApplicationCustomScaleRule {
149
143
  /** Scaler parameters. */
150
- parameters?: CustomScaleRuleParametersList;
144
+ parameters?: ApplicationCustomScaleRuleParametersList | undefined;
151
145
  /** Secret mappings for the scaler. */
152
- secretsMapping?: CustomScaleRuleSecretsMappingList;
146
+ secretsMapping?: ApplicationCustomScaleRuleSecretsMappingList | undefined;
153
147
  /** Scaler type. */
154
148
  type: string;
155
149
  }
156
150
  /** HttpScaleRule defines parameters for HTTP-based scaling. */
157
- export interface HttpScaleRule {
151
+ export interface ApplicationHttpScaleRule {
158
152
  /** Target concurrency per instance. */
159
- concurrency?: number;
153
+ concurrency?: number | undefined;
160
154
  /** Target requests per second per instance. */
161
- rps?: number;
155
+ rps?: number | undefined;
162
156
  }
163
157
  /** - RULE_TYPE_UNSPECIFIED: Used as zero value. - RULE_TYPE_HTTP: HTTP scaling rule. - RULE_TYPE_CUSTOM: Custom scaling rule (e.g. KEDA). */
164
- export type RuleType = "RULE_TYPE_UNSPECIFIED" | "RULE_TYPE_HTTP" | "RULE_TYPE_CUSTOM";
158
+ export type ApplicationRuleType = "RULE_TYPE_UNSPECIFIED" | "RULE_TYPE_HTTP" | "RULE_TYPE_CUSTOM";
165
159
  /** ScaleRule defines one autoscaling trigger. */
166
- export interface ScaleRule {
167
- customRule?: CustomScaleRule;
168
- httpRule?: HttpScaleRule;
160
+ export interface ApplicationScaleRule {
161
+ customRule?: ApplicationCustomScaleRule | undefined;
162
+ httpRule?: ApplicationHttpScaleRule | undefined;
169
163
  /** Rule name. */
170
164
  name: string;
171
- type: RuleType | (string & {});
165
+ type: ApplicationRuleType | (string & {});
172
166
  }
173
167
  /** Scaling rules. */
174
- export type AutoScalingRulesList = Array<ScaleRule>;
168
+ export type ApplicationAutoScalingRulesList = Array<ApplicationScaleRule>;
175
169
  /** AutoScaling configuration. */
176
- export interface AutoScaling {
170
+ export interface ApplicationAutoScaling {
177
171
  /** Allow automatically scale to zero. */
178
- allowScaleToZero?: boolean;
172
+ allowScaleToZero?: boolean | undefined;
179
173
  /** Maximum number of instances. */
180
174
  maxInstances: number;
181
175
  /** Minimum number of instances. */
182
176
  minInstances: number;
183
177
  /** Scaling rules. */
184
- rules: AutoScalingRulesList;
178
+ rules: ApplicationAutoScalingRulesList;
185
179
  }
186
180
  /** ManualScaling configuration. */
187
- export interface ManualScaling {
181
+ export interface ApplicationManualScaling {
188
182
  /** Number of instances to run. */
189
183
  instances: number;
190
184
  }
191
- /** - SCALING_TYPE_UNSPECIFIED: Used as zero value. - SCALING_TYPE_AUTO: Auto scaling based on rules. - SCALING_TYPE_MANUAL: Manual scaling with fixed number of instances. */
192
- export type ScalingType = "SCALING_TYPE_UNSPECIFIED" | "SCALING_TYPE_AUTO" | "SCALING_TYPE_MANUAL";
185
+ /** ScalingType for the scaling configuration of the application. - SCALING_TYPE_UNSPECIFIED: Used as zero value. - SCALING_TYPE_AUTO: Auto scaling based on rules. - SCALING_TYPE_MANUAL: Manual scaling with fixed number of instances. */
186
+ export type ApplicationScalingType =
187
+ | "SCALING_TYPE_UNSPECIFIED"
188
+ | "SCALING_TYPE_AUTO"
189
+ | "SCALING_TYPE_MANUAL";
193
190
  /** Scaling configuration for the application. */
194
- export interface Scaling {
195
- autoScaling?: AutoScaling;
196
- manualScaling?: ManualScaling;
197
- type: ScalingType | (string & {});
191
+ export interface ApplicationScaling {
192
+ autoScaling?: ApplicationAutoScaling | undefined;
193
+ manualScaling?: ApplicationManualScaling | undefined;
194
+ type: ApplicationScalingType | (string & {});
198
195
  }
199
- /** ApplicationSecret defines a single secret key-value pair. */
200
- export interface ApplicationSecret {
201
- /** Secret key. */
202
- key: string;
203
- /** Secret value. Omit or set to null to keep the existing value unchanged. */
204
- value?: string;
205
- }
206
- /** Secrets associated with the application. */
207
- export type CreateApplicationRequestSecretsList = Array<ApplicationSecret>;
208
196
  export interface CreateApplicationRequest {
209
197
  /** Project to create the application in. */
210
198
  projectId: string;
211
- /** environment to create the application in. */
199
+ /** Region to create the application in. */
200
+ region: string;
201
+ /** Environment to create the application in. */
212
202
  environmentId: string;
213
203
  /** Containers to deploy for the application. */
214
204
  containers: CreateApplicationRequestContainersList;
215
205
  /** Human-readable display name. */
216
206
  displayName: string;
217
- network?: Network;
218
- /** Image registry configuration for the application. */
219
- registry?: CreateApplicationRequestRegistryList;
220
- runtimeStatus?: RuntimeStatusInput;
221
- scaling: Scaling;
222
- /** Secrets associated with the application. */
223
- secrets?: CreateApplicationRequestSecretsList;
207
+ network?: ApplicationNetwork | undefined;
208
+ scaling: ApplicationScaling;
224
209
  /** Indicates if the application resources are stopped. */
225
- stopped?: boolean;
210
+ stopped?: boolean | undefined;
226
211
  }
227
212
  /** Containers to deploy for the application. */
228
213
  export type ApplicationContainersList = Array<Container>;
229
- /** Image registry configuration for the application. */
230
- export type ApplicationRegistryList = Array<ApplicationRegistry>;
231
- /** Failure reasons collected from workload conditions. */
232
- export type RuntimeStatusFailureReasonsList = Array<string>;
214
+ /** Current status of the application. - CURRENT_STATUS_UNSPECIFIED: Used as zero value. - CURRENT_STATUS_PROGRESSING: Applications replicas are being created. - CURRENT_STATUS_RUNNING: Application is ready and has the desired replicas running. - CURRENT_STATUS_FAILED: Application is not available and has some error. - CURRENT_STATUS_IDLE: Application is ready but is scaled to 0 replicas. - CURRENT_STATUS_NONE: Application is stopped. */
215
+ export type ApplicationCurrentStatus =
216
+ | "CURRENT_STATUS_UNSPECIFIED"
217
+ | "CURRENT_STATUS_PROGRESSING"
218
+ | "CURRENT_STATUS_RUNNING"
219
+ | "CURRENT_STATUS_FAILED"
220
+ | "CURRENT_STATUS_IDLE"
221
+ | "CURRENT_STATUS_NONE";
222
+ /** List of application domains. */
223
+ export interface ApplicationDomains {
224
+ /** Default domain for the application. */
225
+ default?: string | undefined;
226
+ /** Internal domain for the application. */
227
+ internal?: string | undefined;
228
+ }
233
229
  /** - INSTANCE_STATUS_PROGRESSING: Instance is being created. - INSTANCE_STATUS_RUNNING: Instance is available and running. - INSTANCE_STATUS_FAILED: Instance is not available and has some error. */
234
- export type InstanceStatus =
230
+ export type ApplicationInstanceStatus =
235
231
  | "INSTANCE_STATUS_PROGRESSING"
236
232
  | "INSTANCE_STATUS_RUNNING"
237
233
  | "INSTANCE_STATUS_FAILED";
238
234
  /** Application instance summary. */
239
- export interface Instance {
235
+ export interface ApplicationInstance {
240
236
  /** Instance's name. */
241
- name?: string;
242
- status?: InstanceStatus;
243
- }
244
- export type RuntimeStatusInstancesList = Array<Instance>;
245
- /** Known URLs for the running application. */
246
- export type RuntimeStatusUrlsList = Array<string>;
247
- export interface RuntimeStatus {
248
- currentStatus?: CurrentStatus;
249
- /** Failure reasons collected from workload conditions. */
250
- failureReasons?: RuntimeStatusFailureReasonsList;
251
- instances?: RuntimeStatusInstancesList;
252
- /** Internal URL for the running application. */
253
- internalUrl?: string;
237
+ name?: string | undefined;
238
+ status?: ApplicationInstanceStatus | undefined;
239
+ }
240
+ export type ApplicationStatusInstancesList = Array<ApplicationInstance>;
241
+ /** Status of the application. */
242
+ export interface ApplicationStatus {
243
+ current?: ApplicationCurrentStatus | undefined;
244
+ domains?: ApplicationDomains | undefined;
245
+ instances?: ApplicationStatusInstancesList | undefined;
254
246
  /** Last time the application was deployed. */
255
- lastDeployment?: string;
256
- /** Known URLs for the running application. */
257
- urls?: RuntimeStatusUrlsList;
247
+ lastDeployment?: string | undefined;
258
248
  }
259
- /** Secrets associated with the application. */
260
- export type ApplicationSecretsList = Array<ApplicationSecret>;
261
249
  /** Application describes a deployable multi-container workload instance. */
262
250
  export interface Application {
263
251
  /** Containers to deploy for the application. */
264
252
  containers: ApplicationContainersList;
253
+ /** Creation date in RFC3339 format. */
254
+ createdAt?: string | undefined;
265
255
  /** Human-readable display name. */
266
256
  displayName: string;
267
- /** Application environment ID. */
268
- environmentId?: string;
269
- /** Application human-readable display name. */
270
- environmentName?: string;
271
- /** Application identifier, for example: 00000000-0000-0000-0000-000000000000. */
272
- id?: string;
273
- network?: Network;
274
- /** Image registry configuration for the application. */
275
- registry?: ApplicationRegistryList;
276
- runtimeStatus?: RuntimeStatus;
277
- scaling: Scaling;
278
- /** Secrets associated with the application. */
279
- secrets?: ApplicationSecretsList;
257
+ /** Environment identifier where the application belongs. */
258
+ environmentId?: string | undefined;
259
+ /** Environment human-readable display name. */
260
+ environmentName?: string | undefined;
261
+ /** Application identifier. */
262
+ id?: string | undefined;
263
+ network?: ApplicationNetwork | undefined;
264
+ /** Region of the environment. */
265
+ region?: string | undefined;
266
+ scaling: ApplicationScaling;
267
+ status?: ApplicationStatus | undefined;
280
268
  /** Indicates if the application resources are stopped. */
281
- stopped?: boolean;
269
+ stopped?: boolean | undefined;
270
+ /** Last update date in RFC3339 format. */
271
+ updatedAt?: string | undefined;
282
272
  }
283
- /** - ENVIRONMENT_STATUS_UNSPECIFIED: Used as zero value. - ENVIRONMENT_STATUS_PROGRESSING: Environment is being created. - ENVIRONMENT_STATUS_CREATED: Environment is successfully created. */
284
- export type EnvironmentStatus =
285
- | "ENVIRONMENT_STATUS_UNSPECIFIED"
286
- | "ENVIRONMENT_STATUS_PROGRESSING"
287
- | "ENVIRONMENT_STATUS_CREATED";
288
273
  export interface CreateEnvironmentRequest {
289
- /** Parent project resource name to create under */
274
+ /** Project to create the environment */
290
275
  projectId: string;
276
+ /** Region to place the environment */
277
+ region: string;
291
278
  /** Human-readable display name. */
292
279
  displayName: string;
293
- status?: EnvironmentStatus | (string & {});
280
+ }
281
+ /** - CURRENT_STATUS_UNSPECIFIED: Used as zero value. - CURRENT_STATUS_PROGRESSING: Environment is being created. - CURRENT_STATUS_CREATED: Environment is successfully created. */
282
+ export type EnvironmentCurrentStatus =
283
+ | "CURRENT_STATUS_UNSPECIFIED"
284
+ | "CURRENT_STATUS_PROGRESSING"
285
+ | "CURRENT_STATUS_CREATED";
286
+ /** Status of the environment. */
287
+ export interface EnvironmentStatus {
288
+ /** Amount of applications in the environment. */
289
+ applicationsNumber?: number | undefined;
290
+ current?: EnvironmentCurrentStatus | undefined;
294
291
  }
295
292
  /** Environment describes an isolated container scope within a project. */
296
293
  export interface Environment {
297
294
  /** Creation date in RFC3339 format. */
298
- createdAt?: string;
295
+ createdAt?: string | undefined;
299
296
  /** Is the default environmet. */
300
- default?: boolean;
297
+ default?: boolean | undefined;
301
298
  /** Human-readable display name. */
302
299
  displayName: string;
303
- /** Environment identifier, for example: default. */
304
- id?: string;
305
- status?: EnvironmentStatus;
300
+ /** Environment identifier. */
301
+ id?: string | undefined;
302
+ /** Region of the environment. */
303
+ region?: string | undefined;
304
+ status?: EnvironmentStatus | undefined;
306
305
  }
307
306
  export interface DeleteApplicationRequest {
308
307
  /** Project to delete the application in. */
309
308
  projectId: string;
310
- /** environment to delete the application in. */
309
+ /** Region to delete the application in. */
310
+ region: string;
311
+ /** Environment to delete the application in. */
311
312
  environmentId: string;
312
313
  /** Application id to delete. */
313
314
  applicationId: string;
@@ -315,179 +316,306 @@ export interface DeleteApplicationRequest {
315
316
  export interface GetApplicationRequest {
316
317
  /** Project to fetch the application from. */
317
318
  projectId: string;
318
- /** environment to fetch the application from. */
319
+ /** Region to fetch the application from. */
320
+ region: string;
321
+ /** Environment to fetch the application from. */
319
322
  environmentId: string;
320
323
  /** Application id to fetch. */
321
324
  applicationId: string;
322
325
  }
323
326
  export interface GetApplicationEventsRequest {
324
- /** Project to fetch the application from. */
327
+ /** Project to fetch the application events from. */
325
328
  projectId: string;
326
- /** Environment to fetch the application from. */
329
+ /** Region to fetch the application events from. */
330
+ region: string;
331
+ /** Environment to fetch the application events from. */
327
332
  environmentId: string;
328
- /** Application id to fetch. */
333
+ /** Application id to fetch the events. */
329
334
  applicationId: string;
330
335
  }
331
336
  /** Event defines an event line. */
332
- export interface Event {
337
+ export interface ApplicationEvent {
333
338
  /** Event message. */
334
- message?: string;
339
+ message?: string | undefined;
335
340
  }
336
341
  /** Events list. */
337
- export type GetApplicationEventsResponseEventsList = Array<Event>;
342
+ export type GetApplicationEventsResponseEventsList = Array<ApplicationEvent>;
338
343
  /** GetApplicationEventsResponse contains an application's events list. */
339
344
  export interface GetApplicationEventsResponse {
340
345
  /** Events list. */
341
- events?: GetApplicationEventsResponseEventsList;
346
+ events?: GetApplicationEventsResponseEventsList | undefined;
342
347
  }
343
348
  export interface GetApplicationLogsRequest {
344
- /** Project to fetch the application from. */
349
+ /** Project to fetch the application logs from. */
345
350
  projectId: string;
346
- /** Environment to fetch the application from. */
351
+ /** Region to fetch the application logs from. */
352
+ region: string;
353
+ /** Environment to fetch the application logs from. */
347
354
  environmentId: string;
348
- /** Application id to fetch. */
355
+ /** Application id to fetch the logs. */
349
356
  applicationId: string;
350
357
  /** Instance name of the application. */
351
358
  instance: string;
352
359
  /** Container name to collect logs. */
353
360
  container: string;
354
361
  /** Get previous failed execution of the container. */
355
- previous?: boolean;
362
+ previous?: boolean | undefined;
356
363
  }
357
364
  /** Log defines a log line. */
358
- export interface Log {
365
+ export interface ApplicationLog {
359
366
  /** Log message. */
360
- message?: string;
367
+ message?: string | undefined;
361
368
  }
362
369
  /** Logs list. */
363
- export type GetApplicationLogsResponseLogsList = Array<Log>;
370
+ export type GetApplicationLogsResponseLogsList = Array<ApplicationLog>;
364
371
  /** GetApplicationLogsResponse contains an application's logs list. */
365
372
  export interface GetApplicationLogsResponse {
366
373
  /** Logs list. */
367
- logs?: GetApplicationLogsResponseLogsList;
374
+ logs?: GetApplicationLogsResponseLogsList | undefined;
368
375
  }
369
376
  export interface GetEnvironmentRequest {
370
- /** Parent project resource name to fetch under. */
377
+ /** Project to retrieve the environment */
371
378
  projectId: string;
379
+ /** Region to fetch the environment */
380
+ region: string;
372
381
  /** Environment identifier, for example: default. */
373
382
  environmentId: string;
374
383
  }
375
384
  export interface GetOverviewRequest {
376
- /** Parent project resource name to list under. */
385
+ /** Project to fetch the overview from. */
377
386
  projectId: string;
387
+ /** Region to fetch the overview from. */
388
+ region: string;
378
389
  }
379
390
  /** Summary describes the current status of a project. */
380
- export interface Summary {
391
+ export interface OverviewSummary {
381
392
  /** Number of applications running in a project. */
382
- applicationsRunning?: number;
393
+ applicationsRunning?: number | undefined;
383
394
  /** Number of applications created in a project. */
384
- applicationsTotal?: number;
395
+ applicationsTotal?: number | undefined;
385
396
  }
386
397
  /** GetOverviewResponse contains a summary of the current state of the project's application. */
387
398
  export interface GetOverviewResponse {
388
- summary: Summary;
399
+ /** Region where the overview is being fetched from. */
400
+ region?: string | undefined;
401
+ summary?: OverviewSummary | undefined;
389
402
  }
390
403
  export interface ListApplicationsRequest {
391
- /** Project to list the applications in. */
404
+ /** Project to list the applications from. */
392
405
  projectId: string;
393
- /** environment to list the applications in. */
406
+ /** Region to list the applications from. */
407
+ region: string;
408
+ /** Environment to list the applications from. */
394
409
  environmentId: string;
395
410
  }
396
- /** ApplicationSummary describes a summary of an application. */
411
+ /** ApplicationSummary describes a briefer representation of an application. */
397
412
  export interface ApplicationSummary {
398
- /** Number of containers. */
399
- containers?: number;
400
413
  /** Creation date in RFC3339 format. */
401
- createdAt?: string;
402
- /** Application's human-readable name. */
403
- displayName?: string;
404
- /** Environment's identifier. */
405
- environmentId?: string;
406
- /** Environment's human-readable name. */
407
- environmentName?: string;
408
- /** Application identifier, for example: 00000000-0000-0000-0000-000000000000. */
409
- id?: string;
410
- /** Application's running instances. */
411
- instances?: number;
412
- /** Application's internal URL. */
413
- internalUrl?: string;
414
- /** Date of the last moment the application got the running status in RFC3339 format. */
415
- lastDeployment?: string;
416
- status?: CurrentStatus;
414
+ createdAt?: string | undefined;
415
+ /** Human-readable display name. */
416
+ displayName?: string | undefined;
417
+ /** Environment identifier where the application belongs. */
418
+ environmentId?: string | undefined;
419
+ /** Environment human-readable display name. */
420
+ environmentName?: string | undefined;
421
+ /** Application identifier. */
422
+ id?: string | undefined;
423
+ /** Region of the environment. */
424
+ region?: string | undefined;
425
+ status?: ApplicationStatus | undefined;
417
426
  /** Indicates if the application resources are stopped. */
418
- stopped?: boolean;
419
- /** Application's published URL. */
420
- url?: string;
427
+ stopped?: boolean | undefined;
428
+ /** Last update date in RFC3339 format. */
429
+ updatedAt?: string | undefined;
421
430
  }
422
- /** Applications under the requested parent. */
431
+ /** Applications summaries under the requested parent. */
423
432
  export type ListApplicationsResponseItemsList = Array<ApplicationSummary>;
424
433
  /** ListApplicationsResponse contains applications and pagination metadata. */
425
434
  export interface ListApplicationsResponse {
426
- /** Applications under the requested parent. */
427
- items?: ListApplicationsResponseItemsList;
435
+ /** Applications summaries under the requested parent. */
436
+ items?: ListApplicationsResponseItemsList | undefined;
428
437
  }
429
- export interface ListEnvironmentsRequest {
430
- /** Parent project resource name to list under. */
438
+ export interface ListEnvironmentRegistriesRequest {
439
+ /** Project to fetch the environment registries from. */
431
440
  projectId: string;
441
+ /** Region to fetch the environment registries from. */
442
+ region: string;
443
+ /** Environment to fetch the environment registries from. */
444
+ environmentId: string;
432
445
  }
433
- /** Environment summary. */
434
- export interface EnvironmentSummary {
435
- /** Amount of applications in the environment. */
436
- applicationsNumber?: number;
437
- /** Creation date in RFC3339 format. */
438
- createdAt?: string;
439
- /** Is the default environmet. */
440
- default?: boolean;
441
- /** Human-readable display name. */
442
- displayName?: string;
443
- /** Environment identifier, for example: default. */
444
- id?: string;
446
+ /** RegistryConsumer lists the usages of a single Environment registry. */
447
+ export interface RegistryConsumer {
448
+ /** The container where the registry is used. */
449
+ container?: string | undefined;
450
+ /** The display name of the entity. */
451
+ displayName?: string | undefined;
452
+ /** The entity that is consuming the registry. */
453
+ id?: string | undefined;
454
+ }
455
+ /** List of entities actively consuming this registry. */
456
+ export type EnvironmentRegistryStatusConsumersList = Array<RegistryConsumer>;
457
+ /** EnvironmentRegistryStatus computed fields for a single registry. */
458
+ export interface EnvironmentRegistryStatus {
459
+ /** List of entities actively consuming this registry. */
460
+ consumers?: EnvironmentRegistryStatusConsumersList | undefined;
461
+ }
462
+ /** EnvironmentRegistry defines a single registry representation. */
463
+ export interface EnvironmentRegistry {
464
+ /** Creation timestamp of this registry entry. */
465
+ createdAt?: string | undefined;
466
+ /** Registry password. Omit or set to null to keep the existing value unchanged. */
467
+ password?: string | Redacted.Redacted<string> | undefined;
468
+ /** Registry region. */
469
+ region?: string | undefined;
470
+ /** Registry server. */
471
+ server: string;
472
+ status?: EnvironmentRegistryStatus | undefined;
473
+ /** Last update timestamp of this registry entry. */
474
+ updatedAt?: string | undefined;
475
+ /** Registry username. Omit or set to null to keep the existing value unchanged. */
476
+ username?: string | undefined;
477
+ }
478
+ /** The collection of configured registries. */
479
+ export type EnvironmentRegistriesVaultRegistriesList = Array<EnvironmentRegistry>;
480
+ /** Represents the collection Environment registries. */
481
+ export interface EnvironmentRegistriesVault {
482
+ /** The collection of configured registries. */
483
+ registries: EnvironmentRegistriesVaultRegistriesList;
484
+ }
485
+ export interface ListEnvironmentsRequest {
486
+ /** Project to list environments from. */
487
+ projectId: string;
488
+ /** Region to fetch the environments from. */
489
+ region: string;
445
490
  }
446
491
  /** Environments under the requested parent. */
447
- export type ListEnvironmentsResponseItemsList = Array<EnvironmentSummary>;
492
+ export type ListEnvironmentsResponseItemsList = Array<Environment>;
448
493
  /** ListEnvironmentsResponse contains environments and pagination metadata. */
449
494
  export interface ListEnvironmentsResponse {
450
495
  /** Environments under the requested parent. */
451
- items?: ListEnvironmentsResponseItemsList;
496
+ items?: ListEnvironmentsResponseItemsList | undefined;
497
+ }
498
+ export interface ListEnvironmentSecretsRequest {
499
+ /** Project to fetch the environment secrets from. */
500
+ projectId: string;
501
+ /** Region to fetch the environment secrets from. */
502
+ region: string;
503
+ /** Environment to fetch the environment secrets from. */
504
+ environmentId: string;
505
+ }
506
+ /** SecretConsumer lists the usages of a single Environment secret. */
507
+ export interface SecretConsumer {
508
+ /** The container where the secret is used. */
509
+ container?: string | undefined;
510
+ /** The display name of the entity. */
511
+ displayName?: string | undefined;
512
+ /** The entity that is consuming the secret. */
513
+ id?: string | undefined;
514
+ }
515
+ /** List of entities actively consuming this secret. */
516
+ export type EnvironmentSecretStatusConsumersList = Array<SecretConsumer>;
517
+ /** EnvironmentSecretStatus computed fields for a single secret. */
518
+ export interface EnvironmentSecretStatus {
519
+ /** List of entities actively consuming this secret. */
520
+ consumers?: EnvironmentSecretStatusConsumersList | undefined;
521
+ }
522
+ /** EnvironmentSecret defines a single secret representation. */
523
+ export interface EnvironmentSecret {
524
+ /** Creation timestamp of this registry entry. */
525
+ createdAt?: string | undefined;
526
+ /** Secret key. */
527
+ key: string;
528
+ /** Secret region. */
529
+ region?: string | undefined;
530
+ status?: EnvironmentSecretStatus | undefined;
531
+ /** Last update timestamp of this registry entry. */
532
+ updatedAt?: string | undefined;
533
+ /** Secret value. Omit or set to null to keep the existing value unchanged. */
534
+ value?: string | undefined;
535
+ }
536
+ /** The collection of configured secrets. */
537
+ export type EnvironmentSecretsVaultSecretsList = Array<EnvironmentSecret>;
538
+ /** Represents the vault containing the Environment secrets. */
539
+ export interface EnvironmentSecretsVault {
540
+ /** The collection of configured secrets. */
541
+ secrets: EnvironmentSecretsVaultSecretsList;
452
542
  }
453
543
  export interface ListProjectApplicationsRequest {
454
544
  /** Project to list the applications in. */
455
545
  projectId: string;
546
+ /** Region to list the applications from. */
547
+ region: string;
456
548
  }
457
549
  /** Containers to deploy for the application. */
458
550
  export type UpdateApplicationRequestContainersList = Array<Container>;
459
- /** Image registry configuration for the application. */
460
- export type UpdateApplicationRequestRegistryList = Array<ApplicationRegistry>;
461
- /** Secrets associated with the application. */
462
- export type UpdateApplicationRequestSecretsList = Array<ApplicationSecret>;
463
551
  export interface UpdateApplicationRequest {
464
552
  /** Project to update the application in. */
465
553
  projectId: string;
466
- /** environment to update the application in. */
554
+ /** Region to update the application in. */
555
+ region: string;
556
+ /** Environment to update the application in. */
467
557
  environmentId: string;
468
558
  /** Application id to update. */
469
559
  applicationId: string;
470
560
  /** Containers to deploy for the application. */
471
- containers?: UpdateApplicationRequestContainersList;
472
- network?: Network;
473
- /** Image registry configuration for the application. */
474
- registry?: UpdateApplicationRequestRegistryList;
475
- scaling?: Scaling;
476
- /** Secrets associated with the application. */
477
- secrets?: UpdateApplicationRequestSecretsList;
561
+ containers: UpdateApplicationRequestContainersList;
562
+ /** Human-readable display name. */
563
+ displayName: string;
564
+ network?: ApplicationNetwork | undefined;
565
+ scaling: ApplicationScaling;
478
566
  /** Indicates if the application resources are stopped. */
479
- stopped?: boolean;
567
+ stopped?: boolean | undefined;
568
+ }
569
+ /** EnvironmentRegistry defines a single registry representation. */
570
+ export interface EnvironmentRegistryInput {
571
+ /** Registry password. Omit or set to null to keep the existing value unchanged. */
572
+ password?: string | Redacted.Redacted<string> | undefined;
573
+ /** Registry server. */
574
+ server: string;
575
+ /** Registry username. Omit or set to null to keep the existing value unchanged. */
576
+ username?: string | undefined;
577
+ }
578
+ /** The collection of configured registries. */
579
+ export type UpdateEnvironmentRegistriesRequestRegistriesList = Array<EnvironmentRegistryInput>;
580
+ export interface UpdateEnvironmentRegistriesRequest {
581
+ /** Project to update the environment registries in. */
582
+ projectId: string;
583
+ /** Region to update the environment registries from. */
584
+ region: string;
585
+ /** Environment to update the environment registries in. */
586
+ environmentId: string;
587
+ /** The collection of configured registries. */
588
+ registries: UpdateEnvironmentRegistriesRequestRegistriesList;
589
+ }
590
+ /** EnvironmentSecret defines a single secret representation. */
591
+ export interface EnvironmentSecretInput {
592
+ /** Secret key. */
593
+ key: string;
594
+ /** Secret value. Omit or set to null to keep the existing value unchanged. */
595
+ value?: string | undefined;
596
+ }
597
+ /** The collection of configured secrets. */
598
+ export type UpdateEnvironmentSecretsRequestSecretsList = Array<EnvironmentSecretInput>;
599
+ export interface UpdateEnvironmentSecretsRequest {
600
+ /** Project to update the environment secrets in. */
601
+ projectId: string;
602
+ /** Region to update the environment secrets from. */
603
+ region: string;
604
+ /** Environment to update the environment secrets in. */
605
+ environmentId: string;
606
+ /** The collection of configured secrets. */
607
+ secrets: UpdateEnvironmentSecretsRequestSecretsList;
480
608
  }
481
609
  export type CreateApplicationError = BadRequest | Conflict | StackitOpError;
482
- /** Creates a new application within a environment. */
610
+ /** Creates a new application within an environment. */
483
611
  export const createApplication: API.OperationMethod<
484
612
  CreateApplicationRequest,
485
613
  Application,
486
614
  CreateApplicationError,
487
615
  StackitOpContext
488
616
  > = /*@__PURE__*/ API.make(() => ({
489
- input: __S(193, __c6, 1) as any as S.Schema<CreateApplicationRequest>,
490
- output: __S(249, __c7, 25) as any as S.Schema<Application>,
617
+ input: __S(416, __c13, 0) as any as S.Schema<CreateApplicationRequest>,
618
+ output: __S(500, __c15, 20) as any as S.Schema<Application>,
491
619
  errors: [BadRequest, Conflict, UnknownStackitError],
492
620
  protocol: StackitProtocol,
493
621
  retry: Retry.Retry,
@@ -503,8 +631,8 @@ export const createEnvironment: API.OperationMethod<
503
631
  CreateEnvironmentError,
504
632
  StackitOpContext
505
633
  > = /*@__PURE__*/ API.make(() => ({
506
- input: __S(256, __c8, 0) as any as S.Schema<CreateEnvironmentRequest>,
507
- output: __S(288, __c9, 0) as any as S.Schema<Environment>,
634
+ input: __S(512, __c16, 0) as any as S.Schema<CreateEnvironmentRequest>,
635
+ output: __S(545, __c17, 1) as any as S.Schema<Environment>,
508
636
  errors: [BadRequest, Conflict, UnknownStackitError],
509
637
  protocol: StackitProtocol,
510
638
  retry: Retry.Retry,
@@ -520,8 +648,8 @@ export const deleteApplication: API.OperationMethod<
520
648
  DeleteApplicationError,
521
649
  StackitOpContext
522
650
  > = /*@__PURE__*/ API.make(() => ({
523
- input: __S(320, __c10, 0) as any as S.Schema<DeleteApplicationRequest>,
524
- output: __S(249, __c7, 25) as any as S.Schema<Application>,
651
+ input: __S(576, __c18, 0) as any as S.Schema<DeleteApplicationRequest>,
652
+ output: __S(500, __c15, 20) as any as S.Schema<Application>,
525
653
  errors: [NotFound, UnknownStackitError],
526
654
  protocol: StackitProtocol,
527
655
  retry: Retry.Retry,
@@ -537,8 +665,8 @@ export const getApplication: API.OperationMethod<
537
665
  GetApplicationError,
538
666
  StackitOpContext
539
667
  > = /*@__PURE__*/ API.make(() => ({
540
- input: __S(352, __c11, 0) as any as S.Schema<GetApplicationRequest>,
541
- output: __S(249, __c7, 25) as any as S.Schema<Application>,
668
+ input: __S(608, __c19, 0) as any as S.Schema<GetApplicationRequest>,
669
+ output: __S(500, __c15, 20) as any as S.Schema<Application>,
542
670
  errors: [NotFound, UnknownStackitError],
543
671
  protocol: StackitProtocol,
544
672
  retry: Retry.Retry,
@@ -554,8 +682,8 @@ export const getApplicationEvents: API.OperationMethod<
554
682
  GetApplicationEventsError,
555
683
  StackitOpContext
556
684
  > = /*@__PURE__*/ API.make(() => ({
557
- input: __S(384, __c12, 0) as any as S.Schema<GetApplicationEventsRequest>,
558
- output: __S(385, __c12, 1) as any as S.Schema<GetApplicationEventsResponse>,
685
+ input: __S(640, __c20, 0) as any as S.Schema<GetApplicationEventsRequest>,
686
+ output: __S(641, __c20, 1) as any as S.Schema<GetApplicationEventsResponse>,
559
687
  errors: [NotFound, UnknownStackitError],
560
688
  protocol: StackitProtocol,
561
689
  retry: Retry.Retry,
@@ -571,8 +699,8 @@ export const getApplicationLogs: API.OperationMethod<
571
699
  GetApplicationLogsError,
572
700
  StackitOpContext
573
701
  > = /*@__PURE__*/ API.make(() => ({
574
- input: __S(448, __c14, 0) as any as S.Schema<GetApplicationLogsRequest>,
575
- output: __S(449, __c14, 1) as any as S.Schema<GetApplicationLogsResponse>,
702
+ input: __S(704, __c22, 0) as any as S.Schema<GetApplicationLogsRequest>,
703
+ output: __S(705, __c22, 1) as any as S.Schema<GetApplicationLogsResponse>,
576
704
  errors: [BadRequest, NotFound, UnknownStackitError],
577
705
  protocol: StackitProtocol,
578
706
  retry: Retry.Retry,
@@ -588,8 +716,8 @@ export const getEnvironment: API.OperationMethod<
588
716
  GetEnvironmentError,
589
717
  StackitOpContext
590
718
  > = /*@__PURE__*/ API.make(() => ({
591
- input: __S(480, __c15, 0) as any as S.Schema<GetEnvironmentRequest>,
592
- output: __S(288, __c9, 0) as any as S.Schema<Environment>,
719
+ input: __S(736, __c23, 0) as any as S.Schema<GetEnvironmentRequest>,
720
+ output: __S(545, __c17, 1) as any as S.Schema<Environment>,
593
721
  errors: [NotFound, UnknownStackitError],
594
722
  protocol: StackitProtocol,
595
723
  retry: Retry.Retry,
@@ -598,7 +726,7 @@ export const getEnvironment: API.OperationMethod<
598
726
  }));
599
727
 
600
728
  export type GetOverviewError = StackitOpError;
601
- /** Retrieves the overview for an environment. */
729
+ /** Retrieves an aggregated overview of the project's current state. */
602
730
  export const getOverview: API.OperationMethod<
603
731
  GetOverviewRequest,
604
732
  GetOverviewResponse,
@@ -631,6 +759,23 @@ export const listApplications: API.OperationMethod<
631
759
  span: "ListApplications",
632
760
  }));
633
761
 
762
+ export type ListEnvironmentRegistriesError = NotFound | StackitOpError;
763
+ /** Retrieves the registries defined within an environment. */
764
+ export const listEnvironmentRegistries: API.OperationMethod<
765
+ ListEnvironmentRegistriesRequest,
766
+ EnvironmentRegistriesVault,
767
+ ListEnvironmentRegistriesError,
768
+ StackitOpContext
769
+ > = /*@__PURE__*/ API.make(() => ({
770
+ input: __S(96, __c3, 0) as any as S.Schema<ListEnvironmentRegistriesRequest>,
771
+ output: __S(162, __c5, 2) as any as S.Schema<EnvironmentRegistriesVault>,
772
+ errors: [NotFound, UnknownStackitError],
773
+ protocol: StackitProtocol,
774
+ retry: Retry.Retry,
775
+ telemetry: TELEMETRY,
776
+ span: "ListEnvironmentRegistries",
777
+ }));
778
+
634
779
  export type ListEnvironmentsError = BadRequest | StackitOpError;
635
780
  /** Lists environments within a project. */
636
781
  export const listEnvironments: API.OperationMethod<
@@ -639,8 +784,8 @@ export const listEnvironments: API.OperationMethod<
639
784
  ListEnvironmentsError,
640
785
  StackitOpContext
641
786
  > = /*@__PURE__*/ API.make(() => ({
642
- input: __S(96, __c3, 0) as any as S.Schema<ListEnvironmentsRequest>,
643
- output: __S(99, __c3, 3) as any as S.Schema<ListEnvironmentsResponse>,
787
+ input: __S(192, __c6, 0) as any as S.Schema<ListEnvironmentsRequest>,
788
+ output: __S(194, __c6, 2) as any as S.Schema<ListEnvironmentsResponse>,
644
789
  errors: [BadRequest, UnknownStackitError],
645
790
  protocol: StackitProtocol,
646
791
  retry: Retry.Retry,
@@ -648,6 +793,23 @@ export const listEnvironments: API.OperationMethod<
648
793
  span: "ListEnvironments",
649
794
  }));
650
795
 
796
+ export type ListEnvironmentSecretsError = NotFound | StackitOpError;
797
+ /** Retrieves the secrets defined within an environment. */
798
+ export const listEnvironmentSecrets: API.OperationMethod<
799
+ ListEnvironmentSecretsRequest,
800
+ EnvironmentSecretsVault,
801
+ ListEnvironmentSecretsError,
802
+ StackitOpContext
803
+ > = /*@__PURE__*/ API.make(() => ({
804
+ input: __S(224, __c7, 0) as any as S.Schema<ListEnvironmentSecretsRequest>,
805
+ output: __S(258, __c8, 2) as any as S.Schema<EnvironmentSecretsVault>,
806
+ errors: [NotFound, UnknownStackitError],
807
+ protocol: StackitProtocol,
808
+ retry: Retry.Retry,
809
+ telemetry: TELEMETRY,
810
+ span: "ListEnvironmentSecrets",
811
+ }));
812
+
651
813
  export type ListProjectApplicationsError = BadRequest | StackitOpError;
652
814
  /** Lists applications within a project. */
653
815
  export const listProjectApplications: API.OperationMethod<
@@ -656,7 +818,7 @@ export const listProjectApplications: API.OperationMethod<
656
818
  ListProjectApplicationsError,
657
819
  StackitOpContext
658
820
  > = /*@__PURE__*/ API.make(() => ({
659
- input: __S(128, __c4, 0) as any as S.Schema<ListProjectApplicationsRequest>,
821
+ input: __S(288, __c9, 0) as any as S.Schema<ListProjectApplicationsRequest>,
660
822
  output: __S(66, __c2, 2) as any as S.Schema<ListApplicationsResponse>,
661
823
  errors: [BadRequest, UnknownStackitError],
662
824
  protocol: StackitProtocol,
@@ -673,8 +835,8 @@ export const updateApplication: API.OperationMethod<
673
835
  UpdateApplicationError,
674
836
  StackitOpContext
675
837
  > = /*@__PURE__*/ API.make(() => ({
676
- input: __S(160, __c5, 0) as any as S.Schema<UpdateApplicationRequest>,
677
- output: __S(249, __c7, 25) as any as S.Schema<Application>,
838
+ input: __S(320, __c10, 0) as any as S.Schema<UpdateApplicationRequest>,
839
+ output: __S(500, __c15, 20) as any as S.Schema<Application>,
678
840
  errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
679
841
  protocol: StackitProtocol,
680
842
  retry: Retry.Retry,
@@ -682,6 +844,40 @@ export const updateApplication: API.OperationMethod<
682
844
  span: "UpdateApplication",
683
845
  }));
684
846
 
847
+ export type UpdateEnvironmentRegistriesError = BadRequest | NotFound | StackitOpError;
848
+ /** Updates the environment registries collection. */
849
+ export const updateEnvironmentRegistries: API.OperationMethod<
850
+ UpdateEnvironmentRegistriesRequest,
851
+ EnvironmentRegistriesVault,
852
+ UpdateEnvironmentRegistriesError,
853
+ StackitOpContext
854
+ > = /*@__PURE__*/ API.make(() => ({
855
+ input: __S(354, __c11, 2) as any as S.Schema<UpdateEnvironmentRegistriesRequest>,
856
+ output: __S(162, __c5, 2) as any as S.Schema<EnvironmentRegistriesVault>,
857
+ errors: [BadRequest, NotFound, UnknownStackitError],
858
+ protocol: StackitProtocol,
859
+ retry: Retry.Retry,
860
+ telemetry: TELEMETRY,
861
+ span: "UpdateEnvironmentRegistries",
862
+ }));
863
+
864
+ export type UpdateEnvironmentSecretsError = BadRequest | NotFound | StackitOpError;
865
+ /** Updates the environment secrets collection. */
866
+ export const updateEnvironmentSecrets: API.OperationMethod<
867
+ UpdateEnvironmentSecretsRequest,
868
+ EnvironmentSecretsVault,
869
+ UpdateEnvironmentSecretsError,
870
+ StackitOpContext
871
+ > = /*@__PURE__*/ API.make(() => ({
872
+ input: __S(386, __c12, 2) as any as S.Schema<UpdateEnvironmentSecretsRequest>,
873
+ output: __S(258, __c8, 2) as any as S.Schema<EnvironmentSecretsVault>,
874
+ errors: [BadRequest, NotFound, UnknownStackitError],
875
+ protocol: StackitProtocol,
876
+ retry: Retry.Retry,
877
+ telemetry: TELEMETRY,
878
+ span: "UpdateEnvironmentSecrets",
879
+ }));
880
+
685
881
  // Schema builders: each runs one schema initializer, on that schema's first use.
686
882
  function __c0(j: number): any {
687
883
  switch (j) {
@@ -689,10 +885,11 @@ function __c0(j: number): any {
689
885
  return S.suspend(() =>
690
886
  S.Struct({
691
887
  projectId: S.String.pipe(T.Label()),
888
+ region: S.String.pipe(T.Label()),
692
889
  }).pipe(
693
890
  T.Http({
694
891
  method: "GET",
695
- uri: "/v1alpha/projects/{projectId}/overview",
892
+ uri: "/v1beta/projects/{projectId}/regions/{region}/overview",
696
893
  code: 200,
697
894
  baseUrl: "https://sca.api.{region}stackit.cloud",
698
895
  }),
@@ -704,11 +901,12 @@ function __c0(j: number): any {
704
901
  applicationsRunning: S.optional(S.Number),
705
902
  applicationsTotal: S.optional(S.Number),
706
903
  }),
707
- ).annotate({ identifier: "Summary" });
904
+ ).annotate({ identifier: "OverviewSummary" });
708
905
  case 2:
709
906
  return S.suspend(() =>
710
907
  S.Struct({
711
- summary: __S(1, __c0, 1),
908
+ region: S.optional(S.String),
909
+ summary: S.optional(__S(1, __c0, 1)),
712
910
  }),
713
911
  ).annotate({ identifier: "GetOverviewResponse" });
714
912
  }
@@ -719,11 +917,12 @@ function __c1(j: number): any {
719
917
  return S.suspend(() =>
720
918
  S.Struct({
721
919
  projectId: S.String.pipe(T.Label()),
920
+ region: S.String.pipe(T.Label()),
722
921
  environmentId: S.String.pipe(T.Label()),
723
922
  }).pipe(
724
923
  T.Http({
725
924
  method: "GET",
726
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}/applications",
925
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications",
727
926
  code: 200,
728
927
  baseUrl: "https://sca.api.{region}stackit.cloud",
729
928
  }),
@@ -736,18 +935,15 @@ function __c2(j: number): any {
736
935
  case 0:
737
936
  return S.suspend(() =>
738
937
  S.Struct({
739
- containers: S.optional(S.Number),
740
938
  createdAt: S.optional(S.String),
741
939
  displayName: S.optional(S.String),
742
940
  environmentId: S.optional(S.String),
743
941
  environmentName: S.optional(S.String),
744
942
  id: S.optional(S.String),
745
- instances: S.optional(S.Number),
746
- internalUrl: S.optional(S.String),
747
- lastDeployment: S.optional(S.String),
748
- status: S.optional(S.String),
943
+ region: S.optional(S.String),
944
+ status: S.optional(__S(451, __c14, 3)),
749
945
  stopped: S.optional(S.Boolean),
750
- url: S.optional(S.String),
946
+ updatedAt: S.optional(S.String),
751
947
  }),
752
948
  ).annotate({ identifier: "ApplicationSummary" });
753
949
  case 1:
@@ -766,45 +962,142 @@ function __c3(j: number): any {
766
962
  return S.suspend(() =>
767
963
  S.Struct({
768
964
  projectId: S.String.pipe(T.Label()),
965
+ region: S.String.pipe(T.Label()),
966
+ environmentId: S.String.pipe(T.Label()),
769
967
  }).pipe(
770
968
  T.Http({
771
969
  method: "GET",
772
- uri: "/v1alpha/projects/{projectId}/environments",
970
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/registries",
773
971
  code: 200,
774
972
  baseUrl: "https://sca.api.{region}stackit.cloud",
775
973
  }),
776
974
  ),
777
- ).annotate({ identifier: "ListEnvironmentsRequest" });
778
- case 1:
975
+ ).annotate({ identifier: "ListEnvironmentRegistriesRequest" });
976
+ }
977
+ }
978
+ function __c4(j: number): any {
979
+ switch (j) {
980
+ case 0:
779
981
  return S.suspend(() =>
780
982
  S.Struct({
781
- applicationsNumber: S.optional(S.Number),
782
- createdAt: S.optional(S.String),
783
- default: S.optional(S.Boolean),
983
+ container: S.optional(S.String),
784
984
  displayName: S.optional(S.String),
785
985
  id: S.optional(S.String),
786
986
  }),
787
- ).annotate({ identifier: "EnvironmentSummary" });
987
+ ).annotate({ identifier: "RegistryConsumer" });
988
+ case 1:
989
+ return S.Array(__S(128, __c4, 0));
990
+ case 2:
991
+ return S.suspend(() =>
992
+ S.Struct({
993
+ consumers: S.optional(__S(129, __c4, 1)),
994
+ }),
995
+ ).annotate({ identifier: "EnvironmentRegistryStatus" });
996
+ }
997
+ }
998
+ function __c5(j: number): any {
999
+ switch (j) {
1000
+ case 0:
1001
+ return S.suspend(() =>
1002
+ S.Struct({
1003
+ createdAt: S.optional(S.String),
1004
+ password: S.optional(S.String.pipe(T.SensitiveValue({}))),
1005
+ region: S.optional(S.String),
1006
+ server: S.String,
1007
+ status: S.optional(__S(130, __c4, 2)),
1008
+ updatedAt: S.optional(S.String),
1009
+ username: S.optional(S.String),
1010
+ }),
1011
+ ).annotate({ identifier: "EnvironmentRegistry" });
1012
+ case 1:
1013
+ return S.Array(__S(160, __c5, 0));
788
1014
  case 2:
789
- return S.Array(__S(97, __c3, 1));
790
- case 3:
791
1015
  return S.suspend(() =>
792
1016
  S.Struct({
793
- items: S.optional(__S(98, __c3, 2)),
1017
+ registries: __S(161, __c5, 1),
1018
+ }),
1019
+ ).annotate({ identifier: "EnvironmentRegistriesVault" });
1020
+ }
1021
+ }
1022
+ function __c6(j: number): any {
1023
+ switch (j) {
1024
+ case 0:
1025
+ return S.suspend(() =>
1026
+ S.Struct({
1027
+ projectId: S.String.pipe(T.Label()),
1028
+ region: S.String.pipe(T.Label()),
1029
+ }).pipe(
1030
+ T.Http({
1031
+ method: "GET",
1032
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments",
1033
+ code: 200,
1034
+ baseUrl: "https://sca.api.{region}stackit.cloud",
1035
+ }),
1036
+ ),
1037
+ ).annotate({ identifier: "ListEnvironmentsRequest" });
1038
+ case 1:
1039
+ return S.Array(__S(545, __c17, 1));
1040
+ case 2:
1041
+ return S.suspend(() =>
1042
+ S.Struct({
1043
+ items: S.optional(__S(193, __c6, 1)),
794
1044
  }),
795
1045
  ).annotate({ identifier: "ListEnvironmentsResponse" });
796
1046
  }
797
1047
  }
798
- function __c4(j: number): any {
1048
+ function __c7(j: number): any {
799
1049
  switch (j) {
800
1050
  case 0:
801
1051
  return S.suspend(() =>
802
1052
  S.Struct({
803
1053
  projectId: S.String.pipe(T.Label()),
1054
+ region: S.String.pipe(T.Label()),
1055
+ environmentId: S.String.pipe(T.Label()),
804
1056
  }).pipe(
805
1057
  T.Http({
806
1058
  method: "GET",
807
- uri: "/v1alpha/projects/{projectId}/applications",
1059
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/secrets",
1060
+ code: 200,
1061
+ baseUrl: "https://sca.api.{region}stackit.cloud",
1062
+ }),
1063
+ ),
1064
+ ).annotate({ identifier: "ListEnvironmentSecretsRequest" });
1065
+ }
1066
+ }
1067
+ function __c8(j: number): any {
1068
+ switch (j) {
1069
+ case 0:
1070
+ return S.suspend(() =>
1071
+ S.Struct({
1072
+ createdAt: S.optional(S.String),
1073
+ key: S.String,
1074
+ region: S.optional(S.String),
1075
+ status: S.optional(__S(130, __c4, 2)),
1076
+ updatedAt: S.optional(S.String),
1077
+ value: S.optional(S.String),
1078
+ }),
1079
+ ).annotate({ identifier: "EnvironmentSecret" });
1080
+ case 1:
1081
+ return S.Array(__S(256, __c8, 0));
1082
+ case 2:
1083
+ return S.suspend(() =>
1084
+ S.Struct({
1085
+ secrets: __S(257, __c8, 1),
1086
+ }),
1087
+ ).annotate({ identifier: "EnvironmentSecretsVault" });
1088
+ }
1089
+ }
1090
+ function __c9(j: number): any {
1091
+ switch (j) {
1092
+ case 0:
1093
+ return S.suspend(() =>
1094
+ S.Struct({
1095
+ projectId: S.String.pipe(T.Label()),
1096
+ region: S.String.pipe(T.Label()),
1097
+ }).pipe(
1098
+ T.Http({
1099
+ method: "GET",
1100
+ uri: "/v1beta/projects/{projectId}/regions/{region}/applications",
808
1101
  code: 200,
809
1102
  baseUrl: "https://sca.api.{region}stackit.cloud",
810
1103
  }),
@@ -812,24 +1105,24 @@ function __c4(j: number): any {
812
1105
  ).annotate({ identifier: "ListProjectApplicationsRequest" });
813
1106
  }
814
1107
  }
815
- function __c5(j: number): any {
1108
+ function __c10(j: number): any {
816
1109
  switch (j) {
817
1110
  case 0:
818
1111
  return S.suspend(() =>
819
1112
  S.Struct({
820
1113
  projectId: S.String.pipe(T.Label()),
1114
+ region: S.String.pipe(T.Label()),
821
1115
  environmentId: S.String.pipe(T.Label()),
822
1116
  applicationId: S.String.pipe(T.Label()),
823
- containers: S.optional(__S(228, __c7, 4)),
824
- network: S.optional(__S(229, __c7, 5)),
825
- registry: S.optional(__S(232, __c7, 8)),
826
- scaling: S.optional(__S(243, __c7, 19)),
827
- secrets: S.optional(__S(245, __c7, 21)),
1117
+ containers: __S(484, __c15, 4),
1118
+ displayName: S.String,
1119
+ network: S.optional(__S(488, __c15, 8)),
1120
+ scaling: __S(499, __c15, 19),
828
1121
  stopped: S.optional(S.Boolean),
829
1122
  }).pipe(
830
1123
  T.Http({
831
1124
  method: "PATCH",
832
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}/applications/{applicationId}",
1125
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications/{applicationId}",
833
1126
  code: 200,
834
1127
  baseUrl: "https://sca.api.{region}stackit.cloud",
835
1128
  }),
@@ -837,31 +1130,82 @@ function __c5(j: number): any {
837
1130
  ).annotate({ identifier: "UpdateApplicationRequest" });
838
1131
  }
839
1132
  }
840
- function __c6(j: number): any {
1133
+ function __c11(j: number): any {
1134
+ switch (j) {
1135
+ case 0:
1136
+ return S.suspend(() =>
1137
+ S.Struct({
1138
+ password: S.optional(S.String.pipe(T.SensitiveValue({}))),
1139
+ server: S.String,
1140
+ username: S.optional(S.String),
1141
+ }),
1142
+ ).annotate({ identifier: "EnvironmentRegistryInput" });
1143
+ case 1:
1144
+ return S.Array(__S(352, __c11, 0));
1145
+ case 2:
1146
+ return S.suspend(() =>
1147
+ S.Struct({
1148
+ projectId: S.String.pipe(T.Label()),
1149
+ region: S.String.pipe(T.Label()),
1150
+ environmentId: S.String.pipe(T.Label()),
1151
+ registries: __S(353, __c11, 1),
1152
+ }).pipe(
1153
+ T.Http({
1154
+ method: "PATCH",
1155
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/registries",
1156
+ code: 200,
1157
+ baseUrl: "https://sca.api.{region}stackit.cloud",
1158
+ }),
1159
+ ),
1160
+ ).annotate({ identifier: "UpdateEnvironmentRegistriesRequest" });
1161
+ }
1162
+ }
1163
+ function __c12(j: number): any {
841
1164
  switch (j) {
842
1165
  case 0:
843
1166
  return S.suspend(() =>
844
1167
  S.Struct({
845
- currentStatus: S.optional(S.String),
1168
+ key: S.String,
1169
+ value: S.optional(S.String),
846
1170
  }),
847
- ).annotate({ identifier: "RuntimeStatusInput" });
1171
+ ).annotate({ identifier: "EnvironmentSecretInput" });
848
1172
  case 1:
1173
+ return S.Array(__S(384, __c12, 0));
1174
+ case 2:
1175
+ return S.suspend(() =>
1176
+ S.Struct({
1177
+ projectId: S.String.pipe(T.Label()),
1178
+ region: S.String.pipe(T.Label()),
1179
+ environmentId: S.String.pipe(T.Label()),
1180
+ secrets: __S(385, __c12, 1),
1181
+ }).pipe(
1182
+ T.Http({
1183
+ method: "PATCH",
1184
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/secrets",
1185
+ code: 200,
1186
+ baseUrl: "https://sca.api.{region}stackit.cloud",
1187
+ }),
1188
+ ),
1189
+ ).annotate({ identifier: "UpdateEnvironmentSecretsRequest" });
1190
+ }
1191
+ }
1192
+ function __c13(j: number): any {
1193
+ switch (j) {
1194
+ case 0:
849
1195
  return S.suspend(() =>
850
1196
  S.Struct({
851
1197
  projectId: S.String.pipe(T.Label()),
1198
+ region: S.String.pipe(T.Label()),
852
1199
  environmentId: S.String.pipe(T.Label()),
853
- containers: __S(228, __c7, 4),
1200
+ containers: __S(484, __c15, 4),
854
1201
  displayName: S.String,
855
- network: S.optional(__S(229, __c7, 5)),
856
- registry: S.optional(__S(232, __c7, 8)),
857
- runtimeStatus: S.optional(__S(192, __c6, 0)),
858
- scaling: __S(243, __c7, 19),
859
- secrets: S.optional(__S(245, __c7, 21)),
1202
+ network: S.optional(__S(488, __c15, 8)),
1203
+ scaling: __S(499, __c15, 19),
860
1204
  stopped: S.optional(S.Boolean),
861
1205
  }).pipe(
862
1206
  T.Http({
863
1207
  method: "POST",
864
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}/applications",
1208
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications",
865
1209
  code: 200,
866
1210
  baseUrl: "https://sca.api.{region}stackit.cloud",
867
1211
  }),
@@ -869,7 +1213,36 @@ function __c6(j: number): any {
869
1213
  ).annotate({ identifier: "CreateApplicationRequest" });
870
1214
  }
871
1215
  }
872
- function __c7(j: number): any {
1216
+ function __c14(j: number): any {
1217
+ switch (j) {
1218
+ case 0:
1219
+ return S.suspend(() =>
1220
+ S.Struct({
1221
+ default: S.optional(S.String),
1222
+ internal: S.optional(S.String),
1223
+ }),
1224
+ ).annotate({ identifier: "ApplicationDomains" });
1225
+ case 1:
1226
+ return S.suspend(() =>
1227
+ S.Struct({
1228
+ name: S.optional(S.String),
1229
+ status: S.optional(S.String),
1230
+ }),
1231
+ ).annotate({ identifier: "ApplicationInstance" });
1232
+ case 2:
1233
+ return S.Array(__S(449, __c14, 1));
1234
+ case 3:
1235
+ return S.suspend(() =>
1236
+ S.Struct({
1237
+ current: S.optional(S.String),
1238
+ domains: S.optional(__S(448, __c14, 0)),
1239
+ instances: S.optional(__S(450, __c14, 2)),
1240
+ lastDeployment: S.optional(S.String),
1241
+ }),
1242
+ ).annotate({ identifier: "ApplicationStatus" });
1243
+ }
1244
+ }
1245
+ function __c15(j: number): any {
873
1246
  switch (j) {
874
1247
  case 0:
875
1248
  return S.Array(S.String);
@@ -880,175 +1253,150 @@ function __c7(j: number): any {
880
1253
  origin: S.optional(S.String),
881
1254
  value: S.String,
882
1255
  }),
883
- ).annotate({ identifier: "EnvVar" });
1256
+ ).annotate({ identifier: "ContainerEnvVar" });
884
1257
  case 2:
885
- return S.Array(__S(225, __c7, 1));
1258
+ return S.Array(__S(481, __c15, 1));
886
1259
  case 3:
887
1260
  return S.suspend(() =>
888
1261
  S.Struct({
889
- args: S.optional(__S(224, __c7, 0)),
890
- command: S.optional(__S(224, __c7, 0)),
1262
+ args: S.optional(__S(480, __c15, 0)),
1263
+ command: S.optional(__S(480, __c15, 0)),
891
1264
  cpu: S.optional(S.Number),
892
- environmentVariables: S.optional(__S(226, __c7, 2)),
1265
+ environmentVariables: S.optional(__S(482, __c15, 2)),
893
1266
  image: S.String,
894
1267
  memory: S.optional(S.Number),
895
1268
  name: S.String,
896
1269
  }),
897
1270
  ).annotate({ identifier: "Container" });
898
1271
  case 4:
899
- return S.Array(__S(227, __c7, 3));
1272
+ return S.Array(__S(483, __c15, 3));
900
1273
  case 5:
901
1274
  return S.suspend(() =>
902
1275
  S.Struct({
903
- ingressAcl: S.optional(__S(224, __c7, 0)),
904
- internalPort: S.optional(S.Number),
1276
+ enabled: S.Boolean,
905
1277
  port: S.optional(S.Number),
906
- publicIngress: S.optional(S.Boolean),
907
1278
  }),
908
- ).annotate({ identifier: "Network" });
1279
+ ).annotate({ identifier: "ApplicationInternalNetwork" });
909
1280
  case 6:
910
1281
  return S.suspend(() =>
911
1282
  S.Struct({
912
- password: S.optional(S.String.pipe(T.SensitiveValue({}))),
913
- url: S.String,
914
- user: S.String,
1283
+ egress: S.optional(__S(480, __c15, 0)),
1284
+ ingress: S.optional(__S(480, __c15, 0)),
915
1285
  }),
916
- ).annotate({ identifier: "ApplicationRegistryCredentialsAuth" });
1286
+ ).annotate({ identifier: "ApplicationAccessControl" });
917
1287
  case 7:
918
1288
  return S.suspend(() =>
919
1289
  S.Struct({
920
- credentials: S.optional(__S(230, __c7, 6)),
921
- type: S.String,
1290
+ accessControl: S.optional(__S(486, __c15, 6)),
1291
+ enabled: S.Boolean,
1292
+ port: S.optional(S.Number),
922
1293
  }),
923
- ).annotate({ identifier: "ApplicationRegistry" });
1294
+ ).annotate({ identifier: "ApplicationPublicNetwork" });
924
1295
  case 8:
925
- return S.Array(__S(231, __c7, 7));
1296
+ return S.suspend(() =>
1297
+ S.Struct({
1298
+ internal: S.optional(__S(485, __c15, 5)),
1299
+ public: S.optional(__S(487, __c15, 7)),
1300
+ }),
1301
+ ).annotate({ identifier: "ApplicationNetwork" });
926
1302
  case 9:
927
1303
  return S.suspend(() =>
928
1304
  S.Struct({
929
1305
  name: S.String,
930
1306
  value: S.String,
931
1307
  }),
932
- ).annotate({ identifier: "CustomRuleParameter" });
1308
+ ).annotate({ identifier: "ApplicationCustomRuleParameter" });
933
1309
  case 10:
934
- return S.Array(__S(233, __c7, 9));
1310
+ return S.Array(__S(489, __c15, 9));
935
1311
  case 11:
936
1312
  return S.suspend(() =>
937
1313
  S.Struct({
938
1314
  parameter: S.String,
939
1315
  secret: S.String.pipe(T.SensitiveValue({})),
940
1316
  }),
941
- ).annotate({ identifier: "CustomRuleSecretMapping" });
1317
+ ).annotate({ identifier: "ApplicationCustomRuleSecretMapping" });
942
1318
  case 12:
943
- return S.Array(__S(235, __c7, 11));
1319
+ return S.Array(__S(491, __c15, 11));
944
1320
  case 13:
945
1321
  return S.suspend(() =>
946
1322
  S.Struct({
947
- parameters: S.optional(__S(234, __c7, 10)),
948
- secretsMapping: S.optional(__S(236, __c7, 12)),
1323
+ parameters: S.optional(__S(490, __c15, 10)),
1324
+ secretsMapping: S.optional(__S(492, __c15, 12)),
949
1325
  type: S.String,
950
1326
  }),
951
- ).annotate({ identifier: "CustomScaleRule" });
1327
+ ).annotate({ identifier: "ApplicationCustomScaleRule" });
952
1328
  case 14:
953
1329
  return S.suspend(() =>
954
1330
  S.Struct({
955
1331
  concurrency: S.optional(S.Number),
956
1332
  rps: S.optional(S.Number),
957
1333
  }),
958
- ).annotate({ identifier: "HttpScaleRule" });
1334
+ ).annotate({ identifier: "ApplicationHttpScaleRule" });
959
1335
  case 15:
960
1336
  return S.suspend(() =>
961
1337
  S.Struct({
962
- customRule: S.optional(__S(237, __c7, 13)),
963
- httpRule: S.optional(__S(238, __c7, 14)),
1338
+ customRule: S.optional(__S(493, __c15, 13)),
1339
+ httpRule: S.optional(__S(494, __c15, 14)),
964
1340
  name: S.String,
965
1341
  type: S.String,
966
1342
  }),
967
- ).annotate({ identifier: "ScaleRule" });
1343
+ ).annotate({ identifier: "ApplicationScaleRule" });
968
1344
  case 16:
969
- return S.Array(__S(239, __c7, 15));
1345
+ return S.Array(__S(495, __c15, 15));
970
1346
  case 17:
971
1347
  return S.suspend(() =>
972
1348
  S.Struct({
973
1349
  allowScaleToZero: S.optional(S.Boolean),
974
1350
  maxInstances: S.Number,
975
1351
  minInstances: S.Number,
976
- rules: __S(240, __c7, 16),
1352
+ rules: __S(496, __c15, 16),
977
1353
  }),
978
- ).annotate({ identifier: "AutoScaling" });
1354
+ ).annotate({ identifier: "ApplicationAutoScaling" });
979
1355
  case 18:
980
1356
  return S.suspend(() =>
981
1357
  S.Struct({
982
1358
  instances: S.Number,
983
1359
  }),
984
- ).annotate({ identifier: "ManualScaling" });
1360
+ ).annotate({ identifier: "ApplicationManualScaling" });
985
1361
  case 19:
986
1362
  return S.suspend(() =>
987
1363
  S.Struct({
988
- autoScaling: S.optional(__S(241, __c7, 17)),
989
- manualScaling: S.optional(__S(242, __c7, 18)),
1364
+ autoScaling: S.optional(__S(497, __c15, 17)),
1365
+ manualScaling: S.optional(__S(498, __c15, 18)),
990
1366
  type: S.String,
991
1367
  }),
992
- ).annotate({ identifier: "Scaling" });
1368
+ ).annotate({ identifier: "ApplicationScaling" });
993
1369
  case 20:
994
1370
  return S.suspend(() =>
995
1371
  S.Struct({
996
- key: S.String,
997
- value: S.optional(S.String),
998
- }),
999
- ).annotate({ identifier: "ApplicationSecret" });
1000
- case 21:
1001
- return S.Array(__S(244, __c7, 20));
1002
- case 22:
1003
- return S.suspend(() =>
1004
- S.Struct({
1005
- name: S.optional(S.String),
1006
- status: S.optional(S.String),
1007
- }),
1008
- ).annotate({ identifier: "Instance" });
1009
- case 23:
1010
- return S.Array(__S(246, __c7, 22));
1011
- case 24:
1012
- return S.suspend(() =>
1013
- S.Struct({
1014
- currentStatus: S.optional(S.String),
1015
- failureReasons: S.optional(__S(224, __c7, 0)),
1016
- instances: S.optional(__S(247, __c7, 23)),
1017
- internalUrl: S.optional(S.String),
1018
- lastDeployment: S.optional(S.String),
1019
- urls: S.optional(__S(224, __c7, 0)),
1020
- }),
1021
- ).annotate({ identifier: "RuntimeStatus" });
1022
- case 25:
1023
- return S.suspend(() =>
1024
- S.Struct({
1025
- containers: __S(228, __c7, 4),
1372
+ containers: __S(484, __c15, 4),
1373
+ createdAt: S.optional(S.String),
1026
1374
  displayName: S.String,
1027
1375
  environmentId: S.optional(S.String),
1028
1376
  environmentName: S.optional(S.String),
1029
1377
  id: S.optional(S.String),
1030
- network: S.optional(__S(229, __c7, 5)),
1031
- registry: S.optional(__S(232, __c7, 8)),
1032
- runtimeStatus: S.optional(__S(248, __c7, 24)),
1033
- scaling: __S(243, __c7, 19),
1034
- secrets: S.optional(__S(245, __c7, 21)),
1378
+ network: S.optional(__S(488, __c15, 8)),
1379
+ region: S.optional(S.String),
1380
+ scaling: __S(499, __c15, 19),
1381
+ status: S.optional(__S(451, __c14, 3)),
1035
1382
  stopped: S.optional(S.Boolean),
1383
+ updatedAt: S.optional(S.String),
1036
1384
  }),
1037
1385
  ).annotate({ identifier: "Application" });
1038
1386
  }
1039
1387
  }
1040
- function __c8(j: number): any {
1388
+ function __c16(j: number): any {
1041
1389
  switch (j) {
1042
1390
  case 0:
1043
1391
  return S.suspend(() =>
1044
1392
  S.Struct({
1045
1393
  projectId: S.String.pipe(T.Label()),
1394
+ region: S.String.pipe(T.Label()),
1046
1395
  displayName: S.String,
1047
- status: S.optional(S.String),
1048
1396
  }).pipe(
1049
1397
  T.Http({
1050
1398
  method: "POST",
1051
- uri: "/v1alpha/projects/{projectId}/environments",
1399
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments",
1052
1400
  code: 200,
1053
1401
  baseUrl: "https://sca.api.{region}stackit.cloud",
1054
1402
  }),
@@ -1056,32 +1404,41 @@ function __c8(j: number): any {
1056
1404
  ).annotate({ identifier: "CreateEnvironmentRequest" });
1057
1405
  }
1058
1406
  }
1059
- function __c9(j: number): any {
1407
+ function __c17(j: number): any {
1060
1408
  switch (j) {
1061
1409
  case 0:
1410
+ return S.suspend(() =>
1411
+ S.Struct({
1412
+ applicationsNumber: S.optional(S.Number),
1413
+ current: S.optional(S.String),
1414
+ }),
1415
+ ).annotate({ identifier: "EnvironmentStatus" });
1416
+ case 1:
1062
1417
  return S.suspend(() =>
1063
1418
  S.Struct({
1064
1419
  createdAt: S.optional(S.String),
1065
1420
  default: S.optional(S.Boolean),
1066
1421
  displayName: S.String,
1067
1422
  id: S.optional(S.String),
1068
- status: S.optional(S.String),
1423
+ region: S.optional(S.String),
1424
+ status: S.optional(__S(544, __c17, 0)),
1069
1425
  }),
1070
1426
  ).annotate({ identifier: "Environment" });
1071
1427
  }
1072
1428
  }
1073
- function __c10(j: number): any {
1429
+ function __c18(j: number): any {
1074
1430
  switch (j) {
1075
1431
  case 0:
1076
1432
  return S.suspend(() =>
1077
1433
  S.Struct({
1078
1434
  projectId: S.String.pipe(T.Label()),
1435
+ region: S.String.pipe(T.Label()),
1079
1436
  environmentId: S.String.pipe(T.Label()),
1080
1437
  applicationId: S.String.pipe(T.Label()),
1081
1438
  }).pipe(
1082
1439
  T.Http({
1083
1440
  method: "DELETE",
1084
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}/applications/{applicationId}",
1441
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications/{applicationId}",
1085
1442
  code: 200,
1086
1443
  baseUrl: "https://sca.api.{region}stackit.cloud",
1087
1444
  }),
@@ -1089,18 +1446,19 @@ function __c10(j: number): any {
1089
1446
  ).annotate({ identifier: "DeleteApplicationRequest" });
1090
1447
  }
1091
1448
  }
1092
- function __c11(j: number): any {
1449
+ function __c19(j: number): any {
1093
1450
  switch (j) {
1094
1451
  case 0:
1095
1452
  return S.suspend(() =>
1096
1453
  S.Struct({
1097
1454
  projectId: S.String.pipe(T.Label()),
1455
+ region: S.String.pipe(T.Label()),
1098
1456
  environmentId: S.String.pipe(T.Label()),
1099
1457
  applicationId: S.String.pipe(T.Label()),
1100
1458
  }).pipe(
1101
1459
  T.Http({
1102
1460
  method: "GET",
1103
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}/applications/{applicationId}",
1461
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications/{applicationId}",
1104
1462
  code: 200,
1105
1463
  baseUrl: "https://sca.api.{region}stackit.cloud",
1106
1464
  }),
@@ -1108,18 +1466,19 @@ function __c11(j: number): any {
1108
1466
  ).annotate({ identifier: "GetApplicationRequest" });
1109
1467
  }
1110
1468
  }
1111
- function __c12(j: number): any {
1469
+ function __c20(j: number): any {
1112
1470
  switch (j) {
1113
1471
  case 0:
1114
1472
  return S.suspend(() =>
1115
1473
  S.Struct({
1116
1474
  projectId: S.String.pipe(T.Label()),
1475
+ region: S.String.pipe(T.Label()),
1117
1476
  environmentId: S.String.pipe(T.Label()),
1118
1477
  applicationId: S.String.pipe(T.Label()),
1119
1478
  }).pipe(
1120
1479
  T.Http({
1121
1480
  method: "GET",
1122
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}/applications/{applicationId}/events",
1481
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications/{applicationId}/events",
1123
1482
  code: 200,
1124
1483
  baseUrl: "https://sca.api.{region}stackit.cloud",
1125
1484
  }),
@@ -1128,29 +1487,30 @@ function __c12(j: number): any {
1128
1487
  case 1:
1129
1488
  return S.suspend(() =>
1130
1489
  S.Struct({
1131
- events: S.optional(__S(417, __c13, 1)),
1490
+ events: S.optional(__S(673, __c21, 1)),
1132
1491
  }),
1133
1492
  ).annotate({ identifier: "GetApplicationEventsResponse" });
1134
1493
  }
1135
1494
  }
1136
- function __c13(j: number): any {
1495
+ function __c21(j: number): any {
1137
1496
  switch (j) {
1138
1497
  case 0:
1139
1498
  return S.suspend(() =>
1140
1499
  S.Struct({
1141
1500
  message: S.optional(S.String),
1142
1501
  }),
1143
- ).annotate({ identifier: "Event" });
1502
+ ).annotate({ identifier: "ApplicationEvent" });
1144
1503
  case 1:
1145
- return S.Array(__S(416, __c13, 0));
1504
+ return S.Array(__S(672, __c21, 0));
1146
1505
  }
1147
1506
  }
1148
- function __c14(j: number): any {
1507
+ function __c22(j: number): any {
1149
1508
  switch (j) {
1150
1509
  case 0:
1151
1510
  return S.suspend(() =>
1152
1511
  S.Struct({
1153
1512
  projectId: S.String.pipe(T.Label()),
1513
+ region: S.String.pipe(T.Label()),
1154
1514
  environmentId: S.String.pipe(T.Label()),
1155
1515
  applicationId: S.String.pipe(T.Label()),
1156
1516
  instance: S.String.pipe(T.Query()),
@@ -1159,7 +1519,7 @@ function __c14(j: number): any {
1159
1519
  }).pipe(
1160
1520
  T.Http({
1161
1521
  method: "GET",
1162
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}/applications/{applicationId}/logs",
1522
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}/applications/{applicationId}/logs",
1163
1523
  code: 200,
1164
1524
  baseUrl: "https://sca.api.{region}stackit.cloud",
1165
1525
  }),
@@ -1168,22 +1528,23 @@ function __c14(j: number): any {
1168
1528
  case 1:
1169
1529
  return S.suspend(() =>
1170
1530
  S.Struct({
1171
- logs: S.optional(__S(417, __c13, 1)),
1531
+ logs: S.optional(__S(673, __c21, 1)),
1172
1532
  }),
1173
1533
  ).annotate({ identifier: "GetApplicationLogsResponse" });
1174
1534
  }
1175
1535
  }
1176
- function __c15(j: number): any {
1536
+ function __c23(j: number): any {
1177
1537
  switch (j) {
1178
1538
  case 0:
1179
1539
  return S.suspend(() =>
1180
1540
  S.Struct({
1181
1541
  projectId: S.String.pipe(T.Label()),
1542
+ region: S.String.pipe(T.Label()),
1182
1543
  environmentId: S.String.pipe(T.Label()),
1183
1544
  }).pipe(
1184
1545
  T.Http({
1185
1546
  method: "GET",
1186
- uri: "/v1alpha/projects/{projectId}/environments/{environmentId}",
1547
+ uri: "/v1beta/projects/{projectId}/regions/{region}/environments/{environmentId}",
1187
1548
  code: 200,
1188
1549
  baseUrl: "https://sca.api.{region}stackit.cloud",
1189
1550
  }),