@distilled.cloud/stackit 1.0.0-rc.17 → 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 (318) hide show
  1. package/lib/_bundle/sdk.js +1 -1
  2. package/lib/_bundle/sdk.js.map +1 -1
  3. package/lib/credentials.d.ts +2 -1
  4. package/lib/credentials.d.ts.map +1 -1
  5. package/lib/index.d.ts +3 -3
  6. package/lib/pagination.d.ts.map +1 -1
  7. package/lib/protocol.d.ts +3 -2
  8. package/lib/protocol.d.ts.map +1 -1
  9. package/lib/services/alb.d.ts +134 -132
  10. package/lib/services/alb.d.ts.map +1 -1
  11. package/lib/services/alb.js +27 -26
  12. package/lib/services/alb.js.map +1 -1
  13. package/lib/services/alb_waf.d.ts +51 -51
  14. package/lib/services/alb_waf.d.ts.map +1 -1
  15. package/lib/services/alb_waf.js +32 -31
  16. package/lib/services/alb_waf.js.map +1 -1
  17. package/lib/services/authorization.d.ts +15 -15
  18. package/lib/services/authorization.d.ts.map +1 -1
  19. package/lib/services/authorization.js +1 -1
  20. package/lib/services/authorization.js.map +1 -1
  21. package/lib/services/automation.d.ts +47 -46
  22. package/lib/services/automation.d.ts.map +1 -1
  23. package/lib/services/automation.js +24 -1
  24. package/lib/services/automation.js.map +1 -1
  25. package/lib/services/cdn.d.ts +129 -129
  26. package/lib/services/cdn.d.ts.map +1 -1
  27. package/lib/services/cdn.js +30 -29
  28. package/lib/services/cdn.js.map +1 -1
  29. package/lib/services/certificates.d.ts +40 -40
  30. package/lib/services/certificates.d.ts.map +1 -1
  31. package/lib/services/certificates.js +1 -1
  32. package/lib/services/certificates.js.map +1 -1
  33. package/lib/services/cost.d.ts +15 -15
  34. package/lib/services/cost.d.ts.map +1 -1
  35. package/lib/services/cost.js +1 -1
  36. package/lib/services/cost.js.map +1 -1
  37. package/lib/services/dns.d.ts +218 -161
  38. package/lib/services/dns.d.ts.map +1 -1
  39. package/lib/services/dns.js +40 -38
  40. package/lib/services/dns.js.map +1 -1
  41. package/lib/services/dremio.d.ts +49 -34
  42. package/lib/services/dremio.d.ts.map +1 -1
  43. package/lib/services/dremio.js +1 -1
  44. package/lib/services/dremio.js.map +1 -1
  45. package/lib/services/edge.d.ts +21 -21
  46. package/lib/services/edge.d.ts.map +1 -1
  47. package/lib/services/edge.js +28 -1
  48. package/lib/services/edge.js.map +1 -1
  49. package/lib/services/functions.d.ts +104 -101
  50. package/lib/services/functions.d.ts.map +1 -1
  51. package/lib/services/functions.js +27 -1
  52. package/lib/services/functions.js.map +1 -1
  53. package/lib/services/git.d.ts +120 -29
  54. package/lib/services/git.d.ts.map +1 -1
  55. package/lib/services/git.js +38 -33
  56. package/lib/services/git.js.map +1 -1
  57. package/lib/services/iaas.d.ts +430 -415
  58. package/lib/services/iaas.d.ts.map +1 -1
  59. package/lib/services/iaas.js +180 -179
  60. package/lib/services/iaas.js.map +1 -1
  61. package/lib/services/identity.d.ts +204 -0
  62. package/lib/services/identity.d.ts.map +1 -0
  63. package/lib/services/identity.js +2 -0
  64. package/lib/services/identity.js.map +1 -0
  65. package/lib/services/index.d.ts +2 -0
  66. package/lib/services/index.d.ts.map +1 -1
  67. package/lib/services/index.js +2 -0
  68. package/lib/services/intake.d.ts +58 -58
  69. package/lib/services/intake.d.ts.map +1 -1
  70. package/lib/services/intake.js +28 -27
  71. package/lib/services/intake.js.map +1 -1
  72. package/lib/services/kms.d.ts +13 -13
  73. package/lib/services/kms.d.ts.map +1 -1
  74. package/lib/services/kms.js +40 -39
  75. package/lib/services/kms.js.map +1 -1
  76. package/lib/services/lb_ip_lists.d.ts +14 -14
  77. package/lib/services/lb_ip_lists.d.ts.map +1 -1
  78. package/lib/services/lb_ip_lists.js +1 -1
  79. package/lib/services/lb_ip_lists.js.map +1 -1
  80. package/lib/services/load_balancer.d.ts +128 -126
  81. package/lib/services/load_balancer.d.ts.map +1 -1
  82. package/lib/services/load_balancer.js +28 -27
  83. package/lib/services/load_balancer.js.map +1 -1
  84. package/lib/services/logme.d.ts +96 -45
  85. package/lib/services/logme.d.ts.map +1 -1
  86. package/lib/services/logme.js +35 -31
  87. package/lib/services/logme.js.map +1 -1
  88. package/lib/services/logs.d.ts +78 -24
  89. package/lib/services/logs.d.ts.map +1 -1
  90. package/lib/services/logs.js +34 -32
  91. package/lib/services/logs.js.map +1 -1
  92. package/lib/services/mailout.d.ts +476 -0
  93. package/lib/services/mailout.d.ts.map +1 -0
  94. package/lib/services/mailout.js +33 -0
  95. package/lib/services/mailout.js.map +1 -0
  96. package/lib/services/mariadb.d.ts +81 -30
  97. package/lib/services/mariadb.d.ts.map +1 -1
  98. package/lib/services/mariadb.js +36 -32
  99. package/lib/services/mariadb.js.map +1 -1
  100. package/lib/services/model_experiments.d.ts +33 -33
  101. package/lib/services/model_experiments.d.ts.map +1 -1
  102. package/lib/services/model_experiments.js +1 -1
  103. package/lib/services/model_experiments.js.map +1 -1
  104. package/lib/services/model_serving.d.ts +25 -25
  105. package/lib/services/model_serving.d.ts.map +1 -1
  106. package/lib/services/model_serving.js +1 -1
  107. package/lib/services/model_serving.js.map +1 -1
  108. package/lib/services/mongodb_flex.d.ts +142 -137
  109. package/lib/services/mongodb_flex.d.ts.map +1 -1
  110. package/lib/services/mongodb_flex.js +41 -40
  111. package/lib/services/mongodb_flex.js.map +1 -1
  112. package/lib/services/object_storage.d.ts +6 -6
  113. package/lib/services/object_storage.d.ts.map +1 -1
  114. package/lib/services/object_storage.js +37 -36
  115. package/lib/services/object_storage.js.map +1 -1
  116. package/lib/services/observability.d.ts +362 -362
  117. package/lib/services/observability.d.ts.map +1 -1
  118. package/lib/services/observability.js +158 -157
  119. package/lib/services/observability.js.map +1 -1
  120. package/lib/services/opensearch.d.ts +87 -36
  121. package/lib/services/opensearch.d.ts.map +1 -1
  122. package/lib/services/opensearch.js +36 -32
  123. package/lib/services/opensearch.js.map +1 -1
  124. package/lib/services/pim.d.ts +334 -278
  125. package/lib/services/pim.d.ts.map +1 -1
  126. package/lib/services/pim.js +30 -29
  127. package/lib/services/pim.js.map +1 -1
  128. package/lib/services/postgres_flex.d.ts +59 -55
  129. package/lib/services/postgres_flex.d.ts.map +1 -1
  130. package/lib/services/postgres_flex.js +47 -45
  131. package/lib/services/postgres_flex.js.map +1 -1
  132. package/lib/services/pubsub.d.ts +36 -36
  133. package/lib/services/pubsub.d.ts.map +1 -1
  134. package/lib/services/pubsub.js +36 -35
  135. package/lib/services/pubsub.js.map +1 -1
  136. package/lib/services/rabbitmq.d.ts +92 -41
  137. package/lib/services/rabbitmq.d.ts.map +1 -1
  138. package/lib/services/rabbitmq.js +37 -33
  139. package/lib/services/rabbitmq.js.map +1 -1
  140. package/lib/services/registry.d.ts +26 -22
  141. package/lib/services/registry.d.ts.map +1 -1
  142. package/lib/services/registry.js +1 -1
  143. package/lib/services/registry.js.map +1 -1
  144. package/lib/services/resource_manager.d.ts +56 -56
  145. package/lib/services/resource_manager.d.ts.map +1 -1
  146. package/lib/services/resource_manager.js +35 -34
  147. package/lib/services/resource_manager.js.map +1 -1
  148. package/lib/services/run_command.d.ts +42 -42
  149. package/lib/services/run_command.d.ts.map +1 -1
  150. package/lib/services/run_command.js +1 -1
  151. package/lib/services/run_command.js.map +1 -1
  152. package/lib/services/sca.d.ts +349 -213
  153. package/lib/services/sca.d.ts.map +1 -1
  154. package/lib/services/sca.js +32 -23
  155. package/lib/services/sca.js.map +1 -1
  156. package/lib/services/scf.d.ts +24 -24
  157. package/lib/services/scf.d.ts.map +1 -1
  158. package/lib/services/scf.js +39 -38
  159. package/lib/services/scf.js.map +1 -1
  160. package/lib/services/secrets_manager.d.ts +21 -21
  161. package/lib/services/secrets_manager.d.ts.map +1 -1
  162. package/lib/services/secrets_manager.js +41 -40
  163. package/lib/services/secrets_manager.js.map +1 -1
  164. package/lib/services/server_backup.d.ts +31 -31
  165. package/lib/services/server_backup.d.ts.map +1 -1
  166. package/lib/services/server_backup.js +28 -27
  167. package/lib/services/server_backup.js.map +1 -1
  168. package/lib/services/server_update.d.ts +17 -17
  169. package/lib/services/server_update.d.ts.map +1 -1
  170. package/lib/services/server_update.js +1 -1
  171. package/lib/services/server_update.js.map +1 -1
  172. package/lib/services/service_account.d.ts +30 -30
  173. package/lib/services/service_account.d.ts.map +1 -1
  174. package/lib/services/service_account.js +29 -28
  175. package/lib/services/service_account.js.map +1 -1
  176. package/lib/services/service_enablement.d.ts +22 -21
  177. package/lib/services/service_enablement.d.ts.map +1 -1
  178. package/lib/services/service_enablement.js +1 -1
  179. package/lib/services/service_enablement.js.map +1 -1
  180. package/lib/services/sfs.d.ts +151 -141
  181. package/lib/services/sfs.d.ts.map +1 -1
  182. package/lib/services/sfs.js +46 -44
  183. package/lib/services/sfs.js.map +1 -1
  184. package/lib/services/ske.d.ts +121 -110
  185. package/lib/services/ske.d.ts.map +1 -1
  186. package/lib/services/ske.js +25 -24
  187. package/lib/services/ske.js.map +1 -1
  188. package/lib/services/sqlserverflex.d.ts +47 -47
  189. package/lib/services/sqlserverflex.d.ts.map +1 -1
  190. package/lib/services/sqlserverflex.js +45 -44
  191. package/lib/services/sqlserverflex.js.map +1 -1
  192. package/lib/services/stackit_marketplace.d.ts +39 -39
  193. package/lib/services/stackit_marketplace.d.ts.map +1 -1
  194. package/lib/services/stackit_marketplace.js +25 -24
  195. package/lib/services/stackit_marketplace.js.map +1 -1
  196. package/lib/services/telemetry_link.d.ts +80 -38
  197. package/lib/services/telemetry_link.d.ts.map +1 -1
  198. package/lib/services/telemetry_link.js +34 -32
  199. package/lib/services/telemetry_link.js.map +1 -1
  200. package/lib/services/telemetry_router.d.ts +116 -41
  201. package/lib/services/telemetry_router.d.ts.map +1 -1
  202. package/lib/services/telemetry_router.js +31 -27
  203. package/lib/services/telemetry_router.js.map +1 -1
  204. package/lib/services/ufw.d.ts +55 -54
  205. package/lib/services/ufw.d.ts.map +1 -1
  206. package/lib/services/ufw.js +1 -1
  207. package/lib/services/ufw.js.map +1 -1
  208. package/lib/services/valkey.d.ts +94 -43
  209. package/lib/services/valkey.d.ts.map +1 -1
  210. package/lib/services/valkey.js +36 -32
  211. package/lib/services/valkey.js.map +1 -1
  212. package/lib/services/vpn.d.ts +150 -142
  213. package/lib/services/vpn.d.ts.map +1 -1
  214. package/lib/services/vpn.js +42 -41
  215. package/lib/services/vpn.js.map +1 -1
  216. package/lib/services/workflows.d.ts +65 -65
  217. package/lib/services/workflows.d.ts.map +1 -1
  218. package/lib/services/workflows.js +26 -25
  219. package/lib/services/workflows.js.map +1 -1
  220. package/lib/services.lazy/alb.js +1 -1
  221. package/lib/services.lazy/alb_waf.js +1 -1
  222. package/lib/services.lazy/automation.js +4 -1
  223. package/lib/services.lazy/cdn.js +1 -1
  224. package/lib/services.lazy/dns.js +2 -2
  225. package/lib/services.lazy/edge.js +4 -1
  226. package/lib/services.lazy/functions.js +3 -1
  227. package/lib/services.lazy/git.js +2 -2
  228. package/lib/services.lazy/iaas.js +1 -1
  229. package/lib/services.lazy/identity.js +1 -0
  230. package/lib/services.lazy/index.js +2 -2
  231. package/lib/services.lazy/intake.js +1 -1
  232. package/lib/services.lazy/kms.js +1 -1
  233. package/lib/services.lazy/load_balancer.js +1 -1
  234. package/lib/services.lazy/logme.js +2 -2
  235. package/lib/services.lazy/logs.js +1 -1
  236. package/lib/services.lazy/mailout.js +4 -0
  237. package/lib/services.lazy/mariadb.js +2 -2
  238. package/lib/services.lazy/mongodb_flex.js +1 -1
  239. package/lib/services.lazy/object_storage.js +1 -1
  240. package/lib/services.lazy/observability.js +1 -1
  241. package/lib/services.lazy/opensearch.js +2 -2
  242. package/lib/services.lazy/pim.js +1 -1
  243. package/lib/services.lazy/postgres_flex.js +1 -1
  244. package/lib/services.lazy/pubsub.js +1 -1
  245. package/lib/services.lazy/rabbitmq.js +2 -2
  246. package/lib/services.lazy/resource_manager.js +1 -1
  247. package/lib/services.lazy/sca.js +2 -2
  248. package/lib/services.lazy/scf.js +1 -1
  249. package/lib/services.lazy/secrets_manager.js +1 -1
  250. package/lib/services.lazy/server_backup.js +1 -1
  251. package/lib/services.lazy/service_account.js +1 -1
  252. package/lib/services.lazy/sfs.js +2 -2
  253. package/lib/services.lazy/ske.js +1 -1
  254. package/lib/services.lazy/sqlserverflex.js +1 -1
  255. package/lib/services.lazy/stackit_marketplace.js +1 -1
  256. package/lib/services.lazy/telemetry_link.js +1 -1
  257. package/lib/services.lazy/telemetry_router.js +2 -2
  258. package/lib/services.lazy/valkey.js +2 -2
  259. package/lib/services.lazy/vpn.js +1 -1
  260. package/lib/services.lazy/workflows.js +1 -1
  261. package/package.json +6 -5
  262. package/src/credentials.ts +1 -2
  263. package/src/index.ts +3 -3
  264. package/src/pagination.ts +7 -3
  265. package/src/protocol.ts +22 -20
  266. package/src/services/alb.ts +174 -132
  267. package/src/services/alb_waf.ts +96 -51
  268. package/src/services/authorization.ts +50 -15
  269. package/src/services/automation.ts +86 -49
  270. package/src/services/cdn.ts +172 -129
  271. package/src/services/certificates.ts +63 -40
  272. package/src/services/cost.ts +34 -15
  273. package/src/services/dns.ts +552 -269
  274. package/src/services/dremio.ts +187 -118
  275. package/src/services/edge.ts +62 -21
  276. package/src/services/functions.ts +217 -170
  277. package/src/services/git.ts +407 -108
  278. package/src/services/iaas.ts +723 -415
  279. package/src/services/identity.ts +625 -0
  280. package/src/services/index.ts +2 -0
  281. package/src/services/intake.ts +101 -58
  282. package/src/services/kms.ts +76 -13
  283. package/src/services/lb_ip_lists.ts +37 -14
  284. package/src/services/load_balancer.ts +168 -126
  285. package/src/services/logme.ts +345 -122
  286. package/src/services/logs.ts +172 -72
  287. package/src/services/mailout.ts +1277 -0
  288. package/src/services/mariadb.ts +328 -105
  289. package/src/services/model_experiments.ts +66 -33
  290. package/src/services/model_serving.ts +54 -25
  291. package/src/services/mongodb_flex.ts +205 -137
  292. package/src/services/object_storage.ts +61 -6
  293. package/src/services/observability.ts +594 -362
  294. package/src/services/opensearch.ts +337 -114
  295. package/src/services/pim.ts +403 -278
  296. package/src/services/postgres_flex.ts +258 -179
  297. package/src/services/pubsub.ts +85 -36
  298. package/src/services/rabbitmq.ts +348 -125
  299. package/src/services/registry.ts +55 -26
  300. package/src/services/resource_manager.ts +102 -57
  301. package/src/services/run_command.ts +65 -42
  302. package/src/services/sca.ts +769 -371
  303. package/src/services/scf.ts +83 -24
  304. package/src/services/secrets_manager.ts +87 -22
  305. package/src/services/server_backup.ts +76 -31
  306. package/src/services/server_update.ts +54 -17
  307. package/src/services/service_account.ts +75 -30
  308. package/src/services/service_enablement.ts +49 -24
  309. package/src/services/sfs.ts +469 -395
  310. package/src/services/ske.ts +299 -228
  311. package/src/services/sqlserverflex.ts +116 -47
  312. package/src/services/stackit_marketplace.ts +78 -39
  313. package/src/services/telemetry_link.ts +191 -81
  314. package/src/services/telemetry_router.ts +326 -94
  315. package/src/services/ufw.ts +85 -54
  316. package/src/services/valkey.ts +341 -118
  317. package/src/services/vpn.ts +213 -142
  318. package/src/services/workflows.ts +106 -65
