Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) DescribeComponentAlertObject(request *DescribeComponentAlertObjectRequest) (response *DescribeComponentAlertObjectResponse, err error)
- func (c *Client) DescribeComponentAlertObjectWithContext(ctx context.Context, request *DescribeComponentAlertObjectRequest) (response *DescribeComponentAlertObjectResponse, err error)
- func (c *Client) DescribeServiceAlertObject(request *DescribeServiceAlertObjectRequest) (response *DescribeServiceAlertObjectResponse, err error)
- func (c *Client) DescribeServiceAlertObjectWithContext(ctx context.Context, request *DescribeServiceAlertObjectRequest) (response *DescribeServiceAlertObjectResponse, err error)
- func (c *Client) DescribeToken(request *DescribeTokenRequest) (response *DescribeTokenResponse, err error)
- func (c *Client) DescribeTokenWithContext(ctx context.Context, request *DescribeTokenRequest) (response *DescribeTokenResponse, err error)
- type DescribeComponentAlertObjectRequest
- type DescribeComponentAlertObjectRequestParams
- type DescribeComponentAlertObjectResponse
- type DescribeComponentAlertObjectResponseParams
- type DescribeServiceAlertObjectRequest
- type DescribeServiceAlertObjectRequestParams
- type DescribeServiceAlertObjectResponse
- type DescribeServiceAlertObjectResponseParams
- type DescribeTokenRequest
- type DescribeTokenRequestParams
- type DescribeTokenResponse
- type DescribeTokenResponseParams
Constants ¶
const APIVersion = "2021-04-12"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) DescribeComponentAlertObject ¶
func (c *Client) DescribeComponentAlertObject(request *DescribeComponentAlertObjectRequest) (response *DescribeComponentAlertObjectResponse, err error)
DescribeComponentAlertObject 获取告警对象-组件告警
func (*Client) DescribeComponentAlertObjectWithContext ¶ added in v1.0.324
func (c *Client) DescribeComponentAlertObjectWithContext(ctx context.Context, request *DescribeComponentAlertObjectRequest) (response *DescribeComponentAlertObjectResponse, err error)
DescribeComponentAlertObject 获取告警对象-组件告警
func (*Client) DescribeServiceAlertObject ¶
func (c *Client) DescribeServiceAlertObject(request *DescribeServiceAlertObjectRequest) (response *DescribeServiceAlertObjectResponse, err error)
DescribeServiceAlertObject 获取告警对象-服务告警表
func (*Client) DescribeServiceAlertObjectWithContext ¶ added in v1.0.324
func (c *Client) DescribeServiceAlertObjectWithContext(ctx context.Context, request *DescribeServiceAlertObjectRequest) (response *DescribeServiceAlertObjectResponse, err error)
DescribeServiceAlertObject 获取告警对象-服务告警表
func (*Client) DescribeToken ¶
func (c *Client) DescribeToken(request *DescribeTokenRequest) (response *DescribeTokenResponse, err error)
DescribeToken 查询token
func (*Client) DescribeTokenWithContext ¶ added in v1.0.324
func (c *Client) DescribeTokenWithContext(ctx context.Context, request *DescribeTokenRequest) (response *DescribeTokenResponse, err error)
DescribeToken 查询token
type DescribeComponentAlertObjectRequest ¶
type DescribeComponentAlertObjectRequest struct {
*tchttp.BaseRequest
}
func NewDescribeComponentAlertObjectRequest ¶
func NewDescribeComponentAlertObjectRequest() (request *DescribeComponentAlertObjectRequest)
func (*DescribeComponentAlertObjectRequest) FromJsonString ¶
func (r *DescribeComponentAlertObjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeComponentAlertObjectRequest) ToJsonString ¶
func (r *DescribeComponentAlertObjectRequest) ToJsonString() string
type DescribeComponentAlertObjectRequestParams ¶ added in v1.0.426
type DescribeComponentAlertObjectRequestParams struct { }
Predefined struct for user
type DescribeComponentAlertObjectResponse ¶
type DescribeComponentAlertObjectResponse struct { *tchttp.BaseResponse Response *DescribeComponentAlertObjectResponseParams `json:"Response"` }
func NewDescribeComponentAlertObjectResponse ¶
func NewDescribeComponentAlertObjectResponse() (response *DescribeComponentAlertObjectResponse)
func (*DescribeComponentAlertObjectResponse) FromJsonString ¶
func (r *DescribeComponentAlertObjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeComponentAlertObjectResponse) ToJsonString ¶
func (r *DescribeComponentAlertObjectResponse) ToJsonString() string
type DescribeComponentAlertObjectResponseParams ¶ added in v1.0.426
type DescribeComponentAlertObjectResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeServiceAlertObjectRequest ¶
type DescribeServiceAlertObjectRequest struct {
*tchttp.BaseRequest
}
func NewDescribeServiceAlertObjectRequest ¶
func NewDescribeServiceAlertObjectRequest() (request *DescribeServiceAlertObjectRequest)
func (*DescribeServiceAlertObjectRequest) FromJsonString ¶
func (r *DescribeServiceAlertObjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServiceAlertObjectRequest) ToJsonString ¶
func (r *DescribeServiceAlertObjectRequest) ToJsonString() string
type DescribeServiceAlertObjectRequestParams ¶ added in v1.0.426
type DescribeServiceAlertObjectRequestParams struct { }
Predefined struct for user
type DescribeServiceAlertObjectResponse ¶
type DescribeServiceAlertObjectResponse struct { *tchttp.BaseResponse Response *DescribeServiceAlertObjectResponseParams `json:"Response"` }
func NewDescribeServiceAlertObjectResponse ¶
func NewDescribeServiceAlertObjectResponse() (response *DescribeServiceAlertObjectResponse)
func (*DescribeServiceAlertObjectResponse) FromJsonString ¶
func (r *DescribeServiceAlertObjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeServiceAlertObjectResponse) ToJsonString ¶
func (r *DescribeServiceAlertObjectResponse) ToJsonString() string
type DescribeServiceAlertObjectResponseParams ¶ added in v1.0.426
type DescribeServiceAlertObjectResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTokenRequest ¶
type DescribeTokenRequest struct { *tchttp.BaseRequest // 命名空间 Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"` }
func NewDescribeTokenRequest ¶
func NewDescribeTokenRequest() (request *DescribeTokenRequest)
func (*DescribeTokenRequest) FromJsonString ¶
func (r *DescribeTokenRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTokenRequest) ToJsonString ¶
func (r *DescribeTokenRequest) ToJsonString() string
type DescribeTokenRequestParams ¶ added in v1.0.426
type DescribeTokenRequestParams struct { // 命名空间 Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"` }
Predefined struct for user
type DescribeTokenResponse ¶
type DescribeTokenResponse struct { *tchttp.BaseResponse Response *DescribeTokenResponseParams `json:"Response"` }
func NewDescribeTokenResponse ¶
func NewDescribeTokenResponse() (response *DescribeTokenResponse)
func (*DescribeTokenResponse) FromJsonString ¶
func (r *DescribeTokenResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTokenResponse) ToJsonString ¶
func (r *DescribeTokenResponse) ToJsonString() string
type DescribeTokenResponseParams ¶ added in v1.0.426
type DescribeTokenResponseParams struct { // token Result *string `json:"Result,omitnil,omitempty" name:"Result"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user