@scaleway/sdk 2.46.0 → 2.48.0
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/dist/api/baremetal/v1/api.gen.cjs +36 -1
- package/dist/api/baremetal/v1/api.gen.d.ts +17 -1
- package/dist/api/baremetal/v1/api.gen.js +37 -2
- package/dist/api/baremetal/v1/index.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.cjs +200 -0
- package/dist/api/baremetal/v1/marshalling.gen.d.ts +4 -1
- package/dist/api/baremetal/v1/marshalling.gen.js +200 -0
- package/dist/api/baremetal/v1/types.gen.d.ts +74 -0
- package/dist/api/billing/v2alpha1/marshalling.gen.cjs +1 -0
- package/dist/api/billing/v2alpha1/marshalling.gen.js +1 -0
- package/dist/api/billing/v2alpha1/types.gen.d.ts +2 -0
- package/dist/api/billing/v2beta1/marshalling.gen.cjs +1 -0
- package/dist/api/billing/v2beta1/marshalling.gen.js +1 -0
- package/dist/api/billing/v2beta1/types.gen.d.ts +2 -0
- package/dist/api/edge_services/v1alpha1/api.gen.cjs +636 -0
- package/dist/api/edge_services/v1alpha1/api.gen.d.ts +5 -1
- package/dist/api/edge_services/v1alpha1/api.gen.js +636 -0
- package/dist/api/edge_services/v1alpha1/content.gen.cjs +8 -0
- package/dist/api/edge_services/v1alpha1/content.gen.js +8 -0
- package/dist/api/edge_services/v1alpha1/index.gen.cjs +7 -0
- package/dist/api/edge_services/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/index.gen.js +7 -0
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +474 -0
- package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +5 -2
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +474 -0
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +51 -28
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +1 -0
- package/dist/api/iam/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/iam/v1alpha1/types.gen.d.ts +2 -0
- package/dist/api/index.d.ts +65 -35
- package/dist/api/inference/v1beta1/api.gen.cjs +306 -0
- package/dist/api/inference/v1beta1/api.gen.js +306 -0
- package/dist/api/inference/v1beta1/content.gen.cjs +8 -0
- package/dist/api/inference/v1beta1/content.gen.js +8 -0
- package/dist/api/inference/v1beta1/index.gen.cjs +8 -0
- package/dist/api/inference/v1beta1/index.gen.js +8 -0
- package/dist/api/inference/v1beta1/marshalling.gen.cjs +273 -0
- package/dist/api/inference/v1beta1/marshalling.gen.js +273 -0
- package/dist/api/inference/v1beta1/validation-rules.gen.cjs +56 -0
- package/dist/api/inference/v1beta1/validation-rules.gen.js +56 -0
- package/dist/api/k8s/v1/marshalling.gen.cjs +1 -0
- package/dist/api/k8s/v1/marshalling.gen.js +1 -0
- package/dist/api/k8s/v1/types.gen.d.ts +2 -0
- package/dist/api/k8s/v1/validation-rules.gen.cjs +63 -0
- package/dist/api/k8s/v1/validation-rules.gen.d.ts +60 -0
- package/dist/api/k8s/v1/validation-rules.gen.js +64 -1
- package/dist/api/mnq/index.gen.cjs +4 -0
- package/dist/api/mnq/index.gen.js +4 -0
- package/dist/api/qaas/v1alpha1/api.gen.cjs +527 -0
- package/dist/api/qaas/v1alpha1/api.gen.js +527 -0
- package/dist/api/qaas/v1alpha1/content.gen.cjs +19 -0
- package/dist/api/qaas/v1alpha1/content.gen.js +19 -0
- package/dist/api/qaas/v1alpha1/index.gen.cjs +10 -0
- package/dist/api/qaas/v1alpha1/index.gen.js +10 -0
- package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +320 -0
- package/dist/api/qaas/v1alpha1/marshalling.gen.js +320 -0
- package/dist/api/qaas/v1alpha1/validation-rules.gen.cjs +14 -0
- package/dist/api/qaas/v1alpha1/validation-rules.gen.js +14 -0
- package/dist/api/tem/index.gen.cjs +4 -0
- package/dist/api/tem/index.gen.js +4 -0
- package/dist/api/tem/v1alpha1/api.gen.cjs +32 -0
- package/dist/api/tem/v1alpha1/api.gen.d.ts +17 -1
- package/dist/api/tem/v1alpha1/api.gen.js +33 -1
- package/dist/api/tem/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/tem/v1alpha1/marshalling.gen.cjs +36 -0
- package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +3 -1
- package/dist/api/tem/v1alpha1/marshalling.gen.js +36 -0
- package/dist/api/tem/v1alpha1/types.gen.d.ts +51 -0
- package/dist/api/tem/v1alpha1/validation-rules.gen.cjs +11 -0
- package/dist/api/tem/v1alpha1/validation-rules.gen.d.ts +10 -0
- package/dist/api/tem/v1alpha1/validation-rules.gen.js +11 -0
- package/dist/api/webhosting/index.gen.cjs +6 -0
- package/dist/api/webhosting/index.gen.js +6 -0
- package/dist/api/webhosting/v1/api.gen.cjs +620 -0
- package/dist/api/webhosting/v1/api.gen.js +620 -0
- package/dist/api/webhosting/v1/content.gen.cjs +14 -0
- package/dist/api/webhosting/v1/content.gen.js +14 -0
- package/dist/api/webhosting/v1/index.gen.cjs +15 -0
- package/dist/api/webhosting/v1/index.gen.js +15 -0
- package/dist/api/webhosting/v1/marshalling.gen.cjs +391 -0
- package/dist/api/webhosting/v1/marshalling.gen.js +391 -0
- package/dist/api/webhosting/v1/types.gen.d.ts +5 -0
- package/dist/api/webhosting/v1/validation-rules.gen.cjs +82 -0
- package/dist/api/webhosting/v1/validation-rules.gen.js +82 -0
- package/dist/index.cjs +92 -70
- package/dist/index.js +92 -70
- package/dist/scw/constants.cjs +1 -1
- package/dist/scw/constants.d.ts +2 -2
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
- package/dist/api/account/index.d.ts +0 -2
- package/dist/api/applesilicon/index.d.ts +0 -1
- package/dist/api/baremetal/index.d.ts +0 -1
- package/dist/api/billing/index.d.ts +0 -2
- package/dist/api/block/index.d.ts +0 -1
- package/dist/api/cockpit/index.d.ts +0 -2
- package/dist/api/container/index.d.ts +0 -1
- package/dist/api/dedibox/index.d.ts +0 -1
- package/dist/api/document_db/index.d.ts +0 -1
- package/dist/api/domain/index.d.ts +0 -1
- package/dist/api/edge_services/index.d.ts +0 -1
- package/dist/api/flexibleip/index.d.ts +0 -1
- package/dist/api/function/index.d.ts +0 -1
- package/dist/api/iam/index.d.ts +0 -1
- package/dist/api/instance/index.d.ts +0 -1
- package/dist/api/iot/index.d.ts +0 -1
- package/dist/api/ipam/index.d.ts +0 -1
- package/dist/api/ipfs/index.d.ts +0 -1
- package/dist/api/jobs/index.d.ts +0 -1
- package/dist/api/k8s/index.d.ts +0 -1
- package/dist/api/key_manager/index.d.ts +0 -1
- package/dist/api/lb/index.d.ts +0 -1
- package/dist/api/llm_inference/index.d.ts +0 -1
- package/dist/api/marketplace/index.d.ts +0 -1
- package/dist/api/mnq/index.d.ts +0 -1
- package/dist/api/rdb/index.d.ts +0 -1
- package/dist/api/redis/index.d.ts +0 -1
- package/dist/api/registry/index.d.ts +0 -1
- package/dist/api/secret/index.d.ts +0 -2
- package/dist/api/serverless_sqldb/index.d.ts +0 -1
- package/dist/api/tem/index.d.ts +0 -1
- package/dist/api/test/index.d.ts +0 -1
- package/dist/api/vpc/index.d.ts +0 -2
- package/dist/api/vpcgw/index.d.ts +0 -1
- package/dist/api/webhosting/index.d.ts +0 -1
- /package/dist/api/account/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/account/{index.js → index.gen.js} +0 -0
- /package/dist/api/applesilicon/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/applesilicon/{index.js → index.gen.js} +0 -0
- /package/dist/api/baremetal/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/baremetal/{index.js → index.gen.js} +0 -0
- /package/dist/api/billing/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/billing/{index.js → index.gen.js} +0 -0
- /package/dist/api/block/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/block/{index.js → index.gen.js} +0 -0
- /package/dist/api/cockpit/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/cockpit/{index.js → index.gen.js} +0 -0
- /package/dist/api/container/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/container/{index.js → index.gen.js} +0 -0
- /package/dist/api/dedibox/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/dedibox/{index.js → index.gen.js} +0 -0
- /package/dist/api/document_db/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/document_db/{index.js → index.gen.js} +0 -0
- /package/dist/api/domain/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/domain/{index.js → index.gen.js} +0 -0
- /package/dist/api/{flexibleip/index.cjs → edge_services/index.gen.cjs} +0 -0
- /package/dist/api/{flexibleip/index.js → edge_services/index.gen.js} +0 -0
- /package/dist/api/{iam/index.cjs → flexibleip/index.gen.cjs} +0 -0
- /package/dist/api/{iam/index.js → flexibleip/index.gen.js} +0 -0
- /package/dist/api/function/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/function/{index.js → index.gen.js} +0 -0
- /package/dist/api/{ipfs/index.cjs → iam/index.gen.cjs} +0 -0
- /package/dist/api/{ipfs/index.js → iam/index.gen.js} +0 -0
- /package/dist/api/{llm_inference/index.cjs → inference/index.gen.cjs} +0 -0
- /package/dist/api/{llm_inference/index.js → inference/index.gen.js} +0 -0
- /package/dist/api/instance/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/instance/{index.js → index.gen.js} +0 -0
- /package/dist/api/iot/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/iot/{index.js → index.gen.js} +0 -0
- /package/dist/api/ipam/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/ipam/{index.js → index.gen.js} +0 -0
- /package/dist/api/{jobs/index.cjs → ipfs/index.gen.cjs} +0 -0
- /package/dist/api/{jobs/index.js → ipfs/index.gen.js} +0 -0
- /package/dist/api/{key_manager/index.cjs → jobs/index.gen.cjs} +0 -0
- /package/dist/api/{key_manager/index.js → jobs/index.gen.js} +0 -0
- /package/dist/api/k8s/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/k8s/{index.js → index.gen.js} +0 -0
- /package/dist/api/{serverless_sqldb/index.cjs → key_manager/index.gen.cjs} +0 -0
- /package/dist/api/{serverless_sqldb/index.js → key_manager/index.gen.js} +0 -0
- /package/dist/api/lb/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/lb/{index.js → index.gen.js} +0 -0
- /package/dist/api/{mnq/index.cjs → llm_inference/index.gen.cjs} +0 -0
- /package/dist/api/{mnq/index.js → llm_inference/index.gen.js} +0 -0
- /package/dist/api/marketplace/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/marketplace/{index.js → index.gen.js} +0 -0
- /package/dist/api/{tem/index.cjs → qaas/index.gen.cjs} +0 -0
- /package/dist/api/{tem/index.js → qaas/index.gen.js} +0 -0
- /package/dist/api/rdb/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/rdb/{index.js → index.gen.js} +0 -0
- /package/dist/api/redis/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/redis/{index.js → index.gen.js} +0 -0
- /package/dist/api/registry/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/registry/{index.js → index.gen.js} +0 -0
- /package/dist/api/secret/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/secret/{index.js → index.gen.js} +0 -0
- /package/dist/api/{webhosting/index.cjs → serverless_sqldb/index.gen.cjs} +0 -0
- /package/dist/api/{webhosting/index.js → serverless_sqldb/index.gen.js} +0 -0
- /package/dist/api/test/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/test/{index.js → index.gen.js} +0 -0
- /package/dist/api/vpc/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/vpc/{index.js → index.gen.js} +0 -0
- /package/dist/api/vpcgw/{index.cjs → index.gen.cjs} +0 -0
- /package/dist/api/vpcgw/{index.js → index.gen.js} +0 -0
|
@@ -7,6 +7,11 @@ export type ListServersRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
|
7
7
|
export type ListSettingsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
8
8
|
export type OfferStock = 'empty' | 'low' | 'available';
|
|
9
9
|
export type OfferSubscriptionPeriod = 'unknown_subscription_period' | 'hourly' | 'monthly';
|
|
10
|
+
export type SchemaFilesystemFormat = 'unknown_format' | 'fat32' | 'ext4' | 'swap' | 'zfs';
|
|
11
|
+
export type SchemaLogicalVolumeType = 'unknown_raid_type' | 'striped' | 'mirror' | 'raid0' | 'raid1' | 'raid5' | 'raid6' | 'raid10';
|
|
12
|
+
export type SchemaPartitionLabel = 'unknown_partition_label' | 'uefi' | 'legacy' | 'root' | 'boot' | 'swap' | 'data' | 'home' | 'raid' | 'lvm' | 'zfs';
|
|
13
|
+
export type SchemaPoolType = 'unknown_type' | 'no_raid' | 'mirror' | 'raidz1' | 'raidz2';
|
|
14
|
+
export type SchemaRAIDLevel = 'unknown_raid_level' | 'raid_level_0' | 'raid_level_1' | 'raid_level_5' | 'raid_level_6' | 'raid_level_10';
|
|
10
15
|
export type ServerBootType = 'unknown_boot_type' | 'normal' | 'rescue';
|
|
11
16
|
export type ServerInstallStatus = 'unknown' | 'to_install' | 'installing' | 'completed' | 'error';
|
|
12
17
|
export type ServerOptionOptionStatus = 'option_status_unknown' | 'option_status_enable' | 'option_status_enabling' | 'option_status_disabling' | 'option_status_error';
|
|
@@ -14,6 +19,50 @@ export type ServerPingStatus = 'ping_status_unknown' | 'ping_status_up' | 'ping_
|
|
|
14
19
|
export type ServerPrivateNetworkStatus = 'unknown' | 'attaching' | 'attached' | 'error' | 'detaching' | 'locked';
|
|
15
20
|
export type ServerStatus = 'unknown' | 'delivering' | 'ready' | 'stopping' | 'stopped' | 'starting' | 'error' | 'deleting' | 'locked' | 'out_of_stock' | 'ordered' | 'resetting';
|
|
16
21
|
export type SettingType = 'unknown' | 'smtp';
|
|
22
|
+
export interface SchemaLogicalVolume {
|
|
23
|
+
name: string;
|
|
24
|
+
type: SchemaLogicalVolumeType;
|
|
25
|
+
size: number;
|
|
26
|
+
stripedNumber: number;
|
|
27
|
+
mirrorNumber: number;
|
|
28
|
+
}
|
|
29
|
+
export interface SchemaPartition {
|
|
30
|
+
label: SchemaPartitionLabel;
|
|
31
|
+
number: number;
|
|
32
|
+
size: number;
|
|
33
|
+
}
|
|
34
|
+
export interface SchemaVolumeGroup {
|
|
35
|
+
volumeGroupName: string;
|
|
36
|
+
physicalVolumes: string[];
|
|
37
|
+
logicalVolumes: SchemaLogicalVolume[];
|
|
38
|
+
}
|
|
39
|
+
export interface SchemaPool {
|
|
40
|
+
name: string;
|
|
41
|
+
type: SchemaPoolType;
|
|
42
|
+
devices: string[];
|
|
43
|
+
options: string[];
|
|
44
|
+
filesystemOptions: string[];
|
|
45
|
+
}
|
|
46
|
+
export interface SchemaDisk {
|
|
47
|
+
device: string;
|
|
48
|
+
partitions: SchemaPartition[];
|
|
49
|
+
}
|
|
50
|
+
export interface SchemaFilesystem {
|
|
51
|
+
device: string;
|
|
52
|
+
format: SchemaFilesystemFormat;
|
|
53
|
+
mountpoint: string;
|
|
54
|
+
}
|
|
55
|
+
export interface SchemaLVM {
|
|
56
|
+
volumeGroups: SchemaVolumeGroup[];
|
|
57
|
+
}
|
|
58
|
+
export interface SchemaRAID {
|
|
59
|
+
name: string;
|
|
60
|
+
level: SchemaRAIDLevel;
|
|
61
|
+
devices: string[];
|
|
62
|
+
}
|
|
63
|
+
export interface SchemaZFS {
|
|
64
|
+
pools: SchemaPool[];
|
|
65
|
+
}
|
|
17
66
|
export interface CertificationOption {
|
|
18
67
|
}
|
|
19
68
|
export interface LicenseOption {
|
|
@@ -26,6 +75,13 @@ export interface PublicBandwidthOption {
|
|
|
26
75
|
}
|
|
27
76
|
export interface RemoteAccessOption {
|
|
28
77
|
}
|
|
78
|
+
export interface Schema {
|
|
79
|
+
disks: SchemaDisk[];
|
|
80
|
+
raids: SchemaRAID[];
|
|
81
|
+
filesystems: SchemaFilesystem[];
|
|
82
|
+
lvm?: SchemaLVM;
|
|
83
|
+
zfs?: SchemaZFS;
|
|
84
|
+
}
|
|
29
85
|
export interface OSOSField {
|
|
30
86
|
editable: boolean;
|
|
31
87
|
required: boolean;
|
|
@@ -518,6 +574,14 @@ export type GetBMCAccessRequest = {
|
|
|
518
574
|
/** ID of the server. */
|
|
519
575
|
serverId: string;
|
|
520
576
|
};
|
|
577
|
+
export type GetDefaultPartitioningSchemaRequest = {
|
|
578
|
+
/** Zone to target. If none is passed will use default zone from the config. */
|
|
579
|
+
zone?: Zone;
|
|
580
|
+
/** ID of the offer. */
|
|
581
|
+
offerId: string;
|
|
582
|
+
/** ID of the OS. */
|
|
583
|
+
osId: string;
|
|
584
|
+
};
|
|
521
585
|
export type GetOSRequest = {
|
|
522
586
|
/** Zone to target. If none is passed will use default zone from the config. */
|
|
523
587
|
zone?: Zone;
|
|
@@ -806,3 +870,13 @@ export type UpdateSettingRequest = {
|
|
|
806
870
|
/** Defines whether the setting is enabled. */
|
|
807
871
|
enabled?: boolean;
|
|
808
872
|
};
|
|
873
|
+
export type ValidatePartitioningSchemaRequest = {
|
|
874
|
+
/** Zone to target. If none is passed will use default zone from the config. */
|
|
875
|
+
zone?: Zone;
|
|
876
|
+
/** Partitioning schema. */
|
|
877
|
+
partitioningSchema?: Schema;
|
|
878
|
+
/** Offer ID of the server. */
|
|
879
|
+
offerId: string;
|
|
880
|
+
/** OS ID. */
|
|
881
|
+
osId: string;
|
|
882
|
+
};
|
|
@@ -14,6 +14,8 @@ export interface DiscountFilter {
|
|
|
14
14
|
type: DiscountFilterType;
|
|
15
15
|
/** Value of filter, it can be a product/range/region/zone value. */
|
|
16
16
|
value: string;
|
|
17
|
+
/** Boolean to describe if filter is an excluding filter. */
|
|
18
|
+
exclude: boolean;
|
|
17
19
|
}
|
|
18
20
|
export interface GetConsumptionResponseConsumption {
|
|
19
21
|
/** Monetary value of the consumption. */
|
|
@@ -21,6 +21,8 @@ export interface DiscountFilter {
|
|
|
21
21
|
type: DiscountFilterType;
|
|
22
22
|
/** Value of filter. */
|
|
23
23
|
value: string;
|
|
24
|
+
/** Boolean to describe if filter is an excluding filter. */
|
|
25
|
+
exclude: boolean;
|
|
24
26
|
}
|
|
25
27
|
export interface ListConsumptionsResponseConsumption {
|
|
26
28
|
/** Monetary value of the consumption. */
|