Documentation ¶
Index ¶
- Constants
- type ApiGatewayInstanceDetail
- type ApiGatewayInstanceList
- type ApplyCertificateRequest
- type ApplyCertificateRequestParams
- type ApplyCertificateResponse
- type ApplyCertificateResponseParams
- type BatchDeleteCSRRequest
- type BatchDeleteCSRRequestParams
- type BatchDeleteCSRResponse
- type BatchDeleteCSRResponseParams
- type BindResourceRegionResult
- type BindResourceResult
- type CSRItem
- type CancelAuditCertificateRequest
- type CancelAuditCertificateRequestParams
- type CancelAuditCertificateResponse
- type CancelAuditCertificateResponseParams
- type CancelCertificateOrderRequest
- type CancelCertificateOrderRequestParams
- type CancelCertificateOrderResponse
- type CancelCertificateOrderResponseParams
- type CdnInstanceDetail
- type CdnInstanceList
- type CertTaskId
- type Certificate
- type CertificateExtra
- type Certificates
- type ClbInstanceDetail
- type ClbInstanceList
- type ClbListener
- type ClbListenerRule
- type Client
- func (c *Client) ApplyCertificate(request *ApplyCertificateRequest) (response *ApplyCertificateResponse, err error)
- func (c *Client) ApplyCertificateWithContext(ctx context.Context, request *ApplyCertificateRequest) (response *ApplyCertificateResponse, err error)
- func (c *Client) BatchDeleteCSR(request *BatchDeleteCSRRequest) (response *BatchDeleteCSRResponse, err error)
- func (c *Client) BatchDeleteCSRWithContext(ctx context.Context, request *BatchDeleteCSRRequest) (response *BatchDeleteCSRResponse, err error)
- func (c *Client) CancelAuditCertificate(request *CancelAuditCertificateRequest) (response *CancelAuditCertificateResponse, err error)
- func (c *Client) CancelAuditCertificateWithContext(ctx context.Context, request *CancelAuditCertificateRequest) (response *CancelAuditCertificateResponse, err error)
- func (c *Client) CancelCertificateOrder(request *CancelCertificateOrderRequest) (response *CancelCertificateOrderResponse, err error)
- func (c *Client) CancelCertificateOrderWithContext(ctx context.Context, request *CancelCertificateOrderRequest) (response *CancelCertificateOrderResponse, err error)
- func (c *Client) CommitCertificateInformation(request *CommitCertificateInformationRequest) (response *CommitCertificateInformationResponse, err error)
- func (c *Client) CommitCertificateInformationWithContext(ctx context.Context, request *CommitCertificateInformationRequest) (response *CommitCertificateInformationResponse, err error)
- func (c *Client) CreateCSR(request *CreateCSRRequest) (response *CreateCSRResponse, err error)
- func (c *Client) CreateCSRWithContext(ctx context.Context, request *CreateCSRRequest) (response *CreateCSRResponse, err error)
- func (c *Client) CreateCertificate(request *CreateCertificateRequest) (response *CreateCertificateResponse, err error)
- func (c *Client) CreateCertificateBindResourceSyncTask(request *CreateCertificateBindResourceSyncTaskRequest) (response *CreateCertificateBindResourceSyncTaskResponse, err error)
- func (c *Client) CreateCertificateBindResourceSyncTaskWithContext(ctx context.Context, request *CreateCertificateBindResourceSyncTaskRequest) (response *CreateCertificateBindResourceSyncTaskResponse, err error)
- func (c *Client) CreateCertificateWithContext(ctx context.Context, request *CreateCertificateRequest) (response *CreateCertificateResponse, err error)
- func (c *Client) DeleteCertificate(request *DeleteCertificateRequest) (response *DeleteCertificateResponse, err error)
- func (c *Client) DeleteCertificateWithContext(ctx context.Context, request *DeleteCertificateRequest) (response *DeleteCertificateResponse, err error)
- func (c *Client) DescribeCSR(request *DescribeCSRRequest) (response *DescribeCSRResponse, err error)
- func (c *Client) DescribeCSRSet(request *DescribeCSRSetRequest) (response *DescribeCSRSetResponse, err error)
- func (c *Client) DescribeCSRSetWithContext(ctx context.Context, request *DescribeCSRSetRequest) (response *DescribeCSRSetResponse, err error)
- func (c *Client) DescribeCSRWithContext(ctx context.Context, request *DescribeCSRRequest) (response *DescribeCSRResponse, err error)
- func (c *Client) DescribeCertificate(request *DescribeCertificateRequest) (response *DescribeCertificateResponse, err error)
- func (c *Client) DescribeCertificateBindResourceTaskDetail(request *DescribeCertificateBindResourceTaskDetailRequest) (response *DescribeCertificateBindResourceTaskDetailResponse, err error)
- func (c *Client) DescribeCertificateBindResourceTaskDetailWithContext(ctx context.Context, request *DescribeCertificateBindResourceTaskDetailRequest) (response *DescribeCertificateBindResourceTaskDetailResponse, err error)
- func (c *Client) DescribeCertificateBindResourceTaskResult(request *DescribeCertificateBindResourceTaskResultRequest) (response *DescribeCertificateBindResourceTaskResultResponse, err error)
- func (c *Client) DescribeCertificateBindResourceTaskResultWithContext(ctx context.Context, request *DescribeCertificateBindResourceTaskResultRequest) (response *DescribeCertificateBindResourceTaskResultResponse, err error)
- func (c *Client) DescribeCertificateDetail(request *DescribeCertificateDetailRequest) (response *DescribeCertificateDetailResponse, err error)
- func (c *Client) DescribeCertificateDetailWithContext(ctx context.Context, request *DescribeCertificateDetailRequest) (response *DescribeCertificateDetailResponse, err error)
- func (c *Client) DescribeCertificateOperateLogs(request *DescribeCertificateOperateLogsRequest) (response *DescribeCertificateOperateLogsResponse, err error)
- func (c *Client) DescribeCertificateOperateLogsWithContext(ctx context.Context, request *DescribeCertificateOperateLogsRequest) (response *DescribeCertificateOperateLogsResponse, err error)
- func (c *Client) DescribeCertificateWithContext(ctx context.Context, request *DescribeCertificateRequest) (response *DescribeCertificateResponse, err error)
- func (c *Client) DescribeCertificates(request *DescribeCertificatesRequest) (response *DescribeCertificatesResponse, err error)
- func (c *Client) DescribeCertificatesWithContext(ctx context.Context, request *DescribeCertificatesRequest) (response *DescribeCertificatesResponse, err error)
- func (c *Client) DescribeHostTeoInstanceList(request *DescribeHostTeoInstanceListRequest) (response *DescribeHostTeoInstanceListResponse, err error)
- func (c *Client) DescribeHostTeoInstanceListWithContext(ctx context.Context, request *DescribeHostTeoInstanceListRequest) (response *DescribeHostTeoInstanceListResponse, err error)
- func (c *Client) DownloadCertificate(request *DownloadCertificateRequest) (response *DownloadCertificateResponse, err error)
- func (c *Client) DownloadCertificateWithContext(ctx context.Context, request *DownloadCertificateRequest) (response *DownloadCertificateResponse, err error)
- func (c *Client) ModifyCSR(request *ModifyCSRRequest) (response *ModifyCSRResponse, err error)
- func (c *Client) ModifyCSRWithContext(ctx context.Context, request *ModifyCSRRequest) (response *ModifyCSRResponse, err error)
- func (c *Client) ModifyCertificateAlias(request *ModifyCertificateAliasRequest) (response *ModifyCertificateAliasResponse, err error)
- func (c *Client) ModifyCertificateAliasWithContext(ctx context.Context, request *ModifyCertificateAliasRequest) (response *ModifyCertificateAliasResponse, err error)
- func (c *Client) ModifyCertificateProject(request *ModifyCertificateProjectRequest) (response *ModifyCertificateProjectResponse, err error)
- func (c *Client) ModifyCertificateProjectWithContext(ctx context.Context, request *ModifyCertificateProjectRequest) (response *ModifyCertificateProjectResponse, err error)
- func (c *Client) ModifyCertificateResubmit(request *ModifyCertificateResubmitRequest) (response *ModifyCertificateResubmitResponse, err error)
- func (c *Client) ModifyCertificateResubmitWithContext(ctx context.Context, request *ModifyCertificateResubmitRequest) (response *ModifyCertificateResubmitResponse, err error)
- func (c *Client) ReplaceCertificate(request *ReplaceCertificateRequest) (response *ReplaceCertificateResponse, err error)
- func (c *Client) ReplaceCertificateWithContext(ctx context.Context, request *ReplaceCertificateRequest) (response *ReplaceCertificateResponse, err error)
- func (c *Client) SubmitCertificateInformation(request *SubmitCertificateInformationRequest) (response *SubmitCertificateInformationResponse, err error)
- func (c *Client) SubmitCertificateInformationWithContext(ctx context.Context, request *SubmitCertificateInformationRequest) (response *SubmitCertificateInformationResponse, err error)
- func (c *Client) UploadCertificate(request *UploadCertificateRequest) (response *UploadCertificateResponse, err error)
- func (c *Client) UploadCertificateWithContext(ctx context.Context, request *UploadCertificateRequest) (response *UploadCertificateResponse, err error)
- func (c *Client) UploadConfirmLetter(request *UploadConfirmLetterRequest) (response *UploadConfirmLetterResponse, err error)
- func (c *Client) UploadConfirmLetterWithContext(ctx context.Context, request *UploadConfirmLetterRequest) (response *UploadConfirmLetterResponse, err error)
- type CommitCertificateInformationRequest
- type CommitCertificateInformationRequestParams
- type CommitCertificateInformationResponse
- type CommitCertificateInformationResponseParams
- type CreateCSRRequest
- type CreateCSRRequestParams
- type CreateCSRResponse
- type CreateCSRResponseParams
- type CreateCertificateBindResourceSyncTaskRequest
- type CreateCertificateBindResourceSyncTaskRequestParams
- type CreateCertificateBindResourceSyncTaskResponse
- type CreateCertificateBindResourceSyncTaskResponseParams
- type CreateCertificateRequest
- type CreateCertificateRequestParams
- type CreateCertificateResponse
- type CreateCertificateResponseParams
- type DdosInstanceDetail
- type DdosInstanceList
- type DeleteCertificateRequest
- type DeleteCertificateRequestParams
- type DeleteCertificateResponse
- type DeleteCertificateResponseParams
- type DescribeCSRRequest
- type DescribeCSRRequestParams
- type DescribeCSRResponse
- type DescribeCSRResponseParams
- type DescribeCSRSetRequest
- type DescribeCSRSetRequestParams
- type DescribeCSRSetResponse
- type DescribeCSRSetResponseParams
- type DescribeCertificateBindResourceTaskDetailRequest
- type DescribeCertificateBindResourceTaskDetailRequestParams
- type DescribeCertificateBindResourceTaskDetailResponse
- type DescribeCertificateBindResourceTaskDetailResponseParams
- type DescribeCertificateBindResourceTaskResultRequest
- type DescribeCertificateBindResourceTaskResultRequestParams
- type DescribeCertificateBindResourceTaskResultResponse
- type DescribeCertificateBindResourceTaskResultResponseParams
- type DescribeCertificateDetailRequest
- type DescribeCertificateDetailRequestParams
- type DescribeCertificateDetailResponse
- type DescribeCertificateDetailResponseParams
- type DescribeCertificateOperateLogsRequest
- type DescribeCertificateOperateLogsRequestParams
- type DescribeCertificateOperateLogsResponse
- type DescribeCertificateOperateLogsResponseParams
- type DescribeCertificateRequest
- type DescribeCertificateRequestParams
- type DescribeCertificateResponse
- type DescribeCertificateResponseParams
- type DescribeCertificatesRequest
- type DescribeCertificatesRequestParams
- type DescribeCertificatesResponse
- type DescribeCertificatesResponseParams
- type DescribeHostTeoInstanceListRequest
- type DescribeHostTeoInstanceListRequestParams
- type DescribeHostTeoInstanceListResponse
- type DescribeHostTeoInstanceListResponseParams
- type DownloadCertificateRequest
- type DownloadCertificateRequestParams
- type DownloadCertificateResponse
- type DownloadCertificateResponseParams
- type DvAuthDetail
- type DvAuths
- type Error
- type Filter
- type LiveInstanceDetail
- type LiveInstanceList
- type ModifyCSRRequest
- type ModifyCSRRequestParams
- type ModifyCSRResponse
- type ModifyCSRResponseParams
- type ModifyCertificateAliasRequest
- type ModifyCertificateAliasRequestParams
- type ModifyCertificateAliasResponse
- type ModifyCertificateAliasResponseParams
- type ModifyCertificateProjectRequest
- type ModifyCertificateProjectRequestParams
- type ModifyCertificateProjectResponse
- type ModifyCertificateProjectResponseParams
- type ModifyCertificateResubmitRequest
- type ModifyCertificateResubmitRequestParams
- type ModifyCertificateResubmitResponse
- type ModifyCertificateResubmitResponseParams
- type OperationLog
- type PreAuditInfo
- type ProjectInfo
- type ReplaceCertificateRequest
- type ReplaceCertificateRequestParams
- type ReplaceCertificateResponse
- type ReplaceCertificateResponseParams
- type RootCertificates
- type SubmitCertificateInformationRequest
- type SubmitCertificateInformationRequestParams
- type SubmitCertificateInformationResponse
- type SubmitCertificateInformationResponseParams
- type SubmittedData
- type SyncTaskBindResourceResult
- type TCBAccessInstance
- type TCBAccessService
- type TCBEnvironment
- type TCBEnvironments
- type TCBHostInstance
- type TCBHostService
- type TCBInstanceList
- type Tags
- type TeoInstanceDetail
- type TeoInstanceList
- type TkeIngressDetail
- type TkeInstanceDetail
- type TkeInstanceList
- type TkeNameSpaceDetail
- type TkeSecretDetail
- type UploadCertificateRequest
- type UploadCertificateRequestParams
- type UploadCertificateResponse
- type UploadCertificateResponseParams
- type UploadConfirmLetterRequest
- type UploadConfirmLetterRequestParams
- type UploadConfirmLetterResponse
- type UploadConfirmLetterResponseParams
- type VODInstanceList
- type VodInstanceDetail
- type WafInstanceDetail
- type WafInstanceList
Constants ¶
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" // The certificate already exists. FAILEDOPERATION_CERTIFICATEEXISTS = "FailedOperation.CertificateExists" // 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" // 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 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 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" // The list of benefit point IDs is invalid. INVALIDPARAMETER_PACKAGEIDSINVALID = "InvalidParameter.PackageIdsInvalid" // 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" )
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" name:"ServiceId"` // The instance name. ServiceName *string `json:"ServiceName,omitnil" name:"ServiceName"` // The domain. Domain *string `json:"Domain,omitnil" name:"Domain"` // The certificate ID. // Note: This field may return null, indicating that no valid values can be obtained. CertId *string `json:"CertId,omitnil" name:"CertId"` // The protocol. Protocol *string `json:"Protocol,omitnil" name:"Protocol"` }
type ApiGatewayInstanceList ¶
type ApiGatewayInstanceList struct { // The region. Region *string `json:"Region,omitnil" 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" name:"InstanceList"` // The total number of APIGATEWAY instances in this region. TotalCount *uint64 `json:"TotalCount,omitnil" 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" name:"DvAuthMethod"` // Domain name DomainName *string `json:"DomainName,omitnil" name:"DomainName"` // Project ID ProjectId *uint64 `json:"ProjectId,omitnil" name:"ProjectId"` // Certificate type. Currently, the only supported value is 2, which indicates TrustAsia TLS RSA CA. PackageType *string `json:"PackageType,omitnil" name:"PackageType"` // Email address ContactEmail *string `json:"ContactEmail,omitnil" name:"ContactEmail"` // Mobile number ContactPhone *string `json:"ContactPhone,omitnil" name:"ContactPhone"` // Validity period. The default value is 12 months, which is the only supported value currently. ValidityPeriod *string `json:"ValidityPeriod,omitnil" name:"ValidityPeriod"` // Encryption algorithm. RSA and ECC are supported. CsrEncryptAlgo *string `json:"CsrEncryptAlgo,omitnil" name:"CsrEncryptAlgo"` // Key pair parameter. RSA supports only the 2048-bit key and ECC supports only prime256v1. CsrKeyParameter *string `json:"CsrKeyParameter,omitnil" name:"CsrKeyParameter"` // CSR encryption password CsrKeyPassword *string `json:"CsrKeyPassword,omitnil" name:"CsrKeyPassword"` // Alias Alias *string `json:"Alias,omitnil" name:"Alias"` // Original certificate ID, which is used to apply for a new certificate. OldCertificateId *string `json:"OldCertificateId,omitnil" name:"OldCertificateId"` // Benefit package ID, which is used to expand the free certificate package PackageId *string `json:"PackageId,omitnil" 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" 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" name:"DvAuthMethod"` // Domain name DomainName *string `json:"DomainName,omitnil" name:"DomainName"` // Project ID ProjectId *uint64 `json:"ProjectId,omitnil" name:"ProjectId"` // Certificate type. Currently, the only supported value is 2, which indicates TrustAsia TLS RSA CA. PackageType *string `json:"PackageType,omitnil" name:"PackageType"` // Email address ContactEmail *string `json:"ContactEmail,omitnil" name:"ContactEmail"` // Mobile number ContactPhone *string `json:"ContactPhone,omitnil" name:"ContactPhone"` // Validity period. The default value is 12 months, which is the only supported value currently. ValidityPeriod *string `json:"ValidityPeriod,omitnil" name:"ValidityPeriod"` // Encryption algorithm. RSA and ECC are supported. CsrEncryptAlgo *string `json:"CsrEncryptAlgo,omitnil" name:"CsrEncryptAlgo"` // Key pair parameter. RSA supports only the 2048-bit key and ECC supports only prime256v1. CsrKeyParameter *string `json:"CsrKeyParameter,omitnil" name:"CsrKeyParameter"` // CSR encryption password CsrKeyPassword *string `json:"CsrKeyPassword,omitnil" name:"CsrKeyPassword"` // Alias Alias *string `json:"Alias,omitnil" name:"Alias"` // Original certificate ID, which is used to apply for a new certificate. OldCertificateId *string `json:"OldCertificateId,omitnil" name:"OldCertificateId"` // Benefit package ID, which is used to expand the free certificate package PackageId *string `json:"PackageId,omitnil" 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" 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" name:"CertificateId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" 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" 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" name:"Success"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"Region"` // The total number of associated cloud resources. TotalCount *uint64 `json:"TotalCount,omitnil" 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" name:"ResourceType"` // The region of associated cloud resources. BindResourceRegionResult []*BindResourceRegionResult `json:"BindResourceRegionResult,omitnil" 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" name:"Id"` // The account. // Note: This field may return null, indicating that no valid values can be obtained. OwnerUin *string `json:"OwnerUin,omitnil" name:"OwnerUin"` // The domain. // Note: This field may return null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil" name:"Domain"` // The organization name. // Note: This field may return null, indicating that no valid values can be obtained. Organization *string `json:"Organization,omitnil" name:"Organization"` // The department. // Note: This field may return null, indicating that no valid values can be obtained. Department *string `json:"Department,omitnil" name:"Department"` // The email address. // Note: This field may return null, indicating that no valid values can be obtained. Email *string `json:"Email,omitnil" name:"Email"` // The province. // Note: This field may return null, indicating that no valid values can be obtained. Province *string `json:"Province,omitnil" name:"Province"` // The city. // Note: This field may return null, indicating that no valid values can be obtained. City *string `json:"City,omitnil" 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" name:"Country"` // The remarks. // Note: This field may return null, indicating that no valid values can be obtained. Remarks *string `json:"Remarks,omitnil" name:"Remarks"` // The status. // Note: This field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitnil" name:"Status"` // The creation time. // Note: u200dThis field may return `null`, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // The encryption algorithm. // Note: This field may return null, indicating that no valid values can be obtained. EncryptAlgo *string `json:"EncryptAlgo,omitnil" name:"EncryptAlgo"` // The algorithm parameter. // Note: This field may return null, indicating that no valid values can be obtained. KeyParameter *string `json:"KeyParameter,omitnil" name:"KeyParameter"` }
type CancelAuditCertificateRequest ¶
type CancelAuditCertificateRequest struct { *tchttp.BaseRequest // The certificate ID. CertificateId *string `json:"CertificateId,omitnil" 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" 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" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CancelCertificateOrderRequest ¶
type CancelCertificateOrderRequest struct { *tchttp.BaseRequest // Certificate ID CertificateId *string `json:"CertificateId,omitnil" 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" 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" name:"CertificateId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CdnInstanceDetail ¶
type CdnInstanceDetail struct { // The domain. Domain *string `json:"Domain,omitnil" name:"Domain"` // The ID of the deployed certificate. CertId *string `json:"CertId,omitnil" name:"CertId"` // The status of the domain. Status *string `json:"Status,omitnil" name:"Status"` // The billing status of the domain. HttpsBillingSwitch *string `json:"HttpsBillingSwitch,omitnil" name:"HttpsBillingSwitch"` }
type CdnInstanceList ¶
type CdnInstanceList struct { // The total number of CDN domains in this region. TotalCount *uint64 `json:"TotalCount,omitnil" 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" name:"InstanceList"` }
type CertTaskId ¶
type Certificate ¶
type Certificate struct { // The certificate ID. CertId *string `json:"CertId,omitnil" name:"CertId"` // The list of domains bound to the certificate. DnsNames []*string `json:"DnsNames,omitnil" 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" 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" 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" name:"DomainNumber"` // Original certificate ID // Note: this field may return null, indicating that no valid values can be obtained. OriginCertificateId *string `json:"OriginCertificateId,omitnil" 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" 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" 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" 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" name:"SMCert"` }
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" name:"OwnerUin"` // Project ID // Note: this field may return null, indicating that no valid values can be obtained. ProjectId *string `json:"ProjectId,omitnil" name:"ProjectId"` // Certificate source // Note: this field may return null, indicating that no valid values can be obtained. From *string `json:"From,omitnil" 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" 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" name:"CertificateType"` // Issuer // Note: this field may return null, indicating that no valid values can be obtained. ProductZhName *string `json:"ProductZhName,omitnil" name:"ProductZhName"` // Primary domain name // Note: this field may return null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil" name:"Domain"` // Alias // Note: this field may return null, indicating that no valid values can be obtained. Alias *string `json:"Alias,omitnil" 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" 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" 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" name:"VulnerabilityStatus"` // Status information // Note: this field may return null, indicating that no valid values can be obtained. StatusMsg *string `json:"StatusMsg,omitnil" 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" 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" 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" 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" name:"ValidityPeriod"` // Creation time // Note: this field may return null, indicating that no valid values can be obtained. InsertTime *string `json:"InsertTime,omitnil" name:"InsertTime"` // Certificate ID // Note: this field may return null, indicating that no valid values can be obtained. CertificateId *string `json:"CertificateId,omitnil" 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" name:"SubjectAltName"` // Certificate type name // Note: this field may return null, indicating that no valid values can be obtained. PackageTypeName *string `json:"PackageTypeName,omitnil" name:"PackageTypeName"` // Status description // Note: this field may return null, indicating that no valid values can be obtained. StatusName *string `json:"StatusName,omitnil" 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" 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" 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" 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" 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" name:"RenewAble"` // Project information // Note: this field may return null, indicating that no valid values can be obtained. ProjectInfo *ProjectInfo `json:"ProjectInfo,omitnil" 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" 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" name:"Deployable"` // List of tags // Note: this field may return `null`, indicating that no valid values can be obtained. Tags []*Tags `json:"Tags,omitnil" 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" 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" name:"IsSM"` // Certificate algorithm // Note: This field may return null, indicating that no valid values can be obtained. EncryptAlgorithm *string `json:"EncryptAlgorithm,omitnil" 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" 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" 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" 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" 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" 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" 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" 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" name:"HostingRenewCertId"` }
type ClbInstanceDetail ¶
type ClbInstanceDetail struct { // The CLB instance ID. LoadBalancerId *string `json:"LoadBalancerId,omitnil" name:"LoadBalancerId"` // The CLB instance name. LoadBalancerName *string `json:"LoadBalancerName,omitnil" 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" name:"Listeners"` }
type ClbInstanceList ¶
type ClbInstanceList struct { // The region. Region *string `json:"Region,omitnil" 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" name:"InstanceList"` // The total number of CLB instances in this region. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` }
type ClbListener ¶
type ClbListener struct { // The listener ID. ListenerId *string `json:"ListenerId,omitnil" name:"ListenerId"` // The listener name. ListenerName *string `json:"ListenerName,omitnil" name:"ListenerName"` // Whether to enable SNI. Valid values: `1` (enable) and `0` (disable). SniSwitch *uint64 `json:"SniSwitch,omitnil" name:"SniSwitch"` // The listener protocol type. Valid values: `HTTPS` and `TCP_SSL`. Protocol *string `json:"Protocol,omitnil" 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" 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" 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" name:"NoMatchDomains"` }
type ClbListenerRule ¶
type ClbListenerRule struct { // The rule ID. LocationId *string `json:"LocationId,omitnil" name:"LocationId"` // The domains bound. Domain *string `json:"Domain,omitnil" name:"Domain"` // Whether the rule matches the domains to be associated with a certificate. IsMatch *bool `json:"IsMatch,omitnil" 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" 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" name:"NoMatchDomains"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
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" 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" 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_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"
func (*Client) DescribeCertificateDetailWithContext ¶
func (c *Client) DescribeCertificateDetailWithContext(ctx context.Context, request *DescribeCertificateDetailRequest) (response *DescribeCertificateDetailResponse, err error)
DescribeCertificateDetail This API is used to get certificate details.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission" FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth" INTERNALERROR = "InternalError" INTERNALERROR_BACKENDRESPONSEEMPTY = "InternalError.BackendResponseEmpty" LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded"
func (*Client) DescribeCertificateOperateLogs ¶
func (c *Client) DescribeCertificateOperateLogs(request *DescribeCertificateOperateLogsRequest) (response *DescribeCertificateOperateLogsResponse, err error)
DescribeCertificateOperateLogs This API is used to get certificate operation logs in the current account.
error code that may be returned:
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission" FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth" INTERNALERROR = "InternalError"
func (*Client) DescribeCertificateOperateLogsWithContext ¶
func (c *Client) DescribeCertificateOperateLogsWithContext(ctx context.Context, request *DescribeCertificateOperateLogsRequest) (response *DescribeCertificateOperateLogsResponse, err error)
DescribeCertificateOperateLogs This API is used to get certificate operation logs in the current account.
error code that may be returned:
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission" FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth" INTERNALERROR = "InternalError"
func (*Client) DescribeCertificateWithContext ¶
func (c *Client) DescribeCertificateWithContext(ctx context.Context, request *DescribeCertificateRequest) (response *DescribeCertificateResponse, err error)
DescribeCertificate This API is used to get certificate information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError" FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed" FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued" FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour" FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder" FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid" FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit" FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError" FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission" FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth" FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced" FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed" INTERNALERROR = "InternalError" 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) 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_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError" FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission" FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth" FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced" FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed" INTERNALERROR = "InternalError"
func (*Client) ReplaceCertificateWithContext ¶
func (c *Client) ReplaceCertificateWithContext(ctx context.Context, request *ReplaceCertificateRequest) (response *ReplaceCertificateResponse, err error)
ReplaceCertificate This API is used to reissue a certificate. Note that if you have applied for a free certificate, only an RSA-2048 certificate will be reissued, and the certificate can be reissued only once.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError" FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed" FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued" FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour" FAILEDOPERATION_CANNOTGETORDER = "FailedOperation.CannotGetOrder" FAILEDOPERATION_CERTIFICATEINVALID = "FailedOperation.CertificateInvalid" FAILEDOPERATION_CERTIFICATEMISMATCH = "FailedOperation.CertificateMismatch" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit" FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_NETWORKERROR = "FailedOperation.NetworkError" FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission" FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth" FAILEDOPERATION_ORDERALREADYREPLACED = "FailedOperation.OrderAlreadyReplaced" FAILEDOPERATION_ORDERREPLACEFAILED = "FailedOperation.OrderReplaceFailed" INTERNALERROR = "InternalError"
func (*Client) SubmitCertificateInformation ¶
func (c *Client) SubmitCertificateInformation(request *SubmitCertificateInformationRequest) (response *SubmitCertificateInformationResponse, err error)
SubmitCertificateInformation This API is used to submit certificate information.
error code that may be returned:
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit" FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission" FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth" INTERNALERROR = "InternalError"
func (*Client) SubmitCertificateInformationWithContext ¶
func (c *Client) SubmitCertificateInformationWithContext(ctx context.Context, request *SubmitCertificateInformationRequest) (response *SubmitCertificateInformationResponse, err error)
SubmitCertificateInformation This API is used to submit certificate information.
error code that may be returned:
FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" FAILEDOPERATION_EXCEEDSFREELIMIT = "FailedOperation.ExceedsFreeLimit" FAILEDOPERATION_INVALIDCERTIFICATESTATUSCODE = "FailedOperation.InvalidCertificateStatusCode" FAILEDOPERATION_INVALIDPARAM = "FailedOperation.InvalidParam" FAILEDOPERATION_NOPROJECTPERMISSION = "FailedOperation.NoProjectPermission" FAILEDOPERATION_NOREALNAMEAUTH = "FailedOperation.NoRealNameAuth" INTERNALERROR = "InternalError"
func (*Client) UploadCertificate ¶
func (c *Client) UploadCertificate(request *UploadCertificateRequest) (response *UploadCertificateResponse, err error)
UploadCertificate This API is used to upload a certificate.
error code that may be returned:
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_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_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_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_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" name:"CertificateId"` // Domain validation method VerifyType *string `json:"VerifyType,omitnil" 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" name:"CertificateId"` // Domain validation method VerifyType *string `json:"VerifyType,omitnil" 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" 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" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateCSRRequest ¶
type CreateCSRRequest struct { *tchttp.BaseRequest // The domain. Domain *string `json:"Domain,omitnil" name:"Domain"` // The organization name. Organization *string `json:"Organization,omitnil" name:"Organization"` // The department. Department *string `json:"Department,omitnil" name:"Department"` // The email address. Email *string `json:"Email,omitnil" name:"Email"` // The province. Province *string `json:"Province,omitnil" name:"Province"` // The city. City *string `json:"City,omitnil" name:"City"` // The country or region code that complies with ISO 3166, such as CN and US. Country *string `json:"Country,omitnil" name:"Country"` // The encryption algorithm. RSA and ECC are supported. EncryptAlgo *string `json:"EncryptAlgo,omitnil" 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" 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" name:"Generate"` // The password of the private key. KeyPassword *string `json:"KeyPassword,omitnil" name:"KeyPassword"` // The remarks. Remark *string `json:"Remark,omitnil" 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" name:"Domain"` // The organization name. Organization *string `json:"Organization,omitnil" name:"Organization"` // The department. Department *string `json:"Department,omitnil" name:"Department"` // The email address. Email *string `json:"Email,omitnil" name:"Email"` // The province. Province *string `json:"Province,omitnil" name:"Province"` // The city. City *string `json:"City,omitnil" name:"City"` // The country or region code that complies with ISO 3166, such as CN and US. Country *string `json:"Country,omitnil" name:"Country"` // The encryption algorithm. RSA and ECC are supported. EncryptAlgo *string `json:"EncryptAlgo,omitnil" 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" 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" name:"Generate"` // The password of the private key. KeyPassword *string `json:"KeyPassword,omitnil" name:"KeyPassword"` // The remarks. Remark *string `json:"Remark,omitnil" 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" name:"Id"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" 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" name:"IsCache"` }
func NewCreateCertificateBindResourceSyncTaskRequest ¶
func NewCreateCertificateBindResourceSyncTaskRequest() (request *CreateCertificateBindResourceSyncTaskRequest)
func (*CreateCertificateBindResourceSyncTaskRequest) FromJsonString ¶
func (r *CreateCertificateBindResourceSyncTaskRequest) 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 (*CreateCertificateBindResourceSyncTaskRequest) ToJsonString ¶
func (r *CreateCertificateBindResourceSyncTaskRequest) ToJsonString() string
type CreateCertificateBindResourceSyncTaskRequestParams ¶
type CreateCertificateBindResourceSyncTaskRequestParams struct { // The list of certificate IDs, 100 IDs at most. CertificateIds []*string `json:"CertificateIds,omitnil" 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" 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 ¶
func (r *CreateCertificateBindResourceSyncTaskResponse) 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 (*CreateCertificateBindResourceSyncTaskResponse) ToJsonString ¶
func (r *CreateCertificateBindResourceSyncTaskResponse) ToJsonString() string
type CreateCertificateBindResourceSyncTaskResponseParams ¶
type CreateCertificateBindResourceSyncTaskResponseParams struct { // The IDs of async tasks for querying cloud resources associated with a certificate. CertTaskIds []*CertTaskId `json:"CertTaskIds,omitnil" name:"CertTaskIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"ProductId"` // Number of domains associated with the certificate DomainNum *int64 `json:"DomainNum,omitnil" name:"DomainNum"` // Certificate validity period. Currently, you can only purchase 1-year certificates. TimeSpan *int64 `json:"TimeSpan,omitnil" 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" name:"ProductId"` // Number of domains associated with the certificate DomainNum *int64 `json:"DomainNum,omitnil" name:"DomainNum"` // Certificate validity period. Currently, you can only purchase 1-year certificates. TimeSpan *int64 `json:"TimeSpan,omitnil" 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" name:"CertificateIds"` // List of order IDs DealIds []*string `json:"DealIds,omitnil" name:"DealIds"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DdosInstanceDetail ¶
type DdosInstanceDetail struct { // The domain. Domain *string `json:"Domain,omitnil" name:"Domain"` // The instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // The protocol type. Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // The certificate ID. // Note: This field may return null, indicating that no valid values can be obtained. CertId *string `json:"CertId,omitnil" name:"CertId"` // The forwarding port. VirtualPort *string `json:"VirtualPort,omitnil" name:"VirtualPort"` }
type DdosInstanceList ¶
type DdosInstanceList struct { // The total number of DDOS instances in this region. TotalCount *uint64 `json:"TotalCount,omitnil" 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" name:"InstanceList"` }
type DeleteCertificateRequest ¶
type DeleteCertificateRequest struct { *tchttp.BaseRequest // Certificate ID CertificateId *string `json:"CertificateId,omitnil" 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" 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" name:"DeleteResult"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeCSRRequest ¶
type DescribeCSRRequest struct { *tchttp.BaseRequest // The CSR ID. CSRId *int64 `json:"CSRId,omitnil" 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" 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" name:"Id"` // The account. OwnerUin *string `json:"OwnerUin,omitnil" name:"OwnerUin"` // The domain. Domain *string `json:"Domain,omitnil" name:"Domain"` // The organization name. Organization *string `json:"Organization,omitnil" name:"Organization"` // The department. Department *string `json:"Department,omitnil" name:"Department"` // The email address. Email *string `json:"Email,omitnil" name:"Email"` // The province. Province *string `json:"Province,omitnil" name:"Province"` // The city. City *string `json:"City,omitnil" name:"City"` // The country or region. Country *string `json:"Country,omitnil" name:"Country"` // The key algorithm. EncryptAlgo *string `json:"EncryptAlgo,omitnil" name:"EncryptAlgo"` // The algorithm parameter. KeyParameter *string `json:"KeyParameter,omitnil" name:"KeyParameter"` // The remarks. Remarks *string `json:"Remarks,omitnil" name:"Remarks"` // The status. Status *int64 `json:"Status,omitnil" 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" name:"KeyPassword"` // The creation time. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // The CSR content. // Note: This field may return null, indicating that no valid values can be obtained. CSR *string `json:"CSR,omitnil" 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" name:"PrivateKey"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"Limit"` // The pagination offset, starting from 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // The domain for CSR filtering. Domain *string `json:"Domain,omitnil" name:"Domain"` // The encryption algorithm for CSR filtering. EncryptAlgo *string `json:"EncryptAlgo,omitnil" 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" name:"Limit"` // The pagination offset, starting from 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // The domain for CSR filtering. Domain *string `json:"Domain,omitnil" name:"Domain"` // The encryption algorithm for CSR filtering. EncryptAlgo *string `json:"EncryptAlgo,omitnil" 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" name:"Total"` // The list of CSRs. Set []*CSRItem `json:"Set,omitnil" name:"Set"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" 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" name:"Limit"` // The current offset. Offset *string `json:"Offset,omitnil" 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" 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" name:"Regions"` }
func NewDescribeCertificateBindResourceTaskDetailRequest ¶
func NewDescribeCertificateBindResourceTaskDetailRequest() (request *DescribeCertificateBindResourceTaskDetailRequest)
func (*DescribeCertificateBindResourceTaskDetailRequest) FromJsonString ¶
func (r *DescribeCertificateBindResourceTaskDetailRequest) 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 (*DescribeCertificateBindResourceTaskDetailRequest) ToJsonString ¶
func (r *DescribeCertificateBindResourceTaskDetailRequest) ToJsonString() string
type DescribeCertificateBindResourceTaskDetailRequestParams ¶
type DescribeCertificateBindResourceTaskDetailRequestParams struct { // The task ID, which is required to query the result of associated cloud resources. TaskId *string `json:"TaskId,omitnil" 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" name:"Limit"` // The current offset. Offset *string `json:"Offset,omitnil" 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" 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" 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 ¶
func (r *DescribeCertificateBindResourceTaskDetailResponse) 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 (*DescribeCertificateBindResourceTaskDetailResponse) ToJsonString ¶
func (r *DescribeCertificateBindResourceTaskDetailResponse) ToJsonString() string
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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" name:"Status"` // The cache time of the current result. CacheTime *string `json:"CacheTime,omitnil" name:"CacheTime"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"TaskIds"` }
func NewDescribeCertificateBindResourceTaskResultRequest ¶
func NewDescribeCertificateBindResourceTaskResultRequest() (request *DescribeCertificateBindResourceTaskResultRequest)
func (*DescribeCertificateBindResourceTaskResultRequest) FromJsonString ¶
func (r *DescribeCertificateBindResourceTaskResultRequest) 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 (*DescribeCertificateBindResourceTaskResultRequest) ToJsonString ¶
func (r *DescribeCertificateBindResourceTaskResultRequest) ToJsonString() string
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" 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 ¶
func (r *DescribeCertificateBindResourceTaskResultResponse) 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 (*DescribeCertificateBindResourceTaskResultResponse) ToJsonString ¶
func (r *DescribeCertificateBindResourceTaskResultResponse) ToJsonString() string
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" name:"SyncTaskBindResourceResult"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeCertificateDetailRequest ¶
type DescribeCertificateDetailRequest struct { *tchttp.BaseRequest // Certificate ID CertificateId *string `json:"CertificateId,omitnil" 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" 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" name:"OwnerUin"` // Project ID // Note: this field may return null, indicating that no valid values can be obtained. ProjectId *string `json:"ProjectId,omitnil" 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" 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" 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" name:"PackageType"` // Issuer // Note: this field may return null, indicating that no valid values can be obtained. ProductZhName *string `json:"ProductZhName,omitnil" name:"ProductZhName"` // Domain name // Note: this field may return null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil" name:"Domain"` // Alias // Note: this field may return null, indicating that no valid values can be obtained. Alias *string `json:"Alias,omitnil" 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" name:"Status"` // Status information // Note: this field may return null, indicating that no valid values can be obtained. StatusMsg *string `json:"StatusMsg,omitnil" 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" name:"VerifyType"` // Vulnerability scanning status // Note: this field may return null, indicating that no valid values can be obtained. VulnerabilityStatus *string `json:"VulnerabilityStatus,omitnil" 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" 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" 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" name:"ValidityPeriod"` // Application time // Note: this field may return null, indicating that no valid values can be obtained. InsertTime *string `json:"InsertTime,omitnil" name:"InsertTime"` // Order ID // Note: this field may return null, indicating that no valid values can be obtained. OrderId *string `json:"OrderId,omitnil" 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" 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" 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" name:"CertificatePublicKey"` // DV authentication information // Note: this field may return null, indicating that no valid values can be obtained. DvAuthDetail *DvAuthDetail `json:"DvAuthDetail,omitnil" 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" name:"VulnerabilityReport"` // Certificate ID // Note: this field may return null, indicating that no valid values can be obtained. CertificateId *string `json:"CertificateId,omitnil" name:"CertificateId"` // Certificate type name // Note: this field may return null, indicating that no valid values can be obtained. TypeName *string `json:"TypeName,omitnil" name:"TypeName"` // Status description // Note: this field may return null, indicating that no valid values can be obtained. StatusName *string `json:"StatusName,omitnil" 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" 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" 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" 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" 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" name:"IsVulnerability"` // Submitted data // Note: this field may return null, indicating that no valid values can be obtained. SubmittedData *SubmittedData `json:"SubmittedData,omitnil" 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" 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" 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" name:"Tags"` // Root certificate. // Note: This field may return null, indicating that no valid values can be obtained. RootCert *RootCertificates `json:"RootCert,omitnil" 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" 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" 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" 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" name:"EncryptCertFingerprint"` // Certificate algorithm // Note: This field may return null, indicating that no valid values can be obtained. EncryptAlgorithm *string `json:"EncryptAlgorithm,omitnil" 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" name:"DvRevokeAuthDetail"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeCertificateOperateLogsRequest ¶
type DescribeCertificateOperateLogsRequest struct { *tchttp.BaseRequest // Offset. The default value is 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of requested logs. The default value is 20. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Start time. The default value is 15 days ago. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time. The default value is the current time. EndTime *string `json:"EndTime,omitnil" 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 ¶
func (r *DescribeCertificateOperateLogsRequest) ToJsonString() string
type DescribeCertificateOperateLogsRequestParams ¶
type DescribeCertificateOperateLogsRequestParams struct { // Offset. The default value is 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of requested logs. The default value is 20. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Start time. The default value is 15 days ago. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time. The default value is the current time. EndTime *string `json:"EndTime,omitnil" 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 ¶
func (r *DescribeCertificateOperateLogsResponse) 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 (*DescribeCertificateOperateLogsResponse) ToJsonString ¶
func (r *DescribeCertificateOperateLogsResponse) ToJsonString() string
type DescribeCertificateOperateLogsResponseParams ¶
type DescribeCertificateOperateLogsResponseParams struct { // Total number of logs that meet query conditions AllTotal *uint64 `json:"AllTotal,omitnil" name:"AllTotal"` // Number of logs returned for this request TotalCount *uint64 `json:"TotalCount,omitnil" 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" name:"OperateLogs"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeCertificateRequest ¶
type DescribeCertificateRequest struct { *tchttp.BaseRequest // Certificate ID CertificateId *string `json:"CertificateId,omitnil" 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" 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" name:"OwnerUin"` // Project ID // Note: this field may return null, indicating that no valid values can be obtained. ProjectId *string `json:"ProjectId,omitnil" 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" 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" 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" 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" name:"ProductZhName"` // Domain name // Note: this field may return null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil" name:"Domain"` // Alias // Note: this field may return null, indicating that no valid values can be obtained. Alias *string `json:"Alias,omitnil" 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" name:"Status"` // Status information // Note: this field may return null, indicating that no valid values can be obtained. StatusMsg *string `json:"StatusMsg,omitnil" 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" name:"VerifyType"` // Vulnerability scanning status // Note: this field may return null, indicating that no valid values can be obtained. VulnerabilityStatus *string `json:"VulnerabilityStatus,omitnil" 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" 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" 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" name:"ValidityPeriod"` // Application time // Note: this field may return null, indicating that no valid values can be obtained. InsertTime *string `json:"InsertTime,omitnil" name:"InsertTime"` // Order ID // Note: this field may return null, indicating that no valid values can be obtained. OrderId *string `json:"OrderId,omitnil" 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" name:"CertificateExtra"` // DV authentication information // Note: this field may return null, indicating that no valid values can be obtained. DvAuthDetail *DvAuthDetail `json:"DvAuthDetail,omitnil" 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" name:"VulnerabilityReport"` // Certificate ID // Note: this field may return null, indicating that no valid values can be obtained. CertificateId *string `json:"CertificateId,omitnil" name:"CertificateId"` // Certificate type name // Note: this field may return null, indicating that no valid values can be obtained. PackageTypeName *string `json:"PackageTypeName,omitnil" name:"PackageTypeName"` // Status description // Note: this field may return null, indicating that no valid values can be obtained. StatusName *string `json:"StatusName,omitnil" 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" 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" 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" 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" 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" 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" name:"RenewAble"` // Submitted data // Note: this field may return null, indicating that no valid values can be obtained. SubmittedData *SubmittedData `json:"SubmittedData,omitnil" 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" name:"Deployable"` // List of tags // Note: this field may return `null`, indicating that no valid values can be obtained. Tags []*Tags `json:"Tags,omitnil" 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" 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" 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" 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" name:"DvRevokeAuthDetail"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeCertificatesRequest ¶
type DescribeCertificatesRequest struct { *tchttp.BaseRequest // Pagination offset, starting from 0 Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Number of entries per page. Default value: `20`. Maximum value: `1000`. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Keyword for search, which can be a certificate ID, alias, or domain name, for example, a8xHcaIs SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"` // Certificate type. `CA`: client certificate; `SVR`: server certificate CertificateType *string `json:"CertificateType,omitnil" name:"CertificateType"` // Project ID ProjectId *uint64 `json:"ProjectId,omitnil" name:"ProjectId"` // Sorting by expiration time. `DESC`: descending; `ASC`: ascending ExpirationSort *string `json:"ExpirationSort,omitnil" 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" name:"CertificateStatus"` // Whether the certificate can be deployed. `1`: yes; `0`: no Deployable *uint64 `json:"Deployable,omitnil" name:"Deployable"` // Whether to filter uploaded hosted certificates. `1`: Yes; `0`: No. Upload *int64 `json:"Upload,omitnil" name:"Upload"` // Whether to filter renewable certificates. `1`: Yes; `0`: No. Renew *int64 `json:"Renew,omitnil" 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" name:"FilterSource"` // Whether to filter Chinese SM certificates. `1`: Yes; `0`: No. IsSM *int64 `json:"IsSM,omitnil" name:"IsSM"` // Whether to filter expiring certificates. `1`: Yes; `0`: No. FilterExpiring *uint64 `json:"FilterExpiring,omitnil" name:"FilterExpiring"` // Whether the certificate can be hosted. Valid values: `1` for yes and `0` for no. Hostable *uint64 `json:"Hostable,omitnil" 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" name:"Offset"` // Number of entries per page. Default value: `20`. Maximum value: `1000`. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Keyword for search, which can be a certificate ID, alias, or domain name, for example, a8xHcaIs SearchKey *string `json:"SearchKey,omitnil" name:"SearchKey"` // Certificate type. `CA`: client certificate; `SVR`: server certificate CertificateType *string `json:"CertificateType,omitnil" name:"CertificateType"` // Project ID ProjectId *uint64 `json:"ProjectId,omitnil" name:"ProjectId"` // Sorting by expiration time. `DESC`: descending; `ASC`: ascending ExpirationSort *string `json:"ExpirationSort,omitnil" 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" name:"CertificateStatus"` // Whether the certificate can be deployed. `1`: yes; `0`: no Deployable *uint64 `json:"Deployable,omitnil" name:"Deployable"` // Whether to filter uploaded hosted certificates. `1`: Yes; `0`: No. Upload *int64 `json:"Upload,omitnil" name:"Upload"` // Whether to filter renewable certificates. `1`: Yes; `0`: No. Renew *int64 `json:"Renew,omitnil" 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" name:"FilterSource"` // Whether to filter Chinese SM certificates. `1`: Yes; `0`: No. IsSM *int64 `json:"IsSM,omitnil" name:"IsSM"` // Whether to filter expiring certificates. `1`: Yes; `0`: No. FilterExpiring *uint64 `json:"FilterExpiring,omitnil" name:"FilterExpiring"` // Whether the certificate can be hosted. Valid values: `1` for yes and `0` for no. Hostable *uint64 `json:"Hostable,omitnil" 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" name:"TotalCount"` // List // Note: this field may return null, indicating that no valid values can be obtained. Certificates []*Certificates `json:"Certificates,omitnil" name:"Certificates"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"CertificateId"` // The type of resource for certificate deployment. ResourceType *string `json:"ResourceType,omitnil" 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" 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" name:"Filters"` // The ID of the deployed certificate. OldCertificateId *string `json:"OldCertificateId,omitnil" name:"OldCertificateId"` // The pagination offset, starting from 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // The number of instances on each page. Default value: 10. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Whether the query is asynchronous. AsyncCache *int64 `json:"AsyncCache,omitnil" 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" name:"CertificateId"` // The type of resource for certificate deployment. ResourceType *string `json:"ResourceType,omitnil" 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" 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" name:"Filters"` // The ID of the deployed certificate. OldCertificateId *string `json:"OldCertificateId,omitnil" name:"OldCertificateId"` // The pagination offset, starting from 0. Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // The number of instances on each page. Default value: 10. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Whether the query is asynchronous. AsyncCache *int64 `json:"AsyncCache,omitnil" 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" name:"InstanceList"` // The total count. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DownloadCertificateRequest ¶
type DownloadCertificateRequest struct { *tchttp.BaseRequest // Certificate ID CertificateId *string `json:"CertificateId,omitnil" 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" 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" 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" name:"ContentType"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"DvAuthKey"` // DV authentication value // Note: this field may return null, indicating that no valid values can be obtained. DvAuthValue *string `json:"DvAuthValue,omitnil" 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" 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" 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" name:"DvAuthKeySubDomain"` // DV authentication information // Note: this field may return null, indicating that no valid values can be obtained. DvAuths []*DvAuths `json:"DvAuths,omitnil" 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" name:"DvAuthKey"` // DV authentication value // Note: this field may return null, indicating that no valid values can be obtained. DvAuthValue *string `json:"DvAuthValue,omitnil" 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" 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" 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" name:"DvAuthSubDomain"` // DV authentication type // Note: this field may return null, indicating that no valid values can be obtained. DvAuthVerifyType *string `json:"DvAuthVerifyType,omitnil" 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" name:"Code"` // The error message. // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil" name:"Message"` }
type LiveInstanceDetail ¶
type LiveInstanceDetail struct { // The domain. Domain *string `json:"Domain,omitnil" 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" 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" name:"Status"` }
type LiveInstanceList ¶
type LiveInstanceList struct { // The total number of LIVE instances in this region. TotalCount *uint64 `json:"TotalCount,omitnil" 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" name:"InstanceList"` }
type ModifyCSRRequest ¶
type ModifyCSRRequest struct { *tchttp.BaseRequest // The CSR ID. CSRId *int64 `json:"CSRId,omitnil" 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" name:"Generate"` // The domain. Domain *string `json:"Domain,omitnil" name:"Domain"` // The organization name. Organization *string `json:"Organization,omitnil" name:"Organization"` // The department. Department *string `json:"Department,omitnil" name:"Department"` // The email address. Email *string `json:"Email,omitnil" name:"Email"` // The province. Province *string `json:"Province,omitnil" name:"Province"` // The city. City *string `json:"City,omitnil" name:"City"` // The country or region. Country *string `json:"Country,omitnil" name:"Country"` // The encryption algorithm. RSA and ECC are supported. EncryptAlgo *string `json:"EncryptAlgo,omitnil" 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" name:"KeyParameter"` // The remarks. Remark *string `json:"Remark,omitnil" name:"Remark"` // The password of the private key. KeyPassword *string `json:"KeyPassword,omitnil" 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" 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" name:"Generate"` // The domain. Domain *string `json:"Domain,omitnil" name:"Domain"` // The organization name. Organization *string `json:"Organization,omitnil" name:"Organization"` // The department. Department *string `json:"Department,omitnil" name:"Department"` // The email address. Email *string `json:"Email,omitnil" name:"Email"` // The province. Province *string `json:"Province,omitnil" name:"Province"` // The city. City *string `json:"City,omitnil" name:"City"` // The country or region. Country *string `json:"Country,omitnil" name:"Country"` // The encryption algorithm. RSA and ECC are supported. EncryptAlgo *string `json:"EncryptAlgo,omitnil" 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" name:"KeyParameter"` // The remarks. Remark *string `json:"Remark,omitnil" name:"Remark"` // The password of the private key. KeyPassword *string `json:"KeyPassword,omitnil" 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" name:"Id"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyCertificateAliasRequest ¶
type ModifyCertificateAliasRequest struct { *tchttp.BaseRequest // Certificate ID CertificateId *string `json:"CertificateId,omitnil" name:"CertificateId"` // Alias Alias *string `json:"Alias,omitnil" 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" name:"CertificateId"` // Alias Alias *string `json:"Alias,omitnil" 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" name:"CertificateId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"CertificateIdList"` // Project ID ProjectId *uint64 `json:"ProjectId,omitnil" 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" name:"CertificateIdList"` // Project ID ProjectId *uint64 `json:"ProjectId,omitnil" 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" 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" name:"FailCertificates"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyCertificateResubmitRequest ¶
type ModifyCertificateResubmitRequest struct { *tchttp.BaseRequest // The certificate ID. CertificateId *string `json:"CertificateId,omitnil" 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" 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" name:"CertificateId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type OperationLog ¶
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" 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" 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" 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" 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" name:"ProjectCreatorUin"` // Project creation time // Note: this field may return null, indicating that no valid values can be obtained. ProjectCreateTime *string `json:"ProjectCreateTime,omitnil" name:"ProjectCreateTime"` // Brief project information // Note: this field may return null, indicating that no valid values can be obtained. ProjectResume *string `json:"ProjectResume,omitnil" name:"ProjectResume"` // User UIN // Note: this field may return null, indicating that no valid values can be obtained. OwnerUin *uint64 `json:"OwnerUin,omitnil" name:"OwnerUin"` // Project ID // Note: this field may return null, indicating that no valid values can be obtained. ProjectId *string `json:"ProjectId,omitnil" name:"ProjectId"` }
type ReplaceCertificateRequest ¶
type ReplaceCertificateRequest struct { *tchttp.BaseRequest // Certificate ID CertificateId *string `json:"CertificateId,omitnil" name:"CertificateId"` // Validation type. `DNS_AUTO`: automatic DNS validation; `DNS`: manual DNS validation; `FILE`: file validation ValidType *string `json:"ValidType,omitnil" name:"ValidType"` // Type. `original`: original certificate CSR; `upload`: uploaded manually; `online`: generated online. The default value is original. CsrType *string `json:"CsrType,omitnil" name:"CsrType"` // CSR content CsrContent *string `json:"CsrContent,omitnil" name:"CsrContent"` // Password of the key CsrkeyPassword *string `json:"CsrkeyPassword,omitnil" name:"CsrkeyPassword"` // Reissue reason Reason *string `json:"Reason,omitnil" 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" 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" 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" name:"CertificateId"` // Validation type. `DNS_AUTO`: automatic DNS validation; `DNS`: manual DNS validation; `FILE`: file validation ValidType *string `json:"ValidType,omitnil" name:"ValidType"` // Type. `original`: original certificate CSR; `upload`: uploaded manually; `online`: generated online. The default value is original. CsrType *string `json:"CsrType,omitnil" name:"CsrType"` // CSR content CsrContent *string `json:"CsrContent,omitnil" name:"CsrContent"` // Password of the key CsrkeyPassword *string `json:"CsrkeyPassword,omitnil" name:"CsrkeyPassword"` // Reissue reason Reason *string `json:"Reason,omitnil" 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" 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" 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" name:"CertificateId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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" 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" name:"Encrypt"` // Standard certificate // Note: This field may return null, indicating that no valid values can be obtained. Standard *string `json:"Standard,omitnil" name:"Standard"` }
type SubmitCertificateInformationRequest ¶
type SubmitCertificateInformationRequest struct { *tchttp.BaseRequest // Certificate ID CertificateId *string `json:"CertificateId,omitnil" name:"CertificateId"` // CSR generation mode. `online`: generated online; `parse`: uploaded manually CsrType *string `json:"CsrType,omitnil" name:"CsrType"` // Uploaded CSR content CsrContent *string `json:"CsrContent,omitnil" name:"CsrContent"` // Domain name bound with the certificate CertificateDomain *string `json:"CertificateDomain,omitnil" name:"CertificateDomain"` // Uploaded domain name array (can be uploaded for a multi-domain certificate) DomainList []*string `json:"DomainList,omitnil" name:"DomainList"` // Password of the private key KeyPassword *string `json:"KeyPassword,omitnil" name:"KeyPassword"` // Organization name OrganizationName *string `json:"OrganizationName,omitnil" name:"OrganizationName"` // Division name OrganizationDivision *string `json:"OrganizationDivision,omitnil" name:"OrganizationDivision"` // Detailed address of the organization OrganizationAddress *string `json:"OrganizationAddress,omitnil" name:"OrganizationAddress"` // Country where the organization is located, for example, CN (China) OrganizationCountry *string `json:"OrganizationCountry,omitnil" name:"OrganizationCountry"` // City where the organization is located OrganizationCity *string `json:"OrganizationCity,omitnil" name:"OrganizationCity"` // Province where the organization is located OrganizationRegion *string `json:"OrganizationRegion,omitnil" name:"OrganizationRegion"` // Postal code of the organization PostalCode *string `json:"PostalCode,omitnil" name:"PostalCode"` // Area code of the fixed-line phone number of the organization PhoneAreaCode *string `json:"PhoneAreaCode,omitnil" name:"PhoneAreaCode"` // Fixed-line phone number of the organization PhoneNumber *string `json:"PhoneNumber,omitnil" name:"PhoneNumber"` // Certificate validation method VerifyType *string `json:"VerifyType,omitnil" name:"VerifyType"` // Last name of the administrator AdminFirstName *string `json:"AdminFirstName,omitnil" name:"AdminFirstName"` // First name of the administrator AdminLastName *string `json:"AdminLastName,omitnil" name:"AdminLastName"` // Mobile number of the administrator AdminPhoneNum *string `json:"AdminPhoneNum,omitnil" name:"AdminPhoneNum"` // Email of the administrator AdminEmail *string `json:"AdminEmail,omitnil" name:"AdminEmail"` // Position of the administrator AdminPosition *string `json:"AdminPosition,omitnil" name:"AdminPosition"` // Last name of the contact ContactFirstName *string `json:"ContactFirstName,omitnil" name:"ContactFirstName"` // First name of the contact ContactLastName *string `json:"ContactLastName,omitnil" name:"ContactLastName"` // Email of the contact ContactEmail *string `json:"ContactEmail,omitnil" name:"ContactEmail"` // Mobile number of the contact ContactNumber *string `json:"ContactNumber,omitnil" name:"ContactNumber"` // Position of the contact ContactPosition *string `json:"ContactPosition,omitnil" 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" name:"CertificateId"` // CSR generation mode. `online`: generated online; `parse`: uploaded manually CsrType *string `json:"CsrType,omitnil" name:"CsrType"` // Uploaded CSR content CsrContent *string `json:"CsrContent,omitnil" name:"CsrContent"` // Domain name bound with the certificate CertificateDomain *string `json:"CertificateDomain,omitnil" name:"CertificateDomain"` // Uploaded domain name array (can be uploaded for a multi-domain certificate) DomainList []*string `json:"DomainList,omitnil" name:"DomainList"` // Password of the private key KeyPassword *string `json:"KeyPassword,omitnil" name:"KeyPassword"` // Organization name OrganizationName *string `json:"OrganizationName,omitnil" name:"OrganizationName"` // Division name OrganizationDivision *string `json:"OrganizationDivision,omitnil" name:"OrganizationDivision"` // Detailed address of the organization OrganizationAddress *string `json:"OrganizationAddress,omitnil" name:"OrganizationAddress"` // Country where the organization is located, for example, CN (China) OrganizationCountry *string `json:"OrganizationCountry,omitnil" name:"OrganizationCountry"` // City where the organization is located OrganizationCity *string `json:"OrganizationCity,omitnil" name:"OrganizationCity"` // Province where the organization is located OrganizationRegion *string `json:"OrganizationRegion,omitnil" name:"OrganizationRegion"` // Postal code of the organization PostalCode *string `json:"PostalCode,omitnil" name:"PostalCode"` // Area code of the fixed-line phone number of the organization PhoneAreaCode *string `json:"PhoneAreaCode,omitnil" name:"PhoneAreaCode"` // Fixed-line phone number of the organization PhoneNumber *string `json:"PhoneNumber,omitnil" name:"PhoneNumber"` // Certificate validation method VerifyType *string `json:"VerifyType,omitnil" name:"VerifyType"` // Last name of the administrator AdminFirstName *string `json:"AdminFirstName,omitnil" name:"AdminFirstName"` // First name of the administrator AdminLastName *string `json:"AdminLastName,omitnil" name:"AdminLastName"` // Mobile number of the administrator AdminPhoneNum *string `json:"AdminPhoneNum,omitnil" name:"AdminPhoneNum"` // Email of the administrator AdminEmail *string `json:"AdminEmail,omitnil" name:"AdminEmail"` // Position of the administrator AdminPosition *string `json:"AdminPosition,omitnil" name:"AdminPosition"` // Last name of the contact ContactFirstName *string `json:"ContactFirstName,omitnil" name:"ContactFirstName"` // First name of the contact ContactLastName *string `json:"ContactLastName,omitnil" name:"ContactLastName"` // Email of the contact ContactEmail *string `json:"ContactEmail,omitnil" name:"ContactEmail"` // Mobile number of the contact ContactNumber *string `json:"ContactNumber,omitnil" name:"ContactNumber"` // Position of the contact ContactPosition *string `json:"ContactPosition,omitnil" 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" name:"CertificateId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"CsrType"` // CSR content // Note: this field may return null, indicating that no valid values can be obtained. CsrContent *string `json:"CsrContent,omitnil" name:"CsrContent"` // Domain name information // Note: this field may return null, indicating that no valid values can be obtained. CertificateDomain *string `json:"CertificateDomain,omitnil" name:"CertificateDomain"` // DNS information // Note: this field may return null, indicating that no valid values can be obtained. DomainList []*string `json:"DomainList,omitnil" 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" 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" name:"OrganizationName"` // Division // Note: this field may return null, indicating that no valid values can be obtained. OrganizationDivision *string `json:"OrganizationDivision,omitnil" name:"OrganizationDivision"` // Address // Note: this field may return null, indicating that no valid values can be obtained. OrganizationAddress *string `json:"OrganizationAddress,omitnil" name:"OrganizationAddress"` // Country // Note: this field may return null, indicating that no valid values can be obtained. OrganizationCountry *string `json:"OrganizationCountry,omitnil" name:"OrganizationCountry"` // City // Note: this field may return null, indicating that no valid values can be obtained. OrganizationCity *string `json:"OrganizationCity,omitnil" name:"OrganizationCity"` // Province // Note: this field may return null, indicating that no valid values can be obtained. OrganizationRegion *string `json:"OrganizationRegion,omitnil" name:"OrganizationRegion"` // Postal code // Note: this field may return null, indicating that no valid values can be obtained. PostalCode *string `json:"PostalCode,omitnil" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" name:"ContactPosition"` // Validation type // Note: this field may return null, indicating that no valid values can be obtained. VerifyType *string `json:"VerifyType,omitnil" name:"VerifyType"` }
type SyncTaskBindResourceResult ¶
type SyncTaskBindResourceResult struct { // The task ID. TaskId *string `json:"TaskId,omitnil" 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" 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" 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" name:"Error"` // The cache time of the current result. CacheTime *string `json:"CacheTime,omitnil" 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" name:"Domain"` // The status. // Note: This field may return null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitnil" 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" 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" 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" 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" 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" name:"InstanceList"` // The instance count. // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *int64 `json:"TotalCount,omitnil" 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" name:"ID"` // The source. // Note: This field may return null, indicating that no valid values can be obtained. Source *string `json:"Source,omitnil" name:"Source"` // The name. // Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil" name:"Name"` // The status. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil" 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" name:"Environment"` // The access service. // Note: This field may return null, indicating that no valid values can be obtained. AccessService *TCBAccessService `json:"AccessService,omitnil" 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" 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" name:"Domain"` // The status. // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil" name:"Status"` // The resolution status. // Note: This field may return null, indicating that no valid values can be obtained. DNSStatus *string `json:"DNSStatus,omitnil" 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" 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" name:"InstanceList"` // The instance count. // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` }
type TCBInstanceList ¶
type TCBInstanceList struct { // The region. Region *string `json:"Region,omitnil" 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" name:"Environments"` }
type TeoInstanceDetail ¶
type TeoInstanceDetail struct { // The domain. Host *string `json:"Host,omitnil" name:"Host"` // The certificate ID. CertId *string `json:"CertId,omitnil" name:"CertId"` // The AZ ID. // Note: This field may return null, indicating that no valid values can be obtained. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The status of the domain. Status *string `json:"Status,omitnil" 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" name:"InstanceList"` // The total number of EDGEONE instances. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` }
type TkeIngressDetail ¶
type TkeIngressDetail struct { // The Ingress name. IngressName *string `json:"IngressName,omitnil" name:"IngressName"` // The list of TLS domains. TlsDomains []*string `json:"TlsDomains,omitnil" name:"TlsDomains"` // The list of Ingress domains. Domains []*string `json:"Domains,omitnil" name:"Domains"` }
type TkeInstanceDetail ¶
type TkeInstanceDetail struct { // The cluster ID. ClusterId *string `json:"ClusterId,omitnil" name:"ClusterId"` // The cluster name. ClusterName *string `json:"ClusterName,omitnil" name:"ClusterName"` // The list of cluster namespaces. NamespaceList []*TkeNameSpaceDetail `json:"NamespaceList,omitnil" name:"NamespaceList"` // The cluster type. ClusterType *string `json:"ClusterType,omitnil" name:"ClusterType"` // The cluster version. ClusterVersion *string `json:"ClusterVersion,omitnil" name:"ClusterVersion"` }
type TkeInstanceList ¶
type TkeInstanceList struct { // The region. Region *string `json:"Region,omitnil" 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" name:"InstanceList"` // The total number of TKE instances in this region. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` }
type TkeNameSpaceDetail ¶
type TkeNameSpaceDetail struct { // The namespace name. Name *string `json:"Name,omitnil" name:"Name"` // The secret list. SecretList []*TkeSecretDetail `json:"SecretList,omitnil" name:"SecretList"` }
type TkeSecretDetail ¶
type TkeSecretDetail struct { // The secret name. Name *string `json:"Name,omitnil" name:"Name"` // The certificate ID. CertId *string `json:"CertId,omitnil" name:"CertId"` // The Ingress list. IngressList []*TkeIngressDetail `json:"IngressList,omitnil" 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" name:"NoMatchDomains"` }
type UploadCertificateRequest ¶
type UploadCertificateRequest struct { *tchttp.BaseRequest // Public key of the certificate CertificatePublicKey *string `json:"CertificatePublicKey,omitnil" 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" name:"CertificatePrivateKey"` // Certificate type. Valid values: `CA` (CA certificate) and `SVR` (server certificate). Default value: `SVR` CertificateType *string `json:"CertificateType,omitnil" name:"CertificateType"` // Alias Alias *string `json:"Alias,omitnil" name:"Alias"` // Project ID ProjectId *uint64 `json:"ProjectId,omitnil" name:"ProjectId"` CertificateUse *string `json:"CertificateUse,omitnil" name:"CertificateUse"` // The list of tags. Tags []*Tags `json:"Tags,omitnil" name:"Tags"` // Whether a certificate can be repeatedly uploaded. Repeatable *bool `json:"Repeatable,omitnil" 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" 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" name:"CertificatePrivateKey"` // Certificate type. Valid values: `CA` (CA certificate) and `SVR` (server certificate). Default value: `SVR` CertificateType *string `json:"CertificateType,omitnil" name:"CertificateType"` // Alias Alias *string `json:"Alias,omitnil" name:"Alias"` // Project ID ProjectId *uint64 `json:"ProjectId,omitnil" name:"ProjectId"` CertificateUse *string `json:"CertificateUse,omitnil" name:"CertificateUse"` // The list of tags. Tags []*Tags `json:"Tags,omitnil" name:"Tags"` // Whether a certificate can be repeatedly uploaded. Repeatable *bool `json:"Repeatable,omitnil" 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" 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" name:"RepeatCertId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type UploadConfirmLetterRequest ¶
type UploadConfirmLetterRequest struct { *tchttp.BaseRequest // Certificate ID CertificateId *string `json:"CertificateId,omitnil" 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" 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" 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" 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" name:"CertificateId"` // Whether the operation is successful IsSuccess *bool `json:"IsSuccess,omitnil" name:"IsSuccess"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"InstanceList"` // The total number of VOD instances in this region. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` }
type VodInstanceDetail ¶
type WafInstanceDetail ¶
type WafInstanceDetail struct { // The domain. Domain *string `json:"Domain,omitnil" name:"Domain"` // The certificate ID. // Note: This field may return null, indicating that no valid values can be obtained. CertId *string `json:"CertId,omitnil" 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" name:"Keepalive"` }
type WafInstanceList ¶
type WafInstanceList struct { // The region. Region *string `json:"Region,omitnil" 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" name:"InstanceList"` // The total number of WAF instances in this region. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` }