tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getAsLastActivity
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of as last_activity
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const lastActivity = tencentcloud.getAsLastActivity({
autoScalingGroupIds: ["asc-lo0b94oy"],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
last_activity = tencentcloud.get_as_last_activity(auto_scaling_group_ids=["asc-lo0b94oy"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetAsLastActivity(ctx, &tencentcloud.GetAsLastActivityArgs{
AutoScalingGroupIds: []string{
"asc-lo0b94oy",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var lastActivity = Tencentcloud.GetAsLastActivity.Invoke(new()
{
AutoScalingGroupIds = new[]
{
"asc-lo0b94oy",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetAsLastActivityArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var lastActivity = TencentcloudFunctions.getAsLastActivity(GetAsLastActivityArgs.builder()
.autoScalingGroupIds("asc-lo0b94oy")
.build());
}
}
variables:
lastActivity:
fn::invoke:
function: tencentcloud:getAsLastActivity
arguments:
autoScalingGroupIds:
- asc-lo0b94oy
Using getAsLastActivity
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAsLastActivity(args: GetAsLastActivityArgs, opts?: InvokeOptions): Promise<GetAsLastActivityResult>
function getAsLastActivityOutput(args: GetAsLastActivityOutputArgs, opts?: InvokeOptions): Output<GetAsLastActivityResult>
def get_as_last_activity(auto_scaling_group_ids: Optional[Sequence[str]] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAsLastActivityResult
def get_as_last_activity_output(auto_scaling_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAsLastActivityResult]
func GetAsLastActivity(ctx *Context, args *GetAsLastActivityArgs, opts ...InvokeOption) (*GetAsLastActivityResult, error)
func GetAsLastActivityOutput(ctx *Context, args *GetAsLastActivityOutputArgs, opts ...InvokeOption) GetAsLastActivityResultOutput
> Note: This function is named GetAsLastActivity
in the Go SDK.
public static class GetAsLastActivity
{
public static Task<GetAsLastActivityResult> InvokeAsync(GetAsLastActivityArgs args, InvokeOptions? opts = null)
public static Output<GetAsLastActivityResult> Invoke(GetAsLastActivityInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAsLastActivityResult> getAsLastActivity(GetAsLastActivityArgs args, InvokeOptions options)
public static Output<GetAsLastActivityResult> getAsLastActivity(GetAsLastActivityArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getAsLastActivity:getAsLastActivity
arguments:
# arguments dictionary
The following arguments are supported:
- Auto
Scaling List<string>Group Ids - ID list of an auto scaling group.
- Id string
- Result
Output stringFile - Used to save results.
- Auto
Scaling []stringGroup Ids - ID list of an auto scaling group.
- Id string
- Result
Output stringFile - Used to save results.
- auto
Scaling List<String>Group Ids - ID list of an auto scaling group.
- id String
- result
Output StringFile - Used to save results.
- auto
Scaling string[]Group Ids - ID list of an auto scaling group.
- id string
- result
Output stringFile - Used to save results.
- auto_
scaling_ Sequence[str]group_ ids - ID list of an auto scaling group.
- id str
- result_
output_ strfile - Used to save results.
- auto
Scaling List<String>Group Ids - ID list of an auto scaling group.
- id String
- result
Output StringFile - Used to save results.
getAsLastActivity Result
The following output properties are available:
- Activity
Sets List<GetAs Last Activity Activity Set> - Information set of eligible scaling activities. Scaling groups without scaling activities are not returned. For example, if there are 50 auto scaling group IDs but only 45 records are returned, it indicates that 5 of the auto scaling groups do not have scaling activities.
- Auto
Scaling List<string>Group Ids - Id string
- Result
Output stringFile
- Activity
Sets []GetAs Last Activity Activity Set - Information set of eligible scaling activities. Scaling groups without scaling activities are not returned. For example, if there are 50 auto scaling group IDs but only 45 records are returned, it indicates that 5 of the auto scaling groups do not have scaling activities.
- Auto
Scaling []stringGroup Ids - Id string
- Result
Output stringFile
- activity
Sets List<GetAs Last Activity Activity Set> - Information set of eligible scaling activities. Scaling groups without scaling activities are not returned. For example, if there are 50 auto scaling group IDs but only 45 records are returned, it indicates that 5 of the auto scaling groups do not have scaling activities.
- auto
Scaling List<String>Group Ids - id String
- result
Output StringFile
- activity
Sets GetAs Last Activity Activity Set[] - Information set of eligible scaling activities. Scaling groups without scaling activities are not returned. For example, if there are 50 auto scaling group IDs but only 45 records are returned, it indicates that 5 of the auto scaling groups do not have scaling activities.
- auto
Scaling string[]Group Ids - id string
- result
Output stringFile
- activity_
sets Sequence[GetAs Last Activity Activity Set] - Information set of eligible scaling activities. Scaling groups without scaling activities are not returned. For example, if there are 50 auto scaling group IDs but only 45 records are returned, it indicates that 5 of the auto scaling groups do not have scaling activities.
- auto_
scaling_ Sequence[str]group_ ids - id str
- result_
output_ strfile
- activity
Sets List<Property Map> - Information set of eligible scaling activities. Scaling groups without scaling activities are not returned. For example, if there are 50 auto scaling group IDs but only 45 records are returned, it indicates that 5 of the auto scaling groups do not have scaling activities.
- auto
Scaling List<String>Group Ids - id String
- result
Output StringFile
Supporting Types
GetAsLastActivityActivitySet
- Activity
Id string - Scaling activity ID.
- List<Get
As Last Activity Activity Set Activity Related Instance Set> - Information set of the instances related to the scaling activity.
- Activity
Type string - Type of the scaling activity. Value range: SCALE_OUT, SCALE_IN, ATTACH_INSTANCES, REMOVE_INSTANCES, DETACH_INSTANCES, TERMINATE_INSTANCES_UNEXPECTEDLY, REPLACE_UNHEALTHY_INSTANCE, START_INSTANCES, STOP_INSTANCES, INVOKE_COMMAND.
- Auto
Scaling stringGroup Id - Auto scaling group ID.
- Cause string
- Cause of the scaling activity.
- Created
Time string - Creation time of the scaling activity.
- Description string
- Description of the scaling activity.
- Detailed
Status List<GetMessage Sets As Last Activity Activity Set Detailed Status Message Set> - Detailed description of scaling activity status.
- End
Time string - End time of the scaling activity.
- Invocation
Result List<GetSets As Last Activity Activity Set Invocation Result Set> - Result of the command execution.
- Lifecycle
Action List<GetResult Sets As Last Activity Activity Set Lifecycle Action Result Set> - Result of the lifecycle hook action in the scaling activity.
- Start
Time string - Start time of the scaling activity.
- Status
Code string - Scaling activity status. Value range: INIT, RUNNING, SUCCESSFUL, PARTIALLY_SUCCESSFUL, FAILED, CANCELLED.
- Status
Message string - Description of the scaling activity status.
- Status
Message stringSimplified - Brief description of the scaling activity status.
- Activity
Id string - Scaling activity ID.
- []Get
As Last Activity Activity Set Activity Related Instance Set - Information set of the instances related to the scaling activity.
- Activity
Type string - Type of the scaling activity. Value range: SCALE_OUT, SCALE_IN, ATTACH_INSTANCES, REMOVE_INSTANCES, DETACH_INSTANCES, TERMINATE_INSTANCES_UNEXPECTEDLY, REPLACE_UNHEALTHY_INSTANCE, START_INSTANCES, STOP_INSTANCES, INVOKE_COMMAND.
- Auto
Scaling stringGroup Id - Auto scaling group ID.
- Cause string
- Cause of the scaling activity.
- Created
Time string - Creation time of the scaling activity.
- Description string
- Description of the scaling activity.
- Detailed
Status []GetMessage Sets As Last Activity Activity Set Detailed Status Message Set - Detailed description of scaling activity status.
- End
Time string - End time of the scaling activity.
- Invocation
Result []GetSets As Last Activity Activity Set Invocation Result Set - Result of the command execution.
- Lifecycle
Action []GetResult Sets As Last Activity Activity Set Lifecycle Action Result Set - Result of the lifecycle hook action in the scaling activity.
- Start
Time string - Start time of the scaling activity.
- Status
Code string - Scaling activity status. Value range: INIT, RUNNING, SUCCESSFUL, PARTIALLY_SUCCESSFUL, FAILED, CANCELLED.
- Status
Message string - Description of the scaling activity status.
- Status
Message stringSimplified - Brief description of the scaling activity status.
- activity
Id String - Scaling activity ID.
- List<Get
As Last Activity Activity Set Activity Related Instance Set> - Information set of the instances related to the scaling activity.
- activity
Type String - Type of the scaling activity. Value range: SCALE_OUT, SCALE_IN, ATTACH_INSTANCES, REMOVE_INSTANCES, DETACH_INSTANCES, TERMINATE_INSTANCES_UNEXPECTEDLY, REPLACE_UNHEALTHY_INSTANCE, START_INSTANCES, STOP_INSTANCES, INVOKE_COMMAND.
- auto
Scaling StringGroup Id - Auto scaling group ID.
- cause String
- Cause of the scaling activity.
- created
Time String - Creation time of the scaling activity.
- description String
- Description of the scaling activity.
- detailed
Status List<GetMessage Sets As Last Activity Activity Set Detailed Status Message Set> - Detailed description of scaling activity status.
- end
Time String - End time of the scaling activity.
- invocation
Result List<GetSets As Last Activity Activity Set Invocation Result Set> - Result of the command execution.
- lifecycle
Action List<GetResult Sets As Last Activity Activity Set Lifecycle Action Result Set> - Result of the lifecycle hook action in the scaling activity.
- start
Time String - Start time of the scaling activity.
- status
Code String - Scaling activity status. Value range: INIT, RUNNING, SUCCESSFUL, PARTIALLY_SUCCESSFUL, FAILED, CANCELLED.
- status
Message String - Description of the scaling activity status.
- status
Message StringSimplified - Brief description of the scaling activity status.
- activity
Id string - Scaling activity ID.
- Get
As Last Activity Activity Set Activity Related Instance Set[] - Information set of the instances related to the scaling activity.
- activity
Type string - Type of the scaling activity. Value range: SCALE_OUT, SCALE_IN, ATTACH_INSTANCES, REMOVE_INSTANCES, DETACH_INSTANCES, TERMINATE_INSTANCES_UNEXPECTEDLY, REPLACE_UNHEALTHY_INSTANCE, START_INSTANCES, STOP_INSTANCES, INVOKE_COMMAND.
- auto
Scaling stringGroup Id - Auto scaling group ID.
- cause string
- Cause of the scaling activity.
- created
Time string - Creation time of the scaling activity.
- description string
- Description of the scaling activity.
- detailed
Status GetMessage Sets As Last Activity Activity Set Detailed Status Message Set[] - Detailed description of scaling activity status.
- end
Time string - End time of the scaling activity.
- invocation
Result GetSets As Last Activity Activity Set Invocation Result Set[] - Result of the command execution.
- lifecycle
Action GetResult Sets As Last Activity Activity Set Lifecycle Action Result Set[] - Result of the lifecycle hook action in the scaling activity.
- start
Time string - Start time of the scaling activity.
- status
Code string - Scaling activity status. Value range: INIT, RUNNING, SUCCESSFUL, PARTIALLY_SUCCESSFUL, FAILED, CANCELLED.
- status
Message string - Description of the scaling activity status.
- status
Message stringSimplified - Brief description of the scaling activity status.
- activity_
id str - Scaling activity ID.
- Sequence[Get
As Last Activity Activity Set Activity Related Instance Set] - Information set of the instances related to the scaling activity.
- activity_
type str - Type of the scaling activity. Value range: SCALE_OUT, SCALE_IN, ATTACH_INSTANCES, REMOVE_INSTANCES, DETACH_INSTANCES, TERMINATE_INSTANCES_UNEXPECTEDLY, REPLACE_UNHEALTHY_INSTANCE, START_INSTANCES, STOP_INSTANCES, INVOKE_COMMAND.
- auto_
scaling_ strgroup_ id - Auto scaling group ID.
- cause str
- Cause of the scaling activity.
- created_
time str - Creation time of the scaling activity.
- description str
- Description of the scaling activity.
- detailed_
status_ Sequence[Getmessage_ sets As Last Activity Activity Set Detailed Status Message Set] - Detailed description of scaling activity status.
- end_
time str - End time of the scaling activity.
- invocation_
result_ Sequence[Getsets As Last Activity Activity Set Invocation Result Set] - Result of the command execution.
- lifecycle_
action_ Sequence[Getresult_ sets As Last Activity Activity Set Lifecycle Action Result Set] - Result of the lifecycle hook action in the scaling activity.
- start_
time str - Start time of the scaling activity.
- status_
code str - Scaling activity status. Value range: INIT, RUNNING, SUCCESSFUL, PARTIALLY_SUCCESSFUL, FAILED, CANCELLED.
- status_
message str - Description of the scaling activity status.
- status_
message_ strsimplified - Brief description of the scaling activity status.
- activity
Id String - Scaling activity ID.
- List<Property Map>
- Information set of the instances related to the scaling activity.
- activity
Type String - Type of the scaling activity. Value range: SCALE_OUT, SCALE_IN, ATTACH_INSTANCES, REMOVE_INSTANCES, DETACH_INSTANCES, TERMINATE_INSTANCES_UNEXPECTEDLY, REPLACE_UNHEALTHY_INSTANCE, START_INSTANCES, STOP_INSTANCES, INVOKE_COMMAND.
- auto
Scaling StringGroup Id - Auto scaling group ID.
- cause String
- Cause of the scaling activity.
- created
Time String - Creation time of the scaling activity.
- description String
- Description of the scaling activity.
- detailed
Status List<Property Map>Message Sets - Detailed description of scaling activity status.
- end
Time String - End time of the scaling activity.
- invocation
Result List<Property Map>Sets - Result of the command execution.
- lifecycle
Action List<Property Map>Result Sets - Result of the lifecycle hook action in the scaling activity.
- start
Time String - Start time of the scaling activity.
- status
Code String - Scaling activity status. Value range: INIT, RUNNING, SUCCESSFUL, PARTIALLY_SUCCESSFUL, FAILED, CANCELLED.
- status
Message String - Description of the scaling activity status.
- status
Message StringSimplified - Brief description of the scaling activity status.
GetAsLastActivityActivitySetActivityRelatedInstanceSet
- Instance
Id string - ID of the instance.
- Instance
Status string - Status of the instance in the scaling activity. Value range: INIT, RUNNING, SUCCESSFUL, FAILED.
- Instance
Id string - ID of the instance.
- Instance
Status string - Status of the instance in the scaling activity. Value range: INIT, RUNNING, SUCCESSFUL, FAILED.
- instance
Id String - ID of the instance.
- instance
Status String - Status of the instance in the scaling activity. Value range: INIT, RUNNING, SUCCESSFUL, FAILED.
- instance
Id string - ID of the instance.
- instance
Status string - Status of the instance in the scaling activity. Value range: INIT, RUNNING, SUCCESSFUL, FAILED.
- instance_
id str - ID of the instance.
- instance_
status str - Status of the instance in the scaling activity. Value range: INIT, RUNNING, SUCCESSFUL, FAILED.
- instance
Id String - ID of the instance.
- instance
Status String - Status of the instance in the scaling activity. Value range: INIT, RUNNING, SUCCESSFUL, FAILED.
GetAsLastActivityActivitySetDetailedStatusMessageSet
- Code string
- Error type.
- Instance
Charge stringType - Instance billing mode.
- Instance
Id string - ID of the instance.
- Instance
Type string - Instance type.
- Message string
- Error message.
- Subnet
Id string - Subnet ID.
- Zone string
- AZ information.
- Code string
- Error type.
- Instance
Charge stringType - Instance billing mode.
- Instance
Id string - ID of the instance.
- Instance
Type string - Instance type.
- Message string
- Error message.
- Subnet
Id string - Subnet ID.
- Zone string
- AZ information.
- code String
- Error type.
- instance
Charge StringType - Instance billing mode.
- instance
Id String - ID of the instance.
- instance
Type String - Instance type.
- message String
- Error message.
- subnet
Id String - Subnet ID.
- zone String
- AZ information.
- code string
- Error type.
- instance
Charge stringType - Instance billing mode.
- instance
Id string - ID of the instance.
- instance
Type string - Instance type.
- message string
- Error message.
- subnet
Id string - Subnet ID.
- zone string
- AZ information.
- code str
- Error type.
- instance_
charge_ strtype - Instance billing mode.
- instance_
id str - ID of the instance.
- instance_
type str - Instance type.
- message str
- Error message.
- subnet_
id str - Subnet ID.
- zone str
- AZ information.
- code String
- Error type.
- instance
Charge StringType - Instance billing mode.
- instance
Id String - ID of the instance.
- instance
Type String - Instance type.
- message String
- Error message.
- subnet
Id String - Subnet ID.
- zone String
- AZ information.
GetAsLastActivityActivitySetInvocationResultSet
- Command
Id string - Command ID. Note: This field may return null, indicating that no valid values can be obtained.
- Error
Message string - Execution exception information. Note: This field may return null, indicating that no valid values can be obtained.
- Instance
Id string - ID of the instance.
- Invocation
Id string - Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
- Invocation
Task stringId - Execution task ID. Note: This field may return null, indicating that no valid values can be obtained.
- Task
Status string - Execution Status. Note: This field may return null, indicating that no valid values can be obtained.
- Command
Id string - Command ID. Note: This field may return null, indicating that no valid values can be obtained.
- Error
Message string - Execution exception information. Note: This field may return null, indicating that no valid values can be obtained.
- Instance
Id string - ID of the instance.
- Invocation
Id string - Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
- Invocation
Task stringId - Execution task ID. Note: This field may return null, indicating that no valid values can be obtained.
- Task
Status string - Execution Status. Note: This field may return null, indicating that no valid values can be obtained.
- command
Id String - Command ID. Note: This field may return null, indicating that no valid values can be obtained.
- error
Message String - Execution exception information. Note: This field may return null, indicating that no valid values can be obtained.
- instance
Id String - ID of the instance.
- invocation
Id String - Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
- invocation
Task StringId - Execution task ID. Note: This field may return null, indicating that no valid values can be obtained.
- task
Status String - Execution Status. Note: This field may return null, indicating that no valid values can be obtained.
- command
Id string - Command ID. Note: This field may return null, indicating that no valid values can be obtained.
- error
Message string - Execution exception information. Note: This field may return null, indicating that no valid values can be obtained.
- instance
Id string - ID of the instance.
- invocation
Id string - Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
- invocation
Task stringId - Execution task ID. Note: This field may return null, indicating that no valid values can be obtained.
- task
Status string - Execution Status. Note: This field may return null, indicating that no valid values can be obtained.
- command_
id str - Command ID. Note: This field may return null, indicating that no valid values can be obtained.
- error_
message str - Execution exception information. Note: This field may return null, indicating that no valid values can be obtained.
- instance_
id str - ID of the instance.
- invocation_
id str - Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
- invocation_
task_ strid - Execution task ID. Note: This field may return null, indicating that no valid values can be obtained.
- task_
status str - Execution Status. Note: This field may return null, indicating that no valid values can be obtained.
- command
Id String - Command ID. Note: This field may return null, indicating that no valid values can be obtained.
- error
Message String - Execution exception information. Note: This field may return null, indicating that no valid values can be obtained.
- instance
Id String - ID of the instance.
- invocation
Id String - Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
- invocation
Task StringId - Execution task ID. Note: This field may return null, indicating that no valid values can be obtained.
- task
Status String - Execution Status. Note: This field may return null, indicating that no valid values can be obtained.
GetAsLastActivityActivitySetLifecycleActionResultSet
- Instance
Id string - ID of the instance.
- Invocation
Id string - Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
- Invoke
Command stringResult - Result of command invocation, value range: SUCCESSFUL, FAILED, NONE.
- Lifecycle
Action stringResult - Result of the lifecycle hook action, value range: CONTINUE, ABANDON.
- Lifecycle
Hook stringId - ID of the lifecycle hook.
- Notification
Result string - Notification result, which indicates whether it is successful to notify CMQ/TDMQ, value range: SUCCESSFUL, FAILED, NONE.
- Result
Reason string - Reason of the result, value range: HEARTBEAT_TIMEOUT: Heartbeat timed out. The setting of DefaultResult is used. NOTIFICATION_FAILURE: Failed to send the notification. The setting of DefaultResult is used. CALL_INTERFACE: Calls the CompleteLifecycleAction to set the result ANOTHER_ACTION_ABANDON: It has been set to ABANDON by another operation. COMMAND_CALL_FAILURE: Failed to call the command. The DefaultResult is applied. COMMAND_EXEC_FINISH: Command completed COMMAND_CALL_FAILURE: Failed to execute the command. The DefaultResult is applied. COMMAND_EXEC_RESULT_CHECK_FAILURE: Failed to check the command result. The DefaultResult is applied.
- Instance
Id string - ID of the instance.
- Invocation
Id string - Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
- Invoke
Command stringResult - Result of command invocation, value range: SUCCESSFUL, FAILED, NONE.
- Lifecycle
Action stringResult - Result of the lifecycle hook action, value range: CONTINUE, ABANDON.
- Lifecycle
Hook stringId - ID of the lifecycle hook.
- Notification
Result string - Notification result, which indicates whether it is successful to notify CMQ/TDMQ, value range: SUCCESSFUL, FAILED, NONE.
- Result
Reason string - Reason of the result, value range: HEARTBEAT_TIMEOUT: Heartbeat timed out. The setting of DefaultResult is used. NOTIFICATION_FAILURE: Failed to send the notification. The setting of DefaultResult is used. CALL_INTERFACE: Calls the CompleteLifecycleAction to set the result ANOTHER_ACTION_ABANDON: It has been set to ABANDON by another operation. COMMAND_CALL_FAILURE: Failed to call the command. The DefaultResult is applied. COMMAND_EXEC_FINISH: Command completed COMMAND_CALL_FAILURE: Failed to execute the command. The DefaultResult is applied. COMMAND_EXEC_RESULT_CHECK_FAILURE: Failed to check the command result. The DefaultResult is applied.
- instance
Id String - ID of the instance.
- invocation
Id String - Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
- invoke
Command StringResult - Result of command invocation, value range: SUCCESSFUL, FAILED, NONE.
- lifecycle
Action StringResult - Result of the lifecycle hook action, value range: CONTINUE, ABANDON.
- lifecycle
Hook StringId - ID of the lifecycle hook.
- notification
Result String - Notification result, which indicates whether it is successful to notify CMQ/TDMQ, value range: SUCCESSFUL, FAILED, NONE.
- result
Reason String - Reason of the result, value range: HEARTBEAT_TIMEOUT: Heartbeat timed out. The setting of DefaultResult is used. NOTIFICATION_FAILURE: Failed to send the notification. The setting of DefaultResult is used. CALL_INTERFACE: Calls the CompleteLifecycleAction to set the result ANOTHER_ACTION_ABANDON: It has been set to ABANDON by another operation. COMMAND_CALL_FAILURE: Failed to call the command. The DefaultResult is applied. COMMAND_EXEC_FINISH: Command completed COMMAND_CALL_FAILURE: Failed to execute the command. The DefaultResult is applied. COMMAND_EXEC_RESULT_CHECK_FAILURE: Failed to check the command result. The DefaultResult is applied.
- instance
Id string - ID of the instance.
- invocation
Id string - Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
- invoke
Command stringResult - Result of command invocation, value range: SUCCESSFUL, FAILED, NONE.
- lifecycle
Action stringResult - Result of the lifecycle hook action, value range: CONTINUE, ABANDON.
- lifecycle
Hook stringId - ID of the lifecycle hook.
- notification
Result string - Notification result, which indicates whether it is successful to notify CMQ/TDMQ, value range: SUCCESSFUL, FAILED, NONE.
- result
Reason string - Reason of the result, value range: HEARTBEAT_TIMEOUT: Heartbeat timed out. The setting of DefaultResult is used. NOTIFICATION_FAILURE: Failed to send the notification. The setting of DefaultResult is used. CALL_INTERFACE: Calls the CompleteLifecycleAction to set the result ANOTHER_ACTION_ABANDON: It has been set to ABANDON by another operation. COMMAND_CALL_FAILURE: Failed to call the command. The DefaultResult is applied. COMMAND_EXEC_FINISH: Command completed COMMAND_CALL_FAILURE: Failed to execute the command. The DefaultResult is applied. COMMAND_EXEC_RESULT_CHECK_FAILURE: Failed to check the command result. The DefaultResult is applied.
- instance_
id str - ID of the instance.
- invocation_
id str - Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
- invoke_
command_ strresult - Result of command invocation, value range: SUCCESSFUL, FAILED, NONE.
- lifecycle_
action_ strresult - Result of the lifecycle hook action, value range: CONTINUE, ABANDON.
- lifecycle_
hook_ strid - ID of the lifecycle hook.
- notification_
result str - Notification result, which indicates whether it is successful to notify CMQ/TDMQ, value range: SUCCESSFUL, FAILED, NONE.
- result_
reason str - Reason of the result, value range: HEARTBEAT_TIMEOUT: Heartbeat timed out. The setting of DefaultResult is used. NOTIFICATION_FAILURE: Failed to send the notification. The setting of DefaultResult is used. CALL_INTERFACE: Calls the CompleteLifecycleAction to set the result ANOTHER_ACTION_ABANDON: It has been set to ABANDON by another operation. COMMAND_CALL_FAILURE: Failed to call the command. The DefaultResult is applied. COMMAND_EXEC_FINISH: Command completed COMMAND_CALL_FAILURE: Failed to execute the command. The DefaultResult is applied. COMMAND_EXEC_RESULT_CHECK_FAILURE: Failed to check the command result. The DefaultResult is applied.
- instance
Id String - ID of the instance.
- invocation
Id String - Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
- invoke
Command StringResult - Result of command invocation, value range: SUCCESSFUL, FAILED, NONE.
- lifecycle
Action StringResult - Result of the lifecycle hook action, value range: CONTINUE, ABANDON.
- lifecycle
Hook StringId - ID of the lifecycle hook.
- notification
Result String - Notification result, which indicates whether it is successful to notify CMQ/TDMQ, value range: SUCCESSFUL, FAILED, NONE.
- result
Reason String - Reason of the result, value range: HEARTBEAT_TIMEOUT: Heartbeat timed out. The setting of DefaultResult is used. NOTIFICATION_FAILURE: Failed to send the notification. The setting of DefaultResult is used. CALL_INTERFACE: Calls the CompleteLifecycleAction to set the result ANOTHER_ACTION_ABANDON: It has been set to ABANDON by another operation. COMMAND_CALL_FAILURE: Failed to call the command. The DefaultResult is applied. COMMAND_EXEC_FINISH: Command completed COMMAND_CALL_FAILURE: Failed to execute the command. The DefaultResult is applied. COMMAND_EXEC_RESULT_CHECK_FAILURE: Failed to check the command result. The DefaultResult is applied.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack