@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.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +2 -1
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +24 -24
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +29 -29
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +22 -22
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +22 -22
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -39
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +23 -23
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +24 -24
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +37 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +179 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +25 -25
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +37 -37
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +25 -25
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +34 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -33
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +35 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +38 -38
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +34 -34
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +147 -147
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +35 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +24 -24
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -46
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +33 -33
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +36 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +32 -32
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +31 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +33 -33
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +39 -39
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +25 -25
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +26 -26
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -45
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +21 -21
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +36 -36
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +22 -22
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -33
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -28
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +35 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +40 -40
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +23 -23
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/automation.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/functions.js +2 -2
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/package.json +5 -5
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +10 -10
- package/src/services/alb.ts +135 -132
- package/src/services/alb_waf.ts +51 -51
- package/src/services/authorization.ts +15 -15
- package/src/services/automation.ts +53 -49
- package/src/services/cdn.ts +129 -129
- package/src/services/certificates.ts +40 -40
- package/src/services/cost.ts +15 -15
- package/src/services/dns.ts +497 -269
- package/src/services/dremio.ts +156 -118
- package/src/services/edge.ts +21 -21
- package/src/services/functions.ts +176 -172
- package/src/services/git.ts +354 -108
- package/src/services/iaas.ts +438 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +58 -58
- package/src/services/kms.ts +13 -13
- package/src/services/lb_ip_lists.ts +14 -14
- package/src/services/load_balancer.ts +129 -126
- package/src/services/logme.ts +294 -122
- package/src/services/logs.ts +123 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +277 -105
- package/src/services/model_experiments.ts +33 -33
- package/src/services/model_serving.ts +25 -25
- package/src/services/mongodb_flex.ts +142 -137
- package/src/services/object_storage.ts +6 -6
- package/src/services/observability.ts +369 -362
- package/src/services/opensearch.ts +286 -114
- package/src/services/pim.ts +362 -278
- package/src/services/postgres_flex.ts +191 -179
- package/src/services/pubsub.ts +36 -36
- package/src/services/rabbitmq.ts +297 -125
- package/src/services/registry.ts +30 -26
- package/src/services/resource_manager.ts +57 -57
- package/src/services/run_command.ts +42 -42
- package/src/services/sca.ts +732 -371
- package/src/services/scf.ts +24 -24
- package/src/services/secrets_manager.ts +22 -22
- package/src/services/server_backup.ts +31 -31
- package/src/services/server_update.ts +17 -17
- package/src/services/service_account.ts +32 -30
- package/src/services/service_enablement.ts +28 -24
- package/src/services/sfs.ts +404 -395
- package/src/services/ske.ts +258 -228
- package/src/services/sqlserverflex.ts +47 -47
- package/src/services/stackit_marketplace.ts +39 -39
- package/src/services/telemetry_link.ts +136 -81
- package/src/services/telemetry_router.ts +283 -94
- package/src/services/ufw.ts +56 -54
- package/src/services/valkey.ts +290 -118
- package/src/services/vpn.ts +152 -142
- package/src/services/workflows.ts +65 -65
package/lib/services/sca.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
43
|
+
export interface ContainerEnvVar {
|
|
44
44
|
/** Environment variable key. */
|
|
45
45
|
key: string;
|
|
46
|
-
origin?:
|
|
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<
|
|
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
|
-
|
|
72
|
-
|
|
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
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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
|
|
107
|
+
export type ApplicationCustomScaleRuleParametersList = Array<ApplicationCustomRuleParameter>;
|
|
109
108
|
/** CustomRuleSecretMapping maps a scaler parameter to an environment secret. */
|
|
110
|
-
export interface
|
|
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
|
|
118
|
-
/** CustomScaleRule defines parameters for
|
|
119
|
-
export interface
|
|
116
|
+
export type ApplicationCustomScaleRuleSecretsMappingList = Array<ApplicationCustomRuleSecretMapping>;
|
|
117
|
+
/** CustomScaleRule defines parameters for KEDA Scalers. */
|
|
118
|
+
export interface ApplicationCustomScaleRule {
|
|
120
119
|
/** Scaler parameters. */
|
|
121
|
-
parameters?:
|
|
120
|
+
parameters?: ApplicationCustomScaleRuleParametersList | undefined;
|
|
122
121
|
/** Secret mappings for the scaler. */
|
|
123
|
-
secretsMapping?:
|
|
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
|
|
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
|
|
134
|
+
export type ApplicationRuleType = "RULE_TYPE_UNSPECIFIED" | "RULE_TYPE_HTTP" | "RULE_TYPE_CUSTOM";
|
|
136
135
|
/** ScaleRule defines one autoscaling trigger. */
|
|
137
|
-
export interface
|
|
138
|
-
customRule?:
|
|
139
|
-
httpRule?:
|
|
136
|
+
export interface ApplicationScaleRule {
|
|
137
|
+
customRule?: ApplicationCustomScaleRule | undefined;
|
|
138
|
+
httpRule?: ApplicationHttpScaleRule | undefined;
|
|
140
139
|
/** Rule name. */
|
|
141
140
|
name: string;
|
|
142
|
-
type:
|
|
141
|
+
type: ApplicationRuleType | (string & {});
|
|
143
142
|
}
|
|
144
143
|
/** Scaling rules. */
|
|
145
|
-
export type
|
|
144
|
+
export type ApplicationAutoScalingRulesList = Array<ApplicationScaleRule>;
|
|
146
145
|
/** AutoScaling configuration. */
|
|
147
|
-
export interface
|
|
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:
|
|
154
|
+
rules: ApplicationAutoScalingRulesList;
|
|
156
155
|
}
|
|
157
156
|
/** ManualScaling configuration. */
|
|
158
|
-
export interface
|
|
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
|
|
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
|
|
166
|
-
autoScaling?:
|
|
167
|
-
manualScaling?:
|
|
168
|
-
type:
|
|
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
|
-
/**
|
|
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?:
|
|
189
|
-
|
|
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
|
-
/**
|
|
201
|
-
export type
|
|
202
|
-
/**
|
|
203
|
-
export
|
|
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
|
|
197
|
+
export type ApplicationInstanceStatus = "INSTANCE_STATUS_PROGRESSING" | "INSTANCE_STATUS_RUNNING" | "INSTANCE_STATUS_FAILED";
|
|
206
198
|
/** Application instance summary. */
|
|
207
|
-
export interface
|
|
199
|
+
export interface ApplicationInstance {
|
|
208
200
|
/** Instance's name. */
|
|
209
|
-
name?: string;
|
|
210
|
-
status?:
|
|
211
|
-
}
|
|
212
|
-
export type
|
|
213
|
-
/**
|
|
214
|
-
export
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
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
|
-
/**
|
|
236
|
-
environmentId?: string;
|
|
237
|
-
/**
|
|
238
|
-
environmentName?: string;
|
|
239
|
-
/** Application identifier
|
|
240
|
-
id?: string;
|
|
241
|
-
network?:
|
|
242
|
-
/**
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
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
|
-
/**
|
|
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
|
-
|
|
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
|
|
269
|
-
id?: string;
|
|
270
|
-
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
|
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<
|
|
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
|
-
/**
|
|
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
|
|
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<
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
|
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
|
-
|
|
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
|
|
365
|
+
/** Project to list the applications from. */
|
|
357
366
|
projectId: string;
|
|
358
|
-
/**
|
|
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
|
|
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
|
-
/**
|
|
368
|
-
displayName?: string;
|
|
369
|
-
/** Environment
|
|
370
|
-
environmentId?: string;
|
|
371
|
-
/** Environment
|
|
372
|
-
environmentName?: string;
|
|
373
|
-
/** Application identifier
|
|
374
|
-
id?: string;
|
|
375
|
-
/**
|
|
376
|
-
|
|
377
|
-
|
|
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
|
-
/**
|
|
385
|
-
|
|
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
|
|
395
|
-
/**
|
|
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
|
|
399
|
-
export interface
|
|
400
|
-
/**
|
|
401
|
-
|
|
402
|
-
/**
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
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<
|
|
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
|
-
/**
|
|
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
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
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
|
|
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
|
|
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
|