ssl

package
v1.81.90 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SSL_MODULE_TYPE = "ssl"
	SSL_WITH_CERT   = "1"
)
View Source
const (
	SSL_STATUS_PENDING = iota
	SSL_STATUS_AVAILABLE
	SSL_STATUS_REJECTED
	SSL_STATUS_EXPIRED
	SSL_STATUS_DNS_ADDED
	SSL_STATUS_PENDING_SUB
	SSL_STATUS_CANCELING
	SSL_STATUS_CANCELED
	SSL_STATUS_DATA_PENDING
	SSL_STATUS_REVOKING
	SSL_STATUS_REVOKED
	SSL_STATUS_REISSUING
	SSL_STATUS_REVOCATION_PENDING
)
View Source
const (
	SSL_CERT_TYPE_SERVER = "SVR"
	SSL_CERT_TYPE_CA     = "CA"
)
View Source
const (
	CsrTypeOnline = "online"
	CsrTypeParse  = "parse"
)
View Source
const (
	DNSAuto = "DNS_AUTO"
	DNS     = "DNS"
	File    = "FILE"
)
View Source
const (
	InvalidParam          = "FailedOperation.InvalidParam"
	CertificateNotFound   = "FailedOperation.CertificateNotFound"
	InvalidParameter      = "InvalidParameter"
	InvalidParameterValue = "InvalidParameterValue"
	CertificateInvalid    = "FailedOperation.CertificateInvalid"
)
View Source
const SSL_ERR_CANCELING = `` /* 326-byte string literal not displayed */

Variables

View Source
var CsrTypeArr = []string{
	CsrTypeOnline,
	CsrTypeParse,
}
View Source
var DNSPOD_OV_EV_TYPE = []int64{51, 52, 53}
View Source
var GEOTRUST_OV_EV_TYPE = []int64{8, 9, 10}
View Source
var GLOBALSIGN_OV_EV_TYPE = []int64{18, 19, 20, 21, 22, 23, 24}
View Source
var SECURESITE_OV_EV_TYPE = []int64{3, 4, 5, 6, 7}
View Source
var SslCanCancelStatus = map[uint64]struct{}{
	SSL_STATUS_PENDING:      {},
	SSL_STATUS_DNS_ADDED:    {},
	SSL_STATUS_DATA_PENDING: {},
}
View Source
var TRUSTASIA_OV_EV_TYPE = []int64{13, 14, 15, 16, 17}
View Source
var VerifyType = []string{
	DNSAuto,
	DNS,
	File,
}

Functions

func DataSourceTencentCloudSslCertificates

func DataSourceTencentCloudSslCertificates() *schema.Resource

func DataSourceTencentCloudSslDescribeCertificate

func DataSourceTencentCloudSslDescribeCertificate() *schema.Resource

func DataSourceTencentCloudSslDescribeCompanies

func DataSourceTencentCloudSslDescribeCompanies() *schema.Resource

func DataSourceTencentCloudSslDescribeHostApiGatewayInstanceList

func DataSourceTencentCloudSslDescribeHostApiGatewayInstanceList() *schema.Resource

func DataSourceTencentCloudSslDescribeHostCdnInstanceList

func DataSourceTencentCloudSslDescribeHostCdnInstanceList() *schema.Resource

func DataSourceTencentCloudSslDescribeHostClbInstanceList

func DataSourceTencentCloudSslDescribeHostClbInstanceList() *schema.Resource

func DataSourceTencentCloudSslDescribeHostCosInstanceList

func DataSourceTencentCloudSslDescribeHostCosInstanceList() *schema.Resource

func DataSourceTencentCloudSslDescribeHostDdosInstanceList

func DataSourceTencentCloudSslDescribeHostDdosInstanceList() *schema.Resource

func DataSourceTencentCloudSslDescribeHostDeployRecord

func DataSourceTencentCloudSslDescribeHostDeployRecord() *schema.Resource

func DataSourceTencentCloudSslDescribeHostDeployRecordDetail

func DataSourceTencentCloudSslDescribeHostDeployRecordDetail() *schema.Resource

func DataSourceTencentCloudSslDescribeHostLighthouseInstanceList

func DataSourceTencentCloudSslDescribeHostLighthouseInstanceList() *schema.Resource

func DataSourceTencentCloudSslDescribeHostLiveInstanceList

