@alicloud/ecs20140526 7.2.4 → 7.3.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 (119) hide show
  1. package/dist/client.d.ts +133 -166
  2. package/dist/client.js +162 -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/DescribeSnapshotGroupsResponseBody.d.ts +1 -1
  51. package/dist/models/DescribeSnapshotPackageRequest.d.ts +3 -3
  52. package/dist/models/ModifyCloudAssistantSettingsRequest.d.ts +2 -1
  53. package/dist/models/ModifyCloudAssistantSettingsRequest.js.map +1 -1
  54. package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.d.ts +2 -1
  55. package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.js.map +1 -1
  56. package/dist/models/ModifyDedicatedHostsChargeTypeRequest.d.ts +8 -8
  57. package/dist/models/ModifyInstanceMetadataOptionsRequest.d.ts +8 -1
  58. package/dist/models/ModifyInstanceMetadataOptionsRequest.js.map +1 -1
  59. package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +1 -1
  60. package/dist/models/ModifySecurityGroupEgressRuleRequest.d.ts +14 -2
  61. package/dist/models/ModifySecurityGroupEgressRuleRequest.js.map +1 -1
  62. package/dist/models/ModifySecurityGroupRuleRequest.d.ts +14 -2
  63. package/dist/models/ModifySecurityGroupRuleRequest.js.map +1 -1
  64. package/dist/models/OpenSnapshotServiceRequest.d.ts +26 -0
  65. package/dist/models/OpenSnapshotServiceRequest.js +64 -0
  66. package/dist/models/OpenSnapshotServiceRequest.js.map +1 -0
  67. package/dist/models/OpenSnapshotServiceResponse.d.ts +19 -0
  68. package/dist/models/OpenSnapshotServiceResponse.js +69 -0
  69. package/dist/models/OpenSnapshotServiceResponse.js.map +1 -0
  70. package/dist/models/OpenSnapshotServiceResponseBody.d.ts +21 -0
  71. package/dist/models/OpenSnapshotServiceResponseBody.js +58 -0
  72. package/dist/models/OpenSnapshotServiceResponseBody.js.map +1 -0
  73. package/dist/models/ReleaseDedicatedHostRequest.d.ts +12 -0
  74. package/dist/models/ReleaseDedicatedHostRequest.js.map +1 -1
  75. package/dist/models/model.d.ts +5 -0
  76. package/dist/models/model.js +69 -59
  77. package/dist/models/model.js.map +1 -1
  78. package/package.json +1 -1
  79. package/src/client.ts +168 -162
  80. package/src/models/AcceptInquiredSystemEventRequest.ts +0 -7
  81. package/src/models/AcceptInquiredSystemEventResponseBody.ts +0 -3
  82. package/src/models/CreateAutoProvisioningGroupRequest.ts +29 -0
  83. package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +29 -0
  84. package/src/models/CreateImagePipelineRequest.ts +9 -9
  85. package/src/models/CreateInstanceRequest.ts +6 -2
  86. package/src/models/CreatePrefixListRequest.ts +2 -2
  87. package/src/models/CreateSnapshotGroupRequest.ts +7 -7
  88. package/src/models/DescribeAutoProvisioningGroupHistoryRequest.ts +1 -1
  89. package/src/models/DescribeAutoSnapshotPolicyAssociationsRequest.ts +42 -0
  90. package/src/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.ts +32 -0
  91. package/src/models/DescribeAvailableResourceRequest.ts +0 -118
  92. package/src/models/DescribeAvailableResourceResponseBody.ts +9 -75
  93. package/src/models/DescribeElasticityAssurancesRequest.ts +1 -1
  94. package/src/models/DescribeEniMonitorDataRequest.ts +2 -2
  95. package/src/models/DescribeImagePipelineExecutionsRequest.ts +22 -24
  96. package/src/models/DescribeImagePipelineExecutionsResponseBody.ts +26 -24
  97. package/src/models/DescribeImagePipelinesRequest.ts +1 -1
  98. package/src/models/DescribeImagePipelinesResponseBody.ts +2 -2
  99. package/src/models/DescribeInstanceAttributeResponseBody.ts +18 -1
  100. package/src/models/DescribeInstancesFullStatusRequest.ts +2 -1
  101. package/src/models/DescribeInvocationResultsRequest.ts +79 -64
  102. package/src/models/DescribeInvocationResultsResponseBody.ts +160 -136
  103. package/src/models/DescribeInvocationsRequest.ts +17 -91
  104. package/src/models/DescribeInvocationsResponseBody.ts +225 -172
  105. package/src/models/DescribeManagedInstancesRequest.ts +18 -0
  106. package/src/models/DescribeSnapshotGroupsResponseBody.ts +1 -1
  107. package/src/models/DescribeSnapshotPackageRequest.ts +3 -3
  108. package/src/models/ModifyCloudAssistantSettingsRequest.ts +2 -1
  109. package/src/models/ModifyCloudAssistantSettingsShrinkRequest.ts +2 -1
  110. package/src/models/ModifyDedicatedHostsChargeTypeRequest.ts +8 -8
  111. package/src/models/ModifyInstanceMetadataOptionsRequest.ts +8 -1
  112. package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +1 -1
  113. package/src/models/ModifySecurityGroupEgressRuleRequest.ts +14 -2
  114. package/src/models/ModifySecurityGroupRuleRequest.ts +14 -2
  115. package/src/models/OpenSnapshotServiceRequest.ts +45 -0
  116. package/src/models/OpenSnapshotServiceResponse.ts +40 -0
  117. package/src/models/OpenSnapshotServiceResponseBody.ts +34 -0
  118. package/src/models/ReleaseDedicatedHostRequest.ts +12 -0
  119. package/src/models/model.ts +5 -0
