Documentation
¶
Index ¶
Constants ¶
View Source
const APIVersion = "2020-09-24"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentShell ¶
type AgentShell struct {
// 鉴权token
// 注意:此字段可能返回 null,表示取不到有效值。
Token *string `json:"Token,omitempty" name:"Token"`
// 数据接收Ip
// 注意:此字段可能返回 null,表示取不到有效值。
EtlIp *string `json:"EtlIp,omitempty" name:"EtlIp"`
// 数据接收port
// 注意:此字段可能返回 null,表示取不到有效值。
EtlPort *string `json:"EtlPort,omitempty" name:"EtlPort"`
// 手动接入脚本串
// 注意:此字段可能返回 null,表示取不到有效值。
ByHandAccess *string `json:"ByHandAccess,omitempty" name:"ByHandAccess"`
// 自动接入脚本串
// 注意:此字段可能返回 null,表示取不到有效值。
ByShellAccess *string `json:"ByShellAccess,omitempty" name:"ByShellAccess"`
// SkyWalking数据接收port
// 注意:此字段可能返回 null,表示取不到有效值。
SkyWalkingPort *string `json:"SkyWalkingPort,omitempty" name:"SkyWalkingPort"`
// Zipkin数据接收port
// 注意:此字段可能返回 null,表示取不到有效值。
ZipkinPort *string `json:"ZipkinPort,omitempty" name:"ZipkinPort"`
// Jaeger数据接收port
// 注意:此字段可能返回 null,表示取不到有效值。
JaegerPort *string `json:"JaegerPort,omitempty" name:"JaegerPort"`
}
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) DescribeAgentShell ¶
func (c *Client) DescribeAgentShell(request *DescribeAgentShellRequest) (response *DescribeAgentShellResponse, err error)
获取服务接入信息
type DescribeAgentShellRequest ¶
type DescribeAgentShellRequest struct {
*tchttp.BaseRequest
}
func NewDescribeAgentShellRequest ¶
func NewDescribeAgentShellRequest() (request *DescribeAgentShellRequest)
func (*DescribeAgentShellRequest) FromJsonString ¶
func (r *DescribeAgentShellRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAgentShellRequest) ToJsonString ¶
func (r *DescribeAgentShellRequest) ToJsonString() string
type DescribeAgentShellResponse ¶
type DescribeAgentShellResponse struct {
*tchttp.BaseResponse
Response *struct {
// 接入信息
// 注意:此字段可能返回 null,表示取不到有效值。
Result *AgentShell `json:"Result,omitempty" name:"Result"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeAgentShellResponse ¶
func NewDescribeAgentShellResponse() (response *DescribeAgentShellResponse)
func (*DescribeAgentShellResponse) FromJsonString ¶
func (r *DescribeAgentShellResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAgentShellResponse) ToJsonString ¶
func (r *DescribeAgentShellResponse) ToJsonString() string
Click to show internal directories.
Click to hide internal directories.