v20190605

package
v1.0.939 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM签名/鉴权错误。
	AUTHFAILURE = "AuthFailure"

	// 操作失败。
	FAILEDOPERATION = "FailedOperation"

	// 重复添加。
	FAILEDOPERATION_REPETITIONADD = "FailedOperation.RepetitionAdd"

	// 解析域名失败。
	FAILEDOPERATION_RESOLVEDOMAINFAILED = "FailedOperation.ResolveDomainFailed"

	// 内部错误。
	INTERNALERROR = "InternalError"

	// 无效的域名。
	INVALIDPARAMETER_INVALIDDOMAIN = "InvalidParameter.InvalidDomain"

	// 无效的IP。
	INVALIDPARAMETER_INVALIDIP = "InvalidParameter.InvalidIP"

	// 无效的端口。
	INVALIDPARAMETER_INVALIDPORT = "InvalidParameter.InvalidPort"

	// 无效的监控类型。
	INVALIDPARAMETER_INVALIDSERVERTYPE = "InvalidParameter.InvalidServerType"

	// 标签不合规。
	INVALIDPARAMETER_INVALIDTAGNAME = "InvalidParameter.InvalidTagName"

	// 添加标签过多。
	INVALIDPARAMETER_TOOMANYTAG = "InvalidParameter.TooManyTag"

	// 参数取值错误。
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// 无效的通知类型。
	INVALIDPARAMETERVALUE_INVALIDNOTICETYPE = "InvalidParameterValue.InvalidNoticeType"

	// 无效的搜索类型。
	INVALIDPARAMETERVALUE_INVALIDSEARCHTYPE = "InvalidParameterValue.InvalidSearchType"

	// 套餐管理额度已满。
	LIMITEXCEEDED_ADDEXCEEDED = "LimitExceeded.AddExceeded"

	// 套餐监控额度已满。
	LIMITEXCEEDED_MONITOREXCEEDED = "LimitExceeded.MonitorExceeded"

	// 产品不存在。
	RESOURCENOTFOUND_PRODUCT = "ResourceNotFound.Product"
)
View Source
const APIVersion = "2019-06-05"

Variables

This section is empty.

Functions

This section is empty.

Types

type CertInfo

type CertInfo struct {
	// 证书sha1
	Hash *string `json:"Hash,omitnil,omitempty" name:"Hash"`

	// 证书通用名称
	CN *string `json:"CN,omitnil,omitempty" name:"CN"`

	// 备用名称
	SANs *string `json:"SANs,omitnil,omitempty" name:"SANs"`

	// 公钥算法
	KeyAlgo *string `json:"KeyAlgo,omitnil,omitempty" name:"KeyAlgo"`

	// 颁发者
	Issuer *string `json:"Issuer,omitnil,omitempty" name:"Issuer"`

	// 有效期开始
	BeginTime *string `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`

	// 有效期结束
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 剩余天数
	Days *int64 `json:"Days,omitnil,omitempty" name:"Days"`

	// 品牌
	Brand *string `json:"Brand,omitnil,omitempty" name:"Brand"`

	// 信任状态
	TrustStatus *string `json:"TrustStatus,omitnil,omitempty" name:"TrustStatus"`

	// 证书类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	CertType *string `json:"CertType,omitnil,omitempty" name:"CertType"`
}

type ChartHistogram

type ChartHistogram struct {
	// 项目名
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 项目值
	Children []*ChartNameValue `json:"Children,omitnil,omitempty" name:"Children"`
}

type ChartNameValue

