tat

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type Command

type Command struct {
	pulumi.CustomResourceState

	// Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
	CommandName pulumi.StringOutput `pulumi:"commandName"`
	// Command type. `SHELL` and `POWERSHELL` are supported. The default value is `SHELL`.
	CommandType pulumi.StringPtrOutput `pulumi:"commandType"`
	// Command. The maximum length of Base64 encoding is 64KB.
	Content pulumi.StringOutput `pulumi:"content"`
	// Command creator. `TAT` indicates a public command and `USER` indicates a personal command.
	CreatedBy pulumi.StringOutput `pulumi:"createdBy"`
	// Command creation time.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {'varA': '222'}.`key` is the name of the custom parameter and value is the default value. Both `key` and `value` are strings.If no parameter value is provided in the `InvokeCommand` API, the default value is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
	DefaultParameters pulumi.StringPtrOutput `pulumi:"defaultParameters"`
	// Command description. The maximum length is 120 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Whether to enable the custom parameter feature.This cannot be modified once created.Default value: `false`.
	EnableParameter pulumi.BoolPtrOutput `pulumi:"enableParameter"`
	// Formatted description of the command. This parameter is an empty string for user commands and contains values for public commands.
	FormattedDescription pulumi.StringOutput `pulumi:"formattedDescription"`
	// The COS bucket URL for uploading logs. The URL must start with `https`, such as `https://BucketName-123454321.cos.ap-beijing.myqcloud.com`.
	OutputCosBucketUrl pulumi.StringPtrOutput `pulumi:"outputCosBucketUrl"`
	// The COS bucket directory where the logs are saved. Check below for the rules of the directory name.1. It must be a combination of number, letters, and visible characters. Up to 60 characters are allowed.2. Use a slash (/) to create a subdirectory.3. Consecutive dots (.) and slashes (/) are not allowed. It can not start with a slash (/).
	OutputCosKeyPrefix pulumi.StringPtrOutput `pulumi:"outputCosKeyPrefix"`
	// Tags bound to the command. At most 10 tags are allowed.
	Tags CommandTagArrayOutput `pulumi:"tags"`
	// Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
	Timeout pulumi.IntPtrOutput `pulumi:"timeout"`
	// Command update time.
	UpdatedTime pulumi.StringOutput `pulumi:"updatedTime"`
	// The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the root user is used to execute commands on Linux and the System user is used on Windows.
	Username pulumi.StringPtrOutput `pulumi:"username"`
	// Command execution path. The default value is /root for `SHELL` commands and C:/Program Files/qcloudtat_agent/workdir for `POWERSHELL` commands.
	WorkingDirectory pulumi.StringPtrOutput `pulumi:"workingDirectory"`
}

Provides a resource to create a tat command

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Tat.NewCommand(ctx, "command", &Tat.CommandArgs{
			CommandName: pulumi.String("ls"),
			CommandType: pulumi.String("SHELL"),
			Content:     pulumi.String("bHM="),
			Description: pulumi.String("xxx"),
			Tags: tat.CommandTagArray{
				&tat.CommandTagArgs{
					Key:   pulumi.String(""),
					Value: pulumi.String(""),
				},
			},
			Timeout:          pulumi.Int(50),
			Username:         pulumi.String("root"),
			WorkingDirectory: pulumi.String("/root"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

tat command can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Tat/command:Command command cmd-6fydo27j

```

func GetCommand

func GetCommand(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CommandState, opts ...pulumi.ResourceOption) (*Command, error)

GetCommand gets an existing Command resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCommand

func NewCommand(ctx *pulumi.Context,
	name string, args *CommandArgs, opts ...pulumi.ResourceOption) (*Command, error)

NewCommand registers a new resource with the given unique name, arguments, and options.

func (*Command) ElementType

func (*Command) ElementType() reflect.Type

func (*Command) ToCommandOutput

func (i *Command) ToCommandOutput() CommandOutput

func (*Command) ToCommandOutputWithContext

func (i *Command) ToCommandOutputWithContext(ctx context.Context) CommandOutput

type CommandArgs

type CommandArgs struct {
	// Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
	CommandName pulumi.StringInput
	// Command type. `SHELL` and `POWERSHELL` are supported. The default value is `SHELL`.
	CommandType pulumi.StringPtrInput
	// Command. The maximum length of Base64 encoding is 64KB.
	Content pulumi.StringInput
	// The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {'varA': '222'}.`key` is the name of the custom parameter and value is the default value. Both `key` and `value` are strings.If no parameter value is provided in the `InvokeCommand` API, the default value is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
	DefaultParameters pulumi.StringPtrInput
	// Command description. The maximum length is 120 characters.
	Description pulumi.StringPtrInput
	// Whether to enable the custom parameter feature.This cannot be modified once created.Default value: `false`.
	EnableParameter pulumi.BoolPtrInput
	// The COS bucket URL for uploading logs. The URL must start with `https`, such as `https://BucketName-123454321.cos.ap-beijing.myqcloud.com`.
	OutputCosBucketUrl pulumi.StringPtrInput
	// The COS bucket directory where the logs are saved. Check below for the rules of the directory name.1. It must be a combination of number, letters, and visible characters. Up to 60 characters are allowed.2. Use a slash (/) to create a subdirectory.3. Consecutive dots (.) and slashes (/) are not allowed. It can not start with a slash (/).
	OutputCosKeyPrefix pulumi.StringPtrInput
	// Tags bound to the command. At most 10 tags are allowed.
	Tags CommandTagArrayInput
	// Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
	Timeout pulumi.IntPtrInput
	// The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the root user is used to execute commands on Linux and the System user is used on Windows.
	Username pulumi.StringPtrInput
	// Command execution path. The default value is /root for `SHELL` commands and C:/Program Files/qcloudtat_agent/workdir for `POWERSHELL` commands.
	WorkingDirectory pulumi.StringPtrInput
}

The set of arguments for constructing a Command resource.

func (CommandArgs) ElementType

func (CommandArgs) ElementType() reflect.Type

type CommandArray

type CommandArray []CommandInput

func (CommandArray) ElementType

func (CommandArray) ElementType() reflect.Type

func (CommandArray) ToCommandArrayOutput

func (i CommandArray) ToCommandArrayOutput() CommandArrayOutput

func (CommandArray) ToCommandArrayOutputWithContext

func (i CommandArray) ToCommandArrayOutputWithContext(ctx context.Context) CommandArrayOutput

type CommandArrayInput

type CommandArrayInput interface {
	pulumi.Input

	ToCommandArrayOutput() CommandArrayOutput
	ToCommandArrayOutputWithContext(context.Context) CommandArrayOutput
}

CommandArrayInput is an input type that accepts CommandArray and CommandArrayOutput values. You can construct a concrete instance of `CommandArrayInput` via:

CommandArray{ CommandArgs{...} }

type CommandArrayOutput

type CommandArrayOutput struct{ *pulumi.OutputState }

func (CommandArrayOutput) ElementType

func (CommandArrayOutput) ElementType() reflect.Type

func (CommandArrayOutput) Index

func (CommandArrayOutput) ToCommandArrayOutput

func (o CommandArrayOutput) ToCommandArrayOutput() CommandArrayOutput

func (CommandArrayOutput) ToCommandArrayOutputWithContext

func (o CommandArrayOutput) ToCommandArrayOutputWithContext(ctx context.Context) CommandArrayOutput

type CommandInput

type CommandInput interface {
	pulumi.Input

	ToCommandOutput() CommandOutput
	ToCommandOutputWithContext(ctx context.Context) CommandOutput
}

type CommandMap

type CommandMap map[string]CommandInput

func (CommandMap) ElementType

func (CommandMap) ElementType() reflect.Type

func (CommandMap) ToCommandMapOutput

func (i CommandMap) ToCommandMapOutput() CommandMapOutput

func (CommandMap) ToCommandMapOutputWithContext

func (i CommandMap) ToCommandMapOutputWithContext(ctx context.Context) CommandMapOutput

type CommandMapInput

type CommandMapInput interface {
	pulumi.Input

	ToCommandMapOutput() CommandMapOutput
	ToCommandMapOutputWithContext(context.Context) CommandMapOutput
}

CommandMapInput is an input type that accepts CommandMap and CommandMapOutput values. You can construct a concrete instance of `CommandMapInput` via:

CommandMap{ "key": CommandArgs{...} }

type CommandMapOutput

type CommandMapOutput struct{ *pulumi.OutputState }

func (CommandMapOutput) ElementType

func (CommandMapOutput) ElementType() reflect.Type

func (CommandMapOutput) MapIndex

func (CommandMapOutput) ToCommandMapOutput

func (o CommandMapOutput) ToCommandMapOutput() CommandMapOutput

func (CommandMapOutput) ToCommandMapOutputWithContext

func (o CommandMapOutput) ToCommandMapOutputWithContext(ctx context.Context) CommandMapOutput

type CommandOutput

type CommandOutput struct{ *pulumi.OutputState }

func (CommandOutput) CommandName

func (o CommandOutput) CommandName() pulumi.StringOutput

Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].

func (CommandOutput) CommandType

func (o CommandOutput) CommandType() pulumi.StringPtrOutput

Command type. `SHELL` and `POWERSHELL` are supported. The default value is `SHELL`.

func (CommandOutput) Content

func (o CommandOutput) Content() pulumi.StringOutput

Command. The maximum length of Base64 encoding is 64KB.

func (CommandOutput) CreatedBy

func (o CommandOutput) CreatedBy() pulumi.StringOutput

Command creator. `TAT` indicates a public command and `USER` indicates a personal command.

func (CommandOutput) CreatedTime

func (o CommandOutput) CreatedTime() pulumi.StringOutput

Command creation time.

func (CommandOutput) DefaultParameters

func (o CommandOutput) DefaultParameters() pulumi.StringPtrOutput

The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {'varA': '222'}.`key` is the name of the custom parameter and value is the default value. Both `key` and `value` are strings.If no parameter value is provided in the `InvokeCommand` API, the default value is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].

func (CommandOutput) Description

func (o CommandOutput) Description() pulumi.StringPtrOutput

Command description. The maximum length is 120 characters.

func (CommandOutput) ElementType

func (CommandOutput) ElementType() reflect.Type

func (CommandOutput) EnableParameter

func (o CommandOutput) EnableParameter() pulumi.BoolPtrOutput

Whether to enable the custom parameter feature.This cannot be modified once created.Default value: `false`.

func (CommandOutput) FormattedDescription

func (o CommandOutput) FormattedDescription() pulumi.StringOutput

Formatted description of the command. This parameter is an empty string for user commands and contains values for public commands.

func (CommandOutput) OutputCosBucketUrl

func (o CommandOutput) OutputCosBucketUrl() pulumi.StringPtrOutput

The COS bucket URL for uploading logs. The URL must start with `https`, such as `https://BucketName-123454321.cos.ap-beijing.myqcloud.com`.

func (CommandOutput) OutputCosKeyPrefix

func (o CommandOutput) OutputCosKeyPrefix() pulumi.StringPtrOutput

The COS bucket directory where the logs are saved. Check below for the rules of the directory name.1. It must be a combination of number, letters, and visible characters. Up to 60 characters are allowed.2. Use a slash (/) to create a subdirectory.3. Consecutive dots (.) and slashes (/) are not allowed. It can not start with a slash (/).

func (CommandOutput) Tags

Tags bound to the command. At most 10 tags are allowed.

func (CommandOutput) Timeout

func (o CommandOutput) Timeout() pulumi.IntPtrOutput

Command timeout period. Default value: 60 seconds. Value range: [1, 86400].

func (CommandOutput) ToCommandOutput

func (o CommandOutput) ToCommandOutput() CommandOutput

func (CommandOutput) ToCommandOutputWithContext

func (o CommandOutput) ToCommandOutputWithContext(ctx context.Context) CommandOutput

func (CommandOutput) UpdatedTime

func (o CommandOutput) UpdatedTime() pulumi.StringOutput

Command update time.

func (CommandOutput) Username

func (o CommandOutput) Username() pulumi.StringPtrOutput

The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the root user is used to execute commands on Linux and the System user is used on Windows.

func (CommandOutput) WorkingDirectory

func (o CommandOutput) WorkingDirectory() pulumi.StringPtrOutput

Command execution path. The default value is /root for `SHELL` commands and C:/Program Files/qcloudtat_agent/workdir for `POWERSHELL` commands.

type CommandState

type CommandState struct {
	// Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
	CommandName pulumi.StringPtrInput
	// Command type. `SHELL` and `POWERSHELL` are supported. The default value is `SHELL`.
	CommandType pulumi.StringPtrInput
	// Command. The maximum length of Base64 encoding is 64KB.
	Content pulumi.StringPtrInput
	// Command creator. `TAT` indicates a public command and `USER` indicates a personal command.
	CreatedBy pulumi.StringPtrInput
	// Command creation time.
	CreatedTime pulumi.StringPtrInput
	// The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {'varA': '222'}.`key` is the name of the custom parameter and value is the default value. Both `key` and `value` are strings.If no parameter value is provided in the `InvokeCommand` API, the default value is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
	DefaultParameters pulumi.StringPtrInput
	// Command description. The maximum length is 120 characters.
	Description pulumi.StringPtrInput
	// Whether to enable the custom parameter feature.This cannot be modified once created.Default value: `false`.
	EnableParameter pulumi.BoolPtrInput
	// Formatted description of the command. This parameter is an empty string for user commands and contains values for public commands.
	FormattedDescription pulumi.StringPtrInput
	// The COS bucket URL for uploading logs. The URL must start with `https`, such as `https://BucketName-123454321.cos.ap-beijing.myqcloud.com`.
	OutputCosBucketUrl pulumi.StringPtrInput
	// The COS bucket directory where the logs are saved. Check below for the rules of the directory name.1. It must be a combination of number, letters, and visible characters. Up to 60 characters are allowed.2. Use a slash (/) to create a subdirectory.3. Consecutive dots (.) and slashes (/) are not allowed. It can not start with a slash (/).
	OutputCosKeyPrefix pulumi.StringPtrInput
	// Tags bound to the command. At most 10 tags are allowed.
	Tags CommandTagArrayInput
	// Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
	Timeout pulumi.IntPtrInput
	// Command update time.
	UpdatedTime pulumi.StringPtrInput
	// The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the root user is used to execute commands on Linux and the System user is used on Windows.
	Username pulumi.StringPtrInput
	// Command execution path. The default value is /root for `SHELL` commands and C:/Program Files/qcloudtat_agent/workdir for `POWERSHELL` commands.
	WorkingDirectory pulumi.StringPtrInput
}

func (CommandState) ElementType

func (CommandState) ElementType() reflect.Type

type CommandTag

type CommandTag struct {
	// Tag key.
	Key string `pulumi:"key"`
	// Tag value.
	Value string `pulumi:"value"`
}

type CommandTagArgs

type CommandTagArgs struct {
	// Tag key.
	Key pulumi.StringInput `pulumi:"key"`
	// Tag value.
	Value pulumi.StringInput `pulumi:"value"`
}

func (CommandTagArgs) ElementType

func (CommandTagArgs) ElementType() reflect.Type

func (CommandTagArgs) ToCommandTagOutput

func (i CommandTagArgs) ToCommandTagOutput() CommandTagOutput

func (CommandTagArgs) ToCommandTagOutputWithContext

func (i CommandTagArgs) ToCommandTagOutputWithContext(ctx context.Context) CommandTagOutput

type CommandTagArray

type CommandTagArray []CommandTagInput

func (CommandTagArray) ElementType

func (CommandTagArray) ElementType() reflect.Type

func (CommandTagArray) ToCommandTagArrayOutput

func (i CommandTagArray) ToCommandTagArrayOutput() CommandTagArrayOutput

func (CommandTagArray) ToCommandTagArrayOutputWithContext

func (i CommandTagArray) ToCommandTagArrayOutputWithContext(ctx context.Context) CommandTagArrayOutput

type CommandTagArrayInput

type CommandTagArrayInput interface {
	pulumi.Input

	ToCommandTagArrayOutput() CommandTagArrayOutput
	ToCommandTagArrayOutputWithContext(context.Context) CommandTagArrayOutput
}

CommandTagArrayInput is an input type that accepts CommandTagArray and CommandTagArrayOutput values. You can construct a concrete instance of `CommandTagArrayInput` via:

CommandTagArray{ CommandTagArgs{...} }

type CommandTagArrayOutput

type CommandTagArrayOutput struct{ *pulumi.OutputState }

func (CommandTagArrayOutput) ElementType

func (CommandTagArrayOutput) ElementType() reflect.Type

func (CommandTagArrayOutput) Index

func (CommandTagArrayOutput) ToCommandTagArrayOutput

func (o CommandTagArrayOutput) ToCommandTagArrayOutput() CommandTagArrayOutput

func (CommandTagArrayOutput) ToCommandTagArrayOutputWithContext

func (o CommandTagArrayOutput) ToCommandTagArrayOutputWithContext(ctx context.Context) CommandTagArrayOutput

type CommandTagInput

type CommandTagInput interface {
	pulumi.Input

	ToCommandTagOutput() CommandTagOutput
	ToCommandTagOutputWithContext(context.Context) CommandTagOutput
}

CommandTagInput is an input type that accepts CommandTagArgs and CommandTagOutput values. You can construct a concrete instance of `CommandTagInput` via:

CommandTagArgs{...}

type CommandTagOutput

type CommandTagOutput struct{ *pulumi.OutputState }

func (CommandTagOutput) ElementType

func (CommandTagOutput) ElementType() reflect.Type

func (CommandTagOutput) Key

Tag key.

func (CommandTagOutput) ToCommandTagOutput

func (o CommandTagOutput) ToCommandTagOutput() CommandTagOutput

func (CommandTagOutput) ToCommandTagOutputWithContext

func (o CommandTagOutput) ToCommandTagOutputWithContext(ctx context.Context) CommandTagOutput

func (CommandTagOutput) Value

Tag value.

type GetAgentArgs