@@ -38,241 +38,238 @@ export type ContainerArgsList = Array<string>;
38
38
  /** Container command override. */
39
39
  export type ContainerCommandList = Array<string>;
40
40
  /** 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. */
41
- export type EnvVarType = "ENV_FROM_SOURCE_TYPE_UNSPECIFIED" | "ENV_FROM_SOURCE_TYPE_MANUAL" | "ENV_FROM_SOURCE_TYPE_SECRET";
41
+ export type ContainerEnvVarType = "ENV_FROM_SOURCE_TYPE_UNSPECIFIED" | "ENV_FROM_SOURCE_TYPE_MANUAL" | "ENV_FROM_SOURCE_TYPE_SECRET";
42
42
  /** EnvVar defines a single environment variable. */
43
- export interface EnvVar {
43
+ export interface ContainerEnvVar {
44
44
  /** Environment variable key. */
45
45
  key: string;
46
- origin?: EnvVarType | (string & {});
46
+ origin?: ContainerEnvVarType | (string & {}) | undefined;
47
47
  /** Environment variable value. */
48
48
  value: string;
49
49
  }
50
50
  /** Environment variables exposed to the container. */
51
- export type ContainerEnvironmentVariablesList = Array<EnvVar>;
51
+ export type ContainerEnvironmentVariablesList = Array<ContainerEnvVar>;
52
52
  /** Container describes a simplified container configuration for the application. */
53
53
  export interface Container {
54
54
  /** Container argument override. */
55
- args?: ContainerArgsList;
55
+ args?: ContainerArgsList | undefined;
56
56
  /** Container command override. */
57
- command?: ContainerCommandList;
57
+ command?: ContainerCommandList | undefined;
58
58
  /** CPU limit for the container. */
59
- cpu?: number;
59
+ cpu?: number | undefined;
60
60
  /** Environment variables exposed to the container. */
61
- environmentVariables?: ContainerEnvironmentVariablesList;
61
+ environmentVariables?: ContainerEnvironmentVariablesList | undefined;
62
62
  /** Container image configuration. */
63
63
  image: string;
64
64
  /** Memory limit for the container. */
65
- memory?: number;
65
+ memory?: number | undefined;
66
66
  /** Container name. */
67
67
  name: string;
68
68
  }
69
69
  /** Containers to deploy for the application. */
70
70
  export type CreateApplicationRequestContainersList = Array<Container>;
71
- /** Allowed destination CIDRs for Ingress traffic. */
72
- export type NetworkIngressAclList = Array<string>;
71
+ export interface ApplicationInternalNetwork {
72
+ /** Enable or disable internal networking. */
73
+ enabled: boolean;
74
+ /** Port to expose the application internally. */
75
+ port?: number | undefined;
76
+ }
77
+ /** List of IPv4 CIDR ranges that the application is allowed to communicate with. */
78
+ export type ApplicationAccessControlEgressList = Array<string>;
79
+ /** List of IPv4 CIDR ranges allowed to access the application. */
80
+ export type ApplicationAccessControlIngressList = Array<string>;
81
+ export interface ApplicationAccessControl {
82
+ /** List of IPv4 CIDR ranges that the application is allowed to communicate with. */
83
+ egress?: ApplicationAccessControlEgressList | undefined;
84
+ /** List of IPv4 CIDR ranges allowed to access the application. */
85
+ ingress?: ApplicationAccessControlIngressList | undefined;
86
+ }
87
+ export interface ApplicationPublicNetwork {
88
+ accessControl?: ApplicationAccessControl | undefined;
89
+ /** Enable or disable public networking. */
90
+ enabled: boolean;
91
+ /** Port to expose the application. */
92
+ port?: number | undefined;
93
+ }
73
94
  /** Network configuration for an application. */
74
- export interface Network {
75
- /** Allowed destination CIDRs for Ingress traffic. */
76
- ingressAcl?: NetworkIngressAclList;
77
- /** Internal port number for inter application communication. */
78
- internalPort?: number;
79
- /** Port number. */
80
- port?: number;
81
- /** Whether the application should be accessible from the internet. */
82
- publicIngress?: boolean;
83
- }
84
- export interface ApplicationRegistryCredentialsAuth {
85
- /** Password to authenticate to the registry. Omit or set to null to indicate deletion in updates. */
86
- password?: string | Redacted.Redacted<string>;
87
- url: string;
88
- user: string;
89
- }
90
- export type ApplicationRegistryAuthType = "AUTH_TYPE_NONE" | "AUTH_TYPE_CREDENTIALS";
91
- export interface ApplicationRegistry {
92
- credentials?: ApplicationRegistryCredentialsAuth;
93
- type: ApplicationRegistryAuthType | (string & {});
94
- }
95
- /** Image registry configuration for the application. */
96
- export type CreateApplicationRequestRegistryList = Array<ApplicationRegistry>;
97
- /** - 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. */
98
- export type CurrentStatus = "CURRENT_STATUS_UNSPECIFIED" | "CURRENT_STATUS_PROGRESSING" | "CURRENT_STATUS_RUNNING" | "CURRENT_STATUS_FAILED" | "CURRENT_STATUS_IDLE" | "CURRENT_STATUS_NONE";
99
- export interface RuntimeStatusInput {
100
- currentStatus?: CurrentStatus | (string & {});
101
- }
102
- /** CustomRuleParameter defines a single scaler parameter. */
103
- export interface CustomRuleParameter {
95
+ export interface ApplicationNetwork {
96
+ internal?: ApplicationInternalNetwork | undefined;
97
+ public?: ApplicationPublicNetwork | undefined;
98
+ }
99
+ /** CustomRuleParameter defines a single scaler parameter from KEDA Scaler metadata configuration. */
100
+ export interface ApplicationCustomRuleParameter {
101
+ /** Parameter name/key from KEDA metadata parameters. */
104
102
  name: string;
103
+ /** Parameter value for KEDA metadata key. */
105
104
  value: string;
106
105
  }
107
106
  /** Scaler parameters. */
108
- export type CustomScaleRuleParametersList = Array<CustomRuleParameter>;
107
+ export type ApplicationCustomScaleRuleParametersList = Array<ApplicationCustomRuleParameter>;
109
108
  /** CustomRuleSecretMapping maps a scaler parameter to an environment secret. */
110
- export interface CustomRuleSecretMapping {
109
+ export interface ApplicationCustomRuleSecretMapping {
111
110
  /** Secret parameter name. */
112
111
  parameter: string;
113
112
  /** Environment secret name. */
114
113
  secret: string | Redacted.Redacted<string>;
115
114
  }
116
115
  /** Secret mappings for the scaler. */
117
- export type CustomScaleRuleSecretsMappingList = Array<CustomRuleSecretMapping>;
118
- /** CustomScaleRule defines parameters for custom scalers (e.g., KEDA). */
119
- export interface CustomScaleRule {
116
+ export type ApplicationCustomScaleRuleSecretsMappingList = Array<ApplicationCustomRuleSecretMapping>;
117
+ /** CustomScaleRule defines parameters for KEDA Scalers. */
118
+ export interface ApplicationCustomScaleRule {
120
119
  /** Scaler parameters. */
121
- parameters?: CustomScaleRuleParametersList;
120
+ parameters?: ApplicationCustomScaleRuleParametersList | undefined;
122
121
  /** Secret mappings for the scaler. */
123
- secretsMapping?: CustomScaleRuleSecretsMappingList;
122
+ secretsMapping?: ApplicationCustomScaleRuleSecretsMappingList | undefined;
124
123
  /** Scaler type. */
125
124
  type: string;
126
125
  }
127
126
  /** HttpScaleRule defines parameters for HTTP-based scaling. */
128
- export interface HttpScaleRule {
127
+ export interface ApplicationHttpScaleRule {
129
128
  /** Target concurrency per instance. */
130
- concurrency?: number;
129
+ concurrency?: number | undefined;
131
130
  /** Target requests per second per instance. */
132
- rps?: number;
131
+ rps?: number | undefined;
133
132
  }
134
133
  /** - RULE_TYPE_UNSPECIFIED: Used as zero value. - RULE_TYPE_HTTP: HTTP scaling rule. - RULE_TYPE_CUSTOM: Custom scaling rule (e.g. KEDA). */
135
- export type RuleType = "RULE_TYPE_UNSPECIFIED" | "RULE_TYPE_HTTP" | "RULE_TYPE_CUSTOM";
134
+ export type ApplicationRuleType = "RULE_TYPE_UNSPECIFIED" | "RULE_TYPE_HTTP" | "RULE_TYPE_CUSTOM";
136
135
  /** ScaleRule defines one autoscaling trigger. */
137
- export interface ScaleRule {
138
- customRule?: CustomScaleRule;
139
- httpRule?: HttpScaleRule;
136
+ export interface ApplicationScaleRule {
137
+ customRule?: ApplicationCustomScaleRule | undefined;
138
+ httpRule?: ApplicationHttpScaleRule | undefined;
140
139
  /** Rule name. */
141
140
  name: string;
142
- type: RuleType | (string & {});
141
+ type: ApplicationRuleType | (string & {});
143
142
  }
144
143
  /** Scaling rules. */
145
- export type AutoScalingRulesList = Array<ScaleRule>;
144
+ export type ApplicationAutoScalingRulesList = Array<ApplicationScaleRule>;
146
145
  /** AutoScaling configuration. */
147
- export interface AutoScaling {
146
+ export interface ApplicationAutoScaling {
148
147
  /** Allow automatically scale to zero. */
149
- allowScaleToZero?: boolean;
148
+ allowScaleToZero?: boolean | undefined;
150
149
  /** Maximum number of instances. */
151
150
  maxInstances: number;
152
151
  /** Minimum number of instances. */
153
152
  minInstances: number;
154
153
  /** Scaling rules. */
155
- rules: AutoScalingRulesList;
154
+ rules: ApplicationAutoScalingRulesList;
156
155
  }
157
156
  /** ManualScaling configuration. */
158
- export interface ManualScaling {
157
+ export interface ApplicationManualScaling {
159
158
  /** Number of instances to run. */
160
159
  instances: number;
161
160
  }
162
- /** - 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. */
163
- export type ScalingType = "SCALING_TYPE_UNSPECIFIED" | "SCALING_TYPE_AUTO" | "SCALING_TYPE_MANUAL";
161
+ /** 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. */
162
+ export type ApplicationScalingType = "SCALING_TYPE_UNSPECIFIED" | "SCALING_TYPE_AUTO" | "SCALING_TYPE_MANUAL";
164
163
  /** Scaling configuration for the application. */
165
- export interface Scaling {
166
- autoScaling?: AutoScaling;
167
- manualScaling?: ManualScaling;
168
- type: ScalingType | (string & {});
164
+ export interface ApplicationScaling {
165
+ autoScaling?: ApplicationAutoScaling | undefined;
166
+ manualScaling?: ApplicationManualScaling | undefined;
167
+ type: ApplicationScalingType | (string & {});
169
168
  }
170
- /** ApplicationSecret defines a single secret key-value pair. */
171
- export interface ApplicationSecret {
172
- /** Secret key. */
173
- key: string;
174
- /** Secret value. Omit or set to null to keep the existing value unchanged. */
175
- value?: string;
176
- }
177
- /** Secrets associated with the application. */
178
- export type CreateApplicationRequestSecretsList = Array<ApplicationSecret>;
179
169
  export interface CreateApplicationRequest {
180
170
  /** Project to create the application in. */
181
171
  projectId: string;
182
- /** environment to create the application in. */
172
+ /** Region to create the application in. */
173
+ region: string;
174
+ /** Environment to create the application in. */
183
175
  environmentId: string;
184
176
  /** Containers to deploy for the application. */
185
177
  containers: CreateApplicationRequestContainersList;
186
178
  /** Human-readable display name. */
187
179
  displayName: string;
188
- network?: Network;
189
- /** Image registry configuration for the application. */
190
- registry?: CreateApplicationRequestRegistryList;
191
- runtimeStatus?: RuntimeStatusInput;
192
- scaling: Scaling;
193
- /** Secrets associated with the application. */
194
- secrets?: CreateApplicationRequestSecretsList;
180
+ network?: ApplicationNetwork | undefined;
181
+ scaling: ApplicationScaling;
195
182
  /** Indicates if the application resources are stopped. */
196
- stopped?: boolean;
183
+ stopped?: boolean | undefined;
197
184
  }
198
185
  /** Containers to deploy for the application. */
199
186
  export type ApplicationContainersList = Array<Container>;
200
- /** Image registry configuration for the application. */
201
- export type ApplicationRegistryList = Array<ApplicationRegistry>;
202
- /** Failure reasons collected from workload conditions. */
203
- export type RuntimeStatusFailureReasonsList = Array<string>;
187
+ /** 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. */
188
+ export type ApplicationCurrentStatus = "CURRENT_STATUS_UNSPECIFIED" | "CURRENT_STATUS_PROGRESSING" | "CURRENT_STATUS_RUNNING" | "CURRENT_STATUS_FAILED" | "CURRENT_STATUS_IDLE" | "CURRENT_STATUS_NONE";
189
+ /** List of application domains. */
190
+ export interface ApplicationDomains {
191
+ /** Default domain for the application. */
192
+ default?: string | undefined;
193
+ /** Internal domain for the application. */
194
+ internal?: string | undefined;
195
+ }
204
196
  /** - 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. */
205
- export type InstanceStatus = "INSTANCE_STATUS_PROGRESSING" | "INSTANCE_STATUS_RUNNING" | "INSTANCE_STATUS_FAILED";
197
+ export type ApplicationInstanceStatus = "INSTANCE_STATUS_PROGRESSING" | "INSTANCE_STATUS_RUNNING" | "INSTANCE_STATUS_FAILED";
206
198
  /** Application instance summary. */
207
- export interface Instance {
199
+ export interface ApplicationInstance {
208
200
  /** Instance's name. */
209
- name?: string;
210
- status?: InstanceStatus;
211
- }
212
- export type RuntimeStatusInstancesList = Array<Instance>;
213
- /** Known URLs for the running application. */
214
- export type RuntimeStatusUrlsList = Array<string>;
215
- export interface RuntimeStatus {
216
- currentStatus?: CurrentStatus;
217
- /** Failure reasons collected from workload conditions. */
218
- failureReasons?: RuntimeStatusFailureReasonsList;
219
- instances?: RuntimeStatusInstancesList;
220
- /** Internal URL for the running application. */
221
- internalUrl?: string;
201
+ name?: string | undefined;
202
+ status?: ApplicationInstanceStatus | undefined;
203
+ }
204
+ export type ApplicationStatusInstancesList = Array<ApplicationInstance>;
205
+ /** Status of the application. */
206
+ export interface ApplicationStatus {
207
+ current?: ApplicationCurrentStatus | undefined;
208
+ domains?: ApplicationDomains | undefined;
209
+ instances?: ApplicationStatusInstancesList | undefined;
222
210
  /** Last time the application was deployed. */
223
- lastDeployment?: string;
224
- /** Known URLs for the running application. */
225
- urls?: RuntimeStatusUrlsList;
211
+ lastDeployment?: string | undefined;
226
212
  }
227
- /** Secrets associated with the application. */
228
- export type ApplicationSecretsList = Array<ApplicationSecret>;
229
213
  /** Application describes a deployable multi-container workload instance. */
230
214
  export interface Application {
231
215
  /** Containers to deploy for the application. */
232
216
  containers: ApplicationContainersList;
217
+ /** Creation date in RFC3339 format. */
218
+ createdAt?: string | undefined;
233
219
  /** Human-readable display name. */
234
220
  displayName: string;
235
- /** Application environment ID. */
236
- environmentId?: string;
237
- /** Application human-readable display name. */
238
- environmentName?: string;
239
- /** Application identifier, for example: 00000000-0000-0000-0000-000000000000. */
240
- id?: string;
241
- network?: Network;
242
- /** Image registry configuration for the application. */
243
- registry?: ApplicationRegistryList;
244
- runtimeStatus?: RuntimeStatus;
245
- scaling: Scaling;
246
- /** Secrets associated with the application. */
247
- secrets?: ApplicationSecretsList;
221
+ /** Environment identifier where the application belongs. */
222
+ environmentId?: string | undefined;
223
+ /** Environment human-readable display name. */
224
+ environmentName?: string | undefined;
225
+ /** Application identifier. */
226
+ id?: string | undefined;
227
+ network?: ApplicationNetwork | undefined;
228
+ /** Region of the environment. */
229
+ region?: string | undefined;
230
+ scaling: ApplicationScaling;
231
+ status?: ApplicationStatus | undefined;
248
232
  /** Indicates if the application resources are stopped. */
249
- stopped?: boolean;
233
+ stopped?: boolean | undefined;
234
+ /** Last update date in RFC3339 format. */
235
+ updatedAt?: string | undefined;
250
236
  }
251
- /** - ENVIRONMENT_STATUS_UNSPECIFIED: Used as zero value. - ENVIRONMENT_STATUS_PROGRESSING: Environment is being created. - ENVIRONMENT_STATUS_CREATED: Environment is successfully created. */
252
- export type EnvironmentStatus = "ENVIRONMENT_STATUS_UNSPECIFIED" | "ENVIRONMENT_STATUS_PROGRESSING" | "ENVIRONMENT_STATUS_CREATED";
253
237
  export interface CreateEnvironmentRequest {
254
- /** Parent project resource name to create under */
238
+ /** Project to create the environment */
255
239
  projectId: string;
240
+ /** Region to place the environment */
241
+ region: string;
256
242
  /** Human-readable display name. */
257
243
  displayName: string;
258
- status?: EnvironmentStatus | (string & {});
244
+ }
245
+ /** - CURRENT_STATUS_UNSPECIFIED: Used as zero value. - CURRENT_STATUS_PROGRESSING: Environment is being created. - CURRENT_STATUS_CREATED: Environment is successfully created. */
246
+ export type EnvironmentCurrentStatus = "CURRENT_STATUS_UNSPECIFIED" | "CURRENT_STATUS_PROGRESSING" | "CURRENT_STATUS_CREATED";
247
+ /** Status of the environment. */
248
+ export interface EnvironmentStatus {
249
+ /** Amount of applications in the environment. */
250
+ applicationsNumber?: number | undefined;
251
+ current?: EnvironmentCurrentStatus | undefined;
259
252
  }
260
253
  /** Environment describes an isolated container scope within a project. */
261
254
  export interface Environment {
262
255
  /** Creation date in RFC3339 format. */
263
- createdAt?: string;
256
+ createdAt?: string | undefined;
264
257
  /** Is the default environmet. */
265
- default?: boolean;
258
+ default?: boolean | undefined;
266
259
  /** Human-readable display name. */
267
260
  displayName: string;
268
- /** Environment identifier, for example: default. */
269
- id?: string;
270
- status?: EnvironmentStatus;
261
+ /** Environment identifier. */
262
+ id?: string | undefined;
263
+ /** Region of the environment. */
264
+ region?: string | undefined;
265
+ status?: EnvironmentStatus | undefined;
271
266
  }
272
267
  export interface DeleteApplicationRequest {
273
268
  /** Project to delete the application in. */
274
269
  projectId: string;
275
- /** environment to delete the application in. */
270
+ /** Region to delete the application in. */
271
+ region: string;
272
+ /** Environment to delete the application in. */
276
273
  environmentId: string;
277
274
  /** Application id to delete. */
278
275
  applicationId: string;
@@ -280,171 +277,298 @@ export interface DeleteApplicationRequest {
280
277
  export interface GetApplicationRequest {
281
278
  /** Project to fetch the application from. */
282
279
  projectId: string;
283
- /** environment to fetch the application from. */
280
+ /** Region to fetch the application from. */
281
+ region: string;
282
+ /** Environment to fetch the application from. */
284
283
  environmentId: string;
285
284
  /** Application id to fetch. */
286
285
  applicationId: string;
287
286
  }
288
287
  export interface GetApplicationEventsRequest {
289
- /** Project to fetch the application from. */
288
+ /** Project to fetch the application events from. */
290
289
  projectId: string;
291
- /** Environment to fetch the application from. */
290
+ /** Region to fetch the application events from. */
291
+ region: string;
292
+ /** Environment to fetch the application events from. */
292
293
  environmentId: string;
293
- /** Application id to fetch. */
294
+ /** Application id to fetch the events. */
294
295
  applicationId: string;
295
296
  }
296
297
  /** Event defines an event line. */
297
- export interface Event {
298
+ export interface ApplicationEvent {
298
299
  /** Event message. */
299
- message?: string;
300
+ message?: string | undefined;
300
301
  }
301
302
  /** Events list. */
302
- export type GetApplicationEventsResponseEventsList = Array<Event>;
303
+ export type GetApplicationEventsResponseEventsList = Array<ApplicationEvent>;
303
304
  /** GetApplicationEventsResponse contains an application's events list. */
304
305
  export interface GetApplicationEventsResponse {
305
306
  /** Events list. */
306
- events?: GetApplicationEventsResponseEventsList;
307
+ events?: GetApplicationEventsResponseEventsList | undefined;
307
308
  }
308
309
  export interface GetApplicationLogsRequest {
309
- /** Project to fetch the application from. */
310
+ /** Project to fetch the application logs from. */
310
311
  projectId: string;
311
- /** Environment to fetch the application from. */
312
+ /** Region to fetch the application logs from. */
313
+ region: string;
314
+ /** Environment to fetch the application logs from. */
312
315
  environmentId: string;
313
- /** Application id to fetch. */
316
+ /** Application id to fetch the logs. */
314
317
  applicationId: string;
315
318
  /** Instance name of the application. */
316
319
  instance: string;
317
320
  /** Container name to collect logs. */
318
321
  container: string;
319
322
  /** Get previous failed execution of the container. */
320
- previous?: boolean;
323
+ previous?: boolean | undefined;
321
324
  }
322
325
  /** Log defines a log line. */
323
- export interface Log {
326
+ export interface ApplicationLog {
324
327
  /** Log message. */
325
- message?: string;
328
+ message?: string | undefined;
326
329
  }
327
330
  /** Logs list. */
328
- export type GetApplicationLogsResponseLogsList = Array<Log>;
331
+ export type GetApplicationLogsResponseLogsList = Array<ApplicationLog>;
329
332
  /** GetApplicationLogsResponse contains an application's logs list. */
330
333
  export interface GetApplicationLogsResponse {
331
334
  /** Logs list. */
332
- logs?: GetApplicationLogsResponseLogsList;
335
+ logs?: GetApplicationLogsResponseLogsList | undefined;
333
336
  }
334
337
  export interface GetEnvironmentRequest {
335
- /** Parent project resource name to fetch under. */
338
+ /** Project to retrieve the environment */
336
339
  projectId: string;
340
+ /** Region to fetch the environment */
341
+ region: string;
337
342
  /** Environment identifier, for example: default. */
338
343
  environmentId: string;
339
344
  }
340
345
  export interface GetOverviewRequest {
341
- /** Parent project resource name to list under. */
346
+ /** Project to fetch the overview from. */
342
347
  projectId: string;
348
+ /** Region to fetch the overview from. */
349
+ region: string;
343
350
  }
344
351
  /** Summary describes the current status of a project. */
345
- export interface Summary {
352
+ export interface OverviewSummary {
346
353
  /** Number of applications running in a project. */
347
- applicationsRunning?: number;
354
+ applicationsRunning?: number | undefined;
348
355
  /** Number of applications created in a project. */
349
- applicationsTotal?: number;
356
+ applicationsTotal?: number | undefined;
350
357
  }
351
358
  /** GetOverviewResponse contains a summary of the current state of the project's application. */
352
359
  export interface GetOverviewResponse {
353
- summary: Summary;
360
+ /** Region where the overview is being fetched from. */
361
+ region?: string | undefined;
362
+ summary?: OverviewSummary | undefined;
354
363
  }
355
364
  export interface ListApplicationsRequest {
356
- /** Project to list the applications in. */
365
+ /** Project to list the applications from. */
357
366
  projectId: string;
358
- /** environment to list the applications in. */
367
+ /** Region to list the applications from. */
368
+ region: string;
369
+ /** Environment to list the applications from. */
359
370
  environmentId: string;
360
371
  }
361
- /** ApplicationSummary describes a summary of an application. */
372
+ /** ApplicationSummary describes a briefer representation of an application. */
362
373
  export interface ApplicationSummary {
363
- /** Number of containers. */
364
- containers?: number;
365
374
  /** Creation date in RFC3339 format. */
366
- createdAt?: string;
367
- /** Application's human-readable name. */
368
- displayName?: string;
369
- /** Environment's identifier. */
370
- environmentId?: string;
371
- /** Environment's human-readable name. */
372
- environmentName?: string;
373
- /** Application identifier, for example: 00000000-0000-0000-0000-000000000000. */
374
- id?: string;
375
- /** Application's running instances. */
376
- instances?: number;
377
- /** Application's internal URL. */
378
- internalUrl?: string;
379
- /** Date of the last moment the application got the running status in RFC3339 format. */
380
- lastDeployment?: string;
381
- status?: CurrentStatus;
375
+ createdAt?: string | undefined;
376
+ /** Human-readable display name. */
377
+ displayName?: string | undefined;
378
+ /** Environment identifier where the application belongs. */
379
+ environmentId?: string | undefined;
380
+ /** Environment human-readable display name. */
381
+ environmentName?: string | undefined;
382
+ /** Application identifier. */
383
+ id?: string | undefined;
384
+ /** Region of the environment. */
385
+ region?: string | undefined;
386
+ status?: ApplicationStatus | undefined;
382
387
  /** Indicates if the application resources are stopped. */
383
- stopped?: boolean;
384
- /** Application's published URL. */
385
- url?: string;
388
+ stopped?: boolean | undefined;
389
+ /** Last update date in RFC3339 format. */
390
+ updatedAt?: string | undefined;
386
391
  }
387
- /** Applications under the requested parent. */
392
+ /** Applications summaries under the requested parent. */
388
393
  export type ListApplicationsResponseItemsList = Array<ApplicationSummary>;
389
394
  /** ListApplicationsResponse contains applications and pagination metadata. */
390
395
  export interface ListApplicationsResponse {
391
- /** Applications under the requested parent. */
392
- items?: ListApplicationsResponseItemsList;
396
+ /** Applications summaries under the requested parent. */
397
+ items?: ListApplicationsResponseItemsList | undefined;
393
398
  }
394
- export interface ListEnvironmentsRequest {
395
- /** Parent project resource name to list under. */
399
+ export interface ListEnvironmentRegistriesRequest {
400
+ /** Project to fetch the environment registries from. */
396
401
  projectId: string;
402
+ /** Region to fetch the environment registries from. */
403
+ region: string;
404
+ /** Environment to fetch the environment registries from. */
405
+ environmentId: string;
397
406
  }
398
- /** Environment summary. */
399
- export interface EnvironmentSummary {
400
- /** Amount of applications in the environment. */
401
- applicationsNumber?: number;
402
- /** Creation date in RFC3339 format. */
403
- createdAt?: string;
404
- /** Is the default environmet. */
405
- default?: boolean;
406
- /** Human-readable display name. */
407
- displayName?: string;
408
- /** Environment identifier, for example: default. */
409
- id?: string;
407
+ /** RegistryConsumer lists the usages of a single Environment registry. */
408
+ export interface RegistryConsumer {
409
+ /** The container where the registry is used. */
410
+ container?: string | undefined;
411
+ /** The display name of the entity. */
412
+ displayName?: string | undefined;
413
+ /** The entity that is consuming the registry. */
414
+ id?: string | undefined;
415
+ }
416
+ /** List of entities actively consuming this registry. */
417
+ export type EnvironmentRegistryStatusConsumersList = Array<RegistryConsumer>;
418
+ /** EnvironmentRegistryStatus computed fields for a single registry. */
419
+ export interface EnvironmentRegistryStatus {
420
+ /** List of entities actively consuming this registry. */
421
+ consumers?: EnvironmentRegistryStatusConsumersList | undefined;
422
+ }
423
+ /** EnvironmentRegistry defines a single registry representation. */
424
+ export interface EnvironmentRegistry {
425
+ /** Creation timestamp of this registry entry. */
426
+ createdAt?: string | undefined;
427
+ /** Registry password. Omit or set to null to keep the existing value unchanged. */
428
+ password?: string | Redacted.Redacted<string> | undefined;
429
+ /** Registry region. */
430
+ region?: string | undefined;
431
+ /** Registry server. */
432
+ server: string;
433
+ status?: EnvironmentRegistryStatus | undefined;
434
+ /** Last update timestamp of this registry entry. */
435
+ updatedAt?: string | undefined;
436
+ /** Registry username. Omit or set to null to keep the existing value unchanged. */
437
+ username?: string | undefined;
438
+ }
439
+ /** The collection of configured registries. */
440
+ export type EnvironmentRegistriesVaultRegistriesList = Array<EnvironmentRegistry>;
441
+ /** Represents the collection Environment registries. */
442
+ export interface EnvironmentRegistriesVault {
443
+ /** The collection of configured registries. */
444
+ registries: EnvironmentRegistriesVaultRegistriesList;
445
+ }
446
+ export interface ListEnvironmentsRequest {
447
+ /** Project to list environments from. */
448
+ projectId: string;
449
+ /** Region to fetch the environments from. */
450
+ region: string;
410
451
  }
411
452
  /** Environments under the requested parent. */
412
- export type ListEnvironmentsResponseItemsList = Array<EnvironmentSummary>;
453
+ export type ListEnvironmentsResponseItemsList = Array<Environment>;
413
454
  /** ListEnvironmentsResponse contains environments and pagination metadata. */
414
455
  export interface ListEnvironmentsResponse {
415
456
  /** Environments under the requested parent. */
416
- items?: ListEnvironmentsResponseItemsList;
457
+ items?: ListEnvironmentsResponseItemsList | undefined;
458
+ }
459
+ export interface ListEnvironmentSecretsRequest {
460
+ /** Project to fetch the environment secrets from. */
461
+ projectId: string;
462
+ /** Region to fetch the environment secrets from. */
463
+ region: string;
464
+ /** Environment to fetch the environment secrets from. */
465
+ environmentId: string;
466
+ }
467
+ /** SecretConsumer lists the usages of a single Environment secret. */
468
+ export interface SecretConsumer {
469
+ /** The container where the secret is used. */
470
+ container?: string | undefined;
471
+ /** The display name of the entity. */
472
+ displayName?: string | undefined;
473
+ /** The entity that is consuming the secret. */
474
+ id?: string | undefined;
475
+ }
476
+ /** List of entities actively consuming this secret. */
477
+ export type EnvironmentSecretStatusConsumersList = Array<SecretConsumer>;
478
+ /** EnvironmentSecretStatus computed fields for a single secret. */
479
+ export interface EnvironmentSecretStatus {
480
+ /** List of entities actively consuming this secret. */
481
+ consumers?: EnvironmentSecretStatusConsumersList | undefined;
482
+ }
483
+ /** EnvironmentSecret defines a single secret representation. */
484
+ export interface EnvironmentSecret {
485
+ /** Creation timestamp of this registry entry. */
486
+ createdAt?: string | undefined;
487
+ /** Secret key. */
488
+ key: string;
489
+ /** Secret region. */
490
+ region?: string | undefined;
491
+ status?: EnvironmentSecretStatus | undefined;
492
+ /** Last update timestamp of this registry entry. */
493
+ updatedAt?: string | undefined;
494
+ /** Secret value. Omit or set to null to keep the existing value unchanged. */
495
+ value?: string | undefined;
496
+ }
497
+ /** The collection of configured secrets. */
498
+ export type EnvironmentSecretsVaultSecretsList = Array<EnvironmentSecret>;
499
+ /** Represents the vault containing the Environment secrets. */
500
+ export interface EnvironmentSecretsVault {
501
+ /** The collection of configured secrets. */
502
+ secrets: EnvironmentSecretsVaultSecretsList;
417
503
  }
418
504
  export interface ListProjectApplicationsRequest {
419
505
  /** Project to list the applications in. */
420
506
  projectId: string;
507
+ /** Region to list the applications from. */
508
+ region: string;
421
509
  }
422
510
  /** Containers to deploy for the application. */
423
511
  export type UpdateApplicationRequestContainersList = Array<Container>;
424
- /** Image registry configuration for the application. */
425
- export type UpdateApplicationRequestRegistryList = Array<ApplicationRegistry>;
426
- /** Secrets associated with the application. */
427
- export type UpdateApplicationRequestSecretsList = Array<ApplicationSecret>;
428
512
  export interface UpdateApplicationRequest {
429
513
  /** Project to update the application in. */
430
514
  projectId: string;
431
- /** environment to update the application in. */
515
+ /** Region to update the application in. */
516
+ region: string;
517
+ /** Environment to update the application in. */
432
518
  environmentId: string;
433
519
  /** Application id to update. */
434
520
  applicationId: string;
435
521
  /** Containers to deploy for the application. */
436
- containers?: UpdateApplicationRequestContainersList;
437
- network?: Network;
438
- /** Image registry configuration for the application. */
439
- registry?: UpdateApplicationRequestRegistryList;
440
- scaling?: Scaling;
441
- /** Secrets associated with the application. */
442
- secrets?: UpdateApplicationRequestSecretsList;
522
+ containers: UpdateApplicationRequestContainersList;
523
+ /** Human-readable display name. */
524
+ displayName: string;
525
+ network?: ApplicationNetwork | undefined;
526
+ scaling: ApplicationScaling;
443
527
  /** Indicates if the application resources are stopped. */
444
- stopped?: boolean;
528
+ stopped?: boolean | undefined;
529
+ }
530
+ /** EnvironmentRegistry defines a single registry representation. */
531
+ export interface EnvironmentRegistryInput {
532
+ /** Registry password. Omit or set to null to keep the existing value unchanged. */
533
+ password?: string | Redacted.Redacted<string> | undefined;
534
+ /** Registry server. */
535
+ server: string;
536
+ /** Registry username. Omit or set to null to keep the existing value unchanged. */
537
+ username?: string | undefined;
538
+ }
539
+ /** The collection of configured registries. */
540
+ export type UpdateEnvironmentRegistriesRequestRegistriesList = Array<EnvironmentRegistryInput>;
541
+ export interface UpdateEnvironmentRegistriesRequest {
542
+ /** Project to update the environment registries in. */
543
+ projectId: string;
544
+ /** Region to update the environment registries from. */
545
+ region: string;
546
+ /** Environment to update the environment registries in. */
547
+ environmentId: string;
548
+ /** The collection of configured registries. */
549
+ registries: UpdateEnvironmentRegistriesRequestRegistriesList;
550
+ }
551
+ /** EnvironmentSecret defines a single secret representation. */
552
+ export interface EnvironmentSecretInput {
553
+ /** Secret key. */
554
+ key: string;
555
+ /** Secret value. Omit or set to null to keep the existing value unchanged. */
556
+ value?: string | undefined;
557
+ }
558
+ /** The collection of configured secrets. */
559
+ export type UpdateEnvironmentSecretsRequestSecretsList = Array<EnvironmentSecretInput>;
560
+ export interface UpdateEnvironmentSecretsRequest {
561
+ /** Project to update the environment secrets in. */
562
+ projectId: string;
563
+ /** Region to update the environment secrets from. */
564
+ region: string;
565
+ /** Environment to update the environment secrets in. */
566
+ environmentId: string;
567
+ /** The collection of configured secrets. */
568
+ secrets: UpdateEnvironmentSecretsRequestSecretsList;
445
569
  }
446
570
  export type CreateApplicationError = BadRequest | Conflict | StackitOpError;
447
- /** Creates a new application within a environment. */
571
+ /** Creates a new application within an environment. */
448
572
  export declare const createApplication: API.OperationMethod<CreateApplicationRequest, Application, CreateApplicationError, StackitOpContext>;
449
573
  export type CreateEnvironmentError = BadRequest | Conflict | StackitOpError;
450
574
  /** Creates a new environment within a project. */
@@ -465,18 +589,30 @@ export type GetEnvironmentError = NotFound | StackitOpError;
465
589
  /** Retrieves an environment by resource name. */
466
590
  export declare const getEnvironment: API.OperationMethod<GetEnvironmentRequest, Environment, GetEnvironmentError, StackitOpContext>;
467
591
  export type GetOverviewError = StackitOpError;
468
- /** Retrieves the overview for an environment. */
592
+ /** Retrieves an aggregated overview of the project's current state. */
469
593
  export declare const getOverview: API.OperationMethod<GetOverviewRequest, GetOverviewResponse, GetOverviewError, StackitOpContext>;
470
594
  export type ListApplicationsError = BadRequest | StackitOpError;
471
595
  /** Lists applications within an environment. */
472
596
  export declare const listApplications: API.OperationMethod<ListApplicationsRequest, ListApplicationsResponse, ListApplicationsError, StackitOpContext>;
597
+ export type ListEnvironmentRegistriesError = NotFound | StackitOpError;
598
+ /** Retrieves the registries defined within an environment. */
599
+ export declare const listEnvironmentRegistries: API.OperationMethod<ListEnvironmentRegistriesRequest, EnvironmentRegistriesVault, ListEnvironmentRegistriesError, StackitOpContext>;
473
600
  export type ListEnvironmentsError = BadRequest | StackitOpError;
474
601
  /** Lists environments within a project. */
475
602
  export declare const listEnvironments: API.OperationMethod<ListEnvironmentsRequest, ListEnvironmentsResponse, ListEnvironmentsError, StackitOpContext>;
603
+ export type ListEnvironmentSecretsError = NotFound | StackitOpError;
604
+ /** Retrieves the secrets defined within an environment. */
605
+ export declare const listEnvironmentSecrets: API.OperationMethod<ListEnvironmentSecretsRequest, EnvironmentSecretsVault, ListEnvironmentSecretsError, StackitOpContext>;
476
606
  export type ListProjectApplicationsError = BadRequest | StackitOpError;
477
607
  /** Lists applications within a project. */
478
608
  export declare const listProjectApplications: API.OperationMethod<ListProjectApplicationsRequest, ListApplicationsResponse, ListProjectApplicationsError, StackitOpContext>;
479
609
  export type UpdateApplicationError = BadRequest | NotFound | Conflict | StackitOpError;
480
610
  /** Updates an existing application. */
481
611
  export declare const updateApplication: API.OperationMethod<UpdateApplicationRequest, Application, UpdateApplicationError, StackitOpContext>;
612
+ export type UpdateEnvironmentRegistriesError = BadRequest | NotFound | StackitOpError;
613
+ /** Updates the environment registries collection. */
614
+ export declare const updateEnvironmentRegistries: API.OperationMethod<UpdateEnvironmentRegistriesRequest, EnvironmentRegistriesVault, UpdateEnvironmentRegistriesError, StackitOpContext>;
615
+ export type UpdateEnvironmentSecretsError = BadRequest | NotFound | StackitOpError;
616
+ /** Updates the environment secrets collection. */
617
+ export declare const updateEnvironmentSecrets: API.OperationMethod<UpdateEnvironmentSecretsRequest, EnvironmentSecretsVault, UpdateEnvironmentSecretsError, StackitOpContext>;
482
618
  //# sourceMappingURL=sca.d.ts.map