type ChartNameValue struct {
	// 图表项名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 图表项值
	Value *int64 `json:"Value,omitnil,omitempty" name:"Value"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CreateDomain

func (c *Client) CreateDomain(request *CreateDomainRequest) (response *CreateDomainResponse, err error)

CreateDomain 通过域名端口添加监控

可能返回的错误码:

FAILEDOPERATION_REPETITIONADD = "FailedOperation.RepetitionAdd"
FAILEDOPERATION_RESOLVEDOMAINFAILED = "FailedOperation.ResolveDomainFailed"
INVALIDPARAMETER_INVALIDDOMAIN = "InvalidParameter.InvalidDomain"
INVALIDPARAMETER_INVALIDIP = "InvalidParameter.InvalidIP"
INVALIDPARAMETER_INVALIDPORT = "InvalidParameter.InvalidPort"
INVALIDPARAMETER_INVALIDSERVERTYPE = "InvalidParameter.InvalidServerType"
INVALIDPARAMETER_INVALIDTAGNAME = "InvalidParameter.InvalidTagName"
INVALIDPARAMETER_TOOMANYTAG = "InvalidParameter.TooManyTag"
INVALIDPARAMETERVALUE_INVALIDNOTICETYPE = "InvalidParameterValue.InvalidNoticeType"
INVALIDPARAMETERVALUE_INVALIDSEARCHTYPE = "InvalidParameterValue.InvalidSearchType"
LIMITEXCEEDED_ADDEXCEEDED = "LimitExceeded.AddExceeded"
LIMITEXCEEDED_MONITOREXCEEDED = "LimitExceeded.MonitorExceeded"
RESOURCENOTFOUND_PRODUCT = "ResourceNotFound.Product"

func (*Client) CreateDomainWithContext added in v1.0.324

func (c *Client) CreateDomainWithContext(ctx context.Context, request *CreateDomainRequest) (response *CreateDomainResponse, err error)

CreateDomain 通过域名端口添加监控

可能返回的错误码:

FAILEDOPERATION_REPETITIONADD = "FailedOperation.RepetitionAdd"
FAILEDOPERATION_RESOLVEDOMAINFAILED = "FailedOperation.ResolveDomainFailed"
INVALIDPARAMETER_INVALIDDOMAIN = "InvalidParameter.InvalidDomain"
INVALIDPARAMETER_INVALIDIP = "InvalidParameter.InvalidIP"
INVALIDPARAMETER_INVALIDPORT = "InvalidParameter.InvalidPort"
INVALIDPARAMETER_INVALIDSERVERTYPE = "InvalidParameter.InvalidServerType"
INVALIDPARAMETER_INVALIDTAGNAME = "InvalidParameter.InvalidTagName"
INVALIDPARAMETER_TOOMANYTAG = "InvalidParameter.TooManyTag"
INVALIDPARAMETERVALUE_INVALIDNOTICETYPE = "InvalidParameterValue.InvalidNoticeType"
INVALIDPARAMETERVALUE_INVALIDSEARCHTYPE = "InvalidParameterValue.InvalidSearchType"
LIMITEXCEEDED_ADDEXCEEDED = "LimitExceeded.AddExceeded"
LIMITEXCEEDED_MONITOREXCEEDED = "LimitExceeded.MonitorExceeded"
RESOURCENOTFOUND_PRODUCT = "ResourceNotFound.Product"

func (*Client) DeleteDomain

func (c *Client) DeleteDomain(request *DeleteDomainRequest) (response *DeleteDomainResponse, err error)

DeleteDomain 通过域名ID删除监控的域名

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DeleteDomainWithContext added in v1.0.324

func (c *Client) DeleteDomainWithContext(ctx context.Context, request *DeleteDomainRequest) (response *DeleteDomainResponse, err error)

DeleteDomain 通过域名ID删除监控的域名

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeDashboard

func (c *Client) DescribeDashboard(request *DescribeDashboardRequest) (response *DescribeDashboardResponse, err error)

DescribeDashboard 获取仪表盘数据

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"

func (*Client) DescribeDashboardWithContext added in v1.0.324

func (c *Client) DescribeDashboardWithContext(ctx context.Context, request *DescribeDashboardRequest) (response *DescribeDashboardResponse, err error)

DescribeDashboard 获取仪表盘数据

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"

func (*Client) DescribeDomainCerts

func (c *Client) DescribeDomainCerts(request *DescribeDomainCertsRequest) (response *DescribeDomainCertsResponse, err error)

DescribeDomainCerts 获取域名关联证书

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeDomainCertsWithContext added in v1.0.324

func (c *Client) DescribeDomainCertsWithContext(ctx context.Context, request *DescribeDomainCertsRequest) (response *DescribeDomainCertsResponse, err error)

DescribeDomainCerts 获取域名关联证书

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeDomainTags

func (c *Client) DescribeDomainTags(request *DescribeDomainTagsRequest) (response *DescribeDomainTagsResponse, err error)

DescribeDomainTags 获取账号下所有tag

可能返回的错误码:

INTERNALERROR = "InternalError"

func (*Client) DescribeDomainTagsWithContext added in v1.0.324

func (c *Client) DescribeDomainTagsWithContext(ctx context.Context, request *DescribeDomainTagsRequest) (response *DescribeDomainTagsResponse, err error)

DescribeDomainTags 获取账号下所有tag

可能返回的错误码:

INTERNALERROR = "InternalError"

func (*Client) DescribeDomains

func (c *Client) DescribeDomains(request *DescribeDomainsRequest) (response *DescribeDomainsResponse, err error)

DescribeDomains 通过searchType搜索已经添加的域名

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER_INVALIDDOMAIN = "InvalidParameter.InvalidDomain"
INVALIDPARAMETERVALUE_INVALIDSEARCHTYPE = "InvalidParameterValue.InvalidSearchType"

func (*Client) DescribeDomainsWithContext added in v1.0.324

func (c *Client) DescribeDomainsWithContext(ctx context.Context, request *DescribeDomainsRequest) (response *DescribeDomainsResponse, err error)

DescribeDomains 通过searchType搜索已经添加的域名

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER_INVALIDDOMAIN = "InvalidParameter.InvalidDomain"
INVALIDPARAMETERVALUE_INVALIDSEARCHTYPE = "InvalidParameterValue.InvalidSearchType"

func (*Client) DescribeNoticeInfo

func (c *Client) DescribeNoticeInfo(request *DescribeNoticeInfoRequest) (response *DescribeNoticeInfoResponse, err error)

DescribeNoticeInfo 获取通知额度信息

可能返回的错误码:

INTERNALERROR = "InternalError"

func (*Client) DescribeNoticeInfoWithContext added in v1.0.324

func (c *Client) DescribeNoticeInfoWithContext(ctx context.Context, request *DescribeNoticeInfoRequest) (response *DescribeNoticeInfoResponse, err error)

DescribeNoticeInfo 获取通知额度信息

可能返回的错误码:

INTERNALERROR = "InternalError"

func (*Client) ModifyDomainTags

func (c *Client) ModifyDomainTags(request *ModifyDomainTagsRequest) (response *ModifyDomainTagsResponse, err error)

ModifyDomainTags 修改域名tag

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDTAGNAME = "InvalidParameter.InvalidTagName"
INVALIDPARAMETER_TOOMANYTAG = "InvalidParameter.TooManyTag"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) ModifyDomainTagsWithContext added in v1.0.324

func (c *Client) ModifyDomainTagsWithContext(ctx context.Context, request *ModifyDomainTagsRequest) (response *ModifyDomainTagsResponse, err error)

ModifyDomainTags 修改域名tag

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDTAGNAME = "InvalidParameter.InvalidTagName"
INVALIDPARAMETER_TOOMANYTAG = "InvalidParameter.TooManyTag"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) RefreshDomain

func (c *Client) RefreshDomain(request *RefreshDomainRequest) (response *RefreshDomainResponse, err error)

RefreshDomain 强制重新检测域名

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) RefreshDomainWithContext added in v1.0.324

func (c *Client) RefreshDomainWithContext(ctx context.Context, request *RefreshDomainRequest) (response *RefreshDomainResponse, err error)

RefreshDomain 强制重新检测域名

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) ResolveDomain

func (c *Client) ResolveDomain(request *ResolveDomainRequest) (response *ResolveDomainResponse, err error)

ResolveDomain 解析域名获得多个IP地址

可能返回的错误码:

FAILEDOPERATION_RESOLVEDOMAINFAILED = "FailedOperation.ResolveDomainFailed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDDOMAIN = "InvalidParameter.InvalidDomain"

func (*Client) ResolveDomainWithContext added in v1.0.324

func (c *Client) ResolveDomainWithContext(ctx context.Context, request *ResolveDomainRequest) (response *ResolveDomainResponse, err error)

ResolveDomain 解析域名获得多个IP地址

可能返回的错误码:

FAILEDOPERATION_RESOLVEDOMAINFAILED = "FailedOperation.ResolveDomainFailed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDDOMAIN = "InvalidParameter.InvalidDomain"

type CreateDomainRequest

type CreateDomainRequest struct {
	*tchttp.BaseRequest

	// 监控的服务器类型(0:web,1:smtp,2:imap,3:pops)
	ServerType *int64 `json:"ServerType,omitnil,omitempty" name:"ServerType"`

	// 添加的域名
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// 添加的端口
	Port *string `json:"Port,omitnil,omitempty" name:"Port"`

	// 指定域名的IP
	IP *string `json:"IP,omitnil,omitempty" name:"IP"`

	// 是否开启通知告警;true:开启通知告警,false:关闭通知告警
	Notice *bool `json:"Notice,omitnil,omitempty" name:"Notice"`

	// 给域名添加标签,多个以逗号隔开
	Tags *string `json:"Tags,omitnil,omitempty" name:"Tags"`
}

func NewCreateDomainRequest

func NewCreateDomainRequest() (request *CreateDomainRequest)

func (*CreateDomainRequest) FromJsonString

func (r *CreateDomainRequest) 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 (*CreateDomainRequest) ToJsonString

func (r *CreateDomainRequest) ToJsonString() string

type CreateDomainRequestParams added in v1.0.426

type CreateDomainRequestParams struct {
	// 监控的服务器类型(0:web,1:smtp,2:imap,3:pops)
	ServerType *int64 `json:"ServerType,omitnil,omitempty" name:"ServerType"`

	// 添加的域名
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// 添加的端口
	Port *string `json:"Port,omitnil,omitempty" name:"Port"`

	// 指定域名的IP
	IP *string `json:"IP,omitnil,omitempty" name:"IP"`

	// 是否开启通知告警;true:开启通知告警,false:关闭通知告警
	Notice *bool `json:"Notice,omitnil,omitempty" name:"Notice"`

	// 给域名添加标签,多个以逗号隔开
	Tags *string `json:"Tags,omitnil,omitempty" name:"Tags"`
}

Predefined struct for user

type CreateDomainResponse

type CreateDomainResponse struct {
	*tchttp.BaseResponse
	Response *CreateDomainResponseParams `json:"Response"`
}

func NewCreateDomainResponse

func NewCreateDomainResponse() (response *CreateDomainResponse)

func (*CreateDomainResponse) FromJsonString

func (r *CreateDomainResponse) 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 (*CreateDomainResponse) ToJsonString

func (r *CreateDomainResponse) ToJsonString() string

type CreateDomainResponseParams added in v1.0.426

type CreateDomainResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DashboardResult

type DashboardResult struct {
	// 安全等级图表
	SecurityLevelPie []*ChartNameValue `json:"SecurityLevelPie,omitnil,omitempty" name:"SecurityLevelPie"`

	// 证书品牌图表
	CertBrandsPie []*ChartNameValue `json:"CertBrandsPie,omitnil,omitempty" name:"CertBrandsPie"`

	// 证书有效时间图表
	CertValidTimePie []*ChartNameValue `json:"CertValidTimePie,omitnil,omitempty" name:"CertValidTimePie"`

	// 证书类型图表
	CertTypePie []*ChartNameValue `json:"CertTypePie,omitnil,omitempty" name:"CertTypePie"`

	// ssl bugs图表
	SSLBugsLoopholeHistogram []*ChartHistogram `json:"SSLBugsLoopholeHistogram,omitnil,omitempty" name:"SSLBugsLoopholeHistogram"`

	// 合规图表
	ComplianceHistogram []*ChartHistogram `json:"ComplianceHistogram,omitnil,omitempty" name:"ComplianceHistogram"`
}

type DeleteDomainRequest

type DeleteDomainRequest struct {
	*tchttp.BaseRequest

	// 域名ID,可通过<a href="https://cloud.tencent.com/document/api/1084/49339">搜索域名</a>接口获得
	DomainId *int64 `json:"DomainId,omitnil,omitempty" name:"DomainId"`
}

func NewDeleteDomainRequest

func NewDeleteDomainRequest() (request *DeleteDomainRequest)

func (*DeleteDomainRequest) FromJsonString

func (r *DeleteDomainRequest) 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 (*DeleteDomainRequest) ToJsonString

func (r *DeleteDomainRequest) ToJsonString() string

type DeleteDomainRequestParams added in v1.0.426

type DeleteDomainRequestParams struct {
	// 域名ID,可通过<a href="https://cloud.tencent.com/document/api/1084/49339">搜索域名</a>接口获得
	DomainId *int64 `json:"DomainId,omitnil,omitempty" name:"DomainId"`
}

Predefined struct for user

type DeleteDomainResponse

type DeleteDomainResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDomainResponseParams `json:"Response"`
}

func NewDeleteDomainResponse

func NewDeleteDomainResponse() (response *DeleteDomainResponse)

func (*DeleteDomainResponse) FromJsonString

func (r *DeleteDomainResponse) 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 (*DeleteDomainResponse) ToJsonString

func (r *DeleteDomainResponse) ToJsonString() string

type DeleteDomainResponseParams added in v1.0.426

type DeleteDomainResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDashboardRequest

type DescribeDashboardRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeDashboardRequest

func NewDescribeDashboardRequest() (request *DescribeDashboardRequest)

func (*DescribeDashboardRequest) FromJsonString

func (r *DescribeDashboardRequest) 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 (*DescribeDashboardRequest) ToJsonString

func (r *DescribeDashboardRequest) ToJsonString() string

type DescribeDashboardRequestParams added in v1.0.426

type DescribeDashboardRequestParams struct {
}

Predefined struct for user

type DescribeDashboardResponse

type DescribeDashboardResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDashboardResponseParams `json:"Response"`
}

func NewDescribeDashboardResponse

func NewDescribeDashboardResponse() (response *DescribeDashboardResponse)

func (*DescribeDashboardResponse) FromJsonString

func (r *DescribeDashboardResponse) 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 (*DescribeDashboardResponse) ToJsonString

func (r *DescribeDashboardResponse) ToJsonString() string

type DescribeDashboardResponseParams added in v1.0.426

type DescribeDashboardResponseParams struct {
	// dashboard面板数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *DashboardResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDomainCertsRequest

type DescribeDomainCertsRequest struct {
	*tchttp.BaseRequest

	// 域名ID,可通过搜索域名接口获得
	DomainId *int64 `json:"DomainId,omitnil,omitempty" name:"DomainId"`
}

func NewDescribeDomainCertsRequest

func NewDescribeDomainCertsRequest() (request *DescribeDomainCertsRequest)

func (*DescribeDomainCertsRequest) FromJsonString

func (r *DescribeDomainCertsRequest) 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 (*DescribeDomainCertsRequest) ToJsonString

func (r *DescribeDomainCertsRequest) ToJsonString() string

type DescribeDomainCertsRequestParams added in v1.0.426

type DescribeDomainCertsRequestParams struct {
	// 域名ID,可通过搜索域名接口获得
	DomainId *int64 `json:"DomainId,omitnil,omitempty" name:"DomainId"`
}

Predefined struct for user

type DescribeDomainCertsResponse

type DescribeDomainCertsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDomainCertsResponseParams `json:"Response"`
}

func NewDescribeDomainCertsResponse

func NewDescribeDomainCertsResponse() (response *DescribeDomainCertsResponse)

func (*DescribeDomainCertsResponse) FromJsonString

func (r *DescribeDomainCertsResponse) 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 (*DescribeDomainCertsResponse) ToJsonString

func (r *DescribeDomainCertsResponse) ToJsonString() string

type DescribeDomainCertsResponseParams added in v1.0.426

type DescribeDomainCertsResponseParams struct {
	// 证书信息
	Data []*CertInfo `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDomainTagsRequest

type DescribeDomainTagsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeDomainTagsRequest

func NewDescribeDomainTagsRequest() (request *DescribeDomainTagsRequest)

func (*DescribeDomainTagsRequest) FromJsonString

func (r *DescribeDomainTagsRequest) 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 (*DescribeDomainTagsRequest) ToJsonString

func (r *DescribeDomainTagsRequest) ToJsonString() string

type DescribeDomainTagsRequestParams added in v1.0.426

type DescribeDomainTagsRequestParams struct {
}

Predefined struct for user

type DescribeDomainTagsResponse

type DescribeDomainTagsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDomainTagsResponseParams `json:"Response"`
}