func DataSourceTencentCloudSslDescribeHostLiveInstanceList() *schema.Resource

func DataSourceTencentCloudSslDescribeHostTeoInstanceList

func DataSourceTencentCloudSslDescribeHostTeoInstanceList() *schema.Resource

func DataSourceTencentCloudSslDescribeHostTkeInstanceList

func DataSourceTencentCloudSslDescribeHostTkeInstanceList() *schema.Resource

func DataSourceTencentCloudSslDescribeHostUpdateRecord

func DataSourceTencentCloudSslDescribeHostUpdateRecord() *schema.Resource

func DataSourceTencentCloudSslDescribeHostUpdateRecordDetail

func DataSourceTencentCloudSslDescribeHostUpdateRecordDetail() *schema.Resource

func DataSourceTencentCloudSslDescribeHostVodInstanceList

func DataSourceTencentCloudSslDescribeHostVodInstanceList() *schema.Resource

func DataSourceTencentCloudSslDescribeHostWafInstanceList

func DataSourceTencentCloudSslDescribeHostWafInstanceList() *schema.Resource

func DataSourceTencentCloudSslDescribeManagerDetail

func DataSourceTencentCloudSslDescribeManagerDetail() *schema.Resource

func DataSourceTencentCloudSslDescribeManagers

func DataSourceTencentCloudSslDescribeManagers() *schema.Resource

func GetCertificateList

func GetCertificateList(ctx context.Context, sslService SSLService, id, name, certType *string) (certificateList []*ssl.Certificates, errRet error)

func GetCommonCertificates

func GetCommonCertificates(certificatesById, certificatesByName []*ssl.Certificates) (result []*ssl.Certificates)

func IsContainProductId

func IsContainProductId(productId int64, lists ...[]int64) bool

func ResourceTencentCloudSSLFreeCertificate

func ResourceTencentCloudSSLFreeCertificate() *schema.Resource

func ResourceTencentCloudSSLInstance

func ResourceTencentCloudSSLInstance() *schema.Resource

func ResourceTencentCloudSslCertificate

func ResourceTencentCloudSslCertificate() *schema.Resource

func ResourceTencentCloudSslCheckCertificateChainOperation

func ResourceTencentCloudSslCheckCertificateChainOperation() *schema.Resource

func ResourceTencentCloudSslCompleteCertificateOperation

func ResourceTencentCloudSslCompleteCertificateOperation() *schema.Resource

func ResourceTencentCloudSslDeployCertificateInstanceOperation

func ResourceTencentCloudSslDeployCertificateInstanceOperation() *schema.Resource

func ResourceTencentCloudSslDeployCertificateRecordRetryOperation

func ResourceTencentCloudSslDeployCertificateRecordRetryOperation() *schema.Resource

func ResourceTencentCloudSslDeployCertificateRecordRollbackOperation

func ResourceTencentCloudSslDeployCertificateRecordRollbackOperation() *schema.Resource

func ResourceTencentCloudSslDownloadCertificateOperation

func ResourceTencentCloudSslDownloadCertificateOperation() *schema.Resource

func ResourceTencentCloudSslReplaceCertificateOperation

func ResourceTencentCloudSslReplaceCertificateOperation() *schema.Resource

func ResourceTencentCloudSslRevokeCertificateOperation

func ResourceTencentCloudSslRevokeCertificateOperation() *schema.Resource

func ResourceTencentCloudSslUpdateCertificateInstanceOperation

func ResourceTencentCloudSslUpdateCertificateInstanceOperation() *schema.Resource

func ResourceTencentCloudSslUpdateCertificateRecordRetryOperation

func ResourceTencentCloudSslUpdateCertificateRecordRetryOperation() *schema.Resource

func ResourceTencentCloudSslUpdateCertificateRecordRollbackOperation

func ResourceTencentCloudSslUpdateCertificateRecordRollbackOperation() *schema.Resource

func ResourceTencentCloudSslUploadRevokeLetterOperation

func ResourceTencentCloudSslUploadRevokeLetterOperation() *schema.Resource

Types

type SSLService

type SSLService struct {
	// contains filtered or unexported fields
}

func NewSSLService

func NewSSLService(client *connectivity.TencentCloudClient) SSLService

func (*SSLService) ApplyCertificate

func (me *SSLService) ApplyCertificate(ctx context.Context, request *ssl.ApplyCertificateRequest) (id string, errRet error)

