@alicloud/ecs20140526 7.2.4 → 7.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.
Files changed (147) hide show
  1. package/dist/client.d.ts +163 -166
  2. package/dist/client.js +279 -162
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AcceptInquiredSystemEventRequest.d.ts +0 -7
  5. package/dist/models/AcceptInquiredSystemEventRequest.js.map +1 -1
  6. package/dist/models/AcceptInquiredSystemEventResponseBody.d.ts +0 -3
  7. package/dist/models/AcceptInquiredSystemEventResponseBody.js.map +1 -1
  8. package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +14 -0
  9. package/dist/models/CreateAutoProvisioningGroupRequest.js +25 -1
  10. package/dist/models/CreateAutoProvisioningGroupRequest.js.map +1 -1
  11. package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +14 -0
  12. package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js +25 -1
  13. package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js.map +1 -1
  14. package/dist/models/CreateImagePipelineRequest.d.ts +9 -9
  15. package/dist/models/CreateInstanceRequest.d.ts +6 -2
  16. package/dist/models/CreateInstanceRequest.js.map +1 -1
  17. package/dist/models/CreatePrefixListRequest.d.ts +2 -2
  18. package/dist/models/CreateSnapshotGroupRequest.d.ts +7 -7
  19. package/dist/models/DescribeAutoProvisioningGroupHistoryRequest.d.ts +1 -1
  20. package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.d.ts +42 -0
  21. package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.js.map +1 -1
  22. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.d.ts +32 -0
  23. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.js.map +1 -1
  24. package/dist/models/DescribeAvailableResourceRequest.d.ts +0 -118
  25. package/dist/models/DescribeAvailableResourceRequest.js.map +1 -1
  26. package/dist/models/DescribeAvailableResourceResponseBody.d.ts +9 -75
  27. package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
  28. package/dist/models/DescribeElasticityAssurancesRequest.d.ts +1 -1
  29. package/dist/models/DescribeEniMonitorDataRequest.d.ts +2 -2
  30. package/dist/models/DescribeImagePipelineExecutionsRequest.d.ts +22 -24
  31. package/dist/models/DescribeImagePipelineExecutionsRequest.js.map +1 -1
  32. package/dist/models/DescribeImagePipelineExecutionsResponseBody.d.ts +26 -24
  33. package/dist/models/DescribeImagePipelineExecutionsResponseBody.js.map +1 -1
  34. package/dist/models/DescribeImagePipelinesRequest.d.ts +1 -1
  35. package/dist/models/DescribeImagePipelinesResponseBody.d.ts +2 -2
  36. package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +18 -1
  37. package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
  38. package/dist/models/DescribeInstancesFullStatusRequest.d.ts +2 -1
  39. package/dist/models/DescribeInstancesFullStatusRequest.js.map +1 -1
  40. package/dist/models/DescribeInvocationResultsRequest.d.ts +79 -64
  41. package/dist/models/DescribeInvocationResultsRequest.js.map +1 -1
  42. package/dist/models/DescribeInvocationResultsResponseBody.d.ts +160 -136
  43. package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
  44. package/dist/models/DescribeInvocationsRequest.d.ts +17 -91
  45. package/dist/models/DescribeInvocationsRequest.js.map +1 -1
  46. package/dist/models/DescribeInvocationsResponseBody.d.ts +225 -172
  47. package/dist/models/DescribeInvocationsResponseBody.js.map +1 -1
  48. package/dist/models/DescribeManagedInstancesRequest.d.ts +18 -0
  49. package/dist/models/DescribeManagedInstancesRequest.js.map +1 -1
  50. package/dist/models/DescribeNetworkInterfaceAttributeResponseBody.d.ts +52 -0
  51. package/dist/models/DescribeNetworkInterfaceAttributeResponseBody.js +57 -1
  52. package/dist/models/DescribeNetworkInterfaceAttributeResponseBody.js.map +1 -1
  53. package/dist/models/DescribeSnapshotGroupsResponseBody.d.ts +1 -1
  54. package/dist/models/DescribeSnapshotPackageRequest.d.ts +3 -3
  55. package/dist/models/DisableNetworkInterfaceQoSrequest.d.ts +33 -0
  56. package/dist/models/DisableNetworkInterfaceQoSrequest.js +68 -0
  57. package/dist/models/DisableNetworkInterfaceQoSrequest.js.map +1 -0
  58. package/dist/models/DisableNetworkInterfaceQoSresponse.d.ts +19 -0
  59. package/dist/models/DisableNetworkInterfaceQoSresponse.js +69 -0
  60. package/dist/models/DisableNetworkInterfaceQoSresponse.js.map +1 -0
  61. package/dist/models/DisableNetworkInterfaceQoSresponseBody.d.ts +18 -0
  62. package/dist/models/DisableNetworkInterfaceQoSresponseBody.js +58 -0
  63. package/dist/models/DisableNetworkInterfaceQoSresponseBody.js.map +1 -0
  64. package/dist/models/EnableNetworkInterfaceQoSrequest.d.ts +71 -0
  65. package/dist/models/EnableNetworkInterfaceQoSrequest.js +100 -0
  66. package/dist/models/EnableNetworkInterfaceQoSrequest.js.map +1 -0
  67. package/dist/models/EnableNetworkInterfaceQoSresponse.d.ts +19 -0
  68. package/dist/models/EnableNetworkInterfaceQoSresponse.js +69 -0
  69. package/dist/models/EnableNetworkInterfaceQoSresponse.js.map +1 -0
  70. package/dist/models/EnableNetworkInterfaceQoSresponseBody.d.ts +18 -0
  71. package/dist/models/EnableNetworkInterfaceQoSresponseBody.js +58 -0
  72. package/dist/models/EnableNetworkInterfaceQoSresponseBody.js.map +1 -0
  73. package/dist/models/ModifyCloudAssistantSettingsRequest.d.ts +2 -1
  74. package/dist/models/ModifyCloudAssistantSettingsRequest.js.map +1 -1
  75. package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.d.ts +2 -1
  76. package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.js.map +1 -1
  77. package/dist/models/ModifyDedicatedHostsChargeTypeRequest.d.ts +8 -8
  78. package/dist/models/ModifyInstanceMetadataOptionsRequest.d.ts +8 -1
  79. package/dist/models/ModifyInstanceMetadataOptionsRequest.js.map +1 -1
  80. package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +1 -1
  81. package/dist/models/ModifySecurityGroupEgressRuleRequest.d.ts +14 -2
  82. package/dist/models/ModifySecurityGroupEgressRuleRequest.js.map +1 -1
  83. package/dist/models/ModifySecurityGroupRuleRequest.d.ts +14 -2
  84. package/dist/models/ModifySecurityGroupRuleRequest.js.map +1 -1
  85. package/dist/models/OpenSnapshotServiceRequest.d.ts +26 -0
  86. package/dist/models/OpenSnapshotServiceRequest.js +64 -0
  87. package/dist/models/OpenSnapshotServiceRequest.js.map +1 -0
  88. package/dist/models/OpenSnapshotServiceResponse.d.ts +19 -0
  89. package/dist/models/OpenSnapshotServiceResponse.js +69 -0
  90. package/dist/models/OpenSnapshotServiceResponse.js.map +1 -0
  91. package/dist/models/OpenSnapshotServiceResponseBody.d.ts +21 -0
  92. package/dist/models/OpenSnapshotServiceResponseBody.js +58 -0
  93. package/dist/models/OpenSnapshotServiceResponseBody.js.map +1 -0
  94. package/dist/models/ReleaseDedicatedHostRequest.d.ts +12 -0
  95. package/dist/models/ReleaseDedicatedHostRequest.js.map +1 -1
  96. package/dist/models/model.d.ts +14 -0
  97. package/dist/models/model.js +93 -65
  98. package/dist/models/model.js.map +1 -1
  99. package/package.json +1 -1
  100. package/src/client.ts +304 -162
  101. package/src/models/AcceptInquiredSystemEventRequest.ts +0 -7
  102. package/src/models/AcceptInquiredSystemEventResponseBody.ts +0 -3
  103. package/src/models/CreateAutoProvisioningGroupRequest.ts +29 -0
  104. package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +29 -0
  105. package/src/models/CreateImagePipelineRequest.ts +9 -9
  106. package/src/models/CreateInstanceRequest.ts +6 -2
  107. package/src/models/CreatePrefixListRequest.ts +2 -2
  108. package/src/models/CreateSnapshotGroupRequest.ts +7 -7
  109. package/src/models/DescribeAutoProvisioningGroupHistoryRequest.ts +1 -1
  110. package/src/models/DescribeAutoSnapshotPolicyAssociationsRequest.ts +42 -0
  111. package/src/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.ts +32 -0
  112. package/src/models/DescribeAvailableResourceRequest.ts +0 -118
  113. package/src/models/DescribeAvailableResourceResponseBody.ts +9 -75
  114. package/src/models/DescribeElasticityAssurancesRequest.ts +1 -1
  115. package/src/models/DescribeEniMonitorDataRequest.ts +2 -2
  116. package/src/models/DescribeImagePipelineExecutionsRequest.ts +22 -24
  117. package/src/models/DescribeImagePipelineExecutionsResponseBody.ts +26 -24
  118. package/src/models/DescribeImagePipelinesRequest.ts +1 -1
  119. package/src/models/DescribeImagePipelinesResponseBody.ts +2 -2
  120. package/src/models/DescribeInstanceAttributeResponseBody.ts +18 -1
  121. package/src/models/DescribeInstancesFullStatusRequest.ts +2 -1
  122. package/src/models/DescribeInvocationResultsRequest.ts +79 -64
  123. package/src/models/DescribeInvocationResultsResponseBody.ts +160 -136
  124. package/src/models/DescribeInvocationsRequest.ts +17 -91
  125. package/src/models/DescribeInvocationsResponseBody.ts +225 -172
  126. package/src/models/DescribeManagedInstancesRequest.ts +18 -0
  127. package/src/models/DescribeNetworkInterfaceAttributeResponseBody.ts +90 -0
  128. package/src/models/DescribeSnapshotGroupsResponseBody.ts +1 -1
  129. package/src/models/DescribeSnapshotPackageRequest.ts +3 -3
  130. package/src/models/DisableNetworkInterfaceQoSrequest.ts +56 -0
  131. package/src/models/DisableNetworkInterfaceQoSresponse.ts +40 -0
  132. package/src/models/DisableNetworkInterfaceQoSresponseBody.ts +31 -0
  133. package/src/models/EnableNetworkInterfaceQoSrequest.ts +117 -0
  134. package/src/models/EnableNetworkInterfaceQoSresponse.ts +40 -0
  135. package/src/models/EnableNetworkInterfaceQoSresponseBody.ts +31 -0
  136. package/src/models/ModifyCloudAssistantSettingsRequest.ts +2 -1
  137. package/src/models/ModifyCloudAssistantSettingsShrinkRequest.ts +2 -1
  138. package/src/models/ModifyDedicatedHostsChargeTypeRequest.ts +8 -8
  139. package/src/models/ModifyInstanceMetadataOptionsRequest.ts +8 -1
  140. package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +1 -1
  141. package/src/models/ModifySecurityGroupEgressRuleRequest.ts +14 -2
  142. package/src/models/ModifySecurityGroupRuleRequest.ts +14 -2
  143. package/src/models/OpenSnapshotServiceRequest.ts +45 -0
  144. package/src/models/OpenSnapshotServiceResponse.ts +40 -0
  145. package/src/models/OpenSnapshotServiceResponseBody.ts +34 -0
  146. package/src/models/ReleaseDedicatedHostRequest.ts +12 -0
  147. package/src/models/model.ts +14 -0
