Skip to content

Commit d203134

Browse files
committed
release 0.0.7-beta source code for nodejs
1 parent 9577e07 commit d203134

35 files changed

+1082
-136
lines changed

CHANGELOG.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,92 @@
1+
# 0.0.7-beta 2023-06-16
2+
3+
### G42Cloud SDK CCE
4+
5+
- _Features_
6+
- None
7+
- _Bug Fix_
8+
- None
9+
- _Change_
10+
- **ShowNode**
11+
- changes of response param
12+
- `+ status.lastProbeTime`
13+
- **UpdateNode**
14+
- changes of response param
15+
- `+ status.lastProbeTime`
16+
- **DeleteNode**
17+
- changes of response param
18+
- `+ status.lastProbeTime`
19+
- **CreateNode**
20+
- changes of response param
21+
- `+ status.lastProbeTime`
22+
- **ListNodes**
23+
- changes of response param
24+
- `+ items.status.lastProbeTime`
25+
26+
### G42Cloud SDK CSE
27+
28+
- _Features_
29+
- None
30+
- _Bug Fix_
31+
- None
32+
- _Change_
33+
- **DownloadKie**
34+
- changes of response param
35+
- `+ data.id`
36+
- **CreateEngine**
37+
- changes of response param
38+
- `+ jobId`
39+
- `- job_id`
40+
- **DeleteEngine**
41+
- changes of response param
42+
- `+ jobId`
43+
- `- job_id`
44+
45+
### G42Cloud SDK ECS
46+
47+
- _Features_
48+
- None
49+
- _Bug Fix_
50+
- None
51+
- _Change_
52+
- **CreateServers**
53+
- changes of request param
54+
- `+ server.data_volumes.delete_on_termination`
55+
- **CreatePostPaidServers**
56+
- changes of request param
57+
- `+ server.data_volumes.delete_on_termination`
58+
59+
### G42Cloud SDK SMN
60+
61+
- _Features_
62+
- Support the following interfaces:
63+
- `UpdateSubscription`
64+
- `ListLogtank`
65+
- `CreateLogtank`
66+
- `UpdateLogtank`
67+
- `DeleteLogtank`
68+
- _Bug Fix_
69+
- None
70+
- _Change_
71+
- **ListTopicDetails**
72+
- changes of response param
73+
- `+ topic_id`
74+
- **ListTopics**
75+
- changes of request param
76+
- `+ topic_id`
77+
- changes of response param
78+
- `+ topics.topic_id`
79+
- **ListTopicAttributes**
80+
- changes of response param
81+
- `+ attributes.access_policy`
82+
- `+ attributes.introduction`
83+
- `- attributes.Version`
84+
- `- attributes.Id`
85+
- `- attributes.Statement`
86+
- **AddSubscription**
87+
- changes of request param
88+
- `+ extension`
89+
190
# 0.0.6-beta 2023-05-12
291

392
### G42Cloud SDK ECS

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@g42cloud/g42cloud-sdk-service",
3-
"version": "0.0.6-beta",
3+
"version": "0.0.7-beta",
44
"description": "g42cloud SDK",
55
"scripts": {
66
"test": "echo \"Error: no test specified\" && exit 1"
@@ -12,6 +12,6 @@
1212
"author": "g42cloud_SDK",
1313
"license": "Apache-2.0",
1414
"dependencies": {
15-
"@g42cloud/g42cloud-sdk-core": "^0.0.6-beta"
15+
"@g42cloud/g42cloud-sdk-core": "^0.0.7-beta"
1616
}
1717
}

services/cce/v3/model/NodeStatus.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { DeleteStatus } from './DeleteStatus';
33