@@ -5,11 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeInvocationsRequestTag extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The key of tag N of the command. You can specify up to 20 tag keys for the command. 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 contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.
8
+ * The command task ID.
13
9
  *
14
10
  * @example
15
11
  * TestKey
@@ -17,7 +13,7 @@ export class DescribeInvocationsRequestTag extends $dara.Model {
17
13
  key?: string;
18
14
  /**
19
15
  * @remarks
20
- * The value of tag N of the command. You can specify up to 20 tag values for the command. The tag value can be an empty string. It can be up to 128 characters in length and cannot contain `http://` or `https://`.
16
+ * The ID of the resource group. After you set this parameter, command execution results in the specified resource group are queried.
21
17
  *
22
18
  * @example
23
19
  * TestValue
@@ -49,7 +45,7 @@ export class DescribeInvocationsRequestTag extends $dara.Model {
49
45
  export class DescribeInvocationsRequest extends $dara.Model {
50
46
  /**
51
47
  * @remarks
52
- * The command ID. You can call the [DescribeCommands](https://help.aliyun.com/document_detail/64843.html) operation to query all available command IDs.
48
+ * $.parameters[15].schema.items.description
53
49
  *
54
50
  * @example
55
51
  * c-hz0jdfwcsr****
@@ -57,7 +53,7 @@ export class DescribeInvocationsRequest extends $dara.Model {
57
53
  commandId?: string;
58
54
  /**
59
55
  * @remarks
60
- * The command name. If you specify both this parameter and `InstanceId`, this parameter does not take effect.
56
+ * $.parameters[15].schema.items.example
61
57
  *
62
58
  * @example
63
59
  * CommandTestName
@@ -65,45 +61,25 @@ export class DescribeInvocationsRequest extends $dara.Model {
65
61
  commandName?: string;
66
62
  /**
67
63
  * @remarks
68
- * The command type. Valid values:
69
- *
70
- * * RunBatScript: batch command, applicable to Windows instances.
71
- * * RunPowerShellScript: PowerShell command, applicable to Windows instances.
72
- * * RunShellScript: shell command, applicable to Linux instances.
64
+ * $.parameters[15].schema.items.enumValueTitles
73
65
  *
74
66
  * @example
75
67
  * RunShellScript
76
68
  */
77
69
  commandType?: string;
78
70
  /**
79
- * @remarks
80
- * The encoding mode of the `CommandContent` and `Output` response parameters. Valid values:
81
- *
82
- * * PlainText: returns the original command content and command outputs.
83
- * * Base64: returns the Base64-encoded command content and command outputs.
84
- *
85
- * Default value: Base64.
86
- *
87
71
  * @example
88
72
  * PlainText
89
73
  */
90
74
  contentEncoding?: string;
91
75
  /**
92
- * @remarks
93
- * Specifies whether to return the command outputs in the response.
94
- *
95
- * * true: The command outputs are returned. When this parameter is set to true, you must specify `InvokeId`, `InstanceId`, or both.
96
- * * false: The command outputs are not returned.
97
- *
98
- * Default value: false
99
- *
100
76
  * @example
101
77
  * false
102
78
  */
103
79
  includeOutput?: boolean;
104
80
  /**
105
81
  * @remarks
106
- * The ID of instance N. When you specify this parameter, the system queries all the execution records of all the commands that run on the instance.
82
+ * $.parameters[15].schema.enumValueTitles
107
83
  *
108
84
  * @example
109
85
  * i-bp1i7gg30r52z2em****
@@ -111,7 +87,7 @@ export class DescribeInvocationsRequest extends $dara.Model {
111
87
  instanceId?: string;
112
88
  /**
113
89
  * @remarks
114
- * The command task ID.
90
+ * $.parameters[15].schema.items.properties.Value.enumValueTitles
115
91
  *
116
92
  * @example
117
93
  * t-hz0jdfwd9f****
@@ -119,37 +95,7 @@ export class DescribeInvocationsRequest extends $dara.Model {
119
95
  invokeId?: string;
120
96
  /**
121
97
  * @remarks
122
- * The overall execution status of the command task. The value of this parameter depends on the execution states of the command task on all involved instances. Valid values:
123
- *
124
- * * Running:
125
- *
126
- * * Scheduled task: Before you stop the scheduled execution of the command, the overall execution state is always Running.
127
- * * One-time task: If the command is being run on instances, the overall execution state is Running.
128
- *
129
- * * Finished:
130
- *
131
- * * Scheduled task: The overall execution state can never be Finished.
132
- * * 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.
133
- *
134
- * * Success: If the execution state on at least one instance is Success and the execution state on the other instances is Stopped or Success, the overall execution state is Success.
135
- *
136
- * * One-time task: The execution is complete, and the exit code is 0.
137
- * * Scheduled task: The last execution is complete, the exit code is 0, and the specified period ends.
138
- *
139
- * * Failed:
140
- *
141
- * * Scheduled task: The overall execution state can never be Failed.
142
- * * One-time task: The execution failed on all instances.
143
- *
144
- * * Stopped: The task is stopped.
145
- *
146
- * * Stopping: The task is being stopped.
147
- *
148
- * * PartialFailed: The task fails on some instances. If you specify both this parameter and `InstanceId`, this parameter does not take effect.
149
- *
150
- * * Pending: The command is being verified or sent. If the execution state on at least one instance is Pending, the overall execution state is Pending.
151
- *
152
- * * Scheduled: The command that is set to run on a schedule is sent and waiting to be run. If the execution state on at least one instance is Scheduled, the overall execution state is Scheduled.
98
+ * $.parameters[15].schema.example
153
99
  *
154
100
  * @example
155
101
  * Finished
@@ -157,11 +103,7 @@ export class DescribeInvocationsRequest extends $dara.Model {
157
103
  invokeStatus?: string;
158
104
  /**
159
105
  * @remarks
160
- * The maximum number of entries per page.
161
- *
162
- * Valid values: 1 to 50.
163
- *
164
- * Default value: 10.
106
+ * acs:ecs:{#regionId}:{#accountId}:instance/*
165
107
  *
166
108
  * @example
167
109
  * 10
@@ -169,7 +111,7 @@ export class DescribeInvocationsRequest extends $dara.Model {
169
111
  maxResults?: number;
170
112
  /**
171
113
  * @remarks
172
- * The pagination token that is used in the next request to retrieve a new page of results. You must specify the token that is obtained from the previous query as the value of NextToken.
114
+ * Instance
173
115
  *
174
116
  * @example
175
117
  * AAAAAdDWBF2
@@ -179,7 +121,7 @@ export class DescribeInvocationsRequest extends $dara.Model {
179
121
  ownerId?: number;
180
122
  /**
181
123
  * @remarks
182
- * > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
124
+ * acs:ecs:{#regionId}:{#accountId}:command/*
183
125
  *
184
126
  * @example
185
127
  * 1
@@ -187,7 +129,7 @@ export class DescribeInvocationsRequest extends $dara.Model {
187
129
  pageNumber?: number;
188
130
  /**
189
131
  * @remarks
190
- * > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
132
+ * Command
191
133
  *
192
134
  * @example
193
135
  * 10
@@ -195,7 +137,7 @@ export class DescribeInvocationsRequest extends $dara.Model {
195
137
  pageSize?: number;
196
138
  /**
197
139
  * @remarks
198
- * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent list of regions.
140
+ * $.parameters[15].schema.items.properties.Value.description
199
141
  *
200
142
  * This parameter is required.
201
143
  *
@@ -205,14 +147,7 @@ export class DescribeInvocationsRequest extends $dara.Model {
205
147
  regionId?: string;
206
148
  /**
207
149
  * @remarks
208
- * The execution mode of the command. If you specify both this parameter and `InstanceId`, this parameter does not take effect. Valid values:
209
- *
210
- * * Once: The command is immediately run.
211
- * * Period: The command is run on a schedule.
212
- * * NextRebootOnly: The command is run the next time the instances start.
213
- * * EveryReboot: The command is run every time the instances start.
214
- *
215
- * This parameter is empty by default, which indicates that commands run in all modes are queried.
150
+ * FEATUREecsXZ3H4M
216
151
  *
217
152
  * @example
218
153
  * Once
@@ -220,7 +155,7 @@ export class DescribeInvocationsRequest extends $dara.Model {
220
155
  repeatMode?: string;
221
156
  /**
222
157
  * @remarks
223
- * The ID of the resource group. After you set this parameter, command execution results in the specified resource group are queried.
158
+ * $.parameters[15].schema.items.properties.Value.example
224
159
  *
225
160
  * @example
226
161
  * rg-bp67acfmxazb4p****
@@ -230,21 +165,12 @@ export class DescribeInvocationsRequest extends $dara.Model {
230
165
  resourceOwnerId?: number;
231
166
  /**
232
167
  * @remarks
233
- * The tags that are added to the command.
168
+ * dubbo
234
169
  */
235
170
  tag?: DescribeInvocationsRequestTag[];
236
171
  /**
237
172
  * @remarks
238
- * Specifies whether the command is to be automatically run. Valid values:
239
- *
240
- * * true: The command is run by calling the `RunCommand` or `InvokeCommand` operation with `RepeatMode` set to `Period`, `NextRebootOnly`, or `EveryReboot`.
241
- *
242
- * * false: The command meets one of the following requirements:
243
- *
244
- * * The command is run by calling the `RunCommand` or `InvokeCommand` operation with `RepeatMode` set to `Once`.
245
- * * The command task is canceled, stopped, or completed.
246
- *
247
- * Default value: false.
173
+ * $.parameters[15].schema.description
248
174
  *
249
175
  * @example
250
176
  * true