1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getAsLastActivity
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getAsLastActivity

Explore with Pulumi AI

tencentcloud logo
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:

    AutoScalingGroupIds List<string>
    ID list of an auto scaling group.
    Id string
    ResultOutputFile string
    Used to save results.
    AutoScalingGroupIds []string
    ID list of an auto scaling group.
    Id string
    ResultOutputFile string
    Used to save results.
    autoScalingGroupIds List<String>
    ID list of an auto scaling group.
    id String
    resultOutputFile String
    Used to save results.
    autoScalingGroupIds string[]
    ID list of an auto scaling group.
    id string
    resultOutputFile string
    Used to save results.
    auto_scaling_group_ids Sequence[str]
    ID list of an auto scaling group.
    id str
    result_output_file str
    Used to save results.
    autoScalingGroupIds List<String>
    ID list of an auto scaling group.
    id String
    resultOutputFile String
    Used to save results.

    getAsLastActivity Result

    The following output properties are available:

    ActivitySets List<GetAsLastActivityActivitySet>
    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.
    AutoScalingGroupIds List<string>
    Id string
    ResultOutputFile string
    ActivitySets []GetAsLastActivityActivitySet
    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.
    AutoScalingGroupIds []string
    Id string
    ResultOutputFile string
    activitySets List<GetAsLastActivityActivitySet>
    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.
    autoScalingGroupIds List<String>
    id String
    resultOutputFile String
    activitySets GetAsLastActivityActivitySet[]
    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.
    autoScalingGroupIds string[]
    id string
    resultOutputFile string
    activity_sets Sequence[GetAsLastActivityActivitySet]
    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_group_ids Sequence[str]
    id str
    result_output_file str
    activitySets 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.
    autoScalingGroupIds List<String>
    id String
    resultOutputFile String

    Supporting Types

    GetAsLastActivityActivitySet

    ActivityId string
    Scaling activity ID.
    ActivityRelatedInstanceSets List<GetAsLastActivityActivitySetActivityRelatedInstanceSet>
    Information set of the instances related to the scaling activity.
    ActivityType 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.
    AutoScalingGroupId string
    Auto scaling group ID.
    Cause string
    Cause of the scaling activity.
    CreatedTime string
    Creation time of the scaling activity.
    Description string
    Description of the scaling activity.
    DetailedStatusMessageSets List<GetAsLastActivityActivitySetDetailedStatusMessageSet>
    Detailed description of scaling activity status.
    EndTime string
    End time of the scaling activity.
    InvocationResultSets List<GetAsLastActivityActivitySetInvocationResultSet>
    Result of the command execution.
    LifecycleActionResultSets List<GetAsLastActivityActivitySetLifecycleActionResultSet>
    Result of the lifecycle hook action in the scaling activity.
    StartTime string
    Start time of the scaling activity.
    StatusCode string
    Scaling activity status. Value range: INIT, RUNNING, SUCCESSFUL, PARTIALLY_SUCCESSFUL, FAILED, CANCELLED.
    StatusMessage string
    Description of the scaling activity status.
    StatusMessageSimplified string
    Brief description of the scaling activity status.
    ActivityId string
    Scaling activity ID.
    ActivityRelatedInstanceSets []GetAsLastActivityActivitySetActivityRelatedInstanceSet
    Information set of the instances related to the scaling activity.
    ActivityType 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.
    AutoScalingGroupId string
    Auto scaling group ID.
    Cause string
    Cause of the scaling activity.
    CreatedTime string
    Creation time of the scaling activity.
    Description string
    Description of the scaling activity.
    DetailedStatusMessageSets []GetAsLastActivityActivitySetDetailedStatusMessageSet
    Detailed description of scaling activity status.
    EndTime string
    End time of the scaling activity.
    InvocationResultSets []GetAsLastActivityActivitySetInvocationResultSet
    Result of the command execution.
    LifecycleActionResultSets []GetAsLastActivityActivitySetLifecycleActionResultSet
    Result of the lifecycle hook action in the scaling activity.
    StartTime string
    Start time of the scaling activity.
    StatusCode string
    Scaling activity status. Value range: INIT, RUNNING, SUCCESSFUL, PARTIALLY_SUCCESSFUL, FAILED, CANCELLED.
    StatusMessage string
    Description of the scaling activity status.
    StatusMessageSimplified string
    Brief description of the scaling activity status.
    activityId String
    Scaling activity ID.
    activityRelatedInstanceSets List<GetAsLastActivityActivitySetActivityRelatedInstanceSet>
    Information set of the instances related to the scaling activity.
    activityType 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.
    autoScalingGroupId String
    Auto scaling group ID.
    cause String
    Cause of the scaling activity.
    createdTime String
    Creation time of the scaling activity.
    description String
    Description of the scaling activity.
    detailedStatusMessageSets List<GetAsLastActivityActivitySetDetailedStatusMessageSet>
    Detailed description of scaling activity status.
    endTime String
    End time of the scaling activity.
    invocationResultSets List<GetAsLastActivityActivitySetInvocationResultSet>
    Result of the command execution.
    lifecycleActionResultSets List<GetAsLastActivityActivitySetLifecycleActionResultSet>
    Result of the lifecycle hook action in the scaling activity.
    startTime String
    Start time of the scaling activity.
    statusCode String
    Scaling activity status. Value range: INIT, RUNNING, SUCCESSFUL, PARTIALLY_SUCCESSFUL, FAILED, CANCELLED.
    statusMessage String
    Description of the scaling activity status.
    statusMessageSimplified String
    Brief description of the scaling activity status.
    activityId string
    Scaling activity ID.
    activityRelatedInstanceSets GetAsLastActivityActivitySetActivityRelatedInstanceSet[]
    Information set of the instances related to the scaling activity.
    activityType 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.
    autoScalingGroupId string
    Auto scaling group ID.
    cause string
    Cause of the scaling activity.
    createdTime string
    Creation time of the scaling activity.
    description string
    Description of the scaling activity.
    detailedStatusMessageSets GetAsLastActivityActivitySetDetailedStatusMessageSet[]
    Detailed description of scaling activity status.
    endTime string
    End time of the scaling activity.
    invocationResultSets GetAsLastActivityActivitySetInvocationResultSet[]
    Result of the command execution.
    lifecycleActionResultSets GetAsLastActivityActivitySetLifecycleActionResultSet[]
    Result of the lifecycle hook action in the scaling activity.
    startTime string
    Start time of the scaling activity.
    statusCode string
    Scaling activity status. Value range: INIT, RUNNING, SUCCESSFUL, PARTIALLY_SUCCESSFUL, FAILED, CANCELLED.
    statusMessage string
    Description of the scaling activity status.
    statusMessageSimplified string
    Brief description of the scaling activity status.
    activity_id str
    Scaling activity ID.
    activity_related_instance_sets Sequence[GetAsLastActivityActivitySetActivityRelatedInstanceSet]
    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_group_id str
    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_message_sets Sequence[GetAsLastActivityActivitySetDetailedStatusMessageSet]
    Detailed description of scaling activity status.
    end_time str
    End time of the scaling activity.
    invocation_result_sets Sequence[GetAsLastActivityActivitySetInvocationResultSet]
    Result of the command execution.
    lifecycle_action_result_sets Sequence[GetAsLastActivityActivitySetLifecycleActionResultSet]
    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_simplified str
    Brief description of the scaling activity status.
    activityId String
    Scaling activity ID.
    activityRelatedInstanceSets List<Property Map>
    Information set of the instances related to the scaling activity.
    activityType 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.
    autoScalingGroupId String
    Auto scaling group ID.
    cause String
    Cause of the scaling activity.
    createdTime String
    Creation time of the scaling activity.
    description String
    Description of the scaling activity.
    detailedStatusMessageSets List<Property Map>
    Detailed description of scaling activity status.
    endTime String
    End time of the scaling activity.
    invocationResultSets List<Property Map>
    Result of the command execution.
    lifecycleActionResultSets List<Property Map>
    Result of the lifecycle hook action in the scaling activity.
    startTime String
    Start time of the scaling activity.
    statusCode String
    Scaling activity status. Value range: INIT, RUNNING, SUCCESSFUL, PARTIALLY_SUCCESSFUL, FAILED, CANCELLED.
    statusMessage String
    Description of the scaling activity status.
    statusMessageSimplified String
    Brief description of the scaling activity status.

    GetAsLastActivityActivitySetActivityRelatedInstanceSet

    InstanceId string
    ID of the instance.
    InstanceStatus string
    Status of the instance in the scaling activity. Value range: INIT, RUNNING, SUCCESSFUL, FAILED.
    InstanceId string
    ID of the instance.
    InstanceStatus string
    Status of the instance in the scaling activity. Value range: INIT, RUNNING, SUCCESSFUL, FAILED.
    instanceId String
    ID of the instance.
    instanceStatus String
    Status of the instance in the scaling activity. Value range: INIT, RUNNING, SUCCESSFUL, FAILED.
    instanceId string
    ID of the instance.
    instanceStatus 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.
    instanceId String
    ID of the instance.
    instanceStatus String
    Status of the instance in the scaling activity. Value range: INIT, RUNNING, SUCCESSFUL, FAILED.

    GetAsLastActivityActivitySetDetailedStatusMessageSet

    Code string
    Error type.
    InstanceChargeType string
    Instance billing mode.
    InstanceId string
    ID of the instance.
    InstanceType string
    Instance type.
    Message string
    Error message.
    SubnetId string
    Subnet ID.
    Zone string
    AZ information.
    Code string
    Error type.
    InstanceChargeType string
    Instance billing mode.
    InstanceId string
    ID of the instance.
    InstanceType string
    Instance type.
    Message string
    Error message.
    SubnetId string
    Subnet ID.
    Zone string
    AZ information.
    code String
    Error type.
    instanceChargeType String
    Instance billing mode.
    instanceId String
    ID of the instance.
    instanceType String
    Instance type.
    message String
    Error message.
    subnetId String
    Subnet ID.
    zone String
    AZ information.
    code string
    Error type.
    instanceChargeType string
    Instance billing mode.
    instanceId string
    ID of the instance.
    instanceType string
    Instance type.
    message string
    Error message.
    subnetId string
    Subnet ID.
    zone string
    AZ information.
    code str
    Error type.
    instance_charge_type str
    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.
    instanceChargeType String
    Instance billing mode.
    instanceId String
    ID of the instance.
    instanceType String
    Instance type.
    message String
    Error message.
    subnetId String
    Subnet ID.
    zone String
    AZ information.

    GetAsLastActivityActivitySetInvocationResultSet

    CommandId string
    Command ID. Note: This field may return null, indicating that no valid values can be obtained.
    ErrorMessage string
    Execution exception information. Note: This field may return null, indicating that no valid values can be obtained.
    InstanceId string
    ID of the instance.
    InvocationId string
    Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
    InvocationTaskId string
    Execution task ID. Note: This field may return null, indicating that no valid values can be obtained.
    TaskStatus string
    Execution Status. Note: This field may return null, indicating that no valid values can be obtained.
    CommandId string
    Command ID. Note: This field may return null, indicating that no valid values can be obtained.
    ErrorMessage string
    Execution exception information. Note: This field may return null, indicating that no valid values can be obtained.
    InstanceId string
    ID of the instance.
    InvocationId string
    Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
    InvocationTaskId string
    Execution task ID. Note: This field may return null, indicating that no valid values can be obtained.
    TaskStatus string
    Execution Status. Note: This field may return null, indicating that no valid values can be obtained.
    commandId String
    Command ID. Note: This field may return null, indicating that no valid values can be obtained.
    errorMessage String
    Execution exception information. Note: This field may return null, indicating that no valid values can be obtained.
    instanceId String
    ID of the instance.
    invocationId String
    Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
    invocationTaskId String
    Execution task ID. Note: This field may return null, indicating that no valid values can be obtained.
    taskStatus String
    Execution Status. Note: This field may return null, indicating that no valid values can be obtained.
    commandId string
    Command ID. Note: This field may return null, indicating that no valid values can be obtained.
    errorMessage string
    Execution exception information. Note: This field may return null, indicating that no valid values can be obtained.
    instanceId string
    ID of the instance.
    invocationId string
    Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
    invocationTaskId string
    Execution task ID. Note: This field may return null, indicating that no valid values can be obtained.
    taskStatus 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_id str
    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.
    commandId String
    Command ID. Note: This field may return null, indicating that no valid values can be obtained.
    errorMessage String
    Execution exception information. Note: This field may return null, indicating that no valid values can be obtained.
    instanceId String
    ID of the instance.
    invocationId String
    Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
    invocationTaskId String
    Execution task ID. Note: This field may return null, indicating that no valid values can be obtained.
    taskStatus String
    Execution Status. Note: This field may return null, indicating that no valid values can be obtained.

    GetAsLastActivityActivitySetLifecycleActionResultSet

    InstanceId string
    ID of the instance.
    InvocationId string
    Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
    InvokeCommandResult string
    Result of command invocation, value range: SUCCESSFUL, FAILED, NONE.
    LifecycleActionResult string
    Result of the lifecycle hook action, value range: CONTINUE, ABANDON.
    LifecycleHookId string
    ID of the lifecycle hook.
    NotificationResult string
    Notification result, which indicates whether it is successful to notify CMQ/TDMQ, value range: SUCCESSFUL, FAILED, NONE.
    ResultReason 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.
    InstanceId string
    ID of the instance.
    InvocationId string
    Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
    InvokeCommandResult string
    Result of command invocation, value range: SUCCESSFUL, FAILED, NONE.
    LifecycleActionResult string
    Result of the lifecycle hook action, value range: CONTINUE, ABANDON.
    LifecycleHookId string
    ID of the lifecycle hook.
    NotificationResult string
    Notification result, which indicates whether it is successful to notify CMQ/TDMQ, value range: SUCCESSFUL, FAILED, NONE.
    ResultReason 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.
    instanceId String
    ID of the instance.
    invocationId String
    Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
    invokeCommandResult String
    Result of command invocation, value range: SUCCESSFUL, FAILED, NONE.
    lifecycleActionResult String
    Result of the lifecycle hook action, value range: CONTINUE, ABANDON.
    lifecycleHookId String
    ID of the lifecycle hook.
    notificationResult String
    Notification result, which indicates whether it is successful to notify CMQ/TDMQ, value range: SUCCESSFUL, FAILED, NONE.
    resultReason 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.
    instanceId string
    ID of the instance.
    invocationId string
    Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
    invokeCommandResult string
    Result of command invocation, value range: SUCCESSFUL, FAILED, NONE.
    lifecycleActionResult string
    Result of the lifecycle hook action, value range: CONTINUE, ABANDON.
    lifecycleHookId string
    ID of the lifecycle hook.
    notificationResult string
    Notification result, which indicates whether it is successful to notify CMQ/TDMQ, value range: SUCCESSFUL, FAILED, NONE.
    resultReason 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_result str
    Result of command invocation, value range: SUCCESSFUL, FAILED, NONE.
    lifecycle_action_result str
    Result of the lifecycle hook action, value range: CONTINUE, ABANDON.
    lifecycle_hook_id str
    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.
    instanceId String
    ID of the instance.
    invocationId String
    Execution task ID. You can query the result by using the DescribeInvocations API of TAT.
    invokeCommandResult String
    Result of command invocation, value range: SUCCESSFUL, FAILED, NONE.
    lifecycleActionResult String
    Result of the lifecycle hook action, value range: CONTINUE, ABANDON.
    lifecycleHookId String
    ID of the lifecycle hook.
    notificationResult String
    Notification result, which indicates whether it is successful to notify CMQ/TDMQ, value range: SUCCESSFUL, FAILED, NONE.
    resultReason 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 logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack