@distilled.cloud/stackit 1.0.0-rc.17 → 1.0.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +3 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/alb.d.ts +134 -132
- package/lib/services/alb.d.ts.map +1 -1
- package/lib/services/alb.js +27 -26
- package/lib/services/alb.js.map +1 -1
- package/lib/services/alb_waf.d.ts +51 -51
- package/lib/services/alb_waf.d.ts.map +1 -1
- package/lib/services/alb_waf.js +32 -31
- package/lib/services/alb_waf.js.map +1 -1
- package/lib/services/authorization.d.ts +15 -15
- package/lib/services/authorization.d.ts.map +1 -1
- package/lib/services/authorization.js +1 -1
- package/lib/services/authorization.js.map +1 -1
- package/lib/services/automation.d.ts +47 -46
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +24 -1
- package/lib/services/automation.js.map +1 -1
- package/lib/services/cdn.d.ts +129 -129
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +30 -29
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/certificates.d.ts +40 -40
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +1 -1
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/cost.d.ts +15 -15
- package/lib/services/cost.d.ts.map +1 -1
- package/lib/services/cost.js +1 -1
- package/lib/services/cost.js.map +1 -1
- package/lib/services/dns.d.ts +218 -161
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +40 -38
- package/lib/services/dns.js.map +1 -1
- package/lib/services/dremio.d.ts +49 -34
- package/lib/services/dremio.d.ts.map +1 -1
- package/lib/services/dremio.js +1 -1
- package/lib/services/dremio.js.map +1 -1
- package/lib/services/edge.d.ts +21 -21
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +28 -1
- package/lib/services/edge.js.map +1 -1
- package/lib/services/functions.d.ts +104 -101
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +27 -1
- package/lib/services/functions.js.map +1 -1
- package/lib/services/git.d.ts +120 -29
- package/lib/services/git.d.ts.map +1 -1
- package/lib/services/git.js +38 -33
- package/lib/services/git.js.map +1 -1
- package/lib/services/iaas.d.ts +430 -415
- package/lib/services/iaas.d.ts.map +1 -1
- package/lib/services/iaas.js +180 -179
- package/lib/services/iaas.js.map +1 -1
- package/lib/services/identity.d.ts +204 -0
- package/lib/services/identity.d.ts.map +1 -0
- package/lib/services/identity.js +2 -0
- package/lib/services/identity.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +2 -0
- package/lib/services/intake.d.ts +58 -58
- package/lib/services/intake.d.ts.map +1 -1
- package/lib/services/intake.js +28 -27
- package/lib/services/intake.js.map +1 -1
- package/lib/services/kms.d.ts +13 -13
- package/lib/services/kms.d.ts.map +1 -1
- package/lib/services/kms.js +40 -39
- package/lib/services/kms.js.map +1 -1
- package/lib/services/lb_ip_lists.d.ts +14 -14
- package/lib/services/lb_ip_lists.d.ts.map +1 -1
- package/lib/services/lb_ip_lists.js +1 -1
- package/lib/services/lb_ip_lists.js.map +1 -1
- package/lib/services/load_balancer.d.ts +128 -126
- package/lib/services/load_balancer.d.ts.map +1 -1
- package/lib/services/load_balancer.js +28 -27
- package/lib/services/load_balancer.js.map +1 -1
- package/lib/services/logme.d.ts +96 -45
- package/lib/services/logme.d.ts.map +1 -1
- package/lib/services/logme.js +35 -31
- package/lib/services/logme.js.map +1 -1
- package/lib/services/logs.d.ts +78 -24
- package/lib/services/logs.d.ts.map +1 -1
- package/lib/services/logs.js +34 -32
- package/lib/services/logs.js.map +1 -1
- package/lib/services/mailout.d.ts +476 -0
- package/lib/services/mailout.d.ts.map +1 -0
- package/lib/services/mailout.js +33 -0
- package/lib/services/mailout.js.map +1 -0
- package/lib/services/mariadb.d.ts +81 -30
- package/lib/services/mariadb.d.ts.map +1 -1
- package/lib/services/mariadb.js +36 -32
- package/lib/services/mariadb.js.map +1 -1
- package/lib/services/model_experiments.d.ts +33 -33
- package/lib/services/model_experiments.d.ts.map +1 -1
- package/lib/services/model_experiments.js +1 -1
- package/lib/services/model_experiments.js.map +1 -1
- package/lib/services/model_serving.d.ts +25 -25
- package/lib/services/model_serving.d.ts.map +1 -1
- package/lib/services/model_serving.js +1 -1
- package/lib/services/model_serving.js.map +1 -1
- package/lib/services/mongodb_flex.d.ts +142 -137
- package/lib/services/mongodb_flex.d.ts.map +1 -1
- package/lib/services/mongodb_flex.js +41 -40
- package/lib/services/mongodb_flex.js.map +1 -1
- package/lib/services/object_storage.d.ts +6 -6
- package/lib/services/object_storage.d.ts.map +1 -1
- package/lib/services/object_storage.js +37 -36
- package/lib/services/object_storage.js.map +1 -1
- package/lib/services/observability.d.ts +362 -362
- package/lib/services/observability.d.ts.map +1 -1
- package/lib/services/observability.js +158 -157
- package/lib/services/observability.js.map +1 -1
- package/lib/services/opensearch.d.ts +87 -36
- package/lib/services/opensearch.d.ts.map +1 -1
- package/lib/services/opensearch.js +36 -32
- package/lib/services/opensearch.js.map +1 -1
- package/lib/services/pim.d.ts +334 -278
- package/lib/services/pim.d.ts.map +1 -1
- package/lib/services/pim.js +30 -29
- package/lib/services/pim.js.map +1 -1
- package/lib/services/postgres_flex.d.ts +59 -55
- package/lib/services/postgres_flex.d.ts.map +1 -1
- package/lib/services/postgres_flex.js +47 -45
- package/lib/services/postgres_flex.js.map +1 -1
- package/lib/services/pubsub.d.ts +36 -36
- package/lib/services/pubsub.d.ts.map +1 -1
- package/lib/services/pubsub.js +36 -35
- package/lib/services/pubsub.js.map +1 -1
- package/lib/services/rabbitmq.d.ts +92 -41
- package/lib/services/rabbitmq.d.ts.map +1 -1
- package/lib/services/rabbitmq.js +37 -33
- package/lib/services/rabbitmq.js.map +1 -1
- package/lib/services/registry.d.ts +26 -22
- package/lib/services/registry.d.ts.map +1 -1
- package/lib/services/registry.js +1 -1
- package/lib/services/registry.js.map +1 -1
- package/lib/services/resource_manager.d.ts +56 -56
- package/lib/services/resource_manager.d.ts.map +1 -1
- package/lib/services/resource_manager.js +35 -34
- package/lib/services/resource_manager.js.map +1 -1
- package/lib/services/run_command.d.ts +42 -42
- package/lib/services/run_command.d.ts.map +1 -1
- package/lib/services/run_command.js +1 -1
- package/lib/services/run_command.js.map +1 -1
- package/lib/services/sca.d.ts +349 -213
- package/lib/services/sca.d.ts.map +1 -1
- package/lib/services/sca.js +32 -23
- package/lib/services/sca.js.map +1 -1
- package/lib/services/scf.d.ts +24 -24
- package/lib/services/scf.d.ts.map +1 -1
- package/lib/services/scf.js +39 -38
- package/lib/services/scf.js.map +1 -1
- package/lib/services/secrets_manager.d.ts +21 -21
- package/lib/services/secrets_manager.d.ts.map +1 -1
- package/lib/services/secrets_manager.js +41 -40
- package/lib/services/secrets_manager.js.map +1 -1
- package/lib/services/server_backup.d.ts +31 -31
- package/lib/services/server_backup.d.ts.map +1 -1
- package/lib/services/server_backup.js +28 -27
- package/lib/services/server_backup.js.map +1 -1
- package/lib/services/server_update.d.ts +17 -17
- package/lib/services/server_update.d.ts.map +1 -1
- package/lib/services/server_update.js +1 -1
- package/lib/services/server_update.js.map +1 -1
- package/lib/services/service_account.d.ts +30 -30
- package/lib/services/service_account.d.ts.map +1 -1
- package/lib/services/service_account.js +29 -28
- package/lib/services/service_account.js.map +1 -1
- package/lib/services/service_enablement.d.ts +22 -21
- package/lib/services/service_enablement.d.ts.map +1 -1
- package/lib/services/service_enablement.js +1 -1
- package/lib/services/service_enablement.js.map +1 -1
- package/lib/services/sfs.d.ts +151 -141
- package/lib/services/sfs.d.ts.map +1 -1
- package/lib/services/sfs.js +46 -44
- package/lib/services/sfs.js.map +1 -1
- package/lib/services/ske.d.ts +121 -110
- package/lib/services/ske.d.ts.map +1 -1
- package/lib/services/ske.js +25 -24
- package/lib/services/ske.js.map +1 -1
- package/lib/services/sqlserverflex.d.ts +47 -47
- package/lib/services/sqlserverflex.d.ts.map +1 -1
- package/lib/services/sqlserverflex.js +45 -44
- package/lib/services/sqlserverflex.js.map +1 -1
- package/lib/services/stackit_marketplace.d.ts +39 -39
- package/lib/services/stackit_marketplace.d.ts.map +1 -1
- package/lib/services/stackit_marketplace.js +25 -24
- package/lib/services/stackit_marketplace.js.map +1 -1
- package/lib/services/telemetry_link.d.ts +80 -38
- package/lib/services/telemetry_link.d.ts.map +1 -1
- package/lib/services/telemetry_link.js +34 -32
- package/lib/services/telemetry_link.js.map +1 -1
- package/lib/services/telemetry_router.d.ts +116 -41
- package/lib/services/telemetry_router.d.ts.map +1 -1
- package/lib/services/telemetry_router.js +31 -27
- package/lib/services/telemetry_router.js.map +1 -1
- package/lib/services/ufw.d.ts +55 -54
- package/lib/services/ufw.d.ts.map +1 -1
- package/lib/services/ufw.js +1 -1
- package/lib/services/ufw.js.map +1 -1
- package/lib/services/valkey.d.ts +94 -43
- package/lib/services/valkey.d.ts.map +1 -1
- package/lib/services/valkey.js +36 -32
- package/lib/services/valkey.js.map +1 -1
- package/lib/services/vpn.d.ts +150 -142
- package/lib/services/vpn.d.ts.map +1 -1
- package/lib/services/vpn.js +42 -41
- package/lib/services/vpn.js.map +1 -1
- package/lib/services/workflows.d.ts +65 -65
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +26 -25
- package/lib/services/workflows.js.map +1 -1
- package/lib/services.lazy/alb.js +1 -1
- package/lib/services.lazy/alb_waf.js +1 -1
- package/lib/services.lazy/automation.js +4 -1
- package/lib/services.lazy/cdn.js +1 -1
- package/lib/services.lazy/dns.js +2 -2
- package/lib/services.lazy/edge.js +4 -1
- package/lib/services.lazy/functions.js +3 -1
- package/lib/services.lazy/git.js +2 -2
- package/lib/services.lazy/iaas.js +1 -1
- package/lib/services.lazy/identity.js +1 -0
- package/lib/services.lazy/index.js +2 -2
- package/lib/services.lazy/intake.js +1 -1
- package/lib/services.lazy/kms.js +1 -1
- package/lib/services.lazy/load_balancer.js +1 -1
- package/lib/services.lazy/logme.js +2 -2
- package/lib/services.lazy/logs.js +1 -1
- package/lib/services.lazy/mailout.js +4 -0
- package/lib/services.lazy/mariadb.js +2 -2
- package/lib/services.lazy/mongodb_flex.js +1 -1
- package/lib/services.lazy/object_storage.js +1 -1
- package/lib/services.lazy/observability.js +1 -1
- package/lib/services.lazy/opensearch.js +2 -2
- package/lib/services.lazy/pim.js +1 -1
- package/lib/services.lazy/postgres_flex.js +1 -1
- package/lib/services.lazy/pubsub.js +1 -1
- package/lib/services.lazy/rabbitmq.js +2 -2
- package/lib/services.lazy/resource_manager.js +1 -1
- package/lib/services.lazy/sca.js +2 -2
- package/lib/services.lazy/scf.js +1 -1
- package/lib/services.lazy/secrets_manager.js +1 -1
- package/lib/services.lazy/server_backup.js +1 -1
- package/lib/services.lazy/service_account.js +1 -1
- package/lib/services.lazy/sfs.js +2 -2
- package/lib/services.lazy/ske.js +1 -1
- package/lib/services.lazy/sqlserverflex.js +1 -1
- package/lib/services.lazy/stackit_marketplace.js +1 -1
- package/lib/services.lazy/telemetry_link.js +1 -1
- package/lib/services.lazy/telemetry_router.js +2 -2
- package/lib/services.lazy/valkey.js +2 -2
- package/lib/services.lazy/vpn.js +1 -1
- package/lib/services.lazy/workflows.js +1 -1
- package/package.json +6 -5
- package/src/credentials.ts +1 -2
- package/src/index.ts +3 -3
- package/src/pagination.ts +7 -3
- package/src/protocol.ts +22 -20
- package/src/services/alb.ts +174 -132
- package/src/services/alb_waf.ts +96 -51
- package/src/services/authorization.ts +50 -15
- package/src/services/automation.ts +86 -49
- package/src/services/cdn.ts +172 -129
- package/src/services/certificates.ts +63 -40
- package/src/services/cost.ts +34 -15
- package/src/services/dns.ts +552 -269
- package/src/services/dremio.ts +187 -118
- package/src/services/edge.ts +62 -21
- package/src/services/functions.ts +217 -170
- package/src/services/git.ts +407 -108
- package/src/services/iaas.ts +723 -415
- package/src/services/identity.ts +625 -0
- package/src/services/index.ts +2 -0
- package/src/services/intake.ts +101 -58
- package/src/services/kms.ts +76 -13
- package/src/services/lb_ip_lists.ts +37 -14
- package/src/services/load_balancer.ts +168 -126
- package/src/services/logme.ts +345 -122
- package/src/services/logs.ts +172 -72
- package/src/services/mailout.ts +1277 -0
- package/src/services/mariadb.ts +328 -105
- package/src/services/model_experiments.ts +66 -33
- package/src/services/model_serving.ts +54 -25
- package/src/services/mongodb_flex.ts +205 -137
- package/src/services/object_storage.ts +61 -6
- package/src/services/observability.ts +594 -362
- package/src/services/opensearch.ts +337 -114
- package/src/services/pim.ts +403 -278
- package/src/services/postgres_flex.ts +258 -179
- package/src/services/pubsub.ts +85 -36
- package/src/services/rabbitmq.ts +348 -125
- package/src/services/registry.ts +55 -26
- package/src/services/resource_manager.ts +102 -57
- package/src/services/run_command.ts +65 -42
- package/src/services/sca.ts +769 -371
- package/src/services/scf.ts +83 -24
- package/src/services/secrets_manager.ts +87 -22
- package/src/services/server_backup.ts +76 -31
- package/src/services/server_update.ts +54 -17
- package/src/services/service_account.ts +75 -30
- package/src/services/service_enablement.ts +49 -24
- package/src/services/sfs.ts +469 -395
- package/src/services/ske.ts +299 -228
- package/src/services/sqlserverflex.ts +116 -47
- package/src/services/stackit_marketplace.ts +78 -39
- package/src/services/telemetry_link.ts +191 -81
- package/src/services/telemetry_router.ts +326 -94
- package/src/services/ufw.ts +85 -54
- package/src/services/valkey.ts +341 -118
- package/src/services/vpn.ts +213 -142
- package/src/services/workflows.ts +106 -65
package/src/services/registry.ts
CHANGED
|
@@ -13,6 +13,19 @@ const __s: any[] = [];
|
|
|
13
13
|
|
|
14
14
|
export type { StackitOpError, StackitOpContext };
|
|
15
15
|
|
|
16
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
17
|
+
const TELEMETRY = {
|
|
18
|
+
system: "stackit-api",
|
|
19
|
+
responseHeaders: [
|
|
20
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
21
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
22
|
+
],
|
|
23
|
+
prefix: "STACKIT",
|
|
24
|
+
service: "Registry",
|
|
25
|
+
labels: "stackit",
|
|
26
|
+
propagate: "w3c",
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
16
29
|
export class BadRequest
|
|
17
30
|
extends /*@__PURE__*/ T.applyErrorMatchers(
|
|
18
31
|
/*@__PURE__*/ S.TaggedError<BadRequest>()("BadRequest", {
|
|
@@ -51,14 +64,14 @@ export class NotFound
|
|
|
51
64
|
|
|
52
65
|
/** Credentials for upstream registry */
|
|
53
66
|
export interface Credentials {
|
|
54
|
-
access_key
|
|
55
|
-
access_secret
|
|
67
|
+
access_key: string;
|
|
68
|
+
access_secret: string | Redacted.Redacted<string>;
|
|
56
69
|
}
|
|
57
70
|
/** Provide an upstream repository this project is a proxy for */
|
|
58
71
|
export interface CreateProxyRequest {
|
|
59
|
-
credentials?: Credentials;
|
|
72
|
+
credentials?: Credentials | undefined;
|
|
60
73
|
/** Description of the registry. */
|
|
61
|
-
description?: string;
|
|
74
|
+
description?: string | undefined;
|
|
62
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 */
|
|
63
76
|
registry_type: string;
|
|
64
77
|
/** Upstream registry url to proxy */
|
|
@@ -70,26 +83,28 @@ export interface CreateArtifactoryRequest {
|
|
|
70
83
|
/** STACKIT region identification */
|
|
71
84
|
regionId: string;
|
|
72
85
|
/** If true, claims ownership of an existing Harbor project instead of creating a new one. */
|
|
73
|
-
claim?: boolean;
|
|
86
|
+
claim?: boolean | undefined;
|
|
74
87
|
/** A user chosen name to distinguish multiple STACKIT Artifactories. */
|
|
75
88
|
name: string;
|
|
76
89
|
/** If proxy configuration is provided, this project will be created as a proxy-cache for the upstream registry. */
|
|
77
|
-
proxy?: CreateProxyRequest;
|
|
90
|
+
proxy?: CreateProxyRequest | undefined;
|
|
78
91
|
}
|
|
79
92
|
/** Credentials for upstream registry, redacted */
|
|
80
93
|
export interface RedactedCredentials {
|
|
81
|
-
access_key
|
|
94
|
+
access_key: string;
|
|
82
95
|
}
|
|
83
96
|
/** Replication settings for a proxy-cache artifactory */
|
|
84
97
|
export interface Proxy {
|
|
85
|
-
credentials?: RedactedCredentials;
|
|
98
|
+
credentials?: RedactedCredentials | undefined;
|
|
86
99
|
/** Description of the registry. */
|
|
87
|
-
description?: string;
|
|
100
|
+
description?: string | undefined;
|
|
88
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 */
|
|
89
102
|
registry_type: string;
|
|
90
103
|
/** Upstream registry url to proxy */
|
|
91
104
|
url: string;
|
|
92
105
|
}
|
|
106
|
+
/** The current state of the STACKIT Artifactory. */
|
|
107
|
+
export type ArtifactoryState = "Reconciling" | "Active" | "Deleted" | "Error";
|
|
93
108
|
/** Artifactory Information. */
|
|
94
109
|
export interface Artifactory {
|
|
95
110
|
/** How many bytes of quota is consumed. Read Only. */
|
|
@@ -100,13 +115,11 @@ export interface Artifactory {
|
|
|
100
115
|
id: string;
|
|
101
116
|
/** A user chosen name to distinguish multiple STACKIT Artifactories. */
|
|
102
117
|
name: string;
|
|
103
|
-
proxy?: Proxy;
|
|
118
|
+
proxy?: Proxy | undefined;
|
|
104
119
|
/** The current state of the STACKIT Artifactory. */
|
|
105
|
-
state:
|
|
120
|
+
state: ArtifactoryState;
|
|
106
121
|
/** The base URL of the STACKIT Artifactory. */
|
|
107
122
|
url: string;
|
|
108
|
-
/** How many users does this artifactory have. Read Only. */
|
|
109
|
-
user_count: number;
|
|
110
123
|
}
|
|
111
124
|
export interface DeleteArtifactoryRequest {
|
|
112
125
|
/** Project identifier. */
|
|
@@ -131,16 +144,16 @@ export interface ListArtifactoriesRequest {
|
|
|
131
144
|
/** STACKIT region identification */
|
|
132
145
|
regionId: string;
|
|
133
146
|
/** The maximum number of artifactories to return. The service may return fewer than this value. */
|
|
134
|
-
page_size?: number;
|
|
147
|
+
page_size?: number | undefined;
|
|
135
148
|
/** A page token, received from a previous `ListArtifactories` call. Provide this to retrieve the subsequent page. */
|
|
136
|
-
next_page_token?: string;
|
|
149
|
+
next_page_token?: string | undefined;
|
|
137
150
|
}
|
|
138
151
|
export type ArtifactoryListArtifactoriesList = Array<Artifactory>;
|
|
139
152
|
/** A list of artifactories inside a STACKIT project. */
|
|
140
153
|
export interface ArtifactoryList {
|
|
141
154
|
artifactories: ArtifactoryListArtifactoriesList;
|
|
142
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. */
|
|
143
|
-
next_page_token?: string;
|
|
156
|
+
next_page_token?: string | undefined;
|
|
144
157
|
}
|
|
145
158
|
export interface ListReplicationAdaptersRequest {
|
|
146
159
|
/** Project identifier. */
|
|
@@ -148,7 +161,11 @@ export interface ListReplicationAdaptersRequest {
|
|
|
148
161
|
/** STACKIT region identification */
|
|
149
162
|
regionId: string;
|
|
150
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";
|
|
151
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;
|
|
152
169
|
/** Human-friendly name of the provider the adapter relates to. */
|
|
153
170
|
display_name: string;
|
|
154
171
|
/** Identifies the replication adapter */
|
|
@@ -158,16 +175,16 @@ export type ReplicationAdapterListReplicationAdaptersList = Array<ReplicationAda
|
|
|
158
175
|
/** A list of replication adapters */
|
|
159
176
|
export interface ReplicationAdapterList {
|
|
160
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. */
|
|
161
|
-
next_page_token?: string;
|
|
178
|
+
next_page_token?: string | undefined;
|
|
162
179
|
replication_adapters: ReplicationAdapterListReplicationAdaptersList;
|
|
163
180
|
}
|
|
164
181
|
/** Update an upstream repository for a proxy-cache project */
|
|
165
182
|
export interface UpdateProxyRequest {
|
|
166
|
-
credentials?: Credentials;
|
|
183
|
+
credentials?: Credentials | undefined;
|
|
167
184
|
/** Description of the registry. */
|
|
168
|
-
description?: string;
|
|
185
|
+
description?: string | undefined;
|
|
169
186
|
/** Upstream registry url to proxy */
|
|
170
|
-
url?: string;
|
|
187
|
+
url?: string | undefined;
|
|
171
188
|
}
|
|
172
189
|
export interface PatchArtifactoryRequest {
|
|
173
190
|
/** Project identifier. */
|
|
@@ -176,7 +193,7 @@ export interface PatchArtifactoryRequest {
|
|
|
176
193
|
regionId: string;
|
|
177
194
|
/** Artifactory identifier. */
|
|
178
195
|
artifactoryId: string;
|
|
179
|
-
proxy?: UpdateProxyRequest;
|
|
196
|
+
proxy?: UpdateProxyRequest | undefined;
|
|
180
197
|
}
|
|
181
198
|
export type CreateArtifactoryError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
182
199
|
/** Creates an artifactory Creates an artifactory associated to the specified project. */
|
|
@@ -191,10 +208,12 @@ export const createArtifactory: API.OperationMethod<
|
|
|
191
208
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
192
209
|
protocol: StackitProtocol,
|
|
193
210
|
retry: Retry.Retry,
|
|
211
|
+
telemetry: TELEMETRY,
|
|
212
|
+
span: "CreateArtifactory",
|
|
194
213
|
}));
|
|
195
214
|
|
|
196
215
|
export type DeleteArtifactoryError = BadRequest | Forbidden | NotFound | Conflict | StackitOpError;
|
|
197
|
-
/**
|
|
216
|
+
/** Delete the artifactory. Deletes the artifactory associated to the specified project. */
|
|
198
217
|
export const deleteArtifactory: API.OperationMethod<
|
|
199
218
|
DeleteArtifactoryRequest,
|
|
200
219
|
DeleteArtifactoryResponse,
|
|
@@ -206,6 +225,8 @@ export const deleteArtifactory: API.OperationMethod<
|
|
|
206
225
|
errors: [BadRequest, Forbidden, NotFound, Conflict, UnknownStackitError],
|
|
207
226
|
protocol: StackitProtocol,
|
|
208
227
|
retry: Retry.Retry,
|
|
228
|
+
telemetry: TELEMETRY,
|
|
229
|
+
span: "DeleteArtifactory",
|
|
209
230
|
}));
|
|
210
231
|
|
|
211
232
|
export type GetArtifactoryError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -221,6 +242,8 @@ export const getArtifactory: API.OperationMethod<
|
|
|
221
242
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
222
243
|
protocol: StackitProtocol,
|
|
223
244
|
retry: Retry.Retry,
|
|
245
|
+
telemetry: TELEMETRY,
|
|
246
|
+
span: "GetArtifactory",
|
|
224
247
|
}));
|
|
225
248
|
|
|
226
249
|
export type ListArtifactoriesError = BadRequest | Forbidden | StackitOpError;
|
|
@@ -236,6 +259,8 @@ export const listArtifactories: API.OperationMethod<
|
|
|
236
259
|
errors: [BadRequest, Forbidden, UnknownStackitError],
|
|
237
260
|
protocol: StackitProtocol,
|
|
238
261
|
retry: Retry.Retry,
|
|
262
|
+
telemetry: TELEMETRY,
|
|
263
|
+
span: "ListArtifactories",
|
|
239
264
|
}));
|
|
240
265
|
|
|
241
266
|
export type ListReplicationAdaptersError = BadRequest | StackitOpError;
|
|
@@ -251,6 +276,8 @@ export const listReplicationAdapters: API.OperationMethod<
|
|
|
251
276
|
errors: [BadRequest, UnknownStackitError],
|
|
252
277
|
protocol: StackitProtocol,
|
|
253
278
|
retry: Retry.Retry,
|
|
279
|
+
telemetry: TELEMETRY,
|
|
280
|
+
span: "ListReplicationAdapters",
|
|
254
281
|
}));
|
|
255
282
|
|
|
256
283
|
export type PatchArtifactoryError = BadRequest | Forbidden | NotFound | StackitOpError;
|
|
@@ -266,6 +293,8 @@ export const patchArtifactory: API.OperationMethod<
|
|
|
266
293
|
errors: [BadRequest, Forbidden, NotFound, UnknownStackitError],
|
|
267
294
|
protocol: StackitProtocol,
|
|
268
295
|
retry: Retry.Retry,
|
|
296
|
+
telemetry: TELEMETRY,
|
|
297
|
+
span: "PatchArtifactory",
|
|
269
298
|
}));
|
|
270
299
|
|
|
271
300
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|
|
@@ -304,7 +333,7 @@ function __c1(j: number): any {
|
|
|
304
333
|
case 0:
|
|
305
334
|
return S.suspend(() =>
|
|
306
335
|
S.Struct({
|
|
307
|
-
access_key: S.
|
|
336
|
+
access_key: S.String,
|
|
308
337
|
}),
|
|
309
338
|
).annotate({ identifier: "RedactedCredentials" });
|
|
310
339
|
case 1:
|
|
@@ -326,7 +355,6 @@ function __c1(j: number): any {
|
|
|
326
355
|
proxy: S.optional(__S(5, __c1, 1)),
|
|
327
356
|
state: S.String,
|
|
328
357
|
url: S.String,
|
|
329
|
-
user_count: S.Number,
|
|
330
358
|
}),
|
|
331
359
|
).annotate({ identifier: "Artifactory" });
|
|
332
360
|
}
|
|
@@ -336,8 +364,8 @@ function __c2(j: number): any {
|
|
|
336
364
|
case 0:
|
|
337
365
|
return S.suspend(() =>
|
|
338
366
|
S.Struct({
|
|
339
|
-
access_key: S.
|
|
340
|
-
access_secret: S.
|
|
367
|
+
access_key: S.String,
|
|
368
|
+
access_secret: S.String.pipe(T.SensitiveValue({})),
|
|
341
369
|
}),
|
|
342
370
|
).annotate({ identifier: "Credentials" });
|
|
343
371
|
}
|
|
@@ -430,6 +458,7 @@ function __c6(j: number): any {
|
|
|
430
458
|
case 1:
|
|
431
459
|
return S.suspend(() =>
|
|
432
460
|
S.Struct({
|
|
461
|
+
credential_type: S.String,
|
|
433
462
|
display_name: S.String,
|
|
434
463
|
registry_type: S.String,
|
|
435
464
|
}),
|