func (*SSLService) CancelAuditCertificate

func (me *SSLService) CancelAuditCertificate(ctx context.Context, request *ssl.CancelAuditCertificateRequest) (err error)

func (*SSLService) CancelCertificateOrder

func (me *SSLService) CancelCertificateOrder(ctx context.Context, request *ssl.CancelCertificateOrderRequest) (err error)

func (*SSLService) CheckCertificateType

func (me *SSLService) CheckCertificateType(ctx context.Context, certId string, checkType string) (bool, error)

func (*SSLService) CommitCertificateInformation

func (me *SSLService) CommitCertificateInformation(ctx context.Context, request *ssl.CommitCertificateInformationRequest) (errRet error)

func (*SSLService) CreateCertificate

func (me *SSLService) CreateCertificate(ctx context.Context, request *ssl.CreateCertificateRequest) (certificateId, dealId string, errRet error)

func (*SSLService) DeleteCertificate

func (me *SSLService) DeleteCertificate(ctx context.Context, request *ssl.DeleteCertificateRequest) (deleteResult bool, err error)

func (*SSLService) DescribeCertificateDetail

func (me *SSLService) DescribeCertificateDetail(ctx context.Context, request *ssl.DescribeCertificateDetailRequest) (response *ssl.DescribeCertificateDetailResponse, err error)

func (*SSLService) DescribeCertificates

func (me *SSLService) DescribeCertificates(ctx context.Context, request *ssl.DescribeCertificatesRequest) (certificateList []*ssl.Certificates, err error)

func (*SSLService) ModifyCertificateAlias

func (me *SSLService) ModifyCertificateAlias(ctx context.Context, request *ssl.ModifyCertificateAliasRequest) (err error)

func (*SSLService) ModifyCertificateProject

func (me *SSLService) ModifyCertificateProject(ctx context.Context, request *ssl.ModifyCertificateProjectRequest) (err error)

func (*SSLService) ModifyCertificateResubmit

func (me *SSLService) ModifyCertificateResubmit(ctx context.Context, request *ssl.ModifyCertificateResubmitRequest) (err error)

func (*SSLService) SubmitCertificateInformation

func (me *SSLService) SubmitCertificateInformation(ctx context.Context, request *ssl.SubmitCertificateInformationRequest) (err error)

func (*SSLService) UploadCertificate

func (me *SSLService) UploadCertificate(ctx context.Context, request *ssl.UploadCertificateRequest) (id string, err error)

func (*SSLService) UploadConfirmLetter

func (me *SSLService) UploadConfirmLetter(ctx context.Context, request *ssl.UploadConfirmLetterRequest) (err error)

type SslService

type SslService struct {
	// contains filtered or unexported fields
}

func (*SslService) CheckCertificateType

func (me *SslService) CheckCertificateType(ctx context.Context, certId string, checkType string) (bool, error)

func (*SslService) CreateCertificate

func (me *SslService) CreateCertificate(ctx context.Context, certType, cert, name string, projectId int, key *string) (id string, err error)

func (*SslService) DeleteCertificate

func (me *SslService) DeleteCertificate(ctx context.Context, id string) error

func (*SslService) DescribeCertificates

func (me *SslService) DescribeCertificates(ctx context.Context, id, name, certType *string) (certificates []*ssl.SSLCertificate, err error)

func (*SslService) DescribeSslDescribeCertificateBindResourceTaskDetailByFilter

func (me *SslService) DescribeSslDescribeCertificateBindResourceTaskDetailByFilter(ctx context.Context, param map[string]interface{}) (describeCertificateBindResourceTaskDetail *ssl.DescribeCertificateBindResourceTaskDetailResponseParams, errRet error)

func (*SslService) DescribeSslDescribeCertificateBindResourceTaskResultByFilter

func (me *SslService) DescribeSslDescribeCertificateBindResourceTaskResultByFilter(ctx context.Context, param map[string]interface{}) (describeCertificateBindResourceTaskResult []*ssl.SyncTaskBindResourceResult, errRet error)

func (*SslService) DescribeSslDescribeCertificateByID

func (me *SslService) DescribeSslDescribeCertificateByID(ctx context.Context, certificateId string) (describeCertificate *ssl.DescribeCertificateResponseParams, errRet error)

func (*SslService) DescribeSslDescribeCompaniesByFilter