func NewDescribeDomainTagsResponse

func NewDescribeDomainTagsResponse() (response *DescribeDomainTagsResponse)

func (*DescribeDomainTagsResponse) FromJsonString

func (r *DescribeDomainTagsResponse) 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 (*DescribeDomainTagsResponse) ToJsonString

func (r *DescribeDomainTagsResponse) ToJsonString() string

type DescribeDomainTagsResponseParams added in v1.0.426

type DescribeDomainTagsResponseParams struct {
	// Tag数组
	Data []*string `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDomains

type DescribeDomains struct {
	// 列表数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	Result []*DomainSiteInfo `json:"Result,omitnil,omitempty" name:"Result"`

	// 搜索出来的数量
	SearchTotal *int64 `json:"SearchTotal,omitnil,omitempty" name:"SearchTotal"`

	// 总数
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 允许的监控数量
	AllowMonitoringCount *int64 `json:"AllowMonitoringCount,omitnil,omitempty" name:"AllowMonitoringCount"`

	// 当前监控的数量
	CurrentMonitoringCount *int64 `json:"CurrentMonitoringCount,omitnil,omitempty" name:"CurrentMonitoringCount"`

	// 允许添加域名总数
	AllowMaxAddDomain *int64 `json:"AllowMaxAddDomain,omitnil,omitempty" name:"AllowMaxAddDomain"`
}

type DescribeDomainsRequest

type DescribeDomainsRequest struct {
	*tchttp.BaseRequest

	// 偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 获取数量
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 搜索的类型有:none,tags,grade,brand,code,hash,limit,domain。
	// 选tags,入参请填Tag,
	// 选grade,入参请填Grade,
	// 选brand,入参请填Brand,
	// 选code,入参请填Code,
	// 选hash,入参请填Hash
	// 选limit,标识只返回数量信息
	// 选domain,入参请填Domain
	SearchType *string `json:"SearchType,omitnil,omitempty" name:"SearchType"`

	// 标签,多个标签用逗号分隔
	Tag *string `json:"Tag,omitnil,omitempty" name:"Tag"`

	// 等级
	Grade *string `json:"Grade,omitnil,omitempty" name:"Grade"`

	// 品牌
	Brand *string `json:"Brand,omitnil,omitempty" name:"Brand"`

	// 混合搜索
	Code *string `json:"Code,omitnil,omitempty" name:"Code"`

	// 证书指纹
	Hash *string `json:"Hash,omitnil,omitempty" name:"Hash"`

	// 搜索图标类型
	Item *string `json:"Item,omitnil,omitempty" name:"Item"`

	// 搜索图标值
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 搜索域名
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

func NewDescribeDomainsRequest

func NewDescribeDomainsRequest() (request *DescribeDomainsRequest)

func (*DescribeDomainsRequest) FromJsonString

func (r *DescribeDomainsRequest) 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 (*DescribeDomainsRequest) ToJsonString

func (r *DescribeDomainsRequest) ToJsonString() string

type DescribeDomainsRequestParams added in v1.0.426

type DescribeDomainsRequestParams struct {
	// 偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 获取数量
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 搜索的类型有:none,tags,grade,brand,code,hash,limit,domain。
	// 选tags,入参请填Tag,
	// 选grade,入参请填Grade,
	// 选brand,入参请填Brand,
	// 选code,入参请填Code,
	// 选hash,入参请填Hash
	// 选limit,标识只返回数量信息
	// 选domain,入参请填Domain
	SearchType *string `json:"SearchType,omitnil,omitempty" name:"SearchType"`

	// 标签,多个标签用逗号分隔
	Tag *string `json:"Tag,omitnil,omitempty" name:"Tag"`

	// 等级
	Grade *string `json:"Grade,omitnil,omitempty" name:"Grade"`

	// 品牌
	Brand *string `json:"Brand,omitnil,omitempty" name:"Brand"`

	// 混合搜索
	Code *string `json:"Code,omitnil,omitempty" name:"Code"`

	// 证书指纹
	Hash *string `json:"Hash,omitnil,omitempty" name:"Hash"`

	// 搜索图标类型
	Item *string `json:"Item,omitnil,omitempty" name:"Item"`

	// 搜索图标值
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 搜索域名
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

Predefined struct for user

type DescribeDomainsResponse

type DescribeDomainsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDomainsResponseParams `json:"Response"`
}

func NewDescribeDomainsResponse

func NewDescribeDomainsResponse() (response *DescribeDomainsResponse)

func (*DescribeDomainsResponse) FromJsonString

func (r *DescribeDomainsResponse) 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 (*DescribeDomainsResponse) ToJsonString

func (r *DescribeDomainsResponse) ToJsonString() string

type DescribeDomainsResponseParams added in v1.0.426

type DescribeDomainsResponseParams struct {
	// 列表数据
	Data *DescribeDomains `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeNoticeInfoRequest

type DescribeNoticeInfoRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeNoticeInfoRequest

func NewDescribeNoticeInfoRequest() (request *DescribeNoticeInfoRequest)

func (*DescribeNoticeInfoRequest) FromJsonString

func (r *DescribeNoticeInfoRequest) 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 (*DescribeNoticeInfoRequest) ToJsonString

func (r *DescribeNoticeInfoRequest) ToJsonString() string

type DescribeNoticeInfoRequestParams added in v1.0.426

type DescribeNoticeInfoRequestParams struct {
}

Predefined struct for user

type DescribeNoticeInfoResponse

type DescribeNoticeInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNoticeInfoResponseParams `json:"Response"`
}

func NewDescribeNoticeInfoResponse

func NewDescribeNoticeInfoResponse() (response *DescribeNoticeInfoResponse)

func (*DescribeNoticeInfoResponse) FromJsonString

func (r *DescribeNoticeInfoResponse) 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 (*DescribeNoticeInfoResponse) ToJsonString

func (r *DescribeNoticeInfoResponse) ToJsonString() string

type DescribeNoticeInfoResponseParams added in v1.0.426

type DescribeNoticeInfoResponseParams struct {
	// 通知信息结果
	Data *NoticeInfoResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DomainSiteInfo

type DomainSiteInfo struct {
	// ID标识
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 域名
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// IP地址
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// 是否自动获取IP:true:是,false:否
	AutoIP *bool `json:"AutoIP,omitnil,omitempty" name:"AutoIP"`

	// 评级
	// "A+",
	//  "A",
	// "A-",
	// "B",
	// "C",
	// "D",
	//  "E",
	//  "F",
	// "T",
	Grade *string `json:"Grade,omitnil,omitempty" name:"Grade"`

	// 证书品牌
	Brand *string `json:"Brand,omitnil,omitempty" name:"Brand"`

	// 监控服务类型
	// 0 :Web
	// 1: SMTP
	// 2: IMAP
	// 3: POP3
	ServerType *int64 `json:"ServerType,omitnil,omitempty" name:"ServerType"`

	// 评级Code
	// 0:"unknown",
	// 1:"A+",
	// 2: "A",
	// 3:"A-",
	// 4:"B",
	// 5:"C",
	// 6:"D",
	// 7: "E",
	// 8: "F",
	// 9:"T",
	GradeCode *int64 `json:"GradeCode,omitnil,omitempty" name:"GradeCode"`

	// 是否监控告警;true:是,false:否
	Notice *bool `json:"Notice,omitnil,omitempty" name:"Notice"`

	// 账号域名关系ID
	AccountDomainId *int64 `json:"AccountDomainId,omitnil,omitempty" name:"AccountDomainId"`

	// 标签
	// 注意:此字段可能返回 null,表示取不到有效值。
	Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"`

	// 域名状态:
	// 连接异常,
	// 证书已过期,
	// 证书已吊销,
	// 证书黑名单,
	// 证书域名不匹配,
	// 证书不可信,
	// 证书密钥弱,
	// 证书即将过期,少于7天,
	// 证书即将过期,少于30天,
	// 正常,
	// 部分异常
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 域名端口
	Port *string `json:"Port,omitnil,omitempty" name:"Port"`
}

type LimitInfo

type LimitInfo struct {
	// 通知类型:
	// limit_emai:邮件
	// limit_wechat:微信
	// limit_phone:手机
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// 总量
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 已发送
	Sent *int64 `json:"Sent,omitnil,omitempty" name:"Sent"`
}

type ModifyDomainTagsRequest

type ModifyDomainTagsRequest struct {
	*tchttp.BaseRequest

	// 账号下域名ID
	AccountDomainId *int64 `json:"AccountDomainId,omitnil,omitempty" name:"AccountDomainId"`

	// 更新后的tag,多个以逗号隔开
	Tags *string `json:"Tags,omitnil,omitempty" name:"Tags"`
}

func NewModifyDomainTagsRequest

func NewModifyDomainTagsRequest() (request *ModifyDomainTagsRequest)

func (*ModifyDomainTagsRequest) FromJsonString

func (r *ModifyDomainTagsRequest) 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 (*ModifyDomainTagsRequest) ToJsonString

func (r *ModifyDomainTagsRequest) ToJsonString() string

type ModifyDomainTagsRequestParams added in v1.0.426

type ModifyDomainTagsRequestParams struct {
	// 账号下域名ID
	AccountDomainId *int64 `json:"AccountDomainId,omitnil,omitempty" name:"AccountDomainId"`

	// 更新后的tag,多个以逗号隔开
	Tags *string `json:"Tags,omitnil,omitempty" name:"Tags"`
}

Predefined struct for user

type ModifyDomainTagsResponse

type ModifyDomainTagsResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDomainTagsResponseParams `json:"Response"`
}

func NewModifyDomainTagsResponse

func NewModifyDomainTagsResponse() (response *ModifyDomainTagsResponse)

func (*ModifyDomainTagsResponse) FromJsonString

func (r *ModifyDomainTagsResponse) 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 (*ModifyDomainTagsResponse) ToJsonString

func (r *ModifyDomainTagsResponse) ToJsonString() string

type ModifyDomainTagsResponseParams added in v1.0.426

type ModifyDomainTagsResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type NoticeInfoResult

type NoticeInfoResult struct {
	// 通知ID
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 通知开关信息;0:关闭;15开启
	NoticeType *int64 `json:"NoticeType,omitnil,omitempty" name:"NoticeType"`

	// 额度信息
	LimitInfos []*LimitInfo `json:"LimitInfos,omitnil,omitempty" name:"LimitInfos"`
}

type RefreshDomainRequest

type RefreshDomainRequest struct {
	*tchttp.BaseRequest

	// 域名列表中的ID,可通过搜索域名接口获得
	DomainId *int64 `json:"DomainId,omitnil,omitempty" name:"DomainId"`
}

func NewRefreshDomainRequest

func NewRefreshDomainRequest() (request *RefreshDomainRequest)

func (*RefreshDomainRequest) FromJsonString

func (r *RefreshDomainRequest) 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 (*RefreshDomainRequest) ToJsonString

