@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/lib/services/sfs.d.ts
CHANGED
|
@@ -12,6 +12,16 @@ declare const BadRequest_base: S.TaggedErrorClass<"BadRequest", {
|
|
|
12
12
|
});
|
|
13
13
|
export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
|
|
14
14
|
}
|
|
15
|
+
declare const Conflict_base: S.TaggedErrorClass<"Conflict", {
|
|
16
|
+
readonly code: any;
|
|
17
|
+
readonly message: any;
|
|
18
|
+
}> & (new (...args: any[]) => {
|
|
19
|
+
"@distilled.cloud/error/categories": {
|
|
20
|
+
ConflictError: true;
|
|
21
|
+
};
|
|
22
|
+
});
|
|
23
|
+
export declare class Conflict extends /*@__PURE__*/ Conflict_base {
|
|
24
|
+
}
|
|
15
25
|
/** List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) */
|
|
16
26
|
export type CreateResourcePoolRequestIpAclList = Array<string>;
|
|
17
27
|
/** An optional object that represents the labels associated with the resource pool. */
|
|
@@ -26,7 +36,7 @@ export interface CreateResourcePoolRequest {
|
|
|
26
36
|
/** List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) */
|
|
27
37
|
ipAcl: CreateResourcePoolRequestIpAclList;
|
|
28
38
|
/** An optional object that represents the labels associated with the resource pool. */
|
|
29
|
-
labels?: CreateResourcePoolRequestLabelsMap;
|
|
39
|
+
labels?: CreateResourcePoolRequestLabelsMap | undefined;
|
|
30
40
|
/** Name of the Resource Pool */
|
|
31
41
|
name: string;
|
|
32
42
|
/** Name of the performance class */
|
|
@@ -34,9 +44,9 @@ export interface CreateResourcePoolRequest {
|
|
|
34
44
|
/** Size of the Resource Pool (unit: gibibytes) */
|
|
35
45
|
sizeGigabytes: number;
|
|
36
46
|
/** (optional) Id of the Snapshot Policy to use */
|
|
37
|
-
snapshotPolicyId?: string;
|
|
47
|
+
snapshotPolicyId?: string | undefined;
|
|
38
48
|
/** Whether the .snapshot directory is visible when mounting the resource pool. Setting this value to false might prevent you from accessing the snapshots (e.g. for security reasons). Additionally, the access to the snapshots is always controlled by the export policy of the resource pool. That means, if snapshots are visible and the export policy allows for reading the resource pool, then it also allows reading the snapshot of all shares. */
|
|
39
|
-
snapshotsAreVisible?: boolean;
|
|
49
|
+
snapshotsAreVisible?: boolean | undefined;
|
|
40
50
|
}
|
|
41
51
|
/** List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) */
|
|
42
52
|
export type ResourcePoolIpAclList = Array<string>;
|
|
@@ -45,91 +55,91 @@ export type ResourcePoolLabelsMap = {
|
|
|
45
55
|
};
|
|
46
56
|
export interface ResourcePoolPerformanceClass {
|
|
47
57
|
/** Name of the performance class */
|
|
48
|
-
name?: string;
|
|
58
|
+
name?: string | undefined;
|
|
49
59
|
/** Max. IOPS of the Resource Pool. This is shared between every Share in the Resource Pool. */
|
|
50
|
-
peakIops?: number;
|
|
60
|
+
peakIops?: number | undefined;
|
|
51
61
|
/** Throughput of the Resource Pool. */
|
|
52
|
-
throughput?: number;
|
|
62
|
+
throughput?: number | undefined;
|
|
53
63
|
}
|
|
54
64
|
export interface ResourcePoolSnapshotPolicy {
|
|
55
65
|
/** ID of the Snapshot Policy */
|
|
56
|
-
id?: string;
|
|
66
|
+
id?: string | undefined;
|
|
57
67
|
/** Name of the Snapshot Policy */
|
|
58
|
-
name?: string;
|
|
68
|
+
name?: string | undefined;
|
|
59
69
|
}
|
|
60
70
|
export interface ResourcePoolSpace {
|
|
61
71
|
/** Available space of the Resource Pool (only available when retrieving a single Resource Pool by ID) */
|
|
62
|
-
availableGigabytes?: number | null;
|
|
72
|
+
availableGigabytes?: number | null | undefined;
|
|
63
73
|
/** Size of the Resource Pool in Gibibytes. */
|
|
64
|
-
sizeGigabytes?: number;
|
|
74
|
+
sizeGigabytes?: number | undefined;
|
|
65
75
|
/** Used space by snapshots (only available when retrieving a single Resource Pool by ID) */
|
|
66
|
-
usedBySnapshotsGigabytes?: number | null;
|
|
76
|
+
usedBySnapshotsGigabytes?: number | null | undefined;
|
|
67
77
|
/** Used space of the Resource Pool (only available when retrieving a single Resource Pool by ID) */
|
|
68
|
-
usedGigabytes?: number | null;
|
|
78
|
+
usedGigabytes?: number | null | undefined;
|
|
69
79
|
}
|
|
70
80
|
export interface ResourcePool {
|
|
71
81
|
/** Name of the respective availability zone */
|
|
72
|
-
availabilityZone?: string;
|
|
82
|
+
availabilityZone?: string | undefined;
|
|
73
83
|
/** Number of Shares in the Resource Pool */
|
|
74
|
-
countShares?: number;
|
|
75
|
-
createdAt?: string;
|
|
84
|
+
countShares?: number | undefined;
|
|
85
|
+
createdAt?: string | undefined;
|
|
76
86
|
/** ID of the Resource Pool */
|
|
77
|
-
id?: string;
|
|
87
|
+
id?: string | undefined;
|
|
78
88
|
/** List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) */
|
|
79
|
-
ipAcl?: ResourcePoolIpAclList;
|
|
80
|
-
labels?: ResourcePoolLabelsMap;
|
|
89
|
+
ipAcl?: ResourcePoolIpAclList | undefined;
|
|
90
|
+
labels?: ResourcePoolLabelsMap | undefined;
|
|
81
91
|
/** Mount path of the Resource Pool, used to mount the Resource Pool Note that a Resource Pool can only be mounted in read-only */
|
|
82
|
-
mountPath?: string;
|
|
92
|
+
mountPath?: string | undefined;
|
|
83
93
|
/** Name of the Resource Pool */
|
|
84
|
-
name?: string;
|
|
94
|
+
name?: string | undefined;
|
|
85
95
|
/** Information about the performance class */
|
|
86
|
-
performanceClass?: ResourcePoolPerformanceClass;
|
|
96
|
+
performanceClass?: ResourcePoolPerformanceClass | undefined;
|
|
87
97
|
/** Time when the performance class can be downgraded again. */
|
|
88
|
-
performanceClassDowngradableAt?: string;
|
|
98
|
+
performanceClassDowngradableAt?: string | undefined;
|
|
89
99
|
/** Time when the size can be reduced again. */
|
|
90
|
-
sizeReducibleAt?: string;
|
|
100
|
+
sizeReducibleAt?: string | undefined;
|
|
91
101
|
/** (optional) Snapshot Policy */
|
|
92
|
-
snapshotPolicy?: ResourcePoolSnapshotPolicy | null;
|
|
102
|
+
snapshotPolicy?: ResourcePoolSnapshotPolicy | null | undefined;
|
|
93
103
|
/** Whether the .snapshot directory is visible when mounting the resource pool. Setting this value to false might prevent you from accessing the snapshots (e.g. for security reasons). Additionally, the access to the snapshots is always controlled by the export policy of the resource pool. That means, if snapshots are visible and the export policy allows for reading the resource pool, then it also allows reading the snapshot of all shares. */
|
|
94
|
-
snapshotsAreVisible?: boolean;
|
|
104
|
+
snapshotsAreVisible?: boolean | undefined;
|
|
95
105
|
/** Space information */
|
|
96
|
-
space?: ResourcePoolSpace;
|
|
106
|
+
space?: ResourcePoolSpace | undefined;
|
|
97
107
|
/** State of the Resource Pool (possible values: ["pending", "creating", "created", "updating", "error", "deleting"]) */
|
|
98
|
-
state?: string;
|
|
108
|
+
state?: string | undefined;
|
|
99
109
|
}
|
|
100
110
|
export interface CreateResourcePoolResponse {
|
|
101
111
|
/** Created Resource Pool */
|
|
102
|
-
resourcePool?: ResourcePool;
|
|
112
|
+
resourcePool?: ResourcePool | undefined;
|
|
103
113
|
}
|
|
104
114
|
export interface CreateResourcePoolSnapshotRequest {
|
|
105
115
|
projectId: string;
|
|
106
116
|
region: string;
|
|
107
117
|
resourcePoolId: string;
|
|
108
118
|
/** (optional) A comment to add more information about a snapshot */
|
|
109
|
-
comment?: string | null;
|
|
119
|
+
comment?: string | null | undefined;
|
|
110
120
|
/** Name of the Resource Pool Snapshot */
|
|
111
|
-
name?: string;
|
|
121
|
+
name?: string | undefined;
|
|
112
122
|
/** (optional) Time in hours after which snaplock on the snapshot expires */
|
|
113
|
-
snaplockRetentionHours?: number | null;
|
|
123
|
+
snaplockRetentionHours?: number | null | undefined;
|
|
114
124
|
}
|
|
115
125
|
export interface ResourcePoolSnapshot {
|
|
116
126
|
/** (optional) A comment to add more information about a snapshot */
|
|
117
|
-
comment?: string | null;
|
|
118
|
-
createdAt?: string;
|
|
127
|
+
comment?: string | null | undefined;
|
|
128
|
+
createdAt?: string | undefined;
|
|
119
129
|
/** Represents the user-visible data size at the time of the snapshot in Gibibytes (e.g. what's in the snapshot) */
|
|
120
|
-
logicalSizeGigabytes?: number;
|
|
130
|
+
logicalSizeGigabytes?: number | undefined;
|
|
121
131
|
/** ID of the Resource Pool of the Snapshot */
|
|
122
|
-
resourcePoolId?: string;
|
|
132
|
+
resourcePoolId?: string | undefined;
|
|
123
133
|
/** Reflects the actual storage footprint in the backend at snapshot time in Gibibytes (e.g. how much storage from the Resource Pool does it use). */
|
|
124
|
-
sizeGigabytes?: number;
|
|
134
|
+
sizeGigabytes?: number | undefined;
|
|
125
135
|
/** Represents the snaplock expiry time if snaplock is enabled for the resource pool */
|
|
126
|
-
snaplockExpiryTime?: string | null;
|
|
136
|
+
snaplockExpiryTime?: string | null | undefined;
|
|
127
137
|
/** Name of the Resource Pool Snapshot */
|
|
128
|
-
snapshotName?: string;
|
|
138
|
+
snapshotName?: string | undefined;
|
|
129
139
|
}
|
|
130
140
|
export interface CreateResourcePoolSnapshotResponse {
|
|
131
141
|
/** Created Resource Pool Snapshot */
|
|
132
|
-
resourcePoolSnapshot?: ResourcePoolSnapshot;
|
|
142
|
+
resourcePoolSnapshot?: ResourcePoolSnapshot | undefined;
|
|
133
143
|
}
|
|
134
144
|
/** An optional object that represents the labels associated with the share. */
|
|
135
145
|
export type CreateShareRequestLabelsMap = {
|
|
@@ -140,9 +150,9 @@ export interface CreateShareRequest {
|
|
|
140
150
|
region: string;
|
|
141
151
|
resourcePoolId: string;
|
|
142
152
|
/** Name of the Share Export Policy to use in the Share. Note that if this is not set, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share. You can also assign a Share Export Policy after creating the Share */
|
|
143
|
-
exportPolicyName?: string | null;
|
|
153
|
+
exportPolicyName?: string | null | undefined;
|
|
144
154
|
/** An optional object that represents the labels associated with the share. */
|
|
145
|
-
labels?: CreateShareRequestLabelsMap;
|
|
155
|
+
labels?: CreateShareRequestLabelsMap | undefined;
|
|
146
156
|
/** Name of the Share */
|
|
147
157
|
name: string;
|
|
148
158
|
/** Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gibibytes) */
|
|
@@ -155,61 +165,61 @@ export type ShareExportPolicyLabelsMap = {
|
|
|
155
165
|
/** IP access control list, where IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.251/32" for a specific IP) This array cannot be empty */
|
|
156
166
|
export type ShareExportPolicyRuleIpAclList = Array<string>;
|
|
157
167
|
export interface ShareExportPolicyRule {
|
|
158
|
-
createdAt?: string;
|
|
168
|
+
createdAt?: string | undefined;
|
|
159
169
|
/** Description of the Rule (optional) */
|
|
160
|
-
description?: string | null;
|
|
170
|
+
description?: string | null | undefined;
|
|
161
171
|
/** ID of the Share Export Policy Rule */
|
|
162
|
-
id?: string;
|
|
172
|
+
id?: string | undefined;
|
|
163
173
|
/** IP access control list, where IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.251/32" for a specific IP) This array cannot be empty */
|
|
164
|
-
ipAcl?: ShareExportPolicyRuleIpAclList;
|
|
174
|
+
ipAcl?: ShareExportPolicyRuleIpAclList | undefined;
|
|
165
175
|
/** Order of the rule within a Share Export Policy. The order is used so that when a client IP matches multiple rules, the first rule is applied This field must be set */
|
|
166
|
-
order?: number;
|
|
176
|
+
order?: number | undefined;
|
|
167
177
|
/** Flag to indicate if client IPs matching this rule can only mount the share in read only mode Default: false */
|
|
168
|
-
readOnly?: boolean;
|
|
178
|
+
readOnly?: boolean | undefined;
|
|
169
179
|
/** Flag to honor set UUID Default: false */
|
|
170
|
-
setUuid?: boolean;
|
|
180
|
+
setUuid?: boolean | undefined;
|
|
171
181
|
/** Flag to indicate if client IPs matching this rule have root access on the Share Default: true */
|
|
172
|
-
superUser?: boolean;
|
|
182
|
+
superUser?: boolean | undefined;
|
|
173
183
|
}
|
|
174
184
|
/** List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field "order" within each rule */
|
|
175
185
|
export type ShareExportPolicyRulesList = Array<ShareExportPolicyRule>;
|
|
176
186
|
export interface ShareExportPolicy {
|
|
177
|
-
createdAt?: string;
|
|
187
|
+
createdAt?: string | undefined;
|
|
178
188
|
/** ID of the Share Export Policy */
|
|
179
|
-
id?: string;
|
|
189
|
+
id?: string | undefined;
|
|
180
190
|
/** An optional object that represents the labels associated with the share export policy. */
|
|
181
|
-
labels?: ShareExportPolicyLabelsMap;
|
|
191
|
+
labels?: ShareExportPolicyLabelsMap | undefined;
|
|
182
192
|
/** Name of the Share Export Policy */
|
|
183
|
-
name?: string;
|
|
193
|
+
name?: string | undefined;
|
|
184
194
|
/** List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field "order" within each rule */
|
|
185
|
-
rules?: ShareExportPolicyRulesList;
|
|
195
|
+
rules?: ShareExportPolicyRulesList | undefined;
|
|
186
196
|
/** Number of Shares using this Share Export Policy */
|
|
187
|
-
sharesUsingExportPolicy?: number;
|
|
197
|
+
sharesUsingExportPolicy?: number | undefined;
|
|
188
198
|
}
|
|
189
199
|
/** An optional object that represents the labels associated with the share. */
|
|
190
200
|
export type ShareLabelsMap = {
|
|
191
201
|
[key: string]: string | undefined;
|
|
192
202
|
};
|
|
193
203
|
export interface Share {
|
|
194
|
-
createdAt?: string;
|
|
204
|
+
createdAt?: string | undefined;
|
|
195
205
|
/** Details of the Share Export Policy to use in the Share. Note that if this is not set, the Share can only be mounted in read only by clients with IPs matching the IP ACL of the Resource Pool hosting this Share */
|
|
196
|
-
exportPolicy?: ShareExportPolicy | null;
|
|
206
|
+
exportPolicy?: ShareExportPolicy | null | undefined;
|
|
197
207
|
/** ID of the Share */
|
|
198
|
-
id?: string;
|
|
208
|
+
id?: string | undefined;
|
|
199
209
|
/** An optional object that represents the labels associated with the share. */
|
|
200
|
-
labels?: ShareLabelsMap;
|
|
210
|
+
labels?: ShareLabelsMap | undefined;
|
|
201
211
|
/** Mount path of the Share, used to mount the Share */
|
|
202
|
-
mountPath?: string;
|
|
212
|
+
mountPath?: string | undefined;
|
|
203
213
|
/** Name of the Share */
|
|
204
|
-
name?: string;
|
|
214
|
+
name?: string | undefined;
|
|
205
215
|
/** Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gibibytes) */
|
|
206
|
-
spaceHardLimitGigabytes?: number;
|
|
216
|
+
spaceHardLimitGigabytes?: number | undefined;
|
|
207
217
|
/** State of the Resource Pool Snapshot (possible values: ["pending", "creating", "created", "error", "deleting"]) */
|
|
208
|
-
state?: string;
|
|
218
|
+
state?: string | undefined;
|
|
209
219
|
}
|
|
210
220
|
export interface CreateShareResponse {
|
|
211
221
|
/** Created Share */
|
|
212
|
-
share?: Share;
|
|
222
|
+
share?: Share | undefined;
|
|
213
223
|
}
|
|
214
224
|
/** An optional object that represents the labels associated with the share export policy. */
|
|
215
225
|
export type CreateShareExportPolicyRequestLabelsMap = {
|
|
@@ -219,17 +229,17 @@ export type CreateShareExportPolicyRequestLabelsMap = {
|
|
|
219
229
|
export type CreateShareExportPolicyRequestRuleIpAclList = Array<string>;
|
|
220
230
|
export interface CreateShareExportPolicyRequestRule {
|
|
221
231
|
/** Description of the Rule (optional) */
|
|
222
|
-
description?: string | null;
|
|
232
|
+
description?: string | null | undefined;
|
|
223
233
|
/** IP access control list, where IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) This array cannot be empty */
|
|
224
|
-
ipAcl?: CreateShareExportPolicyRequestRuleIpAclList;
|
|
234
|
+
ipAcl?: CreateShareExportPolicyRequestRuleIpAclList | undefined;
|
|
225
235
|
/** Order of the rule within a Share Export Policy. The order is used so that when a client IP matches multiple rules, the first rule is applied This field must be set */
|
|
226
|
-
order?: number;
|
|
236
|
+
order?: number | undefined;
|
|
227
237
|
/** Flag to indicate if client IPs matching this rule can only mount the share in read only mode Default: false */
|
|
228
|
-
readOnly?: boolean;
|
|
238
|
+
readOnly?: boolean | undefined;
|
|
229
239
|
/** Flag to honor set UUID Default: false */
|
|
230
|
-
setUuid?: boolean;
|
|
240
|
+
setUuid?: boolean | undefined;
|
|
231
241
|
/** Flag to indicate if client IPs matching this rule have root access on the Share Default: true */
|
|
232
|
-
superUser?: boolean;
|
|
242
|
+
superUser?: boolean | undefined;
|
|
233
243
|
}
|
|
234
244
|
/** List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field "order" within each rule */
|
|
235
245
|
export type CreateShareExportPolicyRequestRulesList = Array<CreateShareExportPolicyRequestRule>;
|
|
@@ -237,15 +247,15 @@ export interface CreateShareExportPolicyRequest {
|
|
|
237
247
|
projectId: string;
|
|
238
248
|
region: string;
|
|
239
249
|
/** An optional object that represents the labels associated with the share export policy. */
|
|
240
|
-
labels?: CreateShareExportPolicyRequestLabelsMap;
|
|
250
|
+
labels?: CreateShareExportPolicyRequestLabelsMap | undefined;
|
|
241
251
|
/** Name of the Share Export Policy */
|
|
242
252
|
name: string;
|
|
243
253
|
/** List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field "order" within each rule */
|
|
244
|
-
rules?: CreateShareExportPolicyRequestRulesList;
|
|
254
|
+
rules?: CreateShareExportPolicyRequestRulesList | undefined;
|
|
245
255
|
}
|
|
246
256
|
export interface CreateShareExportPolicyResponse {
|
|
247
257
|
/** Created Share Export Policy */
|
|
248
|
-
shareExportPolicy?: ShareExportPolicy;
|
|
258
|
+
shareExportPolicy?: ShareExportPolicy | undefined;
|
|
249
259
|
}
|
|
250
260
|
export interface DeleteResourcePoolRequest {
|
|
251
261
|
projectId: string;
|
|
@@ -283,14 +293,14 @@ export interface EnableLockRequest {
|
|
|
283
293
|
projectId: string;
|
|
284
294
|
}
|
|
285
295
|
export interface EnableLockResponse {
|
|
286
|
-
lockId?: string;
|
|
296
|
+
lockId?: string | undefined;
|
|
287
297
|
}
|
|
288
298
|
export interface GetLockRequest {
|
|
289
299
|
region: string;
|
|
290
300
|
projectId: string;
|
|
291
301
|
}
|
|
292
302
|
export interface GetLockResponse {
|
|
293
|
-
lockId?: string;
|
|
303
|
+
lockId?: string | undefined;
|
|
294
304
|
}
|
|
295
305
|
export interface GetResourcePoolRequest {
|
|
296
306
|
projectId: string;
|
|
@@ -299,7 +309,7 @@ export interface GetResourcePoolRequest {
|
|
|
299
309
|
}
|
|
300
310
|
export interface GetResourcePoolResponse {
|
|
301
311
|
/** Resource Pool */
|
|
302
|
-
resourcePool?: ResourcePool;
|
|
312
|
+
resourcePool?: ResourcePool | undefined;
|
|
303
313
|
}
|
|
304
314
|
export interface GetResourcePoolSnapshotRequest {
|
|
305
315
|
projectId: string;
|
|
@@ -309,7 +319,7 @@ export interface GetResourcePoolSnapshotRequest {
|
|
|
309
319
|
}
|
|
310
320
|
export interface GetResourcePoolSnapshotResponse {
|
|
311
321
|
/** Resource Pool Snapshot */
|
|
312
|
-
resourcePoolSnapshot?: ResourcePoolSnapshot;
|
|
322
|
+
resourcePoolSnapshot?: ResourcePoolSnapshot | undefined;
|
|
313
323
|
}
|
|
314
324
|
export interface GetShareRequest {
|
|
315
325
|
projectId: string;
|
|
@@ -319,7 +329,7 @@ export interface GetShareRequest {
|
|
|
319
329
|
}
|
|
320
330
|
export interface GetShareResponse {
|
|
321
331
|
/** Share */
|
|
322
|
-
share?: Share;
|
|
332
|
+
share?: Share | undefined;
|
|
323
333
|
}
|
|
324
334
|
export interface GetShareExportPolicyRequest {
|
|
325
335
|
projectId: string;
|
|
@@ -328,7 +338,7 @@ export interface GetShareExportPolicyRequest {
|
|
|
328
338
|
}
|
|
329
339
|
export interface GetShareExportPolicyResponse {
|
|
330
340
|
/** Share Export Policies */
|
|
331
|
-
shareExportPolicy?: ShareExportPolicy;
|
|
341
|
+
shareExportPolicy?: ShareExportPolicy | undefined;
|
|
332
342
|
}
|
|
333
343
|
export interface GetSnapshotPolicyRequest {
|
|
334
344
|
projectId: string;
|
|
@@ -336,70 +346,70 @@ export interface GetSnapshotPolicyRequest {
|
|
|
336
346
|
}
|
|
337
347
|
export interface SnapshotPolicySchedule {
|
|
338
348
|
/** Retention Count */
|
|
339
|
-
count?: number;
|
|
349
|
+
count?: number | undefined;
|
|
340
350
|
/** Interval of the Schedule (follows the cron schedule expression in Unix-like systems) */
|
|
341
|
-
interval?: string;
|
|
351
|
+
interval?: string | undefined;
|
|
342
352
|
/** Prefix used for the snapshots created by this policy */
|
|
343
|
-
prefix?: string;
|
|
353
|
+
prefix?: string | undefined;
|
|
344
354
|
/** Retention Period (ISO 8601 format or "infinite") */
|
|
345
|
-
retentionPeriod?: string;
|
|
355
|
+
retentionPeriod?: string | undefined;
|
|
346
356
|
/** ID of the Schedule */
|
|
347
|
-
scheduleId?: string;
|
|
357
|
+
scheduleId?: string | undefined;
|
|
348
358
|
}
|
|
349
359
|
/** (deprecated) associated schedules */
|
|
350
360
|
export type SnapshotPolicySchedulesList = Array<SnapshotPolicySchedule>;
|
|
351
361
|
export interface SnapshotPolicySnapshotPolicySchedule {
|
|
352
|
-
createdAt?: string;
|
|
362
|
+
createdAt?: string | undefined;
|
|
353
363
|
/** ID of the Schedule */
|
|
354
|
-
id?: string;
|
|
364
|
+
id?: string | undefined;
|
|
355
365
|
/** Interval of the Schedule (follows the cron schedule expression in Unix-like systems) */
|
|
356
|
-
interval?: string;
|
|
366
|
+
interval?: string | undefined;
|
|
357
367
|
/** Name of the Schedule */
|
|
358
|
-
name?: string;
|
|
368
|
+
name?: string | undefined;
|
|
359
369
|
/** Prefix used for the snapshots created by this policy */
|
|
360
|
-
prefix?: string;
|
|
370
|
+
prefix?: string | undefined;
|
|
361
371
|
/** Retention Count */
|
|
362
|
-
retentionCount?: number;
|
|
372
|
+
retentionCount?: number | undefined;
|
|
363
373
|
/** Retention Period (ISO 8601 format or "infinite") */
|
|
364
|
-
retentionPeriod?: string;
|
|
374
|
+
retentionPeriod?: string | undefined;
|
|
365
375
|
}
|
|
366
376
|
/** associated schedules */
|
|
367
377
|
export type SnapshotPolicySnapshotSchedulesList = Array<SnapshotPolicySnapshotPolicySchedule>;
|
|
368
378
|
export interface SnapshotPolicy {
|
|
369
379
|
/** Comment of the Snapshot Policy */
|
|
370
|
-
comment?: string;
|
|
380
|
+
comment?: string | undefined;
|
|
371
381
|
/** created at timestamp */
|
|
372
|
-
createdAt?: string;
|
|
382
|
+
createdAt?: string | undefined;
|
|
373
383
|
/** Wether the Snapshot Policy is enabled */
|
|
374
|
-
enabled?: boolean;
|
|
384
|
+
enabled?: boolean | undefined;
|
|
375
385
|
/** ID of the Snapshot Policy */
|
|
376
|
-
id?: string;
|
|
386
|
+
id?: string | undefined;
|
|
377
387
|
/** Name of the Snapshot Policy */
|
|
378
|
-
name?: string;
|
|
388
|
+
name?: string | undefined;
|
|
379
389
|
/** (deprecated) associated schedules */
|
|
380
|
-
schedules?: SnapshotPolicySchedulesList;
|
|
390
|
+
schedules?: SnapshotPolicySchedulesList | undefined;
|
|
381
391
|
/** associated schedules */
|
|
382
|
-
snapshotSchedules?: SnapshotPolicySnapshotSchedulesList;
|
|
392
|
+
snapshotSchedules?: SnapshotPolicySnapshotSchedulesList | undefined;
|
|
383
393
|
}
|
|
384
394
|
export interface GetSnapshotPolicyResponse {
|
|
385
395
|
/** Snapshot Policy */
|
|
386
|
-
snapshotPolicy?: SnapshotPolicy;
|
|
396
|
+
snapshotPolicy?: SnapshotPolicy | undefined;
|
|
387
397
|
}
|
|
388
398
|
export interface ListPerformanceClassesRequest {
|
|
389
399
|
}
|
|
390
400
|
export interface PerformanceClass {
|
|
391
401
|
/** IOPS of the Performance Class */
|
|
392
|
-
iops?: number;
|
|
402
|
+
iops?: number | undefined;
|
|
393
403
|
/** Name of the Performance Class */
|
|
394
|
-
name?: string;
|
|
404
|
+
name?: string | undefined;
|
|
395
405
|
/** Throughput of the Performance Class */
|
|
396
|
-
throughput?: number;
|
|
406
|
+
throughput?: number | undefined;
|
|
397
407
|
}
|
|
398
408
|
/** List of Performance Classes */
|
|
399
409
|
export type ListPerformanceClassesResponsePerformanceClassesList = Array<PerformanceClass>;
|
|
400
410
|
export interface ListPerformanceClassesResponse {
|
|
401
411
|
/** List of Performance Classes */
|
|
402
|
-
performanceClasses?: ListPerformanceClassesResponsePerformanceClassesList;
|
|
412
|
+
performanceClasses?: ListPerformanceClassesResponsePerformanceClassesList | undefined;
|
|
403
413
|
}
|
|
404
414
|
export interface ListResourcePoolsRequest {
|
|
405
415
|
projectId: string;
|
|
@@ -409,7 +419,7 @@ export interface ListResourcePoolsRequest {
|
|
|
409
419
|
export type ListResourcePoolsResponseResourcePoolsList = Array<ResourcePool>;
|
|
410
420
|
export interface ListResourcePoolsResponse {
|
|
411
421
|
/** List of Resource Pools */
|
|
412
|
-
resourcePools?: ListResourcePoolsResponseResourcePoolsList;
|
|
422
|
+
resourcePools?: ListResourcePoolsResponseResourcePoolsList | undefined;
|
|
413
423
|
}
|
|
414
424
|
export interface ListResourcePoolSnapshotsRequest {
|
|
415
425
|
projectId: string;
|
|
@@ -420,7 +430,7 @@ export interface ListResourcePoolSnapshotsRequest {
|
|
|
420
430
|
export type ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList = Array<ResourcePoolSnapshot>;
|
|
421
431
|
export interface ListResourcePoolSnapshotsResponse {
|
|
422
432
|
/** List of Resource Pool Snapshots */
|
|
423
|
-
resourcePoolSnapshots?: ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList;
|
|
433
|
+
resourcePoolSnapshots?: ListResourcePoolSnapshotsResponseResourcePoolSnapshotsList | undefined;
|
|
424
434
|
}
|
|
425
435
|
export interface ListShareExportPoliciesRequest {
|
|
426
436
|
projectId: string;
|
|
@@ -430,7 +440,7 @@ export interface ListShareExportPoliciesRequest {
|
|
|
430
440
|
export type ListShareExportPoliciesResponseShareExportPoliciesList = Array<ShareExportPolicy>;
|
|
431
441
|
export interface ListShareExportPoliciesResponse {
|
|
432
442
|
/** List of Share Export Policies */
|
|
433
|
-
shareExportPolicies?: ListShareExportPoliciesResponseShareExportPoliciesList;
|
|
443
|
+
shareExportPolicies?: ListShareExportPoliciesResponseShareExportPoliciesList | undefined;
|
|
434
444
|
}
|
|
435
445
|
export interface ListSharesRequest {
|
|
436
446
|
projectId: string;
|
|
@@ -441,17 +451,17 @@ export interface ListSharesRequest {
|
|
|
441
451
|
export type ListSharesResponseSharesList = Array<Share>;
|
|
442
452
|
export interface ListSharesResponse {
|
|
443
453
|
/** List of Shares */
|
|
444
|
-
shares?: ListSharesResponseSharesList;
|
|
454
|
+
shares?: ListSharesResponseSharesList | undefined;
|
|
445
455
|
}
|
|
446
456
|
export interface ListSnapshotPoliciesRequest {
|
|
447
457
|
projectId: string;
|
|
448
|
-
immutable?: boolean;
|
|
458
|
+
immutable?: boolean | undefined;
|
|
449
459
|
}
|
|
450
460
|
/** List of Snapshot Policies */
|
|
451
461
|
export type ListSnapshotPoliciesResponseSnapshotPoliciesList = Array<SnapshotPolicy>;
|
|
452
462
|
export interface ListSnapshotPoliciesResponse {
|
|
453
463
|
/** List of Snapshot Policies */
|
|
454
|
-
snapshotPolicies?: ListSnapshotPoliciesResponseSnapshotPoliciesList;
|
|
464
|
+
snapshotPolicies?: ListSnapshotPoliciesResponseSnapshotPoliciesList | undefined;
|
|
455
465
|
}
|
|
456
466
|
/** (optional) List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) */
|
|
457
467
|
export type UpdateResourcePoolRequestIpAclList = Array<string>;
|
|
@@ -464,21 +474,21 @@ export interface UpdateResourcePoolRequest {
|
|
|
464
474
|
region: string;
|
|
465
475
|
resourcePoolId: string;
|
|
466
476
|
/** (optional) List of IPs that can mount the Resource Pool in read-only; IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) */
|
|
467
|
-
ipAcl?: UpdateResourcePoolRequestIpAclList;
|
|
477
|
+
ipAcl?: UpdateResourcePoolRequestIpAclList | undefined;
|
|
468
478
|
/** An optional object that represents the labels associated with the resource pool. */
|
|
469
|
-
labels?: UpdateResourcePoolRequestLabelsMap;
|
|
479
|
+
labels?: UpdateResourcePoolRequestLabelsMap | undefined;
|
|
470
480
|
/** (optional) Name of the performance class */
|
|
471
|
-
performanceClass?: string;
|
|
481
|
+
performanceClass?: string | undefined;
|
|
472
482
|
/** (optional) Size of the Resource Pool (unit: gigabytes) */
|
|
473
|
-
sizeGigabytes?: number | null;
|
|
483
|
+
sizeGigabytes?: number | null | undefined;
|
|
474
484
|
/** (optional) Id of the Snapshot Policy to use If not set, the Snapshot Policy is not updated If set to an empty string, the Snapshot Policy is removed */
|
|
475
|
-
snapshotPolicyId?: string | null;
|
|
485
|
+
snapshotPolicyId?: string | null | undefined;
|
|
476
486
|
/** Whether the .snapshot directory is visible when mounting the resource pool. Setting this value to false might prevent you from accessing the snapshots (e.g. for security reasons). Additionally, the access to the snapshots is always controlled by the export policy of the resource pool. That means, if snapshots are visible and the export policy allows for reading the resource pool, then it also allows reading the snapshot of all shares. */
|
|
477
|
-
snapshotsAreVisible?: boolean;
|
|
487
|
+
snapshotsAreVisible?: boolean | undefined;
|
|
478
488
|
}
|
|
479
489
|
export interface UpdateResourcePoolResponse {
|
|
480
490
|
/** Updated Resource Pool */
|
|
481
|
-
resourcePool?: ResourcePool;
|
|
491
|
+
resourcePool?: ResourcePool | undefined;
|
|
482
492
|
}
|
|
483
493
|
export interface UpdateResourcePoolSnapshotRequest {
|
|
484
494
|
projectId: string;
|
|
@@ -486,13 +496,13 @@ export interface UpdateResourcePoolSnapshotRequest {
|
|
|
486
496
|
resourcePoolId: string;
|
|
487
497
|
snapshotName: string;
|
|
488
498
|
/** (optional) A comment to add more information about a snapshot */
|
|
489
|
-
comment?: string | null;
|
|
499
|
+
comment?: string | null | undefined;
|
|
490
500
|
/** (optional) name of the Resource Pool Snapshot */
|
|
491
|
-
name?: string | null;
|
|
501
|
+
name?: string | null | undefined;
|
|
492
502
|
}
|
|
493
503
|
export interface UpdateResourcePoolSnapshotResponse {
|
|
494
504
|
/** Updated Resource Pool Snapshot */
|
|
495
|
-
resourcePoolSnapshot?: ResourcePoolSnapshot;
|
|
505
|
+
resourcePoolSnapshot?: ResourcePoolSnapshot | undefined;
|
|
496
506
|
}
|
|
497
507
|
/** An optional object that represents the labels associated with the share. */
|
|
498
508
|
export type UpdateShareRequestLabelsMap = {
|
|
@@ -504,15 +514,15 @@ export interface UpdateShareRequest {
|
|
|
504
514
|
resourcePoolId: string;
|
|
505
515
|
shareId: string;
|
|
506
516
|
/** Name of the Share Export Policy to use in the Share. The behavior depends on the value: - If not set (null): Keep the existing export policy (if any) - If set to empty string (""): Remove the existing export policy - If set to a policy name: Update to use the specified policy, creating a new association if none exists */
|
|
507
|
-
exportPolicyName?: string | null;
|
|
517
|
+
exportPolicyName?: string | null | undefined;
|
|
508
518
|
/** An optional object that represents the labels associated with the share. */
|
|
509
|
-
labels?: UpdateShareRequestLabelsMap;
|
|
519
|
+
labels?: UpdateShareRequestLabelsMap | undefined;
|
|
510
520
|
/** Space hard limit for the Share. If zero, the Share will have access to the full space of the Resource Pool it lives in. (unit: gibibytes) */
|
|
511
|
-
spaceHardLimitGigabytes?: number | null;
|
|
521
|
+
spaceHardLimitGigabytes?: number | null | undefined;
|
|
512
522
|
}
|
|
513
523
|
export interface UpdateShareResponse {
|
|
514
524
|
/** Updated Share */
|
|
515
|
-
share?: Share;
|
|
525
|
+
share?: Share | undefined;
|
|
516
526
|
}
|
|
517
527
|
/** An optional object that represents the labels associated with the share export policy. */
|
|
518
528
|
export type UpdateShareExportPolicyRequestLabelsMap = {
|
|
@@ -522,17 +532,17 @@ export type UpdateShareExportPolicyRequestLabelsMap = {
|
|
|
522
532
|
export type UpdateShareExportPolicyBodyRuleIpAclList = Array<string>;
|
|
523
533
|
export interface UpdateShareExportPolicyBodyRule {
|
|
524
534
|
/** Description of the Rule (optional) */
|
|
525
|
-
description?: string | null;
|
|
535
|
+
description?: string | null | undefined;
|
|
526
536
|
/** IP access control list, where IPs must have a subnet mask (e.g. "172.16.0.0/24" for a range of IPs, or "172.16.0.250/32" for a specific IP) This array cannot be empty */
|
|
527
|
-
ipAcl?: UpdateShareExportPolicyBodyRuleIpAclList;
|
|
537
|
+
ipAcl?: UpdateShareExportPolicyBodyRuleIpAclList | undefined;
|
|
528
538
|
/** Order of the rule within a Share Export Policy. The order is used so that when a client IP matches multiple rules, the first rule is applied This field must be set */
|
|
529
|
-
order?: number;
|
|
539
|
+
order?: number | undefined;
|
|
530
540
|
/** Flag to indicate if client IPs matching this rule can only mount the share in read only mode Default: false */
|
|
531
|
-
readOnly?: boolean;
|
|
541
|
+
readOnly?: boolean | undefined;
|
|
532
542
|
/** Flag to honor set UUID Default: false */
|
|
533
|
-
setUuid?: boolean;
|
|
543
|
+
setUuid?: boolean | undefined;
|
|
534
544
|
/** Flag to indicate if client IPs matching this rule have root access on the Share Default: true */
|
|
535
|
-
superUser?: boolean;
|
|
545
|
+
superUser?: boolean | undefined;
|
|
536
546
|
}
|
|
537
547
|
/** List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field "order" within each rule. The whole set of rules needs to be sent in the same request, e.g. if 1 rule is sent, the share export policy will have just that 1 rule, as opposed to extending the existing set of rules with the 1 rule that was sent Important note: the array of rules passed always overwrites the rule array (i.e. sending an empty array removes all rules) */
|
|
538
548
|
export type UpdateShareExportPolicyRequestRulesList = Array<UpdateShareExportPolicyBodyRule>;
|
|
@@ -541,29 +551,29 @@ export interface UpdateShareExportPolicyRequest {
|
|
|
541
551
|
region: string;
|
|
542
552
|
policyId: string;
|
|
543
553
|
/** An optional object that represents the labels associated with the share export policy. */
|
|
544
|
-
labels?: UpdateShareExportPolicyRequestLabelsMap;
|
|
554
|
+
labels?: UpdateShareExportPolicyRequestLabelsMap | undefined;
|
|
545
555
|
/** List of rules of the Share Export Policy. The order of the rules within the array does not matter - what matters is the field "order" within each rule. The whole set of rules needs to be sent in the same request, e.g. if 1 rule is sent, the share export policy will have just that 1 rule, as opposed to extending the existing set of rules with the 1 rule that was sent Important note: the array of rules passed always overwrites the rule array (i.e. sending an empty array removes all rules) */
|
|
546
|
-
rules?: UpdateShareExportPolicyRequestRulesList | null;
|
|
556
|
+
rules?: UpdateShareExportPolicyRequestRulesList | null | undefined;
|
|
547
557
|
}
|
|
548
558
|
export interface UpdateShareExportPolicyResponse {
|
|
549
|
-
shareExportPolicy?: ShareExportPolicy;
|
|
559
|
+
shareExportPolicy?: ShareExportPolicy | undefined;
|
|
550
560
|
}
|
|
551
|
-
export type CreateResourcePoolError = BadRequest | StackitOpError;
|
|
561
|
+
export type CreateResourcePoolError = BadRequest | Conflict | StackitOpError;
|
|
552
562
|
/** Create Resource Pool Create a Resource Pool in a project. */
|
|
553
563
|
export declare const createResourcePool: API.OperationMethod<CreateResourcePoolRequest, CreateResourcePoolResponse, CreateResourcePoolError, StackitOpContext>;
|
|
554
|
-
export type CreateResourcePoolSnapshotError = BadRequest | StackitOpError;
|
|
564
|
+
export type CreateResourcePoolSnapshotError = BadRequest | Conflict | StackitOpError;
|
|
555
565
|
/** Create Resource Pool Snapshot Creates a Snapshot of a Resource Pool in a project. */
|
|
556
566
|
export declare const createResourcePoolSnapshot: API.OperationMethod<CreateResourcePoolSnapshotRequest, CreateResourcePoolSnapshotResponse, CreateResourcePoolSnapshotError, StackitOpContext>;
|
|
557
|
-
export type CreateShareError = BadRequest | StackitOpError;
|
|
567
|
+
export type CreateShareError = BadRequest | Conflict | StackitOpError;
|
|
558
568
|
/** Create Share Creates a Share in a Resource Pool in a project. */
|
|
559
569
|
export declare const createShare: API.OperationMethod<CreateShareRequest, CreateShareResponse, CreateShareError, StackitOpContext>;
|
|
560
|
-
export type CreateShareExportPolicyError = BadRequest | StackitOpError;
|
|
570
|
+
export type CreateShareExportPolicyError = BadRequest | Conflict | StackitOpError;
|
|
561
571
|
/** Create Share Export Policy Creates a ShareExportPolicy in a Resource Pool in a project. */
|
|
562
572
|
export declare const createShareExportPolicy: API.OperationMethod<CreateShareExportPolicyRequest, CreateShareExportPolicyResponse, CreateShareExportPolicyError, StackitOpContext>;
|
|
563
|
-
export type DeleteResourcePoolError = BadRequest | StackitOpError;
|
|
573
|
+
export type DeleteResourcePoolError = BadRequest | Conflict | StackitOpError;
|
|
564
574
|
/** Delete Resource Pool Deletes a Resource Pool in a project. */
|
|
565
575
|
export declare const deleteResourcePool: API.OperationMethod<DeleteResourcePoolRequest, DeleteResourcePoolResponse2, DeleteResourcePoolError, StackitOpContext>;
|
|
566
|
-
export type DeleteResourcePoolSnapshotError = BadRequest | StackitOpError;
|
|
576
|
+
export type DeleteResourcePoolSnapshotError = BadRequest | Conflict | StackitOpError;
|
|
567
577
|
/** Delete Resource Pool Snapshot Deletes a Snapshot from a Resource Pool in a project. */
|
|
568
578
|
export declare const deleteResourcePoolSnapshot: API.OperationMethod<DeleteResourcePoolSnapshotRequest, DeleteResourcePoolSnapshotResponse2, DeleteResourcePoolSnapshotError, StackitOpContext>;
|
|
569
579
|
export type DeleteShareError = BadRequest | StackitOpError;
|
|
@@ -572,10 +582,10 @@ export declare const deleteShare: API.OperationMethod<DeleteShareRequest, Delete
|
|
|
572
582
|
export type DeleteShareExportPolicyError = BadRequest | StackitOpError;
|
|
573
583
|
/** Delete Share Export Policy Deletes a ShareExportPolicies in a Resource Pool in a project. */
|
|
574
584
|
export declare const deleteShareExportPolicy: API.OperationMethod<DeleteShareExportPolicyRequest, DeleteShareExportPolicyResponse2, DeleteShareExportPolicyError, StackitOpContext>;
|
|
575
|
-
export type DisableLockError = StackitOpError;
|
|
585
|
+
export type DisableLockError = Conflict | StackitOpError;
|
|
576
586
|
/** Clean up locks for a project so that it can be deleted successfully. */
|
|
577
587
|
export declare const disableLock: API.OperationMethod<DisableLockRequest, DisableLockResponse2, DisableLockError, StackitOpContext>;
|
|
578
|
-
export type EnableLockError = StackitOpError;
|
|
588
|
+
export type EnableLockError = Conflict | StackitOpError;
|
|
579
589
|
/** Enable Lock for a project. Necessary for immutable snapshots and to prevent accidental deletion of resources. */
|
|
580
590
|
export declare const enableLock: API.OperationMethod<EnableLockRequest, EnableLockResponse, EnableLockError, StackitOpContext>;
|
|
581
591
|
export type GetLockError = StackitOpError;
|
|
@@ -614,7 +624,7 @@ export declare const listShares: API.OperationMethod<ListSharesRequest, ListShar
|
|
|
614
624
|
export type ListSnapshotPoliciesError = StackitOpError;
|
|
615
625
|
/** List Snapshot Policies */
|
|
616
626
|
export declare const listSnapshotPolicies: API.OperationMethod<ListSnapshotPoliciesRequest, ListSnapshotPoliciesResponse, ListSnapshotPoliciesError, StackitOpContext>;
|
|
617
|
-
export type UpdateResourcePoolError = BadRequest | StackitOpError;
|
|
627
|
+
export type UpdateResourcePoolError = BadRequest | Conflict | StackitOpError;
|
|
618
628
|
/** Update Resource Pool Updates a Resource Pool in a project. */
|
|
619
629
|
export declare const updateResourcePool: API.OperationMethod<UpdateResourcePoolRequest, UpdateResourcePoolResponse, UpdateResourcePoolError, StackitOpContext>;
|
|
620
630
|
export type UpdateResourcePoolSnapshotError = BadRequest | StackitOpError;
|