func (me *SslService) DescribeSslDescribeCompaniesByFilter(ctx context.Context, param map[string]interface{}) (describeCompanies []*ssl.CompanyInfo, errRet error)

func (*SslService) DescribeSslDescribeHostApiGatewayInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostApiGatewayInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostApiGatewayInstanceList []*ssl.ApiGatewayInstanceDetail, errRet error)

func (*SslService) DescribeSslDescribeHostCdnInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostCdnInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostCdnInstanceList *ssl.DescribeHostCdnInstanceListResponseParams, err error)

func (*SslService) DescribeSslDescribeHostClbInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostClbInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostClbInstanceList *ssl.DescribeHostClbInstanceListResponseParams, err error)

func (*SslService) DescribeSslDescribeHostCosInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostCosInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostCosInstanceList *ssl.DescribeHostCosInstanceListResponseParams, errRet error)

func (*SslService) DescribeSslDescribeHostDdosInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostDdosInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostDdosInstanceList []*ssl.DdosInstanceDetail, errRet error)

func (*SslService) DescribeSslDescribeHostDeployRecordByFilter

func (me *SslService) DescribeSslDescribeHostDeployRecordByFilter(ctx context.Context, param map[string]interface{}) (describeHostDeployRecord []*ssl.DeployRecordInfo, errRet error)

func (*SslService) DescribeSslDescribeHostDeployRecordDetailByFilter

func (me *SslService) DescribeSslDescribeHostDeployRecordDetailByFilter(
	ctx context.Context, param map[string]interface{}) (
	describeHostDeployRecordDetail []*ssl.DeployRecordDetail,
	successTotalCount *int64, failedTotalCount *int64, runningTotalCount *int64,
	errRet error)

func (*SslService) DescribeSslDescribeHostLighthouseInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostLighthouseInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostLighthouseInstanceList []*ssl.LighthouseInstanceDetail, errRet error)

func (*SslService) DescribeSslDescribeHostLiveInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostLiveInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostLiveInstanceList []*ssl.LiveInstanceDetail, errRet error)

func (*SslService) DescribeSslDescribeHostTeoInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostTeoInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostTeoInstanceList []*ssl.TeoInstanceDetail, errRet error)

func (*SslService) DescribeSslDescribeHostTkeInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostTkeInstanceListByFilter(
	ctx context.Context, param map[string]interface{}) (
	describeHostTkeInstanceList []*ssl.TkeInstanceDetail,
	asyncTotalNum *int64, asyncOffset *int64, asyncCacheTime *string, errRet error)

func (*SslService) DescribeSslDescribeHostUpdateRecordByFilter

func (me *SslService) DescribeSslDescribeHostUpdateRecordByFilter(ctx context.Context, param map[string]interface{}) (describeHostUpdateRecord []*ssl.UpdateRecordInfo, errRet error)

func (*SslService) DescribeSslDescribeHostUpdateRecordDetailByFilter

func (me *SslService) DescribeSslDescribeHostUpdateRecordDetailByFilter(
	ctx context.Context, param map[string]interface{}) (
	describeHostUpdateRecordDetail []*ssl.UpdateRecordDetails,
	successTotalCount *int64, failedTotalCount *int64, runningTotalCount *int64, errRet error)

func (*SslService) DescribeSslDescribeHostVodInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostVodInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostVodInstanceList []*ssl.VodInstanceDetail, errRet error)

func (*SslService) DescribeSslDescribeHostWafInstanceListByFilter

func (me *SslService) DescribeSslDescribeHostWafInstanceListByFilter(ctx context.Context, param map[string]interface{}) (describeHostWafInstanceList []*ssl.LiveInstanceDetail, errRet error)

func (*SslService) DescribeSslDescribeManagerDetailByFilter

func (me *SslService) DescribeSslDescribeManagerDetailByFilter(ctx context.Context, managerId string) (describeManagerDetailResponse *ssl.DescribeManagerDetailResponseParams, errRet error)

func (*SslService) DescribeSslDescribeManagersByFilter

func (me *SslService) DescribeSslDescribeManagersByFilter(ctx context.Context, param map[string]interface{}) (describeManagers []*ssl.ManagerInfo, errRet error)

Source Files

Jump to

Keyboard shortcuts

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