@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.
- package/dist/client.d.ts +133 -166
- package/dist/client.js +162 -162
- package/dist/client.js.map +1 -1
- package/dist/models/AcceptInquiredSystemEventRequest.d.ts +0 -7
- package/dist/models/AcceptInquiredSystemEventRequest.js.map +1 -1
- package/dist/models/AcceptInquiredSystemEventResponseBody.d.ts +0 -3
- package/dist/models/AcceptInquiredSystemEventResponseBody.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +14 -0
- package/dist/models/CreateAutoProvisioningGroupRequest.js +25 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +14 -0
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js +25 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateImagePipelineRequest.d.ts +9 -9
- package/dist/models/CreateInstanceRequest.d.ts +6 -2
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/CreatePrefixListRequest.d.ts +2 -2
- package/dist/models/CreateSnapshotGroupRequest.d.ts +7 -7
- package/dist/models/DescribeAutoProvisioningGroupHistoryRequest.d.ts +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.d.ts +42 -0
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.js.map +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.d.ts +32 -0
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailableResourceRequest.d.ts +0 -118
- package/dist/models/DescribeAvailableResourceRequest.js.map +1 -1
- package/dist/models/DescribeAvailableResourceResponseBody.d.ts +9 -75
- package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
- package/dist/models/DescribeElasticityAssurancesRequest.d.ts +1 -1
- package/dist/models/DescribeEniMonitorDataRequest.d.ts +2 -2
- package/dist/models/DescribeImagePipelineExecutionsRequest.d.ts +22 -24
- package/dist/models/DescribeImagePipelineExecutionsRequest.js.map +1 -1
- package/dist/models/DescribeImagePipelineExecutionsResponseBody.d.ts +26 -24
- package/dist/models/DescribeImagePipelineExecutionsResponseBody.js.map +1 -1
- package/dist/models/DescribeImagePipelinesRequest.d.ts +1 -1
- package/dist/models/DescribeImagePipelinesResponseBody.d.ts +2 -2
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +18 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeInstancesFullStatusRequest.d.ts +2 -1
- package/dist/models/DescribeInstancesFullStatusRequest.js.map +1 -1
- package/dist/models/DescribeInvocationResultsRequest.d.ts +79 -64
- package/dist/models/DescribeInvocationResultsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationResultsResponseBody.d.ts +160 -136
- package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsRequest.d.ts +17 -91
- package/dist/models/DescribeInvocationsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationsResponseBody.d.ts +225 -172
- package/dist/models/DescribeInvocationsResponseBody.js.map +1 -1
- package/dist/models/DescribeManagedInstancesRequest.d.ts +18 -0
- package/dist/models/DescribeManagedInstancesRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotGroupsResponseBody.d.ts +1 -1
- package/dist/models/DescribeSnapshotPackageRequest.d.ts +3 -3
- package/dist/models/ModifyCloudAssistantSettingsRequest.d.ts +2 -1
- package/dist/models/ModifyCloudAssistantSettingsRequest.js.map +1 -1
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.d.ts +2 -1
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.js.map +1 -1
- package/dist/models/ModifyDedicatedHostsChargeTypeRequest.d.ts +8 -8
- package/dist/models/ModifyInstanceMetadataOptionsRequest.d.ts +8 -1
- package/dist/models/ModifyInstanceMetadataOptionsRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +1 -1
- package/dist/models/ModifySecurityGroupEgressRuleRequest.d.ts +14 -2
- package/dist/models/ModifySecurityGroupEgressRuleRequest.js.map +1 -1
- package/dist/models/ModifySecurityGroupRuleRequest.d.ts +14 -2
- package/dist/models/ModifySecurityGroupRuleRequest.js.map +1 -1
- package/dist/models/OpenSnapshotServiceRequest.d.ts +26 -0
- package/dist/models/OpenSnapshotServiceRequest.js +64 -0
- package/dist/models/OpenSnapshotServiceRequest.js.map +1 -0
- package/dist/models/OpenSnapshotServiceResponse.d.ts +19 -0
- package/dist/models/OpenSnapshotServiceResponse.js +69 -0
- package/dist/models/OpenSnapshotServiceResponse.js.map +1 -0
- package/dist/models/OpenSnapshotServiceResponseBody.d.ts +21 -0
- package/dist/models/OpenSnapshotServiceResponseBody.js +58 -0
- package/dist/models/OpenSnapshotServiceResponseBody.js.map +1 -0
- package/dist/models/ReleaseDedicatedHostRequest.d.ts +12 -0
- package/dist/models/ReleaseDedicatedHostRequest.js.map +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +69 -59
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +168 -162
- package/src/models/AcceptInquiredSystemEventRequest.ts +0 -7
- package/src/models/AcceptInquiredSystemEventResponseBody.ts +0 -3
- package/src/models/CreateAutoProvisioningGroupRequest.ts +29 -0
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +29 -0
- package/src/models/CreateImagePipelineRequest.ts +9 -9
- package/src/models/CreateInstanceRequest.ts +6 -2
- package/src/models/CreatePrefixListRequest.ts +2 -2
- package/src/models/CreateSnapshotGroupRequest.ts +7 -7
- package/src/models/DescribeAutoProvisioningGroupHistoryRequest.ts +1 -1
- package/src/models/DescribeAutoSnapshotPolicyAssociationsRequest.ts +42 -0
- package/src/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.ts +32 -0
- package/src/models/DescribeAvailableResourceRequest.ts +0 -118
- package/src/models/DescribeAvailableResourceResponseBody.ts +9 -75
- package/src/models/DescribeElasticityAssurancesRequest.ts +1 -1
- package/src/models/DescribeEniMonitorDataRequest.ts +2 -2
- package/src/models/DescribeImagePipelineExecutionsRequest.ts +22 -24
- package/src/models/DescribeImagePipelineExecutionsResponseBody.ts +26 -24
- package/src/models/DescribeImagePipelinesRequest.ts +1 -1
- package/src/models/DescribeImagePipelinesResponseBody.ts +2 -2
- package/src/models/DescribeInstanceAttributeResponseBody.ts +18 -1
- package/src/models/DescribeInstancesFullStatusRequest.ts +2 -1
- package/src/models/DescribeInvocationResultsRequest.ts +79 -64
- package/src/models/DescribeInvocationResultsResponseBody.ts +160 -136
- package/src/models/DescribeInvocationsRequest.ts +17 -91
- package/src/models/DescribeInvocationsResponseBody.ts +225 -172
- package/src/models/DescribeManagedInstancesRequest.ts +18 -0
- package/src/models/DescribeSnapshotGroupsResponseBody.ts +1 -1
- package/src/models/DescribeSnapshotPackageRequest.ts +3 -3
- package/src/models/ModifyCloudAssistantSettingsRequest.ts +2 -1
- package/src/models/ModifyCloudAssistantSettingsShrinkRequest.ts +2 -1
- package/src/models/ModifyDedicatedHostsChargeTypeRequest.ts +8 -8
- package/src/models/ModifyInstanceMetadataOptionsRequest.ts +8 -1
- package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +1 -1
- package/src/models/ModifySecurityGroupEgressRuleRequest.ts +14 -2
- package/src/models/ModifySecurityGroupRuleRequest.ts +14 -2
- package/src/models/OpenSnapshotServiceRequest.ts +45 -0
- package/src/models/OpenSnapshotServiceResponse.ts +40 -0
- package/src/models/OpenSnapshotServiceResponseBody.ts +34 -0
- package/src/models/ReleaseDedicatedHostRequest.ts +12 -0
- package/src/models/model.ts +5 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstancesInvokeInstance extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The command description.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 2019-12-20T06:15:54Z
|
|
@@ -13,7 +13,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
13
13
|
creationTime?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* 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://`.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 0
|
|
@@ -21,26 +21,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
21
21
|
dropped?: number;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
25
|
-
*
|
|
26
|
-
* * If this parameter is empty, the command was run as expected.
|
|
27
|
-
* * InstanceNotExists: The specified instance did not exist or was released.
|
|
28
|
-
* * InstanceReleased: The instance was released while the command was being run.
|
|
29
|
-
* * InstanceNotRunning: The instance was not running when the command started to be run.
|
|
30
|
-
* * CommandNotApplicable: The command was inapplicable to the specified instance.
|
|
31
|
-
* * AccountNotExists: The username specified to run the command did not exist.
|
|
32
|
-
* * DirectoryNotExists: The specified directory did not exist.
|
|
33
|
-
* * BadCronExpression: The specified cron expression for the execution schedule was invalid.
|
|
34
|
-
* * ClientNotRunning: Cloud Assistant Agent was not running.
|
|
35
|
-
* * ClientNotResponse: Cloud Assistant Agent did not respond.
|
|
36
|
-
* * ClientIsUpgrading: Cloud Assistant Agent was being upgraded.
|
|
37
|
-
* * ClientNeedUpgrade: Cloud Assistant Agent needed to be upgraded.
|
|
38
|
-
* * DeliveryTimeout: The request to send the command timed out.
|
|
39
|
-
* * ExecutionTimeout: The execution timed out.
|
|
40
|
-
* * ExecutionException: An exception occurred while the command was being executed.
|
|
41
|
-
* * ExecutionInterrupted: The command task was interrupted.
|
|
42
|
-
* * ExitCodeNonzero: The execution was complete, but the exit code was not 0.
|
|
43
|
-
* * SecurityGroupRuleDenied: Access to Cloud Assistant was denied by security group rules.
|
|
24
|
+
* The instances on which the command was run.
|
|
44
25
|
*
|
|
45
26
|
* @example
|
|
46
27
|
* InstanceNotExists
|
|
@@ -48,26 +29,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
48
29
|
errorCode?: string;
|
|
49
30
|
/**
|
|
50
31
|
* @remarks
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* * If this parameter is empty, the command was run as expected.
|
|
54
|
-
* * The security group rules denied access to the aliyun service.
|
|
55
|
-
* * The specified instance does not exist.
|
|
56
|
-
* * The specified instance was released during task execution.
|
|
57
|
-
* * The specified instance was not running during task execution.
|
|
58
|
-
* * The OS type of the instance does not support the specified command type.
|
|
59
|
-
* * The specified account does not exist.
|
|
60
|
-
* * The specified directory does not exist.
|
|
61
|
-
* * The cron expression is invalid.
|
|
62
|
-
* * The aliyun service is not running on the instance.
|
|
63
|
-
* * The aliyun service in the instance does not response.
|
|
64
|
-
* * The aliyun service in the instance is upgrading during task execution.
|
|
65
|
-
* * The aliyun service in the instance need to be upgraded to at least version to support the feature. indicates the earliest version that supports the feature. indicates the name of the feature.
|
|
66
|
-
* * The command delivery has been timeout.
|
|
67
|
-
* * The command execution has been timeout.
|
|
68
|
-
* * The command execution got an exception.
|
|
69
|
-
* * The command execution exit code is not zero.
|
|
70
|
-
* * The specified instance was released during task execution.
|
|
32
|
+
* A pagination token. It can be used in the next request to retrieve a new page of results.
|
|
71
33
|
*
|
|
72
34
|
* @example
|
|
73
35
|
* the specified instance does not exists
|
|
@@ -75,10 +37,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
75
37
|
errorInfo?: string;
|
|
76
38
|
/**
|
|
77
39
|
* @remarks
|
|
78
|
-
* The
|
|
79
|
-
*
|
|
80
|
-
* * For Linux instances, the value is the exit code of the shell process.
|
|
81
|
-
* * For Windows instances, the value is the exit code of the batch or PowerShell process.
|
|
40
|
+
* The total number of the commands.
|
|
82
41
|
*
|
|
83
42
|
* @example
|
|
84
43
|
* 0
|
|
@@ -86,7 +45,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
86
45
|
exitCode?: number;
|
|
87
46
|
/**
|
|
88
47
|
* @remarks
|
|
89
|
-
* The
|
|
48
|
+
* The custom parameters in the command.
|
|
90
49
|
*
|
|
91
50
|
* @example
|
|
92
51
|
* 2019-12-20T06:15:56Z
|
|
@@ -94,7 +53,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
94
53
|
finishTime?: string;
|
|
95
54
|
/**
|
|
96
55
|
* @remarks
|
|
97
|
-
* The
|
|
56
|
+
* The number of entries returned on each page.
|
|
98
57
|
*
|
|
99
58
|
* @example
|
|
100
59
|
* i-bp1i7gg30r52z2em****
|
|
@@ -102,9 +61,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
102
61
|
instanceId?: string;
|
|
103
62
|
/**
|
|
104
63
|
* @remarks
|
|
105
|
-
* The
|
|
106
|
-
*
|
|
107
|
-
* > We recommend that you ignore this parameter and check the value of `InvocationStatus` in the response to obtain the execution status.
|
|
64
|
+
* The page number of the returned page.
|
|
108
65
|
*
|
|
109
66
|
* @example
|
|
110
67
|
* Finished
|
|
@@ -112,52 +69,49 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
112
69
|
instanceInvokeStatus?: string;
|
|
113
70
|
/**
|
|
114
71
|
* @remarks
|
|
115
|
-
* The
|
|
116
|
-
*
|
|
117
|
-
* * Pending: The command is being verified or sent.
|
|
118
|
-
*
|
|
119
|
-
* * Invalid: The specified command type or parameter is invalid.
|
|
72
|
+
* 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.
|
|
120
73
|
*
|
|
121
|
-
*
|
|
74
|
+
* 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.
|
|
122
75
|
*
|
|
123
|
-
*
|
|
76
|
+
* 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`.
|
|
124
77
|
*
|
|
125
|
-
*
|
|
78
|
+
* @example
|
|
79
|
+
* Success
|
|
80
|
+
*/
|
|
81
|
+
invocationStatus?: string;
|
|
82
|
+
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The overall execution status of the command task. The value of this parameter depends on the execution status of the command task on all the involved instances. Valid values:
|
|
126
85
|
*
|
|
127
|
-
*
|
|
128
|
-
* * Scheduled task: The last execution was complete, the exit code was 0, and the specified period ended.
|
|
86
|
+
* * Pending: The command is being verified or sent. When the execution state on at least one instance is Pending, the overall execution state is Pending.
|
|
129
87
|
*
|
|
130
|
-
* *
|
|
88
|
+
* * Scheduled: The command that is set to run on a schedule was sent and waiting to be run. When the execution state on at least one instance is Scheduled, the overall execution state is Scheduled.
|
|
131
89
|
*
|
|
132
|
-
*
|
|
133
|
-
* * Scheduled task: The last execution was complete, but the exit code was not 0. The specified period is about to end.
|
|
90
|
+
* * Running: The command is being run on the instances. When the execution state on at least one instance is Running, the overall execution state is Running.
|
|
134
91
|
*
|
|
135
|
-
* *
|
|
92
|
+
* * Success: When 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.
|
|
136
93
|
*
|
|
137
|
-
*
|
|
94
|
+
* * One-time task: The execution was complete, and the exit code was 0.
|
|
95
|
+
* * Scheduled task: The last execution was complete, the exit code was 0, and the specified period ended.
|
|
138
96
|
*
|
|
139
|
-
* *
|
|
97
|
+
* * Failed: When the execution state on all instances is Stopped or Failed, the overall execution state is Failed. When the execution state on an instance is one of the following values, Failed is returned as the overall execution state:
|
|
140
98
|
*
|
|
141
|
-
*
|
|
99
|
+
* * Invalid: The command is invalid.
|
|
100
|
+
* * Aborted: The command failed to be sent.
|
|
101
|
+
* * Failed: The execution was complete, but the exit code was not 0.
|
|
102
|
+
* * Timeout: The execution timed out.
|
|
103
|
+
* * Error: An error occurred while the command was being run.
|
|
142
104
|
*
|
|
143
|
-
* *
|
|
105
|
+
* * Stopping: The command task is being stopped. When the execution state on at least one instance is Stopping, the overall execution state is Stopping.
|
|
144
106
|
*
|
|
145
|
-
* *
|
|
107
|
+
* * Stopped: The task was stopped. When the execution state on all instances is Stopped, the overall execution state is Stopped. When the execution state on an instance is one of the following values, Stopped is returned as the overall execution state:
|
|
146
108
|
*
|
|
147
|
-
* *
|
|
148
|
-
* *
|
|
109
|
+
* * Cancelled: The task was canceled.
|
|
110
|
+
* * Terminated: The task was terminated.
|
|
149
111
|
*
|
|
150
|
-
*
|
|
151
|
-
* Success
|
|
152
|
-
*/
|
|
153
|
-
invocationStatus?: string;
|
|
154
|
-
/**
|
|
155
|
-
* @remarks
|
|
156
|
-
* The output delivery status of the command execution. Valid values:
|
|
112
|
+
* * PartialFailed: The execution was complete on some instances and failed on other instances. When the execution state is Success on some instances and is Failed or Stopped on the other instances, the overall execution state is PartialFailed.
|
|
157
113
|
*
|
|
158
|
-
*
|
|
159
|
-
* * Finished: The delivery is complete.
|
|
160
|
-
* * Failed: The delivery failed.
|
|
114
|
+
* > `InvokeStatus` in the response functions similarly to this parameter. We recommend that you check the value of this parameter.
|
|
161
115
|
*
|
|
162
116
|
* @example
|
|
163
117
|
* Finished
|
|
@@ -165,7 +119,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
165
119
|
ossOutputStatus?: string;
|
|
166
120
|
/**
|
|
167
121
|
* @remarks
|
|
168
|
-
*
|
|
122
|
+
* Command to execute the Output OSS delivery configuration.
|
|
169
123
|
*
|
|
170
124
|
* @example
|
|
171
125
|
* oss://testBucket/testPrefix/output.txt
|
|
@@ -173,10 +127,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
173
127
|
ossOutputUri?: string;
|
|
174
128
|
/**
|
|
175
129
|
* @remarks
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
* * If ContentEncoding is set to PlainText in the request, the original command output is returned.
|
|
179
|
-
* * If ContentEncoding is set to Base64 in the request, the Base64-encoded command output is returned.
|
|
130
|
+
* Indicates whether the command is to be automatically run.
|
|
180
131
|
*
|
|
181
132
|
* @example
|
|
182
133
|
* OutPutTestmsg
|
|
@@ -184,10 +135,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
184
135
|
output?: string;
|
|
185
136
|
/**
|
|
186
137
|
* @remarks
|
|
187
|
-
* The
|
|
188
|
-
*
|
|
189
|
-
* * If the command is set to run only once, the value is 0 or 1.
|
|
190
|
-
* * If the command is set to run on a schedule, the value is the number of times that the command has been run on the instance.
|
|
138
|
+
* The time when the command task was created.
|
|
191
139
|
*
|
|
192
140
|
* @example
|
|
193
141
|
* 0
|
|
@@ -195,7 +143,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
195
143
|
repeats?: number;
|
|
196
144
|
/**
|
|
197
145
|
* @remarks
|
|
198
|
-
*
|
|
146
|
+
* Details about the command executions.
|
|
199
147
|
*
|
|
200
148
|
* @example
|
|
201
149
|
* 2019-12-20T06:15:55Z
|
|
@@ -203,7 +151,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
203
151
|
startTime?: string;
|
|
204
152
|
/**
|
|
205
153
|
* @remarks
|
|
206
|
-
* The
|
|
154
|
+
* The execution states of the command.
|
|
207
155
|
*
|
|
208
156
|
* @example
|
|
209
157
|
* 2020-01-19T09:15:47Z
|
|
@@ -211,7 +159,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
211
159
|
stopTime?: string;
|
|
212
160
|
/**
|
|
213
161
|
* @remarks
|
|
214
|
-
*
|
|
162
|
+
* The request ID.
|
|
215
163
|
*
|
|
216
164
|
* @example
|
|
217
165
|
* false
|
|
@@ -219,7 +167,9 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
219
167
|
timed?: boolean;
|
|
220
168
|
/**
|
|
221
169
|
* @remarks
|
|
222
|
-
* The
|
|
170
|
+
* The maximum timeout period for the command execution. Unit: seconds.
|
|
171
|
+
*
|
|
172
|
+
* When a command cannot be run, the command execution times out. When a command execution times out, Cloud Assistant Agent forcefully terminates the command process by canceling the process ID (PID) of the command.
|
|
223
173
|
*
|
|
224
174
|
* @example
|
|
225
175
|
* 2020-01-19T09:15:47Z
|
|
@@ -307,7 +257,10 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
|
|
|
307
257
|
export class DescribeInvocationsResponseBodyInvocationsInvocationTagsTag extends $dara.Model {
|
|
308
258
|
/**
|
|
309
259
|
* @remarks
|
|
310
|
-
* The
|
|
260
|
+
* The command content.
|
|
261
|
+
*
|
|
262
|
+
* * If ContentEncoding is set to PlainText in the request, the original command content is returned.
|
|
263
|
+
* * If ContentEncoding is set to Base64 in the request, the Base64-encoded command content is returned.
|
|
311
264
|
*
|
|
312
265
|
* @example
|
|
313
266
|
* owner
|
|
@@ -315,7 +268,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationTagsTag extends
|
|
|
315
268
|
tagKey?: string;
|
|
316
269
|
/**
|
|
317
270
|
* @remarks
|
|
318
|
-
* The
|
|
271
|
+
* The execution path of the command.
|
|
319
272
|
*
|
|
320
273
|
* @example
|
|
321
274
|
* zhangsan
|
|
@@ -373,10 +326,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationTags extends $d
|
|
|
373
326
|
export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.Model {
|
|
374
327
|
/**
|
|
375
328
|
* @remarks
|
|
376
|
-
* The
|
|
377
|
-
*
|
|
378
|
-
* * If ContentEncoding is set to PlainText in the request, the original command content is returned.
|
|
379
|
-
* * If ContentEncoding is set to Base64 in the request, the Base64-encoded command content is returned.
|
|
329
|
+
* The size of the Output text that was truncated and discarded because the Output value exceeded 24 KB in size.
|
|
380
330
|
*
|
|
381
331
|
* @example
|
|
382
332
|
* cnBtIC1xYSB8IGdyZXAgdnNm****
|
|
@@ -384,7 +334,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
384
334
|
commandContent?: string;
|
|
385
335
|
/**
|
|
386
336
|
* @remarks
|
|
387
|
-
* The
|
|
337
|
+
* 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.
|
|
388
338
|
*
|
|
389
339
|
* @example
|
|
390
340
|
* testDescription
|
|
@@ -392,7 +342,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
392
342
|
commandDescription?: string;
|
|
393
343
|
/**
|
|
394
344
|
* @remarks
|
|
395
|
-
* The command
|
|
345
|
+
* The time when the command process ended.
|
|
396
346
|
*
|
|
397
347
|
* @example
|
|
398
348
|
* c-hz0jdfwcsr****
|
|
@@ -400,7 +350,10 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
400
350
|
commandId?: string;
|
|
401
351
|
/**
|
|
402
352
|
* @remarks
|
|
403
|
-
* The command
|
|
353
|
+
* The command output.
|
|
354
|
+
*
|
|
355
|
+
* * If ContentEncoding is set to PlainText in the request, the original command output is returned.
|
|
356
|
+
* * If ContentEncoding is set to Base64 in the request, the Base64-encoded command output is returned.
|
|
404
357
|
*
|
|
405
358
|
* @example
|
|
406
359
|
* CommandTestName
|
|
@@ -408,7 +361,9 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
408
361
|
commandName?: string;
|
|
409
362
|
/**
|
|
410
363
|
* @remarks
|
|
411
|
-
* The command
|
|
364
|
+
* The execution status of the command on a single instance.
|
|
365
|
+
*
|
|
366
|
+
* > We recommend that you ignore this parameter and check the value of `InvocationStatus` in the response to obtain the execution status.
|
|
412
367
|
*
|
|
413
368
|
* @example
|
|
414
369
|
* RunShellScript
|
|
@@ -416,7 +371,26 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
416
371
|
commandType?: string;
|
|
417
372
|
/**
|
|
418
373
|
* @remarks
|
|
419
|
-
* The
|
|
374
|
+
* The error message returned when the command failed to be sent or run. Valid values:
|
|
375
|
+
*
|
|
376
|
+
* * If this parameter is empty, the command was run as expected.
|
|
377
|
+
* * The security group rules denied access to the aliyun service.
|
|
378
|
+
* * The specified instance does not exist.
|
|
379
|
+
* * The specified instance was released during task execution.
|
|
380
|
+
* * The specified instance was not running during task execution.
|
|
381
|
+
* * The OS type of the instance does not support the specified command type.
|
|
382
|
+
* * The specified account does not exist.
|
|
383
|
+
* * The specified directory does not exist.
|
|
384
|
+
* * The cron expression is invalid.
|
|
385
|
+
* * The aliyun service is not running on the instance.
|
|
386
|
+
* * The aliyun service in the instance does not response.
|
|
387
|
+
* * The aliyun service in the instance is upgrading during task execution.
|
|
388
|
+
* * The aliyun service in the instance need to be upgraded to at least version to support the feature. indicates the earliest version that supports the feature. indicates the name of the feature.
|
|
389
|
+
* * The command delivery has been timeout.
|
|
390
|
+
* * The command execution has been timeout.
|
|
391
|
+
* * The command execution got an exception.
|
|
392
|
+
* * The command execution exit code is not zero.
|
|
393
|
+
* * The specified instance was released during task execution.
|
|
420
394
|
*
|
|
421
395
|
* @example
|
|
422
396
|
* ab141ddfbacfe02d9dbc25966ed971536124527097398d419a6746873fea****
|
|
@@ -424,7 +398,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
424
398
|
containerId?: string;
|
|
425
399
|
/**
|
|
426
400
|
* @remarks
|
|
427
|
-
* The
|
|
401
|
+
* The time when the command started to be run on the instance.
|
|
428
402
|
*
|
|
429
403
|
* @example
|
|
430
404
|
* test-container
|
|
@@ -432,7 +406,10 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
432
406
|
containerName?: string;
|
|
433
407
|
/**
|
|
434
408
|
* @remarks
|
|
435
|
-
* The
|
|
409
|
+
* The number of times that the command was run on the instance.
|
|
410
|
+
*
|
|
411
|
+
* * If the command is set to run only once, the value is 0 or 1.
|
|
412
|
+
* * If the command is set to run on a schedule, the value is the number of times that the command has been run on the instance.
|
|
436
413
|
*
|
|
437
414
|
* @example
|
|
438
415
|
* 2020-01-19T09:15:46Z
|
|
@@ -440,42 +417,12 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
440
417
|
creationTime?: string;
|
|
441
418
|
/**
|
|
442
419
|
* @remarks
|
|
443
|
-
* The
|
|
420
|
+
* The command execution Output delivers the object URI to OSS. This field is an empty string when the delivery fails or is in progress.
|
|
444
421
|
*/
|
|
445
422
|
frequency?: string;
|
|
446
423
|
/**
|
|
447
424
|
* @remarks
|
|
448
|
-
*
|
|
449
|
-
*
|
|
450
|
-
* * Pending: The command is being verified or sent. When the execution state on at least one instance is Pending, the overall execution state is Pending.
|
|
451
|
-
*
|
|
452
|
-
* * Scheduled: The command that is set to run on a schedule was sent and waiting to be run. When the execution state on at least one instance is Scheduled, the overall execution state is Scheduled.
|
|
453
|
-
*
|
|
454
|
-
* * Running: The command is being run on the instances. When the execution state on at least one instance is Running, the overall execution state is Running.
|
|
455
|
-
*
|
|
456
|
-
* * Success: When 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.
|
|
457
|
-
*
|
|
458
|
-
* * One-time task: The execution was complete, and the exit code was 0.
|
|
459
|
-
* * Scheduled task: The last execution was complete, the exit code was 0, and the specified period ended.
|
|
460
|
-
*
|
|
461
|
-
* * Failed: When the execution state on all instances is Stopped or Failed, the overall execution state is Failed. When the execution state on an instance is one of the following values, Failed is returned as the overall execution state:
|
|
462
|
-
*
|
|
463
|
-
* * Invalid: The command is invalid.
|
|
464
|
-
* * Aborted: The command failed to be sent.
|
|
465
|
-
* * Failed: The execution was complete, but the exit code was not 0.
|
|
466
|
-
* * Timeout: The execution timed out.
|
|
467
|
-
* * Error: An error occurred while the command was being run.
|
|
468
|
-
*
|
|
469
|
-
* * Stopping: The command task is being stopped. When the execution state on at least one instance is Stopping, the overall execution state is Stopping.
|
|
470
|
-
*
|
|
471
|
-
* * Stopped: The task was stopped. When the execution state on all instances is Stopped, the overall execution state is Stopped. When the execution state on an instance is one of the following values, Stopped is returned as the overall execution state:
|
|
472
|
-
*
|
|
473
|
-
* * Cancelled: The task was canceled.
|
|
474
|
-
* * Terminated: The task was terminated.
|
|
475
|
-
*
|
|
476
|
-
* * PartialFailed: The execution was complete on some instances and failed on other instances. When the execution state is Success on some instances and is Failed or Stopped on the other instances, the overall execution state is PartialFailed.
|
|
477
|
-
*
|
|
478
|
-
* > `InvokeStatus` in the response functions similarly to this parameter. We recommend that you check the value of this parameter.
|
|
425
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
479
426
|
*
|
|
480
427
|
* @example
|
|
481
428
|
* Running
|
|
@@ -483,7 +430,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
483
430
|
invocationStatus?: string;
|
|
484
431
|
/**
|
|
485
432
|
* @remarks
|
|
486
|
-
* The command task
|
|
433
|
+
* The time when the command task was created.
|
|
487
434
|
*
|
|
488
435
|
* @example
|
|
489
436
|
* t-hz0jdfwd9f****
|
|
@@ -491,14 +438,12 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
491
438
|
invokeId?: string;
|
|
492
439
|
/**
|
|
493
440
|
* @remarks
|
|
494
|
-
* The
|
|
441
|
+
* The tags that are added to the command.
|
|
495
442
|
*/
|
|
496
443
|
invokeInstances?: DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances;
|
|
497
444
|
/**
|
|
498
445
|
* @remarks
|
|
499
|
-
*
|
|
500
|
-
*
|
|
501
|
-
* > We recommend that you ignore this parameter and check the value of `InvocationStatus` in the response to obtain the execution status.
|
|
446
|
+
* Indicates whether the command is to be automatically run.
|
|
502
447
|
*
|
|
503
448
|
* @example
|
|
504
449
|
* Finished
|
|
@@ -506,7 +451,11 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
506
451
|
invokeStatus?: string;
|
|
507
452
|
/**
|
|
508
453
|
* @remarks
|
|
509
|
-
* The
|
|
454
|
+
* The output delivery status of the command execution. Valid values:
|
|
455
|
+
*
|
|
456
|
+
* * InProgress: The delivery is in progress.
|
|
457
|
+
* * Finished: The delivery is complete.
|
|
458
|
+
* * Failed: The delivery failed.
|
|
510
459
|
*
|
|
511
460
|
* @example
|
|
512
461
|
* python3 -u {{ACS::ScriptFileName|Ext(".py")}}
|
|
@@ -514,7 +463,12 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
514
463
|
launcher?: string;
|
|
515
464
|
/**
|
|
516
465
|
* @remarks
|
|
517
|
-
*
|
|
466
|
+
* Specifies whether to return the command outputs in the response.
|
|
467
|
+
*
|
|
468
|
+
* * true: The command outputs are returned. When this parameter is set to true, you must specify `InvokeId`, `InstanceId`, or both.
|
|
469
|
+
* * false: The command outputs are not returned.
|
|
470
|
+
*
|
|
471
|
+
* Default value: false
|
|
518
472
|
*
|
|
519
473
|
* @example
|
|
520
474
|
* oss://testBucket/testPrefix
|
|
@@ -522,7 +476,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
522
476
|
ossOutputDelivery?: string;
|
|
523
477
|
/**
|
|
524
478
|
* @remarks
|
|
525
|
-
*
|
|
479
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
526
480
|
*
|
|
527
481
|
* @example
|
|
528
482
|
* {}
|
|
@@ -530,13 +484,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
530
484
|
parameters?: string;
|
|
531
485
|
/**
|
|
532
486
|
* @remarks
|
|
533
|
-
* The
|
|
534
|
-
*
|
|
535
|
-
* * Once: The command is immediately run.
|
|
536
|
-
* * Period: The command is run on a schedule.
|
|
537
|
-
* * NextRebootOnly: The command is run the next time the instances start.
|
|
538
|
-
* * EveryReboot: The command is run every time the instances start.
|
|
539
|
-
* * DryRun: The system performs only a dry run, without running the actual command. The system checks the request parameters, the execution environments on the instances, and the status of Cloud Assistant Agent.
|
|
487
|
+
* The instance ID.
|
|
540
488
|
*
|
|
541
489
|
* @example
|
|
542
490
|
* Once
|
|
@@ -544,15 +492,32 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
544
492
|
repeatMode?: string;
|
|
545
493
|
/**
|
|
546
494
|
* @remarks
|
|
547
|
-
* The
|
|
495
|
+
* The error code for the failure to send or run the command. Valid values:
|
|
496
|
+
*
|
|
497
|
+
* * If this parameter is empty, the command is run normally.
|
|
498
|
+
* * InstanceNotExists: The specified instance did not exist or was released.
|
|
499
|
+
* * InstanceReleased: The instance is released during command execution.
|
|
500
|
+
* * InstanceNotRunning: The instance was not running when the command started to be run.
|
|
501
|
+
* * CommandNotApplicable: The command was inapplicable to the specified instance.
|
|
502
|
+
* * AccountNotExists: The username specified to run the command did not exist.
|
|
503
|
+
* * DirectoryNotExists: The specified directory did not exist.
|
|
504
|
+
* * BadCronExpression: The specified cron expression for the execution schedule was invalid.
|
|
505
|
+
* * ClientNotRunning: Cloud Assistant Agent was not running.
|
|
506
|
+
* * ClientNotResponse: Cloud Assistant Agent does not respond.
|
|
507
|
+
* * ClientIsUpgrading: Cloud Assistant Agent is being upgraded.
|
|
508
|
+
* * ClientNeedUpgrade: Cloud Assistant Agent needed to be upgraded.
|
|
509
|
+
* * DeliveryTimeout: The request to send the command timed out.
|
|
510
|
+
* * ExecutionTimeout: The execution timed out.
|
|
511
|
+
* * ExecutionException: An exception occurred while the command was being executed.
|
|
512
|
+
* * ExecutionInterrupted: The command task was interrupted.
|
|
513
|
+
* * ExitCodeNonzero: The execution was complete, but the exit code was not 0.
|
|
514
|
+
* * SecurityGroupRuleDenied: Access to Cloud Assistant was denied by security group rules.
|
|
515
|
+
* * TaskConcurrencyLimit: The number of concurrent tasks exceeds the maximum limit.
|
|
548
516
|
*/
|
|
549
517
|
tags?: DescribeInvocationsResponseBodyInvocationsInvocationTags;
|
|
550
518
|
/**
|
|
551
519
|
* @remarks
|
|
552
|
-
*
|
|
553
|
-
*
|
|
554
|
-
* * Process: The process of the command is stopped.
|
|
555
|
-
* * ProcessTree: The process tree of the command is stopped. In this case, the process of the command and all subprocesses are stopped.
|
|
520
|
+
* The time when the execution status was updated.
|
|
556
521
|
*
|
|
557
522
|
* @example
|
|
558
523
|
* ProcessTree
|
|
@@ -560,7 +525,11 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
560
525
|
terminationMode?: string;
|
|
561
526
|
/**
|
|
562
527
|
* @remarks
|
|
563
|
-
*
|
|
528
|
+
* The maximum number of entries per page.
|
|
529
|
+
*
|
|
530
|
+
* Valid values: 1 to 50.
|
|
531
|
+
*
|
|
532
|
+
* Default value: 10.
|
|
564
533
|
*
|
|
565
534
|
* @example
|
|
566
535
|
* false
|
|
@@ -568,9 +537,14 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
568
537
|
timed?: boolean;
|
|
569
538
|
/**
|
|
570
539
|
* @remarks
|
|
571
|
-
* The
|
|
540
|
+
* The execution mode of the command. If you specify both this parameter and `InstanceId`, this parameter does not take effect. Valid values:
|
|
572
541
|
*
|
|
573
|
-
*
|
|
542
|
+
* * Once: The command is immediately run.
|
|
543
|
+
* * Period: The command is run on a schedule.
|
|
544
|
+
* * NextRebootOnly: The command is run the next time the instances start.
|
|
545
|
+
* * EveryReboot: The command is run every time the instances start.
|
|
546
|
+
*
|
|
547
|
+
* This parameter is empty by default, which indicates that commands run in all modes are queried.
|
|
574
548
|
*
|
|
575
549
|
* @example
|
|
576
550
|
* 60
|
|
@@ -578,15 +552,51 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
|
|
|
578
552
|
timeout?: number;
|
|
579
553
|
/**
|
|
580
554
|
* @remarks
|
|
581
|
-
* The
|
|
555
|
+
* The exit code of the execution. Valid values:
|
|
556
|
+
*
|
|
557
|
+
* * For Linux instances, the value is the exit code of the shell process.
|
|
558
|
+
* * For Windows instances, the value is the exit code of the batch or PowerShell process.
|
|
582
559
|
*
|
|
583
560
|
* @example
|
|
584
|
-
*
|
|
561
|
+
* test
|
|
585
562
|
*/
|
|
586
563
|
username?: string;
|
|
587
564
|
/**
|
|
588
565
|
* @remarks
|
|
589
|
-
* The execution
|
|
566
|
+
* The execution status on a single instance. Valid values:
|
|
567
|
+
*
|
|
568
|
+
* * Pending: The command is being verified or sent.
|
|
569
|
+
*
|
|
570
|
+
* * Invalid: The specified command type or parameter is invalid.
|
|
571
|
+
*
|
|
572
|
+
* * Aborted: The command failed to be sent to the instance. To send a command to an instance, make sure that the instance is in the Running state and the command can be sent to the instance within 1 minute.
|
|
573
|
+
*
|
|
574
|
+
* * Running: The command is being run on the instance.
|
|
575
|
+
*
|
|
576
|
+
* * Success:
|
|
577
|
+
*
|
|
578
|
+
* * One-time task: The execution was complete, and the exit code was 0.
|
|
579
|
+
* * Scheduled task: The last execution was complete, the exit code was 0, and the specified period ended.
|
|
580
|
+
*
|
|
581
|
+
* * Failed:
|
|
582
|
+
*
|
|
583
|
+
* * One-time task: The execution was complete, but the exit code was not 0.
|
|
584
|
+
* * Scheduled task: The last execution was complete, but the exit code was not 0. The specified period is about to end.
|
|
585
|
+
*
|
|
586
|
+
* * Error: The execution cannot proceed due to an exception.
|
|
587
|
+
*
|
|
588
|
+
* * Timeout: The execution timed out.
|
|
589
|
+
*
|
|
590
|
+
* * Cancelled: The execution was canceled before it started.
|
|
591
|
+
*
|
|
592
|
+
* * Stopping: The command task is being stopped.
|
|
593
|
+
*
|
|
594
|
+
* * Terminated: The execution was terminated before completion.
|
|
595
|
+
*
|
|
596
|
+
* * Scheduled:
|
|
597
|
+
*
|
|
598
|
+
* * One-time task: The execution state can never be Scheduled.
|
|
599
|
+
* * Scheduled task: The command is waiting to be run.
|
|
590
600
|
*
|
|
591
601
|
* @example
|
|
592
602
|
* /home/
|
|
@@ -692,12 +702,42 @@ export class DescribeInvocationsResponseBodyInvocations extends $dara.Model {
|
|
|
692
702
|
export class DescribeInvocationsResponseBody extends $dara.Model {
|
|
693
703
|
/**
|
|
694
704
|
* @remarks
|
|
695
|
-
*
|
|
705
|
+
* 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.
|
|
696
706
|
*/
|
|
697
707
|
invocations?: DescribeInvocationsResponseBodyInvocations;
|
|
698
708
|
/**
|
|
699
709
|
* @remarks
|
|
700
|
-
*
|
|
710
|
+
* 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:
|
|
711
|
+
*
|
|
712
|
+
* * Running:
|
|
713
|
+
*
|
|
714
|
+
* * Scheduled task: Before you stop the scheduled execution of the command, the overall execution state is always Running.
|
|
715
|
+
* * One-time task: If the command is being run on instances, the overall execution state is Running.
|
|
716
|
+
*
|
|
717
|
+
* * Finished:
|
|
718
|
+
*
|
|
719
|
+
* * Scheduled task: The overall execution state can never be Finished.
|
|
720
|
+
* * 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.
|
|
721
|
+
*
|
|
722
|
+
* * 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.
|
|
723
|
+
*
|
|
724
|
+
* * One-time task: The execution is complete, and the exit code is 0.
|
|
725
|
+
* * Scheduled task: The last execution is complete, the exit code is 0, and the specified period ends.
|
|
726
|
+
*
|
|
727
|
+
* * Failed:
|
|
728
|
+
*
|
|
729
|
+
* * Scheduled task: The overall execution state can never be Failed.
|
|
730
|
+
* * One-time task: The execution failed on all instances.
|
|
731
|
+
*
|
|
732
|
+
* * Stopped: The task is stopped.
|
|
733
|
+
*
|
|
734
|
+
* * Stopping: The task is being stopped.
|
|
735
|
+
*
|
|
736
|
+
* * PartialFailed: The task fails on some instances. If you specify both this parameter and `InstanceId`, this parameter does not take effect.
|
|
737
|
+
*
|
|
738
|
+
* * 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.
|
|
739
|
+
*
|
|
740
|
+
* * 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.
|
|
701
741
|
*
|
|
702
742
|
* @example
|
|
703
743
|
* AAAAAdDWBF2
|
|
@@ -705,7 +745,11 @@ export class DescribeInvocationsResponseBody extends $dara.Model {
|
|
|
705
745
|
nextToken?: string;
|
|
706
746
|
/**
|
|
707
747
|
* @remarks
|
|
708
|
-
* The
|
|
748
|
+
* The command type. Valid values:
|
|
749
|
+
*
|
|
750
|
+
* * RunBatScript: batch command, applicable to Windows instances.
|
|
751
|
+
* * RunPowerShellScript: PowerShell command, applicable to Windows instances.
|
|
752
|
+
* * RunShellScript: shell command, applicable to Linux instances.
|
|
709
753
|
*
|
|
710
754
|
* @example
|
|
711
755
|
* 1
|
|
@@ -713,7 +757,7 @@ export class DescribeInvocationsResponseBody extends $dara.Model {
|
|
|
713
757
|
pageNumber?: number;
|
|
714
758
|
/**
|
|
715
759
|
* @remarks
|
|
716
|
-
* The
|
|
760
|
+
* The command ID. You can call the [DescribeCommands](https://help.aliyun.com/document_detail/64843.html) operation to query all available command IDs.
|
|
717
761
|
*
|
|
718
762
|
* @example
|
|
719
763
|
* 10
|
|
@@ -721,7 +765,7 @@ export class DescribeInvocationsResponseBody extends $dara.Model {
|
|
|
721
765
|
pageSize?: number;
|
|
722
766
|
/**
|
|
723
767
|
* @remarks
|
|
724
|
-
* The
|
|
768
|
+
* The command name. If you specify both this parameter and `InstanceId`, this parameter does not take effect.
|
|
725
769
|
*
|
|
726
770
|
* @example
|
|
727
771
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
@@ -729,7 +773,16 @@ export class DescribeInvocationsResponseBody extends $dara.Model {
|
|
|
729
773
|
requestId?: string;
|
|
730
774
|
/**
|
|
731
775
|
* @remarks
|
|
732
|
-
*
|
|
776
|
+
* Specifies whether the command is to be automatically run. Valid values:
|
|
777
|
+
*
|
|
778
|
+
* * true: The command is run by calling the `RunCommand` or `InvokeCommand` operation with `RepeatMode` set to `Period`, `NextRebootOnly`, or `EveryReboot`.
|
|
779
|
+
*
|
|
780
|
+
* * false: The command meets one of the following requirements:
|
|
781
|
+
*
|
|
782
|
+
* * The command is run by calling the `RunCommand` or `InvokeCommand` operation with `RepeatMode` set to `Once`.
|
|
783
|
+
* * The command task is canceled, stopped, or completed.
|
|
784
|
+
*
|
|
785
|
+
* Default value: false.
|
|
733
786
|
*
|
|
734
787
|
* @example
|
|
735
788
|
* 1
|