@scaleway/sdk-instance 2.3.1 → 2.4.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.
@@ -61,7 +61,7 @@ export interface Volume {
61
61
  /**
62
62
  * @deprecated Show the volume NBD export URI (deprecated, will always be empty).
63
63
  */
64
- exportUri?: string;
64
+ exportUri: string;
65
65
  /**
66
66
  * Volume disk size.
67
67
  */
@@ -430,11 +430,11 @@ export interface Server {
430
430
  /**
431
431
  * @deprecated True to configure the instance so it uses the routed IP mode. Use of `routed_ip_enabled` as `False` is deprecated.
432
432
  */
433
- routedIpEnabled?: boolean;
433
+ routedIpEnabled: boolean;
434
434
  /**
435
435
  * @deprecated True if IPv6 is enabled (deprecated and always `False` when `routed_ip_enabled` is `True`).
436
436
  */
437
- enableIpv6?: boolean;
437
+ enableIpv6: boolean;
438
438
  /**
439
439
  * Instance host name.
440
440
  */
@@ -623,7 +623,7 @@ export interface SecurityGroup {
623
623
  /**
624
624
  * @deprecated True if it is your default security group for this Organization ID.
625
625
  */
626
- organizationDefault?: boolean;
626
+ organizationDefault: boolean;
627
627
  /**
628
628
  * True if it is your default security group for this Project ID.
629
629
  */
@@ -799,18 +799,18 @@ export interface Dashboard {
799
799
  securityGroupsCount: number;
800
800
  ipsUnused: number;
801
801
  volumesLSsdCount: number;
802
+ volumesLSsdTotalSize: number;
803
+ privateNicsCount: number;
804
+ placementGroupsCount: number;
805
+ volumesScratchCount: number;
802
806
  /**
803
807
  * @deprecated
804
808
  */
805
- volumesBSsdCount?: number;
806
- volumesLSsdTotalSize: number;
809
+ volumesBSsdCount: number;
807
810
  /**
808
811
  * @deprecated
809
812
  */
810
- volumesBSsdTotalSize?: number;
811
- privateNicsCount: number;
812
- placementGroupsCount: number;
813
- volumesScratchCount: number;
813
+ volumesBSsdTotalSize: number;
814
814
  }
815
815
  export interface PlacementGroupServer {
816
816
  /**
@@ -833,7 +833,7 @@ export interface ServerType {
833
833
  /**
834
834
  * @deprecated Estimated monthly price, for a 30 days month, in Euro.
835
835
  */
836
- monthlyPrice?: number;
836
+ monthlyPrice: number;
837
837
  /**
838
838
  * Hourly price in Euro.
839
839
  */
@@ -1282,7 +1282,7 @@ export type CreateServerRequest = {
1282
1282
  /**
1283
1283
  * @deprecated True if IPv6 is enabled on the server (deprecated and always `False` when `routed_ip_enabled` is `True`).
1284
1284
  */
1285
- enableIpv6?: boolean;
1285
+ enableIpv6: boolean;
1286
1286
  /**
1287
1287
  * @deprecated ID of the reserved IP to attach to the Instance.
1288
1288
  */
@@ -55,7 +55,7 @@ export type SetSecurityGroupRequest = {
55
55
  /**
56
56
  * @deprecated Please use project_default instead.
57
57
  */
58
- organizationDefault?: boolean;
58
+ organizationDefault: boolean;
59
59
  /**
60
60
  * True use this security group for future Instances created in this project.
61
61
  */
@@ -140,7 +140,7 @@ export type SetServerRequest = {
140
140
  /**
141
141
  * @deprecated True if IPv6 is enabled (deprecated and always `False` when `routed_ip_enabled` is `True`).
142
142
  */
143
- enableIpv6?: boolean;
143
+ enableIpv6: boolean;
144
144
  /**
145
145
  * Instance host name.
146
146
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-instance",
3
- "version": "2.3.1",
3
+ "version": "2.4.0",
4
4
  "description": "Scaleway SDK instance",
5
5
  "license": "Apache-2.0",
6
6
  "files": [
@@ -27,13 +27,13 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@scaleway/random-name": "5.1.2",
30
- "@scaleway/sdk-std": "2.1.1"
30
+ "@scaleway/sdk-std": "2.2.0"
31
31
  },
32
32
  "peerDependencies": {
33
- "@scaleway/sdk-client": "^2.1.0"
33
+ "@scaleway/sdk-client": "^2.2.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@scaleway/sdk-client": "^2.1.0"
36
+ "@scaleway/sdk-client": "^2.2.0"
37
37
  },
38
38
  "scripts": {
39
39
  "package:check": "pnpm publint",