@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.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +3 -2
- 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 +27 -26
- 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 +32 -31
- 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 +24 -1
- 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 +30 -29
- 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 -38
- 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 +28 -1
- 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 +27 -1
- 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 +38 -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 +180 -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 +28 -27
- 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 +40 -39
- 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 +28 -27
- 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 +35 -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 -32
- 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 +36 -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 +41 -40
- 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 +37 -36
- 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 +158 -157
- 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 +36 -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 +30 -29
- 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 -45
- 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 +36 -35
- 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 +37 -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 +35 -34
- 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 +32 -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 +39 -38
- 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 +41 -40
- 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 +28 -27
- 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 +29 -28
- 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 -44
- 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 +25 -24
- 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 +45 -44
- 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 +25 -24
- 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 -32
- 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 -27
- 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 +36 -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 +42 -41
- 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 +26 -25
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +4 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/edge.js +4 -1
- package/lib/services.lazy/functions.js +3 -1
- 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/intake.js +1 -1
- package/lib/services.lazy/kms.js +1 -1
- 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/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- 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/pubsub.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/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.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/lib/services.lazy/workflows.js +1 -1
- package/package.json +6 -5
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +22 -20
- package/src/services/alb.ts +174 -132
- package/src/services/alb_waf.ts +96 -51
- package/src/services/authorization.ts +50 -15
- package/src/services/automation.ts +86 -49
- package/src/services/cdn.ts +172 -129
- package/src/services/certificates.ts +63 -40
- package/src/services/cost.ts +34 -15
- package/src/services/dns.ts +552 -269
- package/src/services/dremio.ts +187 -118
- package/src/services/edge.ts +62 -21
- package/src/services/functions.ts +217 -170
- package/src/services/git.ts +407 -108
- package/src/services/iaas.ts +723 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +101 -58
- package/src/services/kms.ts +76 -13
- package/src/services/lb_ip_lists.ts +37 -14
- package/src/services/load_balancer.ts +168 -126
- package/src/services/logme.ts +345 -122
- package/src/services/logs.ts +172 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +328 -105
- package/src/services/model_experiments.ts +66 -33
- package/src/services/model_serving.ts +54 -25
- package/src/services/mongodb_flex.ts +205 -137
- package/src/services/object_storage.ts +61 -6
- package/src/services/observability.ts +594 -362
- package/src/services/opensearch.ts +337 -114
- package/src/services/pim.ts +403 -278
- package/src/services/postgres_flex.ts +258 -179
- package/src/services/pubsub.ts +85 -36
- package/src/services/rabbitmq.ts +348 -125
- package/src/services/registry.ts +55 -26
- package/src/services/resource_manager.ts +102 -57
- package/src/services/run_command.ts +65 -42
- package/src/services/sca.ts +769 -371
- package/src/services/scf.ts +83 -24
- package/src/services/secrets_manager.ts +87 -22
- package/src/services/server_backup.ts +76 -31
- package/src/services/server_update.ts +54 -17
- package/src/services/service_account.ts +75 -30
- package/src/services/service_enablement.ts +49 -24
- package/src/services/sfs.ts +469 -395
- package/src/services/ske.ts +299 -228
- package/src/services/sqlserverflex.ts +116 -47
- package/src/services/stackit_marketplace.ts +78 -39
- package/src/services/telemetry_link.ts +191 -81
- package/src/services/telemetry_router.ts +326 -94
- package/src/services/ufw.ts +85 -54
- package/src/services/valkey.ts +341 -118
- package/src/services/vpn.ts +213 -142
- package/src/services/workflows.ts +106 -65
package/src/services/rabbitmq.ts
CHANGED
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "Rabbitmq",
|
|
25
|
+
labels: "stackit",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
16
29
|
export class BadRequest
|
|
17
30
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
18
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -61,7 +74,7 @@ export type CredentialsParametersRolesItem =
|
|
|
61
74
|
export type CredentialsParametersRolesList = Array<CredentialsParametersRolesItem | (string & {})>;
|
|
62
75
|
export interface CredentialsParameters {
|
|
63
76
|
/** A list of roles to assign to the generated credentials. If not provided, standard default role 'policymaker' will be assigned. */
|
|
64
|
-
roles?: CredentialsParametersRolesList;
|
|
77
|
+
roles?: CredentialsParametersRolesList | undefined;
|
|
65
78
|
}
|
|
66
79
|
export interface CreateCredentialsRequest {
|
|
67
80
|
/** Project id on which user has permissions */
|
|
@@ -70,24 +83,24 @@ export interface CreateCredentialsRequest {
|
|
|
70
83
|
regionId: string;
|
|
71
84
|
/** Instance id */
|
|
72
85
|
instanceId: string;
|
|
73
|
-
parameters?: CredentialsParameters;
|
|
86
|
+
parameters?: CredentialsParameters | undefined;
|
|
74
87
|
}
|
|
75
88
|
export type CredentialsHostsList = Array<string>;
|
|
76
89
|
export type CredentialsHttpApiUrisList = Array<string>;
|
|
77
90
|
export type CredentialsUrisList = Array<string>;
|
|
78
91
|
export interface Credentials {
|
|
79
92
|
host: string;
|
|
80
|
-
hosts?: CredentialsHostsList;
|
|
93
|
+
hosts?: CredentialsHostsList | undefined;
|
|
81
94
|
/** for rabbitmq only */
|
|
82
|
-
http_api_uri?: string;
|
|
83
|
-
http_api_uris?: CredentialsHttpApiUrisList;
|
|
84
|
-
management?: string;
|
|
85
|
-
mqtt?: string;
|
|
95
|
+
http_api_uri?: string | undefined;
|
|
96
|
+
http_api_uris?: CredentialsHttpApiUrisList | undefined;
|
|
97
|
+
management?: string | undefined;
|
|
98
|
+
mqtt?: string | undefined;
|
|
86
99
|
password: string | Redacted.Redacted<string>;
|
|
87
|
-
port?: number;
|
|
88
|
-
stomp?: string;
|
|
89
|
-
uri?: string;
|
|
90
|
-
uris?: CredentialsUrisList;
|
|
100
|
+
port?: number | undefined;
|
|
101
|
+
stomp?: string | undefined;
|
|
102
|
+
uri?: string | undefined;
|
|
103
|
+
uris?: CredentialsUrisList | undefined;
|
|
91
104
|
username: string;
|
|
92
105
|
}
|
|
93
106
|
export interface RawCredentials {
|
|
@@ -95,7 +108,7 @@ export interface RawCredentials {
|
|
|
95
108
|
}
|
|
96
109
|
export interface CredentialsResponse {
|
|
97
110
|
id: string;
|
|
98
|
-
raw?: RawCredentials;
|
|
111
|
+
raw?: RawCredentials | undefined;
|
|
99
112
|
uri: string;
|
|
100
113
|
}
|
|
101
114
|
export type InstanceParametersPluginsItem =
|
|
@@ -121,27 +134,27 @@ export type InstanceParametersTlsProtocolsList = Array<
|
|
|
121
134
|
>;
|
|
122
135
|
export interface InstanceParameters {
|
|
123
136
|
/** The unit is milliseconds. */
|
|
124
|
-
consumer_timeout?: number;
|
|
125
|
-
enable_monitoring?: boolean;
|
|
137
|
+
consumer_timeout?: number | undefined;
|
|
138
|
+
enable_monitoring?: boolean | undefined;
|
|
126
139
|
/** If you want to monitor your service with Graphite, you can set the custom parameter graphite. It expects the host and port where the Graphite metrics should be sent to. */
|
|
127
|
-
graphite?: string;
|
|
140
|
+
graphite?: string | undefined;
|
|
128
141
|
/** This component monitors ephemeral and persistent disk usage. If one of these disk usages reaches the default configured threshold of 80%, the a9s Parachute stops all processes on that node. */
|
|
129
|
-
max_disk_threshold?: number;
|
|
142
|
+
max_disk_threshold?: number | undefined;
|
|
130
143
|
/** Frequency of metrics being emitted in seconds */
|
|
131
|
-
metrics_frequency?: number;
|
|
144
|
+
metrics_frequency?: number | undefined;
|
|
132
145
|
/** Depending on your graphite provider, you might need to prefix the metrics with a certain value, like an API key for example. */
|
|
133
|
-
metrics_prefix?: string;
|
|
134
|
-
monitoring_instance_id?: string;
|
|
135
|
-
plugins?: InstanceParametersPluginsList;
|
|
146
|
+
metrics_prefix?: string | undefined;
|
|
147
|
+
monitoring_instance_id?: string | undefined;
|
|
148
|
+
plugins?: InstanceParametersPluginsList | undefined;
|
|
136
149
|
/** This property is deprecated and will be removed in a future release. */
|
|
137
|
-
roles?: InstanceParametersRolesList;
|
|
150
|
+
roles?: InstanceParametersRolesList | undefined;
|
|
138
151
|
/** Comma separated list of IP networks in CIDR notation which are allowed to access this instance. */
|
|
139
|
-
sgw_acl?: string;
|
|
140
|
-
syslog?: InstanceParametersSyslogList;
|
|
152
|
+
sgw_acl?: string | undefined;
|
|
153
|
+
syslog?: InstanceParametersSyslogList | undefined;
|
|
141
154
|
/** This property is deprecated and will be removed in a future release. */
|
|
142
|
-
tls_ciphers?: InstanceParametersTlsCiphersList;
|
|
155
|
+
tls_ciphers?: InstanceParametersTlsCiphersList | undefined;
|
|
143
156
|
/** This property is deprecated and will be removed in a future release. */
|
|
144
|
-
tls_protocols?: InstanceParametersTlsProtocolsList;
|
|
157
|
+
tls_protocols?: InstanceParametersTlsProtocolsList | undefined;
|
|
145
158
|
}
|
|
146
159
|
export interface CreateInstanceRequest {
|
|
147
160
|
/** Project id on which user has permissions */
|
|
@@ -149,7 +162,7 @@ export interface CreateInstanceRequest {
|
|
|
149
162
|
/** region in which the project resides */
|
|
150
163
|
regionId: string;
|
|
151
164
|
instanceName: string;
|
|
152
|
-
parameters?: InstanceParameters;
|
|
165
|
+
parameters?: InstanceParameters | undefined;
|
|
153
166
|
planId: string;
|
|
154
167
|
}
|
|
155
168
|
export interface CreateInstanceResponse {
|
|
@@ -204,6 +217,15 @@ export interface GetInstanceRequest {
|
|
|
204
217
|
/** Instance id */
|
|
205
218
|
instanceId: string;
|
|
206
219
|
}
|
|
220
|
+
/** Current state of a service instance */
|
|
221
|
+
export type InstanceInstanceStatus =
|
|
222
|
+
| "provisioned"
|
|
223
|
+
| "available"
|
|
224
|
+
| "deleted"
|
|
225
|
+
| "deploying"
|
|
226
|
+
| "failed"
|
|
227
|
+
| "stopped"
|
|
228
|
+
| "unknown";
|
|
207
229
|
export type InstanceLastOperationState = "in progress" | "succeeded" | "failed";
|
|
208
230
|
export type InstanceLastOperationType = "create" | "update" | "delete";
|
|
209
231
|
export interface InstanceLastOperation {
|
|
@@ -211,6 +233,7 @@ export interface InstanceLastOperation {
|
|
|
211
233
|
state: InstanceLastOperationState;
|
|
212
234
|
type: InstanceLastOperationType;
|
|
213
235
|
}
|
|
236
|
+
/** State of the last operation and this instance */
|
|
214
237
|
export type InstanceStatus = "active" | "failed" | "stopped" | "creating" | "deleting" | "updating";
|
|
215
238
|
export interface Instance {
|
|
216
239
|
cfGuid: string;
|
|
@@ -218,7 +241,9 @@ export interface Instance {
|
|
|
218
241
|
cfSpaceGuid: string;
|
|
219
242
|
dashboardUrl: string;
|
|
220
243
|
imageUrl: string;
|
|
221
|
-
instanceId?: string;
|
|
244
|
+
instanceId?: string | undefined;
|
|
245
|
+
/** Current state of a service instance */
|
|
246
|
+
instanceStatus?: InstanceInstanceStatus | undefined;
|
|
222
247
|
lastOperation: InstanceLastOperation;
|
|
223
248
|
name: string;
|
|
224
249
|
offeringName: string;
|
|
@@ -226,7 +251,8 @@ export interface Instance {
|
|
|
226
251
|
parameters: unknown;
|
|
227
252
|
planId: string;
|
|
228
253
|
planName: string;
|
|
229
|
-
|
|
254
|
+
/** State of the last operation and this instance */
|
|
255
|
+
status?: InstanceStatus | undefined;
|
|
230
256
|
}
|
|
231
257
|
export interface GetMetricsRequest {
|
|
232
258
|
/** Project id on which user has permissions */
|
|
@@ -237,10 +263,10 @@ export interface GetMetricsRequest {
|
|
|
237
263
|
instanceId: string;
|
|
238
264
|
}
|
|
239
265
|
export interface GetMetricsResponse {
|
|
240
|
-
cpuIdleTime?: number;
|
|
266
|
+
cpuIdleTime?: number | undefined;
|
|
241
267
|
cpuLoadPercent: number;
|
|
242
|
-
cpuSystemTime?: number;
|
|
243
|
-
cpuUserTime?: number;
|
|
268
|
+
cpuSystemTime?: number | undefined;
|
|
269
|
+
cpuUserTime?: number | undefined;
|
|
244
270
|
diskEphemeralTotal: number;
|
|
245
271
|
diskEphemeralUsed: number;
|
|
246
272
|
diskPersistentTotal: number;
|
|
@@ -261,6 +287,20 @@ export interface GetMetricsResponse {
|
|
|
261
287
|
parachuteDiskPersistentUsedPercent: number;
|
|
262
288
|
parachuteDiskPersistentUsedThreshold: number;
|
|
263
289
|
}
|
|
290
|
+
export interface GetUpdatesRequest {
|
|
291
|
+
/** Project id on which user has permissions */
|
|
292
|
+
projectId: string;
|
|
293
|
+
/** region in which the project resides */
|
|
294
|
+
regionId: string;
|
|
295
|
+
/** Instance id */
|
|
296
|
+
instanceId: string;
|
|
297
|
+
}
|
|
298
|
+
export interface GetUpdatesResponse {
|
|
299
|
+
/** Whether automatic updates are allowed. */
|
|
300
|
+
automaticUpdatesEnabled: boolean;
|
|
301
|
+
/** Number of available update components. */
|
|
302
|
+
availableUpdates: number;
|
|
303
|
+
}
|
|
264
304
|
export interface ListBackupsRequest {
|
|
265
305
|
/** Project id on which user has permissions */
|
|
266
306
|
projectId: string;
|
|
@@ -270,12 +310,12 @@ export interface ListBackupsRequest {
|
|
|
270
310
|
instanceId: string;
|
|
271
311
|
}
|
|
272
312
|
export interface Backup {
|
|
273
|
-
downloadable?: boolean;
|
|
313
|
+
downloadable?: boolean | undefined;
|
|
274
314
|
finished_at: string;
|
|
275
315
|
id: number;
|
|
276
|
-
size?: number;
|
|
316
|
+
size?: number | undefined;
|
|
277
317
|
status: string;
|
|
278
|
-
triggered_at?: string;
|
|
318
|
+
triggered_at?: string | undefined;
|
|
279
319
|
}
|
|
280
320
|
export type ListBackupsResponse = Array<Backup>;
|
|
281
321
|
export type ListBackupsResponse2 = ListBackupsResponse;
|
|
@@ -330,11 +370,11 @@ export interface Offering {
|
|
|
330
370
|
documentationUrl: string;
|
|
331
371
|
imageUrl: string;
|
|
332
372
|
latest: boolean;
|
|
333
|
-
lifecycle?: string;
|
|
373
|
+
lifecycle?: string | undefined;
|
|
334
374
|
name: string;
|
|
335
375
|
plans: OfferingPlansList;
|
|
336
376
|
quotaCount: number;
|
|
337
|
-
schema?: InstanceSchema;
|
|
377
|
+
schema?: InstanceSchema | undefined;
|
|
338
378
|
version: string;
|
|
339
379
|
}
|
|
340
380
|
export type ListOfferingsResponseOfferingsList = Array<Offering>;
|
|
@@ -354,7 +394,7 @@ export interface Restore {
|
|
|
354
394
|
finished_at: string;
|
|
355
395
|
id: number;
|
|
356
396
|
status: string;
|
|
357
|
-
triggered_at?: string;
|
|
397
|
+
triggered_at?: string | undefined;
|
|
358
398
|
}
|
|
359
399
|
export type ListRestoresResponseInstanceRestoresList = Array<Restore>;
|
|
360
400
|
export interface ListRestoresResponse {
|
|
@@ -367,9 +407,9 @@ export interface PartialUpdateInstanceRequest {
|
|
|
367
407
|
regionId: string;
|
|
368
408
|
/** Instance id */
|
|
369
409
|
instanceId: string;
|
|
370
|
-
instanceName?: string;
|
|
371
|
-
parameters?: InstanceParameters;
|
|
372
|
-
planId?: string;
|
|
410
|
+
instanceName?: string | undefined;
|
|
411
|
+
parameters?: InstanceParameters | undefined;
|
|
412
|
+
planId?: string | undefined;
|
|
373
413
|
}
|
|
374
414
|
export interface PartialUpdateInstanceResponse {}
|
|
375
415
|
export interface TriggerRecreateRequest {
|
|
@@ -401,6 +441,14 @@ export interface TriggerRestoreRequest {
|
|
|
401
441
|
export interface TriggerRestoreResponse {
|
|
402
442
|
id: number;
|
|
403
443
|
}
|
|
444
|
+
export interface TriggerUpdateRequest {
|
|
445
|
+
/** Project id on which user has permissions */
|
|
446
|
+
projectId: string;
|
|
447
|
+
/** region in which the project resides */
|
|
448
|
+
regionId: string;
|
|
449
|
+
/** Instance id */
|
|
450
|
+
instanceId: string;
|
|
451
|
+
}
|
|
404
452
|
export interface UpdateBackupsConfigRequest {
|
|
405
453
|
/** Project id on which user has permissions */
|
|
406
454
|
projectId: string;
|
|
@@ -408,11 +456,25 @@ export interface UpdateBackupsConfigRequest {
|
|
|
408
456
|
regionId: string;
|
|
409
457
|
/** Instance id */
|
|
410
458
|
instanceId: string;
|
|
411
|
-
encryption_key?: string;
|
|
459
|
+
encryption_key?: string | undefined;
|
|
412
460
|
}
|
|
413
461
|
export interface UpdateBackupsConfigResponse {
|
|
414
462
|
message: string;
|
|
415
463
|
}
|
|
464
|
+
export interface UpdateUpdatesSettingsRequest {
|
|
465
|
+
/** Project id on which user has permissions */
|
|
466
|
+
projectId: string;
|
|
467
|
+
/** region in which the project resides */
|
|
468
|
+
regionId: string;
|
|
469
|
+
/** Instance id */
|
|
470
|
+
instanceId: string;
|
|
471
|
+
/** Set to true to enable automatic updates or false to disable them. */
|
|
472
|
+
automaticUpdatesEnabled: boolean;
|
|
473
|
+
}
|
|
474
|
+
export interface UpdateUpdatesSettingsResponse {
|
|
475
|
+
/** Whether automatic updates are allowed. */
|
|
476
|
+
automaticUpdatesEnabled: boolean;
|
|
477
|
+
}
|
|
416
478
|
export type CreateBackupError = BadRequest | NotFound | StackitOpError;
|
|
417
479
|
/** create a backup */
|
|
418
480
|
export const createBackup: API.OperationMethod<
|
|
@@ -421,11 +483,13 @@ export const createBackup: API.OperationMethod<
|
|
|
421
483
|
CreateBackupError,
|
|
422
484
|
StackitOpContext
|
|
423
485
|
> = /*@__PURE__*/ API.make(() => ({
|
|
424
|
-
input: __S(
|
|
425
|
-
output: __S(
|
|
486
|
+
input: __S(128, __c16, 0) as any as S.Schema<CreateBackupRequest>,
|
|
487
|
+
output: __S(129, __c16, 1) as any as S.Schema<CreateBackupResponseItem>,
|
|
426
488
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
427
489
|
protocol: StackitProtocol,
|
|
428
490
|
retry: Retry.Retry,
|
|
491
|
+
telemetry: TELEMETRY,
|
|
492
|
+
span: "CreateBackup",
|
|
429
493
|
}));
|
|
430
494
|
|
|
431
495
|
export type CreateCredentialsError = BadRequest | StackitOpError;
|
|
@@ -436,11 +500,13 @@ export const createCredentials: API.OperationMethod<
|
|
|
436
500
|
CreateCredentialsError,
|
|
437
501
|
StackitOpContext
|
|
438
502
|
> = /*@__PURE__*/ API.make(() => ({
|
|
439
|
-
input: __S(
|
|
440
|
-
output: __S(
|
|
503
|
+
input: __S(137, __c17, 1) as any as S.Schema<CreateCredentialsRequest>,
|
|
504
|
+
output: __S(162, __c20, 2) as any as S.Schema<CredentialsResponse>,
|
|
441
505
|
errors: [BadRequest, UnknownStackitError],
|
|
442
506
|
protocol: StackitProtocol,
|
|
443
507
|
retry: Retry.Retry,
|
|
508
|
+
telemetry: TELEMETRY,
|
|
509
|
+
span: "CreateCredentials",
|
|
444
510
|
}));
|
|
445
511
|
|
|
446
512
|
export type CreateInstanceError = BadRequest | Conflict | StackitOpError;
|
|
@@ -451,11 +517,13 @@ export const createInstance: API.OperationMethod<
|
|
|
451
517
|
CreateInstanceError,
|
|
452
518
|
StackitOpContext
|
|
453
519
|
> = /*@__PURE__*/ API.make(() => ({
|
|
454
|
-
input: __S(
|
|
455
|
-
output: __S(
|
|
520
|
+
input: __S(168, __c21, 0) as any as S.Schema<CreateInstanceRequest>,
|
|
521
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
456
522
|
errors: [BadRequest, Conflict, UnknownStackitError],
|
|
457
523
|
protocol: StackitProtocol,
|
|
458
524
|
retry: Retry.Retry,
|
|
525
|
+
telemetry: TELEMETRY,
|
|
526
|
+
span: "CreateInstance",
|
|
459
527
|
}));
|
|
460
528
|
|
|
461
529
|
export type DeleteCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -466,11 +534,13 @@ export const deleteCredentials: API.OperationMethod<
|
|
|
466
534
|
DeleteCredentialsError,
|
|
467
535
|
StackitOpContext
|
|
468
536
|
> = /*@__PURE__*/ API.make(() => ({
|
|
469
|
-
input: __S(
|
|
470
|
-
output: __S(
|
|
537
|
+
input: __S(192, __c24, 0) as any as S.Schema<DeleteCredentialsRequest>,
|
|
538
|
+
output: __S(200, __c25, 0) as any as S.Schema<DeleteCredentialsResponse>,
|
|
471
539
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
472
540
|
protocol: StackitProtocol,
|
|
473
541
|
retry: Retry.Retry,
|
|
542
|
+
telemetry: TELEMETRY,
|
|
543
|
+
span: "DeleteCredentials",
|
|
474
544
|
}));
|
|
475
545
|
|
|
476
546
|
export type DeleteInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -481,11 +551,13 @@ export const deleteInstance: API.OperationMethod<
|
|
|
481
551
|
DeleteInstanceError,
|
|
482
552
|
StackitOpContext
|
|
483
553
|
> = /*@__PURE__*/ API.make(() => ({
|
|
484
|
-
input: __S(
|
|
485
|
-
output: __S(
|
|
554
|
+
input: __S(208, __c26, 0) as any as S.Schema<DeleteInstanceRequest>,
|
|
555
|
+
output: __S(200, __c25, 0) as any as S.Schema<DeleteInstanceResponse>,
|
|
486
556
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
487
557
|
protocol: StackitProtocol,
|
|
488
558
|
retry: Retry.Retry,
|
|
559
|
+
telemetry: TELEMETRY,
|
|
560
|
+
span: "DeleteInstance",
|
|
489
561
|
}));
|
|
490
562
|
|
|
491
563
|
export type DownloadBackupError = BadRequest | NotFound | StackitOpError;
|
|
@@ -496,11 +568,13 @@ export const downloadBackup: API.OperationMethod<
|
|
|
496
568
|
DownloadBackupError,
|
|
497
569
|
StackitOpContext
|
|
498
570
|
> = /*@__PURE__*/ API.make(() => ({
|
|
499
|
-
input: __S(
|
|
500
|
-
output: __S(
|
|
571
|
+
input: __S(216, __c27, 0) as any as S.Schema<DownloadBackupRequest>,
|
|
572
|
+
output: __S(200, __c25, 0) as any as S.Schema<DownloadBackupResponse>,
|
|
501
573
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
502
574
|
protocol: StackitProtocol,
|
|
503
575
|
retry: Retry.Retry,
|
|
576
|
+
telemetry: TELEMETRY,
|
|
577
|
+
span: "DownloadBackup",
|
|
504
578
|
}));
|
|
505
579
|
|
|
506
580
|
export type GetCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -511,11 +585,13 @@ export const getCredentials: API.OperationMethod<
|
|
|
511
585
|
GetCredentialsError,
|
|
512
586
|
StackitOpContext
|
|
513
587
|
> = /*@__PURE__*/ API.make(() => ({
|
|
514
|
-
input: __S(
|
|
515
|
-
output: __S(
|
|
588
|
+
input: __S(224, __c28, 0) as any as S.Schema<GetCredentialsRequest>,
|
|
589
|
+
output: __S(162, __c20, 2) as any as S.Schema<CredentialsResponse>,
|
|
516
590
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
517
591
|
protocol: StackitProtocol,
|
|
518
592
|
retry: Retry.Retry,
|
|
593
|
+
telemetry: TELEMETRY,
|
|
594
|
+
span: "GetCredentials",
|
|
519
595
|
}));
|
|
520
596
|
|
|
521
597
|
export type GetInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -531,6 +607,8 @@ export const getInstance: API.OperationMethod<
|
|
|
531
607
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
532
608
|
protocol: StackitProtocol,
|
|
533
609
|
retry: Retry.Retry,
|
|
610
|
+
telemetry: TELEMETRY,
|
|
611
|
+
span: "GetInstance",
|
|
534
612
|
}));
|
|
535
613
|
|
|
536
614
|
export type GetMetricsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -546,6 +624,25 @@ export const getMetrics: API.OperationMethod<
|
|
|
546
624
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
547
625
|
protocol: StackitProtocol,
|
|
548
626
|
retry: Retry.Retry,
|
|
627
|
+
telemetry: TELEMETRY,
|
|
628
|
+
span: "GetMetrics",
|
|
629
|
+
}));
|
|
630
|
+
|
|
631
|
+
export type GetUpdatesError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
632
|
+
/** get update settings Returns whether automatic updates are enabled and the number of available updates. */
|
|
633
|
+
export const getUpdates: API.OperationMethod<
|
|
634
|
+
GetUpdatesRequest,
|
|
635
|
+
GetUpdatesResponse,
|
|
636
|
+
GetUpdatesError,
|
|
637
|
+
StackitOpContext
|
|
638
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
639
|
+
input: __S(24, __c3, 0) as any as S.Schema<GetUpdatesRequest>,
|
|
640
|
+
output: __S(25, __c3, 1) as any as S.Schema<GetUpdatesResponse>,
|
|
641
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
642
|
+
protocol: StackitProtocol,
|
|
643
|
+
retry: Retry.Retry,
|
|
644
|
+
telemetry: TELEMETRY,
|
|
645
|
+
span: "GetUpdates",
|
|
549
646
|
}));
|
|
550
647
|
|
|
551
648
|
export type ListBackupsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -556,11 +653,13 @@ export const listBackups: API.OperationMethod<
|
|
|
556
653
|
ListBackupsError,
|
|
557
654
|
StackitOpContext
|
|
558
655
|
> = /*@__PURE__*/ API.make(() => ({
|
|
559
|
-
input: __S(
|
|
560
|
-
output: __S(
|
|
656
|
+
input: __S(32, __c4, 0) as any as S.Schema<ListBackupsRequest>,
|
|
657
|
+
output: __S(35, __c4, 3) as any as S.Schema<ListBackupsResponse2>,
|
|
561
658
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
562
659
|
protocol: StackitProtocol,
|
|
563
660
|
retry: Retry.Retry,
|
|
661
|
+
telemetry: TELEMETRY,
|
|
662
|
+
span: "ListBackups",
|
|
564
663
|
}));
|
|
565
664
|
|
|
566
665
|
export type ListCredentialsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -571,11 +670,13 @@ export const listCredentials: API.OperationMethod<
|
|
|
571
670
|
ListCredentialsError,
|
|
572
671
|
StackitOpContext
|
|
573
672
|
> = /*@__PURE__*/ API.make(() => ({
|
|
574
|
-
input: __S(
|
|
575
|
-
output: __S(
|
|
673
|
+
input: __S(40, __c5, 0) as any as S.Schema<ListCredentialsRequest>,
|
|
674
|
+
output: __S(43, __c5, 3) as any as S.Schema<ListCredentialsResponse>,
|
|
576
675
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
577
676
|
protocol: StackitProtocol,
|
|
578
677
|
retry: Retry.Retry,
|
|
678
|
+
telemetry: TELEMETRY,
|
|
679
|
+
span: "ListCredentials",
|
|
579
680
|
}));
|
|
580
681
|
|
|
581
682
|
export type ListInstancesError = BadRequest | NotFound | StackitOpError;
|
|
@@ -586,11 +687,13 @@ export const listInstances: API.OperationMethod<
|
|
|
586
687
|
ListInstancesError,
|
|
587
688
|
StackitOpContext
|
|
588
689
|
> = /*@__PURE__*/ API.make(() => ({
|
|
589
|
-
input: __S(
|
|
590
|
-
output: __S(
|
|
690
|
+
input: __S(48, __c6, 0) as any as S.Schema<ListInstancesRequest>,
|
|
691
|
+
output: __S(50, __c6, 2) as any as S.Schema<ListInstancesResponse>,
|
|
591
692
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
592
693
|
protocol: StackitProtocol,
|
|
593
694
|
retry: Retry.Retry,
|
|
695
|
+
telemetry: TELEMETRY,
|
|
696
|
+
span: "ListInstances",
|
|
594
697
|
}));
|
|
595
698
|
|
|
596
699
|
export type ListOfferingsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -601,11 +704,13 @@ export const listOfferings: API.OperationMethod<
|
|
|
601
704
|
ListOfferingsError,
|
|
602
705
|
StackitOpContext
|
|
603
706
|
> = /*@__PURE__*/ API.make(() => ({
|
|
604
|
-
input: __S(
|
|
605
|
-
output: __S(
|
|
707
|
+
input: __S(56, __c7, 0) as any as S.Schema<ListOfferingsRequest>,
|
|
708
|
+
output: __S(63, __c7, 7) as any as S.Schema<ListOfferingsResponse>,
|
|
606
709
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
607
710
|
protocol: StackitProtocol,
|
|
608
711
|
retry: Retry.Retry,
|
|
712
|
+
telemetry: TELEMETRY,
|
|
713
|
+
span: "ListOfferings",
|
|
609
714
|
}));
|
|
610
715
|
|
|
611
716
|
export type ListRestoresError = BadRequest | NotFound | StackitOpError;
|
|
@@ -616,11 +721,13 @@ export const listRestores: API.OperationMethod<
|
|
|
616
721
|
ListRestoresError,
|
|
617
722
|
StackitOpContext
|
|
618
723
|
> = /*@__PURE__*/ API.make(() => ({
|
|
619
|
-
input: __S(
|
|
620
|
-
output: __S(
|
|
724
|
+
input: __S(64, __c8, 0) as any as S.Schema<ListRestoresRequest>,
|
|
725
|
+
output: __S(67, __c8, 3) as any as S.Schema<ListRestoresResponse>,
|
|
621
726
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
622
727
|
protocol: StackitProtocol,
|
|
623
728
|
retry: Retry.Retry,
|
|
729
|
+
telemetry: TELEMETRY,
|
|
730
|
+
span: "ListRestores",
|
|
624
731
|
}));
|
|
625
732
|
|
|
626
733
|
export type PartialUpdateInstanceError = BadRequest | NotFound | StackitOpError;
|
|
@@ -631,11 +738,13 @@ export const partialUpdateInstance: API.OperationMethod<
|
|
|
631
738
|
PartialUpdateInstanceError,
|
|
632
739
|
StackitOpContext
|
|
633
740
|
> = /*@__PURE__*/ API.make(() => ({
|
|
634
|
-
input: __S(
|
|
635
|
-
output: __S(
|
|
741
|
+
input: __S(72, __c9, 0) as any as S.Schema<PartialUpdateInstanceRequest>,
|
|
742
|
+
output: __S(200, __c25, 0) as any as S.Schema<PartialUpdateInstanceResponse>,
|
|
636
743
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
637
744
|
protocol: StackitProtocol,
|
|
638
745
|
retry: Retry.Retry,
|
|
746
|
+
telemetry: TELEMETRY,
|
|
747
|
+
span: "PartialUpdateInstance",
|
|
639
748
|
}));
|
|
640
749
|
|
|
641
750
|
export type TriggerRecreateError = BadRequest | NotFound | StackitOpError;
|
|
@@ -646,11 +755,13 @@ export const triggerRecreate: API.OperationMethod<
|
|
|
646
755
|
TriggerRecreateError,
|
|
647
756
|
StackitOpContext
|
|
648
757
|
> = /*@__PURE__*/ API.make(() => ({
|
|
649
|
-
input: __S(
|
|
650
|
-
output: __S(
|
|
758
|
+
input: __S(80, __c10, 0) as any as S.Schema<TriggerRecreateRequest>,
|
|
759
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
651
760
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
652
761
|
protocol: StackitProtocol,
|
|
653
762
|
retry: Retry.Retry,
|
|
763
|
+
telemetry: TELEMETRY,
|
|
764
|
+
span: "TriggerRecreate",
|
|
654
765
|
}));
|
|
655
766
|
|
|
656
767
|
export type TriggerRestartError = BadRequest | NotFound | StackitOpError;
|
|
@@ -661,11 +772,13 @@ export const triggerRestart: API.OperationMethod<
|
|
|
661
772
|
TriggerRestartError,
|
|
662
773
|
StackitOpContext
|
|
663
774
|
> = /*@__PURE__*/ API.make(() => ({
|
|
664
|
-
input: __S(
|
|
665
|
-
output: __S(
|
|
775
|
+
input: __S(88, __c11, 0) as any as S.Schema<TriggerRestartRequest>,
|
|
776
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
666
777
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
667
778
|
protocol: StackitProtocol,
|
|
668
779
|
retry: Retry.Retry,
|
|
780
|
+
telemetry: TELEMETRY,
|
|
781
|
+
span: "TriggerRestart",
|
|
669
782
|
}));
|
|
670
783
|
|
|
671
784
|
export type TriggerRestoreError = BadRequest | NotFound | StackitOpError;
|
|
@@ -676,11 +789,30 @@ export const triggerRestore: API.OperationMethod<
|
|
|
676
789
|
TriggerRestoreError,
|
|
677
790
|
StackitOpContext
|
|
678
791
|
> = /*@__PURE__*/ API.make(() => ({
|
|
679
|
-
input: __S(
|
|
680
|
-
output: __S(
|
|
792
|
+
input: __S(96, __c12, 0) as any as S.Schema<TriggerRestoreRequest>,
|
|
793
|
+
output: __S(97, __c12, 1) as any as S.Schema<TriggerRestoreResponse>,
|
|
681
794
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
682
795
|
protocol: StackitProtocol,
|
|
683
796
|
retry: Retry.Retry,
|
|
797
|
+
telemetry: TELEMETRY,
|
|
798
|
+
span: "TriggerRestore",
|
|
799
|
+
}));
|
|
800
|
+
|
|
801
|
+
export type TriggerUpdateError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
802
|
+
/** start updates Starts all available updates asynchronously using the instance's service offering. No request body is required. */
|
|
803
|
+
export const triggerUpdate: API.OperationMethod<
|
|
804
|
+
TriggerUpdateRequest,
|
|
805
|
+
CreateInstanceResponse,
|
|
806
|
+
TriggerUpdateError,
|
|
807
|
+
StackitOpContext
|
|
808
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
809
|
+
input: __S(104, __c13, 0) as any as S.Schema<TriggerUpdateRequest>,
|
|
810
|
+
output: __S(184, __c23, 0) as any as S.Schema<CreateInstanceResponse>,
|
|
811
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
812
|
+
protocol: StackitProtocol,
|
|
813
|
+
retry: Retry.Retry,
|
|
814
|
+
telemetry: TELEMETRY,
|
|
815
|
+
span: "TriggerUpdate",
|
|
684
816
|
}));
|
|
685
817
|
|
|
686
818
|
export type UpdateBackupsConfigError = BadRequest | NotFound | StackitOpError;
|
|
@@ -691,11 +823,30 @@ export const updateBackupsConfig: API.OperationMethod<
|
|
|
691
823
|
UpdateBackupsConfigError,
|
|
692
824
|
StackitOpContext
|
|
693
825
|
> = /*@__PURE__*/ API.make(() => ({
|
|
694
|
-
input: __S(
|
|
695
|
-
output: __S(
|
|
826
|
+
input: __S(112, __c14, 0) as any as S.Schema<UpdateBackupsConfigRequest>,
|
|
827
|
+
output: __S(113, __c14, 1) as any as S.Schema<UpdateBackupsConfigResponse>,
|
|
696
828
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
697
829
|
protocol: StackitProtocol,
|
|
698
830
|
retry: Retry.Retry,
|
|
831
|
+
telemetry: TELEMETRY,
|
|
832
|
+
span: "UpdateBackupsConfig",
|
|
833
|
+
}));
|
|
834
|
+
|
|
835
|
+
export type UpdateUpdatesSettingsError = BadRequest | NotFound | Conflict | StackitOpError;
|
|
836
|
+
/** update update settings Enables or disables automatic updates. The platform operator must allow changing this setting. */
|
|
837
|
+
export const updateUpdatesSettings: API.OperationMethod<
|
|
838
|
+
UpdateUpdatesSettingsRequest,
|
|
839
|
+
UpdateUpdatesSettingsResponse,
|
|
840
|
+
UpdateUpdatesSettingsError,
|
|
841
|
+
StackitOpContext
|
|
842
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
843
|
+
input: __S(120, __c15, 0) as any as S.Schema<UpdateUpdatesSettingsRequest>,
|
|
844
|
+
output: __S(121, __c15, 1) as any as S.Schema<UpdateUpdatesSettingsResponse>,
|
|
845
|
+
errors: [BadRequest, NotFound, Conflict, UnknownStackitError],
|
|
846
|
+
protocol: StackitProtocol,
|
|
847
|
+
retry: Retry.Retry,
|
|
848
|
+
telemetry: TELEMETRY,
|
|
849
|
+
span: "UpdateUpdatesSettings",
|
|
699
850
|
}));
|
|
700
851
|
|
|
701
852
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -737,6 +888,7 @@ function __c1(j: number): any {
|
|
|
737
888
|
dashboardUrl: S.String,
|
|
738
889
|
imageUrl: S.String,
|
|
739
890
|
instanceId: S.optional(S.String),
|
|
891
|
+
instanceStatus: S.optional(S.String),
|
|
740
892
|
lastOperation: __S(8, __c1, 0),
|
|
741
893
|
name: S.String,
|
|
742
894
|
offeringName: S.String,
|
|
@@ -797,6 +949,32 @@ function __c2(j: number): any {
|
|
|
797
949
|
}
|
|
798
950
|
}
|
|
799
951
|
function __c3(j: number): any {
|
|
952
|
+
switch (j) {
|
|
953
|
+
case 0:
|
|
954
|
+
return S.suspend(() =>
|
|
955
|
+
S.Struct({
|
|
956
|
+
projectId: S.String.pipe(T.Label()),
|
|
957
|
+
regionId: S.String.pipe(T.Label()),
|
|
958
|
+
instanceId: S.String.pipe(T.Label()),
|
|
959
|
+
}).pipe(
|
|
960
|
+
T.Http({
|
|
961
|
+
method: "GET",
|
|
962
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates",
|
|
963
|
+
code: 200,
|
|
964
|
+
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
965
|
+
}),
|
|
966
|
+
),
|
|
967
|
+
).annotate({ identifier: "GetUpdatesRequest" });
|
|
968
|
+
case 1:
|
|
969
|
+
return S.suspend(() =>
|
|
970
|
+
S.Struct({
|
|
971
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
972
|
+
availableUpdates: S.Number,
|
|
973
|
+
}),
|
|
974
|
+
).annotate({ identifier: "GetUpdatesResponse" });
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
function __c4(j: number): any {
|
|
800
978
|
switch (j) {
|
|
801
979
|
case 0:
|
|
802
980
|
return S.suspend(() =>
|
|
@@ -825,14 +1003,14 @@ function __c3(j: number): any {
|
|
|
825
1003
|
}),
|
|
826
1004
|
).annotate({ identifier: "Backup" });
|
|
827
1005
|
case 2:
|
|
828
|
-
return S.Array(__S(
|
|
1006
|
+
return S.Array(__S(33, __c4, 1));
|
|
829
1007
|
case 3:
|
|
830
|
-
return S.suspend(() => __S(
|
|
1008
|
+
return S.suspend(() => __S(34, __c4, 2).pipe(T.RawResponseRoot())).annotate({
|
|
831
1009
|
identifier: "ListBackupsResponse2",
|
|
832
1010
|
});
|
|
833
1011
|
}
|
|
834
1012
|
}
|
|
835
|
-
function
|
|
1013
|
+
function __c5(j: number): any {
|
|
836
1014
|
switch (j) {
|
|
837
1015
|
case 0:
|
|
838
1016
|
return S.suspend(() =>
|
|
@@ -856,16 +1034,16 @@ function __c4(j: number): any {
|
|
|
856
1034
|
}),
|
|
857
1035
|
).annotate({ identifier: "CredentialsListItem" });
|
|
858
1036
|
case 2:
|
|
859
|
-
return S.Array(__S(
|
|
1037
|
+
return S.Array(__S(41, __c5, 1));
|
|
860
1038
|
case 3:
|
|
861
1039
|
return S.suspend(() =>
|
|
862
1040
|
S.Struct({
|
|
863
|
-
credentialsList: __S(
|
|
1041
|
+
credentialsList: __S(42, __c5, 2),
|
|
864
1042
|
}),
|
|
865
1043
|
).annotate({ identifier: "ListCredentialsResponse" });
|
|
866
1044
|
}
|
|
867
1045
|
}
|
|
868
|
-
function
|
|
1046
|
+
function __c6(j: number): any {
|
|
869
1047
|
switch (j) {
|
|
870
1048
|
case 0:
|
|
871
1049
|
return S.suspend(() =>
|
|
@@ -886,12 +1064,12 @@ function __c5(j: number): any {
|
|
|
886
1064
|
case 2:
|
|
887
1065
|
return S.suspend(() =>
|
|
888
1066
|
S.Struct({
|
|
889
|
-
instances: __S(
|
|
1067
|
+
instances: __S(49, __c6, 1),
|
|
890
1068
|
}),
|
|
891
1069
|
).annotate({ identifier: "ListInstancesResponse" });
|
|
892
1070
|
}
|
|
893
1071
|
}
|
|
894
|
-
function
|
|
1072
|
+
function __c7(j: number): any {
|
|
895
1073
|
switch (j) {
|
|
896
1074
|
case 0:
|
|
897
1075
|
return S.suspend(() =>
|
|
@@ -918,7 +1096,7 @@ function __c6(j: number): any {
|
|
|
918
1096
|
}),
|
|
919
1097
|
).annotate({ identifier: "Plan" });
|
|
920
1098
|
case 2:
|
|
921
|
-
return S.Array(__S(
|
|
1099
|
+
return S.Array(__S(57, __c7, 1));
|
|
922
1100
|
case 3:
|
|
923
1101
|
return S.suspend(() =>
|
|
924
1102
|
S.Struct({
|
|
@@ -928,8 +1106,8 @@ function __c6(j: number): any {
|
|
|
928
1106
|
case 4:
|
|
929
1107
|
return S.suspend(() =>
|
|
930
1108
|
S.Struct({
|
|
931
|
-
create: __S(
|
|
932
|
-
update: __S(
|
|
1109
|
+
create: __S(59, __c7, 3),
|
|
1110
|
+
update: __S(59, __c7, 3),
|
|
933
1111
|
}),
|
|
934
1112
|
).annotate({ identifier: "InstanceSchema" });
|
|
935
1113
|
case 5:
|
|
@@ -941,23 +1119,23 @@ function __c6(j: number): any {
|
|
|
941
1119
|
latest: S.Boolean,
|
|
942
1120
|
lifecycle: S.optional(S.String),
|
|
943
1121
|
name: S.String,
|
|
944
|
-
plans: __S(
|
|
1122
|
+
plans: __S(58, __c7, 2),
|
|
945
1123
|
quotaCount: S.Number,
|
|
946
|
-
schema: S.optional(__S(
|
|
1124
|
+
schema: S.optional(__S(60, __c7, 4)),
|
|
947
1125
|
version: S.String,
|
|
948
1126
|
}),
|
|
949
1127
|
).annotate({ identifier: "Offering" });
|
|
950
1128
|
case 6:
|
|
951
|
-
return S.Array(__S(
|
|
1129
|
+
return S.Array(__S(61, __c7, 5));
|
|
952
1130
|
case 7:
|
|
953
1131
|
return S.suspend(() =>
|
|
954
1132
|
S.Struct({
|
|
955
|
-
offerings: __S(
|
|
1133
|
+
offerings: __S(62, __c7, 6),
|
|
956
1134
|
}),
|
|
957
1135
|
).annotate({ identifier: "ListOfferingsResponse" });
|
|
958
1136
|
}
|
|
959
1137
|
}
|
|
960
|
-
function
|
|
1138
|
+
function __c8(j: number): any {
|
|
961
1139
|
switch (j) {
|
|
962
1140
|
case 0:
|
|
963
1141
|
return S.suspend(() =>
|
|
@@ -985,16 +1163,16 @@ function __c7(j: number): any {
|
|
|
985
1163
|
}),
|
|
986
1164
|
).annotate({ identifier: "Restore" });
|
|
987
1165
|
case 2:
|
|
988
|
-
return S.Array(__S(
|
|
1166
|
+
return S.Array(__S(65, __c8, 1));
|
|
989
1167
|
case 3:
|
|
990
1168
|
return S.suspend(() =>
|
|
991
1169
|
S.Struct({
|
|
992
|
-
instanceRestores: __S(
|
|
1170
|
+
instanceRestores: __S(66, __c8, 2),
|
|
993
1171
|
}),
|
|
994
1172
|
).annotate({ identifier: "ListRestoresResponse" });
|
|
995
1173
|
}
|
|
996
1174
|
}
|
|
997
|
-
function
|
|
1175
|
+
function __c9(j: number): any {
|
|
998
1176
|
switch (j) {
|
|
999
1177
|
case 0:
|
|
1000
1178
|
return S.suspend(() =>
|
|
@@ -1003,7 +1181,7 @@ function __c8(j: number): any {
|
|
|
1003
1181
|
regionId: S.String.pipe(T.Label()),
|
|
1004
1182
|
instanceId: S.String.pipe(T.Label()),
|
|
1005
1183
|
instanceName: S.optional(S.String),
|
|
1006
|
-
parameters: S.optional(__S(
|
|
1184
|
+
parameters: S.optional(__S(176, __c22, 0)),
|
|
1007
1185
|
planId: S.optional(S.String),
|
|
1008
1186
|
}).pipe(
|
|
1009
1187
|
T.Http({
|
|
@@ -1016,7 +1194,7 @@ function __c8(j: number): any {
|
|
|
1016
1194
|
).annotate({ identifier: "PartialUpdateInstanceRequest" });
|
|
1017
1195
|
}
|
|
1018
1196
|
}
|
|
1019
|
-
function
|
|
1197
|
+
function __c10(j: number): any {
|
|
1020
1198
|
switch (j) {
|
|
1021
1199
|
case 0:
|
|
1022
1200
|
return S.suspend(() =>
|
|
@@ -1035,7 +1213,7 @@ function __c9(j: number): any {
|
|
|
1035
1213
|
).annotate({ identifier: "TriggerRecreateRequest" });
|
|
1036
1214
|
}
|
|
1037
1215
|
}
|
|
1038
|
-
function
|
|
1216
|
+
function __c11(j: number): any {
|
|
1039
1217
|
switch (j) {
|
|
1040
1218
|
case 0:
|
|
1041
1219
|
return S.suspend(() =>
|
|
@@ -1054,7 +1232,7 @@ function __c10(j: number): any {
|
|
|
1054
1232
|
).annotate({ identifier: "TriggerRestartRequest" });
|
|
1055
1233
|
}
|
|
1056
1234
|
}
|
|
1057
|
-
function
|
|
1235
|
+
function __c12(j: number): any {
|
|
1058
1236
|
switch (j) {
|
|
1059
1237
|
case 0:
|
|
1060
1238
|
return S.suspend(() =>
|
|
@@ -1080,7 +1258,26 @@ function __c11(j: number): any {
|
|
|
1080
1258
|
).annotate({ identifier: "TriggerRestoreResponse" });
|
|
1081
1259
|
}
|
|
1082
1260
|
}
|
|
1083
|
-
function
|
|
1261
|
+
function __c13(j: number): any {
|
|
1262
|
+
switch (j) {
|
|
1263
|
+
case 0:
|
|
1264
|
+
return S.suspend(() =>
|
|
1265
|
+
S.Struct({
|
|
1266
|
+
projectId: S.String.pipe(T.Label()),
|
|
1267
|
+
regionId: S.String.pipe(T.Label()),
|
|
1268
|
+
instanceId: S.String.pipe(T.Label()),
|
|
1269
|
+
}).pipe(
|
|
1270
|
+
T.Http({
|
|
1271
|
+
method: "POST",
|
|
1272
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates/start",
|
|
1273
|
+
code: 200,
|
|
1274
|
+
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
1275
|
+
}),
|
|
1276
|
+
),
|
|
1277
|
+
).annotate({ identifier: "TriggerUpdateRequest" });
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
function __c14(j: number): any {
|
|
1084
1281
|
switch (j) {
|
|
1085
1282
|
case 0:
|
|
1086
1283
|
return S.suspend(() =>
|
|
@@ -1106,7 +1303,33 @@ function __c12(j: number): any {
|
|
|
1106
1303
|
).annotate({ identifier: "UpdateBackupsConfigResponse" });
|
|
1107
1304
|
}
|
|
1108
1305
|
}
|
|
1109
|
-
function
|
|
1306
|
+
function __c15(j: number): any {
|
|
1307
|
+
switch (j) {
|
|
1308
|
+
case 0:
|
|
1309
|
+
return S.suspend(() =>
|
|
1310
|
+
S.Struct({
|
|
1311
|
+
projectId: S.String.pipe(T.Label()),
|
|
1312
|
+
regionId: S.String.pipe(T.Label()),
|
|
1313
|
+
instanceId: S.String.pipe(T.Label()),
|
|
1314
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
1315
|
+
}).pipe(
|
|
1316
|
+
T.Http({
|
|
1317
|
+
method: "PATCH",
|
|
1318
|
+
uri: "/v2/projects/{projectId}/regions/{regionId}/instances/{instanceId}/updates",
|
|
1319
|
+
code: 200,
|
|
1320
|
+
baseUrl: "https://rabbitmq.api.stackit.cloud",
|
|
1321
|
+
}),
|
|
1322
|
+
),
|
|
1323
|
+
).annotate({ identifier: "UpdateUpdatesSettingsRequest" });
|
|
1324
|
+
case 1:
|
|
1325
|
+
return S.suspend(() =>
|
|
1326
|
+
S.Struct({
|
|
1327
|
+
automaticUpdatesEnabled: S.Boolean,
|
|
1328
|
+
}),
|
|
1329
|
+
).annotate({ identifier: "UpdateUpdatesSettingsResponse" });
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
function __c16(j: number): any {
|
|
1110
1333
|
switch (j) {
|
|
1111
1334
|
case 0:
|
|
1112
1335
|
return S.suspend(() =>
|
|
@@ -1132,12 +1355,12 @@ function __c13(j: number): any {
|
|
|
1132
1355
|
).annotate({ identifier: "CreateBackupResponseItem" });
|
|
1133
1356
|
}
|
|
1134
1357
|
}
|
|
1135
|
-
function
|
|
1358
|
+
function __c17(j: number): any {
|
|
1136
1359
|
switch (j) {
|
|
1137
1360
|
case 0:
|
|
1138
1361
|
return S.suspend(() =>
|
|
1139
1362
|
S.Struct({
|
|
1140
|
-
roles: S.optional(__S(
|
|
1363
|
+
roles: S.optional(__S(144, __c18, 0)),
|
|
1141
1364
|
}),
|
|
1142
1365
|
).annotate({ identifier: "CredentialsParameters" });
|
|
1143
1366
|
case 1:
|
|
@@ -1146,7 +1369,7 @@ function __c14(j: number): any {
|
|
|
1146
1369
|
projectId: S.String.pipe(T.Label()),
|
|
1147
1370
|
regionId: S.String.pipe(T.Label()),
|
|
1148
1371
|
instanceId: S.String.pipe(T.Label()),
|
|
1149
|
-
parameters: S.optional(__S(
|
|
1372
|
+
parameters: S.optional(__S(136, __c17, 0)),
|
|
1150
1373
|
}).pipe(
|
|
1151
1374
|
T.Http({
|
|
1152
1375
|
method: "POST",
|
|
@@ -1158,54 +1381,54 @@ function __c14(j: number): any {
|
|
|
1158
1381
|
).annotate({ identifier: "CreateCredentialsRequest" });
|
|
1159
1382
|
}
|
|
1160
1383
|
}
|
|
1161
|
-
function
|
|
1384
|
+
function __c18(j: number): any {
|
|
1162
1385
|
switch (j) {
|
|
1163
1386
|
case 0:
|
|
1164
1387
|
return S.Array(S.String);
|
|
1165
1388
|
}
|
|
1166
1389
|
}
|
|
1167
|
-
function
|
|
1390
|
+
function __c19(j: number): any {
|
|
1168
1391
|
switch (j) {
|
|
1169
1392
|
case 0:
|
|
1170
1393
|
return S.Array(S.String);
|
|
1171
1394
|
}
|
|
1172
1395
|
}
|
|
1173
|
-
function
|
|
1396
|
+
function __c20(j: number): any {
|
|
1174
1397
|
switch (j) {
|
|
1175
1398
|
case 0:
|
|
1176
1399
|
return S.suspend(() =>
|
|
1177
1400
|
S.Struct({
|
|
1178
1401
|
host: S.String,
|
|
1179
|
-
hosts: S.optional(__S(
|
|
1402
|
+
hosts: S.optional(__S(152, __c19, 0)),
|
|
1180
1403
|
http_api_uri: S.optional(S.String),
|
|
1181
|
-
http_api_uris: S.optional(__S(
|
|
1404
|
+
http_api_uris: S.optional(__S(152, __c19, 0)),
|
|
1182
1405
|
management: S.optional(S.String),
|
|
1183
1406
|
mqtt: S.optional(S.String),
|
|
1184
1407
|
password: S.String.pipe(T.SensitiveValue({})),
|
|
1185
1408
|
port: S.optional(S.Number),
|
|
1186
1409
|
stomp: S.optional(S.String),
|
|
1187
1410
|
uri: S.optional(S.String),
|
|
1188
|
-
uris: S.optional(__S(
|
|
1411
|
+
uris: S.optional(__S(152, __c19, 0)),
|
|
1189
1412
|
username: S.String,
|
|
1190
1413
|
}),
|
|
1191
1414
|
).annotate({ identifier: "Credentials" });
|
|
1192
1415
|
case 1:
|
|
1193
1416
|
return S.suspend(() =>
|
|
1194
1417
|
S.Struct({
|
|
1195
|
-
credentials: __S(
|
|
1418
|
+
credentials: __S(160, __c20, 0),
|
|
1196
1419
|
}),
|
|
1197
1420
|
).annotate({ identifier: "RawCredentials" });
|
|
1198
1421
|
case 2:
|
|
1199
1422
|
return S.suspend(() =>
|
|
1200
1423
|
S.Struct({
|
|
1201
1424
|
id: S.String,
|
|
1202
|
-
raw: S.optional(__S(
|
|
1425
|
+
raw: S.optional(__S(161, __c20, 1)),
|
|
1203
1426
|
uri: S.String,
|
|
1204
1427
|
}),
|
|
1205
1428
|
).annotate({ identifier: "CredentialsResponse" });
|
|
1206
1429
|
}
|
|
1207
1430
|
}
|
|
1208
|
-
function
|
|
1431
|
+
function __c21(j: number): any {
|
|
1209
1432
|
switch (j) {
|
|
1210
1433
|
case 0:
|
|
1211
1434
|
return S.suspend(() =>
|
|
@@ -1213,7 +1436,7 @@ function __c18(j: number): any {
|
|
|
1213
1436
|
projectId: S.String.pipe(T.Label()),
|
|
1214
1437
|
regionId: S.String.pipe(T.Label()),
|
|
1215
1438
|
instanceName: S.String,
|
|
1216
|
-
parameters: S.optional(__S(
|
|
1439
|
+
parameters: S.optional(__S(176, __c22, 0)),
|
|
1217
1440
|
planId: S.String,
|
|
1218
1441
|
}).pipe(
|
|
1219
1442
|
T.Http({
|
|
@@ -1226,7 +1449,7 @@ function __c18(j: number): any {
|
|
|
1226
1449
|
).annotate({ identifier: "CreateInstanceRequest" });
|
|
1227
1450
|
}
|
|
1228
1451
|
}
|
|
1229
|
-
function
|
|
1452
|
+
function __c22(j: number): any {
|
|
1230
1453
|
switch (j) {
|
|
1231
1454
|
case 0:
|
|
1232
1455
|
return S.suspend(() =>
|
|
@@ -1238,17 +1461,17 @@ function __c19(j: number): any {
|
|
|
1238
1461
|
metrics_frequency: S.optional(S.Number),
|
|
1239
1462
|
metrics_prefix: S.optional(S.String),
|
|
1240
1463
|
monitoring_instance_id: S.optional(S.String),
|
|
1241
|
-
plugins: S.optional(__S(
|
|
1242
|
-
roles: S.optional(__S(
|
|
1464
|
+
plugins: S.optional(__S(144, __c18, 0)),
|
|
1465
|
+
roles: S.optional(__S(152, __c19, 0)),
|
|
1243
1466
|
sgw_acl: S.optional(S.String),
|
|
1244
|
-
syslog: S.optional(__S(
|
|
1245
|
-
tls_ciphers: S.optional(__S(
|
|
1246
|
-
tls_protocols: S.optional(__S(
|
|
1467
|
+
syslog: S.optional(__S(152, __c19, 0)),
|
|
1468
|
+
tls_ciphers: S.optional(__S(152, __c19, 0).pipe(T.Body("tls-ciphers"))),
|
|
1469
|
+
tls_protocols: S.optional(__S(144, __c18, 0).pipe(T.Body("tls-protocols"))),
|
|
1247
1470
|
}),
|
|
1248
1471
|
).annotate({ identifier: "InstanceParameters" });
|
|
1249
1472
|
}
|
|
1250
1473
|
}
|
|
1251
|
-
function
|
|
1474
|
+
function __c23(j: number): any {
|
|
1252
1475
|
switch (j) {
|
|
1253
1476
|
case 0:
|
|
1254
1477
|
return S.suspend(() =>
|
|
@@ -1258,7 +1481,7 @@ function __c20(j: number): any {
|
|
|
1258
1481
|
).annotate({ identifier: "CreateInstanceResponse" });
|
|
1259
1482
|
}
|
|
1260
1483
|
}
|
|
1261
|
-
function
|
|
1484
|
+
function __c24(j: number): any {
|
|
1262
1485
|
switch (j) {
|
|
1263
1486
|
case 0:
|
|
1264
1487
|
return S.suspend(() =>
|
|
@@ -1278,13 +1501,13 @@ function __c21(j: number): any {
|
|
|
1278
1501
|
).annotate({ identifier: "DeleteCredentialsRequest" });
|
|
1279
1502
|
}
|
|
1280
1503
|
}
|
|
1281
|
-
function
|
|
1504
|
+
function __c25(j: number): any {
|
|
1282
1505
|
switch (j) {
|
|
1283
1506
|
case 0:
|
|
1284
1507
|
return S.suspend(() => S.Struct({})).annotate({ identifier: "DeleteCredentialsResponse" });
|
|
1285
1508
|
}
|
|
1286
1509
|
}
|
|
1287
|
-
function
|
|
1510
|
+
function __c26(j: number): any {
|
|
1288
1511
|
switch (j) {
|
|
1289
1512
|
case 0:
|
|
1290
1513
|
return S.suspend(() =>
|
|
@@ -1303,7 +1526,7 @@ function __c23(j: number): any {
|
|
|
1303
1526
|
).annotate({ identifier: "DeleteInstanceRequest" });
|
|
1304
1527
|
}
|
|
1305
1528
|
}
|
|
1306
|
-
function
|
|
1529
|
+
function __c27(j: number): any {
|
|
1307
1530
|
switch (j) {
|
|
1308
1531
|
case 0:
|
|
1309
1532
|
return S.suspend(() =>
|
|
@@ -1323,7 +1546,7 @@ function __c24(j: number): any {
|
|
|
1323
1546
|
).annotate({ identifier: "DownloadBackupRequest" });
|
|
1324
1547
|
}
|
|
1325
1548
|
}
|
|
1326
|
-
function
|
|
1549
|
+
function __c28(j: number): any {
|
|
1327
1550
|
switch (j) {
|
|
1328
1551
|
case 0:
|
|
1329
1552
|
return S.suspend(() =>
|