type GetAgentArgs struct {
	// Filter conditions. agent-status - String - Required: No - (Filter condition) Filter by agent status. Valid values: Online, Offline. environment - String - Required: No - (Filter condition) Filter by the agent environment. Valid value: Linux. instance-id - String - Required: No - (Filter condition) Filter by the instance ID. Up to 10 Filters allowed in one request. For each filter, five Filter.Values can be specified. InstanceIds and Filters cannot be specified at the same time.
	Filters []GetAgentFilter `pulumi:"filters"`
	// List of instance IDs for the query.
	InstanceIds []string `pulumi:"instanceIds"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getAgent.

type GetAgentAutomationAgentSet

type GetAgentAutomationAgentSet struct {
	// Agent status.Ranges:<li> Online:Online<li> Offline:Offline.
	AgentStatus string `pulumi:"agentStatus"`
	// Environment for Agent.Ranges:<li> Linux:Linux instance<li> Windows:Windows instance.
	Environment string `pulumi:"environment"`
	// InstanceId.
	InstanceId string `pulumi:"instanceId"`
	// Time of last heartbeat.
	LastHeartbeatTime string `pulumi:"lastHeartbeatTime"`
	// List of feature Agent support.
	SupportFeatures []string `pulumi:"supportFeatures"`
	// Agent version.
	Version string `pulumi:"version"`
}

type GetAgentAutomationAgentSetArgs

type GetAgentAutomationAgentSetArgs struct {
	// Agent status.Ranges:<li> Online:Online<li> Offline:Offline.
	AgentStatus pulumi.StringInput `pulumi:"agentStatus"`
	// Environment for Agent.Ranges:<li> Linux:Linux instance<li> Windows:Windows instance.
	Environment pulumi.StringInput `pulumi:"environment"`
	// InstanceId.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Time of last heartbeat.
	LastHeartbeatTime pulumi.StringInput `pulumi:"lastHeartbeatTime"`
	// List of feature Agent support.
	SupportFeatures pulumi.StringArrayInput `pulumi:"supportFeatures"`
	// Agent version.
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetAgentAutomationAgentSetArgs) ElementType

func (GetAgentAutomationAgentSetArgs) ToGetAgentAutomationAgentSetOutput

func (i GetAgentAutomationAgentSetArgs) ToGetAgentAutomationAgentSetOutput() GetAgentAutomationAgentSetOutput

func (GetAgentAutomationAgentSetArgs) ToGetAgentAutomationAgentSetOutputWithContext

func (i GetAgentAutomationAgentSetArgs) ToGetAgentAutomationAgentSetOutputWithContext(ctx context.Context) GetAgentAutomationAgentSetOutput

type GetAgentAutomationAgentSetArray

type GetAgentAutomationAgentSetArray []GetAgentAutomationAgentSetInput

func (GetAgentAutomationAgentSetArray) ElementType

func (GetAgentAutomationAgentSetArray) ToGetAgentAutomationAgentSetArrayOutput

func (i GetAgentAutomationAgentSetArray) ToGetAgentAutomationAgentSetArrayOutput() GetAgentAutomationAgentSetArrayOutput

func (GetAgentAutomationAgentSetArray) ToGetAgentAutomationAgentSetArrayOutputWithContext

func (i GetAgentAutomationAgentSetArray) ToGetAgentAutomationAgentSetArrayOutputWithContext(ctx context.Context) GetAgentAutomationAgentSetArrayOutput

type GetAgentAutomationAgentSetArrayInput

type GetAgentAutomationAgentSetArrayInput interface {
	pulumi.Input

	ToGetAgentAutomationAgentSetArrayOutput() GetAgentAutomationAgentSetArrayOutput
	ToGetAgentAutomationAgentSetArrayOutputWithContext(context.Context) GetAgentAutomationAgentSetArrayOutput
}

GetAgentAutomationAgentSetArrayInput is an input type that accepts GetAgentAutomationAgentSetArray and GetAgentAutomationAgentSetArrayOutput values. You can construct a concrete instance of `GetAgentAutomationAgentSetArrayInput` via:

GetAgentAutomationAgentSetArray{ GetAgentAutomationAgentSetArgs{...} }

type GetAgentAutomationAgentSetArrayOutput

type GetAgentAutomationAgentSetArrayOutput struct{ *pulumi.OutputState }

func (GetAgentAutomationAgentSetArrayOutput) ElementType

func (GetAgentAutomationAgentSetArrayOutput) Index

func (GetAgentAutomationAgentSetArrayOutput) ToGetAgentAutomationAgentSetArrayOutput

func (o GetAgentAutomationAgentSetArrayOutput) ToGetAgentAutomationAgentSetArrayOutput() GetAgentAutomationAgentSetArrayOutput

func (GetAgentAutomationAgentSetArrayOutput) ToGetAgentAutomationAgentSetArrayOutputWithContext

func (o GetAgentAutomationAgentSetArrayOutput) ToGetAgentAutomationAgentSetArrayOutputWithContext(ctx context.Context) GetAgentAutomationAgentSetArrayOutput

type GetAgentAutomationAgentSetInput

type GetAgentAutomationAgentSetInput interface {
	pulumi.Input

	ToGetAgentAutomationAgentSetOutput() GetAgentAutomationAgentSetOutput
	ToGetAgentAutomationAgentSetOutputWithContext(context.Context) GetAgentAutomationAgentSetOutput
}

GetAgentAutomationAgentSetInput is an input type that accepts GetAgentAutomationAgentSetArgs and GetAgentAutomationAgentSetOutput values. You can construct a concrete instance of `GetAgentAutomationAgentSetInput` via:

GetAgentAutomationAgentSetArgs{...}

type GetAgentAutomationAgentSetOutput

type GetAgentAutomationAgentSetOutput struct{ *pulumi.OutputState }

func (GetAgentAutomationAgentSetOutput) AgentStatus

Agent status.Ranges:<li> Online:Online<li> Offline:Offline.

func (GetAgentAutomationAgentSetOutput) ElementType

func (GetAgentAutomationAgentSetOutput) Environment

Environment for Agent.Ranges:<li> Linux:Linux instance<li> Windows:Windows instance.

func (GetAgentAutomationAgentSetOutput) InstanceId

InstanceId.

func (GetAgentAutomationAgentSetOutput) LastHeartbeatTime

Time of last heartbeat.

func (GetAgentAutomationAgentSetOutput) SupportFeatures

List of feature Agent support.

func (GetAgentAutomationAgentSetOutput) ToGetAgentAutomationAgentSetOutput

func (o GetAgentAutomationAgentSetOutput) ToGetAgentAutomationAgentSetOutput() GetAgentAutomationAgentSetOutput

func (GetAgentAutomationAgentSetOutput) ToGetAgentAutomationAgentSetOutputWithContext

func (o GetAgentAutomationAgentSetOutput) ToGetAgentAutomationAgentSetOutputWithContext(ctx context.Context) GetAgentAutomationAgentSetOutput

func (GetAgentAutomationAgentSetOutput) Version

Agent version.

type GetAgentFilter

type GetAgentFilter struct {
	// Field to be filtered.
	Name string `pulumi:"name"`
	// Filter values of the field.
	Values []string `pulumi:"values"`
}

type GetAgentFilterArgs

type GetAgentFilterArgs struct {
	// Field to be filtered.
	Name pulumi.StringInput `pulumi:"name"`
	// Filter values of the field.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetAgentFilterArgs) ElementType

func (GetAgentFilterArgs) ElementType() reflect.Type

func (GetAgentFilterArgs) ToGetAgentFilterOutput

func (i GetAgentFilterArgs) ToGetAgentFilterOutput() GetAgentFilterOutput

func (GetAgentFilterArgs) ToGetAgentFilterOutputWithContext

func (i GetAgentFilterArgs) ToGetAgentFilterOutputWithContext(ctx context.Context) GetAgentFilterOutput

type GetAgentFilterArray

type GetAgentFilterArray []GetAgentFilterInput

func (GetAgentFilterArray) ElementType

func (GetAgentFilterArray) ElementType() reflect.Type

func (GetAgentFilterArray) ToGetAgentFilterArrayOutput

func (i GetAgentFilterArray) ToGetAgentFilterArrayOutput() GetAgentFilterArrayOutput

func (GetAgentFilterArray) ToGetAgentFilterArrayOutputWithContext

func (i GetAgentFilterArray) ToGetAgentFilterArrayOutputWithContext(ctx context.Context) GetAgentFilterArrayOutput

type GetAgentFilterArrayInput

type GetAgentFilterArrayInput interface {
	pulumi.Input

	ToGetAgentFilterArrayOutput() GetAgentFilterArrayOutput
	ToGetAgentFilterArrayOutputWithContext(context.Context) GetAgentFilterArrayOutput
}

GetAgentFilterArrayInput is an input type that accepts GetAgentFilterArray and GetAgentFilterArrayOutput values. You can construct a concrete instance of `GetAgentFilterArrayInput` via:

GetAgentFilterArray{ GetAgentFilterArgs{...} }

type GetAgentFilterArrayOutput

type GetAgentFilterArrayOutput struct{ *pulumi.OutputState }

func (GetAgentFilterArrayOutput) ElementType

func (GetAgentFilterArrayOutput) ElementType() reflect.Type

func (GetAgentFilterArrayOutput) Index

func (GetAgentFilterArrayOutput) ToGetAgentFilterArrayOutput

func (o GetAgentFilterArrayOutput) ToGetAgentFilterArrayOutput() GetAgentFilterArrayOutput

func (GetAgentFilterArrayOutput) ToGetAgentFilterArrayOutputWithContext

func (o GetAgentFilterArrayOutput) ToGetAgentFilterArrayOutputWithContext(ctx context.Context) GetAgentFilterArrayOutput

type GetAgentFilterInput

type GetAgentFilterInput interface {
	pulumi.Input

	ToGetAgentFilterOutput() GetAgentFilterOutput
	ToGetAgentFilterOutputWithContext(context.Context) GetAgentFilterOutput
}

GetAgentFilterInput is an input type that accepts GetAgentFilterArgs and GetAgentFilterOutput values. You can construct a concrete instance of `GetAgentFilterInput` via:

GetAgentFilterArgs{...}

type GetAgentFilterOutput

type GetAgentFilterOutput struct{ *pulumi.OutputState }

func (GetAgentFilterOutput) ElementType

func (GetAgentFilterOutput) ElementType() reflect.Type

func (GetAgentFilterOutput) Name

Field to be filtered.

func (GetAgentFilterOutput) ToGetAgentFilterOutput

func (o GetAgentFilterOutput) ToGetAgentFilterOutput() GetAgentFilterOutput

func (GetAgentFilterOutput) ToGetAgentFilterOutputWithContext

func (o GetAgentFilterOutput) ToGetAgentFilterOutputWithContext(ctx context.Context) GetAgentFilterOutput

func (GetAgentFilterOutput) Values

Filter values of the field.

type GetAgentOutputArgs

type GetAgentOutputArgs struct {
	// Filter conditions. agent-status - String - Required: No - (Filter condition) Filter by agent status. Valid values: Online, Offline. environment - String - Required: No - (Filter condition) Filter by the agent environment. Valid value: Linux. instance-id - String - Required: No - (Filter condition) Filter by the instance ID. Up to 10 Filters allowed in one request. For each filter, five Filter.Values can be specified. InstanceIds and Filters cannot be specified at the same time.
	Filters GetAgentFilterArrayInput `pulumi:"filters"`
	// List of instance IDs for the query.
	InstanceIds pulumi.StringArrayInput `pulumi:"instanceIds"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getAgent.

func (GetAgentOutputArgs) ElementType

func (GetAgentOutputArgs) ElementType() reflect.Type

type GetAgentResult

type GetAgentResult struct {
	// List of agent message.
	AutomationAgentSets []GetAgentAutomationAgentSet `pulumi:"automationAgentSets"`
	Filters             []GetAgentFilter             `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id               string   `pulumi:"id"`
	InstanceIds      []string `pulumi:"instanceIds"`
	ResultOutputFile *string  `pulumi:"resultOutputFile"`
}

A collection of values returned by getAgent.

func GetAgent

func GetAgent(ctx *pulumi.Context, args *GetAgentArgs, opts ...pulumi.InvokeOption) (*GetAgentResult, error)

Use this data source to query detailed information of tat agent

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Tat.GetAgent(ctx, &tat.GetAgentArgs{
			Filters: []tat.GetAgentFilter{
				tat.GetAgentFilter{
					Name: "environment",
					Values: []string{
						"Linux",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetAgentResultOutput

type GetAgentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAgent.

func (GetAgentResultOutput) AutomationAgentSets

List of agent message.

func (GetAgentResultOutput) ElementType

func (GetAgentResultOutput) ElementType() reflect.Type

func (GetAgentResultOutput) Filters

func (GetAgentResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAgentResultOutput) InstanceIds

func (GetAgentResultOutput) ResultOutputFile

func (o GetAgentResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (GetAgentResultOutput) ToGetAgentResultOutput

func (o GetAgentResultOutput) ToGetAgentResultOutput() GetAgentResultOutput

func (GetAgentResultOutput) ToGetAgentResultOutputWithContext

func (o GetAgentResultOutput) ToGetAgentResultOutputWithContext(ctx context.Context) GetAgentResultOutput

type GetCommandCommandSet

type GetCommandCommandSet struct {
	// Command ID.
	CommandId string `pulumi:"commandId"`
	// Command name.
	CommandName string `pulumi:"commandName"`
	// Command type, Value is `SHELL` or `POWERSHELL`.
	CommandType string `pulumi:"commandType"`
	// command.
	Content string `pulumi:"content"`
	// Command creator. `TAT` indicates a public command and `USER` indicates a personal command.
	CreatedBy string `pulumi:"createdBy"`
	// Command creation time.
	CreatedTime string `pulumi:"createdTime"`
	// Default custom parameter value.
	DefaultParameters string `pulumi:"defaultParameters"`
	// Command description.
	Description string `pulumi:"description"`
	// Whether to enable the custom parameter feature.
	EnableParameter bool `pulumi:"enableParameter"`
	// Formatted description of the command. This parameter is an empty string for user commands and contains values for public commands.
	FormattedDescription string `pulumi:"formattedDescription"`
	// The COS bucket URL for uploading logs.
	OutputCosBucketUrl string `pulumi:"outputCosBucketUrl"`
	// The COS bucket directory where the logs are saved.
	OutputCosKeyPrefix string `pulumi:"outputCosKeyPrefix"`
	// Tags bound to the command. At most 10 tags are allowed.
	Tags []GetCommandCommandSetTag `pulumi:"tags"`
	// Command timeout period.
	Timeout int `pulumi:"timeout"`
	// Command update time.
	UpdatedTime string `pulumi:"updatedTime"`
	// The user who executes the command on the instance.
	Username string `pulumi:"username"`
	// Command execution path.
	WorkingDirectory string `pulumi:"workingDirectory"`
}

type GetCommandCommandSetArgs

type GetCommandCommandSetArgs struct {
	// Command ID.
	CommandId pulumi.StringInput `pulumi:"commandId"`
	// Command name.
	CommandName pulumi.StringInput `pulumi:"commandName"`
	// Command type, Value is `SHELL` or `POWERSHELL`.
	CommandType pulumi.StringInput `pulumi:"commandType"`
	// command.
	Content pulumi.StringInput `pulumi:"content"`
	// Command creator. `TAT` indicates a public command and `USER` indicates a personal command.
	CreatedBy pulumi.StringInput `pulumi:"createdBy"`
	// Command creation time.
	CreatedTime pulumi.StringInput `pulumi:"createdTime"`
	// Default custom parameter value.
	DefaultParameters pulumi.StringInput `pulumi:"defaultParameters"`
	// Command description.
	Description pulumi.StringInput `pulumi:"description"`
	// Whether to enable the custom parameter feature.
	EnableParameter pulumi.BoolInput `pulumi:"enableParameter"`
	// Formatted description of the command. This parameter is an empty string for user commands and contains values for public commands.
	FormattedDescription pulumi.StringInput `pulumi:"formattedDescription"`
	// The COS bucket URL for uploading logs.
	OutputCosBucketUrl pulumi.StringInput `pulumi:"outputCosBucketUrl"`
	// The COS bucket directory where the logs are saved.
	OutputCosKeyPrefix pulumi.StringInput `pulumi:"outputCosKeyPrefix"`
	// Tags bound to the command. At most 10 tags are allowed.
	Tags GetCommandCommandSetTagArrayInput `pulumi:"tags"`
	// Command timeout period.
	Timeout pulumi.IntInput `pulumi:"timeout"`
	// Command update time.
	UpdatedTime pulumi.StringInput `pulumi:"updatedTime"`
	// The user who executes the command on the instance.
	Username pulumi.StringInput `pulumi:"username"`
	// Command execution path.
	WorkingDirectory pulumi.StringInput `pulumi:"workingDirectory"`
}

func (GetCommandCommandSetArgs) ElementType

func (GetCommandCommandSetArgs) ElementType() reflect.Type

func (GetCommandCommandSetArgs) ToGetCommandCommandSetOutput

func (i GetCommandCommandSetArgs) ToGetCommandCommandSetOutput() GetCommandCommandSetOutput

func (GetCommandCommandSetArgs) ToGetCommandCommandSetOutputWithContext

func (i GetCommandCommandSetArgs) ToGetCommandCommandSetOutputWithContext(ctx context.Context) GetCommandCommandSetOutput

type GetCommandCommandSetArray

type GetCommandCommandSetArray []GetCommandCommandSetInput

func (GetCommandCommandSetArray) ElementType

func (GetCommandCommandSetArray) ElementType() reflect.Type

func (GetCommandCommandSetArray) ToGetCommandCommandSetArrayOutput

func (i GetCommandCommandSetArray) ToGetCommandCommandSetArrayOutput() GetCommandCommandSetArrayOutput

func (GetCommandCommandSetArray) ToGetCommandCommandSetArrayOutputWithContext

func (i GetCommandCommandSetArray) ToGetCommandCommandSetArrayOutputWithContext(ctx context.Context) GetCommandCommandSetArrayOutput

type GetCommandCommandSetArrayInput

type GetCommandCommandSetArrayInput interface {
	pulumi.Input

	ToGetCommandCommandSetArrayOutput() GetCommandCommandSetArrayOutput
	ToGetCommandCommandSetArrayOutputWithContext(context.Context) GetCommandCommandSetArrayOutput
}

GetCommandCommandSetArrayInput is an input type that accepts GetCommandCommandSetArray and GetCommandCommandSetArrayOutput values. You can construct a concrete instance of `GetCommandCommandSetArrayInput` via:

GetCommandCommandSetArray{ GetCommandCommandSetArgs{...} }

type GetCommandCommandSetArrayOutput

type GetCommandCommandSetArrayOutput struct{ *pulumi.OutputState }

func (GetCommandCommandSetArrayOutput) ElementType

func (GetCommandCommandSetArrayOutput) Index

func (GetCommandCommandSetArrayOutput) ToGetCommandCommandSetArrayOutput

func (o GetCommandCommandSetArrayOutput) ToGetCommandCommandSetArrayOutput() GetCommandCommandSetArrayOutput

func (GetCommandCommandSetArrayOutput) ToGetCommandCommandSetArrayOutputWithContext

func (o GetCommandCommandSetArrayOutput) ToGetCommandCommandSetArrayOutputWithContext(ctx context.Context) GetCommandCommandSetArrayOutput

type GetCommandCommandSetInput

type GetCommandCommandSetInput interface {
	pulumi.Input

	ToGetCommandCommandSetOutput() GetCommandCommandSetOutput
	ToGetCommandCommandSetOutputWithContext(context.Context) GetCommandCommandSetOutput
}

GetCommandCommandSetInput is an input type that accepts GetCommandCommandSetArgs and GetCommandCommandSetOutput values. You can construct a concrete instance of `GetCommandCommandSetInput` via:

GetCommandCommandSetArgs{...}

type GetCommandCommandSetOutput

type GetCommandCommandSetOutput struct{ *pulumi.OutputState }

func (GetCommandCommandSetOutput) CommandId

Command ID.

func (GetCommandCommandSetOutput) CommandName

Command name.

func (GetCommandCommandSetOutput) CommandType

Command type, Value is `SHELL` or `POWERSHELL`.

func (GetCommandCommandSetOutput) Content

command.

func (GetCommandCommandSetOutput) CreatedBy

Command creator. `TAT` indicates a public command and `USER` indicates a personal command.

func (GetCommandCommandSetOutput) CreatedTime

Command creation time.

func (GetCommandCommandSetOutput) DefaultParameters

func (o GetCommandCommandSetOutput) DefaultParameters() pulumi.StringOutput

Default custom parameter value.

func (GetCommandCommandSetOutput) Description

Command description.

func (GetCommandCommandSetOutput) ElementType

func (GetCommandCommandSetOutput) ElementType() reflect.Type

func (GetCommandCommandSetOutput) EnableParameter

func (o GetCommandCommandSetOutput) EnableParameter() pulumi.BoolOutput

Whether to enable the custom parameter feature.

func (GetCommandCommandSetOutput) FormattedDescription

func (o GetCommandCommandSetOutput) FormattedDescription() pulumi.StringOutput

Formatted description of the command. This parameter is an empty string for user commands and contains values for public commands.

func (GetCommandCommandSetOutput) OutputCosBucketUrl

func (o GetCommandCommandSetOutput) OutputCosBucketUrl() pulumi.StringOutput

The COS bucket URL for uploading logs.

func (GetCommandCommandSetOutput) OutputCosKeyPrefix

func (o GetCommandCommandSetOutput) OutputCosKeyPrefix() pulumi.StringOutput

The COS bucket directory where the logs are saved.

func (GetCommandCommandSetOutput) Tags

Tags bound to the command. At most 10 tags are allowed.

func (GetCommandCommandSetOutput) Timeout

Command timeout period.

func (GetCommandCommandSetOutput) ToGetCommandCommandSetOutput

func (o GetCommandCommandSetOutput) ToGetCommandCommandSetOutput() GetCommandCommandSetOutput

func (GetCommandCommandSetOutput) ToGetCommandCommandSetOutputWithContext

func (o GetCommandCommandSetOutput) ToGetCommandCommandSetOutputWithContext(ctx context.Context) GetCommandCommandSetOutput

func (GetCommandCommandSetOutput) UpdatedTime

Command update time.

func (GetCommandCommandSetOutput) Username

The user who executes the command on the instance.

func (GetCommandCommandSetOutput) WorkingDirectory

func (o GetCommandCommandSetOutput) WorkingDirectory() pulumi.StringOutput

Command execution path.

type GetCommandCommandSetTag

type GetCommandCommandSetTag struct {
	// Tag key.
	Key string `pulumi:"key"`
	// Tag value.
	Value string `pulumi:"value"`
}

type GetCommandCommandSetTagArgs

type GetCommandCommandSetTagArgs struct {
	// Tag key.
	Key pulumi.StringInput `pulumi:"key"`
	// Tag value.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetCommandCommandSetTagArgs) ElementType

func (GetCommandCommandSetTagArgs) ToGetCommandCommandSetTagOutput

func (i GetCommandCommandSetTagArgs) ToGetCommandCommandSetTagOutput() GetCommandCommandSetTagOutput

func (GetCommandCommandSetTagArgs) ToGetCommandCommandSetTagOutputWithContext

func (i GetCommandCommandSetTagArgs) ToGetCommandCommandSetTagOutputWithContext(ctx context.Context) GetCommandCommandSetTagOutput

type GetCommandCommandSetTagArray

type GetCommandCommandSetTagArray []GetCommandCommandSetTagInput

func (GetCommandCommandSetTagArray) ElementType

func (GetCommandCommandSetTagArray) ToGetCommandCommandSetTagArrayOutput

func (i GetCommandCommandSetTagArray) ToGetCommandCommandSetTagArrayOutput() GetCommandCommandSetTagArrayOutput

func (GetCommandCommandSetTagArray) ToGetCommandCommandSetTagArrayOutputWithContext

func (i GetCommandCommandSetTagArray) ToGetCommandCommandSetTagArrayOutputWithContext(ctx context.Context) GetCommandCommandSetTagArrayOutput

type GetCommandCommandSetTagArrayInput

type GetCommandCommandSetTagArrayInput interface {
	pulumi.Input

	ToGetCommandCommandSetTagArrayOutput() GetCommandCommandSetTagArrayOutput
	ToGetCommandCommandSetTagArrayOutputWithContext(context.Context) GetCommandCommandSetTagArrayOutput
}

GetCommandCommandSetTagArrayInput is an input type that accepts GetCommandCommandSetTagArray and GetCommandCommandSetTagArrayOutput values. You can construct a concrete instance of `GetCommandCommandSetTagArrayInput` via:

GetCommandCommandSetTagArray{ GetCommandCommandSetTagArgs{...} }

type GetCommandCommandSetTagArrayOutput

type GetCommandCommandSetTagArrayOutput struct{ *pulumi.OutputState }

func (GetCommandCommandSetTagArrayOutput) ElementType

func (GetCommandCommandSetTagArrayOutput) Index

func (GetCommandCommandSetTagArrayOutput) ToGetCommandCommandSetTagArrayOutput

func (o GetCommandCommandSetTagArrayOutput) ToGetCommandCommandSetTagArrayOutput() GetCommandCommandSetTagArrayOutput

func (GetCommandCommandSetTagArrayOutput) ToGetCommandCommandSetTagArrayOutputWithContext

func (o GetCommandCommandSetTagArrayOutput) ToGetCommandCommandSetTagArrayOutputWithContext(ctx context.Context) GetCommandCommandSetTagArrayOutput

type GetCommandCommandSetTagInput

type GetCommandCommandSetTagInput interface {
	pulumi.Input

	ToGetCommandCommandSetTagOutput() GetCommandCommandSetTagOutput
	ToGetCommandCommandSetTagOutputWithContext(context.Context) GetCommandCommandSetTagOutput
}

GetCommandCommandSetTagInput is an input type that accepts GetCommandCommandSetTagArgs and GetCommandCommandSetTagOutput values. You can construct a concrete instance of `GetCommandCommandSetTagInput` via:

GetCommandCommandSetTagArgs{...}

type GetCommandCommandSetTagOutput

type GetCommandCommandSetTagOutput struct{ *pulumi.OutputState }

func (GetCommandCommandSetTagOutput) ElementType

func (GetCommandCommandSetTagOutput) Key

Tag key.

func (GetCommandCommandSetTagOutput) ToGetCommandCommandSetTagOutput

func (o GetCommandCommandSetTagOutput) ToGetCommandCommandSetTagOutput() GetCommandCommandSetTagOutput

func (GetCommandCommandSetTagOutput) ToGetCommandCommandSetTagOutputWithContext

func (o GetCommandCommandSetTagOutput) ToGetCommandCommandSetTagOutputWithContext(ctx context.Context) GetCommandCommandSetTagOutput

func (GetCommandCommandSetTagOutput) Value

Tag value.

type GetInvocationTaskArgs

type GetInvocationTaskArgs struct {
	// Filter conditions.invocation-id - String - Required: No - (Filter condition) Filter by the execution activity ID.invocation-task-id - String - Required: No - (Filter condition) Filter by the execution task ID.instance-id - String - Required: No - (Filter condition) Filter by the instance ID.command-id - String - Required: No - (Filter condition) Filter by the command ID.Up to 10 Filters are allowed for each request. Each filter can have up to five Filter.Values. InvocationTaskIds and Filters cannot be specified at the same time.
	Filters []GetInvocationTaskFilter `pulumi:"filters"`
	// Whether to hide the output. Valid values:True (default): Hide the outputFalse: Show the output.
	HideOutput *bool `pulumi:"hideOutput"`
	// List of execution task IDs. Up to 100 IDs are allowed for each request. InvocationTaskIds and Filters cannot be specified at the same time.
	InvocationTaskIds []string `pulumi:"invocationTaskIds"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getInvocationTask.

type GetInvocationTaskFilter

type GetInvocationTaskFilter struct {
	// Field to be filtered.
	Name string `pulumi:"name"`
	// Filter values of the field.
	Values []string `pulumi:"values"`
}

type GetInvocationTaskFilterArgs

type GetInvocationTaskFilterArgs struct {
	// Field to be filtered.
	Name pulumi.StringInput `pulumi:"name"`
	// Filter values of the field.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetInvocationTaskFilterArgs) ElementType

func (GetInvocationTaskFilterArgs) ToGetInvocationTaskFilterOutput

func (i GetInvocationTaskFilterArgs) ToGetInvocationTaskFilterOutput() GetInvocationTaskFilterOutput

func (GetInvocationTaskFilterArgs) ToGetInvocationTaskFilterOutputWithContext

func (i GetInvocationTaskFilterArgs) ToGetInvocationTaskFilterOutputWithContext(ctx context.Context) GetInvocationTaskFilterOutput

type GetInvocationTaskFilterArray

type GetInvocationTaskFilterArray []GetInvocationTaskFilterInput

func (GetInvocationTaskFilterArray) ElementType

func (GetInvocationTaskFilterArray) ToGetInvocationTaskFilterArrayOutput

func (i GetInvocationTaskFilterArray) ToGetInvocationTaskFilterArrayOutput() GetInvocationTaskFilterArrayOutput

func (GetInvocationTaskFilterArray) ToGetInvocationTaskFilterArrayOutputWithContext

func (i GetInvocationTaskFilterArray) ToGetInvocationTaskFilterArrayOutputWithContext(ctx context.Context) GetInvocationTaskFilterArrayOutput

type GetInvocationTaskFilterArrayInput

type GetInvocationTaskFilterArrayInput interface {
	pulumi.Input

	ToGetInvocationTaskFilterArrayOutput() GetInvocationTaskFilterArrayOutput
	ToGetInvocationTaskFilterArrayOutputWithContext(context.Context) GetInvocationTaskFilterArrayOutput
}

GetInvocationTaskFilterArrayInput is an input type that accepts GetInvocationTaskFilterArray and GetInvocationTaskFilterArrayOutput values. You can construct a concrete instance of `GetInvocationTaskFilterArrayInput` via:

GetInvocationTaskFilterArray{ GetInvocationTaskFilterArgs{...} }

type GetInvocationTaskFilterArrayOutput

type GetInvocationTaskFilterArrayOutput struct{ *pulumi.OutputState }

func (GetInvocationTaskFilterArrayOutput) ElementType

func (GetInvocationTaskFilterArrayOutput) Index

func (GetInvocationTaskFilterArrayOutput) ToGetInvocationTaskFilterArrayOutput

func (o GetInvocationTaskFilterArrayOutput) ToGetInvocationTaskFilterArrayOutput() GetInvocationTaskFilterArrayOutput

func (GetInvocationTaskFilterArrayOutput) ToGetInvocationTaskFilterArrayOutputWithContext

func (o GetInvocationTaskFilterArrayOutput) ToGetInvocationTaskFilterArrayOutputWithContext(ctx context.Context) GetInvocationTaskFilterArrayOutput

type GetInvocationTaskFilterInput

type GetInvocationTaskFilterInput interface {
	pulumi.Input

	ToGetInvocationTaskFilterOutput() GetInvocationTaskFilterOutput
	ToGetInvocationTaskFilterOutputWithContext(context.Context) GetInvocationTaskFilterOutput
}

GetInvocationTaskFilterInput is an input type that accepts GetInvocationTaskFilterArgs and GetInvocationTaskFilterOutput values. You can construct a concrete instance of `GetInvocationTaskFilterInput` via:

GetInvocationTaskFilterArgs{...}

type GetInvocationTaskFilterOutput

type GetInvocationTaskFilterOutput struct{ *pulumi.OutputState }

func (GetInvocationTaskFilterOutput) ElementType

func (GetInvocationTaskFilterOutput) Name

Field to be filtered.

func (GetInvocationTaskFilterOutput) ToGetInvocationTaskFilterOutput

func (o GetInvocationTaskFilterOutput) ToGetInvocationTaskFilterOutput() GetInvocationTaskFilterOutput

func (GetInvocationTaskFilterOutput) ToGetInvocationTaskFilterOutputWithContext

func (o GetInvocationTaskFilterOutput) ToGetInvocationTaskFilterOutputWithContext(ctx context.Context) GetInvocationTaskFilterOutput

func (GetInvocationTaskFilterOutput) Values

Filter values of the field.

type GetInvocationTaskInvocationTaskSet

type GetInvocationTaskInvocationTaskSet struct {
	// Command details of the execution task.
	CommandDocuments []GetInvocationTaskInvocationTaskSetCommandDocument `pulumi:"commandDocuments"`
	// Command ID.
	CommandId string `pulumi:"commandId"`
	// Creation time.
	CreatedTime string `pulumi:"createdTime"`
	// End time of the execution task.
	EndTime string `pulumi:"endTime"`
	// Error message displayed when the execution task fails.
	ErrorInfo string `pulumi:"errorInfo"`
	// Instance ID.
	InstanceId string `pulumi:"instanceId"`
	// Execution activity ID.
	InvocationId string `pulumi:"invocationId"`
	// Invocation source.
	InvocationSource string `pulumi:"invocationSource"`
	// Execution task ID.
	InvocationTaskId string `pulumi:"invocationTaskId"`
	// Start time of the execution task.
	StartTime string `pulumi:"startTime"`
	// Execution result.
	TaskResults []GetInvocationTaskInvocationTaskSetTaskResult `pulumi:"taskResults"`
	// Execution task status. Valid values:PENDING: PendingDELIVERING: DeliveringDELIVER_DELAYED: Delivery delayedDELIVER_FAILED: Delivery failedSTART_FAILED: Failed to start the commandRUNNING: RunningSUCCESS: SuccessFAILED: Failed to execute the command. The exit code is not 0 after execution.TIMEOUT: Command timed outTASK_TIMEOUT: Task timed outCANCELLING: CancelingCANCELLED: Canceled (canceled before execution)TERMINATED: Terminated (canceled during execution).
	TaskStatus string `pulumi:"taskStatus"`
	// Update time.
	UpdatedTime string `pulumi:"updatedTime"`
}

type GetInvocationTaskInvocationTaskSetArgs

type GetInvocationTaskInvocationTaskSetArgs struct {
	// Command details of the execution task.
	CommandDocuments GetInvocationTaskInvocationTaskSetCommandDocumentArrayInput `pulumi:"commandDocuments"`
	// Command ID.
	CommandId pulumi.StringInput `pulumi:"commandId"`
	// Creation time.
	CreatedTime pulumi.StringInput `pulumi:"createdTime"`
	// End time of the execution task.
	EndTime pulumi.StringInput `pulumi:"endTime"`
	// Error message displayed when the execution task fails.
	ErrorInfo pulumi.StringInput `pulumi:"errorInfo"`
	// Instance ID.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Execution activity ID.
	InvocationId pulumi.StringInput `pulumi:"invocationId"`
	// Invocation source.
	InvocationSource pulumi.StringInput `pulumi:"invocationSource"`
	// Execution task ID.
	InvocationTaskId pulumi.StringInput `pulumi:"invocationTaskId"`
	// Start time of the execution task.
	StartTime pulumi.StringInput `pulumi:"startTime"`
	// Execution result.
	TaskResults GetInvocationTaskInvocationTaskSetTaskResultArrayInput `pulumi:"taskResults"`
	// Execution task status. Valid values:PENDING: PendingDELIVERING: DeliveringDELIVER_DELAYED: Delivery delayedDELIVER_FAILED: Delivery failedSTART_FAILED: Failed to start the commandRUNNING: RunningSUCCESS: SuccessFAILED: Failed to execute the command. The exit code is not 0 after execution.TIMEOUT: Command timed outTASK_TIMEOUT: Task timed outCANCELLING: CancelingCANCELLED: Canceled (canceled before execution)TERMINATED: Terminated (canceled during execution).
	TaskStatus pulumi.StringInput `pulumi:"taskStatus"`
	// Update time.
	UpdatedTime pulumi.StringInput `pulumi:"updatedTime"`
}

func (GetInvocationTaskInvocationTaskSetArgs) ElementType

func (GetInvocationTaskInvocationTaskSetArgs) ToGetInvocationTaskInvocationTaskSetOutput

func (i GetInvocationTaskInvocationTaskSetArgs) ToGetInvocationTaskInvocationTaskSetOutput() GetInvocationTaskInvocationTaskSetOutput

func (GetInvocationTaskInvocationTaskSetArgs) ToGetInvocationTaskInvocationTaskSetOutputWithContext

func (i GetInvocationTaskInvocationTaskSetArgs) ToGetInvocationTaskInvocationTaskSetOutputWithContext(ctx context.Context) GetInvocationTaskInvocationTaskSetOutput

type GetInvocationTaskInvocationTaskSetArray

type GetInvocationTaskInvocationTaskSetArray []GetInvocationTaskInvocationTaskSetInput

func (GetInvocationTaskInvocationTaskSetArray) ElementType

func (GetInvocationTaskInvocationTaskSetArray) ToGetInvocationTaskInvocationTaskSetArrayOutput

func (i GetInvocationTaskInvocationTaskSetArray) ToGetInvocationTaskInvocationTaskSetArrayOutput() GetInvocationTaskInvocationTaskSetArrayOutput

func (GetInvocationTaskInvocationTaskSetArray) ToGetInvocationTaskInvocationTaskSetArrayOutputWithContext

func (i GetInvocationTaskInvocationTaskSetArray) ToGetInvocationTaskInvocationTaskSetArrayOutputWithContext(ctx context.Context) GetInvocationTaskInvocationTaskSetArrayOutput

type GetInvocationTaskInvocationTaskSetArrayInput

type GetInvocationTaskInvocationTaskSetArrayInput interface {
	pulumi.Input

	ToGetInvocationTaskInvocationTaskSetArrayOutput() GetInvocationTaskInvocationTaskSetArrayOutput
	ToGetInvocationTaskInvocationTaskSetArrayOutputWithContext(context.Context) GetInvocationTaskInvocationTaskSetArrayOutput
}

GetInvocationTaskInvocationTaskSetArrayInput is an input type that accepts GetInvocationTaskInvocationTaskSetArray and GetInvocationTaskInvocationTaskSetArrayOutput values. You can construct a concrete instance of `GetInvocationTaskInvocationTaskSetArrayInput` via:

GetInvocationTaskInvocationTaskSetArray{ GetInvocationTaskInvocationTaskSetArgs{...} }

type GetInvocationTaskInvocationTaskSetArrayOutput

type GetInvocationTaskInvocationTaskSetArrayOutput struct{ *pulumi.OutputState }

func (GetInvocationTaskInvocationTaskSetArrayOutput) ElementType

func (GetInvocationTaskInvocationTaskSetArrayOutput) Index

func (GetInvocationTaskInvocationTaskSetArrayOutput) ToGetInvocationTaskInvocationTaskSetArrayOutput

func (o GetInvocationTaskInvocationTaskSetArrayOutput) ToGetInvocationTaskInvocationTaskSetArrayOutput() GetInvocationTaskInvocationTaskSetArrayOutput

func (GetInvocationTaskInvocationTaskSetArrayOutput) ToGetInvocationTaskInvocationTaskSetArrayOutputWithContext

func (o GetInvocationTaskInvocationTaskSetArrayOutput) ToGetInvocationTaskInvocationTaskSetArrayOutputWithContext(ctx context.Context) GetInvocationTaskInvocationTaskSetArrayOutput

type GetInvocationTaskInvocationTaskSetCommandDocument

type GetInvocationTaskInvocationTaskSetCommandDocument struct {
	// Command type.
	CommandType string `pulumi:"commandType"`
	// Base64-encoded command.
	Content string `pulumi:"content"`
	// URL of the COS bucket to store the output.
	OutputCosBucketUrl string `pulumi:"outputCosBucketUrl"`
	// Prefix of the output file name.
	OutputCosKeyPrefix string `pulumi:"outputCosKeyPrefix"`
	// Timeout period.
	Timeout int `pulumi:"timeout"`
	// The user who executes the command.
	Username string `pulumi:"username"`
	// Execution path.
	WorkingDirectory string `pulumi:"workingDirectory"`
}

type GetInvocationTaskInvocationTaskSetCommandDocumentArgs

type GetInvocationTaskInvocationTaskSetCommandDocumentArgs struct {
	// Command type.
	CommandType pulumi.StringInput `pulumi:"commandType"`
	// Base64-encoded command.
	Content pulumi.StringInput `pulumi:"content"`
	// URL of the COS bucket to store the output.
	OutputCosBucketUrl pulumi.StringInput `pulumi:"outputCosBucketUrl"`
	// Prefix of the output file name.
	OutputCosKeyPrefix pulumi.StringInput `pulumi:"outputCosKeyPrefix"`
	// Timeout period.
	Timeout pulumi.IntInput `pulumi:"timeout"`
	// The user who executes the command.
	Username pulumi.StringInput `pulumi:"username"`
	// Execution path.
	WorkingDirectory pulumi.StringInput `pulumi:"workingDirectory"`
}

func (GetInvocationTaskInvocationTaskSetCommandDocumentArgs) ElementType

func (GetInvocationTaskInvocationTaskSetCommandDocumentArgs) ToGetInvocationTaskInvocationTaskSetCommandDocumentOutput

func (i GetInvocationTaskInvocationTaskSetCommandDocumentArgs) ToGetInvocationTaskInvocationTaskSetCommandDocumentOutput() GetInvocationTaskInvocationTaskSetCommandDocumentOutput

func (GetInvocationTaskInvocationTaskSetCommandDocumentArgs) ToGetInvocationTaskInvocationTaskSetCommandDocumentOutputWithContext

func (i GetInvocationTaskInvocationTaskSetCommandDocumentArgs) ToGetInvocationTaskInvocationTaskSetCommandDocumentOutputWithContext(ctx context.Context) GetInvocationTaskInvocationTaskSetCommandDocumentOutput

type GetInvocationTaskInvocationTaskSetCommandDocumentArray

type GetInvocationTaskInvocationTaskSetCommandDocumentArray []GetInvocationTaskInvocationTaskSetCommandDocumentInput

func (GetInvocationTaskInvocationTaskSetCommandDocumentArray) ElementType

func (GetInvocationTaskInvocationTaskSetCommandDocumentArray) ToGetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput

func (i GetInvocationTaskInvocationTaskSetCommandDocumentArray) ToGetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput() GetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput

func (GetInvocationTaskInvocationTaskSetCommandDocumentArray) ToGetInvocationTaskInvocationTaskSetCommandDocumentArrayOutputWithContext

func (i GetInvocationTaskInvocationTaskSetCommandDocumentArray) ToGetInvocationTaskInvocationTaskSetCommandDocumentArrayOutputWithContext(ctx context.Context) GetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput

type GetInvocationTaskInvocationTaskSetCommandDocumentArrayInput

type GetInvocationTaskInvocationTaskSetCommandDocumentArrayInput interface {
	pulumi.Input

	ToGetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput() GetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput
	ToGetInvocationTaskInvocationTaskSetCommandDocumentArrayOutputWithContext(context.Context) GetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput
}

GetInvocationTaskInvocationTaskSetCommandDocumentArrayInput is an input type that accepts GetInvocationTaskInvocationTaskSetCommandDocumentArray and GetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput values. You can construct a concrete instance of `GetInvocationTaskInvocationTaskSetCommandDocumentArrayInput` via:

GetInvocationTaskInvocationTaskSetCommandDocumentArray{ GetInvocationTaskInvocationTaskSetCommandDocumentArgs{...} }

type GetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput

type GetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput struct{ *pulumi.OutputState }

func (GetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput) ElementType

func (GetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput) Index

func (GetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput) ToGetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput

func (GetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput) ToGetInvocationTaskInvocationTaskSetCommandDocumentArrayOutputWithContext

func (o GetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput) ToGetInvocationTaskInvocationTaskSetCommandDocumentArrayOutputWithContext(ctx context.Context) GetInvocationTaskInvocationTaskSetCommandDocumentArrayOutput

type GetInvocationTaskInvocationTaskSetCommandDocumentInput

type GetInvocationTaskInvocationTaskSetCommandDocumentInput interface {
	pulumi.Input

	ToGetInvocationTaskInvocationTaskSetCommandDocumentOutput() GetInvocationTaskInvocationTaskSetCommandDocumentOutput
	ToGetInvocationTaskInvocationTaskSetCommandDocumentOutputWithContext(context.Context) GetInvocationTaskInvocationTaskSetCommandDocumentOutput
}

GetInvocationTaskInvocationTaskSetCommandDocumentInput is an input type that accepts GetInvocationTaskInvocationTaskSetCommandDocumentArgs and GetInvocationTaskInvocationTaskSetCommandDocumentOutput values. You can construct a concrete instance of `GetInvocationTaskInvocationTaskSetCommandDocumentInput` via:

GetInvocationTaskInvocationTaskSetCommandDocumentArgs{...}

type GetInvocationTaskInvocationTaskSetCommandDocumentOutput

type GetInvocationTaskInvocationTaskSetCommandDocumentOutput struct{ *pulumi.OutputState }

func (GetInvocationTaskInvocationTaskSetCommandDocumentOutput) CommandType

Command type.

func (GetInvocationTaskInvocationTaskSetCommandDocumentOutput) Content

Base64-encoded command.

func (GetInvocationTaskInvocationTaskSetCommandDocumentOutput) ElementType

func (GetInvocationTaskInvocationTaskSetCommandDocumentOutput) OutputCosBucketUrl

URL of the COS bucket to store the output.

func (GetInvocationTaskInvocationTaskSetCommandDocumentOutput) OutputCosKeyPrefix

Prefix of the output file name.

func (GetInvocationTaskInvocationTaskSetCommandDocumentOutput) Timeout

Timeout period.

func (GetInvocationTaskInvocationTaskSetCommandDocumentOutput) ToGetInvocationTaskInvocationTaskSetCommandDocumentOutput

func (GetInvocationTaskInvocationTaskSetCommandDocumentOutput) ToGetInvocationTaskInvocationTaskSetCommandDocumentOutputWithContext

func (o GetInvocationTaskInvocationTaskSetCommandDocumentOutput) ToGetInvocationTaskInvocationTaskSetCommandDocumentOutputWithContext(ctx context.Context) GetInvocationTaskInvocationTaskSetCommandDocumentOutput

func (GetInvocationTaskInvocationTaskSetCommandDocumentOutput) Username

The user who executes the command.

func (GetInvocationTaskInvocationTaskSetCommandDocumentOutput) WorkingDirectory

Execution path.

type GetInvocationTaskInvocationTaskSetInput

type GetInvocationTaskInvocationTaskSetInput interface {
	pulumi.Input

	ToGetInvocationTaskInvocationTaskSetOutput() GetInvocationTaskInvocationTaskSetOutput
	ToGetInvocationTaskInvocationTaskSetOutputWithContext(context.Context) GetInvocationTaskInvocationTaskSetOutput
}

GetInvocationTaskInvocationTaskSetInput is an input type that accepts GetInvocationTaskInvocationTaskSetArgs and GetInvocationTaskInvocationTaskSetOutput values. You can construct a concrete instance of `GetInvocationTaskInvocationTaskSetInput` via:

GetInvocationTaskInvocationTaskSetArgs{...}

type GetInvocationTaskInvocationTaskSetOutput

type GetInvocationTaskInvocationTaskSetOutput struct{ *pulumi.OutputState }

func (GetInvocationTaskInvocationTaskSetOutput) CommandDocuments

Command details of the execution task.

func (GetInvocationTaskInvocationTaskSetOutput) CommandId

Command ID.

func (GetInvocationTaskInvocationTaskSetOutput) CreatedTime

Creation time.

func (GetInvocationTaskInvocationTaskSetOutput) ElementType

func (GetInvocationTaskInvocationTaskSetOutput) EndTime

End time of the execution task.

func (GetInvocationTaskInvocationTaskSetOutput) ErrorInfo

Error message displayed when the execution task fails.

func (GetInvocationTaskInvocationTaskSetOutput) InstanceId

Instance ID.

func (GetInvocationTaskInvocationTaskSetOutput) InvocationId

Execution activity ID.

func (GetInvocationTaskInvocationTaskSetOutput) InvocationSource

Invocation source.

func (GetInvocationTaskInvocationTaskSetOutput) InvocationTaskId

Execution task ID.

func (GetInvocationTaskInvocationTaskSetOutput) StartTime

Start time of the execution task.

func (GetInvocationTaskInvocationTaskSetOutput) TaskResults

Execution result.

func (GetInvocationTaskInvocationTaskSetOutput) TaskStatus

Execution task status. Valid values:PENDING: PendingDELIVERING: DeliveringDELIVER_DELAYED: Delivery delayedDELIVER_FAILED: Delivery failedSTART_FAILED: Failed to start the commandRUNNING: RunningSUCCESS: SuccessFAILED: Failed to execute the command. The exit code is not 0 after execution.TIMEOUT: Command timed outTASK_TIMEOUT: Task timed outCANCELLING: CancelingCANCELLED: Canceled (canceled before execution)TERMINATED: Terminated (canceled during execution).

func (GetInvocationTaskInvocationTaskSetOutput) ToGetInvocationTaskInvocationTaskSetOutput

func (o GetInvocationTaskInvocationTaskSetOutput) ToGetInvocationTaskInvocationTaskSetOutput() GetInvocationTaskInvocationTaskSetOutput

func (GetInvocationTaskInvocationTaskSetOutput) ToGetInvocationTaskInvocationTaskSetOutputWithContext

func (o GetInvocationTaskInvocationTaskSetOutput) ToGetInvocationTaskInvocationTaskSetOutputWithContext(ctx context.Context) GetInvocationTaskInvocationTaskSetOutput

func (GetInvocationTaskInvocationTaskSetOutput) UpdatedTime

Update time.

type GetInvocationTaskInvocationTaskSetTaskResult

type GetInvocationTaskInvocationTaskSetTaskResult struct {
	// Dropped bytes of the command output.
	Dropped int `pulumi:"dropped"`
	// Time when the execution is ended.
	ExecEndTime string `pulumi:"execEndTime"`
	// Time when the execution is started.
	ExecStartTime string `pulumi:"execStartTime"`
	// ExitCode of the execution.
	ExitCode int `pulumi:"exitCode"`
	// Base64-encoded command output. The maximum length is 24 KB.
	Output string `pulumi:"output"`
	// Error message for uploading logs to COS.
	OutputUploadCosErrorInfo string `pulumi:"outputUploadCosErrorInfo"`
	// COS URL of the logs.
	OutputUrl string `pulumi:"outputUrl"`
}

type GetInvocationTaskInvocationTaskSetTaskResultArgs

type GetInvocationTaskInvocationTaskSetTaskResultArgs struct {
	// Dropped bytes of the command output.
	Dropped pulumi.IntInput `pulumi:"dropped"`
	// Time when the execution is ended.
	ExecEndTime pulumi.StringInput `pulumi:"execEndTime"`
	// Time when the execution is started.
	ExecStartTime pulumi.StringInput `pulumi:"execStartTime"`
	// ExitCode of the execution.
	ExitCode pulumi.IntInput `pulumi:"exitCode"`
	// Base64-encoded command output. The maximum length is 24 KB.
	Output pulumi.StringInput `pulumi:"output"`
	// Error message for uploading logs to COS.
	OutputUploadCosErrorInfo pulumi.StringInput `pulumi:"outputUploadCosErrorInfo"`
	// COS URL of the logs.
	OutputUrl pulumi.StringInput `pulumi:"outputUrl"`
}

func (GetInvocationTaskInvocationTaskSetTaskResultArgs) ElementType

func (GetInvocationTaskInvocationTaskSetTaskResultArgs) ToGetInvocationTaskInvocationTaskSetTaskResultOutput

func (i GetInvocationTaskInvocationTaskSetTaskResultArgs) ToGetInvocationTaskInvocationTaskSetTaskResultOutput() GetInvocationTaskInvocationTaskSetTaskResultOutput

func (GetInvocationTaskInvocationTaskSetTaskResultArgs) ToGetInvocationTaskInvocationTaskSetTaskResultOutputWithContext

func (i GetInvocationTaskInvocationTaskSetTaskResultArgs) ToGetInvocationTaskInvocationTaskSetTaskResultOutputWithContext(ctx context.Context) GetInvocationTaskInvocationTaskSetTaskResultOutput

type GetInvocationTaskInvocationTaskSetTaskResultArray

type GetInvocationTaskInvocationTaskSetTaskResultArray []GetInvocationTaskInvocationTaskSetTaskResultInput

func (GetInvocationTaskInvocationTaskSetTaskResultArray) ElementType

func (GetInvocationTaskInvocationTaskSetTaskResultArray) ToGetInvocationTaskInvocationTaskSetTaskResultArrayOutput

func (i GetInvocationTaskInvocationTaskSetTaskResultArray) ToGetInvocationTaskInvocationTaskSetTaskResultArrayOutput() GetInvocationTaskInvocationTaskSetTaskResultArrayOutput

func (GetInvocationTaskInvocationTaskSetTaskResultArray) ToGetInvocationTaskInvocationTaskSetTaskResultArrayOutputWithContext

func (i GetInvocationTaskInvocationTaskSetTaskResultArray) ToGetInvocationTaskInvocationTaskSetTaskResultArrayOutputWithContext(ctx context.Context) GetInvocationTaskInvocationTaskSetTaskResultArrayOutput

type GetInvocationTaskInvocationTaskSetTaskResultArrayInput

type GetInvocationTaskInvocationTaskSetTaskResultArrayInput interface {
	pulumi.Input

	ToGetInvocationTaskInvocationTaskSetTaskResultArrayOutput() GetInvocationTaskInvocationTaskSetTaskResultArrayOutput
	ToGetInvocationTaskInvocationTaskSetTaskResultArrayOutputWithContext(context.Context) GetInvocationTaskInvocationTaskSetTaskResultArrayOutput
}

GetInvocationTaskInvocationTaskSetTaskResultArrayInput is an input type that accepts GetInvocationTaskInvocationTaskSetTaskResultArray and GetInvocationTaskInvocationTaskSetTaskResultArrayOutput values. You can construct a concrete instance of `GetInvocationTaskInvocationTaskSetTaskResultArrayInput` via:

GetInvocationTaskInvocationTaskSetTaskResultArray{ GetInvocationTaskInvocationTaskSetTaskResultArgs{...} }

type GetInvocationTaskInvocationTaskSetTaskResultArrayOutput

type GetInvocationTaskInvocationTaskSetTaskResultArrayOutput struct{ *pulumi.OutputState }

func (GetInvocationTaskInvocationTaskSetTaskResultArrayOutput) ElementType

func (GetInvocationTaskInvocationTaskSetTaskResultArrayOutput) Index

func (GetInvocationTaskInvocationTaskSetTaskResultArrayOutput) ToGetInvocationTaskInvocationTaskSetTaskResultArrayOutput

func (GetInvocationTaskInvocationTaskSetTaskResultArrayOutput) ToGetInvocationTaskInvocationTaskSetTaskResultArrayOutputWithContext

func (o GetInvocationTaskInvocationTaskSetTaskResultArrayOutput) ToGetInvocationTaskInvocationTaskSetTaskResultArrayOutputWithContext(ctx context.Context) GetInvocationTaskInvocationTaskSetTaskResultArrayOutput

type GetInvocationTaskInvocationTaskSetTaskResultInput

type GetInvocationTaskInvocationTaskSetTaskResultInput interface {
	pulumi.Input

	ToGetInvocationTaskInvocationTaskSetTaskResultOutput() GetInvocationTaskInvocationTaskSetTaskResultOutput
	ToGetInvocationTaskInvocationTaskSetTaskResultOutputWithContext(context.Context) GetInvocationTaskInvocationTaskSetTaskResultOutput
}

GetInvocationTaskInvocationTaskSetTaskResultInput is an input type that accepts GetInvocationTaskInvocationTaskSetTaskResultArgs and GetInvocationTaskInvocationTaskSetTaskResultOutput values. You can construct a concrete instance of `GetInvocationTaskInvocationTaskSetTaskResultInput` via:

GetInvocationTaskInvocationTaskSetTaskResultArgs{...}

type GetInvocationTaskInvocationTaskSetTaskResultOutput

type GetInvocationTaskInvocationTaskSetTaskResultOutput struct{ *pulumi.OutputState }

func (GetInvocationTaskInvocationTaskSetTaskResultOutput) Dropped

Dropped bytes of the command output.

func (GetInvocationTaskInvocationTaskSetTaskResultOutput) ElementType

func (GetInvocationTaskInvocationTaskSetTaskResultOutput) ExecEndTime

Time when the execution is ended.

func (GetInvocationTaskInvocationTaskSetTaskResultOutput) ExecStartTime

Time when the execution is started.

func (GetInvocationTaskInvocationTaskSetTaskResultOutput) ExitCode

ExitCode of the execution.

func (GetInvocationTaskInvocationTaskSetTaskResultOutput) Output

Base64-encoded command output. The maximum length is 24 KB.

func (GetInvocationTaskInvocationTaskSetTaskResultOutput) OutputUploadCosErrorInfo

Error message for uploading logs to COS.

func (GetInvocationTaskInvocationTaskSetTaskResultOutput) OutputUrl

COS URL of the logs.

func (GetInvocationTaskInvocationTaskSetTaskResultOutput) ToGetInvocationTaskInvocationTaskSetTaskResultOutput

func (o GetInvocationTaskInvocationTaskSetTaskResultOutput) ToGetInvocationTaskInvocationTaskSetTaskResultOutput() GetInvocationTaskInvocationTaskSetTaskResultOutput

func (GetInvocationTaskInvocationTaskSetTaskResultOutput) ToGetInvocationTaskInvocationTaskSetTaskResultOutputWithContext

func (o GetInvocationTaskInvocationTaskSetTaskResultOutput) ToGetInvocationTaskInvocationTaskSetTaskResultOutputWithContext(ctx context.Context) GetInvocationTaskInvocationTaskSetTaskResultOutput

type GetInvocationTaskOutputArgs

type GetInvocationTaskOutputArgs struct {
	// Filter conditions.invocation-id - String - Required: No - (Filter condition) Filter by the execution activity ID.invocation-task-id - String - Required: No - (Filter condition) Filter by the execution task ID.instance-id - String - Required: No - (Filter condition) Filter by the instance ID.command-id - String - Required: No - (Filter condition) Filter by the command ID.Up to 10 Filters are allowed for each request. Each filter can have up to five Filter.Values. InvocationTaskIds and Filters cannot be specified at the same time.
	Filters GetInvocationTaskFilterArrayInput `pulumi:"filters"`
	// Whether to hide the output. Valid values:True (default): Hide the outputFalse: Show the output.
	HideOutput pulumi.BoolPtrInput `pulumi:"hideOutput"`
	// List of execution task IDs. Up to 100 IDs are allowed for each request. InvocationTaskIds and Filters cannot be specified at the same time.
	InvocationTaskIds pulumi.StringArrayInput `pulumi:"invocationTaskIds"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getInvocationTask.

func (GetInvocationTaskOutputArgs) ElementType

type GetInvocationTaskResult

type GetInvocationTaskResult struct {
	Filters    []GetInvocationTaskFilter `pulumi:"filters"`
	HideOutput *bool                     `pulumi:"hideOutput"`
	// The provider-assigned unique ID for this managed resource.
	Id                string   `pulumi:"id"`
	InvocationTaskIds []string `pulumi:"invocationTaskIds"`
	// List of execution tasks.
	InvocationTaskSets []GetInvocationTaskInvocationTaskSet `pulumi:"invocationTaskSets"`
	ResultOutputFile   *string                              `pulumi:"resultOutputFile"`
}

A collection of values returned by getInvocationTask.

func GetInvocationTask

func GetInvocationTask(ctx *pulumi.Context, args *GetInvocationTaskArgs, opts ...pulumi.InvokeOption) (*GetInvocationTaskResult, error)

Use this data source to query detailed information of tat invocationTask

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Tat.GetInvocationTask(ctx, &tat.GetInvocationTaskArgs{
			Filters: []tat.GetInvocationTaskFilter{
				tat.GetInvocationTaskFilter{
					Name: "instance-id",
					Values: []string{
						"ins-p4pq4gaq",
					},
				},
			},
			HideOutput: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetInvocationTaskResultOutput

type GetInvocationTaskResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInvocationTask.

func (GetInvocationTaskResultOutput) ElementType

func (GetInvocationTaskResultOutput) Filters

func (GetInvocationTaskResultOutput) HideOutput

func (GetInvocationTaskResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetInvocationTaskResultOutput) InvocationTaskIds

func (GetInvocationTaskResultOutput) InvocationTaskSets

List of execution tasks.

func (GetInvocationTaskResultOutput) ResultOutputFile

func (GetInvocationTaskResultOutput) ToGetInvocationTaskResultOutput

func (o GetInvocationTaskResultOutput) ToGetInvocationTaskResultOutput() GetInvocationTaskResultOutput

func (GetInvocationTaskResultOutput) ToGetInvocationTaskResultOutputWithContext

func (o GetInvocationTaskResultOutput) ToGetInvocationTaskResultOutputWithContext(ctx context.Context) GetInvocationTaskResultOutput

type GetInvokerInvokerSet

type GetInvokerInvokerSet struct {
	// Command ID.
	CommandId string `pulumi:"commandId"`
	// Creation time.
	CreatedTime string `pulumi:"createdTime"`
	// Whether to enable the invoker.
	Enable bool `pulumi:"enable"`
	// Instance ID list.
	InstanceIds []string `pulumi:"instanceIds"`
	// Invoker ID.
	InvokerId string `pulumi:"invokerId"`
	// Invoker name.
	Name string `pulumi:"name"`
	// Custom parameters.
	Parameters string `pulumi:"parameters"`
	// Execution schedule of the invoker. This field is returned for recurring invokers.
	ScheduleSettings []GetInvokerInvokerSetScheduleSetting `pulumi:"scheduleSettings"`
	// Invoker type.
	Type string `pulumi:"type"`
	// Modification time.
	UpdatedTime string `pulumi:"updatedTime"`
	// Username.
	Username string `pulumi:"username"`
}

type GetInvokerInvokerSetArgs

type GetInvokerInvokerSetArgs struct {
	// Command ID.
	CommandId pulumi.StringInput `pulumi:"commandId"`
	// Creation time.
	CreatedTime pulumi.StringInput `pulumi:"createdTime"`
	// Whether to enable the invoker.
	Enable pulumi.BoolInput `pulumi:"enable"`
	// Instance ID list.
	InstanceIds pulumi.StringArrayInput `pulumi:"instanceIds"`
	// Invoker ID.
	InvokerId pulumi.StringInput `pulumi:"invokerId"`
	// Invoker name.
	Name pulumi.StringInput `pulumi:"name"`
	// Custom parameters.
	Parameters pulumi.StringInput `pulumi:"parameters"`
	// Execution schedule of the invoker. This field is returned for recurring invokers.
	ScheduleSettings GetInvokerInvokerSetScheduleSettingArrayInput `pulumi:"scheduleSettings"`
	// Invoker type.
	Type pulumi.StringInput `pulumi:"type"`
	// Modification time.
	UpdatedTime pulumi.StringInput `pulumi:"updatedTime"`
	// Username.
	Username pulumi.StringInput `pulumi:"username"`
}

func (GetInvokerInvokerSetArgs) ElementType

func (GetInvokerInvokerSetArgs) ElementType() reflect.Type

func (GetInvokerInvokerSetArgs) ToGetInvokerInvokerSetOutput

func (i GetInvokerInvokerSetArgs) ToGetInvokerInvokerSetOutput() GetInvokerInvokerSetOutput

func (GetInvokerInvokerSetArgs) ToGetInvokerInvokerSetOutputWithContext

func (i GetInvokerInvokerSetArgs) ToGetInvokerInvokerSetOutputWithContext(ctx context.Context) GetInvokerInvokerSetOutput

type GetInvokerInvokerSetArray

type GetInvokerInvokerSetArray []GetInvokerInvokerSetInput

func (GetInvokerInvokerSetArray) ElementType

func (GetInvokerInvokerSetArray) ElementType() reflect.Type

func (GetInvokerInvokerSetArray) ToGetInvokerInvokerSetArrayOutput

func (i GetInvokerInvokerSetArray) ToGetInvokerInvokerSetArrayOutput() GetInvokerInvokerSetArrayOutput

func (GetInvokerInvokerSetArray) ToGetInvokerInvokerSetArrayOutputWithContext

func (i GetInvokerInvokerSetArray) ToGetInvokerInvokerSetArrayOutputWithContext(ctx context.Context) GetInvokerInvokerSetArrayOutput

type GetInvokerInvokerSetArrayInput

type GetInvokerInvokerSetArrayInput interface {
	pulumi.Input

	ToGetInvokerInvokerSetArrayOutput() GetInvokerInvokerSetArrayOutput
	ToGetInvokerInvokerSetArrayOutputWithContext(context.Context) GetInvokerInvokerSetArrayOutput
}

GetInvokerInvokerSetArrayInput is an input type that accepts GetInvokerInvokerSetArray and GetInvokerInvokerSetArrayOutput values. You can construct a concrete instance of `GetInvokerInvokerSetArrayInput` via:

GetInvokerInvokerSetArray{ GetInvokerInvokerSetArgs{...} }

type GetInvokerInvokerSetArrayOutput

type GetInvokerInvokerSetArrayOutput struct{ *pulumi.OutputState }

func (GetInvokerInvokerSetArrayOutput) ElementType

func (GetInvokerInvokerSetArrayOutput) Index

func (GetInvokerInvokerSetArrayOutput) ToGetInvokerInvokerSetArrayOutput

func (o GetInvokerInvokerSetArrayOutput) ToGetInvokerInvokerSetArrayOutput() GetInvokerInvokerSetArrayOutput

func (GetInvokerInvokerSetArrayOutput) ToGetInvokerInvokerSetArrayOutputWithContext

func (o GetInvokerInvokerSetArrayOutput) ToGetInvokerInvokerSetArrayOutputWithContext(ctx context.Context) GetInvokerInvokerSetArrayOutput

type GetInvokerInvokerSetInput

type GetInvokerInvokerSetInput interface {
	pulumi.Input

	ToGetInvokerInvokerSetOutput() GetInvokerInvokerSetOutput
	ToGetInvokerInvokerSetOutputWithContext(context.Context) GetInvokerInvokerSetOutput
}

GetInvokerInvokerSetInput is an input type that accepts GetInvokerInvokerSetArgs and GetInvokerInvokerSetOutput values. You can construct a concrete instance of `GetInvokerInvokerSetInput` via:

GetInvokerInvokerSetArgs{...}

type GetInvokerInvokerSetOutput

type GetInvokerInvokerSetOutput struct{ *pulumi.OutputState }

func (GetInvokerInvokerSetOutput) CommandId

Command ID.

func (GetInvokerInvokerSetOutput) CreatedTime

Creation time.

func (GetInvokerInvokerSetOutput) ElementType

func (GetInvokerInvokerSetOutput) ElementType() reflect.Type

func (GetInvokerInvokerSetOutput) Enable

Whether to enable the invoker.

func (GetInvokerInvokerSetOutput) InstanceIds

Instance ID list.

func (GetInvokerInvokerSetOutput) InvokerId

Invoker ID.

func (GetInvokerInvokerSetOutput) Name

Invoker name.

func (GetInvokerInvokerSetOutput) Parameters

Custom parameters.

func (GetInvokerInvokerSetOutput) ScheduleSettings

Execution schedule of the invoker. This field is returned for recurring invokers.

func (GetInvokerInvokerSetOutput) ToGetInvokerInvokerSetOutput

func (o GetInvokerInvokerSetOutput) ToGetInvokerInvokerSetOutput() GetInvokerInvokerSetOutput

func (GetInvokerInvokerSetOutput) ToGetInvokerInvokerSetOutputWithContext

func (o GetInvokerInvokerSetOutput) ToGetInvokerInvokerSetOutputWithContext(ctx context.Context) GetInvokerInvokerSetOutput

func (GetInvokerInvokerSetOutput) Type

Invoker type.

func (GetInvokerInvokerSetOutput) UpdatedTime

Modification time.

func (GetInvokerInvokerSetOutput) Username

Username.

type GetInvokerInvokerSetScheduleSetting

type GetInvokerInvokerSetScheduleSetting struct {
	// The next execution time of the invoker. This field is required if Policy is ONCE.
	InvokeTime string `pulumi:"invokeTime"`
	// Execution policy: `ONCE`: Execute once; `RECURRENCE`: Execute repeatedly.
	Policy string `pulumi:"policy"`
	// Trigger the crontab expression. This field is required if `Policy` is `RECURRENCE`. The crontab expression is parsed in UTC+8.
	Recurrence string `pulumi:"recurrence"`
}

type GetInvokerInvokerSetScheduleSettingArgs

type GetInvokerInvokerSetScheduleSettingArgs struct {
	// The next execution time of the invoker. This field is required if Policy is ONCE.
	InvokeTime pulumi.StringInput `pulumi:"invokeTime"`
	// Execution policy: `ONCE`: Execute once; `RECURRENCE`: Execute repeatedly.
	Policy pulumi.StringInput `pulumi:"policy"`
	// Trigger the crontab expression. This field is required if `Policy` is `RECURRENCE`. The crontab expression is parsed in UTC+8.
	Recurrence pulumi.StringInput `pulumi:"recurrence"`
}

func (GetInvokerInvokerSetScheduleSettingArgs) ElementType

func (GetInvokerInvokerSetScheduleSettingArgs) ToGetInvokerInvokerSetScheduleSettingOutput

func (i GetInvokerInvokerSetScheduleSettingArgs) ToGetInvokerInvokerSetScheduleSettingOutput() GetInvokerInvokerSetScheduleSettingOutput

func (GetInvokerInvokerSetScheduleSettingArgs) ToGetInvokerInvokerSetScheduleSettingOutputWithContext

func (i GetInvokerInvokerSetScheduleSettingArgs) ToGetInvokerInvokerSetScheduleSettingOutputWithContext(ctx context.Context) GetInvokerInvokerSetScheduleSettingOutput

type GetInvokerInvokerSetScheduleSettingArray

type GetInvokerInvokerSetScheduleSettingArray []GetInvokerInvokerSetScheduleSettingInput

func (GetInvokerInvokerSetScheduleSettingArray) ElementType

func (GetInvokerInvokerSetScheduleSettingArray) ToGetInvokerInvokerSetScheduleSettingArrayOutput

func (i GetInvokerInvokerSetScheduleSettingArray) ToGetInvokerInvokerSetScheduleSettingArrayOutput() GetInvokerInvokerSetScheduleSettingArrayOutput

func (GetInvokerInvokerSetScheduleSettingArray) ToGetInvokerInvokerSetScheduleSettingArrayOutputWithContext

func (i GetInvokerInvokerSetScheduleSettingArray) ToGetInvokerInvokerSetScheduleSettingArrayOutputWithContext(ctx context.Context) GetInvokerInvokerSetScheduleSettingArrayOutput

type GetInvokerInvokerSetScheduleSettingArrayInput

type GetInvokerInvokerSetScheduleSettingArrayInput interface {
	pulumi.Input

	ToGetInvokerInvokerSetScheduleSettingArrayOutput() GetInvokerInvokerSetScheduleSettingArrayOutput
	ToGetInvokerInvokerSetScheduleSettingArrayOutputWithContext(context.Context) GetInvokerInvokerSetScheduleSettingArrayOutput
}

GetInvokerInvokerSetScheduleSettingArrayInput is an input type that accepts GetInvokerInvokerSetScheduleSettingArray and GetInvokerInvokerSetScheduleSettingArrayOutput values. You can construct a concrete instance of `GetInvokerInvokerSetScheduleSettingArrayInput` via:

GetInvokerInvokerSetScheduleSettingArray{ GetInvokerInvokerSetScheduleSettingArgs{...} }

type GetInvokerInvokerSetScheduleSettingArrayOutput

type GetInvokerInvokerSetScheduleSettingArrayOutput struct{ *pulumi.OutputState }

func (GetInvokerInvokerSetScheduleSettingArrayOutput) ElementType

func (GetInvokerInvokerSetScheduleSettingArrayOutput) Index

func (GetInvokerInvokerSetScheduleSettingArrayOutput) ToGetInvokerInvokerSetScheduleSettingArrayOutput

func (o GetInvokerInvokerSetScheduleSettingArrayOutput) ToGetInvokerInvokerSetScheduleSettingArrayOutput() GetInvokerInvokerSetScheduleSettingArrayOutput

func (GetInvokerInvokerSetScheduleSettingArrayOutput) ToGetInvokerInvokerSetScheduleSettingArrayOutputWithContext

func (o GetInvokerInvokerSetScheduleSettingArrayOutput) ToGetInvokerInvokerSetScheduleSettingArrayOutputWithContext(ctx context.Context) GetInvokerInvokerSetScheduleSettingArrayOutput

type GetInvokerInvokerSetScheduleSettingInput

type GetInvokerInvokerSetScheduleSettingInput interface {
	pulumi.Input

	ToGetInvokerInvokerSetScheduleSettingOutput() GetInvokerInvokerSetScheduleSettingOutput
	ToGetInvokerInvokerSetScheduleSettingOutputWithContext(context.Context) GetInvokerInvokerSetScheduleSettingOutput
}

GetInvokerInvokerSetScheduleSettingInput is an input type that accepts GetInvokerInvokerSetScheduleSettingArgs and GetInvokerInvokerSetScheduleSettingOutput values. You can construct a concrete instance of `GetInvokerInvokerSetScheduleSettingInput` via:

GetInvokerInvokerSetScheduleSettingArgs{...}

type GetInvokerInvokerSetScheduleSettingOutput

type GetInvokerInvokerSetScheduleSettingOutput struct{ *pulumi.OutputState }

func (GetInvokerInvokerSetScheduleSettingOutput) ElementType

func (GetInvokerInvokerSetScheduleSettingOutput) InvokeTime

The next execution time of the invoker. This field is required if Policy is ONCE.

func (GetInvokerInvokerSetScheduleSettingOutput) Policy

Execution policy: `ONCE`: Execute once; `RECURRENCE`: Execute repeatedly.

func (GetInvokerInvokerSetScheduleSettingOutput) Recurrence

Trigger the crontab expression. This field is required if `Policy` is `RECURRENCE`. The crontab expression is parsed in UTC+8.

func (GetInvokerInvokerSetScheduleSettingOutput) ToGetInvokerInvokerSetScheduleSettingOutput

func (o GetInvokerInvokerSetScheduleSettingOutput) ToGetInvokerInvokerSetScheduleSettingOutput() GetInvokerInvokerSetScheduleSettingOutput

func (GetInvokerInvokerSetScheduleSettingOutput) ToGetInvokerInvokerSetScheduleSettingOutputWithContext

func (o GetInvokerInvokerSetScheduleSettingOutput) ToGetInvokerInvokerSetScheduleSettingOutputWithContext(ctx context.Context) GetInvokerInvokerSetScheduleSettingOutput

type GetInvokerRecordsArgs

type GetInvokerRecordsArgs struct {
	// List of invoker IDs. Up to 100 IDs are allowed.
	InvokerIds []string `pulumi:"invokerIds"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getInvokerRecords.

type GetInvokerRecordsInvokerRecordSet

type GetInvokerRecordsInvokerRecordSet struct {
	// Command execution ID.
	InvocationId string `pulumi:"invocationId"`
	// Execution time.
	InvokeTime string `pulumi:"invokeTime"`
	// Invoker ID.
	InvokerId string `pulumi:"invokerId"`
	// Execution reason.
	Reason string `pulumi:"reason"`
	// Trigger result.
	Result string `pulumi:"result"`
}

type GetInvokerRecordsInvokerRecordSetArgs

type GetInvokerRecordsInvokerRecordSetArgs struct {
	// Command execution ID.
	InvocationId pulumi.StringInput `pulumi:"invocationId"`
	// Execution time.
	InvokeTime pulumi.StringInput `pulumi:"invokeTime"`
	// Invoker ID.
	InvokerId pulumi.StringInput `pulumi:"invokerId"`
	// Execution reason.
	Reason pulumi.StringInput `pulumi:"reason"`
	// Trigger result.
	Result pulumi.StringInput `pulumi:"result"`
}

func (GetInvokerRecordsInvokerRecordSetArgs) ElementType

func (GetInvokerRecordsInvokerRecordSetArgs) ToGetInvokerRecordsInvokerRecordSetOutput

func (i GetInvokerRecordsInvokerRecordSetArgs) ToGetInvokerRecordsInvokerRecordSetOutput() GetInvokerRecordsInvokerRecordSetOutput

func (GetInvokerRecordsInvokerRecordSetArgs) ToGetInvokerRecordsInvokerRecordSetOutputWithContext

func (i GetInvokerRecordsInvokerRecordSetArgs) ToGetInvokerRecordsInvokerRecordSetOutputWithContext(ctx context.Context) GetInvokerRecordsInvokerRecordSetOutput

type GetInvokerRecordsInvokerRecordSetArray

type GetInvokerRecordsInvokerRecordSetArray []GetInvokerRecordsInvokerRecordSetInput

func (GetInvokerRecordsInvokerRecordSetArray) ElementType

func (GetInvokerRecordsInvokerRecordSetArray) ToGetInvokerRecordsInvokerRecordSetArrayOutput

func (i GetInvokerRecordsInvokerRecordSetArray) ToGetInvokerRecordsInvokerRecordSetArrayOutput() GetInvokerRecordsInvokerRecordSetArrayOutput

func (GetInvokerRecordsInvokerRecordSetArray) ToGetInvokerRecordsInvokerRecordSetArrayOutputWithContext

func (i GetInvokerRecordsInvokerRecordSetArray) ToGetInvokerRecordsInvokerRecordSetArrayOutputWithContext(ctx context.Context) GetInvokerRecordsInvokerRecordSetArrayOutput

type GetInvokerRecordsInvokerRecordSetArrayInput

type GetInvokerRecordsInvokerRecordSetArrayInput interface {
	pulumi.Input

	ToGetInvokerRecordsInvokerRecordSetArrayOutput() GetInvokerRecordsInvokerRecordSetArrayOutput
	ToGetInvokerRecordsInvokerRecordSetArrayOutputWithContext(context.Context) GetInvokerRecordsInvokerRecordSetArrayOutput
}

GetInvokerRecordsInvokerRecordSetArrayInput is an input type that accepts GetInvokerRecordsInvokerRecordSetArray and GetInvokerRecordsInvokerRecordSetArrayOutput values. You can construct a concrete instance of `GetInvokerRecordsInvokerRecordSetArrayInput` via:

GetInvokerRecordsInvokerRecordSetArray{ GetInvokerRecordsInvokerRecordSetArgs{...} }

type GetInvokerRecordsInvokerRecordSetArrayOutput

type GetInvokerRecordsInvokerRecordSetArrayOutput struct{ *pulumi.OutputState }

func (GetInvokerRecordsInvokerRecordSetArrayOutput) ElementType

func (GetInvokerRecordsInvokerRecordSetArrayOutput) Index

func (GetInvokerRecordsInvokerRecordSetArrayOutput) ToGetInvokerRecordsInvokerRecordSetArrayOutput

func (o GetInvokerRecordsInvokerRecordSetArrayOutput) ToGetInvokerRecordsInvokerRecordSetArrayOutput() GetInvokerRecordsInvokerRecordSetArrayOutput

func (GetInvokerRecordsInvokerRecordSetArrayOutput) ToGetInvokerRecordsInvokerRecordSetArrayOutputWithContext

func (o GetInvokerRecordsInvokerRecordSetArrayOutput) ToGetInvokerRecordsInvokerRecordSetArrayOutputWithContext(ctx context.Context) GetInvokerRecordsInvokerRecordSetArrayOutput

type GetInvokerRecordsInvokerRecordSetInput

type GetInvokerRecordsInvokerRecordSetInput interface {
	pulumi.Input

	ToGetInvokerRecordsInvokerRecordSetOutput() GetInvokerRecordsInvokerRecordSetOutput
	ToGetInvokerRecordsInvokerRecordSetOutputWithContext(context.Context) GetInvokerRecordsInvokerRecordSetOutput
}

GetInvokerRecordsInvokerRecordSetInput is an input type that accepts GetInvokerRecordsInvokerRecordSetArgs and GetInvokerRecordsInvokerRecordSetOutput values. You can construct a concrete instance of `GetInvokerRecordsInvokerRecordSetInput` via:

GetInvokerRecordsInvokerRecordSetArgs{...}

type GetInvokerRecordsInvokerRecordSetOutput

type GetInvokerRecordsInvokerRecordSetOutput struct{ *pulumi.OutputState }

func (GetInvokerRecordsInvokerRecordSetOutput) ElementType

func (GetInvokerRecordsInvokerRecordSetOutput) InvocationId

Command execution ID.

func (GetInvokerRecordsInvokerRecordSetOutput) InvokeTime

Execution time.

func (GetInvokerRecordsInvokerRecordSetOutput) InvokerId

Invoker ID.

func (GetInvokerRecordsInvokerRecordSetOutput) Reason

Execution reason.

func (GetInvokerRecordsInvokerRecordSetOutput) Result

Trigger result.

func (GetInvokerRecordsInvokerRecordSetOutput) ToGetInvokerRecordsInvokerRecordSetOutput

func (o GetInvokerRecordsInvokerRecordSetOutput) ToGetInvokerRecordsInvokerRecordSetOutput() GetInvokerRecordsInvokerRecordSetOutput

func (GetInvokerRecordsInvokerRecordSetOutput) ToGetInvokerRecordsInvokerRecordSetOutputWithContext

func (o GetInvokerRecordsInvokerRecordSetOutput) ToGetInvokerRecordsInvokerRecordSetOutputWithContext(ctx context.Context) GetInvokerRecordsInvokerRecordSetOutput

type GetInvokerRecordsOutputArgs

type GetInvokerRecordsOutputArgs struct {
	// List of invoker IDs. Up to 100 IDs are allowed.
	InvokerIds pulumi.StringArrayInput `pulumi:"invokerIds"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getInvokerRecords.

func (GetInvokerRecordsOutputArgs) ElementType

type GetInvokerRecordsResult

type GetInvokerRecordsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	InvokerIds []string `pulumi:"invokerIds"`
	// Execution history of an invoker.
	InvokerRecordSets []GetInvokerRecordsInvokerRecordSet `pulumi:"invokerRecordSets"`
	ResultOutputFile  *string                             `pulumi:"resultOutputFile"`
}

A collection of values returned by getInvokerRecords.

func GetInvokerRecords

func GetInvokerRecords(ctx *pulumi.Context, args *GetInvokerRecordsArgs, opts ...pulumi.InvokeOption) (*GetInvokerRecordsResult, error)

Use this data source to query detailed information of tat invokerRecords

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Tat.GetInvokerRecords(ctx, &tat.GetInvokerRecordsArgs{
			InvokerIds: []string{
				"ivk-cas4upyf",
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetInvokerRecordsResultOutput

type GetInvokerRecordsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInvokerRecords.

func (GetInvokerRecordsResultOutput) ElementType

func (GetInvokerRecordsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetInvokerRecordsResultOutput) InvokerIds

func (GetInvokerRecordsResultOutput) InvokerRecordSets

Execution history of an invoker.

func (GetInvokerRecordsResultOutput) ResultOutputFile

func (GetInvokerRecordsResultOutput) ToGetInvokerRecordsResultOutput

func (o GetInvokerRecordsResultOutput) ToGetInvokerRecordsResultOutput() GetInvokerRecordsResultOutput

func (GetInvokerRecordsResultOutput) ToGetInvokerRecordsResultOutputWithContext

func (o GetInvokerRecordsResultOutput) ToGetInvokerRecordsResultOutputWithContext(ctx context.Context) GetInvokerRecordsResultOutput

type InvocationCommandAttachment

type InvocationCommandAttachment struct {
	pulumi.CustomResourceState

	// Command ID.
	CommandId pulumi.StringOutput `pulumi:"commandId"`
	// Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
	CommandName pulumi.StringPtrOutput `pulumi:"commandName"`
	// Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
	CommandType pulumi.StringPtrOutput `pulumi:"commandType"`
	// Base64-encoded command. The maximum length is 64 KB.
	Content pulumi.StringOutput `pulumi:"content"`
	// The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
	DefaultParameters pulumi.StringPtrOutput `pulumi:"defaultParameters"`
	// Command description. The maximum length is 120 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
	EnableParameter pulumi.BoolPtrOutput `pulumi:"enableParameter"`
	// ID of instances about to execute commands. Supported instance types:  CVM  LIGHTHOUSE.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
	OutputCosBucketUrl pulumi.StringPtrOutput `pulumi:"outputCosBucketUrl"`
	// The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
	OutputCosKeyPrefix pulumi.StringPtrOutput `pulumi:"outputCosKeyPrefix"`
	// Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
	Parameters pulumi.StringPtrOutput `pulumi:"parameters"`
	// Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
	SaveCommand pulumi.BoolPtrOutput `pulumi:"saveCommand"`
	// Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
	Timeout pulumi.IntPtrOutput `pulumi:"timeout"`
	// The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
	Username pulumi.StringPtrOutput `pulumi:"username"`
	// Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
	WorkingDirectory pulumi.StringPtrOutput `pulumi:"workingDirectory"`
}

Provides a resource to create a tat invocationCommandAttachment

func GetInvocationCommandAttachment

func GetInvocationCommandAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InvocationCommandAttachmentState, opts ...pulumi.ResourceOption) (*InvocationCommandAttachment, error)

GetInvocationCommandAttachment gets an existing InvocationCommandAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInvocationCommandAttachment

func NewInvocationCommandAttachment(ctx *pulumi.Context,
	name string, args *InvocationCommandAttachmentArgs, opts ...pulumi.ResourceOption) (*InvocationCommandAttachment, error)

NewInvocationCommandAttachment registers a new resource with the given unique name, arguments, and options.

func (*InvocationCommandAttachment) ElementType

func (*InvocationCommandAttachment) ElementType() reflect.Type

func (*InvocationCommandAttachment) ToInvocationCommandAttachmentOutput

func (i *InvocationCommandAttachment) ToInvocationCommandAttachmentOutput() InvocationCommandAttachmentOutput

func (*InvocationCommandAttachment) ToInvocationCommandAttachmentOutputWithContext

func (i *InvocationCommandAttachment) ToInvocationCommandAttachmentOutputWithContext(ctx context.Context) InvocationCommandAttachmentOutput

type InvocationCommandAttachmentArgs

type InvocationCommandAttachmentArgs struct {
	// Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
	CommandName pulumi.StringPtrInput
	// Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
	CommandType pulumi.StringPtrInput
	// Base64-encoded command. The maximum length is 64 KB.
	Content pulumi.StringInput
	// The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
	DefaultParameters pulumi.StringPtrInput
	// Command description. The maximum length is 120 characters.
	Description pulumi.StringPtrInput
	// Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
	EnableParameter pulumi.BoolPtrInput
	// ID of instances about to execute commands. Supported instance types:  CVM  LIGHTHOUSE.
	InstanceId pulumi.StringInput
	// The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
	OutputCosBucketUrl pulumi.StringPtrInput
	// The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
	OutputCosKeyPrefix pulumi.StringPtrInput
	// Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
	Parameters pulumi.StringPtrInput
	// Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
	SaveCommand pulumi.BoolPtrInput
	// Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
	Timeout pulumi.IntPtrInput
	// The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
	Username pulumi.StringPtrInput
	// Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
	WorkingDirectory pulumi.StringPtrInput
}

The set of arguments for constructing a InvocationCommandAttachment resource.

func (InvocationCommandAttachmentArgs) ElementType

type InvocationCommandAttachmentArray

type InvocationCommandAttachmentArray []InvocationCommandAttachmentInput

func (InvocationCommandAttachmentArray) ElementType

func (InvocationCommandAttachmentArray) ToInvocationCommandAttachmentArrayOutput

func (i InvocationCommandAttachmentArray) ToInvocationCommandAttachmentArrayOutput() InvocationCommandAttachmentArrayOutput

func (InvocationCommandAttachmentArray) ToInvocationCommandAttachmentArrayOutputWithContext

func (i InvocationCommandAttachmentArray) ToInvocationCommandAttachmentArrayOutputWithContext(ctx context.Context) InvocationCommandAttachmentArrayOutput

type InvocationCommandAttachmentArrayInput

type InvocationCommandAttachmentArrayInput interface {
	pulumi.Input

	ToInvocationCommandAttachmentArrayOutput() InvocationCommandAttachmentArrayOutput
	ToInvocationCommandAttachmentArrayOutputWithContext(context.Context) InvocationCommandAttachmentArrayOutput
}

InvocationCommandAttachmentArrayInput is an input type that accepts InvocationCommandAttachmentArray and InvocationCommandAttachmentArrayOutput values. You can construct a concrete instance of `InvocationCommandAttachmentArrayInput` via:

InvocationCommandAttachmentArray{ InvocationCommandAttachmentArgs{...} }

type InvocationCommandAttachmentArrayOutput

type InvocationCommandAttachmentArrayOutput struct{ *pulumi.OutputState }

func (InvocationCommandAttachmentArrayOutput) ElementType

func (InvocationCommandAttachmentArrayOutput) Index

func (InvocationCommandAttachmentArrayOutput) ToInvocationCommandAttachmentArrayOutput

func (o InvocationCommandAttachmentArrayOutput) ToInvocationCommandAttachmentArrayOutput() InvocationCommandAttachmentArrayOutput

func (InvocationCommandAttachmentArrayOutput) ToInvocationCommandAttachmentArrayOutputWithContext

func (o InvocationCommandAttachmentArrayOutput) ToInvocationCommandAttachmentArrayOutputWithContext(ctx context.Context) InvocationCommandAttachmentArrayOutput

type InvocationCommandAttachmentInput

type InvocationCommandAttachmentInput interface {
	pulumi.Input

	ToInvocationCommandAttachmentOutput() InvocationCommandAttachmentOutput
	ToInvocationCommandAttachmentOutputWithContext(ctx context.Context) InvocationCommandAttachmentOutput
}

type InvocationCommandAttachmentMap

type InvocationCommandAttachmentMap map[string]InvocationCommandAttachmentInput

func (InvocationCommandAttachmentMap) ElementType

func (InvocationCommandAttachmentMap) ToInvocationCommandAttachmentMapOutput

func (i InvocationCommandAttachmentMap) ToInvocationCommandAttachmentMapOutput() InvocationCommandAttachmentMapOutput

func (InvocationCommandAttachmentMap) ToInvocationCommandAttachmentMapOutputWithContext

func (i InvocationCommandAttachmentMap) ToInvocationCommandAttachmentMapOutputWithContext(ctx context.Context) InvocationCommandAttachmentMapOutput

type InvocationCommandAttachmentMapInput

type InvocationCommandAttachmentMapInput interface {
	pulumi.Input

	ToInvocationCommandAttachmentMapOutput() InvocationCommandAttachmentMapOutput
	ToInvocationCommandAttachmentMapOutputWithContext(context.Context) InvocationCommandAttachmentMapOutput
}

InvocationCommandAttachmentMapInput is an input type that accepts InvocationCommandAttachmentMap and InvocationCommandAttachmentMapOutput values. You can construct a concrete instance of `InvocationCommandAttachmentMapInput` via:

InvocationCommandAttachmentMap{ "key": InvocationCommandAttachmentArgs{...} }

type InvocationCommandAttachmentMapOutput

type InvocationCommandAttachmentMapOutput struct{ *pulumi.OutputState }

func (InvocationCommandAttachmentMapOutput) ElementType

func (InvocationCommandAttachmentMapOutput) MapIndex

func (InvocationCommandAttachmentMapOutput) ToInvocationCommandAttachmentMapOutput

func (o InvocationCommandAttachmentMapOutput) ToInvocationCommandAttachmentMapOutput() InvocationCommandAttachmentMapOutput

func (InvocationCommandAttachmentMapOutput) ToInvocationCommandAttachmentMapOutputWithContext

func (o InvocationCommandAttachmentMapOutput) ToInvocationCommandAttachmentMapOutputWithContext(ctx context.Context) InvocationCommandAttachmentMapOutput

type InvocationCommandAttachmentOutput

type InvocationCommandAttachmentOutput struct{ *pulumi.OutputState }

func (InvocationCommandAttachmentOutput) CommandId

Command ID.

func (InvocationCommandAttachmentOutput) CommandName

Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].

func (InvocationCommandAttachmentOutput) CommandType

Command type. SHELL and POWERSHELL are supported. The default value is SHELL.

func (InvocationCommandAttachmentOutput) Content

Base64-encoded command. The maximum length is 64 KB.

func (InvocationCommandAttachmentOutput) DefaultParameters

The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].

func (InvocationCommandAttachmentOutput) Description

Command description. The maximum length is 120 characters.

func (InvocationCommandAttachmentOutput) ElementType

func (InvocationCommandAttachmentOutput) EnableParameter

Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.

func (InvocationCommandAttachmentOutput) InstanceId

ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.

func (InvocationCommandAttachmentOutput) OutputCosBucketUrl

The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.

func (InvocationCommandAttachmentOutput) OutputCosKeyPrefix

The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.

func (InvocationCommandAttachmentOutput) Parameters

Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].

func (InvocationCommandAttachmentOutput) SaveCommand

Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.

func (InvocationCommandAttachmentOutput) Timeout

Command timeout period. Default value: 60 seconds. Value range: [1, 86400].

func (InvocationCommandAttachmentOutput) ToInvocationCommandAttachmentOutput

func (o InvocationCommandAttachmentOutput) ToInvocationCommandAttachmentOutput() InvocationCommandAttachmentOutput

func (InvocationCommandAttachmentOutput) ToInvocationCommandAttachmentOutputWithContext

func (o InvocationCommandAttachmentOutput) ToInvocationCommandAttachmentOutputWithContext(ctx context.Context) InvocationCommandAttachmentOutput

func (InvocationCommandAttachmentOutput) Username

The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.

func (InvocationCommandAttachmentOutput) WorkingDirectory

Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.

type InvocationCommandAttachmentState

type InvocationCommandAttachmentState struct {
	// Command ID.
	CommandId pulumi.StringPtrInput
	// Command name. The name can be up to 60 bytes, and contain [a-z], [A-Z], [0-9] and [_-.].
	CommandName pulumi.StringPtrInput
	// Command type. SHELL and POWERSHELL are supported. The default value is SHELL.
	CommandType pulumi.StringPtrInput
	// Base64-encoded command. The maximum length is 64 KB.
	Content pulumi.StringPtrInput
	// The default value of the custom parameter value when it is enabled. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If Parameters is not provided, the default values specified here are used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
	DefaultParameters pulumi.StringPtrInput
	// Command description. The maximum length is 120 characters.
	Description pulumi.StringPtrInput
	// Whether to enable the custom parameter feature.This cannot be modified once created.Default value: false.
	EnableParameter pulumi.BoolPtrInput
	// ID of instances about to execute commands. Supported instance types:  CVM  LIGHTHOUSE.
	InstanceId pulumi.StringPtrInput
	// The COS bucket URL for uploading logs; The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
	OutputCosBucketUrl pulumi.StringPtrInput
	// The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
	OutputCosKeyPrefix pulumi.StringPtrInput
	// Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
	Parameters pulumi.StringPtrInput
	// Whether to save the command. Valid values:rue: SaveFalse:Do not saveThe default value is False.
	SaveCommand pulumi.BoolPtrInput
	// Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
	Timeout pulumi.IntPtrInput
	// The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
	Username pulumi.StringPtrInput
	// Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
	WorkingDirectory pulumi.StringPtrInput
}

func (InvocationCommandAttachmentState) ElementType

type InvocationInvokeAttachment

type InvocationInvokeAttachment struct {
	pulumi.CustomResourceState

	// Command ID.
	CommandId pulumi.StringOutput `pulumi:"commandId"`
	// ID of instances about to execute commands. Supported instance types:  CVM  LIGHTHOUSE.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The COS bucket URL for uploading logs. The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
	OutputCosBucketUrl pulumi.StringPtrOutput `pulumi:"outputCosBucketUrl"`
	// The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
	OutputCosKeyPrefix pulumi.StringPtrOutput `pulumi:"outputCosKeyPrefix"`
	// Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
	Parameters pulumi.StringPtrOutput `pulumi:"parameters"`
	// Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
	Timeout pulumi.IntPtrOutput `pulumi:"timeout"`
	// The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
	Username pulumi.StringPtrOutput `pulumi:"username"`
	// Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
	WorkingDirectory pulumi.StringPtrOutput `pulumi:"workingDirectory"`
}

Provides a resource to create a tat invocationInvokeAttachment

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Tat.NewInvocationInvokeAttachment(ctx, "invocationInvokeAttachment", &Tat.InvocationInvokeAttachmentArgs{
			CommandId:          pulumi.String("cmd-rxbs7f5z"),
			InstanceId:         pulumi.String("ins-881b1c8w"),
			OutputCosBucketUrl: pulumi.String("https://BucketName-123454321.cos.ap-beijing.myqcloud.com"),
			OutputCosKeyPrefix: pulumi.String("log"),
			Timeout:            pulumi.Int(100),
			Username:           pulumi.String("root"),
			WorkingDirectory:   pulumi.String("/root"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

tat invocation can be imported using the invocation_id#instance_id, e.g.

```sh

$ pulumi import tencentcloud:Tat/invocationInvokeAttachment:InvocationInvokeAttachment invocation_invoke_attachment inv-mhs6ca8z#ins-881b1c8w

```

func GetInvocationInvokeAttachment

func GetInvocationInvokeAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InvocationInvokeAttachmentState, opts ...pulumi.ResourceOption) (*InvocationInvokeAttachment, error)

GetInvocationInvokeAttachment gets an existing InvocationInvokeAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInvocationInvokeAttachment

func NewInvocationInvokeAttachment(ctx *pulumi.Context,
	name string, args *InvocationInvokeAttachmentArgs, opts ...pulumi.ResourceOption) (*InvocationInvokeAttachment, error)

NewInvocationInvokeAttachment registers a new resource with the given unique name, arguments, and options.

func (*InvocationInvokeAttachment) ElementType

func (*InvocationInvokeAttachment) ElementType() reflect.Type

func (*InvocationInvokeAttachment) ToInvocationInvokeAttachmentOutput

func (i *InvocationInvokeAttachment) ToInvocationInvokeAttachmentOutput() InvocationInvokeAttachmentOutput

func (*InvocationInvokeAttachment) ToInvocationInvokeAttachmentOutputWithContext

func (i *InvocationInvokeAttachment) ToInvocationInvokeAttachmentOutputWithContext(ctx context.Context) InvocationInvokeAttachmentOutput

type InvocationInvokeAttachmentArgs

type InvocationInvokeAttachmentArgs struct {
	// Command ID.
	CommandId pulumi.StringInput
	// ID of instances about to execute commands. Supported instance types:  CVM  LIGHTHOUSE.
	InstanceId pulumi.StringInput
	// The COS bucket URL for uploading logs. The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
	OutputCosBucketUrl pulumi.StringPtrInput
	// The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
	OutputCosKeyPrefix pulumi.StringPtrInput
	// Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
	Parameters pulumi.StringPtrInput
	// Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
	Timeout pulumi.IntPtrInput
	// The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
	Username pulumi.StringPtrInput
	// Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
	WorkingDirectory pulumi.StringPtrInput
}

The set of arguments for constructing a InvocationInvokeAttachment resource.

func (InvocationInvokeAttachmentArgs) ElementType

type InvocationInvokeAttachmentArray

type InvocationInvokeAttachmentArray []InvocationInvokeAttachmentInput

func (InvocationInvokeAttachmentArray) ElementType

func (InvocationInvokeAttachmentArray) ToInvocationInvokeAttachmentArrayOutput

func (i InvocationInvokeAttachmentArray) ToInvocationInvokeAttachmentArrayOutput() InvocationInvokeAttachmentArrayOutput

func (InvocationInvokeAttachmentArray) ToInvocationInvokeAttachmentArrayOutputWithContext

func (i InvocationInvokeAttachmentArray) ToInvocationInvokeAttachmentArrayOutputWithContext(ctx context.Context) InvocationInvokeAttachmentArrayOutput

type InvocationInvokeAttachmentArrayInput

type InvocationInvokeAttachmentArrayInput interface {
	pulumi.Input

	ToInvocationInvokeAttachmentArrayOutput() InvocationInvokeAttachmentArrayOutput
	ToInvocationInvokeAttachmentArrayOutputWithContext(context.Context) InvocationInvokeAttachmentArrayOutput
}

InvocationInvokeAttachmentArrayInput is an input type that accepts InvocationInvokeAttachmentArray and InvocationInvokeAttachmentArrayOutput values. You can construct a concrete instance of `InvocationInvokeAttachmentArrayInput` via:

InvocationInvokeAttachmentArray{ InvocationInvokeAttachmentArgs{...} }

type InvocationInvokeAttachmentArrayOutput

type InvocationInvokeAttachmentArrayOutput struct{ *pulumi.OutputState }

func (InvocationInvokeAttachmentArrayOutput) ElementType

func (InvocationInvokeAttachmentArrayOutput) Index

func (InvocationInvokeAttachmentArrayOutput) ToInvocationInvokeAttachmentArrayOutput

func (o InvocationInvokeAttachmentArrayOutput) ToInvocationInvokeAttachmentArrayOutput() InvocationInvokeAttachmentArrayOutput

func (InvocationInvokeAttachmentArrayOutput) ToInvocationInvokeAttachmentArrayOutputWithContext

func (o InvocationInvokeAttachmentArrayOutput) ToInvocationInvokeAttachmentArrayOutputWithContext(ctx context.Context) InvocationInvokeAttachmentArrayOutput

type InvocationInvokeAttachmentInput

type InvocationInvokeAttachmentInput interface {
	pulumi.Input

	ToInvocationInvokeAttachmentOutput() InvocationInvokeAttachmentOutput
	ToInvocationInvokeAttachmentOutputWithContext(ctx context.Context) InvocationInvokeAttachmentOutput
}

type InvocationInvokeAttachmentMap

type InvocationInvokeAttachmentMap map[string]InvocationInvokeAttachmentInput

func (InvocationInvokeAttachmentMap) ElementType

func (InvocationInvokeAttachmentMap) ToInvocationInvokeAttachmentMapOutput

func (i InvocationInvokeAttachmentMap) ToInvocationInvokeAttachmentMapOutput() InvocationInvokeAttachmentMapOutput

func (InvocationInvokeAttachmentMap) ToInvocationInvokeAttachmentMapOutputWithContext

func (i InvocationInvokeAttachmentMap) ToInvocationInvokeAttachmentMapOutputWithContext(ctx context.Context) InvocationInvokeAttachmentMapOutput

type InvocationInvokeAttachmentMapInput

type InvocationInvokeAttachmentMapInput interface {
	pulumi.Input

	ToInvocationInvokeAttachmentMapOutput() InvocationInvokeAttachmentMapOutput
	ToInvocationInvokeAttachmentMapOutputWithContext(context.Context) InvocationInvokeAttachmentMapOutput
}

InvocationInvokeAttachmentMapInput is an input type that accepts InvocationInvokeAttachmentMap and InvocationInvokeAttachmentMapOutput values. You can construct a concrete instance of `InvocationInvokeAttachmentMapInput` via:

InvocationInvokeAttachmentMap{ "key": InvocationInvokeAttachmentArgs{...} }

type InvocationInvokeAttachmentMapOutput

type InvocationInvokeAttachmentMapOutput struct{ *pulumi.OutputState }

func (InvocationInvokeAttachmentMapOutput) ElementType

func (InvocationInvokeAttachmentMapOutput) MapIndex

func (InvocationInvokeAttachmentMapOutput) ToInvocationInvokeAttachmentMapOutput

func (o InvocationInvokeAttachmentMapOutput) ToInvocationInvokeAttachmentMapOutput() InvocationInvokeAttachmentMapOutput

func (InvocationInvokeAttachmentMapOutput) ToInvocationInvokeAttachmentMapOutputWithContext

func (o InvocationInvokeAttachmentMapOutput) ToInvocationInvokeAttachmentMapOutputWithContext(ctx context.Context) InvocationInvokeAttachmentMapOutput

type InvocationInvokeAttachmentOutput

type InvocationInvokeAttachmentOutput struct{ *pulumi.OutputState }

func (InvocationInvokeAttachmentOutput) CommandId

Command ID.

func (InvocationInvokeAttachmentOutput) ElementType

func (InvocationInvokeAttachmentOutput) InstanceId

ID of instances about to execute commands. Supported instance types: CVM LIGHTHOUSE.

func (InvocationInvokeAttachmentOutput) OutputCosBucketUrl

The COS bucket URL for uploading logs. The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.

func (InvocationInvokeAttachmentOutput) OutputCosKeyPrefix

The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.

func (InvocationInvokeAttachmentOutput) Parameters

Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].

func (InvocationInvokeAttachmentOutput) Timeout

Command timeout period. Default value: 60 seconds. Value range: [1, 86400].

func (InvocationInvokeAttachmentOutput) ToInvocationInvokeAttachmentOutput

func (o InvocationInvokeAttachmentOutput) ToInvocationInvokeAttachmentOutput() InvocationInvokeAttachmentOutput

func (InvocationInvokeAttachmentOutput) ToInvocationInvokeAttachmentOutputWithContext

func (o InvocationInvokeAttachmentOutput) ToInvocationInvokeAttachmentOutputWithContext(ctx context.Context) InvocationInvokeAttachmentOutput

func (InvocationInvokeAttachmentOutput) Username

The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.

func (InvocationInvokeAttachmentOutput) WorkingDirectory

Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.

type InvocationInvokeAttachmentState

type InvocationInvokeAttachmentState struct {
	// Command ID.
	CommandId pulumi.StringPtrInput
	// ID of instances about to execute commands. Supported instance types:  CVM  LIGHTHOUSE.
	InstanceId pulumi.StringPtrInput
	// The COS bucket URL for uploading logs. The URL must start with https, such as https://BucketName-123454321.cos.ap-beijing.myqcloud.com.
	OutputCosBucketUrl pulumi.StringPtrInput
	// The COS bucket directory where the logs are saved; Check below for the rules of the directory name: 1 It must be a combination of number, letters, and visible characters, Up to 60 characters are allowed; 2 Use a slash (/) to create a subdirectory; 3 can not be used as the folder name; It cannot start with a slash (/), and cannot contain consecutive slashes.
	OutputCosKeyPrefix pulumi.StringPtrInput
	// Custom parameters of Command. The field type is JSON encoded string. For example, {varA: 222}.key is the name of the custom parameter and value is the default value. Both key and value are strings.If no parameter value is provided, the DefaultParameters is used.Up to 20 custom parameters are supported.The name of the custom parameter cannot exceed 64 characters and can contain [a-z], [A-Z], [0-9] and [-_].
	Parameters pulumi.StringPtrInput
	// Command timeout period. Default value: 60 seconds. Value range: [1, 86400].
	Timeout pulumi.IntPtrInput
	// The username used to execute the command on the CVM or Lighthouse instance.The principle of least privilege is the best practice for permission management. We recommend you execute TAT commands as a general user. By default, the user root is used to execute commands on Linux and the user System is used on Windows.
	Username pulumi.StringPtrInput
	// Command execution path. The default value is /root for SHELL commands and C:Program Filesqcloudtat_agentworkdir for POWERSHELL commands.
	WorkingDirectory pulumi.StringPtrInput
}

func (InvocationInvokeAttachmentState) ElementType

type Invoker

type Invoker struct {
	pulumi.CustomResourceState

	// Remote command ID.
	CommandId pulumi.StringOutput `pulumi:"commandId"`
	// Creation time.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// Whether to enable the invoker.
	Enable pulumi.BoolOutput `pulumi:"enable"`
	// ID of the instance bound to the trigger. Up to 100 IDs are allowed.
	InstanceIds pulumi.StringArrayOutput `pulumi:"instanceIds"`
	// Invoker ID.
	InvokerId pulumi.StringOutput `pulumi:"invokerId"`
	// Invoker name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Custom parameters of the command.
	Parameters pulumi.StringPtrOutput `pulumi:"parameters"`
	// Settings required for a recurring invoker.
	ScheduleSettings InvokerScheduleSettingsPtrOutput `pulumi:"scheduleSettings"`
	// Invoker type. It can only be `SCHEDULE` (recurring invokers).
	Type pulumi.StringOutput `pulumi:"type"`
	// Modification time.
	UpdatedTime pulumi.StringOutput `pulumi:"updatedTime"`
	// The user who executes the command.
	Username pulumi.StringPtrOutput `pulumi:"username"`
}

Provides a resource to create a tat invoker

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Tat.NewInvoker(ctx, "invoker", &Tat.InvokerArgs{
			CommandId: pulumi.String("cmd-6fydo27j"),
			InstanceIds: pulumi.StringArray{
				pulumi.String("ins-3c7q2ebs"),
			},
			ScheduleSettings: &tat.InvokerScheduleSettingsArgs{
				InvokeTime: pulumi.String("2099-11-17T16:00:00Z"),
				Policy:     pulumi.String("ONCE"),
			},
			Type:     pulumi.String("SCHEDULE"),
			Username: pulumi.String("root"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

tat invoker can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Tat/invoker:Invoker invoker ivk-gwb4ztk5

```

func GetInvoker

func GetInvoker(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InvokerState, opts ...pulumi.ResourceOption) (*Invoker, error)

GetInvoker gets an existing Invoker resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInvoker

func NewInvoker(ctx *pulumi.Context,
	name string, args *InvokerArgs, opts ...pulumi.ResourceOption) (*Invoker, error)

NewInvoker registers a new resource with the given unique name, arguments, and options.

func (*Invoker) ElementType

func (*Invoker) ElementType() reflect.Type

func (*Invoker) ToInvokerOutput

func (i *Invoker) ToInvokerOutput() InvokerOutput

func (*Invoker) ToInvokerOutputWithContext

func (i *Invoker) ToInvokerOutputWithContext(ctx context.Context) InvokerOutput

type InvokerArgs

type InvokerArgs struct {
	// Remote command ID.
	CommandId pulumi.StringInput
	// ID of the instance bound to the trigger. Up to 100 IDs are allowed.
	InstanceIds pulumi.StringArrayInput
	// Invoker name.
	Name pulumi.StringPtrInput
	// Custom parameters of the command.
	Parameters pulumi.StringPtrInput
	// Settings required for a recurring invoker.
	ScheduleSettings InvokerScheduleSettingsPtrInput
	// Invoker type. It can only be `SCHEDULE` (recurring invokers).
	Type pulumi.StringInput
	// The user who executes the command.
	Username pulumi.StringPtrInput
}

The set of arguments for constructing a Invoker resource.

func (InvokerArgs) ElementType

func (InvokerArgs) ElementType() reflect.Type

type InvokerArray

type InvokerArray []InvokerInput

func (InvokerArray) ElementType

func (InvokerArray) ElementType() reflect.Type

func (InvokerArray) ToInvokerArrayOutput

func (i InvokerArray) ToInvokerArrayOutput() InvokerArrayOutput

func (InvokerArray) ToInvokerArrayOutputWithContext

func (i InvokerArray) ToInvokerArrayOutputWithContext(ctx context.Context) InvokerArrayOutput

type InvokerArrayInput

type InvokerArrayInput interface {
	pulumi.Input

	ToInvokerArrayOutput() InvokerArrayOutput
	ToInvokerArrayOutputWithContext(context.Context) InvokerArrayOutput
}

InvokerArrayInput is an input type that accepts InvokerArray and InvokerArrayOutput values. You can construct a concrete instance of `InvokerArrayInput` via:

InvokerArray{ InvokerArgs{...} }

type InvokerArrayOutput

type InvokerArrayOutput struct{ *pulumi.OutputState }

func (InvokerArrayOutput) ElementType

func (InvokerArrayOutput) ElementType() reflect.Type

func (InvokerArrayOutput) Index

func (InvokerArrayOutput) ToInvokerArrayOutput

func (o InvokerArrayOutput) ToInvokerArrayOutput() InvokerArrayOutput

func (InvokerArrayOutput) ToInvokerArrayOutputWithContext

func (o InvokerArrayOutput) ToInvokerArrayOutputWithContext(ctx context.Context) InvokerArrayOutput

type InvokerConfig

type InvokerConfig struct {
	pulumi.CustomResourceState

	// ID of the invoker to be enabled.
	InvokerId pulumi.StringOutput `pulumi:"invokerId"`
	// Invoker on and off state, Values: `on`, `off`.
	InvokerStatus pulumi.StringOutput `pulumi:"invokerStatus"`
}

Provides a resource to create a tat invokerConfig

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Tat.NewInvokerConfig(ctx, "invokerConfig", &Tat.InvokerConfigArgs{
			InvokerId:     pulumi.String("ivk-cas4upyf"),
			InvokerStatus: pulumi.String("on"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

tat invoker_config can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Tat/invokerConfig:InvokerConfig invoker_config invoker_config_id

```

func GetInvokerConfig

func GetInvokerConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InvokerConfigState, opts ...pulumi.ResourceOption) (*InvokerConfig, error)

GetInvokerConfig gets an existing InvokerConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInvokerConfig

func NewInvokerConfig(ctx *pulumi.Context,
	name string, args *InvokerConfigArgs, opts ...pulumi.ResourceOption) (*InvokerConfig, error)

NewInvokerConfig registers a new resource with the given unique name, arguments, and options.

func (*InvokerConfig) ElementType

func (*InvokerConfig) ElementType() reflect.Type

func (*InvokerConfig) ToInvokerConfigOutput

func (i *InvokerConfig) ToInvokerConfigOutput() InvokerConfigOutput

func (*InvokerConfig) ToInvokerConfigOutputWithContext

func (i *InvokerConfig) ToInvokerConfigOutputWithContext(ctx context.Context) InvokerConfigOutput

type InvokerConfigArgs

type InvokerConfigArgs struct {
	// ID of the invoker to be enabled.
	InvokerId pulumi.StringInput
	// Invoker on and off state, Values: `on`, `off`.
	InvokerStatus pulumi.StringInput
}

The set of arguments for constructing a InvokerConfig resource.

func (InvokerConfigArgs) ElementType

func (InvokerConfigArgs) ElementType() reflect.Type

type InvokerConfigArray

type InvokerConfigArray []InvokerConfigInput

func (InvokerConfigArray) ElementType

func (InvokerConfigArray) ElementType() reflect.Type

func (InvokerConfigArray) ToInvokerConfigArrayOutput

func (i InvokerConfigArray) ToInvokerConfigArrayOutput() InvokerConfigArrayOutput

func (InvokerConfigArray) ToInvokerConfigArrayOutputWithContext

func (i InvokerConfigArray) ToInvokerConfigArrayOutputWithContext(ctx context.Context) InvokerConfigArrayOutput

type InvokerConfigArrayInput

type InvokerConfigArrayInput interface {
	pulumi.Input

	ToInvokerConfigArrayOutput() InvokerConfigArrayOutput
	ToInvokerConfigArrayOutputWithContext(context.Context) InvokerConfigArrayOutput
}

InvokerConfigArrayInput is an input type that accepts InvokerConfigArray and InvokerConfigArrayOutput values. You can construct a concrete instance of `InvokerConfigArrayInput` via:

InvokerConfigArray{ InvokerConfigArgs{...} }

type InvokerConfigArrayOutput

type InvokerConfigArrayOutput struct{ *pulumi.OutputState }

func (InvokerConfigArrayOutput) ElementType

func (InvokerConfigArrayOutput) ElementType() reflect.Type

func (InvokerConfigArrayOutput) Index

func (InvokerConfigArrayOutput) ToInvokerConfigArrayOutput

func (o InvokerConfigArrayOutput) ToInvokerConfigArrayOutput() InvokerConfigArrayOutput

func (InvokerConfigArrayOutput) ToInvokerConfigArrayOutputWithContext

func (o InvokerConfigArrayOutput) ToInvokerConfigArrayOutputWithContext(ctx context.Context) InvokerConfigArrayOutput

type InvokerConfigInput

type InvokerConfigInput interface {
	pulumi.Input

	ToInvokerConfigOutput() InvokerConfigOutput
	ToInvokerConfigOutputWithContext(ctx context.Context) InvokerConfigOutput
}

type InvokerConfigMap

type InvokerConfigMap map[string]InvokerConfigInput

func (InvokerConfigMap) ElementType

func (InvokerConfigMap) ElementType() reflect.Type

func (InvokerConfigMap) ToInvokerConfigMapOutput

func (i InvokerConfigMap) ToInvokerConfigMapOutput() InvokerConfigMapOutput

func (InvokerConfigMap) ToInvokerConfigMapOutputWithContext

func (i InvokerConfigMap) ToInvokerConfigMapOutputWithContext(ctx context.Context) InvokerConfigMapOutput

type InvokerConfigMapInput

type InvokerConfigMapInput interface {
	pulumi.Input

	ToInvokerConfigMapOutput() InvokerConfigMapOutput
	ToInvokerConfigMapOutputWithContext(context.Context) InvokerConfigMapOutput
}

InvokerConfigMapInput is an input type that accepts InvokerConfigMap and InvokerConfigMapOutput values. You can construct a concrete instance of `InvokerConfigMapInput` via:

InvokerConfigMap{ "key": InvokerConfigArgs{...} }

type InvokerConfigMapOutput

type InvokerConfigMapOutput struct{ *pulumi.OutputState }

func (InvokerConfigMapOutput) ElementType

func (InvokerConfigMapOutput) ElementType() reflect.Type

func (InvokerConfigMapOutput) MapIndex

func (InvokerConfigMapOutput) ToInvokerConfigMapOutput

func (o InvokerConfigMapOutput) ToInvokerConfigMapOutput() InvokerConfigMapOutput

func (InvokerConfigMapOutput) ToInvokerConfigMapOutputWithContext

func (o InvokerConfigMapOutput) ToInvokerConfigMapOutputWithContext(ctx context.Context) InvokerConfigMapOutput

type InvokerConfigOutput

type InvokerConfigOutput struct{ *pulumi.OutputState }

func (InvokerConfigOutput) ElementType

func (InvokerConfigOutput) ElementType() reflect.Type

func (InvokerConfigOutput) InvokerId

func (o InvokerConfigOutput) InvokerId() pulumi.StringOutput

ID of the invoker to be enabled.

func (InvokerConfigOutput) InvokerStatus

func (o InvokerConfigOutput) InvokerStatus() pulumi.StringOutput

Invoker on and off state, Values: `on`, `off`.

func (InvokerConfigOutput) ToInvokerConfigOutput

func (o InvokerConfigOutput) ToInvokerConfigOutput() InvokerConfigOutput

func (InvokerConfigOutput) ToInvokerConfigOutputWithContext

func (o InvokerConfigOutput) ToInvokerConfigOutputWithContext(ctx context.Context) InvokerConfigOutput

type InvokerConfigState

type InvokerConfigState struct {
	// ID of the invoker to be enabled.
	InvokerId pulumi.StringPtrInput
	// Invoker on and off state, Values: `on`, `off`.
	InvokerStatus pulumi.StringPtrInput
}

func (InvokerConfigState) ElementType

func (InvokerConfigState) ElementType() reflect.Type

type InvokerInput

type InvokerInput interface {
	pulumi.Input

	ToInvokerOutput() InvokerOutput
	ToInvokerOutputWithContext(ctx context.Context) InvokerOutput
}

type InvokerMap

type InvokerMap map[string]InvokerInput

func (InvokerMap) ElementType

func (InvokerMap) ElementType() reflect.Type

func (InvokerMap) ToInvokerMapOutput

func (i InvokerMap) ToInvokerMapOutput() InvokerMapOutput

func (InvokerMap) ToInvokerMapOutputWithContext

func (i InvokerMap) ToInvokerMapOutputWithContext(ctx context.Context) InvokerMapOutput

type InvokerMapInput

type InvokerMapInput interface {
	pulumi.Input

	ToInvokerMapOutput() InvokerMapOutput
	ToInvokerMapOutputWithContext(context.Context) InvokerMapOutput
}

InvokerMapInput is an input type that accepts InvokerMap and InvokerMapOutput values. You can construct a concrete instance of `InvokerMapInput` via:

InvokerMap{ "key": InvokerArgs{...} }

type InvokerMapOutput

type InvokerMapOutput struct{ *pulumi.OutputState }

func (InvokerMapOutput) ElementType

func (InvokerMapOutput) ElementType() reflect.Type

func (InvokerMapOutput) MapIndex

func (InvokerMapOutput) ToInvokerMapOutput

func (o InvokerMapOutput) ToInvokerMapOutput() InvokerMapOutput

func (InvokerMapOutput) ToInvokerMapOutputWithContext

func (o InvokerMapOutput) ToInvokerMapOutputWithContext(ctx context.Context) InvokerMapOutput

type InvokerOutput

type InvokerOutput struct{ *pulumi.OutputState }

func (InvokerOutput) CommandId

func (o InvokerOutput) CommandId() pulumi.StringOutput

Remote command ID.

func (InvokerOutput) CreatedTime

func (o InvokerOutput) CreatedTime() pulumi.StringOutput

Creation time.

func (InvokerOutput) ElementType

func (InvokerOutput) ElementType() reflect.Type

func (InvokerOutput) Enable

func (o InvokerOutput) Enable() pulumi.BoolOutput

Whether to enable the invoker.

func (InvokerOutput) InstanceIds

func (o InvokerOutput) InstanceIds() pulumi.StringArrayOutput

ID of the instance bound to the trigger. Up to 100 IDs are allowed.

func (InvokerOutput) InvokerId

func (o InvokerOutput) InvokerId() pulumi.StringOutput

Invoker ID.

func (InvokerOutput) Name

Invoker name.

func (InvokerOutput) Parameters

func (o InvokerOutput) Parameters() pulumi.StringPtrOutput

Custom parameters of the command.

func (InvokerOutput) ScheduleSettings

func (o InvokerOutput) ScheduleSettings() InvokerScheduleSettingsPtrOutput

Settings required for a recurring invoker.

func (InvokerOutput) ToInvokerOutput

func (o InvokerOutput) ToInvokerOutput() InvokerOutput

func (InvokerOutput) ToInvokerOutputWithContext

func (o InvokerOutput) ToInvokerOutputWithContext(ctx context.Context) InvokerOutput

func (InvokerOutput) Type

Invoker type. It can only be `SCHEDULE` (recurring invokers).

func (InvokerOutput) UpdatedTime

func (o InvokerOutput) UpdatedTime() pulumi.StringOutput

Modification time.

func (InvokerOutput) Username

func (o InvokerOutput) Username() pulumi.StringPtrOutput

The user who executes the command.

type InvokerScheduleSettings

type InvokerScheduleSettings struct {
	// The next execution time of the invoker. This field is required if Policy is ONCE.
	InvokeTime *string `pulumi:"invokeTime"`
	// Execution policy: `ONCE`: Execute once; `RECURRENCE`: Execute repeatedly.
	Policy string `pulumi:"policy"`
	// Trigger the crontab expression. This field is required if `Policy` is `RECURRENCE`. The crontab expression is parsed in UTC+8.
	Recurrence *string `pulumi:"recurrence"`
}

type InvokerScheduleSettingsArgs

type InvokerScheduleSettingsArgs struct {
	// The next execution time of the invoker. This field is required if Policy is ONCE.
	InvokeTime pulumi.StringPtrInput `pulumi:"invokeTime"`
	// Execution policy: `ONCE`: Execute once; `RECURRENCE`: Execute repeatedly.
	Policy pulumi.StringInput `pulumi:"policy"`
	// Trigger the crontab expression. This field is required if `Policy` is `RECURRENCE`. The crontab expression is parsed in UTC+8.
	Recurrence pulumi.StringPtrInput `pulumi:"recurrence"`
}

func (InvokerScheduleSettingsArgs) ElementType

func (InvokerScheduleSettingsArgs) ToInvokerScheduleSettingsOutput

func (i InvokerScheduleSettingsArgs) ToInvokerScheduleSettingsOutput() InvokerScheduleSettingsOutput

func (InvokerScheduleSettingsArgs) ToInvokerScheduleSettingsOutputWithContext

func (i InvokerScheduleSettingsArgs) ToInvokerScheduleSettingsOutputWithContext(ctx context.Context) InvokerScheduleSettingsOutput

func (InvokerScheduleSettingsArgs) ToInvokerScheduleSettingsPtrOutput

func (i InvokerScheduleSettingsArgs) ToInvokerScheduleSettingsPtrOutput() InvokerScheduleSettingsPtrOutput

func (InvokerScheduleSettingsArgs) ToInvokerScheduleSettingsPtrOutputWithContext

func (i InvokerScheduleSettingsArgs) ToInvokerScheduleSettingsPtrOutputWithContext(ctx context.Context) InvokerScheduleSettingsPtrOutput

type InvokerScheduleSettingsInput

type InvokerScheduleSettingsInput interface {
	pulumi.Input

	ToInvokerScheduleSettingsOutput() InvokerScheduleSettingsOutput
	ToInvokerScheduleSettingsOutputWithContext(context.Context) InvokerScheduleSettingsOutput
}

InvokerScheduleSettingsInput is an input type that accepts InvokerScheduleSettingsArgs and InvokerScheduleSettingsOutput values. You can construct a concrete instance of `InvokerScheduleSettingsInput` via:

InvokerScheduleSettingsArgs{...}

type InvokerScheduleSettingsOutput

type InvokerScheduleSettingsOutput struct{ *pulumi.OutputState }

func (InvokerScheduleSettingsOutput) ElementType

func (InvokerScheduleSettingsOutput) InvokeTime

The next execution time of the invoker. This field is required if Policy is ONCE.

func (InvokerScheduleSettingsOutput) Policy

Execution policy: `ONCE`: Execute once; `RECURRENCE`: Execute repeatedly.

func (InvokerScheduleSettingsOutput) Recurrence

Trigger the crontab expression. This field is required if `Policy` is `RECURRENCE`. The crontab expression is parsed in UTC+8.

func (InvokerScheduleSettingsOutput) ToInvokerScheduleSettingsOutput

func (o InvokerScheduleSettingsOutput) ToInvokerScheduleSettingsOutput() InvokerScheduleSettingsOutput

func (InvokerScheduleSettingsOutput) ToInvokerScheduleSettingsOutputWithContext

func (o InvokerScheduleSettingsOutput) ToInvokerScheduleSettingsOutputWithContext(ctx context.Context) InvokerScheduleSettingsOutput

func (InvokerScheduleSettingsOutput) ToInvokerScheduleSettingsPtrOutput

func (o InvokerScheduleSettingsOutput) ToInvokerScheduleSettingsPtrOutput() InvokerScheduleSettingsPtrOutput

func (InvokerScheduleSettingsOutput) ToInvokerScheduleSettingsPtrOutputWithContext

func (o InvokerScheduleSettingsOutput) ToInvokerScheduleSettingsPtrOutputWithContext(ctx context.Context) InvokerScheduleSettingsPtrOutput

type InvokerScheduleSettingsPtrInput

type InvokerScheduleSettingsPtrInput interface {
	pulumi.Input

	ToInvokerScheduleSettingsPtrOutput() InvokerScheduleSettingsPtrOutput
	ToInvokerScheduleSettingsPtrOutputWithContext(context.Context) InvokerScheduleSettingsPtrOutput
}

InvokerScheduleSettingsPtrInput is an input type that accepts InvokerScheduleSettingsArgs, InvokerScheduleSettingsPtr and InvokerScheduleSettingsPtrOutput values. You can construct a concrete instance of `InvokerScheduleSettingsPtrInput` via:

        InvokerScheduleSettingsArgs{...}

or:

        nil

type InvokerScheduleSettingsPtrOutput

type InvokerScheduleSettingsPtrOutput struct{ *pulumi.OutputState }

func (InvokerScheduleSettingsPtrOutput) Elem

func (InvokerScheduleSettingsPtrOutput) ElementType

func (InvokerScheduleSettingsPtrOutput) InvokeTime

The next execution time of the invoker. This field is required if Policy is ONCE.

func (InvokerScheduleSettingsPtrOutput) Policy

Execution policy: `ONCE`: Execute once; `RECURRENCE`: Execute repeatedly.

func (InvokerScheduleSettingsPtrOutput) Recurrence

Trigger the crontab expression. This field is required if `Policy` is `RECURRENCE`. The crontab expression is parsed in UTC+8.

func (InvokerScheduleSettingsPtrOutput) ToInvokerScheduleSettingsPtrOutput

func (o InvokerScheduleSettingsPtrOutput) ToInvokerScheduleSettingsPtrOutput() InvokerScheduleSettingsPtrOutput

func (InvokerScheduleSettingsPtrOutput) ToInvokerScheduleSettingsPtrOutputWithContext

func (o InvokerScheduleSettingsPtrOutput) ToInvokerScheduleSettingsPtrOutputWithContext(ctx context.Context) InvokerScheduleSettingsPtrOutput

type InvokerState

type InvokerState struct {
	// Remote command ID.
	CommandId pulumi.StringPtrInput
	// Creation time.
	CreatedTime pulumi.StringPtrInput
	// Whether to enable the invoker.
	Enable pulumi.BoolPtrInput
	// ID of the instance bound to the trigger. Up to 100 IDs are allowed.
	InstanceIds pulumi.StringArrayInput
	// Invoker ID.
	InvokerId pulumi.StringPtrInput
	// Invoker name.
	Name pulumi.StringPtrInput
	// Custom parameters of the command.
	Parameters pulumi.StringPtrInput
	// Settings required for a recurring invoker.
	ScheduleSettings InvokerScheduleSettingsPtrInput
	// Invoker type. It can only be `SCHEDULE` (recurring invokers).
	Type pulumi.StringPtrInput
	// Modification time.
	UpdatedTime pulumi.StringPtrInput
	// The user who executes the command.
	Username pulumi.StringPtrInput
}

func (InvokerState) ElementType

func (InvokerState) ElementType() reflect.Type

type LookupCommandArgs

type LookupCommandArgs struct {
	// Command ID.
	CommandId *string `pulumi:"commandId"`
	// Command name.
	CommandName *string `pulumi:"commandName"`
	// Command type, Value is `SHELL` or `POWERSHELL`.
	CommandType *string `pulumi:"commandType"`
	// Command creator. `TAT` indicates a public command and `USER` indicates a personal command.
	CreatedBy *string `pulumi:"createdBy"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getCommand.

type LookupCommandOutputArgs

type LookupCommandOutputArgs struct {
	// Command ID.
	CommandId pulumi.StringPtrInput `pulumi:"commandId"`
	// Command name.
	CommandName pulumi.StringPtrInput `pulumi:"commandName"`
	// Command type, Value is `SHELL` or `POWERSHELL`.
	CommandType pulumi.StringPtrInput `pulumi:"commandType"`
	// Command creator. `TAT` indicates a public command and `USER` indicates a personal command.
	CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
}

A collection of arguments for invoking getCommand.

func (LookupCommandOutputArgs) ElementType

func (LookupCommandOutputArgs) ElementType() reflect.Type

type LookupCommandResult

type LookupCommandResult struct {
	// Command ID.
	CommandId *string `pulumi:"commandId"`
	// Command name.
	CommandName *string `pulumi:"commandName"`
	// List of command details.
	CommandSets []GetCommandCommandSet `pulumi:"commandSets"`
	// Command type.
	CommandType *string `pulumi:"commandType"`
	// Command creator. `TAT` indicates a public command and `USER` indicates a personal command.
	CreatedBy *string `pulumi:"createdBy"`
	// The provider-assigned unique ID for this managed resource.
	Id               string  `pulumi:"id"`
	ResultOutputFile *string `pulumi:"resultOutputFile"`
}

A collection of values returned by getCommand.

func LookupCommand

func LookupCommand(ctx *pulumi.Context, args *LookupCommandArgs, opts ...pulumi.InvokeOption) (*LookupCommandResult, error)

Use this data source to query detailed information of tat command

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Tat.GetCommand(ctx, &tat.GetCommandArgs{
			CommandType: pulumi.StringRef("SHELL"),
			CreatedBy:   pulumi.StringRef("TAT"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupCommandResultOutput

type LookupCommandResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCommand.

func (LookupCommandResultOutput) CommandId

Command ID.

func (LookupCommandResultOutput) CommandName

Command name.

func (LookupCommandResultOutput) CommandSets

List of command details.

func (LookupCommandResultOutput) CommandType

Command type.

func (LookupCommandResultOutput) CreatedBy

Command creator. `TAT` indicates a public command and `USER` indicates a personal command.

func (LookupCommandResultOutput) ElementType

func (LookupCommandResultOutput) ElementType() reflect.Type

func (LookupCommandResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupCommandResultOutput) ResultOutputFile

func (o LookupCommandResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (LookupCommandResultOutput) ToLookupCommandResultOutput

func (o LookupCommandResultOutput) ToLookupCommandResultOutput() LookupCommandResultOutput

func (LookupCommandResultOutput) ToLookupCommandResultOutputWithContext

func (o LookupCommandResultOutput) ToLookupCommandResultOutputWithContext(ctx context.Context) LookupCommandResultOutput

type LookupInvokerArgs

type LookupInvokerArgs struct {
	// Command ID.
	CommandId *string `pulumi:"commandId"`
	// Invoker ID.
	InvokerId *string `pulumi:"invokerId"`
	// Used to save results.
	ResultOutputFile *string `pulumi:"resultOutputFile"`
	// Invoker type.
	Type *string `pulumi:"type"`
}

A collection of arguments for invoking getInvoker.

type LookupInvokerOutputArgs

type LookupInvokerOutputArgs struct {
	// Command ID.
	CommandId pulumi.StringPtrInput `pulumi:"commandId"`
	// Invoker ID.
	InvokerId pulumi.StringPtrInput `pulumi:"invokerId"`
	// Used to save results.
	ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"`
	// Invoker type.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

A collection of arguments for invoking getInvoker.

func (LookupInvokerOutputArgs) ElementType

func (LookupInvokerOutputArgs) ElementType() reflect.Type

type LookupInvokerResult

type LookupInvokerResult struct {
	// Command ID.
	CommandId *string `pulumi:"commandId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Invoker ID.
	InvokerId *string `pulumi:"invokerId"`
	// Invoker information.
	InvokerSets      []GetInvokerInvokerSet `pulumi:"invokerSets"`
	ResultOutputFile *string                `pulumi:"resultOutputFile"`
	// Invoker type.
	Type *string `pulumi:"type"`
}

A collection of values returned by getInvoker.

func LookupInvoker

func LookupInvoker(ctx *pulumi.Context, args *LookupInvokerArgs, opts ...pulumi.InvokeOption) (*LookupInvokerResult, error)

Use this data source to query detailed information of tat invoker

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Tat"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Tat.GetInvoker(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupInvokerResultOutput

type LookupInvokerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getInvoker.

func (LookupInvokerResultOutput) CommandId

Command ID.

func (LookupInvokerResultOutput) ElementType

func (LookupInvokerResultOutput) ElementType() reflect.Type

func (LookupInvokerResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupInvokerResultOutput) InvokerId

Invoker ID.

func (LookupInvokerResultOutput) InvokerSets

Invoker information.

func (LookupInvokerResultOutput) ResultOutputFile

func (o LookupInvokerResultOutput) ResultOutputFile() pulumi.StringPtrOutput

func (LookupInvokerResultOutput) ToLookupInvokerResultOutput

func (o LookupInvokerResultOutput) ToLookupInvokerResultOutput() LookupInvokerResultOutput

func (LookupInvokerResultOutput) ToLookupInvokerResultOutputWithContext

func (o LookupInvokerResultOutput) ToLookupInvokerResultOutputWithContext(ctx context.Context) LookupInvokerResultOutput

func (LookupInvokerResultOutput) Type

Invoker type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL