Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1ce6bca

Browse files
committed
Support API DeleteAICPublicKey.
1 parent 1b9d223 commit 1ce6bca

File tree

65 files changed

+3656
-152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+3656
-152
lines changed

‎ens-20171110/ChangeLog.txt‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
2025年10月29日 Version: v10.4.0
2+
- Support API DeleteAICPublicKey.
3+
- Support API DescribeSDGSharedDisks.
4+
- Support API ListAICPublicKeyDeliveries.
5+
- Support API ListAICPublicKeys.
6+
- Support API ManageAICLogin.
7+
- Support API ShareAICImage.
8+
- Support API UploadAICPublicKey.
9+
- Update API DescribeSDGDeploymentStatus: add request parameters DiskIds.
10+
- Update API RunInstances: add request parameters LaunchTemplateId.
11+
- Update API RunInstances: add request parameters LaunchTemplateName.
12+
- Update API RunInstances: add request parameters LaunchTemplateVersion.
13+
14+
115
2025年10月14日 Version: v10.3.1
216
- Update API DescribeEnsEipAddresses: add request parameters IcmpReplyEnabled.
317
- Update API DescribeEnsEipAddresses: add response parameters Body.EipAddresses.$.IcmpReplyEnabled.

‎ens-20171110/client/batch_event_migrate_instance_request_model.go‎

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ type iBatchEventMigrateInstanceRequest interface {
1414
}
1515

1616
type BatchEventMigrateInstanceRequest struct {
17+
// The details of events.
1718
EventInfos []*BatchEventMigrateInstanceRequestEventInfos `json:"EventInfos,omitempty" xml:"EventInfos,omitempty" type:"Repeated"`
1819
}
1920

@@ -48,27 +49,56 @@ func (s *BatchEventMigrateInstanceRequest) Validate() error {
4849
}
4950

5051
type BatchEventMigrateInstanceRequestEventInfos struct {
52+
// The data migration policy. Valid values:
53+
//
54+
// - abandon: does not migrate data. This is the default value.
55+
//
56+
// - force_transfer: forcibly migrates data.
57+
//
58+
// - try_transfer: Migrate data as much as possible.
59+
//
5160
// example:
5261
//
5362
// abandon
5463
DataPolicy *string `json:"DataPolicy,omitempty" xml:"DataPolicy,omitempty"`
64+
// Event ID e-\\*.
65+
//
5566
// This parameter is required.
5667
//
5768
// example:
5869
//
5970
// e-d71ff150945b9c02eb6ebc0016328468
6071
EventId *string `json:"EventId,omitempty" xml:"EventId,omitempty"`
72+
// The type of the O\\&M task. Valid values:
73+
//
74+
// - immediate
75+
//
76+
// - scheduled
77+
//
6178
// This parameter is required.
6279
//
6380
// example:
6481
//
6582
// immediate
66-
OpsType *string `json:"OpsType,omitempty" xml:"OpsType,omitempty"`
83+
OpsType *string `json:"OpsType,omitempty" xml:"OpsType,omitempty"`
84+
// The password of the instance. This parameter is optional. If you do not specify this parameter, a random password is used.
85+
//
86+
// The password must be 8 to 30 characters in length. The password must contain uppercase letters, lowercase letters, digits, and special characters.
87+
//
88+
// Note that you cannot enter a password for scheduled execution.
89+
//
90+
// example:
91+
//
92+
// AAaa1234
6793
Password *string `json:"Password,omitempty" xml:"Password,omitempty"`
94+
// The execution time of the reservation. The timestamp is measured in milliseconds. If the OpsType parameter is set to scheduled, this parameter is required.
95+
//
6896
// example:
6997
//
7098
// 1742452232000
7199
PlanTime *int64 `json:"PlanTime,omitempty" xml:"PlanTime,omitempty"`
100+
// Resource ID i-\\*.
101+
//
72102
// This parameter is required.
73103
//
74104
// example:

‎ens-20171110/client/batch_event_migrate_instance_response_body_model.go‎

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@ type iBatchEventMigrateInstanceResponseBody interface {
1616
}
1717

1818
type BatchEventMigrateInstanceResponseBody struct {
19+
// Request ID.
20+
//
1921
// example:
2022
//
2123
// FF53E96D-3F1A-42F0-8373-1C2B39D72D44
22-
RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
23-
Results []*BatchEventMigrateInstanceResponseBodyResults `json:"Results,omitempty" xml:"Results,omitempty" type:"Repeated"`
24+
RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
25+
// The results.
26+
Results []*BatchEventMigrateInstanceResponseBodyResults `json:"Results,omitempty" xml:"Results,omitempty" type:"Repeated"`
2427
}
2528

2629
func (s BatchEventMigrateInstanceResponseBody) String() string {
@@ -63,18 +66,26 @@ func (s *BatchEventMigrateInstanceResponseBody) Validate() error {
6366
}
6467

6568
type BatchEventMigrateInstanceResponseBodyResults struct {
69+
// The error code.
70+
//
6671
// example:
6772
//
6873
// 200
6974
Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"`
75+
// The ID of the event.
76+
//
7077
// example:
7178
//
7279
// e-d71ff150945b9c02eb6ebc0016328468
7380
EventId *string `json:"EventId,omitempty" xml:"EventId,omitempty"`
81+
// When Code!=200, it indicates the specific error message.
82+
//
7483
// example:
7584
//
7685
// success
7786
Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
87+
// The resource IDs.
88+
//
7889
// example:
7990
//
8091
// i-55qi8m11rr53c4i964md8a00l

‎ens-20171110/client/batch_event_migrate_instance_shrink_request_model.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ type iBatchEventMigrateInstanceShrinkRequest interface {
1414
}
1515

1616
type BatchEventMigrateInstanceShrinkRequest struct {
17+
// The details of events.
1718
EventInfosShrink *string `json:"EventInfos,omitempty" xml:"EventInfos,omitempty"`
1819
}
1920

‎ens-20171110/client/batch_event_reboot_instance_request_model.go‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ type iBatchEventRebootInstanceRequest interface {
1414
}
1515

1616
type BatchEventRebootInstanceRequest struct {
17+
// The details of events.
1718
EventInfos []*BatchEventRebootInstanceRequestEventInfos `json:"EventInfos,omitempty" xml:"EventInfos,omitempty" type:"Repeated"`
1819
}
1920

@@ -48,18 +49,30 @@ func (s *BatchEventRebootInstanceRequest) Validate() error {
4849
}
4950

5051
type BatchEventRebootInstanceRequestEventInfos struct {
52+
// The ID of the system event.
53+
//
5154
// example:
5255
//
5356
// e-4452cec5a8f8eb9b2879a054207687d6
5457
EventId *string `json:"EventId,omitempty" xml:"EventId,omitempty"`
58+
// The type of the O\\&M task.
59+
//
60+
// - immediate
61+
//
62+
// - scheduled
63+
//
5564
// example:
5665
//
5766
// immediate
5867
OpsType *string `json:"OpsType,omitempty" xml:"OpsType,omitempty"`
68+
// The execution time of the reservation. The timestamp is measured in milliseconds. If the OpsType parameter is set to scheduled, this parameter is required.
69+
//
5970
// example:
6071
//
6172
// 1742452232000
6273
PlanTime *int64 `json:"PlanTime,omitempty" xml:"PlanTime,omitempty"`
74+
// A client ID.
75+
//
6376
// example:
6477
//
6578
// n-54hi3ffi63zrjt4wzx9mepeyh

‎ens-20171110/client/batch_event_reboot_instance_response_body_model.go‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ type iBatchEventRebootInstanceResponseBody interface {
1616
}
1717

1818
type BatchEventRebootInstanceResponseBody struct {
19-
// Id of the request
19+
// The ID of the request.
2020
//
2121
// example:
2222
//
2323
// C0003E8B-B930-4F59-ADC0-0E209A9012A8
24-
RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
25-
Results []*BatchEventRebootInstanceResponseBodyResults `json:"Results,omitempty" xml:"Results,omitempty" type:"Repeated"`
24+
RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
25+
// The result.
26+
Results []*BatchEventRebootInstanceResponseBodyResults `json:"Results,omitempty" xml:"Results,omitempty" type:"Repeated"`
2627
}
2728

2829
func (s BatchEventRebootInstanceResponseBody) String() string {
@@ -65,18 +66,26 @@ func (s *BatchEventRebootInstanceResponseBody) Validate() error {
6566
}
6667

6768
type BatchEventRebootInstanceResponseBodyResults struct {
69+
// The status code.
70+
//
6871
// example:
6972
//
7073
// 200
7174
Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"`
75+
// The ID of the system event.
76+
//
7277
// example:
7378
//
7479
// e-d71ff150945b9c02eb6ebc0016328468
7580
EventId *string `json:"EventId,omitempty" xml:"EventId,omitempty"`
81+
// The message of the operation. If the value of the Code parameter is 200, the value of this parameter is successful.
82+
//
7683
// example:
7784
//
7885
// success
7986
Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
87+
// The resource IDs.
88+
//
8089
// example:
8190
//
8291
// i-55qi8m11rr53c4i964md8a00l

‎ens-20171110/client/batch_event_reboot_instance_shrink_request_model.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ type iBatchEventRebootInstanceShrinkRequest interface {
1414
}
1515

1616
type BatchEventRebootInstanceShrinkRequest struct {
17+
// The details of events.
1718
EventInfosShrink *string `json:"EventInfos,omitempty" xml:"EventInfos,omitempty"`
1819
}
1920

‎ens-20171110/client/batch_event_redeploy_instance_request_model.go‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ type iBatchEventRedeployInstanceRequest interface {
1414
}
1515

1616
type BatchEventRedeployInstanceRequest struct {
17+
// List of events.
1718
EventInfos []*BatchEventRedeployInstanceRequestEventInfos `json:"EventInfos,omitempty" xml:"EventInfos,omitempty" type:"Repeated"`
1819
}
1920

@@ -48,18 +49,30 @@ func (s *BatchEventRedeployInstanceRequest) Validate() error {
4849
}
4950

5051
type BatchEventRedeployInstanceRequestEventInfos struct {
52+
// System event ID.
53+
//
5154
// example:
5255
//
5356
// e-d71ff150945b9c02eb6ebc0016328468
5457
EventId *string `json:"EventId,omitempty" xml:"EventId,omitempty"`
58+
// Operation type, value range:
59+
//
60+
// - immediate: Execute immediately.
61+
//
62+
// - scheduled: Scheduled execution.
63+
//
5564
// example:
5665
//
5766
// 1742452232000
5867
OpsType *string `json:"OpsType,omitempty" xml:"OpsType,omitempty"`
68+
// Scheduled execution time, in timestamp, unit is milliseconds. This field is required when OpsType=scheduled.
69+
//
5970
// example:
6071
//
6172
// immediate
6273
PlanTime *int64 `json:"PlanTime,omitempty" xml:"PlanTime,omitempty"`
74+
// Resource ID.
75+
//
6376
// example:
6477
//
6578
// i-55qi8m11rr53c4i964md8a00l

‎ens-20171110/client/batch_event_redeploy_instance_response_body_model.go‎

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@ type iBatchEventRedeployInstanceResponseBody interface {
1616
}
1717

1818
type BatchEventRedeployInstanceResponseBody struct {
19+
// Request ID.
20+
//
1921
// example:
2022
//
2123
// 125B04C7-3D0D-4245-AF96-14E3758E3F06
22-
RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
23-
Results []*BatchEventRedeployInstanceResponseBodyResults `json:"Results,omitempty" xml:"Results,omitempty" type:"Repeated"`
24+
RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
25+
// List of results.
26+
Results []*BatchEventRedeployInstanceResponseBodyResults `json:"Results,omitempty" xml:"Results,omitempty" type:"Repeated"`
2427
}
2528

2629
func (s BatchEventRedeployInstanceResponseBody) String() string {
@@ -63,18 +66,26 @@ func (s *BatchEventRedeployInstanceResponseBody) Validate() error {
6366
}
6467

6568
type BatchEventRedeployInstanceResponseBodyResults struct {
69+
// Status code.
70+
//
6671
// example:
6772
//
6873
// 200
6974
Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"`
75+
// System event ID.
76+
//
7077
// example:
7178
//
7279
// e-d71ff150945b9c02eb6ebc0016328468
7380
EventId *string `json:"EventId,omitempty" xml:"EventId,omitempty"`
81+
// Operational message, when code=200, the message is \\"successful\\".
82+
//
7483
// example:
7584
//
7685
// success
7786
Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
87+
// Resource ID.
88+
//
7889
// example:
7990
//
8091
// i-55qi8m11rr53c4i964md8a00l

‎ens-20171110/client/batch_event_redeploy_instance_shrink_request_model.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ type iBatchEventRedeployInstanceShrinkRequest interface {
1414
}
1515

1616
type BatchEventRedeployInstanceShrinkRequest struct {
17+
// List of events.
1718
EventInfosShrink *string `json:"EventInfos,omitempty" xml:"EventInfos,omitempty"`
1819
}
1920

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /