@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
|
@@ -12,6 +12,19 @@ const __s: any[] = [];
|
|
|
12
12
|
|
|
13
13
|
export type { StackitOpError, StackitOpContext };
|
|
14
14
|
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "stackit-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "STACKIT",
|
|
23
|
+
service: "ResourceManager",
|
|
24
|
+
labels: "stackit",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
15
28
|
export class BadRequest
|
|
16
29
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -48,7 +61,7 @@ export class NotFound
|
|
|
48
61
|
[{ status: 404 }],
|
|
49
62
|
) {}
|
|
50
63
|
|
|
51
|
-
/** Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > Note: Additional naming restrictions may apply depending on your specific organization.* */
|
|
64
|
+
/** Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). Can be set to null to delete the label. > Note: Additional naming restrictions may apply depending on your specific organization.* */
|
|
52
65
|
export type Labels = { [key: string]: string | undefined };
|
|
53
66
|
export interface Member {
|
|
54
67
|
/** A valid role defined for the resource. */
|
|
@@ -56,15 +69,15 @@ export interface Member {
|
|
|
56
69
|
/** Unique identifier of the user, service account or client. */
|
|
57
70
|
subject: string;
|
|
58
71
|
}
|
|
59
|
-
/** The initial members assigned to the
|
|
72
|
+
/** The initial members assigned to the folder. */
|
|
60
73
|
export type CreateFolderRequestMembersList = Array<Member>;
|
|
61
74
|
export interface CreateFolderRequest {
|
|
62
|
-
/** Identifier of the parent resource container
|
|
75
|
+
/** Identifier of the parent resource container */
|
|
63
76
|
containerParentId: string;
|
|
64
|
-
labels?: Labels;
|
|
65
|
-
/** The initial members assigned to the
|
|
66
|
-
members?: CreateFolderRequestMembersList;
|
|
67
|
-
/**
|
|
77
|
+
labels?: Labels | undefined;
|
|
78
|
+
/** The initial members assigned to the folder. */
|
|
79
|
+
members?: CreateFolderRequestMembersList | undefined;
|
|
80
|
+
/** Folder name matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$`. */
|
|
68
81
|
name: string;
|
|
69
82
|
}
|
|
70
83
|
/** Container type of parent container. */
|
|
@@ -85,7 +98,7 @@ export interface FolderResponse {
|
|
|
85
98
|
creationTime: string;
|
|
86
99
|
/** Globally unique folder identifier. */
|
|
87
100
|
folderId: string;
|
|
88
|
-
labels?: Labels;
|
|
101
|
+
labels?: Labels | undefined;
|
|
89
102
|
/** Folder name. */
|
|
90
103
|
name: string;
|
|
91
104
|
parent: Parent;
|
|
@@ -99,10 +112,10 @@ export type CreateProjectRequestMembersList = Array<Member>;
|
|
|
99
112
|
export interface CreateProjectRequest {
|
|
100
113
|
/** Identifier of the parent resource container - containerId as well as UUID identifier is supported. */
|
|
101
114
|
containerParentId: string;
|
|
102
|
-
labels?: CreateProjectLabels;
|
|
115
|
+
labels?: CreateProjectLabels | undefined;
|
|
103
116
|
/** The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account. */
|
|
104
|
-
members
|
|
105
|
-
/** Project name matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){
|
|
117
|
+
members?: CreateProjectRequestMembersList | undefined;
|
|
118
|
+
/** Project name matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$`. */
|
|
106
119
|
name: string;
|
|
107
120
|
}
|
|
108
121
|
/** Lifecycle state of the resource container. | LIFECYCLE STATE | DESCRIPTION | |----------|--------------------| | CREATING | The creation process has been triggered. The state remains until resource manager gets notified about successful process completion. | | ACTIVE | Resource container can be fully used. | | INACTIVE | Resource container usage has been disabled. | | DELETING | The deletion process has been triggered. The state remains until resource manager gets notified about successful process completion. Afterwards, the record will be deleted. | */
|
|
@@ -112,7 +125,7 @@ export interface Project {
|
|
|
112
125
|
containerId: string;
|
|
113
126
|
/** Timestamp at which the project was created. */
|
|
114
127
|
creationTime: string;
|
|
115
|
-
labels?: Labels;
|
|
128
|
+
labels?: Labels | undefined;
|
|
116
129
|
lifecycleState: LifecycleState;
|
|
117
130
|
/** Project name. */
|
|
118
131
|
name: string;
|
|
@@ -126,7 +139,7 @@ export interface DeleteFolderRequest {
|
|
|
126
139
|
/** Folder identifier - containerId as well as UUID identifier is supported. */
|
|
127
140
|
containerId: string;
|
|
128
141
|
/** If true, all nested, empty folders are deleted recursively - if no project is attached! */
|
|
129
|
-
force?: boolean;
|
|
142
|
+
force?: boolean | undefined;
|
|
130
143
|
}
|
|
131
144
|
export interface DeleteFolderResponse {}
|
|
132
145
|
export type DeleteFolderLabelsRequestKeysList = Array<string>;
|
|
@@ -134,7 +147,7 @@ export interface DeleteFolderLabelsRequest {
|
|
|
134
147
|
/** Folder identifier - containerId as well as UUID identifier is supported. */
|
|
135
148
|
containerId: string;
|
|
136
149
|
/** Label name. */
|
|
137
|
-
keys?: DeleteFolderLabelsRequestKeysList;
|
|
150
|
+
keys?: DeleteFolderLabelsRequestKeysList | undefined;
|
|
138
151
|
}
|
|
139
152
|
export interface DeleteFolderLabelsResponse {}
|
|
140
153
|
export type DeleteOrganizationLabelsRequestKeysList = Array<string>;
|
|
@@ -142,7 +155,7 @@ export interface DeleteOrganizationLabelsRequest {
|
|
|
142
155
|
/** Organization identifier - containerId as well as UUID identifier is supported. */
|
|
143
156
|
containerId: string;
|
|
144
157
|
/** Label name. */
|
|
145
|
-
keys?: DeleteOrganizationLabelsRequestKeysList;
|
|
158
|
+
keys?: DeleteOrganizationLabelsRequestKeysList | undefined;
|
|
146
159
|
}
|
|
147
160
|
export interface DeleteOrganizationLabelsResponse {}
|
|
148
161
|
export interface DeleteProjectRequest {
|
|
@@ -155,13 +168,13 @@ export interface DeleteProjectLabelsRequest {
|
|
|
155
168
|
/** Project identifier - containerId as well as UUID identifier is supported. */
|
|
156
169
|
containerId: string;
|
|
157
170
|
/** Label name. */
|
|
158
|
-
keys?: DeleteProjectLabelsRequestKeysList;
|
|
171
|
+
keys?: DeleteProjectLabelsRequestKeysList | undefined;
|
|
159
172
|
}
|
|
160
173
|
export interface DeleteProjectLabelsResponse {}
|
|
161
174
|
export interface GetFolderDetailsRequest {
|
|
162
175
|
/** Folder identifier - containerId as well as UUID identifier is supported. */
|
|
163
176
|
containerId: string;
|
|
164
|
-
includeParents?: boolean;
|
|
177
|
+
includeParents?: boolean | undefined;
|
|
165
178
|
}
|
|
166
179
|
/** Parent container type. */
|
|
167
180
|
export type ParentListItemType = "FOLDER" | "ORGANIZATION";
|
|
@@ -169,13 +182,13 @@ export interface ParentListItem {
|
|
|
169
182
|
/** User-friendly identifier of either organization or folder (will replace id). */
|
|
170
183
|
containerId: string;
|
|
171
184
|
/** User-friendly parent identifier of either organization or folder (will replace parentId). */
|
|
172
|
-
containerParentId?: string;
|
|
185
|
+
containerParentId?: string | undefined;
|
|
173
186
|
/** Identifier. */
|
|
174
187
|
id: string;
|
|
175
188
|
/** Parent container name. */
|
|
176
189
|
name: string;
|
|
177
190
|
/** Identifier of the parent resource container. */
|
|
178
|
-
parentId?: string;
|
|
191
|
+
parentId?: string | undefined;
|
|
179
192
|
/** Parent container type. */
|
|
180
193
|
type: ParentListItemType;
|
|
181
194
|
}
|
|
@@ -187,11 +200,11 @@ export interface GetFolderDetailsResponse {
|
|
|
187
200
|
creationTime: string;
|
|
188
201
|
/** Globally unique folder identifier. */
|
|
189
202
|
folderId: string;
|
|
190
|
-
labels?: Labels;
|
|
203
|
+
labels?: Labels | undefined;
|
|
191
204
|
/** Folder name. */
|
|
192
205
|
name: string;
|
|
193
206
|
parent: Parent;
|
|
194
|
-
parents?: ParentList;
|
|
207
|
+
parents?: ParentList | undefined;
|
|
195
208
|
/** Timestamp at which the folder was last modified. */
|
|
196
209
|
updateTime: string;
|
|
197
210
|
}
|
|
@@ -204,7 +217,7 @@ export interface OrganizationResponse {
|
|
|
204
217
|
containerId: string;
|
|
205
218
|
/** Timestamp at which the organization was created. */
|
|
206
219
|
creationTime: string;
|
|
207
|
-
labels?: Labels;
|
|
220
|
+
labels?: Labels | undefined;
|
|
208
221
|
lifecycleState: LifecycleState;
|
|
209
222
|
/** Organization name. */
|
|
210
223
|
name: string;
|
|
@@ -216,19 +229,19 @@ export interface OrganizationResponse {
|
|
|
216
229
|
export interface GetProjectRequest {
|
|
217
230
|
/** Project identifier - containerId as well as UUID identifier is supported. */
|
|
218
231
|
id: string;
|
|
219
|
-
includeParents?: boolean;
|
|
232
|
+
includeParents?: boolean | undefined;
|
|
220
233
|
}
|
|
221
234
|
export interface GetProjectResponse {
|
|
222
235
|
/** Globally unique identifier. */
|
|
223
236
|
containerId: string;
|
|
224
237
|
/** Timestamp at which the project was created. */
|
|
225
238
|
creationTime: string;
|
|
226
|
-
labels?: Labels;
|
|
239
|
+
labels?: Labels | undefined;
|
|
227
240
|
lifecycleState: LifecycleState;
|
|
228
241
|
/** Project name. */
|
|
229
242
|
name: string;
|
|
230
243
|
parent: Parent;
|
|
231
|
-
parents?: ParentList;
|
|
244
|
+
parents?: ParentList | undefined;
|
|
232
245
|
/** Globally unique identifier. */
|
|
233
246
|
projectId: string;
|
|
234
247
|
/** Timestamp at which the project was last modified. */
|
|
@@ -237,17 +250,17 @@ export interface GetProjectResponse {
|
|
|
237
250
|
export type ListFoldersRequestContainerIdsList = Array<string>;
|
|
238
251
|
export interface ListFoldersRequest {
|
|
239
252
|
/** Identifier of the parent resource container - containerId as well as UUID identifier is supported. */
|
|
240
|
-
containerParentId?: string;
|
|
253
|
+
containerParentId?: string | undefined;
|
|
241
254
|
/** List of container identifiers - containerId as well as UUID identifier is supported. */
|
|
242
|
-
containerIds?: ListFoldersRequestContainerIdsList;
|
|
255
|
+
containerIds?: ListFoldersRequestContainerIdsList | undefined;
|
|
243
256
|
/** E-Mail address of the user for whom the visible resource containers should be filtered. */
|
|
244
|
-
member?: string;
|
|
257
|
+
member?: string | undefined;
|
|
245
258
|
/** The maximum number of projects to return in the response. If not present, an appropriate default will be used. If maximum is exceeded, maximum is used. */
|
|
246
|
-
limit?: number;
|
|
259
|
+
limit?: number | undefined;
|
|
247
260
|
/** The offset of the first item in the collection to return. */
|
|
248
|
-
offset?: number;
|
|
261
|
+
offset?: number | undefined;
|
|
249
262
|
/** A timestamp to specify the beginning of the creationTime from which entries should be returned. If not given, defaults to the beginning of time. */
|
|
250
|
-
creation_time_start?: string;
|
|
263
|
+
creation_time_start?: string | undefined;
|
|
251
264
|
}
|
|
252
265
|
export interface ListFoldersResponseItemsItem {
|
|
253
266
|
/** Globally unique folder identifier. */
|
|
@@ -256,7 +269,7 @@ export interface ListFoldersResponseItemsItem {
|
|
|
256
269
|
creationTime: string;
|
|
257
270
|
/** Globally unique folder identifier. */
|
|
258
271
|
folderId: string;
|
|
259
|
-
labels?: Labels;
|
|
272
|
+
labels?: Labels | undefined;
|
|
260
273
|
/** Name of the folder. */
|
|
261
274
|
name: string;
|
|
262
275
|
parent: Parent;
|
|
@@ -272,22 +285,22 @@ export interface ListFoldersResponse {
|
|
|
272
285
|
export type ListOrganizationsRequestContainerIdsList = Array<string>;
|
|
273
286
|
export interface ListOrganizationsRequest {
|
|
274
287
|
/** Organization identifiers - containerId as well as UUID identifier is supported. A combination of both is not allowed. */
|
|
275
|
-
containerIds?: ListOrganizationsRequestContainerIdsList;
|
|
288
|
+
containerIds?: ListOrganizationsRequestContainerIdsList | undefined;
|
|
276
289
|
/** E-Mail address of the user for whom the visible resource containers should be filtered. */
|
|
277
|
-
member?: string;
|
|
290
|
+
member?: string | undefined;
|
|
278
291
|
/** The maximum number of projects to return in the response. If not present, an appropriate default will be used. If maximum is exceeded, maximum is used. */
|
|
279
|
-
limit?: number;
|
|
292
|
+
limit?: number | undefined;
|
|
280
293
|
/** The offset of the first item in the collection to return. */
|
|
281
|
-
offset?: number;
|
|
294
|
+
offset?: number | undefined;
|
|
282
295
|
/** A timestamp to specify the beginning of the creationTime from which entries should be returned. If not given, defaults to the beginning of time. */
|
|
283
|
-
creation_time_start?: string;
|
|
296
|
+
creation_time_start?: string | undefined;
|
|
284
297
|
}
|
|
285
298
|
export interface ListOrganizationsResponseItemsItem {
|
|
286
299
|
/** Globally unique, user-friendly identifier. */
|
|
287
300
|
containerId: string;
|
|
288
301
|
/** Timestamp at which the organization was created. */
|
|
289
302
|
creationTime: string;
|
|
290
|
-
labels?: Labels;
|
|
303
|
+
labels?: Labels | undefined;
|
|
291
304
|
lifecycleState: LifecycleState;
|
|
292
305
|
/** Name of the organization. */
|
|
293
306
|
name: string;
|
|
@@ -305,17 +318,17 @@ export interface ListOrganizationsResponse {
|
|
|
305
318
|
export type ListProjectsRequestContainerIdsList = Array<string>;
|
|
306
319
|
export interface ListProjectsRequest {
|
|
307
320
|
/** Identifier of the parent resource container - containerId as well as UUID identifier is supported. */
|
|
308
|
-
containerParentId?: string;
|
|
321
|
+
containerParentId?: string | undefined;
|
|
309
322
|
/** List of container identifiers - containerId as well as UUID identifier is supported. */
|
|
310
|
-
containerIds?: ListProjectsRequestContainerIdsList;
|
|
323
|
+
containerIds?: ListProjectsRequestContainerIdsList | undefined;
|
|
311
324
|
/** E-Mail address of the user for whom the visible resource containers should be filtered. */
|
|
312
|
-
member?: string;
|
|
325
|
+
member?: string | undefined;
|
|
313
326
|
/** The offset of the first item in the collection to return. */
|
|
314
|
-
offset?: number;
|
|
327
|
+
offset?: number | undefined;
|
|
315
328
|
/** The maximum number of projects to return in the response. If not present, an appropriate default will be used. If maximum is exceeded, maximum is used. */
|
|
316
|
-
limit?: number;
|
|
329
|
+
limit?: number | undefined;
|
|
317
330
|
/** A timestamp to specify the beginning of the creationTime from which entries should be returned. If not given, defaults to the beginning of time. */
|
|
318
|
-
creation_time_start?: string;
|
|
331
|
+
creation_time_start?: string | undefined;
|
|
319
332
|
}
|
|
320
333
|
export type ListProjectsResponseItemsList = Array<Project>;
|
|
321
334
|
export interface ListProjectsResponse {
|
|
@@ -323,32 +336,32 @@ export interface ListProjectsResponse {
|
|
|
323
336
|
limit: number;
|
|
324
337
|
offset: number;
|
|
325
338
|
}
|
|
326
|
-
/** Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). > Note: Additional naming restrictions may apply depending on your specific organization.* */
|
|
339
|
+
/** Key-value string pairs attached to an existing resource container. Certain labels may be enforced via organizational policies. Setting an individual label's value to `null` removes/deletes that label from the resource. * **Key:** Must be between 1 and 63 characters long (excluding an optional domain prefix). Must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). May include an optional domain prefix up to 250 characters (a lowercase DNS subdomain containing `[a-z0-9]`, `-`, and `.`) followed by a slash (/). Total maximum key length is 314 characters. * **Value:** Must be 63 characters or less. May be empty (""). If non-empty, must start and end with an alphanumeric character `[a-zA-Z0-9]` and can contain alphanumerics, dashes (-), underscores (_), and dots (.). Can be set to null to delete the label. > Note: Additional naming restrictions may apply depending on your specific organization.* */
|
|
327
340
|
export type UpdateLabels = { [key: string]: string | null | undefined };
|
|
328
341
|
export interface PartialUpdateFolderRequest {
|
|
329
342
|
/** Folder identifier - containerId as well as UUID identifier is supported. */
|
|
330
343
|
containerId: string;
|
|
331
344
|
/** New parent identifier for the resource container - containerId as well as UUID identifier is supported. */
|
|
332
|
-
containerParentId?: string;
|
|
333
|
-
labels?: UpdateLabels;
|
|
334
|
-
/** New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){
|
|
335
|
-
name?: string;
|
|
345
|
+
containerParentId?: string | undefined;
|
|
346
|
+
labels?: UpdateLabels | undefined;
|
|
347
|
+
/** New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$`. */
|
|
348
|
+
name?: string | undefined;
|
|
336
349
|
}
|
|
337
350
|
export interface PartialUpdateOrganizationRequest {
|
|
338
351
|
/** Organization identifier - containerId as well as UUID identifier is supported. */
|
|
339
352
|
id: string;
|
|
340
|
-
labels?: UpdateLabels;
|
|
341
|
-
/** The new name of the organization matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){
|
|
342
|
-
name?: string;
|
|
353
|
+
labels?: UpdateLabels | undefined;
|
|
354
|
+
/** The new name of the organization matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$`. */
|
|
355
|
+
name?: string | undefined;
|
|
343
356
|
}
|
|
344
357
|
export interface PartialUpdateProjectRequest {
|
|
345
358
|
/** Project identifier - containerId as well as UUID identifier is supported. */
|
|
346
359
|
id: string;
|
|
347
360
|
/** New parent identifier for the resource container - containerId as well as UUID identifier is supported. */
|
|
348
|
-
containerParentId?: string;
|
|
349
|
-
labels?: UpdateLabels;
|
|
350
|
-
/** New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){
|
|
351
|
-
name?: string;
|
|
361
|
+
containerParentId?: string | undefined;
|
|
362
|
+
labels?: UpdateLabels | undefined;
|
|
363
|
+
/** New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){1,40}$`. */
|
|
364
|
+
name?: string | undefined;
|
|
352
365
|
}
|
|
353
366
|
export type CreateFolderError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
354
367
|
/** Create Folder Creates a new folder within a parent organization or folder. Authorization & Permissions: - Evaluated on Target Parent Container: resource-manager.folder.create (required permission on the target parent organization or folder to create a folder). */
|
|
@@ -363,6 +376,8 @@ export const createFolder: API.OperationMethod<
|
|
|
363
376
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
364
377
|
protocol: StackitProtocol,
|
|
365
378
|
retry: Retry.Retry,
|
|
379
|
+
telemetry: TELEMETRY,
|
|
380
|
+
span: "CreateFolder",
|
|
366
381
|
}));
|
|
367
382
|
|
|
368
383
|
export type CreateProjectError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
@@ -378,6 +393,8 @@ export const createProject: API.OperationMethod<
|
|
|
378
393
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
379
394
|
protocol: StackitProtocol,
|
|
380
395
|
retry: Retry.Retry,
|
|
396
|
+
telemetry: TELEMETRY,
|
|
397
|
+
span: "CreateProject",
|
|
381
398
|
}));
|
|
382
399
|
|
|
383
400
|
export type DeleteFolderError = NotFound | Conflict | StackitOpError;
|
|
@@ -393,6 +410,8 @@ export const deleteFolder: API.OperationMethod<
|
|
|
393
410
|
errors: [NotFound, Conflict, UnknownStackitError],
|
|
394
411
|
protocol: StackitProtocol,
|
|
395
412
|
retry: Retry.Retry,
|
|
413
|
+
telemetry: TELEMETRY,
|
|
414
|
+
span: "DeleteFolder",
|
|
396
415
|
}));
|
|
397
416
|
|
|
398
417
|
export type DeleteFolderLabelsError = Conflict | StackitOpError;
|
|
@@ -408,6 +427,8 @@ export const deleteFolderLabels: API.OperationMethod<
|
|
|
408
427
|
errors: [Conflict, UnknownStackitError],
|
|
409
428
|
protocol: StackitProtocol,
|
|
410
429
|
retry: Retry.Retry,
|
|
430
|
+
telemetry: TELEMETRY,
|
|
431
|
+
span: "DeleteFolderLabels",
|
|
411
432
|
}));
|
|
412
433
|
|
|
413
434
|
export type DeleteOrganizationLabelsError = Conflict | StackitOpError;
|
|
@@ -423,6 +444,8 @@ export const deleteOrganizationLabels: API.OperationMethod<
|
|
|
423
444
|
errors: [Conflict, UnknownStackitError],
|
|
424
445
|
protocol: StackitProtocol,
|
|
425
446
|
retry: Retry.Retry,
|
|
447
|
+
telemetry: TELEMETRY,
|
|
448
|
+
span: "DeleteOrganizationLabels",
|
|
426
449
|
}));
|
|
427
450
|
|
|
428
451
|
export type DeleteProjectError = Conflict | StackitOpError;
|
|
@@ -438,6 +461,8 @@ export const deleteProject: API.OperationMethod<
|
|
|
438
461
|
errors: [Conflict, UnknownStackitError],
|
|
439
462
|
protocol: StackitProtocol,
|
|
440
463
|
retry: Retry.Retry,
|
|
464
|
+
telemetry: TELEMETRY,
|
|
465
|
+
span: "DeleteProject",
|
|
441
466
|
}));
|
|
442
467
|
|
|
443
468
|
export type DeleteProjectLabelsError = Conflict | StackitOpError;
|
|
@@ -453,6 +478,8 @@ export const deleteProjectLabels: API.OperationMethod<
|
|
|
453
478
|
errors: [Conflict, UnknownStackitError],
|
|
454
479
|
protocol: StackitProtocol,
|
|
455
480
|
retry: Retry.Retry,
|
|
481
|
+
telemetry: TELEMETRY,
|
|
482
|
+
span: "DeleteProjectLabels",
|
|
456
483
|
}));
|
|
457
484
|
|
|
458
485
|
export type GetFolderDetailsError = Forbidden | NotFound | StackitOpError;
|
|
@@ -468,6 +495,8 @@ export const getFolderDetails: API.OperationMethod<
|
|
|
468
495
|
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
469
496
|
protocol: StackitProtocol,
|
|
470
497
|
retry: Retry.Retry,
|
|
498
|
+
telemetry: TELEMETRY,
|
|
499
|
+
span: "GetFolderDetails",
|
|
471
500
|
}));
|
|
472
501
|
|
|
473
502
|
export type GetOrganizationError = NotFound | StackitOpError;
|
|
@@ -483,6 +512,8 @@ export const getOrganization: API.OperationMethod<
|
|
|
483
512
|
errors: [NotFound, UnknownStackitError],
|
|
484
513
|
protocol: StackitProtocol,
|
|
485
514
|
retry: Retry.Retry,
|
|
515
|
+
telemetry: TELEMETRY,
|
|
516
|
+
span: "GetOrganization",
|
|
486
517
|
}));
|
|
487
518
|
|
|
488
519
|
export type GetProjectError = Forbidden | NotFound | StackitOpError;
|
|
@@ -498,6 +529,8 @@ export const getProject: API.OperationMethod<
|
|
|
498
529
|
errors: [Forbidden, NotFound, UnknownStackitError],
|
|
499
530
|
protocol: StackitProtocol,
|
|
500
531
|
retry: Retry.Retry,
|
|
532
|
+
telemetry: TELEMETRY,
|
|
533
|
+
span: "GetProject",
|
|
501
534
|
}));
|
|
502
535
|
|
|
503
536
|
export type ListFoldersError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
@@ -513,6 +546,8 @@ export const listFolders: API.OperationMethod<
|
|
|
513
546
|
errors: [BadRequest, Forbidden, Conflict, UnknownStackitError],
|
|
514
547
|
protocol: StackitProtocol,
|
|
515
548
|
retry: Retry.Retry,
|
|
549
|
+
telemetry: TELEMETRY,
|
|
550
|
+
span: "ListFolders",
|
|
516
551
|
}));
|
|
517
552
|
|
|
518
553
|
export type ListOrganizationsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -528,6 +563,8 @@ export const listOrganizations: API.OperationMethod<
|
|
|
528
563
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
529
564
|
protocol: StackitProtocol,
|
|
530
565
|
retry: Retry.Retry,
|
|
566
|
+
telemetry: TELEMETRY,
|
|
567
|
+
span: "ListOrganizations",
|
|
531
568
|
}));
|
|
532
569
|
|
|
533
570
|
export type ListProjectsError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -543,6 +580,8 @@ export const listProjects: API.OperationMethod<
|
|
|
543
580
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
544
581
|
protocol: StackitProtocol,
|
|
545
582
|
retry: Retry.Retry,
|
|
583
|
+
telemetry: TELEMETRY,
|
|
584
|
+
span: "ListProjects",
|
|
546
585
|
}));
|
|
547
586
|
|
|
548
587
|
export type PartialUpdateFolderError = Forbidden | NotFound | Conflict | StackitOpError;
|
|
@@ -558,6 +597,8 @@ export const partialUpdateFolder: API.OperationMethod<
|
|
|
558
597
|
errors: [Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
559
598
|
protocol: StackitProtocol,
|
|
560
599
|
retry: Retry.Retry,
|
|
600
|
+
telemetry: TELEMETRY,
|
|
601
|
+
span: "PartialUpdateFolder",
|
|
561
602
|
}));
|
|
562
603
|
|
|
563
604
|
export type PartialUpdateOrganizationError = NotFound | Conflict | StackitOpError;
|
|
@@ -573,6 +614,8 @@ export const partialUpdateOrganization: API.OperationMethod<
|
|
|
573
614
|
errors: [NotFound, Conflict, UnknownStackitError],
|
|
574
615
|
protocol: StackitProtocol,
|
|
575
616
|
retry: Retry.Retry,
|
|
617
|
+
telemetry: TELEMETRY,
|
|
618
|
+
span: "PartialUpdateOrganization",
|
|
576
619
|
}));
|
|
577
620
|
|
|
578
621
|
export type PartialUpdateProjectError = Forbidden | NotFound | Conflict | StackitOpError;
|
|
@@ -588,6 +631,8 @@ export const partialUpdateProject: API.OperationMethod<
|
|
|
588
631
|
errors: [Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
589
632
|
protocol: StackitProtocol,
|
|
590
633
|
retry: Retry.Retry,
|
|
634
|
+
telemetry: TELEMETRY,
|
|
635
|
+
span: "PartialUpdateProject",
|
|
591
636
|
}));
|
|
592
637
|
|
|
593
638
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -956,7 +1001,7 @@ function __c18(j: number): any {
|
|
|
956
1001
|
S.Struct({
|
|
957
1002
|
containerParentId: S.String,
|
|
958
1003
|
labels: S.optional(__S(64, __c16, 0)),
|
|
959
|
-
members: __S(61, __c15, 1),
|
|
1004
|
+
members: S.optional(__S(61, __c15, 1)),
|
|
960
1005
|
name: S.String,
|
|
961
1006
|
}).pipe(
|
|
962
1007
|
T.Http({
|
|
@@ -12,6 +12,19 @@ const __s: any[] = [];
|
|
|
12
12
|
|
|
13
13
|
export type { StackitOpError, StackitOpContext };
|
|
14
14
|
|
|
15
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
16
|
+
const TELEMETRY = {
|
|
17
|
+
system: "stackit-api",
|
|
18
|
+
responseHeaders: [
|
|
19
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
20
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
21
|
+
],
|
|
22
|
+
prefix: "STACKIT",
|
|
23
|
+
service: "RunCommand",
|
|
24
|
+
labels: "stackit",
|
|
25
|
+
propagate: "w3c",
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
15
28
|
export class BadRequest
|
|
16
29
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
30
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -39,10 +52,10 @@ export interface CreateCommandRequest {
|
|
|
39
52
|
/** Server ID of the machine */
|
|
40
53
|
serverId: string;
|
|
41
54
|
commandTemplateName: string;
|
|
42
|
-
parameters?: CreateCommandRequestParametersMap;
|
|
55
|
+
parameters?: CreateCommandRequestParametersMap | undefined;
|
|
43
56
|
}
|
|
44
57
|
export interface NewCommandResponse {
|
|
45
|
-
id?: number;
|
|
58
|
+
id?: number | undefined;
|
|
46
59
|
}
|
|
47
60
|
export interface GetCommandRequest {
|
|
48
61
|
/** ID of the project */
|
|
@@ -56,15 +69,15 @@ export interface GetCommandRequest {
|
|
|
56
69
|
}
|
|
57
70
|
export type CommandDetailsStatus = "pending" | "running" | "completed" | "failed";
|
|
58
71
|
export interface CommandDetails {
|
|
59
|
-
commandTemplateName?: string;
|
|
60
|
-
commandTemplateTitle?: string;
|
|
61
|
-
exitCode?: number;
|
|
62
|
-
finishedAt?: string;
|
|
63
|
-
id?: number;
|
|
64
|
-
output?: string;
|
|
65
|
-
script?: string;
|
|
66
|
-
startedAt?: string;
|
|
67
|
-
status?: CommandDetailsStatus;
|
|
72
|
+
commandTemplateName?: string | undefined;
|
|
73
|
+
commandTemplateTitle?: string | undefined;
|
|
74
|
+
exitCode?: number | undefined;
|
|
75
|
+
finishedAt?: string | undefined;
|
|
76
|
+
id?: number | undefined;
|
|
77
|
+
output?: string | undefined;
|
|
78
|
+
script?: string | undefined;
|
|
79
|
+
startedAt?: string | undefined;
|
|
80
|
+
status?: CommandDetailsStatus | undefined;
|
|
68
81
|
}
|
|
69
82
|
export interface GetCommandTemplateRequest {
|
|
70
83
|
/** ID of the project */
|
|
@@ -78,32 +91,32 @@ export interface GetCommandTemplateRequest {
|
|
|
78
91
|
}
|
|
79
92
|
export type CommandTemplateSchemaOsTypeList = Array<string>;
|
|
80
93
|
export interface Field {
|
|
81
|
-
default?: string;
|
|
82
|
-
description?: string;
|
|
83
|
-
maxLen?: number;
|
|
84
|
-
minLen?: number;
|
|
85
|
-
readOnly?: boolean;
|
|
86
|
-
title?: string;
|
|
87
|
-
type?: string;
|
|
94
|
+
default?: string | undefined;
|
|
95
|
+
description?: string | undefined;
|
|
96
|
+
maxLen?: number | undefined;
|
|
97
|
+
minLen?: number | undefined;
|
|
98
|
+
readOnly?: boolean | undefined;
|
|
99
|
+
title?: string | undefined;
|
|
100
|
+
type?: string | undefined;
|
|
88
101
|
}
|
|
89
102
|
export type PropertiesRequiredList = Array<string>;
|
|
90
103
|
export interface Properties {
|
|
91
|
-
ConfirmPassword?: Field;
|
|
92
|
-
Password?: Field;
|
|
93
|
-
Script?: Field;
|
|
94
|
-
Username?: Field;
|
|
95
|
-
required?: PropertiesRequiredList;
|
|
96
|
-
type?: string;
|
|
104
|
+
ConfirmPassword?: Field | undefined;
|
|
105
|
+
Password?: Field | undefined;
|
|
106
|
+
Script?: Field | undefined;
|
|
107
|
+
Username?: Field | undefined;
|
|
108
|
+
required?: PropertiesRequiredList | undefined;
|
|
109
|
+
type?: string | undefined;
|
|
97
110
|
}
|
|
98
111
|
export interface ParametersSchema {
|
|
99
|
-
properties?: Properties;
|
|
112
|
+
properties?: Properties | undefined;
|
|
100
113
|
}
|
|
101
114
|
export interface CommandTemplateSchema {
|
|
102
|
-
description?: string;
|
|
103
|
-
name?: string;
|
|
104
|
-
osType?: CommandTemplateSchemaOsTypeList;
|
|
105
|
-
parametersSchema?: ParametersSchema;
|
|
106
|
-
title?: string;
|
|
115
|
+
description?: string | undefined;
|
|
116
|
+
name?: string | undefined;
|
|
117
|
+
osType?: CommandTemplateSchemaOsTypeList | undefined;
|
|
118
|
+
parametersSchema?: ParametersSchema | undefined;
|
|
119
|
+
title?: string | undefined;
|
|
107
120
|
}
|
|
108
121
|
export interface ListCommandsRequest {
|
|
109
122
|
/** ID of the project */
|
|
@@ -115,30 +128,30 @@ export interface ListCommandsRequest {
|
|
|
115
128
|
}
|
|
116
129
|
export type CommandsStatus = "pending" | "running" | "completed" | "failed";
|
|
117
130
|
export interface Commands {
|
|
118
|
-
commandTemplateName?: string;
|
|
119
|
-
commandTemplateTitle?: string;
|
|
120
|
-
finishedAt?: string;
|
|
121
|
-
id?: number;
|
|
122
|
-
startedAt?: string;
|
|
123
|
-
status?: CommandsStatus;
|
|
131
|
+
commandTemplateName?: string | undefined;
|
|
132
|
+
commandTemplateTitle?: string | undefined;
|
|
133
|
+
finishedAt?: string | undefined;
|
|
134
|
+
id?: number | undefined;
|
|
135
|
+
startedAt?: string | undefined;
|
|
136
|
+
status?: CommandsStatus | undefined;
|
|
124
137
|
}
|
|
125
138
|
export type GetCommandsResponseItemsList = Array<Commands>;
|
|
126
139
|
export interface GetCommandsResponse {
|
|
127
|
-
items?: GetCommandsResponseItemsList;
|
|
140
|
+
items?: GetCommandsResponseItemsList | undefined;
|
|
128
141
|
}
|
|
129
142
|
export interface ListCommandTemplatesRequest {
|
|
130
143
|
/** The type of the Operating System (windows or linux). If not provided will return data for all OS types. */
|
|
131
|
-
osType?: string;
|
|
144
|
+
osType?: string | undefined;
|
|
132
145
|
}
|
|
133
146
|
export type CommandTemplateOsTypeList = Array<string>;
|
|
134
147
|
export interface CommandTemplate {
|
|
135
|
-
name?: string;
|
|
136
|
-
osType?: CommandTemplateOsTypeList;
|
|
137
|
-
title?: string;
|
|
148
|
+
name?: string | undefined;
|
|
149
|
+
osType?: CommandTemplateOsTypeList | undefined;
|
|
150
|
+
title?: string | undefined;
|
|
138
151
|
}
|
|
139
152
|
export type CommandTemplateResponseItemsList = Array<CommandTemplate>;
|
|
140
153
|
export interface CommandTemplateResponse {
|
|
141
|
-
items?: CommandTemplateResponseItemsList;
|
|
154
|
+
items?: CommandTemplateResponseItemsList | undefined;
|
|
142
155
|
}
|
|
143
156
|
export type CreateCommandError = BadRequest | NotFound | StackitOpError;
|
|
144
157
|
/** Creates a new command for execution */
|
|
@@ -153,6 +166,8 @@ export const createCommand: API.OperationMethod<
|
|
|
153
166
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
154
167
|
protocol: StackitProtocol,
|
|
155
168
|
retry: Retry.Retry,
|
|
169
|
+
telemetry: TELEMETRY,
|
|
170
|
+
span: "CreateCommand",
|
|
156
171
|
}));
|
|
157
172
|
|
|
158
173
|
export type GetCommandError = BadRequest | NotFound | StackitOpError;
|
|
@@ -168,6 +183,8 @@ export const getCommand: API.OperationMethod<
|
|
|
168
183
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
169
184
|
protocol: StackitProtocol,
|
|
170
185
|
retry: Retry.Retry,
|
|
186
|
+
telemetry: TELEMETRY,
|
|
187
|
+
span: "GetCommand",
|
|
171
188
|
}));
|
|
172
189
|
|
|
173
190
|
export type GetCommandTemplateError = BadRequest | NotFound | StackitOpError;
|
|
@@ -183,6 +200,8 @@ export const getCommandTemplate: API.OperationMethod<
|
|
|
183
200
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
184
201
|
protocol: StackitProtocol,
|
|
185
202
|
retry: Retry.Retry,
|
|
203
|
+
telemetry: TELEMETRY,
|
|
204
|
+
span: "GetCommandTemplate",
|
|
186
205
|
}));
|
|
187
206
|
|
|
188
207
|
export type ListCommandsError = BadRequest | NotFound | StackitOpError;
|
|
@@ -198,6 +217,8 @@ export const listCommands: API.OperationMethod<
|
|
|
198
217
|
errors: [BadRequest, NotFound, UnknownStackitError],
|
|
199
218
|
protocol: StackitProtocol,
|
|
200
219
|
retry: Retry.Retry,
|
|
220
|
+
telemetry: TELEMETRY,
|
|
221
|
+
span: "ListCommands",
|
|
201
222
|
}));
|
|
202
223
|
|
|
203
224
|
export type ListCommandTemplatesError = BadRequest | StackitOpError;
|
|
@@ -213,6 +234,8 @@ export const listCommandTemplates: API.OperationMethod<
|
|
|
213
234
|
errors: [BadRequest, UnknownStackitError],
|
|
214
235
|
protocol: StackitProtocol,
|
|
215
236
|
retry: Retry.Retry,
|
|
237
|
+
telemetry: TELEMETRY,
|
|
238
|
+
span: "ListCommandTemplates",
|
|
216
239
|
}));
|
|
217
240
|
|
|
218
241
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|