v20191205

package
v3.0.959+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// A CAM signature/authentication error occurred.
	AUTHFAILURE = "AuthFailure"

	// The operation is unauthorized.
	AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

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

	// A CAM authentication error occurred.
	FAILEDOPERATION_CAMAUTHORIZEDFAIL = "FailedOperation.CAMAuthorizedFail"

	// 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"

	// This operation can be performed only when the record status is Complete.
	FAILEDOPERATION_CERTIFICATEDEPLOYDETAILROLLBACKSTATUSINVALID = "FailedOperation.CertificateDeployDetailRollbackStatusInvalid"

	// There is a running certificate deployment task. Please try again after the deployment is complete.
	FAILEDOPERATION_CERTIFICATEDEPLOYHASPENDINGRECORD = "FailedOperation.CertificateDeployHasPendingRecord"

	// There is no instance for the selected cloud resource. Updating failed. Please try again after checking it.
	FAILEDOPERATION_CERTIFICATEDEPLOYINSTANCEEMPTY = "FailedOperation.CertificateDeployInstanceEmpty"

	// The certificate deployment record does not exist.
	FAILEDOPERATION_CERTIFICATEDEPLOYNOTEXIST = "FailedOperation.CertificateDeployNotExist"

	// This operation can be performed only when the record status is Failed.
	FAILEDOPERATION_CERTIFICATEDEPLOYRETRYSTATUSINVALID = "FailedOperation.CertificateDeployRetryStatusInvalid"

	// A rollback can be performed only when there is a record indicating successful deployment.
	FAILEDOPERATION_CERTIFICATEDEPLOYROLLBACKSTATUSINVALID = "FailedOperation.CertificateDeployRollbackStatusInvalid"

	// The certificate is suspected to be an SM2 certificate and does not comply with the selected certificate standard. Please check whether the selected certificate standard and the content of the certificate are correct.
	FAILEDOPERATION_CERTIFICATEENCRYPTINVALID = "FailedOperation.CertificateEncryptInvalid"

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

	// The current certificate is not allowed to use the one-click update function.
	FAILEDOPERATION_CERTIFICATEHOSTDEPLOYCANNOTALLOW = "FailedOperation.CertificateHostDeployCanNotAllow"

	// Unable to use the deployment feature because the login account is an internal account with too many instance resources. Please contact us to handle it.
	FAILEDOPERATION_CERTIFICATEHOSTRESOURCEINNERINTERRUPT = "FailedOperation.CertificateHostResourceInnerInterrupt"

	// There are too many instances under the current account. Loading cannot be performed properly. Please switch the loading mode. After switching, click "Refresh List" and wait for a period of time. Then, all the instances can be loaded.
	FAILEDOPERATION_CERTIFICATEHOSTRESOURCEINSTANCEHUGELIMIT = "FailedOperation.CertificateHostResourceInstanceHugeLimit"

	// The cloud resource type is invalid.
	FAILEDOPERATION_CERTIFICATEHOSTRESOURCETYPEINVALID = "FailedOperation.CertificateHostResourceTypeInvalid"

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

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

	// The certificate is not available. Please check and try again.
	FAILEDOPERATION_CERTIFICATENOTAVAILABLE = "FailedOperation.CertificateNotAvailable"

	// The certificate is not allowed to be deployed under the instance list.
	FAILEDOPERATION_CERTIFICATENOTDEPLOYINSTANCE = "FailedOperation.CertificateNotDeployInstance"

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

	// The certificate does not exist, or the review cannot be canceled.
	FAILEDOPERATION_CERTIFICATENOTFOUNDORCANTCANCEL = "FailedOperation.CertificateNotFoundOrCantCancel"

	// You cannot re-submit a review application for a certificate in this status.
	FAILEDOPERATION_CERTIFICATESTATUSNOTALLOWRESUBMIT = "FailedOperation.CertificateStatusNotAllowResubmit"

	// The confirmation letter file cannot exceed 1.4 MB.
	FAILEDOPERATION_CONFIRMLETTERTOOLARGE = "FailedOperation.ConfirmLetterTooLarge"

	// The confirmation letter file cannot be smaller than 1 KB.
	FAILEDOPERATION_CONFIRMLETTERTOOSMALL = "FailedOperation.ConfirmLetterTooSmall"

	// The certificate is associated with a Tencent Cloud resource and cannot be deleted.
	FAILEDOPERATION_DELETERESOURCEFAILED = "FailedOperation.DeleteResourceFailed"

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

	// Certificate source error.
	FAILEDOPERATION_INVALIDCERTIFICATESOURCE = "FailedOperation.InvalidCertificateSource"

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

	// The format of the confirmation letter file is invalid (JPG, JPEG, PNG, and PDF are supported).
	FAILEDOPERATION_INVALIDCONFIRMLETTERFORMAT = "FailedOperation.InvalidConfirmLetterFormat"

	// The format of the confirmation letter file is invalid (JPG, PDF, and GIF are supported).
	FAILEDOPERATION_INVALIDCONFIRMLETTERFORMATWOSIGN = "FailedOperation.InvalidConfirmLetterFormatWosign"

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

	// The number of free certificates applied for under the primary domain name (%s) has reached the upper limit of %s. Please purchase a paid certificate.
	FAILEDOPERATION_MAINDOMAINCERTIFICATECOUNTLIMIT = "FailedOperation.MainDomainCertificateCountLimit"

	// 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"

	// The remaining benefit points are insufficient.
	FAILEDOPERATION_PACKAGECOUNTLIMIT = "FailedOperation.PackageCountLimit"

	// The benefit package has expired.
	FAILEDOPERATION_PACKAGEEXPIRED = "FailedOperation.PackageExpired"

	// The benefit package does not exist.
	FAILEDOPERATION_PACKAGENOTFOUND = "FailedOperation.PackageNotFound"

	// The role does not exist. Please authorize the role first.
	FAILEDOPERATION_ROLENOTFOUNDAUTHORIZATION = "FailedOperation.RoleNotFoundAuthorization"

	// A system error occurred.
	FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"

	// Internal error.
	INTERNALERROR = "InternalError"

	// The backend service response is empty.
	INTERNALERROR_BACKENDRESPONSEEMPTY = "InternalError.BackendResponseEmpty"

	// An error occurred with the backend service response.
	INTERNALERROR_BACKENDRESPONSEERROR = "InternalError.BackendResponseError"

	// The parameter is incorrect.
	INVALIDPARAMETER = "InvalidParameter"

	// u200cYou cannot re-submit a review application for a certificate in this status.
	INVALIDPARAMETER_CERTIFICATESTATUSNOTALLOWRESUBMIT = "InvalidParameter.CertificateStatusNotAllowResubmit"

	// Incorrect CSR ID.
	INVALIDPARAMETER_INVALIDCSRID = "InvalidParameter.InvalidCSRId"

	// There is no matching private key.
	INVALIDPARAMETER_MISSMATCHPRIVATEKEY = "InvalidParameter.MissMatchPrivateKey"

	// The list of benefit point IDs is invalid.
	INVALIDPARAMETER_PACKAGEIDSINVALID = "InvalidParameter.PackageIdsInvalid"

	// The algorithm is invalid.
	INVALIDPARAMETER_RENEWALGORITHMINVALID = "InvalidParameter.RenewAlgorithmInvalid"

	// The parameter is incorrect.
	INVALIDPARAMETER_WITHDETAILREASON = "InvalidParameter.WithDetailReason"

	// Invalid parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// The API rate limit is reached.
	LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

	// Missing parameter.
	MISSINGPARAMETER = "MissingParameter"

	// The manager of the company does not exist.
	RESOURCENOTFOUND_MANAGER = "ResourceNotFound.Manager"
)
View Source
const APIVersion = "2019-12-05"

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiGatewayInstanceDetail

type ApiGatewayInstanceDetail struct {
	// The instance ID.
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// The instance name.
	ServiceName *string `json:"ServiceName,omitnil,omitempty" name:"ServiceName"`

	// The domain.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// The certificate ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`

	// The protocol.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`
}

type ApiGatewayInstanceList

type ApiGatewayInstanceList struct {
	// The region.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// The list of APIGATEWAY instances.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceList []*ApiGatewayInstanceDetail `json:"InstanceList,omitnil,omitempty" name:"InstanceList"`

	// The total number of APIGATEWAY instances in this region.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

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,omitnil,omitempty" name:"DvAuthMethod"`

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

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

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

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

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

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

	// Encryption algorithm. RSA and ECC are supported.
	CsrEncryptAlgo *string `json:"CsrEncryptAlgo,omitnil,omitempty" name:"CsrEncryptAlgo"`

	// Key pair parameters. RSA supports only 2048. ECC supports only prime256v1. When the encryption algorithm is set to ECC, this parameter is mandatory.
	CsrKeyParameter *string `json:"CsrKeyParameter,omitnil,omitempty" name:"CsrKeyParameter"`

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

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

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

	// Benefit package ID, which is used to expand the free certificate package
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// Whether to delete the automatic domain name verification record after issuance, which is no by default. This parameter can be passed in only for domain names of the DNS_AUTO verification type.
	DeleteDnsAutoRecord *bool `json:"DeleteDnsAutoRecord,omitnil,omitempty" name:"DeleteDnsAutoRecord"`
}

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,omitnil,omitempty" name:"DvAuthMethod"`

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

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

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

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

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

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

	// Encryption algorithm. RSA and ECC are supported.
	CsrEncryptAlgo *string `json:"CsrEncryptAlgo,omitnil,omitempty" name:"CsrEncryptAlgo"`

	// Key pair parameters. RSA supports only 2048. ECC supports only prime256v1. When the encryption algorithm is set to ECC, this parameter is mandatory.
	CsrKeyParameter *string `json:"CsrKeyParameter,omitnil,omitempty" name:"CsrKeyParameter"`

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

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

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

	// Benefit package ID, which is used to expand the free certificate package
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// Whether to delete the automatic domain name verification record after issuance, which is no by default. This parameter can be passed in only for domain names of the DNS_AUTO verification type.
	DeleteDnsAutoRecord *bool `json:"DeleteDnsAutoRecord,omitnil,omitempty" name:"DeleteDnsAutoRecord"`
}

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,omitnil,omitempty" name:"CertificateId"`

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

Predefined struct for user

type BatchDeleteCSRRequest

type BatchDeleteCSRRequest struct {
	*tchttp.BaseRequest

	// The IDs of the CSRs to be deleted, 100 IDs at most.
	CSRIds []*int64 `json:"CSRIds,omitnil,omitempty" name:"CSRIds"`
}

func NewBatchDeleteCSRRequest

func NewBatchDeleteCSRRequest() (request *BatchDeleteCSRRequest)

func (*BatchDeleteCSRRequest) FromJsonString

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

func (r *BatchDeleteCSRRequest) ToJsonString() string

type BatchDeleteCSRRequestParams

type BatchDeleteCSRRequestParams struct {
	// The IDs of the CSRs to be deleted, 100 IDs at most.
	CSRIds []*int64 `json:"CSRIds,omitnil,omitempty" name:"CSRIds"`
}

Predefined struct for user

type BatchDeleteCSRResponse

type BatchDeleteCSRResponse struct {
	*tchttp.BaseResponse
	Response *BatchDeleteCSRResponseParams `json:"Response"`
}

func NewBatchDeleteCSRResponse

func NewBatchDeleteCSRResponse() (response *BatchDeleteCSRResponse)

func (*BatchDeleteCSRResponse) FromJsonString

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

func (r *BatchDeleteCSRResponse) ToJsonString() string

type BatchDeleteCSRResponseParams