44
export class NodeStatus {
55
public phase?: NodeStatusPhaseEnum;
6+
public lastProbeTime?: string;
67
public jobID?: string;
78
public serverId?: string;
89
public privateIP?: string;
@@ -15,6 +16,10 @@ export class NodeStatus {
1516
this['phase'] = phase;
1617
return this;
1718
}
19+
public withLastProbeTime(lastProbeTime: string): NodeStatus {
20+
this['lastProbeTime'] = lastProbeTime;
21+
return this;
22+
}
1823
public withJobID(jobID: string): NodeStatus {
1924
this['jobID'] = jobID;
2025
return this;

services/cse/v1/model/CreateEngineResponse.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { SdkResponse } from "@g42cloud/g42cloud-sdk-core/SdkResponse";
44
export class CreateEngineResponse extends SdkResponse {
55
public id?: string;
66
public name?: string;
7-
private 'job_id'?: number | undefined;
7+
public jobId?: number;
88
public constructor() {
99
super();
1010
}
@@ -17,13 +17,7 @@ export class CreateEngineResponse extends SdkResponse {
1717
return this;
1818
}
1919
public withJobId(jobId: number): CreateEngineResponse {
20-
this['job_id'] = jobId;
20+
this['jobId'] = jobId;
2121
return this;
2222
}
23-
public set jobId(jobId: number | undefined) {
24-
this['job_id'] = jobId;
25-
}
26-
public get jobId() {
27-
return this['job_id'];
28-
}
2923
}

services/cse/v1/model/CreateKieReq.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11

22

33
export class CreateKieReq {
4+
public id?: string;
45
public key?: string;
56
public labels?: object;
67
public value?: string;
78
private 'value_type'?: string | undefined;
89
public status?: string;
910
public constructor() {
1011
}
12+
public withId(id: string): CreateKieReq {
13+
this['id'] = id;
14+
return this;
15+
}
1116
public withKey(key: string): CreateKieReq {
1217
this['key'] = key;
1318
return this;

services/cse/v1/model/DeleteEngineResponse.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { SdkResponse } from "@g42cloud/g42cloud-sdk-core/SdkResponse";
44
export class DeleteEngineResponse extends SdkResponse {
55
public id?: string;
66
public name?: string;
7-
private 'job_id'?: number | undefined;
7+
public jobId?: number;
88
public constructor() {
99
super();
1010
}
@@ -17,13 +17,7 @@ export class DeleteEngineResponse extends SdkResponse {
1717
return this;
1818
}
1919
public withJobId(jobId: number): DeleteEngineResponse {
20-
this['job_id'] = jobId;
20+
this['jobId'] = jobId;
2121
return this;
2222
}
23-
public set jobId(jobId: number | undefined) {
24-
this['job_id'] = jobId;
25-
}
26-
public get jobId() {
27-
return this['job_id'];
28-
}
2923
}

services/ecs/v2/model/PostPaidServerDataVolume.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export class PostPaidServerDataVolume {
1313
private 'cluster_id'?: string | undefined;
1414
public metadata?: PostPaidServerDataVolumeMetadata;
1515
private 'data_image_id'?: string | undefined;
16+
private 'delete_on_termination'?: boolean | undefined;
1617
public constructor(volumetype?: any, size?: any) {
1718
this['volumetype'] = volumetype;
1819
this['size'] = size;
@@ -81,6 +82,16 @@ export class PostPaidServerDataVolume {
8182
public get dataImageId() {
8283
return this['data_image_id'];
8384
}
85+
public withDeleteOnTermination(deleteOnTermination: boolean): PostPaidServerDataVolume {
86+
this['delete_on_termination'] = deleteOnTermination;
87+
return this;
88+
}
89+
public set deleteOnTermination(deleteOnTermination: boolean | undefined) {
90+
this['delete_on_termination'] = deleteOnTermination;
91+
}
92+
public get deleteOnTermination() {
93+
return this['delete_on_termination'];
94+
}
8495
}
8596

8697
/**

services/ecs/v2/model/PrePaidServerDataVolume.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export class PrePaidServerDataVolume {
1313
private 'cluster_id'?: string | undefined;
1414
public metadata?: PrePaidServerDataVolumeMetadata;
1515
private 'data_image_id'?: string | undefined;
16+
private 'delete_on_termination'?: boolean | undefined;
1617
public constructor(volumetype?: any, size?: any) {
1718
this['volumetype'] = volumetype;
1819
this['size'] = size;
@@ -81,6 +82,16 @@ export class PrePaidServerDataVolume {
8182
public get dataImageId() {
8283
return this['data_image_id'];
8384
}
85+
public withDeleteOnTermination(deleteOnTermination: boolean): PrePaidServerDataVolume {
86+
this['delete_on_termination'] = deleteOnTermination;
87+
return this;
88+
}
89+
public set deleteOnTermination(deleteOnTermination: boolean | undefined) {
90+
this['delete_on_termination'] = deleteOnTermination;
91+
}
92+
public get deleteOnTermination() {
93+
return this['delete_on_termination'];
94+
}
8495
}
8596

8697
/**

0 commit comments

Comments
 (0)