func (r *RefreshDomainRequest) ToJsonString() string

type RefreshDomainRequestParams added in v1.0.426

type RefreshDomainRequestParams struct {
	// 域名列表中的ID,可通过搜索域名接口获得
	DomainId *int64 `json:"DomainId,omitnil,omitempty" name:"DomainId"`
}

Predefined struct for user

type RefreshDomainResponse

type RefreshDomainResponse struct {
	*tchttp.BaseResponse
	Response *RefreshDomainResponseParams `json:"Response"`
}

func NewRefreshDomainResponse

func NewRefreshDomainResponse() (response *RefreshDomainResponse)

func (*RefreshDomainResponse) FromJsonString

func (r *RefreshDomainResponse) 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 (*RefreshDomainResponse) ToJsonString

func (r *RefreshDomainResponse) ToJsonString() string

type RefreshDomainResponseParams added in v1.0.426

type RefreshDomainResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResolveDomainRequest

type ResolveDomainRequest struct {
	*tchttp.BaseRequest

	// 域名
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

func NewResolveDomainRequest

func NewResolveDomainRequest() (request *ResolveDomainRequest)

func (*ResolveDomainRequest) FromJsonString

func (r *ResolveDomainRequest) 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 (*ResolveDomainRequest) ToJsonString

func (r *ResolveDomainRequest) ToJsonString() string

type ResolveDomainRequestParams added in v1.0.426

type ResolveDomainRequestParams struct {
	// 域名
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

Predefined struct for user

type ResolveDomainResponse

type ResolveDomainResponse struct {
	*tchttp.BaseResponse
	Response *ResolveDomainResponseParams `json:"Response"`
}

func NewResolveDomainResponse

func NewResolveDomainResponse() (response *ResolveDomainResponse)

func (*ResolveDomainResponse) FromJsonString

func (r *ResolveDomainResponse) 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 (*ResolveDomainResponse) ToJsonString

func (r *ResolveDomainResponse) ToJsonString() string

type ResolveDomainResponseParams added in v1.0.426

type ResolveDomainResponseParams struct {
	// 响应数据
	Data []*string `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

Jump to

Keyboard shortcuts

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