type BatchDeleteCSRResponseParams struct {
	// The IDs of the CSRs successfully deleted.
	Success []*int64 `json:"Success,omitnil,omitempty" name:"Success"`

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

Predefined struct for user

type BindResourceRegionResult

type BindResourceRegionResult struct {
	// The region.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// The total number of associated cloud resources.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

type BindResourceResult

type BindResourceResult struct {
	// Supported types: CLB, CDN, WAF, LIVE, VOD, DDOS, TKE, APIGATEWAY, TCB, and TEO (EDGEONE).
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// The region of associated cloud resources.
	BindResourceRegionResult []*BindResourceRegionResult `json:"BindResourceRegionResult,omitnil,omitempty" name:"BindResourceRegionResult"`
}

type CSRItem

type CSRItem struct {
	// The CSR ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`

	// The account.
	// Note: This field may return null, indicating that no valid values can be obtained.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

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

	// The organization name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Organization *string `json:"Organization,omitnil,omitempty" name:"Organization"`

	// The department.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Department *string `json:"Department,omitnil,omitempty" name:"Department"`

	// The email address.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

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

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

	// The country or region.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Country *string `json:"Country,omitnil,omitempty" name:"Country"`

	// The remarks.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Remarks *string `json:"Remarks,omitnil,omitempty" name:"Remarks"`

	// The status.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// The creation time.
	// Note: u200dThis field may return `null`, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// The encryption algorithm.
	// Note: This field may return null, indicating that no valid values can be obtained.
	EncryptAlgo *string `json:"EncryptAlgo,omitnil,omitempty" name:"EncryptAlgo"`

	// The algorithm parameter.
	// Note: This field may return null, indicating that no valid values can be obtained.
	KeyParameter *string `json:"KeyParameter,omitnil,omitempty" name:"KeyParameter"`
}

type CancelAuditCertificateRequest

type CancelAuditCertificateRequest struct {
	*tchttp.BaseRequest

	// The certificate ID.
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`
}

func NewCancelAuditCertificateRequest

func NewCancelAuditCertificateRequest() (request *CancelAuditCertificateRequest)

func (*CancelAuditCertificateRequest) FromJsonString

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

func (r *CancelAuditCertificateRequest) ToJsonString() string

type CancelAuditCertificateRequestParams

type CancelAuditCertificateRequestParams struct {
	// The certificate ID.
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`
}

Predefined struct for user

type CancelAuditCertificateResponse

type CancelAuditCertificateResponse struct {
	*tchttp.BaseResponse
	Response *CancelAuditCertificateResponseParams `json:"Response"`
}

func NewCancelAuditCertificateResponse

func NewCancelAuditCertificateResponse() (response *CancelAuditCertificateResponse)

func (*CancelAuditCertificateResponse) FromJsonString

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

func (r *CancelAuditCertificateResponse) ToJsonString() string

type CancelAuditCertificateResponseParams

type CancelAuditCertificateResponseParams struct {
	// Whether the operation succeeded.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

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

Predefined struct for user

type CancelCertificateOrderRequest

type CancelCertificateOrderRequest struct {
	*tchttp.BaseRequest

	// Certificate ID
	CertificateId *string `json:"CertificateId,omitnil,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,omitnil,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,omitnil,omitempty" name:"CertificateId"`

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

Predefined struct for user

type CdnInstanceDetail

type CdnInstanceDetail struct {
	// The domain.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// The ID of the deployed certificate.
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`

	// The status of the domain.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// The billing status of the domain.
	HttpsBillingSwitch *string `json:"HttpsBillingSwitch,omitnil,omitempty" name:"HttpsBillingSwitch"`
}

type CdnInstanceList

type CdnInstanceList struct {
	// The total number of CDN domains in this region.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The list of CDN domains.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceList []*CdnInstanceDetail `json:"InstanceList,omitnil,omitempty" name:"InstanceList"`
}

type CertTaskId

type CertTaskId struct {
	// The certificate ID.
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`

	// The async task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

type Certificate

type Certificate struct {
	// The certificate ID.
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`

	// The list of domains bound to the certificate.
	DnsNames []*string `json:"DnsNames,omitnil,omitempty" name:"DnsNames"`

	// The root certificate ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertCaId *string `json:"CertCaId,omitnil,omitempty" name:"CertCaId"`

	// The authentication type. Valid values: `UNIDIRECTIONAL` (one-way authentication) and `MUTUAL` (two-way authentication).
	// Note: This field may return null, indicating that no valid values can be obtained.
	SSLMode *string `json:"SSLMode,omitnil,omitempty" name:"SSLMode"`
}

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,omitnil,omitempty" name:"DomainNumber"`

	// Original certificate ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	OriginCertificateId *string `json:"OriginCertificateId,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"RenewOrder"`

	// Whether the certificate is a Chinese SM certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SMCert *int64 `json:"SMCert,omitnil,omitempty" name:"SMCert"`

	// Company type
	// Note: This field may return null, indicating that no valid value can be obtained.
	CompanyType *int64 `json:"CompanyType,omitnil,omitempty" name:"CompanyType"`
}

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,omitnil,omitempty" name:"OwnerUin"`

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

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

	// The certificate plan type. Valid values:
	// null: Certificates uploaded by users (no 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,omitnil,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,omitnil,omitempty" name:"CertificateType"`

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

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

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

	// Status. `0`: Reviewing; `1`: Approved; `2`: Unapproved; `3`: Expired; `4`: DNS record added for domain names of the DNS_AUTO verification type; `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; `13`: Pending information submission for the free certificate; `14`: Refunded.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *uint64 `json:"Status,omitnil,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,omitnil,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,omitnil,omitempty" name:"VulnerabilityStatus"`

	// Status information
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusMsg *string `json:"StatusMsg,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"ValidityPeriod"`

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

	// Certificate ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertificateId *string `json:"CertificateId,omitnil,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,omitnil,omitempty" name:"SubjectAltName"`

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

	// Status description
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusName *string `json:"StatusName,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"IsVulnerability"`

	// Whether it can be renewed
	// Note: This field may return null, indicating that no valid value can be obtained.
	RenewAble *bool `json:"RenewAble,omitnil,omitempty" name:"RenewAble"`

	// Project information
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProjectInfo *ProjectInfo `json:"ProjectInfo,omitnil,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,omitnil,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,omitnil,omitempty" name:"Deployable"`

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

	// Whether the expiration notification was ignored
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsIgnore *bool `json:"IsIgnore,omitnil,omitempty" name:"IsIgnore"`

	// Whether the certificate is a Chinese SM certificate
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsSM *bool `json:"IsSM,omitnil,omitempty" name:"IsSM"`

	// Certificate algorithm
	// Note: This field may return null, indicating that no valid values can be obtained.
	EncryptAlgorithm *string `json:"EncryptAlgorithm,omitnil,omitempty" name:"EncryptAlgorithm"`

	// Encryption algorithm of the uploaded CA certificate
	// Note: This field may return null, indicating that no valid values can be obtained.
	CAEncryptAlgorithms []*string `json:"CAEncryptAlgorithms,omitnil,omitempty" name:"CAEncryptAlgorithms"`

	// Expiration time of the uploaded CA certificate
	// Note: This field may return null, indicating that no valid values can be obtained.
	CAEndTimes []*string `json:"CAEndTimes,omitnil,omitempty" name:"CAEndTimes"`

	// Generic name of the uploaded CA certificate
	// Note: This field may return null, indicating that no valid values can be obtained.
	CACommonNames []*string `json:"CACommonNames,omitnil,omitempty" name:"CACommonNames"`

	// Prereview information of the certificate
	// Note: This field may return null, indicating that no valid values can be obtained.
	PreAuditInfo *PreAuditInfo `json:"PreAuditInfo,omitnil,omitempty" name:"PreAuditInfo"`

	// Whether auto-renewal is enabled.
	// Note: This field may return null, indicating that no valid value can be obtained.
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// The hosting status. Valid values: `0` (hosting), `5` (replacing resources), `10` (hosting completed), and `-1` (not hosted).
	// Note: This field may return null, indicating that no valid values can be obtained.
	HostingStatus *int64 `json:"HostingStatus,omitnil,omitempty" name:"HostingStatus"`

	// The hosting completion time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	HostingCompleteTime *string `json:"HostingCompleteTime,omitnil,omitempty" name:"HostingCompleteTime"`

	// The hosted new certificate ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	HostingRenewCertId *string `json:"HostingRenewCertId,omitnil,omitempty" name:"HostingRenewCertId"`

	// Existing renewed certificate ID
	// Note: This field may return null, indicating that no valid value can be obtained.
	HasRenewOrder *string `json:"HasRenewOrder,omitnil,omitempty" name:"HasRenewOrder"`

	// Whether the original certificate is deleted when a certificate is reissued.
	// Note: This field may return null, indicating that no valid value can be obtained.
	ReplaceOriCertIsDelete *bool `json:"ReplaceOriCertIsDelete,omitnil,omitempty" name:"ReplaceOriCertIsDelete"`

	// Whether the certificate is expiring soon. A certificate is considered to be expiring soon when there are 30 days or less left.
	// Note: This field may return null, indicating that no valid value can be obtained.
	IsExpiring *bool `json:"IsExpiring,omitnil,omitempty" name:"IsExpiring"`

	// Validation expiration time for the addition of the DV certificate
	// Note: This field may return null, indicating that no valid value can be obtained.
	DVAuthDeadline *string `json:"DVAuthDeadline,omitnil,omitempty" name:"DVAuthDeadline"`

	// Domain name validation pass time
	// Note: This field may return null, indicating that no valid value can be obtained.
	ValidationPassedTime *string `json:"ValidationPassedTime,omitnil,omitempty" name:"ValidationPassedTime"`

	// Multiple domain names with which the certificate is associated
	// Note: This field may return null, indicating that no valid value can be obtained.
	CertSANs []*string `json:"CertSANs,omitnil,omitempty" name:"CertSANs"`

	// Domain name validation rejection information
	// Note: This field may return null, indicating that no valid value can be obtained.
	AwaitingValidationMsg *string `json:"AwaitingValidationMsg,omitnil,omitempty" name:"AwaitingValidationMsg"`

	// Whether downloading is allowed
	// Note: This field may return null, indicating that no valid value can be obtained.
	AllowDownload *bool `json:"AllowDownload,omitnil,omitempty" name:"AllowDownload"`

	IsDNSPODResolve *bool `json:"IsDNSPODResolve,omitnil,omitempty" name:"IsDNSPODResolve"`

	IsPackage *bool `json:"IsPackage,omitnil,omitempty" name:"IsPackage"`

	KeyPasswordCustomFlag *bool `json:"KeyPasswordCustomFlag,omitnil,omitempty" name:"KeyPasswordCustomFlag"`

	SupportDownloadType *SupportDownloadType `json:"SupportDownloadType,omitnil,omitempty" name:"SupportDownloadType"`
}

type ClbInstanceDetail

type ClbInstanceDetail struct {
	// The CLB instance ID.
	LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"`

	// The CLB instance name.
	LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"`

	// The list of CLB listeners.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Listeners []*ClbListener `json:"Listeners,omitnil,omitempty" name:"Listeners"`
}

type ClbInstanceList

type ClbInstanceList struct {
	// The region.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// The list of CLB instances.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceList []*ClbInstanceDetail `json:"InstanceList,omitnil,omitempty" name:"InstanceList"`

	// The total number of CLB instances in this region.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

type ClbListener

type ClbListener struct {
	// The listener ID.
	ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"`

	// The listener name.
	ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"`

	// Whether to enable SNI. Valid values: `1` (enable) and `0` (disable).
	SniSwitch *uint64 `json:"SniSwitch,omitnil,omitempty" name:"SniSwitch"`

	// The listener protocol type. Valid values: `HTTPS` and `TCP_SSL`.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// The information of the certificate bound to the listener.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Certificate *Certificate `json:"Certificate,omitnil,omitempty" name:"Certificate"`

	// The list of the listener rules.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Rules []*ClbListenerRule `json:"Rules,omitnil,omitempty" name:"Rules"`

	// The list of non-matching domains.
	// Note: This field may return null, indicating that no valid values can be obtained.
	NoMatchDomains []*string `json:"NoMatchDomains,omitnil,omitempty" name:"NoMatchDomains"`
}

type ClbListenerRule

type ClbListenerRule struct {
	// The rule ID.
	LocationId *string `json:"LocationId,omitnil,omitempty" name:"LocationId"`

	// The domains bound.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Whether the rule matches the domains to be associated with a certificate.
	IsMatch *bool `json:"IsMatch,omitnil,omitempty" name:"IsMatch"`

	// The certificates associated with the rule.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Certificate *Certificate `json:"Certificate,omitnil,omitempty" name:"Certificate"`

	// The list of non-matching domains.
	// Note: This field may return null, indicating that no valid values can be obtained.
	NoMatchDomains []*string `json:"NoMatchDomains,omitnil,omitempty" name:"NoMatchDomains"`
}

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_MAINDOMAINCERTIFICATECOUNTLIMIT = "FailedOperation.MainDomainCertificateCountLimit"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
FAILEDOPERATION_PACKAGECOUNTLIMIT = "FailedOperation.PackageCountLimit"
FAILEDOPERATION_PACKAGEEXPIRED = "FailedOperation.PackageExpired"
FAILEDOPERATION_PACKAGENOTFOUND = "FailedOperation.PackageNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PACKAGEIDSINVALID = "InvalidParameter.PackageIdsInvalid"

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_MAINDOMAINCERTIFICATECOUNTLIMIT = "FailedOperation.MainDomainCertificateCountLimit"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced"
FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed"
FAILEDOPERATION_PACKAGECOUNTLIMIT = "FailedOperation.PackageCountLimit"
FAILEDOPERATION_PACKAGEEXPIRED = "FailedOperation.PackageExpired"
FAILEDOPERATION_PACKAGENOTFOUND = "FailedOperation.PackageNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PACKAGEIDSINVALID = "InvalidParameter.PackageIdsInvalid"

func (*Client) BatchDeleteCSR

func (c *Client) BatchDeleteCSR(request *BatchDeleteCSRRequest) (response *BatchDeleteCSRResponse, err error)

BatchDeleteCSR This API is used to batch delete CSRs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDCSRID = "InvalidParameter.InvalidCSRId"
INVALIDPARAMETER_WITHDETAILREASON = "InvalidParameter.WithDetailReason"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) BatchDeleteCSRWithContext

func (c *Client) BatchDeleteCSRWithContext(ctx context.Context, request *BatchDeleteCSRRequest) (response *BatchDeleteCSRResponse, err error)

BatchDeleteCSR This API is used to batch delete CSRs.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDCSRID = "InvalidParameter.InvalidCSRId"
INVALIDPARAMETER_WITHDETAILREASON = "InvalidParameter.WithDetailReason"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) CancelAuditCertificate

func (c *Client) CancelAuditCertificate(request *CancelAuditCertificateRequest) (response *CancelAuditCertificateResponse, err error)

CancelAuditCertificate This API is used to cancel certificate review.

error code that may be returned:

FAILEDOPERATION_CERTIFICATENOTFOUNDORCANTCANCEL = "FailedOperation.CertificateNotFoundOrCantCancel"

func (*Client) CancelAuditCertificateWithContext

func (c *Client) CancelAuditCertificateWithContext(ctx context.Context, request *CancelAuditCertificateRequest) (response *CancelAuditCertificateResponse, err error)

CancelAuditCertificate This API is used to cancel certificate review.

error code that may be returned:

FAILEDOPERATION_CERTIFICATENOTFOUNDORCANTCANCEL = "FailedOperation.CertificateNotFoundOrCantCancel"

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"
INTERNALERROR_BACKENDRESPONSEERROR = "InternalError.BackendResponseError"

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"
INTERNALERROR_BACKENDRESPONSEERROR = "InternalError.BackendResponseError"

func (*Client) CreateCSR

func (c *Client) CreateCSR(request *CreateCSRRequest) (response *CreateCSRResponse, err error)

CreateCSR This API is used to create a CSR.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMAUTHORIZEDFAIL = "FailedOperation.CAMAuthorizedFail"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"

func (*Client) CreateCSRWithContext

func (c *Client) CreateCSRWithContext(ctx context.Context, request *CreateCSRRequest) (response *CreateCSRResponse, err error)

CreateCSR This API is used to create a CSR.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CAMAUTHORIZEDFAIL = "FailedOperation.CAMAuthorizedFail"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"

func (*Client) CreateCertificate

func (c *Client) CreateCertificate(request *CreateCertificateRequest) (response *CreateCertificateResponse, err error)

CreateCertificate This API is used to purchase a certificate.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
INTERNALERROR = "InternalError"
INTERNALERROR_BACKENDRESPONSEERROR = "InternalError.BackendResponseError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"

func (*Client) CreateCertificateBindResourceSyncTask

func (c *Client) CreateCertificateBindResourceSyncTask(request *CreateCertificateBindResourceSyncTaskRequest) (response *CreateCertificateBindResourceSyncTaskResponse, err error)

CreateCertificateBindResourceSyncTask This API is used to create an async task for querying the cloud resources associated with a certificate. If such a task already exists under the certificate ID, the ID of this task is returned as the result. The following types of cloud resources are supported: CLB, CDN, WAF, LIVE, VOD, DDOS, TKE, APIGATEWAY, TCB, and TEO (EDGEONE). You can query the result of this task using the `DescribeCertificateBindResourceTaskResult` API.

error code that may be returned:

FAILEDOPERATION_CERTIFICATEHOSTRESOURCEINNERINTERRUPT = "FailedOperation.CertificateHostResourceInnerInterrupt"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"

func (*Client) CreateCertificateBindResourceSyncTaskWithContext

func (c *Client) CreateCertificateBindResourceSyncTaskWithContext(ctx context.Context, request *CreateCertificateBindResourceSyncTaskRequest) (response *CreateCertificateBindResourceSyncTaskResponse, err error)

CreateCertificateBindResourceSyncTask This API is used to create an async task for querying the cloud resources associated with a certificate. If such a task already exists under the certificate ID, the ID of this task is returned as the result. The following types of cloud resources are supported: CLB, CDN, WAF, LIVE, VOD, DDOS, TKE, APIGATEWAY, TCB, and TEO (EDGEONE). You can query the result of this task using the `DescribeCertificateBindResourceTaskResult` API.

error code that may be returned:

FAILEDOPERATION_CERTIFICATEHOSTRESOURCEINNERINTERRUPT = "FailedOperation.CertificateHostResourceInnerInterrupt"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"

func (*Client) CreateCertificateWithContext

func (c *Client) CreateCertificateWithContext(ctx context.Context, request *CreateCertificateRequest) (response *CreateCertificateResponse, err error)

CreateCertificate This API is used to purchase a certificate.

error code that may be returned:

FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
INTERNALERROR = "InternalError"
INTERNALERROR_BACKENDRESPONSEERROR = "InternalError.BackendResponseError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"

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 = "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_DELETERESOURCEFAILED = "FailedOperation.DeleteResourceFailed"
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"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

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 = "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_DELETERESOURCEFAILED = "FailedOperation.DeleteResourceFailed"
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"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

func (*Client) DescribeCSR

func (c *Client) DescribeCSR(request *DescribeCSRRequest) (response *DescribeCSRResponse, err error)

DescribeCSR This API is used to query the details of a CSR.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_INVALIDCSRID = "InvalidParameter.InvalidCSRId"
INVALIDPARAMETER_WITHDETAILREASON = "InvalidParameter.WithDetailReason"

func (*Client) DescribeCSRSet

func (c *Client) DescribeCSRSet(request *DescribeCSRSetRequest) (response *DescribeCSRSetResponse, err error)

DescribeCSRSet This API is used to query the CSR list.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMAUTHORIZEDFAIL = "FailedOperation.CAMAuthorizedFail"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"

func (*Client) DescribeCSRSetWithContext

func (c *Client) DescribeCSRSetWithContext(ctx context.Context, request *DescribeCSRSetRequest) (response *DescribeCSRSetResponse, err error)

DescribeCSRSet This API is used to query the CSR list.

error code that may be returned:

AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION_CAMAUTHORIZEDFAIL = "FailedOperation.CAMAuthorizedFail"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"

func (*Client) DescribeCSRWithContext

func (c *Client) DescribeCSRWithContext(ctx context.Context, request *DescribeCSRRequest) (response *DescribeCSRResponse, err error)

DescribeCSR This API is used to query the details of a CSR.

error code that may be returned:

FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INVALIDPARAMETER_INVALIDCSRID = "InvalidParameter.InvalidCSRId"
INVALIDPARAMETER_WITHDETAILREASON = "InvalidParameter.WithDetailReason"

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"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

func (*Client) DescribeCertificateBindResourceTaskDetail

func (c *Client) DescribeCertificateBindResourceTaskDetail(request *DescribeCertificateBindResourceTaskDetailRequest) (response *DescribeCertificateBindResourceTaskDetailResponse, err error)

DescribeCertificateBindResourceTaskDetail This API is used to query the result of an async task created with `CreateCertificateBindResourceSyncTask` to query cloud resources associated with a certificate. The following types of cloud resources are supported: CLB, CDN, WAF, LIVE, VOD, DDOS, TKE, APIGATEWAY, TCB, and TEO (EDGEONE).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ROLENOTFOUNDAUTHORIZATION = "FailedOperation.RoleNotFoundAuthorization"

func (*Client) DescribeCertificateBindResourceTaskDetailWithContext

func (c *Client) DescribeCertificateBindResourceTaskDetailWithContext(ctx context.Context, request *DescribeCertificateBindResourceTaskDetailRequest) (response *DescribeCertificateBindResourceTaskDetailResponse, err error)

DescribeCertificateBindResourceTaskDetail This API is used to query the result of an async task created with `CreateCertificateBindResourceSyncTask` to query cloud resources associated with a certificate. The following types of cloud resources are supported: CLB, CDN, WAF, LIVE, VOD, DDOS, TKE, APIGATEWAY, TCB, and TEO (EDGEONE).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ROLENOTFOUNDAUTHORIZATION = "FailedOperation.RoleNotFoundAuthorization"

func (*Client) DescribeCertificateBindResourceTaskResult

func (c *Client) DescribeCertificateBindResourceTaskResult(request *DescribeCertificateBindResourceTaskResultRequest) (response *DescribeCertificateBindResourceTaskResultResponse, err error)

DescribeCertificateBindResourceTaskResult This API is used to query the result of an async task created with `CreateCertificateBindResourceSyncTask` to query cloud resources associated with a certificate. The following types of cloud resources are supported: CLB, CDN, WAF, LIVE, VOD, DDOS, TKE, APIGATEWAY, TCB, and TEO (EDGEONE).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) DescribeCertificateBindResourceTaskResultWithContext

func (c *Client) DescribeCertificateBindResourceTaskResultWithContext(ctx context.Context, request *DescribeCertificateBindResourceTaskResultRequest) (response *DescribeCertificateBindResourceTaskResultResponse, err error)

DescribeCertificateBindResourceTaskResult This API is used to query the result of an async task created with `CreateCertificateBindResourceSyncTask` to query cloud resources associated with a certificate. The following types of cloud resources are supported: CLB, CDN, WAF, LIVE, VOD, DDOS, TKE, APIGATEWAY, TCB, and TEO (EDGEONE).

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

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_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"
INTERNALERROR_BACKENDRESPONSEEMPTY = "InternalError.BackendResponseEmpty"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"
RESOURCENOTFOUND_MANAGER = "ResourceNotFound.Manager"

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_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"
INTERNALERROR_BACKENDRESPONSEEMPTY = "InternalError.BackendResponseEmpty"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"
RESOURCENOTFOUND_MANAGER = "ResourceNotFound.Manager"

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 = "FailedOperation"
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 = "FailedOperation"
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"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

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 = "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"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR = "InternalError"
INTERNALERROR_BACKENDRESPONSEEMPTY = "InternalError.BackendResponseEmpty"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

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 = "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"
FAILEDOPERATION_SYSTEMERROR = "FailedOperation.SystemError"
INTERNALERROR = "InternalError"
INTERNALERROR_BACKENDRESPONSEEMPTY = "InternalError.BackendResponseEmpty"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

func (*Client) DescribeHostTeoInstanceList

func (c *Client) DescribeHostTeoInstanceList(request *DescribeHostTeoInstanceListRequest) (response *DescribeHostTeoInstanceListResponse, err error)

DescribeHostTeoInstanceList This API is used to query the list of EDGEONE instances to which a certificate can be deployed.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATEHOSTRESOURCEINNERINTERRUPT = "FailedOperation.CertificateHostResourceInnerInterrupt"
FAILEDOPERATION_CERTIFICATENOTAVAILABLE = "FailedOperation.CertificateNotAvailable"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ROLENOTFOUNDAUTHORIZATION = "FailedOperation.RoleNotFoundAuthorization"
INTERNALERROR = "InternalError"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

func (*Client) DescribeHostTeoInstanceListWithContext

func (c *Client) DescribeHostTeoInstanceListWithContext(ctx context.Context, request *DescribeHostTeoInstanceListRequest) (response *DescribeHostTeoInstanceListResponse, err error)

DescribeHostTeoInstanceList This API is used to query the list of EDGEONE instances to which a certificate can be deployed.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATEHOSTRESOURCEINNERINTERRUPT = "FailedOperation.CertificateHostResourceInnerInterrupt"
FAILEDOPERATION_CERTIFICATENOTAVAILABLE = "FailedOperation.CertificateNotAvailable"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ROLENOTFOUNDAUTHORIZATION = "FailedOperation.RoleNotFoundAuthorization"
INTERNALERROR = "InternalError"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

func (*Client) DescribeHostUpdateRecord

func (c *Client) DescribeHostUpdateRecord(request *DescribeHostUpdateRecordRequest) (response *DescribeHostUpdateRecordResponse, err error)

DescribeHostUpdateRecord Query certificate cloud resource update record list

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATENOTAVAILABLE = "FailedOperation.CertificateNotAvailable"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

func (*Client) DescribeHostUpdateRecordDetail

func (c *Client) DescribeHostUpdateRecordDetail(request *DescribeHostUpdateRecordDetailRequest) (response *DescribeHostUpdateRecordDetailResponse, err error)

DescribeHostUpdateRecordDetail Query certificate cloud resource update record details list

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATEDEPLOYNOTEXIST = "FailedOperation.CertificateDeployNotExist"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

func (*Client) DescribeHostUpdateRecordDetailWithContext

func (c *Client) DescribeHostUpdateRecordDetailWithContext(ctx context.Context, request *DescribeHostUpdateRecordDetailRequest) (response *DescribeHostUpdateRecordDetailResponse, err error)

DescribeHostUpdateRecordDetail Query certificate cloud resource update record details list

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATEDEPLOYNOTEXIST = "FailedOperation.CertificateDeployNotExist"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

func (*Client) DescribeHostUpdateRecordWithContext

func (c *Client) DescribeHostUpdateRecordWithContext(ctx context.Context, request *DescribeHostUpdateRecordRequest) (response *DescribeHostUpdateRecordResponse, err error)

DescribeHostUpdateRecord Query certificate cloud resource update record list

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATENOTAVAILABLE = "FailedOperation.CertificateNotAvailable"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

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

func (c *Client) ModifyCSR(request *ModifyCSRRequest) (response *ModifyCSRResponse, err error)

ModifyCSR This API is used to modify the information of a CSR.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
INVALIDPARAMETER_INVALIDCSRID = "InvalidParameter.InvalidCSRId"
INVALIDPARAMETER_WITHDETAILREASON = "InvalidParameter.WithDetailReason"

func (*Client) ModifyCSRWithContext

func (c *Client) ModifyCSRWithContext(ctx context.Context, request *ModifyCSRRequest) (response *ModifyCSRResponse, err error)

ModifyCSR This API is used to modify the information of a CSR.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
INVALIDPARAMETER_INVALIDCSRID = "InvalidParameter.InvalidCSRId"
INVALIDPARAMETER_WITHDETAILREASON = "InvalidParameter.WithDetailReason"

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"
INVALIDPARAMETER = "InvalidParameter"

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"
INVALIDPARAMETER = "InvalidParameter"

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_CAMAUTHORIZEDFAIL = "FailedOperation.CAMAuthorizedFail"
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_CAMAUTHORIZEDFAIL = "FailedOperation.CAMAuthorizedFail"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"

func (*Client) ModifyCertificateResubmit

func (c *Client) ModifyCertificateResubmit(request *ModifyCertificateResubmitRequest) (response *ModifyCertificateResubmitResponse, err error)

ModifyCertificateResubmit This API is used to re-submit a review application for a paid certificate whose review failed or was canceled.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_CERTIFICATESTATUSNOTALLOWRESUBMIT = "FailedOperation.CertificateStatusNotAllowResubmit"
INVALIDPARAMETER_CERTIFICATESTATUSNOTALLOWRESUBMIT = "InvalidParameter.CertificateStatusNotAllowResubmit"
INVALIDPARAMETER_WITHDETAILREASON = "InvalidParameter.WithDetailReason"

func (*Client) ModifyCertificateResubmitWithContext

func (c *Client) ModifyCertificateResubmitWithContext(ctx context.Context, request *ModifyCertificateResubmitRequest) (response *ModifyCertificateResubmitResponse, err error)

ModifyCertificateResubmit This API is used to re-submit a review application for a paid certificate whose review failed or was canceled.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_CERTIFICATESTATUSNOTALLOWRESUBMIT = "FailedOperation.CertificateStatusNotAllowResubmit"
INVALIDPARAMETER_CERTIFICATESTATUSNOTALLOWRESUBMIT = "InvalidParameter.CertificateStatusNotAllowResubmit"
INVALIDPARAMETER_WITHDETAILREASON = "InvalidParameter.WithDetailReason"

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 = "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_INVALIDCERTIFICATESOURCE = "FailedOperation.InvalidCertificateSource"
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"
INVALIDPARAMETER_RENEWALGORITHMINVALID = "InvalidParameter.RenewAlgorithmInvalid"

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 = "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_INVALIDCERTIFICATESOURCE = "FailedOperation.InvalidCertificateSource"
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"
INVALIDPARAMETER_RENEWALGORITHMINVALID = "InvalidParameter.RenewAlgorithmInvalid"

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

func (c *Client) UpdateCertificateInstance(request *UpdateCertificateInstanceRequest) (response *UpdateCertificateInstanceResponse, err error)

UpdateCertificateInstance This API is used to update old certificate resources with one click and is an asynchronous interface. After this API is called, the returned DeployRecordId being 0 indicates that the task is in progress, and the returned DeployRecordId being greater than 0 indicates that the task is successfully created. If the creation fails, an exception is returned.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATEDEPLOYHASPENDINGRECORD = "FailedOperation.CertificateDeployHasPendingRecord"
FAILEDOPERATION_CERTIFICATEDEPLOYINSTANCEEMPTY = "FailedOperation.CertificateDeployInstanceEmpty"
FAILEDOPERATION_CERTIFICATEEXISTS = "FailedOperation.CertificateExists"
FAILEDOPERATION_CERTIFICATEHOSTDEPLOYCANNOTALLOW = "FailedOperation.CertificateHostDeployCanNotAllow"
FAILEDOPERATION_CERTIFICATEHOSTRESOURCEINNERINTERRUPT = "FailedOperation.CertificateHostResourceInnerInterrupt"
FAILEDOPERATION_CERTIFICATEHOSTRESOURCEINSTANCEHUGELIMIT = "FailedOperation.CertificateHostResourceInstanceHugeLimit"
FAILEDOPERATION_CERTIFICATEHOSTRESOURCETYPEINVALID = "FailedOperation.CertificateHostResourceTypeInvalid"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATENOTAVAILABLE = "FailedOperation.CertificateNotAvailable"
FAILEDOPERATION_CERTIFICATENOTDEPLOYINSTANCE = "FailedOperation.CertificateNotDeployInstance"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ROLENOTFOUNDAUTHORIZATION = "FailedOperation.RoleNotFoundAuthorization"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_WITHDETAILREASON = "InvalidParameter.WithDetailReason"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

func (*Client) UpdateCertificateInstanceWithContext

func (c *Client) UpdateCertificateInstanceWithContext(ctx context.Context, request *UpdateCertificateInstanceRequest) (response *UpdateCertificateInstanceResponse, err error)

UpdateCertificateInstance This API is used to update old certificate resources with one click and is an asynchronous interface. After this API is called, the returned DeployRecordId being 0 indicates that the task is in progress, and the returned DeployRecordId being greater than 0 indicates that the task is successfully created. If the creation fails, an exception is returned.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATEDEPLOYHASPENDINGRECORD = "FailedOperation.CertificateDeployHasPendingRecord"
FAILEDOPERATION_CERTIFICATEDEPLOYINSTANCEEMPTY = "FailedOperation.CertificateDeployInstanceEmpty"
FAILEDOPERATION_CERTIFICATEEXISTS = "FailedOperation.CertificateExists"
FAILEDOPERATION_CERTIFICATEHOSTDEPLOYCANNOTALLOW = "FailedOperation.CertificateHostDeployCanNotAllow"
FAILEDOPERATION_CERTIFICATEHOSTRESOURCEINNERINTERRUPT = "FailedOperation.CertificateHostResourceInnerInterrupt"
FAILEDOPERATION_CERTIFICATEHOSTRESOURCEINSTANCEHUGELIMIT = "FailedOperation.CertificateHostResourceInstanceHugeLimit"
FAILEDOPERATION_CERTIFICATEHOSTRESOURCETYPEINVALID = "FailedOperation.CertificateHostResourceTypeInvalid"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATENOTAVAILABLE = "FailedOperation.CertificateNotAvailable"
FAILEDOPERATION_CERTIFICATENOTDEPLOYINSTANCE = "FailedOperation.CertificateNotDeployInstance"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
FAILEDOPERATION_ROLENOTFOUNDAUTHORIZATION = "FailedOperation.RoleNotFoundAuthorization"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_WITHDETAILREASON = "InvalidParameter.WithDetailReason"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

func (*Client) UpdateCertificateRecordRetry

func (c *Client) UpdateCertificateRecordRetry(request *UpdateCertificateRecordRetryRequest) (response *UpdateCertificateRecordRetryResponse, err error)

UpdateCertificateRecordRetry Cloud resource update deployment retry record

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATEDEPLOYHASPENDINGRECORD = "FailedOperation.CertificateDeployHasPendingRecord"
FAILEDOPERATION_CERTIFICATEDEPLOYRETRYSTATUSINVALID = "FailedOperation.CertificateDeployRetryStatusInvalid"
FAILEDOPERATION_CERTIFICATENOTDEPLOYINSTANCE = "FailedOperation.CertificateNotDeployInstance"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

func (*Client) UpdateCertificateRecordRetryWithContext

func (c *Client) UpdateCertificateRecordRetryWithContext(ctx context.Context, request *UpdateCertificateRecordRetryRequest) (response *UpdateCertificateRecordRetryResponse, err error)

UpdateCertificateRecordRetry Cloud resource update deployment retry record

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATEDEPLOYHASPENDINGRECORD = "FailedOperation.CertificateDeployHasPendingRecord"
FAILEDOPERATION_CERTIFICATEDEPLOYRETRYSTATUSINVALID = "FailedOperation.CertificateDeployRetryStatusInvalid"
FAILEDOPERATION_CERTIFICATENOTDEPLOYINSTANCE = "FailedOperation.CertificateNotDeployInstance"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

func (*Client) UpdateCertificateRecordRollback

func (c *Client) UpdateCertificateRecordRollback(request *UpdateCertificateRecordRollbackRequest) (response *UpdateCertificateRecordRollbackResponse, err error)

UpdateCertificateRecordRollback Cloud resource update one-click rollback

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATEDEPLOYDETAILROLLBACKSTATUSINVALID = "FailedOperation.CertificateDeployDetailRollbackStatusInvalid"
FAILEDOPERATION_CERTIFICATEDEPLOYHASPENDINGRECORD = "FailedOperation.CertificateDeployHasPendingRecord"
FAILEDOPERATION_CERTIFICATEDEPLOYRETRYSTATUSINVALID = "FailedOperation.CertificateDeployRetryStatusInvalid"
FAILEDOPERATION_CERTIFICATEDEPLOYROLLBACKSTATUSINVALID = "FailedOperation.CertificateDeployRollbackStatusInvalid"
FAILEDOPERATION_CERTIFICATENOTDEPLOYINSTANCE = "FailedOperation.CertificateNotDeployInstance"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

func (*Client) UpdateCertificateRecordRollbackWithContext

func (c *Client) UpdateCertificateRecordRollbackWithContext(ctx context.Context, request *UpdateCertificateRecordRollbackRequest) (response *UpdateCertificateRecordRollbackResponse, err error)

UpdateCertificateRecordRollback Cloud resource update one-click rollback

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CERTIFICATEDEPLOYDETAILROLLBACKSTATUSINVALID = "FailedOperation.CertificateDeployDetailRollbackStatusInvalid"
FAILEDOPERATION_CERTIFICATEDEPLOYHASPENDINGRECORD = "FailedOperation.CertificateDeployHasPendingRecord"
FAILEDOPERATION_CERTIFICATEDEPLOYRETRYSTATUSINVALID = "FailedOperation.CertificateDeployRetryStatusInvalid"
FAILEDOPERATION_CERTIFICATEDEPLOYROLLBACKSTATUSINVALID = "FailedOperation.CertificateDeployRollbackStatusInvalid"
FAILEDOPERATION_CERTIFICATENOTDEPLOYINSTANCE = "FailedOperation.CertificateNotDeployInstance"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam"
FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission"
FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth"
INTERNALERROR = "InternalError"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CAMAUTHORIZEDFAIL = "FailedOperation.CAMAuthorizedFail"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEENCRYPTINVALID = "FailedOperation.CertificateEncryptInvalid"
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"
INVALIDPARAMETER_MISSMATCHPRIVATEKEY = "InvalidParameter.MissMatchPrivateKey"
INVALIDPARAMETER_WITHDETAILREASON = "InvalidParameter.WithDetailReason"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

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:

AUTHFAILURE = "AuthFailure"
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError"
FAILEDOPERATION_CAMAUTHORIZEDFAIL = "FailedOperation.CAMAuthorizedFail"
FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed"
FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued"
FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour"
FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder"
FAILEDOPERATION_CERTIFICATEENCRYPTINVALID = "FailedOperation.CertificateEncryptInvalid"
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"
INVALIDPARAMETER_MISSMATCHPRIVATEKEY = "InvalidParameter.MissMatchPrivateKey"
INVALIDPARAMETER_WITHDETAILREASON = "InvalidParameter.WithDetailReason"
LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"

func (*Client) UploadConfirmLetter

func (c *Client) UploadConfirmLetter(request *UploadConfirmLetterRequest) (response *UploadConfirmLetterResponse, err error)

UploadConfirmLetter This API is used to upload the confirmation letter for a certificate.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_CONFIRMLETTERTOOLARGE = "FailedOperation.ConfirmLetterTooLarge"
FAILEDOPERATION_CONFIRMLETTERTOOSMALL = "FailedOperation.ConfirmLetterTooSmall"
FAILEDOPERATION_INVALIDCERTIFICATESOURCE = "FailedOperation.InvalidCertificateSource"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDCONFIRMLETTERFORMAT = "FailedOperation.InvalidConfirmLetterFormat"
FAILEDOPERATION_INVALIDCONFIRMLETTERFORMATWOSIGN = "FailedOperation.InvalidConfirmLetterFormatWosign"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
INTERNALERROR = "InternalError"

func (*Client) UploadConfirmLetterWithContext

func (c *Client) UploadConfirmLetterWithContext(ctx context.Context, request *UploadConfirmLetterRequest) (response *UploadConfirmLetterResponse, err error)

UploadConfirmLetter This API is used to upload the confirmation letter for a certificate.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid"
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
FAILEDOPERATION_CONFIRMLETTERTOOLARGE = "FailedOperation.ConfirmLetterTooLarge"
FAILEDOPERATION_CONFIRMLETTERTOOSMALL = "FailedOperation.ConfirmLetterTooSmall"
FAILEDOPERATION_INVALIDCERTIFICATESOURCE = "FailedOperation.InvalidCertificateSource"
FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode"
FAILEDOPERATION_INVALIDCONFIRMLETTERFORMAT = "FailedOperation.InvalidConfirmLetterFormat"
FAILEDOPERATION_INVALIDCONFIRMLETTERFORMATWOSIGN = "FailedOperation.InvalidConfirmLetterFormatWosign"
FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError"
INTERNALERROR = "InternalError"

type CommitCertificateInformationRequest

type CommitCertificateInformationRequest struct {
	*tchttp.BaseRequest

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

	// Domain validation method
	VerifyType *string `json:"VerifyType,omitnil,omitempty" name:"VerifyType"`
}

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,omitnil,omitempty" name:"CertificateId"`

	// Domain validation method
	VerifyType *string `json:"VerifyType,omitnil,omitempty" name:"VerifyType"`
}

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,omitnil,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,omitnil,omitempty" name:"Status"`

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

Predefined struct for user

type CreateCSRRequest

type CreateCSRRequest struct {
	*tchttp.BaseRequest

	// The domain.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// The organization name.
	Organization *string `json:"Organization,omitnil,omitempty" name:"Organization"`

	// The department.
	Department *string `json:"Department,omitnil,omitempty" name:"Department"`

	// The email address.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// The province.
	Province *string `json:"Province,omitnil,omitempty" name:"Province"`

	// The city.
	City *string `json:"City,omitnil,omitempty" name:"City"`

	// The country or region code that complies with ISO 3166, such as CN and US.
	Country *string `json:"Country,omitnil,omitempty" name:"Country"`

	// The encryption algorithm. RSA and ECC are supported.
	EncryptAlgo *string `json:"EncryptAlgo,omitnil,omitempty" name:"EncryptAlgo"`

	// The key pair parameter. For RSA, only the 2048-bit and 4096-bit key pairs are supported. For ECC, only prime256v1 is supported.
	KeyParameter *string `json:"KeyParameter,omitnil,omitempty" name:"KeyParameter"`

	// Whether to generate the CSR content. Once the CSR content is generated, the CSR record cannot be modified.
	Generate *bool `json:"Generate,omitnil,omitempty" name:"Generate"`

	// The password of the private key.
	KeyPassword *string `json:"KeyPassword,omitnil,omitempty" name:"KeyPassword"`

	// The remarks.
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

func NewCreateCSRRequest

func NewCreateCSRRequest() (request *CreateCSRRequest)

func (*CreateCSRRequest) FromJsonString

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

func (r *CreateCSRRequest) ToJsonString() string

type CreateCSRRequestParams

type CreateCSRRequestParams struct {
	// The domain.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// The organization name.
	Organization *string `json:"Organization,omitnil,omitempty" name:"Organization"`

	// The department.
	Department *string `json:"Department,omitnil,omitempty" name:"Department"`

	// The email address.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// The province.
	Province *string `json:"Province,omitnil,omitempty" name:"Province"`

	// The city.
	City *string `json:"City,omitnil,omitempty" name:"City"`

	// The country or region code that complies with ISO 3166, such as CN and US.
	Country *string `json:"Country,omitnil,omitempty" name:"Country"`

	// The encryption algorithm. RSA and ECC are supported.
	EncryptAlgo *string `json:"EncryptAlgo,omitnil,omitempty" name:"EncryptAlgo"`

	// The key pair parameter. For RSA, only the 2048-bit and 4096-bit key pairs are supported. For ECC, only prime256v1 is supported.
	KeyParameter *string `json:"KeyParameter,omitnil,omitempty" name:"KeyParameter"`

	// Whether to generate the CSR content. Once the CSR content is generated, the CSR record cannot be modified.
	Generate *bool `json:"Generate,omitnil,omitempty" name:"Generate"`

	// The password of the private key.
	KeyPassword *string `json:"KeyPassword,omitnil,omitempty" name:"KeyPassword"`

	// The remarks.
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}

Predefined struct for user

type CreateCSRResponse

type CreateCSRResponse struct {
	*tchttp.BaseResponse
	Response *CreateCSRResponseParams `json:"Response"`
}

func NewCreateCSRResponse

func NewCreateCSRResponse() (response *CreateCSRResponse)

func (*CreateCSRResponse) FromJsonString

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

func (r *CreateCSRResponse) ToJsonString() string

type CreateCSRResponseParams

type CreateCSRResponseParams struct {
	// The CSR ID.
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`

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

Predefined struct for user

type CreateCertificateBindResourceSyncTaskRequest

type CreateCertificateBindResourceSyncTaskRequest struct {
	*tchttp.BaseRequest

	// The list of certificate IDs, 100 IDs at most.
	CertificateIds []*string `json:"CertificateIds,omitnil,omitempty" name:"CertificateIds"`

	// Whether to use the cached results. Valid values: `1` (default) for yes and `0` for no. If any task completed within last 30 minutes exists under the current certificate ID, and the cache is used, the query result of the last task completed within 30 minutes will be read.
	IsCache *uint64 `json:"IsCache,omitnil,omitempty" name:"IsCache"`
}

func NewCreateCertificateBindResourceSyncTaskRequest

func NewCreateCertificateBindResourceSyncTaskRequest() (request *CreateCertificateBindResourceSyncTaskRequest)

func (*CreateCertificateBindResourceSyncTaskRequest) FromJsonString

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

func (*CreateCertificateBindResourceSyncTaskRequest) ToJsonString

type CreateCertificateBindResourceSyncTaskRequestParams

type CreateCertificateBindResourceSyncTaskRequestParams struct {
	// The list of certificate IDs, 100 IDs at most.
	CertificateIds []*string `json:"CertificateIds,omitnil,omitempty" name:"CertificateIds"`

	// Whether to use the cached results. Valid values: `1` (default) for yes and `0` for no. If any task completed within last 30 minutes exists under the current certificate ID, and the cache is used, the query result of the last task completed within 30 minutes will be read.
	IsCache *uint64 `json:"IsCache,omitnil,omitempty" name:"IsCache"`
}

Predefined struct for user

type CreateCertificateBindResourceSyncTaskResponse

type CreateCertificateBindResourceSyncTaskResponse struct {
	*tchttp.BaseResponse
	Response *CreateCertificateBindResourceSyncTaskResponseParams `json:"Response"`
}

func NewCreateCertificateBindResourceSyncTaskResponse

func NewCreateCertificateBindResourceSyncTaskResponse() (response *CreateCertificateBindResourceSyncTaskResponse)

func (*CreateCertificateBindResourceSyncTaskResponse) FromJsonString

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

func (*CreateCertificateBindResourceSyncTaskResponse) ToJsonString

type CreateCertificateBindResourceSyncTaskResponseParams

type CreateCertificateBindResourceSyncTaskResponseParams struct {
	// The IDs of async tasks for querying cloud resources associated with a certificate.
	CertTaskIds []*CertTaskId `json:"CertTaskIds,omitnil,omitempty" name:"CertTaskIds"`

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

Predefined struct for user

type CreateCertificateRequest

type CreateCertificateRequest struct {
	*tchttp.BaseRequest

	// Certificate product ID. `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; `25` WoTrus DV; `26`: WoTrus DV multi-domain; `27`: WoTrus DV wildcard; `28`: WoTrus OV; `29`: WoTrus OV multi-domain; `30`: WoTrus OV wildcard; `31`: WoTrus EV; `32`: WoTrus EV multi-domain; `33`: DNSPod SM2 DV; `34`: DNSPod SM2 DV multi-domain; `35`: DNSPod SM2 DV wildcard; `37`: DNSPod SM2 OV; `38`: DNSPod SM2 OV multi-domain; `39`: DNSPod SM2 OV wildcard: `40`: DNSPod SM2 EV; `41`: DNSPod SM2 EV multi-domain; `42`: TrustAsia DV wildcard multi-domain.
	ProductId *int64 `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// Number of domains associated with the certificate
	DomainNum *int64 `json:"DomainNum,omitnil,omitempty" name:"DomainNum"`

	// Certificate validity period. Currently, you can only purchase 1-year certificates.
	TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`
}

func NewCreateCertificateRequest

func NewCreateCertificateRequest() (request *CreateCertificateRequest)

func (*CreateCertificateRequest) FromJsonString

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

func (r *CreateCertificateRequest) ToJsonString() string

type CreateCertificateRequestParams

type CreateCertificateRequestParams struct {
	// Certificate product ID. `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; `25` WoTrus DV; `26`: WoTrus DV multi-domain; `27`: WoTrus DV wildcard; `28`: WoTrus OV; `29`: WoTrus OV multi-domain; `30`: WoTrus OV wildcard; `31`: WoTrus EV; `32`: WoTrus EV multi-domain; `33`: DNSPod SM2 DV; `34`: DNSPod SM2 DV multi-domain; `35`: DNSPod SM2 DV wildcard; `37`: DNSPod SM2 OV; `38`: DNSPod SM2 OV multi-domain; `39`: DNSPod SM2 OV wildcard: `40`: DNSPod SM2 EV; `41`: DNSPod SM2 EV multi-domain; `42`: TrustAsia DV wildcard multi-domain.
	ProductId *int64 `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// Number of domains associated with the certificate
	DomainNum *int64 `json:"DomainNum,omitnil,omitempty" name:"DomainNum"`

	// Certificate validity period. Currently, you can only purchase 1-year certificates.
	TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`
}

Predefined struct for user

type CreateCertificateResponse

type CreateCertificateResponse struct {
	*tchttp.BaseResponse
	Response *CreateCertificateResponseParams `json:"Response"`
}

func NewCreateCertificateResponse

func NewCreateCertificateResponse() (response *CreateCertificateResponse)

func (*CreateCertificateResponse) FromJsonString

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

func (r *CreateCertificateResponse) ToJsonString() string

type CreateCertificateResponseParams

type CreateCertificateResponseParams struct {
	// List of certificate IDs
	CertificateIds []*string `json:"CertificateIds,omitnil,omitempty" name:"CertificateIds"`

	// List of order IDs
	DealIds []*string `json:"DealIds,omitnil,omitempty" name:"DealIds"`

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

Predefined struct for user

type DdosInstanceDetail

type DdosInstanceDetail struct {
	// The domain.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// The instance ID.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// The protocol type.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// The certificate ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`

	// The forwarding port.
	VirtualPort *string `json:"VirtualPort,omitnil,omitempty" name:"VirtualPort"`
}

type DdosInstanceList

type DdosInstanceList struct {
	// The total number of DDOS instances in this region.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The list of DDOS instances.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceList []*DdosInstanceDetail `json:"InstanceList,omitnil,omitempty" name:"InstanceList"`
}

type DeleteCertificateRequest

type DeleteCertificateRequest struct {
	*tchttp.BaseRequest

	// Certificate ID
	CertificateId *string `json:"CertificateId,omitnil,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,omitnil,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,omitnil,omitempty" name:"DeleteResult"`

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

Predefined struct for user

type DescribeCSRRequest

type DescribeCSRRequest struct {
	*tchttp.BaseRequest

	// The CSR ID.
	CSRId *int64 `json:"CSRId,omitnil,omitempty" name:"CSRId"`
}

func NewDescribeCSRRequest

func NewDescribeCSRRequest() (request *DescribeCSRRequest)

func (*DescribeCSRRequest) FromJsonString

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

func (r *DescribeCSRRequest) ToJsonString() string

type DescribeCSRRequestParams

type DescribeCSRRequestParams struct {
	// The CSR ID.
	CSRId *int64 `json:"CSRId,omitnil,omitempty" name:"CSRId"`
}

Predefined struct for user

type DescribeCSRResponse

type DescribeCSRResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCSRResponseParams `json:"Response"`
}

func NewDescribeCSRResponse

func NewDescribeCSRResponse() (response *DescribeCSRResponse)

func (*DescribeCSRResponse) FromJsonString

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

func (r *DescribeCSRResponse) ToJsonString() string

type DescribeCSRResponseParams

type DescribeCSRResponseParams struct {
	// The CSR ID.
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`

	// The account.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// The domain.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// The organization name.
	Organization *string `json:"Organization,omitnil,omitempty" name:"Organization"`

	// The department.
	Department *string `json:"Department,omitnil,omitempty" name:"Department"`

	// The email address.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// The province.
	Province *string `json:"Province,omitnil,omitempty" name:"Province"`

	// The city.
	City *string `json:"City,omitnil,omitempty" name:"City"`

	// The country or region.
	Country *string `json:"Country,omitnil,omitempty" name:"Country"`

	// The key algorithm.
	EncryptAlgo *string `json:"EncryptAlgo,omitnil,omitempty" name:"EncryptAlgo"`

	// The algorithm parameter.
	KeyParameter *string `json:"KeyParameter,omitnil,omitempty" name:"KeyParameter"`

	// The remarks.
	Remarks *string `json:"Remarks,omitnil,omitempty" name:"Remarks"`

	// The status.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

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

	// The creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

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

	// The content of the private key.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PrivateKey *string `json:"PrivateKey,omitnil,omitempty" name:"PrivateKey"`

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

Predefined struct for user

type DescribeCSRSetRequest

type DescribeCSRSetRequest struct {
	*tchttp.BaseRequest

	// The number of CSRs on each page. The default value is 10, and the maximum value is 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// The pagination offset, starting from 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// The domain for CSR filtering.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// The encryption algorithm for CSR filtering.
	EncryptAlgo *string `json:"EncryptAlgo,omitnil,omitempty" name:"EncryptAlgo"`
}

func NewDescribeCSRSetRequest

func NewDescribeCSRSetRequest() (request *DescribeCSRSetRequest)

func (*DescribeCSRSetRequest) FromJsonString

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

func (r *DescribeCSRSetRequest) ToJsonString() string

type DescribeCSRSetRequestParams

type DescribeCSRSetRequestParams struct {
	// The number of CSRs on each page. The default value is 10, and the maximum value is 100.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// The pagination offset, starting from 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// The domain for CSR filtering.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// The encryption algorithm for CSR filtering.
	EncryptAlgo *string `json:"EncryptAlgo,omitnil,omitempty" name:"EncryptAlgo"`
}

Predefined struct for user

type DescribeCSRSetResponse

type DescribeCSRSetResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCSRSetResponseParams `json:"Response"`
}

func NewDescribeCSRSetResponse

func NewDescribeCSRSetResponse() (response *DescribeCSRSetResponse)

func (*DescribeCSRSetResponse) FromJsonString

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

func (r *DescribeCSRSetResponse) ToJsonString() string

type DescribeCSRSetResponseParams

type DescribeCSRSetResponseParams struct {
	// The total number of CSRs.
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// The list of CSRs.
	Set []*CSRItem `json:"Set,omitnil,omitempty" name:"Set"`

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

Predefined struct for user

type DescribeCertificateBindResourceTaskDetailRequest

type DescribeCertificateBindResourceTaskDetailRequest struct {
	*tchttp.BaseRequest

	// The task ID, which is required to query the result of associated cloud resources.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The number of cloud resources displayed on each page. The default value is 10, and the maximum value is 100.
	Limit *string `json:"Limit,omitnil,omitempty" name:"Limit"`

	// The current offset.
	Offset *string `json:"Offset,omitnil,omitempty" name:"Offset"`

	// The types of the resources to be queried. If no value is passed in, all types of resources will be queried.
	ResourceTypes []*string `json:"ResourceTypes,omitnil,omitempty" name:"ResourceTypes"`

	// The regions of the resources to be queried. Only CLB, TKE, WAF, APIGATEWAY, and TCB resources support the query by region.
	Regions []*string `json:"Regions,omitnil,omitempty" name:"Regions"`
}

func NewDescribeCertificateBindResourceTaskDetailRequest

func NewDescribeCertificateBindResourceTaskDetailRequest() (request *DescribeCertificateBindResourceTaskDetailRequest)

func (*DescribeCertificateBindResourceTaskDetailRequest) FromJsonString

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

func (*DescribeCertificateBindResourceTaskDetailRequest) ToJsonString

type DescribeCertificateBindResourceTaskDetailRequestParams

type DescribeCertificateBindResourceTaskDetailRequestParams struct {
	// The task ID, which is required to query the result of associated cloud resources.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The number of cloud resources displayed on each page. The default value is 10, and the maximum value is 100.
	Limit *string `json:"Limit,omitnil,omitempty" name:"Limit"`

	// The current offset.
	Offset *string `json:"Offset,omitnil,omitempty" name:"Offset"`

	// The types of the resources to be queried. If no value is passed in, all types of resources will be queried.
	ResourceTypes []*string `json:"ResourceTypes,omitnil,omitempty" name:"ResourceTypes"`

	// The regions of the resources to be queried. Only CLB, TKE, WAF, APIGATEWAY, and TCB resources support the query by region.
	Regions []*string `json:"Regions,omitnil,omitempty" name:"Regions"`
}

Predefined struct for user

type DescribeCertificateBindResourceTaskDetailResponse

type DescribeCertificateBindResourceTaskDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCertificateBindResourceTaskDetailResponseParams `json:"Response"`
}

func NewDescribeCertificateBindResourceTaskDetailResponse

func NewDescribeCertificateBindResourceTaskDetailResponse() (response *DescribeCertificateBindResourceTaskDetailResponse)

func (*DescribeCertificateBindResourceTaskDetailResponse) FromJsonString

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

func (*DescribeCertificateBindResourceTaskDetailResponse) ToJsonString

type DescribeCertificateBindResourceTaskDetailResponseParams

type DescribeCertificateBindResourceTaskDetailResponseParams struct {
	// The details of associated CLB resources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CLB []*ClbInstanceList `json:"CLB,omitnil,omitempty" name:"CLB"`

	// The details of associated CDN resources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CDN []*CdnInstanceList `json:"CDN,omitnil,omitempty" name:"CDN"`

	// The details of associated WAF resources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WAF []*WafInstanceList `json:"WAF,omitnil,omitempty" name:"WAF"`

	// The details of associated Anti-DDS resources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DDOS []*DdosInstanceList `json:"DDOS,omitnil,omitempty" name:"DDOS"`

	// The details of associated LIVE resources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LIVE []*LiveInstanceList `json:"LIVE,omitnil,omitempty" name:"LIVE"`

	// The details of associated VOD resources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	VOD []*VODInstanceList `json:"VOD,omitnil,omitempty" name:"VOD"`

	// The details of associated TKE resources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TKE []*TkeInstanceList `json:"TKE,omitnil,omitempty" name:"TKE"`

	// The details of associated APIGATEWAY resources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	APIGATEWAY []*ApiGatewayInstanceList `json:"APIGATEWAY,omitnil,omitempty" name:"APIGATEWAY"`

	// The details of associated TCB resources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TCB []*TCBInstanceList `json:"TCB,omitnil,omitempty" name:"TCB"`

	// The details of associated TEO resources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TEO []*TeoInstanceList `json:"TEO,omitnil,omitempty" name:"TEO"`

	// The status of the async task. Valid values: `0` for querying, `1` for successful, and `2` for abnormal. If the status is `1`, the result of `BindResourceResult` will be displayed; if the status is `2`, the error causes will be displayed.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// The cache time of the current result.
	CacheTime *string `json:"CacheTime,omitnil,omitempty" name:"CacheTime"`

	// Associated TSE resource details
	// Note: This field may return null, indicating that no valid value can be obtained.
	TSE []*TSEInstanceList `json:"TSE,omitnil,omitempty" name:"TSE"`

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

Predefined struct for user

type DescribeCertificateBindResourceTaskResultRequest

type DescribeCertificateBindResourceTaskResultRequest struct {
	*tchttp.BaseRequest

	// The task IDs, which are used to query the results of associated cloud resources, 100 IDs at most.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`
}

func NewDescribeCertificateBindResourceTaskResultRequest

func NewDescribeCertificateBindResourceTaskResultRequest() (request *DescribeCertificateBindResourceTaskResultRequest)

func (*DescribeCertificateBindResourceTaskResultRequest) FromJsonString

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

func (*DescribeCertificateBindResourceTaskResultRequest) ToJsonString

type DescribeCertificateBindResourceTaskResultRequestParams

type DescribeCertificateBindResourceTaskResultRequestParams struct {
	// The task IDs, which are used to query the results of associated cloud resources, 100 IDs at most.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`
}

Predefined struct for user

type DescribeCertificateBindResourceTaskResultResponse

type DescribeCertificateBindResourceTaskResultResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCertificateBindResourceTaskResultResponseParams `json:"Response"`
}

func NewDescribeCertificateBindResourceTaskResultResponse

func NewDescribeCertificateBindResourceTaskResultResponse() (response *DescribeCertificateBindResourceTaskResultResponse)

func (*DescribeCertificateBindResourceTaskResultResponse) FromJsonString

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

func (*DescribeCertificateBindResourceTaskResultResponse) ToJsonString

type DescribeCertificateBindResourceTaskResultResponseParams

type DescribeCertificateBindResourceTaskResultResponseParams struct {
	// The results of the async tasks for querying associated cloud resources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SyncTaskBindResourceResult []*SyncTaskBindResourceResult `json:"SyncTaskBindResourceResult,omitnil,omitempty" name:"SyncTaskBindResourceResult"`

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

Predefined struct for user

type DescribeCertificateDetailRequest

type DescribeCertificateDetailRequest struct {
	*tchttp.BaseRequest

	// Certificate ID
	CertificateId *string `json:"CertificateId,omitnil,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,omitnil,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,omitnil,omitempty" name:"OwnerUin"`

	// Project ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitnil,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,omitnil,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,omitnil,omitempty" name:"CertificateType"`

	// Certificate plan type. null: User-uploaded certificate (no 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; `25` WoTrus DV; `26`: WoTrus DV multi-domain; `27`: WoTrus DV wildcard; `28`: WoTrus OV; `29`: WoTrus OV multi-domain; `30`: WoTrus OV wildcard; `31`: WoTrus EV; `32`: WoTrus EV multi-domain; `33`: DNSPod SM2 DV; `34`: DNSPod SM2 DV multi-domain; `35`: DNSPod SM2 DV wildcard; `37`: DNSPod SM2 OV; `38`: DNSPod SM2 OV multi-domain; `39`: DNSPod SM2 OV wildcard: `40`: DNSPod SM2 EV; `41`: DNSPod SM2 EV multi-domain; `42`: TrustAsia DV wildcard multi-domain.
	PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"`

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

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

	// Alias
	// Note: this field may return null, indicating that no valid values can be obtained.
	Alias *string `json:"Alias,omitnil,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,omitnil,omitempty" name:"Status"`

	// Status information
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusMsg *string `json:"StatusMsg,omitnil,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,omitnil,omitempty" name:"VerifyType"`

	// Vulnerability scanning status
	// Note: this field may return null, indicating that no valid values can be obtained.
	VulnerabilityStatus *string `json:"VulnerabilityStatus,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"ValidityPeriod"`

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

	// Order ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrderId *string `json:"OrderId,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"CertificatePublicKey"`

	// DV authentication information
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthDetail *DvAuthDetail `json:"DvAuthDetail,omitnil,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,omitnil,omitempty" name:"VulnerabilityReport"`

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

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

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

	// Multiple domain names included in the certificate (excluding the primary domain name, which uses the `Domain` field)
	// Note: This field may return null, indicating that no valid values can be obtained.
	SubjectAltName []*string `json:"SubjectAltName,omitnil,omitempty" name:"SubjectAltName"`

	// Whether the certificate is a paid one.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsVip *bool `json:"IsVip,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"IsVulnerability"`

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

	// Whether the certificate can be renewed.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RenewAble *bool `json:"RenewAble,omitnil,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,omitnil,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,omitnil,omitempty" name:"Tags"`

	// Root certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RootCert *RootCertificates `json:"RootCert,omitnil,omitempty" name:"RootCert"`

	// Chinese SM encryption certificate
	// Note: This field may return null, indicating that no valid values can be obtained.
	EncryptCert *string `json:"EncryptCert,omitnil,omitempty" name:"EncryptCert"`

	// Private key of Chinese SM encryption
	// Note: This field may return null, indicating that no valid values can be obtained.
	EncryptPrivateKey *string `json:"EncryptPrivateKey,omitnil,omitempty" name:"EncryptPrivateKey"`

	// SHA1 fingerprint of the signature certificate
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertFingerprint *string `json:"CertFingerprint,omitnil,omitempty" name:"CertFingerprint"`

	// SHA1 fingerprint of the encryption certificate (for Chinese SM certificates only)
	// Note: This field may return null, indicating that no valid values can be obtained.
	EncryptCertFingerprint *string `json:"EncryptCertFingerprint,omitnil,omitempty" name:"EncryptCertFingerprint"`

	// Certificate algorithm
	// Note: This field may return null, indicating that no valid values can be obtained.
	EncryptAlgorithm *string `json:"EncryptAlgorithm,omitnil,omitempty" name:"EncryptAlgorithm"`

	// The authentication value for DV certificate revocation.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DvRevokeAuthDetail []*DvAuths `json:"DvRevokeAuthDetail,omitnil,omitempty" name:"DvRevokeAuthDetail"`

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

Predefined struct for user

type DescribeCertificateOperateLogsRequest

type DescribeCertificateOperateLogsRequest struct {
	*tchttp.BaseRequest

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

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

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

	// End time. The default value is the current time.
	EndTime *string `json:"EndTime,omitnil,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,omitnil,omitempty" name:"Offset"`

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

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

	// End time. The default value is the current time.
	EndTime *string `json:"EndTime,omitnil,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,omitnil,omitempty" name:"AllTotal"`

	// Number of logs returned for this request
	TotalCount *uint64 `json:"TotalCount,omitnil,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,omitnil,omitempty" name:"OperateLogs"`

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

Predefined struct for user

type DescribeCertificateRequest

type DescribeCertificateRequest struct {
	*tchttp.BaseRequest

	// Certificate ID
	CertificateId *string `json:"CertificateId,omitnil,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,omitnil,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,omitnil,omitempty" name:"OwnerUin"`

	// Project ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"ProductZhName"`

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

	// Alias
	// Note: this field may return null, indicating that no valid values can be obtained.
	Alias *string `json:"Alias,omitnil,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,omitnil,omitempty" name:"Status"`

	// Status information
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusMsg *string `json:"StatusMsg,omitnil,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,omitnil,omitempty" name:"VerifyType"`

	// Vulnerability scanning status
	// Note: this field may return null, indicating that no valid values can be obtained.
	VulnerabilityStatus *string `json:"VulnerabilityStatus,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"ValidityPeriod"`

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

	// Order ID
	// Note: this field may return null, indicating that no valid values can be obtained.
	OrderId *string `json:"OrderId,omitnil,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,omitnil,omitempty" name:"CertificateExtra"`

	// DV authentication information
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthDetail *DvAuthDetail `json:"DvAuthDetail,omitnil,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,omitnil,omitempty" name:"VulnerabilityReport"`

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

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

	// Status description
	// Note: this field may return null, indicating that no valid values can be obtained.
	StatusName *string `json:"StatusName,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"RenewAble"`

	// Submitted data
	// Note: this field may return null, indicating that no valid values can be obtained.
	SubmittedData *SubmittedData `json:"SubmittedData,omitnil,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,omitnil,omitempty" name:"Deployable"`

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

	// All encryption algorithms of a CA certificate
	// Note: This field may return null, indicating that no valid values can be obtained.
	CAEncryptAlgorithms []*string `json:"CAEncryptAlgorithms,omitnil,omitempty" name:"CAEncryptAlgorithms"`

	// All common names of a CA certificate
	// Note: This field may return null, indicating that no valid values can be obtained.
	CACommonNames []*string `json:"CACommonNames,omitnil,omitempty" name:"CACommonNames"`

	// All expiration time of a CA certificate
	// Note: This field may return null, indicating that no valid values can be obtained.
	CAEndTimes []*string `json:"CAEndTimes,omitnil,omitempty" name:"CAEndTimes"`

	// The authentication value for DV certificate revocation.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DvRevokeAuthDetail []*DvAuths `json:"DvRevokeAuthDetail,omitnil,omitempty" name:"DvRevokeAuthDetail"`

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

Predefined struct for user

type DescribeCertificatesRequest

type DescribeCertificatesRequest struct {
	*tchttp.BaseRequest

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

	// Number of entries per page. Default value: `20`. Maximum value: `1000`.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

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

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

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

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

	// 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; `13`: Pending information submission for the free certificate.
	CertificateStatus []*uint64 `json:"CertificateStatus,omitnil,omitempty" name:"CertificateStatus"`

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

	// Whether to filter uploaded hosted certificates. `1`: Yes; `0`: No.
	Upload *int64 `json:"Upload,omitnil,omitempty" name:"Upload"`

	// Whether to filter renewable certificates. `1`: Yes; `0`: No.
	Renew *int64 `json:"Renew,omitnil,omitempty" name:"Renew"`

	// Filter by source. `upload`: Uploaded certificate; `buy`: Tencent Cloud certificate. If this parameter is left empty, all certificates will be queried.
	FilterSource *string `json:"FilterSource,omitnil,omitempty" name:"FilterSource"`

	// Whether to filter Chinese SM certificates. `1`: Yes; `0`: No.
	IsSM *int64 `json:"IsSM,omitnil,omitempty" name:"IsSM"`

	// Whether to filter expiring certificates. `1`: Yes; `0`: No.
	FilterExpiring *uint64 `json:"FilterExpiring,omitnil,omitempty" name:"FilterExpiring"`

	// Whether the certificate can be hosted. Valid values: `1` for yes and `0` for no.
	Hostable *uint64 `json:"Hostable,omitnil,omitempty" name:"Hostable"`
}

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,omitnil,omitempty" name:"Offset"`

	// Number of entries per page. Default value: `20`. Maximum value: `1000`.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

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

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

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

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

	// 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; `13`: Pending information submission for the free certificate.
	CertificateStatus []*uint64 `json:"CertificateStatus,omitnil,omitempty" name:"CertificateStatus"`

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

	// Whether to filter uploaded hosted certificates. `1`: Yes; `0`: No.
	Upload *int64 `json:"Upload,omitnil,omitempty" name:"Upload"`

	// Whether to filter renewable certificates. `1`: Yes; `0`: No.
	Renew *int64 `json:"Renew,omitnil,omitempty" name:"Renew"`

	// Filter by source. `upload`: Uploaded certificate; `buy`: Tencent Cloud certificate. If this parameter is left empty, all certificates will be queried.
	FilterSource *string `json:"FilterSource,omitnil,omitempty" name:"FilterSource"`

	// Whether to filter Chinese SM certificates. `1`: Yes; `0`: No.
	IsSM *int64 `json:"IsSM,omitnil,omitempty" name:"IsSM"`

	// Whether to filter expiring certificates. `1`: Yes; `0`: No.
	FilterExpiring *uint64 `json:"FilterExpiring,omitnil,omitempty" name:"FilterExpiring"`

	// Whether the certificate can be hosted. Valid values: `1` for yes and `0` for no.
	Hostable *uint64 `json:"Hostable,omitnil,omitempty" name:"Hostable"`
}

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,omitnil,omitempty" name:"TotalCount"`

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

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

Predefined struct for user

type DescribeHostTeoInstanceListRequest

type DescribeHostTeoInstanceListRequest struct {
	*tchttp.BaseRequest

	// The ID of the certificate to be deployed.
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`

	// The type of resource for certificate deployment.
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// Whether to query the cached results. Valid values: `1` (yes) and `0` (no). By default, the cached results within 30 minutes are queried.
	IsCache *uint64 `json:"IsCache,omitnil,omitempty" name:"IsCache"`

	// The list of filter parameters. FilterKey: domainMatch (query the list of instances with matching or non-matching domains). FilterValue: `1` (default; query the list of instances with matching domains) or `0` (query the list of instances with non-matching domains).
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// The ID of the deployed certificate.
	OldCertificateId *string `json:"OldCertificateId,omitnil,omitempty" name:"OldCertificateId"`

	// The pagination offset, starting from 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// The number of instances on each page. Default value: 10.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Whether the query is asynchronous.
	AsyncCache *int64 `json:"AsyncCache,omitnil,omitempty" name:"AsyncCache"`
}

func NewDescribeHostTeoInstanceListRequest

func NewDescribeHostTeoInstanceListRequest() (request *DescribeHostTeoInstanceListRequest)

func (*DescribeHostTeoInstanceListRequest) FromJsonString

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

func (r *DescribeHostTeoInstanceListRequest) ToJsonString() string

type DescribeHostTeoInstanceListRequestParams

type DescribeHostTeoInstanceListRequestParams struct {
	// The ID of the certificate to be deployed.
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`

	// The type of resource for certificate deployment.
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// Whether to query the cached results. Valid values: `1` (yes) and `0` (no). By default, the cached results within 30 minutes are queried.
	IsCache *uint64 `json:"IsCache,omitnil,omitempty" name:"IsCache"`

	// The list of filter parameters. FilterKey: domainMatch (query the list of instances with matching or non-matching domains). FilterValue: `1` (default; query the list of instances with matching domains) or `0` (query the list of instances with non-matching domains).
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// The ID of the deployed certificate.
	OldCertificateId *string `json:"OldCertificateId,omitnil,omitempty" name:"OldCertificateId"`

	// The pagination offset, starting from 0.
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// The number of instances on each page. Default value: 10.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Whether the query is asynchronous.
	AsyncCache *int64 `json:"AsyncCache,omitnil,omitempty" name:"AsyncCache"`
}

Predefined struct for user

type DescribeHostTeoInstanceListResponse

type DescribeHostTeoInstanceListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeHostTeoInstanceListResponseParams `json:"Response"`
}

func NewDescribeHostTeoInstanceListResponse

func NewDescribeHostTeoInstanceListResponse() (response *DescribeHostTeoInstanceListResponse)

func (*DescribeHostTeoInstanceListResponse) FromJsonString

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

func (r *DescribeHostTeoInstanceListResponse) ToJsonString() string

type DescribeHostTeoInstanceListResponseParams

type DescribeHostTeoInstanceListResponseParams struct {
	// The list of EDGEONE instances.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceList []*TeoInstanceDetail `json:"InstanceList,omitnil,omitempty" name:"InstanceList"`

	// The total count.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

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

Predefined struct for user

type DescribeHostUpdateRecordDetailRequest

type DescribeHostUpdateRecordDetailRequest struct {
	*tchttp.BaseRequest

	// One-click update record ID
	DeployRecordId *string `json:"DeployRecordId,omitnil,omitempty" name:"DeployRecordId"`

	// Number per page, 10 by default.
	Limit *string `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Paging offset, starting from 0
	Offset *string `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeHostUpdateRecordDetailRequest

func NewDescribeHostUpdateRecordDetailRequest() (request *DescribeHostUpdateRecordDetailRequest)

func (*DescribeHostUpdateRecordDetailRequest) FromJsonString

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

type DescribeHostUpdateRecordDetailRequestParams

type DescribeHostUpdateRecordDetailRequestParams struct {
	// One-click update record ID
	DeployRecordId *string `json:"DeployRecordId,omitnil,omitempty" name:"DeployRecordId"`

	// Number per page, 10 by default.
	Limit *string `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Paging offset, starting from 0
	Offset *string `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeHostUpdateRecordDetailResponse

type DescribeHostUpdateRecordDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeHostUpdateRecordDetailResponseParams `json:"Response"`
}

func NewDescribeHostUpdateRecordDetailResponse

func NewDescribeHostUpdateRecordDetailResponse() (response *DescribeHostUpdateRecordDetailResponse)

func (*DescribeHostUpdateRecordDetailResponse) FromJsonString

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

func (*DescribeHostUpdateRecordDetailResponse) ToJsonString

type DescribeHostUpdateRecordDetailResponseParams

type DescribeHostUpdateRecordDetailResponseParams struct {
	// Total count
	// Note: This field may return null, indicating that no valid value can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Certificate deployment record list
	// Note: This field may return null, indicating that no valid value can be obtained.
	RecordDetailList []*UpdateRecordDetails `json:"RecordDetailList,omitnil,omitempty" name:"RecordDetailList"`

	// Total successful deployments
	// Note: This field may return null, indicating that no valid value can be obtained.
	SuccessTotalCount *int64 `json:"SuccessTotalCount,omitnil,omitempty" name:"SuccessTotalCount"`

	// Total failed deployments
	// Note: This field may return null, indicating that no valid value can be obtained.
	FailedTotalCount *int64 `json:"FailedTotalCount,omitnil,omitempty" name:"FailedTotalCount"`

	// Total running deployments
	// Note: This field may return null, indicating that no valid value can be obtained.
	RunningTotalCount *int64 `json:"RunningTotalCount,omitnil,omitempty" name:"RunningTotalCount"`

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

Predefined struct for user

type DescribeHostUpdateRecordRequest

type DescribeHostUpdateRecordRequest struct {
	*tchttp.BaseRequest

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

	// Number per page, 10 by default.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// New certificate ID
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`

	// Old certificate ID
	OldCertificateId *string `json:"OldCertificateId,omitnil,omitempty" name:"OldCertificateId"`
}

func NewDescribeHostUpdateRecordRequest

func NewDescribeHostUpdateRecordRequest() (request *DescribeHostUpdateRecordRequest)

func (*DescribeHostUpdateRecordRequest) FromJsonString

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

func (r *DescribeHostUpdateRecordRequest) ToJsonString() string

type DescribeHostUpdateRecordRequestParams

type DescribeHostUpdateRecordRequestParams struct {
	// Paging offset, starting from 0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number per page, 10 by default.
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// New certificate ID
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`

	// Old certificate ID
	OldCertificateId *string `json:"OldCertificateId,omitnil,omitempty" name:"OldCertificateId"`
}

Predefined struct for user

type DescribeHostUpdateRecordResponse

type DescribeHostUpdateRecordResponse struct {
	*tchttp.BaseResponse
	Response *DescribeHostUpdateRecordResponseParams `json:"Response"`
}

func NewDescribeHostUpdateRecordResponse

func NewDescribeHostUpdateRecordResponse() (response *DescribeHostUpdateRecordResponse)

func (*DescribeHostUpdateRecordResponse) FromJsonString

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

func (r *DescribeHostUpdateRecordResponse) ToJsonString() string

type DescribeHostUpdateRecordResponseParams

type DescribeHostUpdateRecordResponseParams struct {
	// Total count
	// Note: This field may return null, indicating that no valid value can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Certificate deployment record list
	// Note: This field may return null, indicating that no valid value can be obtained.
	DeployRecordList []*UpdateRecordInfo `json:"DeployRecordList,omitnil,omitempty" name:"DeployRecordList"`

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

Predefined struct for user

type DownloadCertificateRequest

type DownloadCertificateRequest struct {
	*tchttp.BaseRequest

	// Certificate ID
	CertificateId *string `json:"CertificateId,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"ContentType"`

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

	// DV authentication value
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthValue *string `json:"DvAuthValue,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"DvAuthKeySubDomain"`

	// DV authentication information
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuths []*DvAuths `json:"DvAuths,omitnil,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,omitnil,omitempty" name:"DvAuthKey"`

	// DV authentication value
	// Note: this field may return null, indicating that no valid values can be obtained.
	DvAuthValue *string `json:"DvAuthValue,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"DvAuthSubDomain"`

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

type Error

type Error struct {
	// The error code.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Code *string `json:"Code,omitnil,omitempty" name:"Code"`

	// The error message.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`
}

type Filter

type Filter struct {
	// The key of the filter parameter.
	FilterKey *string `json:"FilterKey,omitnil,omitempty" name:"FilterKey"`

	// u200cThe value of the filter parameter.
	FilterValue *string `json:"FilterValue,omitnil,omitempty" name:"FilterValue"`
}

type GatewayCertificate

type GatewayCertificate struct {
	// Gateway certificate ID
	// Note: This field may return null, indicating that no valid value can be obtained.
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Gateway certificate information
	// Note: This field may return null, indicating that no valid value can be obtained.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Bound domain name
	// Note: This field may return null, indicating that no valid value can be obtained.
	BindDomains []*string `json:"BindDomains,omitnil,omitempty" name:"BindDomains"`

	// Certificate source
	// Note: This field may return null, indicating that no valid value can be obtained.
	CertSource *string `json:"CertSource,omitnil,omitempty" name:"CertSource"`

	// SSL certificate ID that is currently bound
	// Note: This field may return null, indicating that no valid value can be obtained.
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`
}

type LiveInstanceDetail

type LiveInstanceDetail struct {
	// The domain.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// The ID of the associated certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`

	// The status. Valid values: `-1`: No certificate is associated with the domain.
	// `1`: HTTPS is enabled for the domain.
	// `0`: HTTPS is disabled for the domain.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type LiveInstanceList

type LiveInstanceList struct {
	// The total number of LIVE instances in this region.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The list of LIVE instances.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceList []*LiveInstanceDetail `json:"InstanceList,omitnil,omitempty" name:"InstanceList"`
}

type ModifyCSRRequest

type ModifyCSRRequest struct {
	*tchttp.BaseRequest

	// The CSR ID.
	CSRId *int64 `json:"CSRId,omitnil,omitempty" name:"CSRId"`

	// Whether to generate the CSR content. Once the CSR content is generated, the CSR record cannot be modified.
	Generate *bool `json:"Generate,omitnil,omitempty" name:"Generate"`

	// The domain.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// The organization name.
	Organization *string `json:"Organization,omitnil,omitempty" name:"Organization"`

	// The department.
	Department *string `json:"Department,omitnil,omitempty" name:"Department"`

	// The email address.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// The province.
	Province *string `json:"Province,omitnil,omitempty" name:"Province"`

	// The city.
	City *string `json:"City,omitnil,omitempty" name:"City"`

	// The country or region.
	Country *string `json:"Country,omitnil,omitempty" name:"Country"`

	// The encryption algorithm. RSA and ECC are supported.
	EncryptAlgo *string `json:"EncryptAlgo,omitnil,omitempty" name:"EncryptAlgo"`

	// The key pair parameter. For RSA, only the 2048-bit and 4096-bit key pairs are supported. For ECC, only prime256v1 is supported.
	KeyParameter *string `json:"KeyParameter,omitnil,omitempty" name:"KeyParameter"`

	// The remarks.
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// The password of the private key.
	KeyPassword *string `json:"KeyPassword,omitnil,omitempty" name:"KeyPassword"`
}

func NewModifyCSRRequest

func NewModifyCSRRequest() (request *ModifyCSRRequest)

func (*ModifyCSRRequest) FromJsonString

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

func (r *ModifyCSRRequest) ToJsonString() string

type ModifyCSRRequestParams

type ModifyCSRRequestParams struct {
	// The CSR ID.
	CSRId *int64 `json:"CSRId,omitnil,omitempty" name:"CSRId"`

	// Whether to generate the CSR content. Once the CSR content is generated, the CSR record cannot be modified.
	Generate *bool `json:"Generate,omitnil,omitempty" name:"Generate"`

	// The domain.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// The organization name.
	Organization *string `json:"Organization,omitnil,omitempty" name:"Organization"`

	// The department.
	Department *string `json:"Department,omitnil,omitempty" name:"Department"`

	// The email address.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// The province.
	Province *string `json:"Province,omitnil,omitempty" name:"Province"`

	// The city.
	City *string `json:"City,omitnil,omitempty" name:"City"`

	// The country or region.
	Country *string `json:"Country,omitnil,omitempty" name:"Country"`

	// The encryption algorithm. RSA and ECC are supported.
	EncryptAlgo *string `json:"EncryptAlgo,omitnil,omitempty" name:"EncryptAlgo"`

	// The key pair parameter. For RSA, only the 2048-bit and 4096-bit key pairs are supported. For ECC, only prime256v1 is supported.
	KeyParameter *string `json:"KeyParameter,omitnil,omitempty" name:"KeyParameter"`

	// The remarks.
	Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`

	// The password of the private key.
	KeyPassword *string `json:"KeyPassword,omitnil,omitempty" name:"KeyPassword"`
}

Predefined struct for user

type ModifyCSRResponse

type ModifyCSRResponse struct {
	*tchttp.BaseResponse
	Response *ModifyCSRResponseParams `json:"Response"`
}

func NewModifyCSRResponse

func NewModifyCSRResponse() (response *ModifyCSRResponse)

func (*ModifyCSRResponse) FromJsonString

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

func (r *ModifyCSRResponse) ToJsonString() string

type ModifyCSRResponseParams

type ModifyCSRResponseParams struct {
	// The CSR ID.
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`

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

Predefined struct for user

type ModifyCertificateAliasRequest

type ModifyCertificateAliasRequest struct {
	*tchttp.BaseRequest

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

	// Alias
	Alias *string `json:"Alias,omitnil,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,omitnil,omitempty" name:"CertificateId"`

	// Alias
	Alias *string `json:"Alias,omitnil,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,omitnil,omitempty" name:"CertificateId"`

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

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitnil,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,omitnil,omitempty" name:"CertificateIdList"`

	// Project ID
	ProjectId *uint64 `json:"ProjectId,omitnil,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,omitnil,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,omitnil,omitempty" name:"FailCertificates"`

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

Predefined struct for user

type ModifyCertificateResubmitRequest

type ModifyCertificateResubmitRequest struct {
	*tchttp.BaseRequest

	// The certificate ID.
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`
}

func NewModifyCertificateResubmitRequest

func NewModifyCertificateResubmitRequest() (request *ModifyCertificateResubmitRequest)

func (*ModifyCertificateResubmitRequest) FromJsonString

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

func (r *ModifyCertificateResubmitRequest) ToJsonString() string

type ModifyCertificateResubmitRequestParams

type ModifyCertificateResubmitRequestParams struct {
	// The certificate ID.
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`
}

Predefined struct for user

type ModifyCertificateResubmitResponse

type ModifyCertificateResubmitResponse struct {
	*tchttp.BaseResponse
	Response *ModifyCertificateResubmitResponseParams `json:"Response"`
}

func NewModifyCertificateResubmitResponse

func NewModifyCertificateResubmitResponse() (response *ModifyCertificateResubmitResponse)

func (*ModifyCertificateResubmitResponse) FromJsonString

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

func (r *ModifyCertificateResubmitResponse) ToJsonString() string

type ModifyCertificateResubmitResponseParams

type ModifyCertificateResubmitResponseParams struct {
	// The certificate ID.
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`

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

Predefined struct for user

type OperationLog

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

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

type PreAuditInfo

type PreAuditInfo struct {
	// Total number of years of the certificate
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalPeriod *int64 `json:"TotalPeriod,omitnil,omitempty" name:"TotalPeriod"`

	// Current year of the certificate
	// Note: This field may return null, indicating that no valid values can be obtained.
	NowPeriod *int64 `json:"NowPeriod,omitnil,omitempty" name:"NowPeriod"`

	// Certificate prereview manager ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	ManagerId *string `json:"ManagerId,omitnil,omitempty" name:"ManagerId"`
}

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,omitnil,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,omitnil,omitempty" name:"ProjectCreatorUin"`

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

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

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

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

type ReplaceCertificateRequest

type ReplaceCertificateRequest struct {
	*tchttp.BaseRequest

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

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

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

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

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

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

	// The CSR encryption algorithm. Valid values: `RSA` (default), `ECC1`, and `SM2`.
	// This parameter is available for selection only when the value of `CsrType` is `Online`.
	CertCSREncryptAlgo *string `json:"CertCSREncryptAlgo,omitnil,omitempty" name:"CertCSREncryptAlgo"`

	// The CSR encryption parameters. When `CsrEncryptAlgo` is set to `RSA`, `2048` (default) and `4096` are available for selection; and when`CsrEncryptAlgo` is set to `ECC`, `prime256v1` (default) and `secp384r1` are available for selection.
	CertCSRKeyParameter *string `json:"CertCSRKeyParameter,omitnil,omitempty" name:"CertCSRKeyParameter"`
}

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,omitnil,omitempty" name:"CertificateId"`

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

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

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

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

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

	// The CSR encryption algorithm. Valid values: `RSA` (default), `ECC1`, and `SM2`.
	// This parameter is available for selection only when the value of `CsrType` is `Online`.
	CertCSREncryptAlgo *string `json:"CertCSREncryptAlgo,omitnil,omitempty" name:"CertCSREncryptAlgo"`

	// The CSR encryption parameters. When `CsrEncryptAlgo` is set to `RSA`, `2048` (default) and `4096` are available for selection; and when`CsrEncryptAlgo` is set to `ECC`, `prime256v1` (default) and `secp384r1` are available for selection.
	CertCSRKeyParameter *string `json:"CertCSRKeyParameter,omitnil,omitempty" name:"CertCSRKeyParameter"`
}

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,omitnil,omitempty" name:"CertificateId"`

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

Predefined struct for user

type ResourceTypeRegions

type ResourceTypeRegions struct {
	// Cloud resource type
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// Region list
	Regions []*string `json:"Regions,omitnil,omitempty" name:"Regions"`
}

type RootCertificates

type RootCertificates struct {
	// Chinese SM signature certificate
	// Note: This field may return null, indicating that no valid values can be obtained.
	Sign *string `json:"Sign,omitnil,omitempty" name:"Sign"`

	// Chinese SM encryption certificate
	// Note: This field may return null, indicating that no valid values can be obtained.
	Encrypt *string `json:"Encrypt,omitnil,omitempty" name:"Encrypt"`

	// Standard certificate
	// Note: This field may return null, indicating that no valid values can be obtained.
	Standard *string `json:"Standard,omitnil,omitempty" name:"Standard"`
}

type SubmitCertificateInformationRequest

type SubmitCertificateInformationRequest struct {
	*tchttp.BaseRequest

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// Position of the contact
	ContactPosition *string `json:"ContactPosition,omitnil,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,omitnil,omitempty" name:"CertificateId"`

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// Position of the contact
	ContactPosition *string `json:"ContactPosition,omitnil,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,omitnil,omitempty" name:"CertificateId"`

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

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

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

	// DNS information
	// Note: this field may return null, indicating that no valid values can be obtained.
	DomainList []*string `json:"DomainList,omitnil,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,omitnil,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,omitnil,omitempty" name:"OrganizationName"`

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

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

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

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

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

	// Postal code
	// Note: this field may return null, indicating that no valid values can be obtained.
	PostalCode *string `json:"PostalCode,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,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,omitnil,omitempty" name:"ContactPosition"`

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

type SupportDownloadType

type SupportDownloadType struct {
	NGINX *bool `json:"NGINX,omitnil,omitempty" name:"NGINX"`

	APACHE *bool `json:"APACHE,omitnil,omitempty" name:"APACHE"`

	TOMCAT *bool `json:"TOMCAT,omitnil,omitempty" name:"TOMCAT"`

	IIS *bool `json:"IIS,omitnil,omitempty" name:"IIS"`

	JKS *bool `json:"JKS,omitnil,omitempty" name:"JKS"`

	OTHER *bool `json:"OTHER,omitnil,omitempty" name:"OTHER"`

	ROOT *bool `json:"ROOT,omitnil,omitempty" name:"ROOT"`
}

type SyncTaskBindResourceResult

type SyncTaskBindResourceResult struct {
	// The task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The associated cloud resources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BindResourceResult []*BindResourceResult `json:"BindResourceResult,omitnil,omitempty" name:"BindResourceResult"`

	// The status of the async task. Valid values: `0` for querying, `1` for successful, and `2` for abnormal. If the status is `1`, the result of `BindResourceResult` will be displayed; if the status is `2`, the error causes will be displayed.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// The error occurred when querying the associated cloud resources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Error *Error `json:"Error,omitnil,omitempty" name:"Error"`

	// The cache time of the current result.
	CacheTime *string `json:"CacheTime,omitnil,omitempty" name:"CacheTime"`
}

type TCBAccessInstance

type TCBAccessInstance struct {
	// The domain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// The status.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// The unified domain status.
	//
	// Note: This field may return null, indicating that no valid values can be obtained.
	UnionStatus *int64 `json:"UnionStatus,omitnil,omitempty" name:"UnionStatus"`

	// Whether the domain is preempted. A preempted domain is one that is already associated with another environment. It must be disassociated or re-associated first.
	//
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsPreempted *bool `json:"IsPreempted,omitnil,omitempty" name:"IsPreempted"`

	// Whether the domain is added to the ICP blocklist. Valid values: `0` for no and `1` for yes.
	//
	// Note: This field may return null, indicating that no valid values can be obtained.
	ICPStatus *int64 `json:"ICPStatus,omitnil,omitempty" name:"ICPStatus"`

	// The ID of the associated certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	OldCertificateId *string `json:"OldCertificateId,omitnil,omitempty" name:"OldCertificateId"`
}

type TCBAccessService

type TCBAccessService struct {
	// The list of instances.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceList []*TCBAccessInstance `json:"InstanceList,omitnil,omitempty" name:"InstanceList"`

	// The instance count.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

type TCBEnvironment

type TCBEnvironment struct {
	// The unique ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ID *string `json:"ID,omitnil,omitempty" name:"ID"`

	// The source.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Source *string `json:"Source,omitnil,omitempty" name:"Source"`

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

	// The status.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}

type TCBEnvironments

type TCBEnvironments struct {
	// The TCB environment.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Environment *TCBEnvironment `json:"Environment,omitnil,omitempty" name:"Environment"`

	// The access service.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AccessService *TCBAccessService `json:"AccessService,omitnil,omitempty" name:"AccessService"`

	// Whether static hosting is used.
	// Note: This field may return null, indicating that no valid values can be obtained.
	HostService *TCBHostService `json:"HostService,omitnil,omitempty" name:"HostService"`
}

type TCBHostInstance

type TCBHostInstance struct {
	// The domain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// The status.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// The resolution status.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DNSStatus *string `json:"DNSStatus,omitnil,omitempty" name:"DNSStatus"`

	// The ID of the associated certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	OldCertificateId *string `json:"OldCertificateId,omitnil,omitempty" name:"OldCertificateId"`
}

type TCBHostService

type TCBHostService struct {
	// The list of instances.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceList []*TCBHostInstance `json:"InstanceList,omitnil,omitempty" name:"InstanceList"`

	// The instance count.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

type TCBInstanceList

type TCBInstanceList struct {
	// The region.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// The list of TCB environments.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Environments []*TCBEnvironments `json:"Environments,omitnil,omitempty" name:"Environments"`
}

type TSEInstanceDetail

type TSEInstanceDetail struct {
	// Gateway ID
	// Note: This field may return null, indicating that no valid value can be obtained.
	GatewayId *string `json:"GatewayId,omitnil,omitempty" name:"GatewayId"`

	// Gateway name
	// Note: This field may return null, indicating that no valid value can be obtained.
	GatewayName *string `json:"GatewayName,omitnil,omitempty" name:"GatewayName"`

	// Gateway certificate list
	// Note: This field may return null, indicating that no valid value can be obtained.
	CertificateList []*GatewayCertificate `json:"CertificateList,omitnil,omitempty" name:"CertificateList"`
}

type TSEInstanceList

type TSEInstanceList struct {
	// TSE instance details
	// Note: This field may return null, indicating that no valid value can be obtained.
	InstanceList []*TSEInstanceDetail `json:"InstanceList,omitnil,omitempty" name:"InstanceList"`

	// Total TSE instances in this region
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Region
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`
}

type Tags

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

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

type TeoInstanceDetail

type TeoInstanceDetail struct {
	// The domain.
	Host *string `json:"Host,omitnil,omitempty" name:"Host"`

	// The certificate ID.
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`

	// The AZ ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// The status of the domain.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}

type TeoInstanceList

type TeoInstanceList struct {
	// The list of EDGEONE instances.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceList []*TeoInstanceDetail `json:"InstanceList,omitnil,omitempty" name:"InstanceList"`

	// The total number of EDGEONE instances.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

type TkeIngressDetail

type TkeIngressDetail struct {
	// The Ingress name.
	IngressName *string `json:"IngressName,omitnil,omitempty" name:"IngressName"`

	// The list of TLS domains.
	TlsDomains []*string `json:"TlsDomains,omitnil,omitempty" name:"TlsDomains"`

	// The list of Ingress domains.
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`
}

type TkeInstanceDetail

type TkeInstanceDetail struct {
	// The cluster ID.
	ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`

	// The cluster name.
	ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`

	// The list of cluster namespaces.
	NamespaceList []*TkeNameSpaceDetail `json:"NamespaceList,omitnil,omitempty" name:"NamespaceList"`

	// The cluster type.
	ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`

	// The cluster version.
	ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"`
}

type TkeInstanceList

type TkeInstanceList struct {
	// The region.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// The list of TKE instances.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceList []*TkeInstanceDetail `json:"InstanceList,omitnil,omitempty" name:"InstanceList"`

	// The total number of TKE instances in this region.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

type TkeNameSpaceDetail

type TkeNameSpaceDetail struct {
	// The namespace name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// The secret list.
	SecretList []*TkeSecretDetail `json:"SecretList,omitnil,omitempty" name:"SecretList"`
}

type TkeSecretDetail

type TkeSecretDetail struct {
	// The secret name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// The certificate ID.
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`

	// The Ingress list.
	IngressList []*TkeIngressDetail `json:"IngressList,omitnil,omitempty" name:"IngressList"`

	// The list of domains that do not match the new certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	NoMatchDomains []*string `json:"NoMatchDomains,omitnil,omitempty" name:"NoMatchDomains"`
}

type UpdateCertificateInstanceRequest

type UpdateCertificateInstanceRequest struct {
	*tchttp.BaseRequest

	// One-click update old certificate ID
	OldCertificateId *string `json:"OldCertificateId,omitnil,omitempty" name:"OldCertificateId"`

	// Type of the resource that needs to be deployed. The following parameter values are optional: clb, cdn, waf, live, ddos, teo, apigateway, vod, tke, and tcb.
	ResourceTypes []*string `json:"ResourceTypes,omitnil,omitempty" name:"ResourceTypes"`

	// One-click update new certificate ID
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`

	// List of regions that need to be deployed (deprecated)
	Regions []*string `json:"Regions,omitnil,omitempty" name:"Regions"`

	// List of regions for which cloud resources need to be deployed
	ResourceTypesRegions []*ResourceTypeRegions `json:"ResourceTypesRegions,omitnil,omitempty" name:"ResourceTypesRegions"`

	// Public key of the certificate. If the public key of the certificate is uploaded, CertificateId does not need to be uploaded.
	CertificatePublicKey *string `json:"CertificatePublicKey,omitnil,omitempty" name:"CertificatePublicKey"`

	// Private key of the certificate. If the public key of the certificate is uploaded, the private key of the certificate is required.
	CertificatePrivateKey *string `json:"CertificatePrivateKey,omitnil,omitempty" name:"CertificatePrivateKey"`

	// Whether an expiration reminder is ignored for the old certificate. 0: The notification is not ignored. 1: The notification is ignored.
	ExpiringNotificationSwitch *uint64 `json:"ExpiringNotificationSwitch,omitnil,omitempty" name:"ExpiringNotificationSwitch"`

	// Whether repeated uploading of the same certificate is allowed. If the public key of the certificate is uploaded, this parameter can be configured.
	Repeatable *bool `json:"Repeatable,omitnil,omitempty" name:"Repeatable"`

	// Whether downloading is allowed. If the public key of the certificate is uploaded, this parameter can be configured.
	AllowDownload *bool `json:"AllowDownload,omitnil,omitempty" name:"AllowDownload"`

	// Tag list. If the public key of the certificate is uploaded, this parameter can be configured.
	Tags []*Tags `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Project ID. If the public key of the certificate is uploaded, this parameter can be configured.
	ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func NewUpdateCertificateInstanceRequest

func NewUpdateCertificateInstanceRequest() (request *UpdateCertificateInstanceRequest)

func (*UpdateCertificateInstanceRequest) FromJsonString

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

func (r *UpdateCertificateInstanceRequest) ToJsonString() string

type UpdateCertificateInstanceRequestParams

type UpdateCertificateInstanceRequestParams struct {
	// One-click update old certificate ID
	OldCertificateId *string `json:"OldCertificateId,omitnil,omitempty" name:"OldCertificateId"`

	// Type of the resource that needs to be deployed. The following parameter values are optional: clb, cdn, waf, live, ddos, teo, apigateway, vod, tke, and tcb.
	ResourceTypes []*string `json:"ResourceTypes,omitnil,omitempty" name:"ResourceTypes"`

	// One-click update new certificate ID
	CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`

	// List of regions that need to be deployed (deprecated)
	//
	// Deprecated: Regions is deprecated.
	Regions []*string `json:"Regions,omitnil,omitempty" name:"Regions"`

	// List of regions for which cloud resources need to be deployed
	ResourceTypesRegions []*ResourceTypeRegions `json:"ResourceTypesRegions,omitnil,omitempty" name:"ResourceTypesRegions"`

	// Public key of the certificate. If the public key of the certificate is uploaded, CertificateId does not need to be uploaded.
	CertificatePublicKey *string `json:"CertificatePublicKey,omitnil,omitempty" name:"CertificatePublicKey"`

	// Private key of the certificate. If the public key of the certificate is uploaded, the private key of the certificate is required.
	CertificatePrivateKey *string `json:"CertificatePrivateKey,omitnil,omitempty" name:"CertificatePrivateKey"`

	// Whether an expiration reminder is ignored for the old certificate. 0: The notification is not ignored. 1: The notification is ignored.
	ExpiringNotificationSwitch *uint64 `json:"ExpiringNotificationSwitch,omitnil,omitempty" name:"ExpiringNotificationSwitch"`

	// Whether repeated uploading of the same certificate is allowed. If the public key of the certificate is uploaded, this parameter can be configured.
	Repeatable *bool `json:"Repeatable,omitnil,omitempty" name:"Repeatable"`

	// Whether downloading is allowed. If the public key of the certificate is uploaded, this parameter can be configured.
	AllowDownload *bool `json:"AllowDownload,omitnil,omitempty" name:"AllowDownload"`

	// Tag list. If the public key of the certificate is uploaded, this parameter can be configured.
	Tags []*Tags `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Project ID. If the public key of the certificate is uploaded, this parameter can be configured.
	ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

Predefined struct for user

type UpdateCertificateInstanceResponse

type UpdateCertificateInstanceResponse struct {
	*tchttp.BaseResponse
	Response *UpdateCertificateInstanceResponseParams `json:"Response"`
}

func NewUpdateCertificateInstanceResponse

func NewUpdateCertificateInstanceResponse() (response *UpdateCertificateInstanceResponse)

func (*UpdateCertificateInstanceResponse) FromJsonString

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

func (r *UpdateCertificateInstanceResponse) ToJsonString() string

type UpdateCertificateInstanceResponseParams

type UpdateCertificateInstanceResponseParams struct {
	// Cloud resource deployment task ID
	// Note: This field may return null, indicating that no valid value can be obtained.
	DeployRecordId *uint64 `json:"DeployRecordId,omitnil,omitempty" name:"DeployRecordId"`

	// Deployment status. 1 indicates that the deployment succeeded, and 0 indicates that the deployment failed.
	DeployStatus *int64 `json:"DeployStatus,omitnil,omitempty" name:"DeployStatus"`

	UpdateSyncProgress []*UpdateSyncProgress `json:"UpdateSyncProgress,omitnil,omitempty" name:"UpdateSyncProgress"`

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

Predefined struct for user

type UpdateCertificateRecordRetryRequest

type UpdateCertificateRecordRetryRequest struct {
	*tchttp.BaseRequest

	// To-be-redeployed record ID
	DeployRecordId *int64 `json:"DeployRecordId,omitnil,omitempty" name:"DeployRecordId"`

	// To-be-redeployed record detail ID
	DeployRecordDetailId *int64 `json:"DeployRecordDetailId,omitnil,omitempty" name:"DeployRecordDetailId"`
}

func NewUpdateCertificateRecordRetryRequest

func NewUpdateCertificateRecordRetryRequest() (request *UpdateCertificateRecordRetryRequest)

func (*UpdateCertificateRecordRetryRequest) FromJsonString

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

func (r *UpdateCertificateRecordRetryRequest) ToJsonString() string

type UpdateCertificateRecordRetryRequestParams

type UpdateCertificateRecordRetryRequestParams struct {
	// To-be-redeployed record ID
	DeployRecordId *int64 `json:"DeployRecordId,omitnil,omitempty" name:"DeployRecordId"`

	// To-be-redeployed record detail ID
	DeployRecordDetailId *int64 `json:"DeployRecordDetailId,omitnil,omitempty" name:"DeployRecordDetailId"`
}

Predefined struct for user

type UpdateCertificateRecordRetryResponse

type UpdateCertificateRecordRetryResponse struct {
	*tchttp.BaseResponse
	Response *UpdateCertificateRecordRetryResponseParams `json:"Response"`
}

func NewUpdateCertificateRecordRetryResponse

func NewUpdateCertificateRecordRetryResponse() (response *UpdateCertificateRecordRetryResponse)

func (*UpdateCertificateRecordRetryResponse) FromJsonString

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

func (r *UpdateCertificateRecordRetryResponse) ToJsonString() string

type UpdateCertificateRecordRetryResponseParams

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

Predefined struct for user

type UpdateCertificateRecordRollbackRequest

type UpdateCertificateRecordRollbackRequest struct {
	*tchttp.BaseRequest

	// To-be-redeployed record ID
	DeployRecordId *int64 `json:"DeployRecordId,omitnil,omitempty" name:"DeployRecordId"`
}

func NewUpdateCertificateRecordRollbackRequest

func NewUpdateCertificateRecordRollbackRequest() (request *UpdateCertificateRecordRollbackRequest)

func (*UpdateCertificateRecordRollbackRequest) FromJsonString

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

func (*UpdateCertificateRecordRollbackRequest) ToJsonString

type UpdateCertificateRecordRollbackRequestParams

type UpdateCertificateRecordRollbackRequestParams struct {
	// To-be-redeployed record ID
	DeployRecordId *int64 `json:"DeployRecordId,omitnil,omitempty" name:"DeployRecordId"`
}

Predefined struct for user

type UpdateCertificateRecordRollbackResponse

type UpdateCertificateRecordRollbackResponse struct {
	*tchttp.BaseResponse
	Response *UpdateCertificateRecordRollbackResponseParams `json:"Response"`
}

func NewUpdateCertificateRecordRollbackResponse

func NewUpdateCertificateRecordRollbackResponse() (response *UpdateCertificateRecordRollbackResponse)

func (*UpdateCertificateRecordRollbackResponse) FromJsonString

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

func (*UpdateCertificateRecordRollbackResponse) ToJsonString

type UpdateCertificateRecordRollbackResponseParams

type UpdateCertificateRecordRollbackResponseParams struct {
	// Rollback deployment record ID
	DeployRecordId *int64 `json:"DeployRecordId,omitnil,omitempty" name:"DeployRecordId"`

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

Predefined struct for user

type UpdateRecordDetail

type UpdateRecordDetail struct {
	// Detail record ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// New certificate ID
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`

	// Old certificate ID
	OldCertId *string `json:"OldCertId,omitnil,omitempty" name:"OldCertId"`

	// Deployment domain name list
	// Note: This field may return null, indicating that no valid value can be obtained.
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Deployment resource type
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// Deployment region
	// Note: This field may return null, indicating that no valid value can be obtained.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Deployment status
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Deployment error message
	// Note: This field may return null, indicating that no valid value can be obtained.
	ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"`

	// Deployment time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Last update time
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Deployment instance ID
	// Note: This field may return null, indicating that no valid value can be obtained.
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// Deployment instance name
	// Note: This field may return null, indicating that no valid value can be obtained.
	InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`

	// Deployment listener ID (only for CLB)
	// Note: This field may return null, indicating that no valid value can be obtained.
	ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"`

	// Deployment listener name (only for CLB)
	// Note: This field may return null, indicating that no valid value can be obtained.
	ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"`

	// Protocol
	// Note: This field may return null, indicating that no valid value can be obtained.
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// Whether SNI is enabled (only for CLB)
	// Note: This field may return null, indicating that no valid value can be obtained.
	SniSwitch *uint64 `json:"SniSwitch,omitnil,omitempty" name:"SniSwitch"`

	// Bucket name (only for COS)
	// Note: This field may return null, indicating that no valid value can be obtained.
	Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"`

	// Port
	// Note: This field may return null, indicating that no valid value can be obtained.
	Port *int64 `json:"Port,omitnil,omitempty" name:"Port"`

	// Namespace (only for TKE)
	// Note: This field may return null, indicating that no valid value can be obtained.
	Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`

	// Secret name (only for TKE)
	// Note: This field may return null, indicating that no valid value can be obtained.
	SecretName *string `json:"SecretName,omitnil,omitempty" name:"SecretName"`

	// Environment ID
	// Note: This field may return null, indicating that no valid value can be obtained.
	EnvId *string `json:"EnvId,omitnil,omitempty" name:"EnvId"`

	// TCB deployment type
	// Note: This field may return null, indicating that no valid value can be obtained.
	TCBType *string `json:"TCBType,omitnil,omitempty" name:"TCBType"`
}

type UpdateRecordDetails

type UpdateRecordDetails struct {
	// Deployment resource type
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// Deployment resource detail list
	List []*UpdateRecordDetail `json:"List,omitnil,omitempty" name:"List"`

	// Total deployment resource count
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

type UpdateRecordInfo

type UpdateRecordInfo struct {
	// Record ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// New certificate ID
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`

	// Old certificate ID
	OldCertId *string `json:"OldCertId,omitnil,omitempty" name:"OldCertId"`

	// Deployment resource type list
	ResourceTypes []*string `json:"ResourceTypes,omitnil,omitempty" name:"ResourceTypes"`

	// Deployment region list
	// Note: This field may return null, indicating that no valid value can be obtained.
	Regions []*string `json:"Regions,omitnil,omitempty" name:"Regions"`

	// Deployment status
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Deployment time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Last update time
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}

type UpdateSyncProgress

type UpdateSyncProgress struct {
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	UpdateSyncProgressRegions []*UpdateSyncProgressRegion `json:"UpdateSyncProgressRegions,omitnil,omitempty" name:"UpdateSyncProgressRegions"`

	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type UpdateSyncProgressRegion

type UpdateSyncProgressRegion struct {
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	OffsetCount *int64 `json:"OffsetCount,omitnil,omitempty" name:"OffsetCount"`

	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type UploadCertificateRequest

type UploadCertificateRequest struct {
	*tchttp.BaseRequest

	// Public key of the certificate
	CertificatePublicKey *string `json:"CertificatePublicKey,omitnil,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,omitnil,omitempty" name:"CertificatePrivateKey"`

	// Certificate type. Valid values: `CA` (CA certificate) and `SVR` (server certificate). Default value: `SVR`
	CertificateType *string `json:"CertificateType,omitnil,omitempty" name:"CertificateType"`

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

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

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

	// The list of tags.
	Tags []*Tags `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Whether a certificate can be repeatedly uploaded.
	Repeatable *bool `json:"Repeatable,omitnil,omitempty" name:"Repeatable"`
}

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,omitnil,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,omitnil,omitempty" name:"CertificatePrivateKey"`

	// Certificate type. Valid values: `CA` (CA certificate) and `SVR` (server certificate). Default value: `SVR`
	CertificateType *string `json:"CertificateType,omitnil,omitempty" name:"CertificateType"`

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

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

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

	// The list of tags.
	Tags []*Tags `json:"Tags,omitnil,omitempty" name:"Tags"`

	// Whether a certificate can be repeatedly uploaded.
	Repeatable *bool `json:"Repeatable,omitnil,omitempty" name:"Repeatable"`
}

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,omitnil,omitempty" name:"CertificateId"`

	// The ID of the repeatedly uploaded certificate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RepeatCertId *string `json:"RepeatCertId,omitnil,omitempty" name:"RepeatCertId"`

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

Predefined struct for user

type UploadConfirmLetterRequest

type UploadConfirmLetterRequest struct {
	*tchttp.BaseRequest

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

	// Base64-encoded confirmation letter file, which must be a JPG, JPEG, PNG, or PDF file of 1 KB to 1.4 MB
	ConfirmLetter *string `json:"ConfirmLetter,omitnil,omitempty" name:"ConfirmLetter"`
}

func NewUploadConfirmLetterRequest

func NewUploadConfirmLetterRequest() (request *UploadConfirmLetterRequest)

func (*UploadConfirmLetterRequest) FromJsonString

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

func (r *UploadConfirmLetterRequest) ToJsonString() string

type UploadConfirmLetterRequestParams

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

	// Base64-encoded confirmation letter file, which must be a JPG, JPEG, PNG, or PDF file of 1 KB to 1.4 MB
	ConfirmLetter *string `json:"ConfirmLetter,omitnil,omitempty" name:"ConfirmLetter"`
}

Predefined struct for user

type UploadConfirmLetterResponse

type UploadConfirmLetterResponse struct {
	*tchttp.BaseResponse
	Response *UploadConfirmLetterResponseParams `json:"Response"`
}

func NewUploadConfirmLetterResponse

func NewUploadConfirmLetterResponse() (response *UploadConfirmLetterResponse)

func (*UploadConfirmLetterResponse) FromJsonString

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

func (r *UploadConfirmLetterResponse) ToJsonString() string

type UploadConfirmLetterResponseParams

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

	// Whether the operation is successful
	IsSuccess *bool `json:"IsSuccess,omitnil,omitempty" name:"IsSuccess"`

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

Predefined struct for user

type VODInstanceList

type VODInstanceList struct {
	// The list of VOD instances.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceList []*VodInstanceDetail `json:"InstanceList,omitnil,omitempty" name:"InstanceList"`

	// The total number of VOD instances in this region.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

type VodInstanceDetail

type VodInstanceDetail struct {
	// The domain.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// The certificate ID.
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`
}

type WafInstanceDetail

type WafInstanceDetail struct {
	// The domain.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// The certificate ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`

	// Whether to keep the persistent connection.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Keepalive *uint64 `json:"Keepalive,omitnil,omitempty" name:"Keepalive"`
}

type WafInstanceList

type WafInstanceList struct {
	// The region.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// The list of WAF instances.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InstanceList []*WafInstanceDetail `json:"InstanceList,omitnil,omitempty" name:"InstanceList"`

	// The total number of WAF instances in this region.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

Jump to

Keyboard shortcuts

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