@@ -5,11 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeInvocationResultsRequestTag extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The key of tag N of the command task. Valid values of N: 1 to 20. The tag key cannot be an empty string.
9
- *
10
- * If a single tag is specified to query resources, up to 1,000 resources that have this tag added can be displayed in the response. If multiple tags are specified to query resources, up to 1,000 resources that have all these tags added can be displayed in the response. To query more than 1,000 resources that have specified tags added, call the [ListTagResources](https://help.aliyun.com/document_detail/110425.html) operation.
11
- *
12
- * The tag key can be up to 64 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
8
+ * The ID of the instance.
13
9
  *
14
10
  * @example
15
11
  * TestKey
@@ -17,9 +13,7 @@ export class DescribeInvocationResultsRequestTag extends $dara.Model {
17
13
  key?: string;
18
14
  /**
19
15
  * @remarks
20
- * The value of tag N of the command task. Valid values of N: 1 to 20. The tag value can be an empty string.
21
- *
22
- * The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`.
16
+ * The ID of the command task. You can call the [DescribeInvocations](https://help.aliyun.com/document_detail/64840.html) operation to query the IDs of all command tasks.
23
17
  *
24
18
  * @example
25
19
  * TestValue
@@ -51,7 +45,7 @@ export class DescribeInvocationResultsRequestTag extends $dara.Model {
51
45
  export class DescribeInvocationResultsRequest extends $dara.Model {
52
46
  /**
53
47
  * @remarks
54
- * The ID of the command.
48
+ * $.parameters[11].schema.example
55
49
  *
56
50
  * @example
57
51
  * c-hz0jdfwcsr****
@@ -59,12 +53,38 @@ export class DescribeInvocationResultsRequest extends $dara.Model {
59
53
  commandId?: string;
60
54
  /**
61
55
  * @remarks
62
- * The encoding mode of the `CommandContent` and `Output` values in the response. Valid values:
63
- *
64
- * * PlainText: returns the original command content and command output.
65
- * * Base64: returns the Base64-encoded command content and command output.
66
- *
67
- * Default value: Base64.
56
+ * <DescribeInvocationResultsResponse>
57
+ * <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE*****</RequestId>
58
+ * <Invocation>
59
+ * <InvocationResults>
60
+ * <InvocationResult>
61
+ * <Dropped>0</Dropped>
62
+ * <InvocationStatus>Success</InvocationStatus>
63
+ * <InstanceId>i-bp1i7gg30r52z2em****</InstanceId>
64
+ * <ExitCode>0</ExitCode>
65
+ * <ErrorInfo>the specified instance does not exists</ErrorInfo>
66
+ * <StartTime>2019-12-20T06:15:55Z</StartTime>
67
+ * <Repeats>0</Repeats>
68
+ * <InvokeRecordStatus>Running</InvokeRecordStatus>
69
+ * <FinishedTime>2019-12-20T06:15:56Z</FinishedTime>
70
+ * <Output>MTU6MzA6MDEK</Output>
71
+ * <CommandId>c-hz0jdfwcsr****</CommandId>
72
+ * <ErrorCode>InstanceNotExists</ErrorCode>
73
+ * <InvokeId>t-hz0jdfwd9f****</InvokeId>
74
+ * <StopTime>2020-01-19T09:15:47Z</StopTime>
75
+ * <ContainerId>ab141ddfbacfe02d9dbc25966ed971536124527097398d419a6746873fea****</ContainerId>
76
+ * <ContainerName>test-container</ContainerName>
77
+ * <Tags>
78
+ * <TagKey>owner</TagKey>
79
+ * <TagValue>zhangsan</TagValue>
80
+ * </Tags>
81
+ * </InvocationResult>
82
+ * </InvocationResults>
83
+ * <TotalCount>1</TotalCount>
84
+ * <PageSize>1</PageSize>
85
+ * <PageNumber>1</PageNumber>
86
+ * </Invocation>
87
+ * </DescribeInvocationResultsResponse>
68
88
  *
69
89
  * @example
70
90
  * PlainText
@@ -72,12 +92,40 @@ export class DescribeInvocationResultsRequest extends $dara.Model {
72
92
  contentEncoding?: string;
73
93
  /**
74
94
  * @remarks
75
- * Specifies whether to return the results of historical scheduled executions. Valid values:
76
- *
77
- * * true: returns the results of historical scheduled executions. If you set this parameter to true, you must set InvokeId to the ID of a task that is run on a schedule (RepeatMode set to Period) or on each system startup (RepeatMode set to EveryReboot).
78
- * * false: does not return the results of historical scheduled executions.
79
- *
80
- * Default value: false.
95
+ * {
96
+ * "RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE*****",
97
+ * "Invocation" : {
98
+ * "InvocationResults" : {
99
+ * "InvocationResult" : [ {
100
+ * "Dropped" : 0,
101
+ * "InvocationStatus" : "Success",
102
+ * "InstanceId" : "i-bp1i7gg30r52z2em****",
103
+ * "ExitCode" : 0,
104
+ * "ErrorInfo" : "the specified instance does not exists",
105
+ * "StartTime" : "2019-12-20T06:15:55Z",
106
+ * "Repeats" : 0,
107
+ * "InvokeRecordStatus" : "Running",
108
+ * "FinishedTime" : "2019-12-20T06:15:56Z",
109
+ * "Output" : "MTU6MzA6MDEK",
110
+ * "CommandId" : "c-hz0jdfwcsr****",
111
+ * "ErrorCode" : "InstanceNotExists",
112
+ * "InvokeId" : "t-hz0jdfwd9f****",
113
+ * "StopTime" : "2020-01-19T09:15:47Z",
114
+ * "ContainerId":"ab141ddfbacfe02d9dbc25966ed971536124527097398d419a6746873fea****",
115
+ * "ContainerName":"test-container",
116
+ * "Tags": [
117
+ * {
118
+ * "TagKey": "owner",
119
+ * "TagValue": "zhangsan"
120
+ * }
121
+ * ]
122
+ * } ]
123
+ * },
124
+ * "TotalCount" : 1,
125
+ * "PageSize" : 1,
126
+ * "PageNumber" : 1
127
+ * }
128
+ * }
81
129
  *
82
130
  * @example
83
131
  * false
@@ -85,7 +133,7 @@ export class DescribeInvocationResultsRequest extends $dara.Model {
85
133
  includeHistory?: boolean;
86
134
  /**
87
135
  * @remarks
88
- * The ID of the instance.
136
+ * $.parameters[11].schema.description
89
137
  *
90
138
  * @example
91
139
  * i-bp1i7gg30r52z2em****
@@ -93,7 +141,7 @@ export class DescribeInvocationResultsRequest extends $dara.Model {
93
141
  instanceId?: string;
94
142
  /**
95
143
  * @remarks
96
- * The ID of the command task. You can call the [DescribeInvocations](https://help.aliyun.com/document_detail/64840.html) operation to query the IDs of all command tasks.
144
+ * $.parameters[11].schema.items.enumValueTitles
97
145
  *
98
146
  * @example
99
147
  * t-hz0jdfwd9f****
@@ -101,36 +149,7 @@ export class DescribeInvocationResultsRequest extends $dara.Model {
101
149
  invokeId?: string;
102
150
  /**
103
151
  * @remarks
104
- * The execution status of the command task. Valid values:
105
- *
106
- * * Running:
107
- *
108
- * * Scheduled task: Before you stop the scheduled execution of the command, the execution state is always Running.
109
- * * One-time task: If the command is being run on instances, the execution state is Running.
110
- *
111
- * * Finished:
112
- *
113
- * * Scheduled task: The execution state can never be Finished.
114
- * * One-time task: The execution is complete on all instances, or the execution is stopped on some instances and is complete on the other instances.
115
- *
116
- * * Success:
117
- *
118
- * * One-time task: The execution is complete, and the exit code is 0.
119
- * * Scheduled task: The last execution is complete, the exit code is 0, and the specified period ends.
120
- *
121
- * * Failed:
122
- *
123
- * * Scheduled task: The execution state can never be Failed.
124
- * * One-time task: The execution fails on all instances.
125
- *
126
- * * PartialFailed:
127
- *
128
- * * Scheduled task: The execution state can never be PartialFailed.
129
- * * One-time task: The execution fails on some instances.
130
- *
131
- * * Stopped: The task is stopped.
132
- *
133
- * * Stopping: The task is being stopped.
152
+ * $.parameters[11].schema.enumValueTitles
134
153
  *
135
154
  * @example
136
155
  * Running
@@ -138,11 +157,7 @@ export class DescribeInvocationResultsRequest extends $dara.Model {
138
157
  invokeRecordStatus?: string;
139
158
  /**
140
159
  * @remarks
141
- * The maximum number of entries per page.
142
- *
143
- * Valid values: 1 to 50.
144
- *
145
- * Default value: 10.
160
+ * FEATUREecsXZ3H4M
146
161
  *
147
162
  * @example
148
163
  * 10
@@ -150,7 +165,7 @@ export class DescribeInvocationResultsRequest extends $dara.Model {
150
165
  maxResults?: number;
151
166
  /**
152
167
  * @remarks
153
- * The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.
168
+ * dubbo
154
169
  *
155
170
  * @example
156
171
  * AAAAAdDWBF2
@@ -160,7 +175,7 @@ export class DescribeInvocationResultsRequest extends $dara.Model {
160
175
  ownerId?: number;
161
176
  /**
162
177
  * @remarks
163
- * > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
178
+ * acs:ecs:{#regionId}:{#accountId}:command/*
164
179
  *
165
180
  * @example
166
181
  * 1
@@ -168,7 +183,7 @@ export class DescribeInvocationResultsRequest extends $dara.Model {
168
183
  pageNumber?: number;
169
184
  /**
170
185
  * @remarks
171
- * > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
186
+ * acs:ecs:{#regionId}:{#accountId}:instance/*
172
187
  *
173
188
  * @example
174
189
  * 1
@@ -176,7 +191,7 @@ export class DescribeInvocationResultsRequest extends $dara.Model {
176
191
  pageSize?: number;
177
192
  /**
178
193
  * @remarks
179
- * The region ID of the command. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
194
+ * $.parameters[11].schema.items.description
180
195
  *
181
196
  * This parameter is required.
182
197
  *
@@ -186,7 +201,7 @@ export class DescribeInvocationResultsRequest extends $dara.Model {
186
201
  regionId?: string;
187
202
  /**
188
203
  * @remarks
189
- * The ID of the resource group. After you set this parameter, command execution results in the specified resource group are queried.
204
+ * $.parameters[11].schema.items.example
190
205
  *
191
206
  * @example
192
207
  * rg-bp67acfmxazb4p****
@@ -196,7 +211,7 @@ export class DescribeInvocationResultsRequest extends $dara.Model {
196
211
  resourceOwnerId?: number;
197
212
  /**
198
213
  * @remarks
199
- * The tags of the command task.
214
+ * The region ID of the command. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
200
215
  */
201
216
  tag?: DescribeInvocationResultsRequestTag[];
202
217
  static names(): { [key: string]: string } {