Documentation
¶
Index ¶
- type AssistantClient
- func (c *AssistantClient) AddLogConfig(request *assistant.AddLogConfigRequest) (*assistant.AddLogConfigResponse, error)
- func (c *AssistantClient) CreateCommand(request *assistant.CreateCommandRequest) (*assistant.CreateCommandResponse, error)
- func (c *AssistantClient) DeleteCommands(request *assistant.DeleteCommandsRequest) (*assistant.DeleteCommandsResponse, error)
- func (c *AssistantClient) DescribeCommands(request *assistant.DescribeCommandsRequest) (*assistant.DescribeCommandsResponse, error)
- func (c *AssistantClient) DescribeInvocations(request *assistant.DescribeInvocationsRequest) (*assistant.DescribeInvocationsResponse, error)
- func (c *AssistantClient) DisableLogger()
- func (c *AssistantClient) InvokeCommand(request *assistant.InvokeCommandRequest) (*assistant.InvokeCommandResponse, error)
- func (c *AssistantClient) SetConfig(config *core.Config)
- func (c *AssistantClient) SetLogger(logger core.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssistantClient ¶
type AssistantClient struct {
core.JDCloudClient
}
func NewAssistantClient ¶
func NewAssistantClient(credential *core.Credential) *AssistantClient
func (*AssistantClient) AddLogConfig ¶
func (c *AssistantClient) AddLogConfig(request *assistant.AddLogConfigRequest) (*assistant.AddLogConfigResponse, error)
配置用户日志信息。
详细操作说明请参考帮助文档:[用户自定义命令概述](https://docs.jdcloud.com/cn/virtual-machines/assistant-overview)
## 接口说明 - 该接口用于配置用户日志信息。
func (*AssistantClient) CreateCommand ¶
func (c *AssistantClient) CreateCommand(request *assistant.CreateCommandRequest) (*assistant.CreateCommandResponse, error)
保存用户自定义命令。
详细操作说明请参考帮助文档:[用户自定义命令概述](https://docs.jdcloud.com/cn/virtual-machines/assistant-overview)
## 接口说明 - 该接口用于保存用户自定义命令。
func (*AssistantClient) DeleteCommands ¶
func (c *AssistantClient) DeleteCommands(request *assistant.DeleteCommandsRequest) (*assistant.DeleteCommandsResponse, error)
删除用户自定义命令。
详细操作说明请参考帮助文档:[用户自定义命令概述](https://docs.jdcloud.com/cn/virtual-machines/assistant-overview)
## 接口说明 - 该接口用于删除用户自定义命令。
func (*AssistantClient) DescribeCommands ¶
func (c *AssistantClient) DescribeCommands(request *assistant.DescribeCommandsRequest) (*assistant.DescribeCommandsResponse, error)
查询用户自定义命令。
详细操作说明请参考帮助文档:[用户自定义命令概述](https://docs.jdcloud.com/cn/virtual-machines/assistant-overview)
## 接口说明 - 该接口用于查询用户保存的自定义命令。
func (*AssistantClient) DescribeInvocations ¶
func (c *AssistantClient) DescribeInvocations(request *assistant.DescribeInvocationsRequest) (*assistant.DescribeInvocationsResponse, error)
查询命令调用。
详细操作说明请参考帮助文档:[用户自定义命令概述](https://docs.jdcloud.com/cn/virtual-machines/assistant-overview)
## 接口说明 - 该接口用于查询命令调用。
func (*AssistantClient) DisableLogger ¶
func (c *AssistantClient) DisableLogger()
func (*AssistantClient) InvokeCommand ¶
func (c *AssistantClient) InvokeCommand(request *assistant.InvokeCommandRequest) (*assistant.InvokeCommandResponse, error)
执行用户保存的自定义命令。
详细操作说明请参考帮助文档:[用户自定义命令概述](https://docs.jdcloud.com/cn/virtual-machines/assistant-overview)
## 接口说明 - 该接口用于执行用户保存的自定义命令。
func (*AssistantClient) SetConfig ¶
func (c *AssistantClient) SetConfig(config *core.Config)
func (*AssistantClient) SetLogger ¶
func (c *AssistantClient) SetLogger(logger core.Logger)