v20191205

package
v3.0.614+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// You do not have permission to perform this operation.
	FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"

	// Failed to cancel the order.
	FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"

	// Failed to delete the certificate because it has been issued.
	FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"

	// Free certificates cannot be deleted within 1 hour after being applied for.
	FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"

	// Failed to get order information. Try again later.
	FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"

	// The certificate already exists.
	FAILEDOPERATION_CERTIFICATEEXISTS = "FailedOperation.CertificateExists"

	// The certificate is invalid.
	FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"

	// The certificate and the private key do not match.
	FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch"

	// The certificate does not exist.
	FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"

	// The number of free certificates exceeds the maximum value.
	FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"

	// The certificate status is incorrect.
	FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"

	// Incorrect parameters.
	FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"

	// The CA system is busy. Try again later.
	FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"

	// You do not have the permission to operate on this project.
	FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"

	// You have not completed the identity verification.
	FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"

	// This order has already been replaced.
	FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"

	// Failed to reissue a certificate.
	FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"

	// Internal error.
	INTERNALERROR = "InternalError"
)
View Source
const APIVersion = "2019-12-05"

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyCertificateRequest

type ApplyCertificateRequest struct {
	*tchttp.BaseRequest

	// Validation type. `DNS_AUTO`: automatic DNS validation; `DNS`: manual DNS validation; `FILE`: file validation
	DvAuthMethod *string `json:"DvAuthMethod,omitempty" name:"DvAuthMethod"`

	// Domain name
	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Certificate type. Currently, the only supported value is 2, which indicates TrustAsia TLS RSA CA.
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`

	// Email address
	ContactEmail *string `json:"ContactEmail,omitempty" name:"ContactEmail"`

	// Mobile number
	ContactPhone *string `json:"ContactPhone,omitempty" name:"ContactPhone"`

	// Validity period. The default value is 12 months, which is the only supported value currently.
	ValidityPeriod *string `json:"ValidityPeriod,omitempty" name:"ValidityPeriod"`

	// Encryption algorithm. Only RSA is supported.
	CsrEncryptAlgo *string `json:"CsrEncryptAlgo,omitempty" name:"CsrEncryptAlgo"`

	// Key pair parameter. Only the 2048-bit key pair is supported.
	CsrKeyParameter *string `json:"CsrKeyParameter,omitempty" name:"CsrKeyParameter"`

	// CSR encryption password
	CsrKeyPassword *string `json:"CsrKeyPassword,omitempty" name:"CsrKeyPassword"`

	// Alias
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// Original certificate ID, which is used to apply for a new certificate.
	OldCertificateId *string `json:"OldCertificateId,omitempty" name:"OldCertificateId"`
}

func NewApplyCertificateRequest

func NewApplyCertificateRequest() (request *ApplyCertificateRequest)

func (*ApplyCertificateRequest) FromJsonString

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

func (r *ApplyCertificateRequest) ToJsonString() string

type ApplyCertificateRequestParams

type ApplyCertificateRequestParams struct {
	// Validation type. `DNS_AUTO`: automatic DNS validation; `DNS`: manual DNS validation; `FILE`: file validation
	DvAuthMethod *string `json:"DvAuthMethod,omitempty" name:"DvAuthMethod"`

	// Domain name
	DomainName *string `json:"DomainName,omitempty" name:"DomainName"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Certificate type. Currently, the only supported value is 2, which indicates TrustAsia TLS RSA CA.
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`

	// Email address
	ContactEmail *string `json:"ContactEmail,omitempty" name:"ContactEmail"`

	// Mobile number
	ContactPhone *string `json:"ContactPhone,omitempty" name:"ContactPhone"`

	// Validity period. The default value is 12 months, which is the only supported value currently.
	ValidityPeriod *string `json:"ValidityPeriod,omitempty" name:"ValidityPeriod"`

	// Encryption algorithm. Only RSA is supported.
	CsrEncryptAlgo *string `json:"CsrEncryptAlgo,omitempty" name:"CsrEncryptAlgo"`

	// Key pair parameter. Only the 2048-bit key pair is supported.
	CsrKeyParameter *string `json:"CsrKeyParameter,omitempty" name:"CsrKeyParameter"`

	// CSR encryption password
	CsrKeyPassword *string `json:"CsrKeyPassword,omitempty" name:"CsrKeyPassword"`

	// Alias
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// Original certificate ID, which is used to apply for a new certificate.
	OldCertificateId *string `json:"OldCertificateId,omitempty" name:"OldCertificateId"`
}

Predefined struct for user

type ApplyCertificateResponse

type ApplyCertificateResponse struct {
	*tchttp.BaseResponse
	Response *ApplyCertificateResponseParams `json:"Response"`
}

func NewApplyCertificateResponse

func NewApplyCertificateResponse() (response *ApplyCertificateResponse)

func (*ApplyCertificateResponse) FromJsonString

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

func (r *ApplyCertificateResponse) ToJsonString() string

type ApplyCertificateResponseParams

type ApplyCertificateResponseParams struct {
	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CancelCertificateOrderRequest

type CancelCertificateOrderRequest struct {
	*tchttp.BaseRequest

	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}

func NewCancelCertificateOrderRequest

func NewCancelCertificateOrderRequest() (request *CancelCertificateOrderRequest)

func (*CancelCertificateOrderRequest) FromJsonString

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

func (r *CancelCertificateOrderRequest) ToJsonString() string

type CancelCertificateOrderRequestParams

type CancelCertificateOrderRequestParams struct {
	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}

Predefined struct for user

type CancelCertificateOrderResponse

type CancelCertificateOrderResponse struct {
	*tchttp.BaseResponse
	Response *CancelCertificateOrderResponseParams `json:"Response"`
}

func NewCancelCertificateOrderResponse

func NewCancelCertificateOrderResponse() (response *CancelCertificateOrderResponse)

func (*CancelCertificateOrderResponse) FromJsonString

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

func (r *CancelCertificateOrderResponse) ToJsonString() string

type CancelCertificateOrderResponseParams

type CancelCertificateOrderResponseParams struct {
	// ID of the certificate whose order has been successfully cancelled
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type CertificateExtra

type CertificateExtra struct {
	// Number of domain names which can be associated with the certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	DomainNumber *string `json:"DomainNumber,omitempty" name:"DomainNumber"`

	// Original certificate ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	OriginCertificateId *string `json:"OriginCertificateId,omitempty" name:"OriginCertificateId"`

	// Original ID of the new certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	ReplacedBy *string `json:"ReplacedBy,omitempty" name:"ReplacedBy"`

	// New ID of the new certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	ReplacedFor *string `json:"ReplacedFor,omitempty" name:"ReplacedFor"`

	// Certificate ID of the new order
	// Note: this field may return null, indicating that no valid values can be obtained.
	RenewOrder *string `json:"RenewOrder,omitempty" name:"RenewOrder"`
}

type Certificates

type Certificates struct {
	// User UIN
	// Note: this field may return null, indicating that no valid values can be obtained.
	OwnerUin *string `json:"OwnerUin,omitempty" name:"OwnerUin"`

	// Project ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"`

	// Certificate source
	// Note: this field may return null, indicating that no valid values can be obtained.
	From *string `json:"From,omitempty" name:"From"`

	// Certificate plan type. `1`: GeoTrust DV SSL CA - G3; `2`: TrustAsia TLS RSA CA; `3`: SecureSite EV Pro; `4`: SecureSite EV; `5`: SecureSite OV Pro; `6`: SecureSite OV; `7`: SecureSite OV wildcard; `8`: GeoTrust EV; `9`: GeoTrust OV; `10`: GeoTrust OV wildcard; `11`: TrustAsia DV multi-domain; `12`: TrustAsia DV wildcard; `13`: TrustAsia OV wildcard D3; `14`: TrustAsia OV D3; `15`: TrustAsia OV multi-domain D3; `16`: TrustAsia EV D3; `17`: TrustAsia EV multi-domain D3; `18`: GlobalSign OV; `19`: GlobalSign OV wildcard; `20`: GlobalSign EV; `21`: TrustAsia OV wildcard multi-domain D3; `22`: GlobalSign OV multi-domain; `23`: GlobalSign OV wildcard multi-domain; `24`: GlobalSign EV multi-domain
	// Note: this field may return null, indicating that no valid values can be obtained.
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`

	// Certificate type. `CA`: client certificate; `SVR`: server certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertificateType *string `json:"CertificateType,omitempty" name:"CertificateType"`

	// Issuer
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProductZhName *string `json:"ProductZhName,omitempty" name:"ProductZhName"`

	// Primary domain name
	// Note: this field may return null, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Alias
	// Note: this field may return null, indicating that no valid values can be obtained.
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// Status value. `0`: reviewing; `1`: approved; `2`: unapproved; `3`: expired; `4`: DNS record added; `5`: OV/EV certificate, information to be submitted; `6`: canceling order; `7`: canceled; `8`: information submitted, pending confirmation letter upload
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Extended information of the certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertificateExtra *CertificateExtra `json:"CertificateExtra,omitempty" name:"CertificateExtra"`

	// Vulnerability scanning status. `INACTIVE`: not activated; `ACTIVE`: activated
	// Note: this field may return null, indicating that no valid values can be obtained.
	VulnerabilityStatus *string `json:"VulnerabilityStatus,omitempty" name:"VulnerabilityStatus"`

	// Status information
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusMsg *string `json:"StatusMsg,omitempty" name:"StatusMsg"`

	// Validation type. `DNS_AUTO`: automatic DNS validation; `DNS`: manual DNS validation; `FILE`: file validation; `EMAIL`: email validation
	// Note: this field may return null, indicating that no valid values can be obtained.
	VerifyType *string `json:"VerifyType,omitempty" name:"VerifyType"`

	// Time when the certificate takes effect
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertBeginTime *string `json:"CertBeginTime,omitempty" name:"CertBeginTime"`

	// Time when the certificate expires
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertEndTime *string `json:"CertEndTime,omitempty" name:"CertEndTime"`

	// Validity period of the certificate, in months
	// Note: this field may return null, indicating that no valid values can be obtained.
	ValidityPeriod *string `json:"ValidityPeriod,omitempty" name:"ValidityPeriod"`

	// Creation time
	// Note: this field may return null, indicating that no valid values can be obtained.
	InsertTime *string `json:"InsertTime,omitempty" name:"InsertTime"`

	// Certificate ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Domain names associated with the certificate (including the primary domain name)
	// Note: this field may return null, indicating that no valid values can be obtained.
	SubjectAltName []*string `json:"SubjectAltName,omitempty" name:"SubjectAltName"`

	// Certificate type name
	// Note: this field may return null, indicating that no valid values can be obtained.
	PackageTypeName *string `json:"PackageTypeName,omitempty" name:"PackageTypeName"`

	// Status description
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusName *string `json:"StatusName,omitempty" name:"StatusName"`

	// Whether the customer is a VIP customer
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsVip *bool `json:"IsVip,omitempty" name:"IsVip"`

	// Whether the certificate is a DV certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsDv *bool `json:"IsDv,omitempty" name:"IsDv"`

	// Whether the certificate is a wildcard certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsWildcard *bool `json:"IsWildcard,omitempty" name:"IsWildcard"`

	// Whether the vulnerability scanning feature is enabled
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsVulnerability *bool `json:"IsVulnerability,omitempty" name:"IsVulnerability"`

	// Whether the certificate can be reissued
	// Note: this field may return null, indicating that no valid values can be obtained.
	RenewAble *bool `json:"RenewAble,omitempty" name:"RenewAble"`

	// Project information
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProjectInfo *ProjectInfo `json:"ProjectInfo,omitempty" name:"ProjectInfo"`

	// Associated Tencent Cloud services. Currently, this parameter is unavailable.
	// Note: this field may return null, indicating that no valid values can be obtained.
	BoundResource []*string `json:"BoundResource,omitempty" name:"BoundResource"`

	// Whether the certificate can be deployed
	// Note: this field may return null, indicating that no valid values can be obtained.
	Deployable *bool `json:"Deployable,omitempty" name:"Deployable"`

	// List of tags
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Tags []*Tags `json:"Tags,omitempty" name:"Tags"`
}

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) ApplyCertificate

func (c *Client) ApplyCertificate(request *ApplyCertificateRequest) (response *ApplyCertificateResponse, err error)

ApplyCertificate This API is used to apply for a free certificate.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
INTERNALERROR = "InternalError"

func (*Client) ApplyCertificateWithContext

func (c *Client) ApplyCertificateWithContext(ctx context.Context, request *ApplyCertificateRequest) (response *ApplyCertificateResponse, err error)

ApplyCertificate This API is used to apply for a free certificate.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
INTERNALERROR = "InternalError"

func (*Client) CancelCertificateOrder

func (c *Client) CancelCertificateOrder(request *CancelCertificateOrderRequest) (response *CancelCertificateOrderResponse, err error)

CancelCertificateOrder This API is used to cancel a certificate order.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"

func (*Client) CancelCertificateOrderWithContext

func (c *Client) CancelCertificateOrderWithContext(ctx context.Context, request *CancelCertificateOrderRequest) (response *CancelCertificateOrderResponse, err error)

CancelCertificateOrder This API is used to cancel a certificate order.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"

func (*Client) CommitCertificateInformation

func (c *Client) CommitCertificateInformation(request *CommitCertificateInformationRequest) (response *CommitCertificateInformationResponse, err error)

CommitCertificateInformation This API is used to submit a certificate order.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"

func (*Client) CommitCertificateInformationWithContext

func (c *Client) CommitCertificateInformationWithContext(ctx context.Context, request *CommitCertificateInformationRequest) (response *CommitCertificateInformationResponse, err error)

CommitCertificateInformation This API is used to submit a certificate order.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"

func (*Client) DeleteCertificate

func (c *Client) DeleteCertificate(request *DeleteCertificateRequest) (response *DeleteCertificateResponse, err error)

DeleteCertificate This API is used to delete a certificate.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
INTERNALERROR = "InternalError"

func (*Client) DeleteCertificateWithContext

func (c *Client) DeleteCertificateWithContext(ctx context.Context, request *DeleteCertificateRequest) (response *DeleteCertificateResponse, err error)

DeleteCertificate This API is used to delete a certificate.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
INTERNALERROR = "InternalError"

func (*Client) DescribeCertificate

func (c *Client) DescribeCertificate(request *DescribeCertificateRequest) (response *DescribeCertificateResponse, err error)

DescribeCertificate This API is used to get certificate information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
INTERNALERROR = "InternalError"

func (*Client) DescribeCertificateDetail

func (c *Client) DescribeCertificateDetail(request *DescribeCertificateDetailRequest) (response *DescribeCertificateDetailResponse, err error)

DescribeCertificateDetail This API is used to get certificate details.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"

func (*Client) DescribeCertificateDetailWithContext

func (c *Client) DescribeCertificateDetailWithContext(ctx context.Context, request *DescribeCertificateDetailRequest) (response *DescribeCertificateDetailResponse, err error)

DescribeCertificateDetail This API is used to get certificate details.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"

func (*Client) DescribeCertificateOperateLogs

func (c *Client) DescribeCertificateOperateLogs(request *DescribeCertificateOperateLogsRequest) (response *DescribeCertificateOperateLogsResponse, err error)

DescribeCertificateOperateLogs This API is used to get certificate operation logs in the current account.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"

func (*Client) DescribeCertificateOperateLogsWithContext

func (c *Client) DescribeCertificateOperateLogsWithContext(ctx context.Context, request *DescribeCertificateOperateLogsRequest) (response *DescribeCertificateOperateLogsResponse, err error)

DescribeCertificateOperateLogs This API is used to get certificate operation logs in the current account.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"

func (*Client) DescribeCertificateWithContext

func (c *Client) DescribeCertificateWithContext(ctx context.Context, request *DescribeCertificateRequest) (response *DescribeCertificateResponse, err error)

DescribeCertificate This API is used to get certificate information.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
INTERNALERROR = "InternalError"

func (*Client) DescribeCertificates

func (c *Client) DescribeCertificates(request *DescribeCertificatesRequest) (response *DescribeCertificatesResponse, err error)

DescribeCertificates This API is used to get the certificate list.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
INTERNALERROR = "InternalError"

func (*Client) DescribeCertificatesWithContext

func (c *Client) DescribeCertificatesWithContext(ctx context.Context, request *DescribeCertificatesRequest) (response *DescribeCertificatesResponse, err error)

DescribeCertificates This API is used to get the certificate list.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
INTERNALERROR = "InternalError"

func (*Client) DownloadCertificate

func (c *Client) DownloadCertificate(request *DownloadCertificateRequest) (response *DownloadCertificateResponse, err error)

DownloadCertificate This API is used to download a certificate.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
INTERNALERROR = "InternalError"

func (*Client) DownloadCertificateWithContext

func (c *Client) DownloadCertificateWithContext(ctx context.Context, request *DownloadCertificateRequest) (response *DownloadCertificateResponse, err error)

DownloadCertificate This API is used to download a certificate.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
INTERNALERROR = "InternalError"

func (*Client) ModifyCertificateAlias

func (c *Client) ModifyCertificateAlias(request *ModifyCertificateAliasRequest) (response *ModifyCertificateAliasResponse, err error)

ModifyCertificateAlias This API is used to modify a certificate alias by passing in the certificate ID and new alias.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"

func (*Client) ModifyCertificateAliasWithContext

func (c *Client) ModifyCertificateAliasWithContext(ctx context.Context, request *ModifyCertificateAliasRequest) (response *ModifyCertificateAliasResponse, err error)

ModifyCertificateAlias This API is used to modify a certificate alias by passing in the certificate ID and new alias.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"

func (*Client) ModifyCertificateProject

func (c *Client) ModifyCertificateProject(request *ModifyCertificateProjectRequest) (response *ModifyCertificateProjectResponse, err error)

ModifyCertificateProject This API is used to modify the projects of multiple certificates.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"

func (*Client) ModifyCertificateProjectWithContext

func (c *Client) ModifyCertificateProjectWithContext(ctx context.Context, request *ModifyCertificateProjectRequest) (response *ModifyCertificateProjectResponse, err error)

ModifyCertificateProject This API is used to modify the projects of multiple certificates.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"

func (*Client) ReplaceCertificate

func (c *Client) ReplaceCertificate(request *ReplaceCertificateRequest) (response *ReplaceCertificateResponse, err error)

ReplaceCertificate This API is used to reissue a certificate. Note that if you have applied for a free certificate, only an RSA-2048 certificate will be reissued, and the certificate can be reissued only once.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
INTERNALERROR = "InternalError"

func (*Client) ReplaceCertificateWithContext

func (c *Client) ReplaceCertificateWithContext(ctx context.Context, request *ReplaceCertificateRequest) (response *ReplaceCertificateResponse, err error)

ReplaceCertificate This API is used to reissue a certificate. Note that if you have applied for a free certificate, only an RSA-2048 certificate will be reissued, and the certificate can be reissued only once.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
INTERNALERROR = "InternalError"

func (*Client) SubmitCertificateInformation

func (c *Client) SubmitCertificateInformation(request *SubmitCertificateInformationRequest) (response *SubmitCertificateInformationResponse, err error)

SubmitCertificateInformation This API is used to submit certificate information.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"

func (*Client) SubmitCertificateInformationWithContext

func (c *Client) SubmitCertificateInformationWithContext(ctx context.Context, request *SubmitCertificateInformationRequest) (response *SubmitCertificateInformationResponse, err error)

SubmitCertificateInformation This API is used to submit certificate information.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"

func (*Client) UploadCertificate

func (c *Client) UploadCertificate(request *UploadCertificateRequest) (response *UploadCertificateResponse, err error)

UploadCertificate This API is used to upload a certificate.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEEXISTS = "FailedOperation.CertificateExists"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
INTERNALERROR = "InternalError"

func (*Client) UploadCertificateWithContext

func (c *Client) UploadCertificateWithContext(ctx context.Context, request *UploadCertificateRequest) (response *UploadCertificateResponse, err error)

UploadCertificate This API is used to upload a certificate.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEEXISTS = "FailedOperation.CertificateExists"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
INTERNALERROR = "InternalError"

type CommitCertificateInformationRequest

type CommitCertificateInformationRequest struct {
	*tchttp.BaseRequest

	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}

func NewCommitCertificateInformationRequest

func NewCommitCertificateInformationRequest() (request *CommitCertificateInformationRequest)

func (*CommitCertificateInformationRequest) FromJsonString

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

func (r *CommitCertificateInformationRequest) ToJsonString() string

type CommitCertificateInformationRequestParams

type CommitCertificateInformationRequestParams struct {
	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}

Predefined struct for user

type CommitCertificateInformationResponse

type CommitCertificateInformationResponse struct {
	*tchttp.BaseResponse
	Response *CommitCertificateInformationResponseParams `json:"Response"`
}

func NewCommitCertificateInformationResponse

func NewCommitCertificateInformationResponse() (response *CommitCertificateInformationResponse)

func (*CommitCertificateInformationResponse) FromJsonString

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

func (r *CommitCertificateInformationResponse) ToJsonString() string

type CommitCertificateInformationResponseParams

type CommitCertificateInformationResponseParams struct {
	// TrustAsia order ID
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// Certificate status. `0`: reviewing; `1`: approved; `2`: unapproved; `3`: expired; `4`: DNS record added; `5`: enterprise-grade certificate, pending submission; `6`: canceling order; `7`: canceled; `8`: information submitted, pending confirmation letter upload; `9`: revoking certificate; `10`: revoked; `11`: reissuing; `12`: pending revocation confirmation letter upload
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteCertificateRequest

type DeleteCertificateRequest struct {
	*tchttp.BaseRequest

	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}

func NewDeleteCertificateRequest

func NewDeleteCertificateRequest() (request *DeleteCertificateRequest)

func (*DeleteCertificateRequest) FromJsonString

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

func (r *DeleteCertificateRequest) ToJsonString() string

type DeleteCertificateRequestParams

type DeleteCertificateRequestParams struct {
	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}

Predefined struct for user

type DeleteCertificateResponse

type DeleteCertificateResponse struct {
	*tchttp.BaseResponse
	Response *DeleteCertificateResponseParams `json:"Response"`
}

func NewDeleteCertificateResponse

func NewDeleteCertificateResponse() (response *DeleteCertificateResponse)

func (*DeleteCertificateResponse) FromJsonString

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

func (r *DeleteCertificateResponse) ToJsonString() string

type DeleteCertificateResponseParams

type DeleteCertificateResponseParams struct {
	// Deletion result
	DeleteResult *bool `json:"DeleteResult,omitempty" name:"DeleteResult"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCertificateDetailRequest

type DescribeCertificateDetailRequest struct {
	*tchttp.BaseRequest

	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}

func NewDescribeCertificateDetailRequest

func NewDescribeCertificateDetailRequest() (request *DescribeCertificateDetailRequest)

func (*DescribeCertificateDetailRequest) FromJsonString

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

func (r *DescribeCertificateDetailRequest) ToJsonString() string

type DescribeCertificateDetailRequestParams

type DescribeCertificateDetailRequestParams struct {
	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}

Predefined struct for user

type DescribeCertificateDetailResponse

type DescribeCertificateDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCertificateDetailResponseParams `json:"Response"`
}

func NewDescribeCertificateDetailResponse

func NewDescribeCertificateDetailResponse() (response *DescribeCertificateDetailResponse)

func (*DescribeCertificateDetailResponse) FromJsonString

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

func (r *DescribeCertificateDetailResponse) ToJsonString() string

type DescribeCertificateDetailResponseParams

type DescribeCertificateDetailResponseParams struct {
	// User UIN
	// Note: this field may return null, indicating that no valid values can be obtained.
	OwnerUin *string `json:"OwnerUin,omitempty" name:"OwnerUin"`

	// Project ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"`

	// Certificate source. `trustasia`: TrustAsia; `upload`: certificate uploaded by users
	// Note: this field may return null, indicating that no valid values can be obtained.
	From *string `json:"From,omitempty" name:"From"`

	// Certificate type. `CA`: client certificate; `SVR`: server certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertificateType *string `json:"CertificateType,omitempty" name:"CertificateType"`

	// Certificate plan type. `1`: GeoTrust DV SSL CA - G3; `2`: TrustAsia TLS RSA CA; `3`: SecureSite EV Pro; `4`: SecureSite EV; `5`: SecureSite OV Pro; `6`: SecureSite OV; `7`: SecureSite OV wildcard; `8`: GeoTrust EV; `9`: GeoTrust OV; `10`: GeoTrust OV wildcard; `11`: TrustAsia DV multi-domain; `12`: TrustAsia DV wildcard; `13`: TrustAsia OV wildcard D3; `14`: TrustAsia OV D3; `15`: TrustAsia OV multi-domain D3; `16`: TrustAsia EV D3; `17`: TrustAsia EV multi-domain D3; `18`: GlobalSign OV; `19`: GlobalSign OV wildcard; `20`: GlobalSign EV; `21`: TrustAsia OV wildcard multi-domain D3; `22`: GlobalSign OV multi-domain; `23`: GlobalSign OV wildcard multi-domain; `24`: GlobalSign EV multi-domain
	// Note: this field may return null, indicating that no valid values can be obtained.
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`

	// Issuer
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProductZhName *string `json:"ProductZhName,omitempty" name:"ProductZhName"`

	// Domain name
	// Note: this field may return null, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Alias
	// Note: this field may return null, indicating that no valid values can be obtained.
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// Certificate status. `0`: reviewing; `1`: approved; `2`: unapproved; `3`: expired; `4`: DNS record added; `5`: enterprise-grade certificate, pending submission; `6`: canceling order; `7`: canceled; `8`: information submitted, pending confirmation letter upload; `9`: revoking certificate; `10`: revoked; `11`: reissuing; `12`: pending revocation confirmation letter upload
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Status information
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusMsg *string `json:"StatusMsg,omitempty" name:"StatusMsg"`

	// Validation type. `DNS_AUTO`: automatic DNS validation; `DNS`: manual DNS validation; `FILE`: file validation; `EMAIL`: email validation
	// Note: this field may return null, indicating that no valid values can be obtained.
	VerifyType *string `json:"VerifyType,omitempty" name:"VerifyType"`

	// Vulnerability scanning status
	// Note: this field may return null, indicating that no valid values can be obtained.
	VulnerabilityStatus *string `json:"VulnerabilityStatus,omitempty" name:"VulnerabilityStatus"`

	// Time when the certificate takes effect
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertBeginTime *string `json:"CertBeginTime,omitempty" name:"CertBeginTime"`

	// Time when the certificate expires
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertEndTime *string `json:"CertEndTime,omitempty" name:"CertEndTime"`

	// Validity period of the certificate, in months
	// Note: this field may return null, indicating that no valid values can be obtained.
	ValidityPeriod *string `json:"ValidityPeriod,omitempty" name:"ValidityPeriod"`

	// Application time
	// Note: this field may return null, indicating that no valid values can be obtained.
	InsertTime *string `json:"InsertTime,omitempty" name:"InsertTime"`

	// Order ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// Extended information of the certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertificateExtra *CertificateExtra `json:"CertificateExtra,omitempty" name:"CertificateExtra"`

	// Private key of the certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertificatePrivateKey *string `json:"CertificatePrivateKey,omitempty" name:"CertificatePrivateKey"`

	// Public key of the certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertificatePublicKey *string `json:"CertificatePublicKey,omitempty" name:"CertificatePublicKey"`

	// DV authentication information
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthDetail *DvAuthDetail `json:"DvAuthDetail,omitempty" name:"DvAuthDetail"`

	// Vulnerability scanning assessment report
	// Note: this field may return null, indicating that no valid values can be obtained.
	VulnerabilityReport *string `json:"VulnerabilityReport,omitempty" name:"VulnerabilityReport"`

	// Certificate ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Certificate type name
	// Note: this field may return null, indicating that no valid values can be obtained.
	TypeName *string `json:"TypeName,omitempty" name:"TypeName"`

	// Status description
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusName *string `json:"StatusName,omitempty" name:"StatusName"`

	// Domain names associated with the certificate (including the primary domain name)
	// Note: this field may return null, indicating that no valid values can be obtained.
	SubjectAltName []*string `json:"SubjectAltName,omitempty" name:"SubjectAltName"`

	// Whether the customer is a VIP customer
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsVip *bool `json:"IsVip,omitempty" name:"IsVip"`

	// Whether the certificate is a wildcard certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsWildcard *bool `json:"IsWildcard,omitempty" name:"IsWildcard"`

	// Whether the certificate is a DV certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsDv *bool `json:"IsDv,omitempty" name:"IsDv"`

	// Whether the vulnerability scanning feature is enabled
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsVulnerability *bool `json:"IsVulnerability,omitempty" name:"IsVulnerability"`

	// Submitted data
	// Note: this field may return null, indicating that no valid values can be obtained.
	SubmittedData *SubmittedData `json:"SubmittedData,omitempty" name:"SubmittedData"`

	// Whether the certificate can be reissued
	// Note: this field may return null, indicating that no valid values can be obtained.
	RenewAble *bool `json:"RenewAble,omitempty" name:"RenewAble"`

	// Whether the certificate can be deployed
	// Note: this field may return null, indicating that no valid values can be obtained.
	Deployable *bool `json:"Deployable,omitempty" name:"Deployable"`

	// List of associated tags
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Tags []*Tags `json:"Tags,omitempty" name:"Tags"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCertificateOperateLogsRequest

type DescribeCertificateOperateLogsRequest struct {
	*tchttp.BaseRequest

	// Offset. The default value is 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of requested logs. The default value is 20.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Start time. The default value is 15 days ago.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time. The default value is the current time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

func NewDescribeCertificateOperateLogsRequest

func NewDescribeCertificateOperateLogsRequest() (request *DescribeCertificateOperateLogsRequest)

func (*DescribeCertificateOperateLogsRequest) FromJsonString

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

type DescribeCertificateOperateLogsRequestParams

type DescribeCertificateOperateLogsRequestParams struct {
	// Offset. The default value is 0.
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of requested logs. The default value is 20.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Start time. The default value is 15 days ago.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time. The default value is the current time.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

Predefined struct for user

type DescribeCertificateOperateLogsResponse

type DescribeCertificateOperateLogsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCertificateOperateLogsResponseParams `json:"Response"`
}

func NewDescribeCertificateOperateLogsResponse

func NewDescribeCertificateOperateLogsResponse() (response *DescribeCertificateOperateLogsResponse)

func (*DescribeCertificateOperateLogsResponse) FromJsonString

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCertificateOperateLogsResponse) ToJsonString

type DescribeCertificateOperateLogsResponseParams

type DescribeCertificateOperateLogsResponseParams struct {
	// Total number of logs that meet query conditions
	AllTotal *uint64 `json:"AllTotal,omitempty" name:"AllTotal"`

	// Number of logs returned for this request
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Certificate operation log list
	// Note: this field may return null, indicating that no valid values can be obtained.
	OperateLogs []*OperationLog `json:"OperateLogs,omitempty" name:"OperateLogs"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCertificateRequest

type DescribeCertificateRequest struct {
	*tchttp.BaseRequest

	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}

func NewDescribeCertificateRequest

func NewDescribeCertificateRequest() (request *DescribeCertificateRequest)

func (*DescribeCertificateRequest) FromJsonString

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

func (r *DescribeCertificateRequest) ToJsonString() string

type DescribeCertificateRequestParams

type DescribeCertificateRequestParams struct {
	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}

Predefined struct for user

type DescribeCertificateResponse

type DescribeCertificateResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCertificateResponseParams `json:"Response"`
}

func NewDescribeCertificateResponse

func NewDescribeCertificateResponse() (response *DescribeCertificateResponse)

func (*DescribeCertificateResponse) FromJsonString

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

func (r *DescribeCertificateResponse) ToJsonString() string

type DescribeCertificateResponseParams

type DescribeCertificateResponseParams struct {
	// User UIN
	// Note: this field may return null, indicating that no valid values can be obtained.
	OwnerUin *string `json:"OwnerUin,omitempty" name:"OwnerUin"`

	// Project ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"`

	// Certificate source. `trustasia`: TrustAsia; `upload`: certificate uploaded by users
	// Note: this field may return null, indicating that no valid values can be obtained.
	From *string `json:"From,omitempty" name:"From"`

	// Certificate type. `CA`: client certificate; `SVR`: server certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertificateType *string `json:"CertificateType,omitempty" name:"CertificateType"`

	// Certificate plan type. `1`: GeoTrust DV SSL CA - G3; `2`: TrustAsia TLS RSA CA; `3`: SecureSite EV Pro; `4`: SecureSite EV; `5`: SecureSite OV Pro; `6`: SecureSite OV; `7`: SecureSite OV wildcard; `8`: GeoTrust EV; `9`: GeoTrust OV; `10`: GeoTrust OV wildcard; `11`: TrustAsia DV multi-domain; `12`: TrustAsia DV wildcard; `13`: TrustAsia OV wildcard D3; `14`: TrustAsia OV D3; `15`: TrustAsia OV multi-domain D3; `16`: TrustAsia EV D3; `17`: TrustAsia EV multi-domain D3; `18`: GlobalSign OV; `19`: GlobalSign OV wildcard; `20`: GlobalSign EV; `21`: TrustAsia OV wildcard multi-domain D3; `22`: GlobalSign OV multi-domain; `23`: GlobalSign OV wildcard multi-domain; `24`: GlobalSign EV multi-domain
	// Note: this field may return null, indicating that no valid values can be obtained.
	PackageType *string `json:"PackageType,omitempty" name:"PackageType"`

	// Name of the certificate issuer
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProductZhName *string `json:"ProductZhName,omitempty" name:"ProductZhName"`

	// Domain name
	// Note: this field may return null, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Alias
	// Note: this field may return null, indicating that no valid values can be obtained.
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// Certificate status. `0`: reviewing; `1`: approved; `2`: unapproved; `3`: expired; `4`: DNS record added; `5`: enterprise-grade certificate, pending submission; `6`: canceling order; `7`: canceled; `8`: information submitted, pending confirmation letter upload; `9`: revoking certificate; `10`: revoked; `11`: reissuing; `12`: pending revocation confirmation letter upload
	// Note: this field may return null, indicating that no valid values can be obtained.
	Status *uint64 `json:"Status,omitempty" name:"Status"`

	// Status information
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusMsg *string `json:"StatusMsg,omitempty" name:"StatusMsg"`

	// Validation type. `DNS_AUTO`: automatic DNS validation; `DNS`: manual DNS validation; `FILE`: file validation; `EMAIL`: email validation
	// Note: this field may return null, indicating that no valid values can be obtained.
	VerifyType *string `json:"VerifyType,omitempty" name:"VerifyType"`

	// Vulnerability scanning status
	// Note: this field may return null, indicating that no valid values can be obtained.
	VulnerabilityStatus *string `json:"VulnerabilityStatus,omitempty" name:"VulnerabilityStatus"`

	// Time when the certificate takes effect
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertBeginTime *string `json:"CertBeginTime,omitempty" name:"CertBeginTime"`

	// Time when the certificate expires
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertEndTime *string `json:"CertEndTime,omitempty" name:"CertEndTime"`

	// Validity period of the certificate, in months
	// Note: this field may return null, indicating that no valid values can be obtained.
	ValidityPeriod *string `json:"ValidityPeriod,omitempty" name:"ValidityPeriod"`

	// Application time
	// Note: this field may return null, indicating that no valid values can be obtained.
	InsertTime *string `json:"InsertTime,omitempty" name:"InsertTime"`

	// Order ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrderId *string `json:"OrderId,omitempty" name:"OrderId"`

	// Extended information of the certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertificateExtra *CertificateExtra `json:"CertificateExtra,omitempty" name:"CertificateExtra"`

	// DV authentication information
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthDetail *DvAuthDetail `json:"DvAuthDetail,omitempty" name:"DvAuthDetail"`

	// Vulnerability scanning assessment report
	// Note: this field may return null, indicating that no valid values can be obtained.
	VulnerabilityReport *string `json:"VulnerabilityReport,omitempty" name:"VulnerabilityReport"`

	// Certificate ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Certificate type name
	// Note: this field may return null, indicating that no valid values can be obtained.
	PackageTypeName *string `json:"PackageTypeName,omitempty" name:"PackageTypeName"`

	// Status description
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusName *string `json:"StatusName,omitempty" name:"StatusName"`

	// Domain names associated with the certificate (including the primary domain name)
	// Note: this field may return null, indicating that no valid values can be obtained.
	SubjectAltName []*string `json:"SubjectAltName,omitempty" name:"SubjectAltName"`

	// Whether the customer is a VIP customer
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsVip *bool `json:"IsVip,omitempty" name:"IsVip"`

	// Whether the certificate is a wildcard certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsWildcard *bool `json:"IsWildcard,omitempty" name:"IsWildcard"`

	// Whether the certificate is a DV certificate
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsDv *bool `json:"IsDv,omitempty" name:"IsDv"`

	// Whether the vulnerability scanning feature is enabled
	// Note: this field may return null, indicating that no valid values can be obtained.
	IsVulnerability *bool `json:"IsVulnerability,omitempty" name:"IsVulnerability"`

	// Whether the certificate can be reissued
	// Note: this field may return null, indicating that no valid values can be obtained.
	RenewAble *bool `json:"RenewAble,omitempty" name:"RenewAble"`

	// Submitted data
	// Note: this field may return null, indicating that no valid values can be obtained.
	SubmittedData *SubmittedData `json:"SubmittedData,omitempty" name:"SubmittedData"`

	// Whether the certificate can be deployed
	// Note: this field may return null, indicating that no valid values can be obtained.
	Deployable *bool `json:"Deployable,omitempty" name:"Deployable"`

	// List of tags
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	Tags []*Tags `json:"Tags,omitempty" name:"Tags"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCertificatesRequest

type DescribeCertificatesRequest struct {
	*tchttp.BaseRequest

	// Pagination offset, starting from 0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of certificates on each page. The default value is 20.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Keyword for search, which can be a certificate ID, alias, or domain name, for example, a8xHcaIs
	SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"`

	// Certificate type. `CA`: client certificate; `SVR`: server certificate
	CertificateType *string `json:"CertificateType,omitempty" name:"CertificateType"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Sorting by expiration time. `DESC`: descending; `ASC`: ascending
	ExpirationSort *string `json:"ExpirationSort,omitempty" name:"ExpirationSort"`

	// Certificate status
	CertificateStatus []*uint64 `json:"CertificateStatus,omitempty" name:"CertificateStatus"`

	// Whether the certificate can be deployed. `1`: yes; `0`: no
	Deployable *uint64 `json:"Deployable,omitempty" name:"Deployable"`
}

func NewDescribeCertificatesRequest

func NewDescribeCertificatesRequest() (request *DescribeCertificatesRequest)

func (*DescribeCertificatesRequest) FromJsonString

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

func (r *DescribeCertificatesRequest) ToJsonString() string

type DescribeCertificatesRequestParams

type DescribeCertificatesRequestParams struct {
	// Pagination offset, starting from 0
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Number of certificates on each page. The default value is 20.
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Keyword for search, which can be a certificate ID, alias, or domain name, for example, a8xHcaIs
	SearchKey *string `json:"SearchKey,omitempty" name:"SearchKey"`

	// Certificate type. `CA`: client certificate; `SVR`: server certificate
	CertificateType *string `json:"CertificateType,omitempty" name:"CertificateType"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	// Sorting by expiration time. `DESC`: descending; `ASC`: ascending
	ExpirationSort *string `json:"ExpirationSort,omitempty" name:"ExpirationSort"`

	// Certificate status
	CertificateStatus []*uint64 `json:"CertificateStatus,omitempty" name:"CertificateStatus"`

	// Whether the certificate can be deployed. `1`: yes; `0`: no
	Deployable *uint64 `json:"Deployable,omitempty" name:"Deployable"`
}

Predefined struct for user

type DescribeCertificatesResponse

type DescribeCertificatesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCertificatesResponseParams `json:"Response"`
}

func NewDescribeCertificatesResponse

func NewDescribeCertificatesResponse() (response *DescribeCertificatesResponse)

func (*DescribeCertificatesResponse) FromJsonString

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

func (r *DescribeCertificatesResponse) ToJsonString() string

type DescribeCertificatesResponseParams

type DescribeCertificatesResponseParams struct {
	// Total number
	// Note: this field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List
	// Note: this field may return null, indicating that no valid values can be obtained.
	Certificates []*Certificates `json:"Certificates,omitempty" name:"Certificates"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DownloadCertificateRequest

type DownloadCertificateRequest struct {
	*tchttp.BaseRequest

	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}

func NewDownloadCertificateRequest

func NewDownloadCertificateRequest() (request *DownloadCertificateRequest)

func (*DownloadCertificateRequest) FromJsonString

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

func (r *DownloadCertificateRequest) ToJsonString() string

type DownloadCertificateRequestParams

type DownloadCertificateRequestParams struct {
	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`
}

Predefined struct for user

type DownloadCertificateResponse

type DownloadCertificateResponse struct {
	*tchttp.BaseResponse
	Response *DownloadCertificateResponseParams `json:"Response"`
}

func NewDownloadCertificateResponse

func NewDownloadCertificateResponse() (response *DownloadCertificateResponse)

func (*DownloadCertificateResponse) FromJsonString

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

func (r *DownloadCertificateResponse) ToJsonString() string

type DownloadCertificateResponseParams

type DownloadCertificateResponseParams struct {
	// ZIP content encoded by using Base64. After the content is decoded by using Base64, it can be saved as a ZIP file.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Content *string `json:"Content,omitempty" name:"Content"`

	// MIME type. `application/zip`: ZIP file
	// Note: this field may return null, indicating that no valid values can be obtained.
	ContentType *string `json:"ContentType,omitempty" name:"ContentType"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type DvAuthDetail

type DvAuthDetail struct {
	// DV authentication key
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthKey *string `json:"DvAuthKey,omitempty" name:"DvAuthKey"`

	// DV authentication value
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthValue *string `json:"DvAuthValue,omitempty" name:"DvAuthValue"`

	// Domain name of the DV authentication value
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthDomain *string `json:"DvAuthDomain,omitempty" name:"DvAuthDomain"`

	// Path of the DV authentication value
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthPath *string `json:"DvAuthPath,omitempty" name:"DvAuthPath"`

	// DV authentication sub-domain name
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthKeySubDomain *string `json:"DvAuthKeySubDomain,omitempty" name:"DvAuthKeySubDomain"`

	// DV authentication information
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuths []*DvAuths `json:"DvAuths,omitempty" name:"DvAuths"`
}

type DvAuths

type DvAuths struct {
	// DV authentication key
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthKey *string `json:"DvAuthKey,omitempty" name:"DvAuthKey"`

	// DV authentication value
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthValue *string `json:"DvAuthValue,omitempty" name:"DvAuthValue"`

	// Domain name of the DV authentication value
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthDomain *string `json:"DvAuthDomain,omitempty" name:"DvAuthDomain"`

	// Path of the DV authentication value
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthPath *string `json:"DvAuthPath,omitempty" name:"DvAuthPath"`

	// DV authentication sub-domain name
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthSubDomain *string `json:"DvAuthSubDomain,omitempty" name:"DvAuthSubDomain"`

	// DV authentication type
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthVerifyType *string `json:"DvAuthVerifyType,omitempty" name:"DvAuthVerifyType"`
}

type ModifyCertificateAliasRequest

type ModifyCertificateAliasRequest struct {
	*tchttp.BaseRequest

	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Alias
	Alias *string `json:"Alias,omitempty" name:"Alias"`
}

func NewModifyCertificateAliasRequest

func NewModifyCertificateAliasRequest() (request *ModifyCertificateAliasRequest)

func (*ModifyCertificateAliasRequest) FromJsonString

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

func (r *ModifyCertificateAliasRequest) ToJsonString() string

type ModifyCertificateAliasRequestParams

type ModifyCertificateAliasRequestParams struct {
	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Alias
	Alias *string `json:"Alias,omitempty" name:"Alias"`
}

Predefined struct for user

type ModifyCertificateAliasResponse

type ModifyCertificateAliasResponse struct {
	*tchttp.BaseResponse
	Response *ModifyCertificateAliasResponseParams `json:"Response"`
}

func NewModifyCertificateAliasResponse

func NewModifyCertificateAliasResponse() (response *ModifyCertificateAliasResponse)

func (*ModifyCertificateAliasResponse) FromJsonString

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

func (r *ModifyCertificateAliasResponse) ToJsonString() string

type ModifyCertificateAliasResponseParams

type ModifyCertificateAliasResponseParams struct {
	// ID of the successfully modified certificate
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyCertificateProjectRequest

type ModifyCertificateProjectRequest struct {
	*tchttp.BaseRequest

	// ID list of certificates whose projects need to be modified. A maximum of 100 certificate IDs are supported.
	CertificateIdList []*string `json:"CertificateIdList,omitempty" name:"CertificateIdList"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`
}

func NewModifyCertificateProjectRequest

func NewModifyCertificateProjectRequest() (request *ModifyCertificateProjectRequest)

func (*ModifyCertificateProjectRequest) FromJsonString

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

func (r *ModifyCertificateProjectRequest) ToJsonString() string

type ModifyCertificateProjectRequestParams

type ModifyCertificateProjectRequestParams struct {
	// ID list of certificates whose projects need to be modified. A maximum of 100 certificate IDs are supported.
	CertificateIdList []*string `json:"CertificateIdList,omitempty" name:"CertificateIdList"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`
}

Predefined struct for user

type ModifyCertificateProjectResponse

type ModifyCertificateProjectResponse struct {
	*tchttp.BaseResponse
	Response *ModifyCertificateProjectResponseParams `json:"Response"`
}

func NewModifyCertificateProjectResponse

func NewModifyCertificateProjectResponse() (response *ModifyCertificateProjectResponse)

func (*ModifyCertificateProjectResponse) FromJsonString

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

func (r *ModifyCertificateProjectResponse) ToJsonString() string

type ModifyCertificateProjectResponseParams

type ModifyCertificateProjectResponseParams struct {
	// List of certificates whose projects were modified successfully
	// Note: this field may return null, indicating that no valid values can be obtained.
	SuccessCertificates []*string `json:"SuccessCertificates,omitempty" name:"SuccessCertificates"`

	// List of certificates whose projects failed to be modified
	// Note: this field may return null, indicating that no valid values can be obtained.
	FailCertificates []*string `json:"FailCertificates,omitempty" name:"FailCertificates"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type OperationLog

type OperationLog struct {
	// Action performed on logs
	Action *string `json:"Action,omitempty" name:"Action"`

	// Time when the action is performed
	CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`
}

type ProjectInfo

type ProjectInfo struct {
	// Project name
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"`

	// UIN of the project creator
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProjectCreatorUin *uint64 `json:"ProjectCreatorUin,omitempty" name:"ProjectCreatorUin"`

	// Project creation time
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProjectCreateTime *string `json:"ProjectCreateTime,omitempty" name:"ProjectCreateTime"`

	// Brief project information
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProjectResume *string `json:"ProjectResume,omitempty" name:"ProjectResume"`

	// User UIN
	// Note: this field may return null, indicating that no valid values can be obtained.
	OwnerUin *uint64 `json:"OwnerUin,omitempty" name:"OwnerUin"`

	// Project ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"`
}

type ReplaceCertificateRequest

type ReplaceCertificateRequest struct {
	*tchttp.BaseRequest

	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Validation type. `DNS_AUTO`: automatic DNS validation; `DNS`: manual DNS validation; `FILE`: file validation
	ValidType *string `json:"ValidType,omitempty" name:"ValidType"`

	// Type. `original`: original certificate CSR; `upload`: uploaded manually; `online`: generated online. The default value is original.
	CsrType *string `json:"CsrType,omitempty" name:"CsrType"`

	// CSR content
	CsrContent *string `json:"CsrContent,omitempty" name:"CsrContent"`

	// Password of the key
	CsrkeyPassword *string `json:"CsrkeyPassword,omitempty" name:"CsrkeyPassword"`

	// Reissue reason
	Reason *string `json:"Reason,omitempty" name:"Reason"`
}

func NewReplaceCertificateRequest

func NewReplaceCertificateRequest() (request *ReplaceCertificateRequest)

func (*ReplaceCertificateRequest) FromJsonString

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

func (r *ReplaceCertificateRequest) ToJsonString() string

type ReplaceCertificateRequestParams

type ReplaceCertificateRequestParams struct {
	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// Validation type. `DNS_AUTO`: automatic DNS validation; `DNS`: manual DNS validation; `FILE`: file validation
	ValidType *string `json:"ValidType,omitempty" name:"ValidType"`

	// Type. `original`: original certificate CSR; `upload`: uploaded manually; `online`: generated online. The default value is original.
	CsrType *string `json:"CsrType,omitempty" name:"CsrType"`

	// CSR content
	CsrContent *string `json:"CsrContent,omitempty" name:"CsrContent"`

	// Password of the key
	CsrkeyPassword *string `json:"CsrkeyPassword,omitempty" name:"CsrkeyPassword"`

	// Reissue reason
	Reason *string `json:"Reason,omitempty" name:"Reason"`
}

Predefined struct for user

type ReplaceCertificateResponse

type ReplaceCertificateResponse struct {
	*tchttp.BaseResponse
	Response *ReplaceCertificateResponseParams `json:"Response"`
}

func NewReplaceCertificateResponse

func NewReplaceCertificateResponse() (response *ReplaceCertificateResponse)

func (*ReplaceCertificateResponse) FromJsonString

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

func (r *ReplaceCertificateResponse) ToJsonString() string

type ReplaceCertificateResponseParams

type ReplaceCertificateResponseParams struct {
	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type SubmitCertificateInformationRequest

type SubmitCertificateInformationRequest struct {
	*tchttp.BaseRequest

	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// CSR generation mode. `online`: generated online; `parse`: uploaded manually
	CsrType *string `json:"CsrType,omitempty" name:"CsrType"`

	// Uploaded CSR content
	CsrContent *string `json:"CsrContent,omitempty" name:"CsrContent"`

	// Domain name bound with the certificate
	CertificateDomain *string `json:"CertificateDomain,omitempty" name:"CertificateDomain"`

	// Uploaded domain name array (can be uploaded for a multi-domain certificate)
	DomainList []*string `json:"DomainList,omitempty" name:"DomainList"`

	// Password of the private key
	KeyPassword *string `json:"KeyPassword,omitempty" name:"KeyPassword"`

	// Organization name
	OrganizationName *string `json:"OrganizationName,omitempty" name:"OrganizationName"`

	// Division name
	OrganizationDivision *string `json:"OrganizationDivision,omitempty" name:"OrganizationDivision"`

	// Detailed address of the organization
	OrganizationAddress *string `json:"OrganizationAddress,omitempty" name:"OrganizationAddress"`

	// Country where the organization is located, for example, CN (China)
	OrganizationCountry *string `json:"OrganizationCountry,omitempty" name:"OrganizationCountry"`

	// City where the organization is located
	OrganizationCity *string `json:"OrganizationCity,omitempty" name:"OrganizationCity"`

	// Province where the organization is located
	OrganizationRegion *string `json:"OrganizationRegion,omitempty" name:"OrganizationRegion"`

	// Postal code of the organization
	PostalCode *string `json:"PostalCode,omitempty" name:"PostalCode"`

	// Area code of the fixed-line phone number of the organization
	PhoneAreaCode *string `json:"PhoneAreaCode,omitempty" name:"PhoneAreaCode"`

	// Fixed-line phone number of the organization
	PhoneNumber *string `json:"PhoneNumber,omitempty" name:"PhoneNumber"`

	// Certificate validation method
	VerifyType *string `json:"VerifyType,omitempty" name:"VerifyType"`

	// Last name of the administrator
	AdminFirstName *string `json:"AdminFirstName,omitempty" name:"AdminFirstName"`

	// First name of the administrator
	AdminLastName *string `json:"AdminLastName,omitempty" name:"AdminLastName"`

	// Mobile number of the administrator
	AdminPhoneNum *string `json:"AdminPhoneNum,omitempty" name:"AdminPhoneNum"`

	// Email of the administrator
	AdminEmail *string `json:"AdminEmail,omitempty" name:"AdminEmail"`

	// Position of the administrator
	AdminPosition *string `json:"AdminPosition,omitempty" name:"AdminPosition"`

	// Last name of the contact
	ContactFirstName *string `json:"ContactFirstName,omitempty" name:"ContactFirstName"`

	// First name of the contact
	ContactLastName *string `json:"ContactLastName,omitempty" name:"ContactLastName"`

	// Email of the contact
	ContactEmail *string `json:"ContactEmail,omitempty" name:"ContactEmail"`

	// Mobile number of the contact
	ContactNumber *string `json:"ContactNumber,omitempty" name:"ContactNumber"`

	// Position of the contact
	ContactPosition *string `json:"ContactPosition,omitempty" name:"ContactPosition"`
}

func NewSubmitCertificateInformationRequest

func NewSubmitCertificateInformationRequest() (request *SubmitCertificateInformationRequest)

func (*SubmitCertificateInformationRequest) FromJsonString

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

func (r *SubmitCertificateInformationRequest) ToJsonString() string

type SubmitCertificateInformationRequestParams

type SubmitCertificateInformationRequestParams struct {
	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// CSR generation mode. `online`: generated online; `parse`: uploaded manually
	CsrType *string `json:"CsrType,omitempty" name:"CsrType"`

	// Uploaded CSR content
	CsrContent *string `json:"CsrContent,omitempty" name:"CsrContent"`

	// Domain name bound with the certificate
	CertificateDomain *string `json:"CertificateDomain,omitempty" name:"CertificateDomain"`

	// Uploaded domain name array (can be uploaded for a multi-domain certificate)
	DomainList []*string `json:"DomainList,omitempty" name:"DomainList"`

	// Password of the private key
	KeyPassword *string `json:"KeyPassword,omitempty" name:"KeyPassword"`

	// Organization name
	OrganizationName *string `json:"OrganizationName,omitempty" name:"OrganizationName"`

	// Division name
	OrganizationDivision *string `json:"OrganizationDivision,omitempty" name:"OrganizationDivision"`

	// Detailed address of the organization
	OrganizationAddress *string `json:"OrganizationAddress,omitempty" name:"OrganizationAddress"`

	// Country where the organization is located, for example, CN (China)
	OrganizationCountry *string `json:"OrganizationCountry,omitempty" name:"OrganizationCountry"`

	// City where the organization is located
	OrganizationCity *string `json:"OrganizationCity,omitempty" name:"OrganizationCity"`

	// Province where the organization is located
	OrganizationRegion *string `json:"OrganizationRegion,omitempty" name:"OrganizationRegion"`

	// Postal code of the organization
	PostalCode *string `json:"PostalCode,omitempty" name:"PostalCode"`

	// Area code of the fixed-line phone number of the organization
	PhoneAreaCode *string `json:"PhoneAreaCode,omitempty" name:"PhoneAreaCode"`

	// Fixed-line phone number of the organization
	PhoneNumber *string `json:"PhoneNumber,omitempty" name:"PhoneNumber"`

	// Certificate validation method
	VerifyType *string `json:"VerifyType,omitempty" name:"VerifyType"`

	// Last name of the administrator
	AdminFirstName *string `json:"AdminFirstName,omitempty" name:"AdminFirstName"`

	// First name of the administrator
	AdminLastName *string `json:"AdminLastName,omitempty" name:"AdminLastName"`

	// Mobile number of the administrator
	AdminPhoneNum *string `json:"AdminPhoneNum,omitempty" name:"AdminPhoneNum"`

	// Email of the administrator
	AdminEmail *string `json:"AdminEmail,omitempty" name:"AdminEmail"`

	// Position of the administrator
	AdminPosition *string `json:"AdminPosition,omitempty" name:"AdminPosition"`

	// Last name of the contact
	ContactFirstName *string `json:"ContactFirstName,omitempty" name:"ContactFirstName"`

	// First name of the contact
	ContactLastName *string `json:"ContactLastName,omitempty" name:"ContactLastName"`

	// Email of the contact
	ContactEmail *string `json:"ContactEmail,omitempty" name:"ContactEmail"`

	// Mobile number of the contact
	ContactNumber *string `json:"ContactNumber,omitempty" name:"ContactNumber"`

	// Position of the contact
	ContactPosition *string `json:"ContactPosition,omitempty" name:"ContactPosition"`
}

Predefined struct for user

type SubmitCertificateInformationResponse

type SubmitCertificateInformationResponse struct {
	*tchttp.BaseResponse
	Response *SubmitCertificateInformationResponseParams `json:"Response"`
}

func NewSubmitCertificateInformationResponse

func NewSubmitCertificateInformationResponse() (response *SubmitCertificateInformationResponse)

func (*SubmitCertificateInformationResponse) FromJsonString

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

func (r *SubmitCertificateInformationResponse) ToJsonString() string

type SubmitCertificateInformationResponseParams

type SubmitCertificateInformationResponseParams struct {
	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}

Predefined struct for user

type SubmittedData

type SubmittedData struct {
	// CSR type. `online`: CSR generated online; `parse`: CSR pasted
	// Note: this field may return null, indicating that no valid values can be obtained.
	CsrType *string `json:"CsrType,omitempty" name:"CsrType"`

	// CSR content
	// Note: this field may return null, indicating that no valid values can be obtained.
	CsrContent *string `json:"CsrContent,omitempty" name:"CsrContent"`

	// Domain name information
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertificateDomain *string `json:"CertificateDomain,omitempty" name:"CertificateDomain"`

	// DNS information
	// Note: this field may return null, indicating that no valid values can be obtained.
	DomainList []*string `json:"DomainList,omitempty" name:"DomainList"`

	// Password of the private key
	// Note: this field may return null, indicating that no valid values can be obtained.
	KeyPassword *string `json:"KeyPassword,omitempty" name:"KeyPassword"`

	// Enterprise or unit name
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrganizationName *string `json:"OrganizationName,omitempty" name:"OrganizationName"`

	// Division
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrganizationDivision *string `json:"OrganizationDivision,omitempty" name:"OrganizationDivision"`

	// Address
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrganizationAddress *string `json:"OrganizationAddress,omitempty" name:"OrganizationAddress"`

	// Country
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrganizationCountry *string `json:"OrganizationCountry,omitempty" name:"OrganizationCountry"`

	// City
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrganizationCity *string `json:"OrganizationCity,omitempty" name:"OrganizationCity"`

	// Province
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrganizationRegion *string `json:"OrganizationRegion,omitempty" name:"OrganizationRegion"`

	// Postal code
	// Note: this field may return null, indicating that no valid values can be obtained.
	PostalCode *string `json:"PostalCode,omitempty" name:"PostalCode"`

	// Area code of the fixed-line phone number
	// Note: this field may return null, indicating that no valid values can be obtained.
	PhoneAreaCode *string `json:"PhoneAreaCode,omitempty" name:"PhoneAreaCode"`

	// Fixed-line phone number
	// Note: this field may return null, indicating that no valid values can be obtained.
	PhoneNumber *string `json:"PhoneNumber,omitempty" name:"PhoneNumber"`

	// First name of the administrator
	// Note: this field may return null, indicating that no valid values can be obtained.
	AdminFirstName *string `json:"AdminFirstName,omitempty" name:"AdminFirstName"`

	// Last name of the administrator
	// Note: this field may return null, indicating that no valid values can be obtained.
	AdminLastName *string `json:"AdminLastName,omitempty" name:"AdminLastName"`

	// Phone number of the administrator
	// Note: this field may return null, indicating that no valid values can be obtained.
	AdminPhoneNum *string `json:"AdminPhoneNum,omitempty" name:"AdminPhoneNum"`

	// Email of the administrator
	// Note: this field may return null, indicating that no valid values can be obtained.
	AdminEmail *string `json:"AdminEmail,omitempty" name:"AdminEmail"`

	// Position of the administrator
	// Note: this field may return null, indicating that no valid values can be obtained.
	AdminPosition *string `json:"AdminPosition,omitempty" name:"AdminPosition"`

	// First name of the contact
	// Note: this field may return null, indicating that no valid values can be obtained.
	ContactFirstName *string `json:"ContactFirstName,omitempty" name:"ContactFirstName"`

	// Last name of the contact
	// Note: this field may return null, indicating that no valid values can be obtained.
	ContactLastName *string `json:"ContactLastName,omitempty" name:"ContactLastName"`

	// Phone number of the contact
	// Note: this field may return null, indicating that no valid values can be obtained.
	ContactNumber *string `json:"ContactNumber,omitempty" name:"ContactNumber"`

	// Email of the contact
	// Note: this field may return null, indicating that no valid values can be obtained.
	ContactEmail *string `json:"ContactEmail,omitempty" name:"ContactEmail"`

	// Position of the contact
	// Note: this field may return null, indicating that no valid values can be obtained.
	ContactPosition *string `json:"ContactPosition,omitempty" name:"ContactPosition"`

	// Validation type
	// Note: this field may return null, indicating that no valid values can be obtained.
	VerifyType *string `json:"VerifyType,omitempty" name:"VerifyType"`
}

type Tags

type Tags struct {
	// Tag key
	TagKey *string `json:"TagKey,omitempty" name:"TagKey"`

	// Tag value
	TagValue *string `json:"TagValue,omitempty" name:"TagValue"`
}

type UploadCertificateRequest

type UploadCertificateRequest struct {
	*tchttp.BaseRequest

	// Public key of the certificate
	CertificatePublicKey *string `json:"CertificatePublicKey,omitempty" name:"CertificatePublicKey"`

	// Private key content. This parameter is required when the certificate type is SVR, and not required when the certificate type is CA.
	CertificatePrivateKey *string `json:"CertificatePrivateKey,omitempty" name:"CertificatePrivateKey"`

	// Certificate type. `CA`: client certificate; `SVR`: server certificate. The default value is SVR.
	CertificateType *string `json:"CertificateType,omitempty" name:"CertificateType"`

	// Alias
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	CertificateUse *string `json:"CertificateUse,omitempty" name:"CertificateUse"`
}

func NewUploadCertificateRequest

func NewUploadCertificateRequest() (request *UploadCertificateRequest)

func (*UploadCertificateRequest) FromJsonString

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

func (r *UploadCertificateRequest) ToJsonString() string

type UploadCertificateRequestParams

type UploadCertificateRequestParams struct {
	// Public key of the certificate
	CertificatePublicKey *string `json:"CertificatePublicKey,omitempty" name:"CertificatePublicKey"`

	// Private key content. This parameter is required when the certificate type is SVR, and not required when the certificate type is CA.
	CertificatePrivateKey *string `json:"CertificatePrivateKey,omitempty" name:"CertificatePrivateKey"`

	// Certificate type. `CA`: client certificate; `SVR`: server certificate. The default value is SVR.
	CertificateType *string `json:"CertificateType,omitempty" name:"CertificateType"`

	// Alias
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"`

	CertificateUse *string `json:"CertificateUse,omitempty" name:"CertificateUse"`
}

Predefined struct for user

type UploadCertificateResponse

type UploadCertificateResponse struct {
	*tchttp.BaseResponse
	Response *UploadCertificateResponseParams `json:"Response"`
}

func NewUploadCertificateResponse

func NewUploadCertificateResponse() (response *UploadCertificateResponse)

func (*UploadCertificateResponse) FromJsonString

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

func (r *UploadCertificateResponse) ToJsonString() string

type UploadCertificateResponseParams

type UploadCertificateResponseParams struct {
	// Certificate ID
	CertificateId *string `json:"CertificateId,omitempty" name:"CertificateId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,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