@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
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstancesInvokeInstance extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The command description.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 2019-12-20T06:15:54Z
|
|
@@ -10,7 +10,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
10
10
|
creationTime?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The
|
|
13
|
+
* 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://`.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 0
|
|
@@ -18,26 +18,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
18
18
|
dropped?: number;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The
|
|
22
|
-
*
|
|
23
|
-
* * If this parameter is empty, the command was run as expected.
|
|
24
|
-
* * InstanceNotExists: The specified instance did not exist or was released.
|
|
25
|
-
* * InstanceReleased: The instance was released while the command was being run.
|
|
26
|
-
* * InstanceNotRunning: The instance was not running when the command started to be run.
|
|
27
|
-
* * CommandNotApplicable: The command was inapplicable to the specified instance.
|
|
28
|
-
* * AccountNotExists: The username specified to run the command did not exist.
|
|
29
|
-
* * DirectoryNotExists: The specified directory did not exist.
|
|
30
|
-
* * BadCronExpression: The specified cron expression for the execution schedule was invalid.
|
|
31
|
-
* * ClientNotRunning: Cloud Assistant Agent was not running.
|
|
32
|
-
* * ClientNotResponse: Cloud Assistant Agent did not respond.
|
|
33
|
-
* * ClientIsUpgrading: Cloud Assistant Agent was being upgraded.
|
|
34
|
-
* * ClientNeedUpgrade: Cloud Assistant Agent needed to be upgraded.
|
|
35
|
-
* * DeliveryTimeout: The request to send the command timed out.
|
|
36
|
-
* * ExecutionTimeout: The execution timed out.
|
|
37
|
-
* * ExecutionException: An exception occurred while the command was being executed.
|
|
38
|
-
* * ExecutionInterrupted: The command task was interrupted.
|
|
39
|
-
* * ExitCodeNonzero: The execution was complete, but the exit code was not 0.
|
|
40
|
-
* * SecurityGroupRuleDenied: Access to Cloud Assistant was denied by security group rules.
|
|
21
|
+
* The instances on which the command was run.
|
|
41
22
|
*
|
|
42
23
|
* @example
|
|
43
24
|
* InstanceNotExists
|
|
@@ -45,26 +26,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
45
26
|
errorCode?: string;
|
|
46
27
|
/**
|
|
47
28
|
* @remarks
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* * If this parameter is empty, the command was run as expected.
|
|
51
|
-
* * The security group rules denied access to the aliyun service.
|
|
52
|
-
* * The specified instance does not exist.
|
|
53
|
-
* * The specified instance was released during task execution.
|
|
54
|
-
* * The specified instance was not running during task execution.
|
|
55
|
-
* * The OS type of the instance does not support the specified command type.
|
|
56
|
-
* * The specified account does not exist.
|
|
57
|
-
* * The specified directory does not exist.
|
|
58
|
-
* * The cron expression is invalid.
|
|
59
|
-
* * The aliyun service is not running on the instance.
|
|
60
|
-
* * The aliyun service in the instance does not response.
|
|
61
|
-
* * The aliyun service in the instance is upgrading during task execution.
|
|
62
|
-
* * 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.
|
|
63
|
-
* * The command delivery has been timeout.
|
|
64
|
-
* * The command execution has been timeout.
|
|
65
|
-
* * The command execution got an exception.
|
|
66
|
-
* * The command execution exit code is not zero.
|
|
67
|
-
* * The specified instance was released during task execution.
|
|
29
|
+
* A pagination token. It can be used in the next request to retrieve a new page of results.
|
|
68
30
|
*
|
|
69
31
|
* @example
|
|
70
32
|
* the specified instance does not exists
|
|
@@ -72,10 +34,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
72
34
|
errorInfo?: string;
|
|
73
35
|
/**
|
|
74
36
|
* @remarks
|
|
75
|
-
* The
|
|
76
|
-
*
|
|
77
|
-
* * For Linux instances, the value is the exit code of the shell process.
|
|
78
|
-
* * For Windows instances, the value is the exit code of the batch or PowerShell process.
|
|
37
|
+
* The total number of the commands.
|
|
79
38
|
*
|
|
80
39
|
* @example
|
|
81
40
|
* 0
|
|
@@ -83,7 +42,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
83
42
|
exitCode?: number;
|
|
84
43
|
/**
|
|
85
44
|
* @remarks
|
|
86
|
-
* The
|
|
45
|
+
* The custom parameters in the command.
|
|
87
46
|
*
|
|
88
47
|
* @example
|
|
89
48
|
* 2019-12-20T06:15:56Z
|
|
@@ -91,7 +50,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
91
50
|
finishTime?: string;
|
|
92
51
|
/**
|
|
93
52
|
* @remarks
|
|
94
|
-
* The
|
|
53
|
+
* The number of entries returned on each page.
|
|
95
54
|
*
|
|
96
55
|
* @example
|
|
97
56
|
* i-bp1i7gg30r52z2em****
|
|
@@ -99,9 +58,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
99
58
|
instanceId?: string;
|
|
100
59
|
/**
|
|
101
60
|
* @remarks
|
|
102
|
-
* The
|
|
103
|
-
*
|
|
104
|
-
* > We recommend that you ignore this parameter and check the value of `InvocationStatus` in the response to obtain the execution status.
|
|
61
|
+
* The page number of the returned page.
|
|
105
62
|
*
|
|
106
63
|
* @example
|
|
107
64
|
* Finished
|
|
@@ -109,52 +66,49 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
109
66
|
instanceInvokeStatus?: string;
|
|
110
67
|
/**
|
|
111
68
|
* @remarks
|
|
112
|
-
* The
|
|
113
|
-
*
|
|
114
|
-
* * Pending: The command is being verified or sent.
|
|
115
|
-
*
|
|
116
|
-
* * Invalid: The specified command type or parameter is invalid.
|
|
69
|
+
* 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.
|
|
117
70
|
*
|
|
118
|
-
*
|
|
71
|
+
* 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.
|
|
119
72
|
*
|
|
120
|
-
*
|
|
73
|
+
* 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`.
|
|
121
74
|
*
|
|
122
|
-
*
|
|
75
|
+
* @example
|
|
76
|
+
* Success
|
|
77
|
+
*/
|
|
78
|
+
invocationStatus?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* 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:
|
|
123
82
|
*
|
|
124
|
-
*
|
|
125
|
-
* * Scheduled task: The last execution was complete, the exit code was 0, and the specified period ended.
|
|
83
|
+
* * 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.
|
|
126
84
|
*
|
|
127
|
-
* *
|
|
85
|
+
* * 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.
|
|
128
86
|
*
|
|
129
|
-
*
|
|
130
|
-
* * Scheduled task: The last execution was complete, but the exit code was not 0. The specified period is about to end.
|
|
87
|
+
* * 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.
|
|
131
88
|
*
|
|
132
|
-
* *
|
|
89
|
+
* * 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.
|
|
133
90
|
*
|
|
134
|
-
*
|
|
91
|
+
* * One-time task: The execution was complete, and the exit code was 0.
|
|
92
|
+
* * Scheduled task: The last execution was complete, the exit code was 0, and the specified period ended.
|
|
135
93
|
*
|
|
136
|
-
* *
|
|
94
|
+
* * 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:
|
|
137
95
|
*
|
|
138
|
-
*
|
|
96
|
+
* * Invalid: The command is invalid.
|
|
97
|
+
* * Aborted: The command failed to be sent.
|
|
98
|
+
* * Failed: The execution was complete, but the exit code was not 0.
|
|
99
|
+
* * Timeout: The execution timed out.
|
|
100
|
+
* * Error: An error occurred while the command was being run.
|
|
139
101
|
*
|
|
140
|
-
* *
|
|
102
|
+
* * Stopping: The command task is being stopped. When the execution state on at least one instance is Stopping, the overall execution state is Stopping.
|
|
141
103
|
*
|
|
142
|
-
* *
|
|
104
|
+
* * 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:
|
|
143
105
|
*
|
|
144
|
-
* *
|
|
145
|
-
* *
|
|
106
|
+
* * Cancelled: The task was canceled.
|
|
107
|
+
* * Terminated: The task was terminated.
|
|
146
108
|
*
|
|
147
|
-
*
|
|
148
|
-
* Success
|
|
149
|
-
*/
|
|
150
|
-
invocationStatus?: string;
|
|
151
|
-
/**
|
|
152
|
-
* @remarks
|
|
153
|
-
* The output delivery status of the command execution. Valid values:
|
|
109
|
+
* * 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.
|
|
154
110
|
*
|
|
155
|
-
*
|
|
156
|
-
* * Finished: The delivery is complete.
|
|
157
|
-
* * Failed: The delivery failed.
|
|
111
|
+
* > `InvokeStatus` in the response functions similarly to this parameter. We recommend that you check the value of this parameter.
|
|
158
112
|
*
|
|
159
113
|
* @example
|
|
160
114
|
* Finished
|
|
@@ -162,7 +116,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
162
116
|
ossOutputStatus?: string;
|
|
163
117
|
/**
|
|
164
118
|
* @remarks
|
|
165
|
-
*
|
|
119
|
+
* Command to execute the Output OSS delivery configuration.
|
|
166
120
|
*
|
|
167
121
|
* @example
|
|
168
122
|
* oss://testBucket/testPrefix/output.txt
|
|
@@ -170,10 +124,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
170
124
|
ossOutputUri?: string;
|
|
171
125
|
/**
|
|
172
126
|
* @remarks
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
* * If ContentEncoding is set to PlainText in the request, the original command output is returned.
|
|
176
|
-
* * If ContentEncoding is set to Base64 in the request, the Base64-encoded command output is returned.
|
|
127
|
+
* Indicates whether the command is to be automatically run.
|
|
177
128
|
*
|
|
178
129
|
* @example
|
|
179
130
|
* OutPutTestmsg
|
|
@@ -181,10 +132,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
181
132
|
output?: string;
|
|
182
133
|
/**
|
|
183
134
|
* @remarks
|
|
184
|
-
* The
|
|
185
|
-
*
|
|
186
|
-
* * If the command is set to run only once, the value is 0 or 1.
|
|
187
|
-
* * 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.
|
|
135
|
+
* The time when the command task was created.
|
|
188
136
|
*
|
|
189
137
|
* @example
|
|
190
138
|
* 0
|
|
@@ -192,7 +140,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
192
140
|
repeats?: number;
|
|
193
141
|
/**
|
|
194
142
|
* @remarks
|
|
195
|
-
*
|
|
143
|
+
* Details about the command executions.
|
|
196
144
|
*
|
|
197
145
|
* @example
|
|
198
146
|
* 2019-12-20T06:15:55Z
|
|
@@ -200,7 +148,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
200
148
|
startTime?: string;
|
|
201
149
|
/**
|
|
202
150
|
* @remarks
|
|
203
|
-
* The
|
|
151
|
+
* The execution states of the command.
|
|
204
152
|
*
|
|
205
153
|
* @example
|
|
206
154
|
* 2020-01-19T09:15:47Z
|
|
@@ -208,7 +156,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
208
156
|
stopTime?: string;
|
|
209
157
|
/**
|
|
210
158
|
* @remarks
|
|
211
|
-
*
|
|
159
|
+
* The request ID.
|
|
212
160
|
*
|
|
213
161
|
* @example
|
|
214
162
|
* false
|
|
@@ -216,7 +164,9 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
216
164
|
timed?: boolean;
|
|
217
165
|
/**
|
|
218
166
|
* @remarks
|
|
219
|
-
* The
|
|
167
|
+
* The maximum timeout period for the command execution. Unit: seconds.
|
|
168
|
+
*
|
|
169
|
+
* 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.
|
|
220
170
|
*
|
|
221
171
|
* @example
|
|
222
172
|
* 2020-01-19T09:15:47Z
|
|
@@ -249,7 +199,10 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationInvokeI
|
|
|
249
199
|
export declare class DescribeInvocationsResponseBodyInvocationsInvocationTagsTag extends $dara.Model {
|
|
250
200
|
/**
|
|
251
201
|
* @remarks
|
|
252
|
-
* The
|
|
202
|
+
* The command content.
|
|
203
|
+
*
|
|
204
|
+
* * If ContentEncoding is set to PlainText in the request, the original command content is returned.
|
|
205
|
+
* * If ContentEncoding is set to Base64 in the request, the Base64-encoded command content is returned.
|
|
253
206
|
*
|
|
254
207
|
* @example
|
|
255
208
|
* owner
|
|
@@ -257,7 +210,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationTagsTag
|
|
|
257
210
|
tagKey?: string;
|
|
258
211
|
/**
|
|
259
212
|
* @remarks
|
|
260
|
-
* The
|
|
213
|
+
* The execution path of the command.
|
|
261
214
|
*
|
|
262
215
|
* @example
|
|
263
216
|
* zhangsan
|
|
@@ -290,10 +243,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocationTags ex
|
|
|
290
243
|
export declare class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.Model {
|
|
291
244
|
/**
|
|
292
245
|
* @remarks
|
|
293
|
-
* The
|
|
294
|
-
*
|
|
295
|
-
* * If ContentEncoding is set to PlainText in the request, the original command content is returned.
|
|
296
|
-
* * If ContentEncoding is set to Base64 in the request, the Base64-encoded command content is returned.
|
|
246
|
+
* The size of the Output text that was truncated and discarded because the Output value exceeded 24 KB in size.
|
|
297
247
|
*
|
|
298
248
|
* @example
|
|
299
249
|
* cnBtIC1xYSB8IGdyZXAgdnNm****
|
|
@@ -301,7 +251,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
301
251
|
commandContent?: string;
|
|
302
252
|
/**
|
|
303
253
|
* @remarks
|
|
304
|
-
* The
|
|
254
|
+
* 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.
|
|
305
255
|
*
|
|
306
256
|
* @example
|
|
307
257
|
* testDescription
|
|
@@ -309,7 +259,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
309
259
|
commandDescription?: string;
|
|
310
260
|
/**
|
|
311
261
|
* @remarks
|
|
312
|
-
* The command
|
|
262
|
+
* The time when the command process ended.
|
|
313
263
|
*
|
|
314
264
|
* @example
|
|
315
265
|
* c-hz0jdfwcsr****
|
|
@@ -317,7 +267,10 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
317
267
|
commandId?: string;
|
|
318
268
|
/**
|
|
319
269
|
* @remarks
|
|
320
|
-
* The command
|
|
270
|
+
* The command output.
|
|
271
|
+
*
|
|
272
|
+
* * If ContentEncoding is set to PlainText in the request, the original command output is returned.
|
|
273
|
+
* * If ContentEncoding is set to Base64 in the request, the Base64-encoded command output is returned.
|
|
321
274
|
*
|
|
322
275
|
* @example
|
|
323
276
|
* CommandTestName
|
|
@@ -325,7 +278,9 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
325
278
|
commandName?: string;
|
|
326
279
|
/**
|
|
327
280
|
* @remarks
|
|
328
|
-
* The command
|
|
281
|
+
* The execution status of the command on a single instance.
|
|
282
|
+
*
|
|
283
|
+
* > We recommend that you ignore this parameter and check the value of `InvocationStatus` in the response to obtain the execution status.
|
|
329
284
|
*
|
|
330
285
|
* @example
|
|
331
286
|
* RunShellScript
|
|
@@ -333,7 +288,26 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
333
288
|
commandType?: string;
|
|
334
289
|
/**
|
|
335
290
|
* @remarks
|
|
336
|
-
* The
|
|
291
|
+
* The error message returned when the command failed to be sent or run. Valid values:
|
|
292
|
+
*
|
|
293
|
+
* * If this parameter is empty, the command was run as expected.
|
|
294
|
+
* * The security group rules denied access to the aliyun service.
|
|
295
|
+
* * The specified instance does not exist.
|
|
296
|
+
* * The specified instance was released during task execution.
|
|
297
|
+
* * The specified instance was not running during task execution.
|
|
298
|
+
* * The OS type of the instance does not support the specified command type.
|
|
299
|
+
* * The specified account does not exist.
|
|
300
|
+
* * The specified directory does not exist.
|
|
301
|
+
* * The cron expression is invalid.
|
|
302
|
+
* * The aliyun service is not running on the instance.
|
|
303
|
+
* * The aliyun service in the instance does not response.
|
|
304
|
+
* * The aliyun service in the instance is upgrading during task execution.
|
|
305
|
+
* * 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.
|
|
306
|
+
* * The command delivery has been timeout.
|
|
307
|
+
* * The command execution has been timeout.
|
|
308
|
+
* * The command execution got an exception.
|
|
309
|
+
* * The command execution exit code is not zero.
|
|
310
|
+
* * The specified instance was released during task execution.
|
|
337
311
|
*
|
|
338
312
|
* @example
|
|
339
313
|
* ab141ddfbacfe02d9dbc25966ed971536124527097398d419a6746873fea****
|
|
@@ -341,7 +315,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
341
315
|
containerId?: string;
|
|
342
316
|
/**
|
|
343
317
|
* @remarks
|
|
344
|
-
* The
|
|
318
|
+
* The time when the command started to be run on the instance.
|
|
345
319
|
*
|
|
346
320
|
* @example
|
|
347
321
|
* test-container
|
|
@@ -349,7 +323,10 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
349
323
|
containerName?: string;
|
|
350
324
|
/**
|
|
351
325
|
* @remarks
|
|
352
|
-
* The
|
|
326
|
+
* The number of times that the command was run on the instance.
|
|
327
|
+
*
|
|
328
|
+
* * If the command is set to run only once, the value is 0 or 1.
|
|
329
|
+
* * 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.
|
|
353
330
|
*
|
|
354
331
|
* @example
|
|
355
332
|
* 2020-01-19T09:15:46Z
|
|
@@ -357,42 +334,12 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
357
334
|
creationTime?: string;
|
|
358
335
|
/**
|
|
359
336
|
* @remarks
|
|
360
|
-
* The
|
|
337
|
+
* The command execution Output delivers the object URI to OSS. This field is an empty string when the delivery fails or is in progress.
|
|
361
338
|
*/
|
|
362
339
|
frequency?: string;
|
|
363
340
|
/**
|
|
364
341
|
* @remarks
|
|
365
|
-
*
|
|
366
|
-
*
|
|
367
|
-
* * 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.
|
|
368
|
-
*
|
|
369
|
-
* * 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.
|
|
370
|
-
*
|
|
371
|
-
* * 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.
|
|
372
|
-
*
|
|
373
|
-
* * 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.
|
|
374
|
-
*
|
|
375
|
-
* * One-time task: The execution was complete, and the exit code was 0.
|
|
376
|
-
* * Scheduled task: The last execution was complete, the exit code was 0, and the specified period ended.
|
|
377
|
-
*
|
|
378
|
-
* * 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:
|
|
379
|
-
*
|
|
380
|
-
* * Invalid: The command is invalid.
|
|
381
|
-
* * Aborted: The command failed to be sent.
|
|
382
|
-
* * Failed: The execution was complete, but the exit code was not 0.
|
|
383
|
-
* * Timeout: The execution timed out.
|
|
384
|
-
* * Error: An error occurred while the command was being run.
|
|
385
|
-
*
|
|
386
|
-
* * Stopping: The command task is being stopped. When the execution state on at least one instance is Stopping, the overall execution state is Stopping.
|
|
387
|
-
*
|
|
388
|
-
* * 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:
|
|
389
|
-
*
|
|
390
|
-
* * Cancelled: The task was canceled.
|
|
391
|
-
* * Terminated: The task was terminated.
|
|
392
|
-
*
|
|
393
|
-
* * 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.
|
|
394
|
-
*
|
|
395
|
-
* > `InvokeStatus` in the response functions similarly to this parameter. We recommend that you check the value of this parameter.
|
|
342
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
396
343
|
*
|
|
397
344
|
* @example
|
|
398
345
|
* Running
|
|
@@ -400,7 +347,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
400
347
|
invocationStatus?: string;
|
|
401
348
|
/**
|
|
402
349
|
* @remarks
|
|
403
|
-
* The command task
|
|
350
|
+
* The time when the command task was created.
|
|
404
351
|
*
|
|
405
352
|
* @example
|
|
406
353
|
* t-hz0jdfwd9f****
|
|
@@ -408,14 +355,12 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
408
355
|
invokeId?: string;
|
|
409
356
|
/**
|
|
410
357
|
* @remarks
|
|
411
|
-
* The
|
|
358
|
+
* The tags that are added to the command.
|
|
412
359
|
*/
|
|
413
360
|
invokeInstances?: DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances;
|
|
414
361
|
/**
|
|
415
362
|
* @remarks
|
|
416
|
-
*
|
|
417
|
-
*
|
|
418
|
-
* > We recommend that you ignore this parameter and check the value of `InvocationStatus` in the response to obtain the execution status.
|
|
363
|
+
* Indicates whether the command is to be automatically run.
|
|
419
364
|
*
|
|
420
365
|
* @example
|
|
421
366
|
* Finished
|
|
@@ -423,7 +368,11 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
423
368
|
invokeStatus?: string;
|
|
424
369
|
/**
|
|
425
370
|
* @remarks
|
|
426
|
-
* The
|
|
371
|
+
* The output delivery status of the command execution. Valid values:
|
|
372
|
+
*
|
|
373
|
+
* * InProgress: The delivery is in progress.
|
|
374
|
+
* * Finished: The delivery is complete.
|
|
375
|
+
* * Failed: The delivery failed.
|
|
427
376
|
*
|
|
428
377
|
* @example
|
|
429
378
|
* python3 -u {{ACS::ScriptFileName|Ext(".py")}}
|
|
@@ -431,7 +380,12 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
431
380
|
launcher?: string;
|
|
432
381
|
/**
|
|
433
382
|
* @remarks
|
|
434
|
-
*
|
|
383
|
+
* Specifies whether to return the command outputs in the response.
|
|
384
|
+
*
|
|
385
|
+
* * true: The command outputs are returned. When this parameter is set to true, you must specify `InvokeId`, `InstanceId`, or both.
|
|
386
|
+
* * false: The command outputs are not returned.
|
|
387
|
+
*
|
|
388
|
+
* Default value: false
|
|
435
389
|
*
|
|
436
390
|
* @example
|
|
437
391
|
* oss://testBucket/testPrefix
|
|
@@ -439,7 +393,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
439
393
|
ossOutputDelivery?: string;
|
|
440
394
|
/**
|
|
441
395
|
* @remarks
|
|
442
|
-
*
|
|
396
|
+
* > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
|
|
443
397
|
*
|
|
444
398
|
* @example
|
|
445
399
|
* {}
|
|
@@ -447,13 +401,7 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
447
401
|
parameters?: string;
|
|
448
402
|
/**
|
|
449
403
|
* @remarks
|
|
450
|
-
* The
|
|
451
|
-
*
|
|
452
|
-
* * Once: The command is immediately run.
|
|
453
|
-
* * Period: The command is run on a schedule.
|
|
454
|
-
* * NextRebootOnly: The command is run the next time the instances start.
|
|
455
|
-
* * EveryReboot: The command is run every time the instances start.
|
|
456
|
-
* * 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.
|
|
404
|
+
* The instance ID.
|
|
457
405
|
*
|
|
458
406
|
* @example
|
|
459
407
|
* Once
|
|
@@ -461,15 +409,32 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
461
409
|
repeatMode?: string;
|
|
462
410
|
/**
|
|
463
411
|
* @remarks
|
|
464
|
-
* The
|
|
412
|
+
* The error code for the failure to send or run the command. Valid values:
|
|
413
|
+
*
|
|
414
|
+
* * If this parameter is empty, the command is run normally.
|
|
415
|
+
* * InstanceNotExists: The specified instance did not exist or was released.
|
|
416
|
+
* * InstanceReleased: The instance is released during command execution.
|
|
417
|
+
* * InstanceNotRunning: The instance was not running when the command started to be run.
|
|
418
|
+
* * CommandNotApplicable: The command was inapplicable to the specified instance.
|
|
419
|
+
* * AccountNotExists: The username specified to run the command did not exist.
|
|
420
|
+
* * DirectoryNotExists: The specified directory did not exist.
|
|
421
|
+
* * BadCronExpression: The specified cron expression for the execution schedule was invalid.
|
|
422
|
+
* * ClientNotRunning: Cloud Assistant Agent was not running.
|
|
423
|
+
* * ClientNotResponse: Cloud Assistant Agent does not respond.
|
|
424
|
+
* * ClientIsUpgrading: Cloud Assistant Agent is being upgraded.
|
|
425
|
+
* * ClientNeedUpgrade: Cloud Assistant Agent needed to be upgraded.
|
|
426
|
+
* * DeliveryTimeout: The request to send the command timed out.
|
|
427
|
+
* * ExecutionTimeout: The execution timed out.
|
|
428
|
+
* * ExecutionException: An exception occurred while the command was being executed.
|
|
429
|
+
* * ExecutionInterrupted: The command task was interrupted.
|
|
430
|
+
* * ExitCodeNonzero: The execution was complete, but the exit code was not 0.
|
|
431
|
+
* * SecurityGroupRuleDenied: Access to Cloud Assistant was denied by security group rules.
|
|
432
|
+
* * TaskConcurrencyLimit: The number of concurrent tasks exceeds the maximum limit.
|
|
465
433
|
*/
|
|
466
434
|
tags?: DescribeInvocationsResponseBodyInvocationsInvocationTags;
|
|
467
435
|
/**
|
|
468
436
|
* @remarks
|
|
469
|
-
*
|
|
470
|
-
*
|
|
471
|
-
* * Process: The process of the command is stopped.
|
|
472
|
-
* * ProcessTree: The process tree of the command is stopped. In this case, the process of the command and all subprocesses are stopped.
|
|
437
|
+
* The time when the execution status was updated.
|
|
473
438
|
*
|
|
474
439
|
* @example
|
|
475
440
|
* ProcessTree
|
|
@@ -477,7 +442,11 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
477
442
|
terminationMode?: string;
|
|
478
443
|
/**
|
|
479
444
|
* @remarks
|
|
480
|
-
*
|
|
445
|
+
* The maximum number of entries per page.
|
|
446
|
+
*
|
|
447
|
+
* Valid values: 1 to 50.
|
|
448
|
+
*
|
|
449
|
+
* Default value: 10.
|
|
481
450
|
*
|
|
482
451
|
* @example
|
|
483
452
|
* false
|
|
@@ -485,9 +454,14 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
485
454
|
timed?: boolean;
|
|
486
455
|
/**
|
|
487
456
|
* @remarks
|
|
488
|
-
* The
|
|
457
|
+
* The execution mode of the command. If you specify both this parameter and `InstanceId`, this parameter does not take effect. Valid values:
|
|
489
458
|
*
|
|
490
|
-
*
|
|
459
|
+
* * Once: The command is immediately run.
|
|
460
|
+
* * Period: The command is run on a schedule.
|
|
461
|
+
* * NextRebootOnly: The command is run the next time the instances start.
|
|
462
|
+
* * EveryReboot: The command is run every time the instances start.
|
|
463
|
+
*
|
|
464
|
+
* This parameter is empty by default, which indicates that commands run in all modes are queried.
|
|
491
465
|
*
|
|
492
466
|
* @example
|
|
493
467
|
* 60
|
|
@@ -495,15 +469,51 @@ export declare class DescribeInvocationsResponseBodyInvocationsInvocation extend
|
|
|
495
469
|
timeout?: number;
|
|
496
470
|
/**
|
|
497
471
|
* @remarks
|
|
498
|
-
* The
|
|
472
|
+
* The exit code of the execution. Valid values:
|
|
473
|
+
*
|
|
474
|
+
* * For Linux instances, the value is the exit code of the shell process.
|
|
475
|
+
* * For Windows instances, the value is the exit code of the batch or PowerShell process.
|
|
499
476
|
*
|
|
500
477
|
* @example
|
|
501
|
-
*
|
|
478
|
+
* test
|
|
502
479
|
*/
|
|
503
480
|
username?: string;
|
|
504
481
|
/**
|
|
505
482
|
* @remarks
|
|
506
|
-
* The execution
|
|
483
|
+
* The execution status on a single instance. Valid values:
|
|
484
|
+
*
|
|
485
|
+
* * Pending: The command is being verified or sent.
|
|
486
|
+
*
|
|
487
|
+
* * Invalid: The specified command type or parameter is invalid.
|
|
488
|
+
*
|
|
489
|
+
* * 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.
|
|
490
|
+
*
|
|
491
|
+
* * Running: The command is being run on the instance.
|
|
492
|
+
*
|
|
493
|
+
* * Success:
|
|
494
|
+
*
|
|
495
|
+
* * One-time task: The execution was complete, and the exit code was 0.
|
|
496
|
+
* * Scheduled task: The last execution was complete, the exit code was 0, and the specified period ended.
|
|
497
|
+
*
|
|
498
|
+
* * Failed:
|
|
499
|
+
*
|
|
500
|
+
* * One-time task: The execution was complete, but the exit code was not 0.
|
|
501
|
+
* * Scheduled task: The last execution was complete, but the exit code was not 0. The specified period is about to end.
|
|
502
|
+
*
|
|
503
|
+
* * Error: The execution cannot proceed due to an exception.
|
|
504
|
+
*
|
|
505
|
+
* * Timeout: The execution timed out.
|
|
506
|
+
*
|
|
507
|
+
* * Cancelled: The execution was canceled before it started.
|
|
508
|
+
*
|
|
509
|
+
* * Stopping: The command task is being stopped.
|
|
510
|
+
*
|
|
511
|
+
* * Terminated: The execution was terminated before completion.
|
|
512
|
+
*
|
|
513
|
+
* * Scheduled:
|
|
514
|
+
*
|
|
515
|
+
* * One-time task: The execution state can never be Scheduled.
|
|
516
|
+
* * Scheduled task: The command is waiting to be run.
|
|
507
517
|
*
|
|
508
518
|
* @example
|
|
509
519
|
* /home/
|
|
@@ -536,12 +546,42 @@ export declare class DescribeInvocationsResponseBodyInvocations extends $dara.Mo
|
|
|
536
546
|
export declare class DescribeInvocationsResponseBody extends $dara.Model {
|
|
537
547
|
/**
|
|
538
548
|
* @remarks
|
|
539
|
-
*
|
|
549
|
+
* 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.
|
|
540
550
|
*/
|
|
541
551
|
invocations?: DescribeInvocationsResponseBodyInvocations;
|
|
542
552
|
/**
|
|
543
553
|
* @remarks
|
|
544
|
-
*
|
|
554
|
+
* 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:
|
|
555
|
+
*
|
|
556
|
+
* * Running:
|
|
557
|
+
*
|
|
558
|
+
* * Scheduled task: Before you stop the scheduled execution of the command, the overall execution state is always Running.
|
|
559
|
+
* * One-time task: If the command is being run on instances, the overall execution state is Running.
|
|
560
|
+
*
|
|
561
|
+
* * Finished:
|
|
562
|
+
*
|
|
563
|
+
* * Scheduled task: The overall execution state can never be Finished.
|
|
564
|
+
* * 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.
|
|
565
|
+
*
|
|
566
|
+
* * 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.
|
|
567
|
+
*
|
|
568
|
+
* * One-time task: The execution is complete, and the exit code is 0.
|
|
569
|
+
* * Scheduled task: The last execution is complete, the exit code is 0, and the specified period ends.
|
|
570
|
+
*
|
|
571
|
+
* * Failed:
|
|
572
|
+
*
|
|
573
|
+
* * Scheduled task: The overall execution state can never be Failed.
|
|
574
|
+
* * One-time task: The execution failed on all instances.
|
|
575
|
+
*
|
|
576
|
+
* * Stopped: The task is stopped.
|
|
577
|
+
*
|
|
578
|
+
* * Stopping: The task is being stopped.
|
|
579
|
+
*
|
|
580
|
+
* * PartialFailed: The task fails on some instances. If you specify both this parameter and `InstanceId`, this parameter does not take effect.
|
|
581
|
+
*
|
|
582
|
+
* * 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.
|
|
583
|
+
*
|
|
584
|
+
* * 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.
|
|
545
585
|
*
|
|
546
586
|
* @example
|
|
547
587
|
* AAAAAdDWBF2
|
|
@@ -549,7 +589,11 @@ export declare class DescribeInvocationsResponseBody extends $dara.Model {
|
|
|
549
589
|
nextToken?: string;
|
|
550
590
|
/**
|
|
551
591
|
* @remarks
|
|
552
|
-
* The
|
|
592
|
+
* The command type. Valid values:
|
|
593
|
+
*
|
|
594
|
+
* * RunBatScript: batch command, applicable to Windows instances.
|
|
595
|
+
* * RunPowerShellScript: PowerShell command, applicable to Windows instances.
|
|
596
|
+
* * RunShellScript: shell command, applicable to Linux instances.
|
|
553
597
|
*
|
|
554
598
|
* @example
|
|
555
599
|
* 1
|
|
@@ -557,7 +601,7 @@ export declare class DescribeInvocationsResponseBody extends $dara.Model {
|
|
|
557
601
|
pageNumber?: number;
|
|
558
602
|
/**
|
|
559
603
|
* @remarks
|
|
560
|
-
* The
|
|
604
|
+
* The command ID. You can call the [DescribeCommands](https://help.aliyun.com/document_detail/64843.html) operation to query all available command IDs.
|
|
561
605
|
*
|
|
562
606
|
* @example
|
|
563
607
|
* 10
|
|
@@ -565,7 +609,7 @@ export declare class DescribeInvocationsResponseBody extends $dara.Model {
|
|
|
565
609
|
pageSize?: number;
|
|
566
610
|
/**
|
|
567
611
|
* @remarks
|
|
568
|
-
* The
|
|
612
|
+
* The command name. If you specify both this parameter and `InstanceId`, this parameter does not take effect.
|
|
569
613
|
*
|
|
570
614
|
* @example
|
|
571
615
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
@@ -573,7 +617,16 @@ export declare class DescribeInvocationsResponseBody extends $dara.Model {
|
|
|
573
617
|
requestId?: string;
|
|
574
618
|
/**
|
|
575
619
|
* @remarks
|
|
576
|
-
*
|
|
620
|
+
* Specifies whether the command is to be automatically run. Valid values:
|
|
621
|
+
*
|
|
622
|
+
* * true: The command is run by calling the `RunCommand` or `InvokeCommand` operation with `RepeatMode` set to `Period`, `NextRebootOnly`, or `EveryReboot`.
|
|
623
|
+
*
|
|
624
|
+
* * false: The command meets one of the following requirements:
|
|
625
|
+
*
|
|
626
|
+
* * The command is run by calling the `RunCommand` or `InvokeCommand` operation with `RepeatMode` set to `Once`.
|
|
627
|
+
* * The command task is canceled, stopped, or completed.
|
|
628
|
+
*
|
|
629
|
+
* Default value: false.
|
|
577
630
|
*
|
|
578
631
|
* @example
|
|
579
632
|
* 1
|