@distilled.cloud/stackit 1.0.0-rc.18 → 1.0.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +2 -1
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +24 -24
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +29 -29
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +22 -22
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +22 -22
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -39
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +23 -23
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +24 -24
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +37 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +179 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +25 -25
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +37 -37
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +25 -25
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +34 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -33
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +35 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +38 -38
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +34 -34
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +147 -147
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +35 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +24 -24
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -46
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +33 -33
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +36 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +32 -32
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +31 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +33 -33
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +39 -39
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +25 -25
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +26 -26
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -45
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +21 -21
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +36 -36
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +22 -22
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -33
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -28
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +35 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +40 -40
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +23 -23
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/automation.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/functions.js +2 -2
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/package.json +5 -5
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +10 -10
- package/src/services/alb.ts +135 -132
- package/src/services/alb_waf.ts +51 -51
- package/src/services/authorization.ts +15 -15
- package/src/services/automation.ts +53 -49
- package/src/services/cdn.ts +129 -129
- package/src/services/certificates.ts +40 -40
- package/src/services/cost.ts +15 -15
- package/src/services/dns.ts +497 -269
- package/src/services/dremio.ts +156 -118
- package/src/services/edge.ts +21 -21
- package/src/services/functions.ts +176 -172
- package/src/services/git.ts +354 -108
- package/src/services/iaas.ts +438 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +58 -58
- package/src/services/kms.ts +13 -13
- package/src/services/lb_ip_lists.ts +14 -14
- package/src/services/load_balancer.ts +129 -126
- package/src/services/logme.ts +294 -122
- package/src/services/logs.ts +123 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +277 -105
- package/src/services/model_experiments.ts +33 -33
- package/src/services/model_serving.ts +25 -25
- package/src/services/mongodb_flex.ts +142 -137
- package/src/services/object_storage.ts +6 -6
- package/src/services/observability.ts +369 -362
- package/src/services/opensearch.ts +286 -114
- package/src/services/pim.ts +362 -278
- package/src/services/postgres_flex.ts +191 -179
- package/src/services/pubsub.ts +36 -36
- package/src/services/rabbitmq.ts +297 -125
- package/src/services/registry.ts +30 -26
- package/src/services/resource_manager.ts +57 -57
- package/src/services/run_command.ts +42 -42
- package/src/services/sca.ts +732 -371
- package/src/services/scf.ts +24 -24
- package/src/services/secrets_manager.ts +22 -22
- package/src/services/server_backup.ts +31 -31
- package/src/services/server_update.ts +17 -17
- package/src/services/service_account.ts +32 -30
- package/src/services/service_enablement.ts +28 -24
- package/src/services/sfs.ts +404 -395
- package/src/services/ske.ts +258 -228
- package/src/services/sqlserverflex.ts +47 -47
- package/src/services/stackit_marketplace.ts +39 -39
- package/src/services/telemetry_link.ts +136 -81
- package/src/services/telemetry_router.ts +283 -94
- package/src/services/ufw.ts +56 -54
- package/src/services/valkey.ts +290 -118
- package/src/services/vpn.ts +152 -142
- package/src/services/workflows.ts +65 -65
package/src/services/registry.ts
CHANGED
|
@@ -64,14 +64,14 @@ export class NotFound
|
|
|
64
64
|
|
|
65
65
|
/** Credentials for upstream registry */
|
|
66
66
|
export interface Credentials {
|
|
67
|
-
access_key
|
|
68
|
-
access_secret
|
|
67
|
+
access_key: string;
|
|
68
|
+
access_secret: string | Redacted.Redacted<string>;
|
|
69
69
|
}
|
|
70
70
|
/** Provide an upstream repository this project is a proxy for */
|
|
71
71
|
export interface CreateProxyRequest {
|
|
72
|
-
credentials?: Credentials;
|
|
72
|
+
credentials?: Credentials | undefined;
|
|
73
73
|
/** Description of the registry. */
|
|
74
|
-
description?: string;
|
|
74
|
+
description?: string | undefined;
|
|
75
75
|
/** Which replication adapter to use for this registry. Discover the list of supported replication adapters, and therefore supported registry types, by calling GET /v1/projects/{projectId}/regions/{regionId}/replication/adapters */
|
|
76
76
|
registry_type: string;
|
|
77
77
|
/** Upstream registry url to proxy */
|
|
@@ -83,26 +83,28 @@ export interface CreateArtifactoryRequest {
|
|
|
83
83
|
/** STACKIT region identification */
|
|
84
84
|
regionId: string;
|
|
85
85
|
/** If true, claims ownership of an existing Harbor project instead of creating a new one. */
|
|
86
|
-
claim?: boolean;
|
|
86
|
+
claim?: boolean | undefined;
|
|
87
87
|
/** A user chosen name to distinguish multiple STACKIT Artifactories. */
|
|
88
88
|
name: string;
|
|
89
89
|
/** If proxy configuration is provided, this project will be created as a proxy-cache for the upstream registry. */
|
|
90
|
-
proxy?: CreateProxyRequest;
|
|
90
|
+
proxy?: CreateProxyRequest | undefined;
|
|
91
91
|
}
|
|
92
92
|
/** Credentials for upstream registry, redacted */
|
|
93
93
|
export interface RedactedCredentials {
|
|
94
|
-
access_key
|
|
94
|
+
access_key: string;
|
|
95
95
|
}
|
|
96
96
|
/** Replication settings for a proxy-cache artifactory */
|
|
97
97
|
export interface Proxy {
|
|
98
|
-
credentials?: RedactedCredentials;
|
|
98
|
+
credentials?: RedactedCredentials | undefined;
|
|
99
99
|
/** Description of the registry. */
|
|
100
|
-
description?: string;
|
|
100
|
+
description?: string | undefined;
|
|
101
101
|
/** Which replication adapter to use for this registry. Discover the list of supported replication adapters, and therefore supported registry types, by calling GET /v1/projects/{projectId}/regions/{regionId}/replication/adapters */
|
|
102
102
|
registry_type: string;
|
|
103
103
|
/** Upstream registry url to proxy */
|
|
104
104
|
url: string;
|
|
105
105
|
}
|
|
106
|
+
/** The current state of the STACKIT Artifactory. */
|
|
107
|
+
export type ArtifactoryState = "Reconciling" | "Active" | "Deleted" | "Error";
|
|
106
108
|
/** Artifactory Information. */
|
|
107
109
|
export interface Artifactory {
|
|
108
110
|
/** How many bytes of quota is consumed. Read Only. */
|
|
@@ -113,13 +115,11 @@ export interface Artifactory {
|
|
|
113
115
|
id: string;
|
|
114
116
|
/** A user chosen name to distinguish multiple STACKIT Artifactories. */
|
|
115
117
|
name: string;
|
|
116
|
-
proxy?: Proxy;
|
|
118
|
+
proxy?: Proxy | undefined;
|
|
117
119
|
/** The current state of the STACKIT Artifactory. */
|
|
118
|
-
state:
|
|
120
|
+
state: ArtifactoryState;
|
|
119
121
|
/** The base URL of the STACKIT Artifactory. */
|
|
120
122
|
url: string;
|
|
121
|
-
/** How many users does this artifactory have. Read Only. */
|
|
122
|
-
user_count: number;
|
|
123
123
|
}
|
|
124
124
|
export interface DeleteArtifactoryRequest {
|
|
125
125
|
/** Project identifier. */
|
|
@@ -144,16 +144,16 @@ export interface ListArtifactoriesRequest {
|
|
|
144
144
|
/** STACKIT region identification */
|
|
145
145
|
regionId: string;
|
|
146
146
|
/** The maximum number of artifactories to return. The service may return fewer than this value. */
|
|
147
|
-
page_size?: number;
|
|
147
|
+
page_size?: number | undefined;
|
|
148
148
|
/** A page token, received from a previous `ListArtifactories` call. Provide this to retrieve the subsequent page. */
|
|
149
|
-
next_page_token?: string;
|
|
149
|
+
next_page_token?: string | undefined;
|
|
150
150
|
}
|
|
151
151
|
export type ArtifactoryListArtifactoriesList = Array<Artifactory>;
|
|
152
152
|
/** A list of artifactories inside a STACKIT project. */
|
|
153
153
|
export interface ArtifactoryList {
|
|
154
154
|
artifactories: ArtifactoryListArtifactoriesList;
|
|
155
155
|
/** A token to retrieve the next page of results. Pass this value as `page_token` in the subsequent request. If empty, there are no more pages. */
|
|
156
|
-
next_page_token?: string;
|
|
156
|
+
next_page_token?: string | undefined;
|
|
157
157
|
}
|
|
158
158
|
export interface ListReplicationAdaptersRequest {
|
|
159
159
|
/** Project identifier. */
|
|
@@ -161,7 +161,11 @@ export interface ListReplicationAdaptersRequest {
|
|
|
161
161
|
/** STACKIT region identification */
|
|
162
162
|
regionId: string;
|
|
163
163
|
}
|
|
164
|
+
/** User-hint for what type of credentials are expected for replication adapter type. Values are one of `basic` for username/password, `oauth` for token based access, and `secret` for json-secret file. */
|
|
165
|
+
export type ReplicationAdapterCredentialType = "basic" | "oauth" | "secret";
|
|
164
166
|
export interface ReplicationAdapter {
|
|
167
|
+
/** User-hint for what type of credentials are expected for replication adapter type. Values are one of `basic` for username/password, `oauth` for token based access, and `secret` for json-secret file. */
|
|
168
|
+
credential_type: ReplicationAdapterCredentialType;
|
|
165
169
|
/** Human-friendly name of the provider the adapter relates to. */
|
|
166
170
|
display_name: string;
|
|
167
171
|
/** Identifies the replication adapter */
|
|
@@ -171,16 +175,16 @@ export type ReplicationAdapterListReplicationAdaptersList = Array<ReplicationAda
|
|
|
171
175
|
/** A list of replication adapters */
|
|
172
176
|
export interface ReplicationAdapterList {
|
|
173
177
|
/** A token to retrieve the next page of results. Pass this value as `page_token` in the subsequent request. If empty, there are no more pages. */
|
|
174
|
-
next_page_token?: string;
|
|
178
|
+
next_page_token?: string | undefined;
|
|
175
179
|
replication_adapters: ReplicationAdapterListReplicationAdaptersList;
|
|
176
180
|
}
|
|
177
181
|
/** Update an upstream repository for a proxy-cache project */
|
|
178
182
|
export interface UpdateProxyRequest {
|
|
179
|
-
credentials?: Credentials;
|
|
183
|
+
credentials?: Credentials | undefined;
|
|
180
184
|
/** Description of the registry. */
|
|
181
|
-
description?: string;
|
|
185
|
+
description?: string | undefined;
|
|
182
186
|
/** Upstream registry url to proxy */
|
|
183
|
-
url?: string;
|
|
187
|
+
url?: string | undefined;
|
|
184
188
|
}
|
|
185
189
|
export interface PatchArtifactoryRequest {
|
|
186
190
|
/** Project identifier. */
|
|
@@ -189,7 +193,7 @@ export interface PatchArtifactoryRequest {
|
|
|
189
193
|
regionId: string;
|
|
190
194
|
/** Artifactory identifier. */
|
|
191
195
|
artifactoryId: string;
|
|
192
|
-
proxy?: UpdateProxyRequest;
|
|
196
|
+
proxy?: UpdateProxyRequest | undefined;
|
|
193
197
|
}
|
|
194
198
|
export type CreateArtifactoryError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
195
199
|
/** Creates an artifactory Creates an artifactory associated to the specified project. */
|
|
@@ -209,7 +213,7 @@ export const createArtifactory: API.OperationMethod<
|
|
|
209
213
|
}));
|
|
210
214
|
|
|
211
215
|
export type DeleteArtifactoryError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
212
|
-
/**
|
|
216
|
+
/** Delete the artifactory. Deletes the artifactory associated to the specified project. */
|
|
213
217
|
export const deleteArtifactory: API.OperationMethod<
|
|
214
218
|
DeleteArtifactoryRequest,
|
|
215
219
|
DeleteArtifactoryResponse,
|
|
@@ -329,7 +333,7 @@ function __c1(j: number): any {
|
|
|
329
333
|
case 0:
|
|
330
334
|
return S.suspend(() =>
|
|
331
335
|
S.Struct({
|
|
332
|
-
access_key: S.
|
|
336
|
+
access_key: S.String,
|
|
333
337
|
}),
|
|
334
338
|
).annotate({ identifier: "RedactedCredentials" });
|
|
335
339
|
case 1:
|
|
@@ -351,7 +355,6 @@ function __c1(j: number): any {
|
|
|
351
355
|
proxy: S.optional(__S(5, __c1, 1)),
|
|
352
356
|
state: S.String,
|
|
353
357
|
url: S.String,
|
|
354
|
-
user_count: S.Number,
|
|
355
358
|
}),
|
|
356
359
|
).annotate({ identifier: "Artifactory" });
|
|
357
360
|
}
|
|
@@ -361,8 +364,8 @@ function __c2(j: number): any {
|
|
|
361
364
|
case 0:
|
|
362
365
|
return S.suspend(() =>
|
|
363
366
|
S.Struct({
|
|
364
|
-
access_key: S.
|
|
365
|
-
access_secret: S.
|
|
367
|
+
access_key: S.String,
|
|
368
|
+
access_secret: S.String.pipe(T.SensitiveValue({})),
|
|
366
369
|
}),
|
|
367
370
|
).annotate({ identifier: "Credentials" });
|
|
368
371
|
}
|
|
@@ -455,6 +458,7 @@ function __c6(j: number): any {
|
|
|
455
458
|
case 1:
|
|
456
459
|
return S.suspend(() =>
|
|
457
460
|
S.Struct({
|
|
461
|
+
credential_type: S.String,
|
|
458
462
|
display_name: S.String,
|
|
459
463
|
registry_type: S.String,
|
|
460
464
|
}),
|
|
@@ -61,7 +61,7 @@ export class NotFound
|
|
|
61
61
|
[{ status: 404 }],
|
|
62
62
|
) {}
|
|
63
63
|
|
|
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 (.). > 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.* */
|
|
65
65
|
export type Labels = { [key: string]: string | undefined };
|
|
66
66
|
export interface Member {
|
|
67
67
|
/** A valid role defined for the resource. */
|
|
@@ -69,15 +69,15 @@ export interface Member {
|
|
|
69
69
|
/** Unique identifier of the user, service account or client. */
|
|
70
70
|
subject: string;
|
|
71
71
|
}
|
|
72
|
-
/** The initial members assigned to the
|
|
72
|
+
/** The initial members assigned to the folder. */
|
|
73
73
|
export type CreateFolderRequestMembersList = Array<Member>;
|
|
74
74
|
export interface CreateFolderRequest {
|
|
75
|
-
/** Identifier of the parent resource container
|
|
75
|
+
/** Identifier of the parent resource container */
|
|
76
76
|
containerParentId: string;
|
|
77
|
-
labels?: Labels;
|
|
78
|
-
/** The initial members assigned to the
|
|
79
|
-
members?: CreateFolderRequestMembersList;
|
|
80
|
-
/**
|
|
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}$`. */
|
|
81
81
|
name: string;
|
|
82
82
|
}
|
|
83
83
|
/** Container type of parent container. */
|
|
@@ -98,7 +98,7 @@ export interface FolderResponse {
|
|
|
98
98
|
creationTime: string;
|
|
99
99
|
/** Globally unique folder identifier. */
|
|
100
100
|
folderId: string;
|
|
101
|
-
labels?: Labels;
|
|
101
|
+
labels?: Labels | undefined;
|
|
102
102
|
/** Folder name. */
|
|
103
103
|
name: string;
|
|
104
104
|
parent: Parent;
|
|
@@ -112,10 +112,10 @@ export type CreateProjectRequestMembersList = Array<Member>;
|
|
|
112
112
|
export interface CreateProjectRequest {
|
|
113
113
|
/** Identifier of the parent resource container - containerId as well as UUID identifier is supported. */
|
|
114
114
|
containerParentId: string;
|
|
115
|
-
labels?: CreateProjectLabels;
|
|
115
|
+
labels?: CreateProjectLabels | undefined;
|
|
116
116
|
/** The initial members assigned to the project. At least one subject needs to be a user, and not a client or service account. */
|
|
117
|
-
members
|
|
118
|
-
/** 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}$`. */
|
|
119
119
|
name: string;
|
|
120
120
|
}
|
|
121
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. | */
|
|
@@ -125,7 +125,7 @@ export interface Project {
|
|
|
125
125
|
containerId: string;
|
|
126
126
|
/** Timestamp at which the project was created. */
|
|
127
127
|
creationTime: string;
|
|
128
|
-
labels?: Labels;
|
|
128
|
+
labels?: Labels | undefined;
|
|
129
129
|
lifecycleState: LifecycleState;
|
|
130
130
|
/** Project name. */
|
|
131
131
|
name: string;
|
|
@@ -139,7 +139,7 @@ export interface DeleteFolderRequest {
|
|
|
139
139
|
/** Folder identifier - containerId as well as UUID identifier is supported. */
|
|
140
140
|
containerId: string;
|
|
141
141
|
/** If true, all nested, empty folders are deleted recursively - if no project is attached! */
|
|
142
|
-
force?: boolean;
|
|
142
|
+
force?: boolean | undefined;
|
|
143
143
|
}
|
|
144
144
|
export interface DeleteFolderResponse {}
|
|
145
145
|
export type DeleteFolderLabelsRequestKeysList = Array<string>;
|
|
@@ -147,7 +147,7 @@ export interface DeleteFolderLabelsRequest {
|
|
|
147
147
|
/** Folder identifier - containerId as well as UUID identifier is supported. */
|
|
148
148
|
containerId: string;
|
|
149
149
|
/** Label name. */
|
|
150
|
-
keys?: DeleteFolderLabelsRequestKeysList;
|
|
150
|
+
keys?: DeleteFolderLabelsRequestKeysList | undefined;
|
|
151
151
|
}
|
|
152
152
|
export interface DeleteFolderLabelsResponse {}
|
|
153
153
|
export type DeleteOrganizationLabelsRequestKeysList = Array<string>;
|
|
@@ -155,7 +155,7 @@ export interface DeleteOrganizationLabelsRequest {
|
|
|
155
155
|
/** Organization identifier - containerId as well as UUID identifier is supported. */
|
|
156
156
|
containerId: string;
|
|
157
157
|
/** Label name. */
|
|
158
|
-
keys?: DeleteOrganizationLabelsRequestKeysList;
|
|
158
|
+
keys?: DeleteOrganizationLabelsRequestKeysList | undefined;
|
|
159
159
|
}
|
|
160
160
|
export interface DeleteOrganizationLabelsResponse {}
|
|
161
161
|
export interface DeleteProjectRequest {
|
|
@@ -168,13 +168,13 @@ export interface DeleteProjectLabelsRequest {
|
|
|
168
168
|
/** Project identifier - containerId as well as UUID identifier is supported. */
|
|
169
169
|
containerId: string;
|
|
170
170
|
/** Label name. */
|
|
171
|
-
keys?: DeleteProjectLabelsRequestKeysList;
|
|
171
|
+
keys?: DeleteProjectLabelsRequestKeysList | undefined;
|
|
172
172
|
}
|
|
173
173
|
export interface DeleteProjectLabelsResponse {}
|
|
174
174
|
export interface GetFolderDetailsRequest {
|
|
175
175
|
/** Folder identifier - containerId as well as UUID identifier is supported. */
|
|
176
176
|
containerId: string;
|
|
177
|
-
includeParents?: boolean;
|
|
177
|
+
includeParents?: boolean | undefined;
|
|
178
178
|
}
|
|
179
179
|
/** Parent container type. */
|
|
180
180
|
export type ParentListItemType = "FOLDER" | "ORGANIZATION";
|
|
@@ -182,13 +182,13 @@ export interface ParentListItem {
|
|
|
182
182
|
/** User-friendly identifier of either organization or folder (will replace id). */
|
|
183
183
|
containerId: string;
|
|
184
184
|
/** User-friendly parent identifier of either organization or folder (will replace parentId). */
|
|
185
|
-
containerParentId?: string;
|
|
185
|
+
containerParentId?: string | undefined;
|
|
186
186
|
/** Identifier. */
|
|
187
187
|
id: string;
|
|
188
188
|
/** Parent container name. */
|
|
189
189
|
name: string;
|
|
190
190
|
/** Identifier of the parent resource container. */
|
|
191
|
-
parentId?: string;
|
|
191
|
+
parentId?: string | undefined;
|
|
192
192
|
/** Parent container type. */
|
|
193
193
|
type: ParentListItemType;
|
|
194
194
|
}
|
|
@@ -200,11 +200,11 @@ export interface GetFolderDetailsResponse {
|
|
|
200
200
|
creationTime: string;
|
|
201
201
|
/** Globally unique folder identifier. */
|
|
202
202
|
folderId: string;
|
|
203
|
-
labels?: Labels;
|
|
203
|
+
labels?: Labels | undefined;
|
|
204
204
|
/** Folder name. */
|
|
205
205
|
name: string;
|
|
206
206
|
parent: Parent;
|
|
207
|
-
parents?: ParentList;
|
|
207
|
+
parents?: ParentList | undefined;
|
|
208
208
|
/** Timestamp at which the folder was last modified. */
|
|
209
209
|
updateTime: string;
|
|
210
210
|
}
|
|
@@ -217,7 +217,7 @@ export interface OrganizationResponse {
|
|
|
217
217
|
containerId: string;
|
|
218
218
|
/** Timestamp at which the organization was created. */
|
|
219
219
|
creationTime: string;
|
|
220
|
-
labels?: Labels;
|
|
220
|
+
labels?: Labels | undefined;
|
|
221
221
|
lifecycleState: LifecycleState;
|
|
222
222
|
/** Organization name. */
|
|
223
223
|
name: string;
|
|
@@ -229,19 +229,19 @@ export interface OrganizationResponse {
|
|
|
229
229
|
export interface GetProjectRequest {
|
|
230
230
|
/** Project identifier - containerId as well as UUID identifier is supported. */
|
|
231
231
|
id: string;
|
|
232
|
-
includeParents?: boolean;
|
|
232
|
+
includeParents?: boolean | undefined;
|
|
233
233
|
}
|
|
234
234
|
export interface GetProjectResponse {
|
|
235
235
|
/** Globally unique identifier. */
|
|
236
236
|
containerId: string;
|
|
237
237
|
/** Timestamp at which the project was created. */
|
|
238
238
|
creationTime: string;
|
|
239
|
-
labels?: Labels;
|
|
239
|
+
labels?: Labels | undefined;
|
|
240
240
|
lifecycleState: LifecycleState;
|
|
241
241
|
/** Project name. */
|
|
242
242
|
name: string;
|
|
243
243
|
parent: Parent;
|
|
244
|
-
parents?: ParentList;
|
|
244
|
+
parents?: ParentList | undefined;
|
|
245
245
|
/** Globally unique identifier. */
|
|
246
246
|
projectId: string;
|
|
247
247
|
/** Timestamp at which the project was last modified. */
|
|
@@ -250,17 +250,17 @@ export interface GetProjectResponse {
|
|
|
250
250
|
export type ListFoldersRequestContainerIdsList = Array<string>;
|
|
251
251
|
export interface ListFoldersRequest {
|
|
252
252
|
/** Identifier of the parent resource container - containerId as well as UUID identifier is supported. */
|
|
253
|
-
containerParentId?: string;
|
|
253
|
+
containerParentId?: string | undefined;
|
|
254
254
|
/** List of container identifiers - containerId as well as UUID identifier is supported. */
|
|
255
|
-
containerIds?: ListFoldersRequestContainerIdsList;
|
|
255
|
+
containerIds?: ListFoldersRequestContainerIdsList | undefined;
|
|
256
256
|
/** E-Mail address of the user for whom the visible resource containers should be filtered. */
|
|
257
|
-
member?: string;
|
|
257
|
+
member?: string | undefined;
|
|
258
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. */
|
|
259
|
-
limit?: number;
|
|
259
|
+
limit?: number | undefined;
|
|
260
260
|
/** The offset of the first item in the collection to return. */
|
|
261
|
-
offset?: number;
|
|
261
|
+
offset?: number | undefined;
|
|
262
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. */
|
|
263
|
-
creation_time_start?: string;
|
|
263
|
+
creation_time_start?: string | undefined;
|
|
264
264
|
}
|
|
265
265
|
export interface ListFoldersResponseItemsItem {
|
|
266
266
|
/** Globally unique folder identifier. */
|
|
@@ -269,7 +269,7 @@ export interface ListFoldersResponseItemsItem {
|
|
|
269
269
|
creationTime: string;
|
|
270
270
|
/** Globally unique folder identifier. */
|
|
271
271
|
folderId: string;
|
|
272
|
-
labels?: Labels;
|
|
272
|
+
labels?: Labels | undefined;
|
|
273
273
|
/** Name of the folder. */
|
|
274
274
|
name: string;
|
|
275
275
|
parent: Parent;
|
|
@@ -285,22 +285,22 @@ export interface ListFoldersResponse {
|
|
|
285
285
|
export type ListOrganizationsRequestContainerIdsList = Array<string>;
|
|
286
286
|
export interface ListOrganizationsRequest {
|
|
287
287
|
/** Organization identifiers - containerId as well as UUID identifier is supported. A combination of both is not allowed. */
|
|
288
|
-
containerIds?: ListOrganizationsRequestContainerIdsList;
|
|
288
|
+
containerIds?: ListOrganizationsRequestContainerIdsList | undefined;
|
|
289
289
|
/** E-Mail address of the user for whom the visible resource containers should be filtered. */
|
|
290
|
-
member?: string;
|
|
290
|
+
member?: string | undefined;
|
|
291
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. */
|
|
292
|
-
limit?: number;
|
|
292
|
+
limit?: number | undefined;
|
|
293
293
|
/** The offset of the first item in the collection to return. */
|
|
294
|
-
offset?: number;
|
|
294
|
+
offset?: number | undefined;
|
|
295
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. */
|
|
296
|
-
creation_time_start?: string;
|
|
296
|
+
creation_time_start?: string | undefined;
|
|
297
297
|
}
|
|
298
298
|
export interface ListOrganizationsResponseItemsItem {
|
|
299
299
|
/** Globally unique, user-friendly identifier. */
|
|
300
300
|
containerId: string;
|
|
301
301
|
/** Timestamp at which the organization was created. */
|
|
302
302
|
creationTime: string;
|
|
303
|
-
labels?: Labels;
|
|
303
|
+
labels?: Labels | undefined;
|
|
304
304
|
lifecycleState: LifecycleState;
|
|
305
305
|
/** Name of the organization. */
|
|
306
306
|
name: string;
|
|
@@ -318,17 +318,17 @@ export interface ListOrganizationsResponse {
|
|
|
318
318
|
export type ListProjectsRequestContainerIdsList = Array<string>;
|
|
319
319
|
export interface ListProjectsRequest {
|
|
320
320
|
/** Identifier of the parent resource container - containerId as well as UUID identifier is supported. */
|
|
321
|
-
containerParentId?: string;
|
|
321
|
+
containerParentId?: string | undefined;
|
|
322
322
|
/** List of container identifiers - containerId as well as UUID identifier is supported. */
|
|
323
|
-
containerIds?: ListProjectsRequestContainerIdsList;
|
|
323
|
+
containerIds?: ListProjectsRequestContainerIdsList | undefined;
|
|
324
324
|
/** E-Mail address of the user for whom the visible resource containers should be filtered. */
|
|
325
|
-
member?: string;
|
|
325
|
+
member?: string | undefined;
|
|
326
326
|
/** The offset of the first item in the collection to return. */
|
|
327
|
-
offset?: number;
|
|
327
|
+
offset?: number | undefined;
|
|
328
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. */
|
|
329
|
-
limit?: number;
|
|
329
|
+
limit?: number | undefined;
|
|
330
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. */
|
|
331
|
-
creation_time_start?: string;
|
|
331
|
+
creation_time_start?: string | undefined;
|
|
332
332
|
}
|
|
333
333
|
export type ListProjectsResponseItemsList = Array<Project>;
|
|
334
334
|
export interface ListProjectsResponse {
|
|
@@ -336,32 +336,32 @@ export interface ListProjectsResponse {
|
|
|
336
336
|
limit: number;
|
|
337
337
|
offset: number;
|
|
338
338
|
}
|
|
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 (.). > 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.* */
|
|
340
340
|
export type UpdateLabels = { [key: string]: string | null | undefined };
|
|
341
341
|
export interface PartialUpdateFolderRequest {
|
|
342
342
|
/** Folder identifier - containerId as well as UUID identifier is supported. */
|
|
343
343
|
containerId: string;
|
|
344
344
|
/** New parent identifier for the resource container - containerId as well as UUID identifier is supported. */
|
|
345
|
-
containerParentId?: string;
|
|
346
|
-
labels?: UpdateLabels;
|
|
347
|
-
/** New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){
|
|
348
|
-
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;
|
|
349
349
|
}
|
|
350
350
|
export interface PartialUpdateOrganizationRequest {
|
|
351
351
|
/** Organization identifier - containerId as well as UUID identifier is supported. */
|
|
352
352
|
id: string;
|
|
353
|
-
labels?: UpdateLabels;
|
|
354
|
-
/** The new name of the organization matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){
|
|
355
|
-
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;
|
|
356
356
|
}
|
|
357
357
|
export interface PartialUpdateProjectRequest {
|
|
358
358
|
/** Project identifier - containerId as well as UUID identifier is supported. */
|
|
359
359
|
id: string;
|
|
360
360
|
/** New parent identifier for the resource container - containerId as well as UUID identifier is supported. */
|
|
361
|
-
containerParentId?: string;
|
|
362
|
-
labels?: UpdateLabels;
|
|
363
|
-
/** New name for the resource container matching the regex `^[a-zA-ZäüöÄÜÖ0-9]( ?[a-zA-ZäüöÄÜÖß0-9_+&-]){
|
|
364
|
-
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;
|
|
365
365
|
}
|
|
366
366
|
export type CreateFolderError = BadRequest | Forbidden | Conflict | StackitOpError;
|
|
367
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). */
|
|
@@ -1001,7 +1001,7 @@ function __c18(j: number): any {
|
|
|
1001
1001
|
S.Struct({
|
|
1002
1002
|
containerParentId: S.String,
|
|
1003
1003
|
labels: S.optional(__S(64, __c16, 0)),
|
|
1004
|
-
members: __S(61, __c15, 1),
|
|
1004
|
+
members: S.optional(__S(61, __c15, 1)),
|
|
1005
1005
|
name: S.String,
|
|
1006
1006
|
}).pipe(
|
|
1007
1007
|
T.Http({
|
|
@@ -52,10 +52,10 @@ export interface CreateCommandRequest {
|
|
|
52
52
|
/** Server ID of the machine */
|
|
53
53
|
serverId: string;
|
|
54
54
|
commandTemplateName: string;
|
|
55
|
-
parameters?: CreateCommandRequestParametersMap;
|
|
55
|
+
parameters?: CreateCommandRequestParametersMap | undefined;
|
|
56
56
|
}
|
|
57
57
|
export interface NewCommandResponse {
|
|
58
|
-
id?: number;
|
|
58
|
+
id?: number | undefined;
|
|
59
59
|
}
|
|
60
60
|
export interface GetCommandRequest {
|
|
61
61
|
/** ID of the project */
|
|
@@ -69,15 +69,15 @@ export interface GetCommandRequest {
|
|
|
69
69
|
}
|
|
70
70
|
export type CommandDetailsStatus = "pending" | "running" | "completed" | "failed";
|
|
71
71
|
export interface CommandDetails {
|
|
72
|
-
commandTemplateName?: string;
|
|
73
|
-
commandTemplateTitle?: string;
|
|
74
|
-
exitCode?: number;
|
|
75
|
-
finishedAt?: string;
|
|
76
|
-
id?: number;
|
|
77
|
-
output?: string;
|
|
78
|
-
script?: string;
|
|
79
|
-
startedAt?: string;
|
|
80
|
-
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;
|
|
81
81
|
}
|
|
82
82
|
export interface GetCommandTemplateRequest {
|
|
83
83
|
/** ID of the project */
|
|
@@ -91,32 +91,32 @@ export interface GetCommandTemplateRequest {
|
|
|
91
91
|
}
|
|
92
92
|
export type CommandTemplateSchemaOsTypeList = Array<string>;
|
|
93
93
|
export interface Field {
|
|
94
|
-
default?: string;
|
|
95
|
-
description?: string;
|
|
96
|
-
maxLen?: number;
|
|
97
|
-
minLen?: number;
|
|
98
|
-
readOnly?: boolean;
|
|
99
|
-
title?: string;
|
|
100
|
-
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;
|
|
101
101
|
}
|
|
102
102
|
export type PropertiesRequiredList = Array<string>;
|
|
103
103
|
export interface Properties {
|
|
104
|
-
ConfirmPassword?: Field;
|
|
105
|
-
Password?: Field;
|
|
106
|
-
Script?: Field;
|
|
107
|
-
Username?: Field;
|
|
108
|
-
required?: PropertiesRequiredList;
|
|
109
|
-
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;
|
|
110
110
|
}
|
|
111
111
|
export interface ParametersSchema {
|
|
112
|
-
properties?: Properties;
|
|
112
|
+
properties?: Properties | undefined;
|
|
113
113
|
}
|
|
114
114
|
export interface CommandTemplateSchema {
|
|
115
|
-
description?: string;
|
|
116
|
-
name?: string;
|
|
117
|
-
osType?: CommandTemplateSchemaOsTypeList;
|
|
118
|
-
parametersSchema?: ParametersSchema;
|
|
119
|
-
title?: string;
|
|
115
|
+
description?: string | undefined;
|
|
116
|
+
name?: string | undefined;
|
|
117
|
+
osType?: CommandTemplateSchemaOsTypeList | undefined;
|
|
118
|
+
parametersSchema?: ParametersSchema | undefined;
|
|
119
|
+
title?: string | undefined;
|
|
120
120
|
}
|
|
121
121
|
export interface ListCommandsRequest {
|
|
122
122
|
/** ID of the project */
|
|
@@ -128,30 +128,30 @@ export interface ListCommandsRequest {
|
|
|
128
128
|
}
|
|
129
129
|
export type CommandsStatus = "pending" | "running" | "completed" | "failed";
|
|
130
130
|
export interface Commands {
|
|
131
|
-
commandTemplateName?: string;
|
|
132
|
-
commandTemplateTitle?: string;
|
|
133
|
-
finishedAt?: string;
|
|
134
|
-
id?: number;
|
|
135
|
-
startedAt?: string;
|
|
136
|
-
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;
|
|
137
137
|
}
|
|
138
138
|
export type GetCommandsResponseItemsList = Array<Commands>;
|
|
139
139
|
export interface GetCommandsResponse {
|
|
140
|
-
items?: GetCommandsResponseItemsList;
|
|
140
|
+
items?: GetCommandsResponseItemsList | undefined;
|
|
141
141
|
}
|
|
142
142
|
export interface ListCommandTemplatesRequest {
|
|
143
143
|
/** The type of the Operating System (windows or linux). If not provided will return data for all OS types. */
|
|
144
|
-
osType?: string;
|
|
144
|
+
osType?: string | undefined;
|
|
145
145
|
}
|
|
146
146
|
export type CommandTemplateOsTypeList = Array<string>;
|
|
147
147
|
export interface CommandTemplate {
|
|
148
|
-
name?: string;
|
|
149
|
-
osType?: CommandTemplateOsTypeList;
|
|
150
|
-
title?: string;
|
|
148
|
+
name?: string | undefined;
|
|
149
|
+
osType?: CommandTemplateOsTypeList | undefined;
|
|
150
|
+
title?: string | undefined;
|
|
151
151
|
}
|
|
152
152
|
export type CommandTemplateResponseItemsList = Array<CommandTemplate>;
|
|
153
153
|
export interface CommandTemplateResponse {
|
|
154
|
-
items?: CommandTemplateResponseItemsList;
|
|
154
|
+
items?: CommandTemplateResponseItemsList | undefined;
|
|
155
155
|
}
|
|
156
156
|
export type CreateCommandError = BadRequest | NotFound | StackitOpError;
|
|
157
157
|
/** Creates a new command for execution */
|