@scaleway/sdk-dedibox 1.0.3 → 1.2.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.
|
@@ -396,6 +396,7 @@ const unmarshalServer = (data) => {
|
|
|
396
396
|
unmarshalNetworkInterface
|
|
397
397
|
),
|
|
398
398
|
ipv6Slaac: data.ipv6_slaac,
|
|
399
|
+
isHds: data.is_hds,
|
|
399
400
|
isOutsourced: data.is_outsourced,
|
|
400
401
|
isRpnv2Member: data.is_rpnv2_member,
|
|
401
402
|
level: data.level ? unmarshalServiceLevel(data.level) : void 0,
|
|
@@ -1099,6 +1100,7 @@ const unmarshalServerSummary = (data) => {
|
|
|
1099
1100
|
data.interfaces,
|
|
1100
1101
|
unmarshalNetworkInterface
|
|
1101
1102
|
),
|
|
1103
|
+
isHds: data.is_hds,
|
|
1102
1104
|
isOutsourced: data.is_outsourced,
|
|
1103
1105
|
level: data.level ? unmarshalServiceLevel(data.level) : void 0,
|
|
1104
1106
|
offerId: data.offer_id,
|
|
@@ -394,6 +394,7 @@ const unmarshalServer = (data) => {
|
|
|
394
394
|
unmarshalNetworkInterface
|
|
395
395
|
),
|
|
396
396
|
ipv6Slaac: data.ipv6_slaac,
|
|
397
|
+
isHds: data.is_hds,
|
|
397
398
|
isOutsourced: data.is_outsourced,
|
|
398
399
|
isRpnv2Member: data.is_rpnv2_member,
|
|
399
400
|
level: data.level ? unmarshalServiceLevel(data.level) : void 0,
|
|
@@ -1097,6 +1098,7 @@ const unmarshalServerSummary = (data) => {
|
|
|
1097
1098
|
data.interfaces,
|
|
1098
1099
|
unmarshalNetworkInterface
|
|
1099
1100
|
),
|
|
1101
|
+
isHds: data.is_hds,
|
|
1100
1102
|
isOutsourced: data.is_outsourced,
|
|
1101
1103
|
level: data.level ? unmarshalServiceLevel(data.level) : void 0,
|
|
1102
1104
|
offerId: data.offer_id,
|
package/dist/v1/types.gen.d.ts
CHANGED
|
@@ -566,6 +566,10 @@ export interface Server {
|
|
|
566
566
|
* Whether or not the server is already part of an rpnv2 group.
|
|
567
567
|
*/
|
|
568
568
|
isRpnv2Member: boolean;
|
|
569
|
+
/**
|
|
570
|
+
* Whether or not the server is HDS.
|
|
571
|
+
*/
|
|
572
|
+
isHds: boolean;
|
|
569
573
|
}
|
|
570
574
|
export interface FailoverBlock {
|
|
571
575
|
/**
|
|
@@ -1145,6 +1149,10 @@ export interface ServerSummary {
|
|
|
1145
1149
|
* Supported RPN version.
|
|
1146
1150
|
*/
|
|
1147
1151
|
rpnVersion?: number;
|
|
1152
|
+
/**
|
|
1153
|
+
* Whether or not the server is HDS.
|
|
1154
|
+
*/
|
|
1155
|
+
isHds: boolean;
|
|
1148
1156
|
}
|
|
1149
1157
|
export interface CPU {
|
|
1150
1158
|
/**
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-dedibox",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Scaleway SDK dedibox",
|
|
5
|
-
"
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@scaleway/random-name": "5.1.1",
|
|
33
|
-
"@scaleway/sdk-std": "1.0.
|
|
33
|
+
"@scaleway/sdk-std": "1.0.4"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@scaleway/sdk-client": "^1.2.
|
|
36
|
+
"@scaleway/sdk-client": "^1.2.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@scaleway/sdk-client": "^1.2.
|
|
39
|
+
"@scaleway/sdk-client": "^1.2.3"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"package:check": "pnpm publint",
|