Documentation ¶
Overview ¶
Package sslcertificateapiv1 : Operations and models for the SslCertificateApiV1 service
Index ¶
- Constants
- func GetServiceURLForRegion(region string) (string, error)
- func UnmarshalAdvancedCertInitResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalAdvancedCertInitRespResult(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCertPriorityReqCertificatesItem(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCertificate(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCustomCertPack(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCustomCertReqGeoRestrictions(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCustomCertResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDedicatedCertificatePack(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDedicatedCertificateResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalListCertificateResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalListCustomCertsResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalListOriginCertificatesResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalListOriginCertificatesRespResultInfo(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalOriginCertificate(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalOriginCertificateResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResultInfo(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRevokeOriginCertificateResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRevokeOriginCertificateRespResult(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSslSetting(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSslSettingResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSslVerificationInfo(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSslVerificationInfoVerificationInfo(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSslVerificationResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTls12SettingResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTls12SettingRespResult(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTls13SettingResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTls13SettingRespResult(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUniversalSettingResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUniversalSettingRespResult(m map[string]json.RawMessage, result interface{}) (err error)
- type AdvancedCertInitResp
- type AdvancedCertInitRespResult
- type CertPriorityReqCertificatesItem
- type Certificate
- type ChangeCertificatePriorityOptions
- type ChangeSslSettingOptions
- type ChangeTls12SettingOptions
- type ChangeTls13SettingOptions
- type ChangeUniversalCertificateSettingOptions
- type CreateOriginCertificateOptions
- func (_options *CreateOriginCertificateOptions) SetCrn(crn string) *CreateOriginCertificateOptions
- func (_options *CreateOriginCertificateOptions) SetCsr(csr string) *CreateOriginCertificateOptions
- func (options *CreateOriginCertificateOptions) SetHeaders(param map[string]string) *CreateOriginCertificateOptions
- func (_options *CreateOriginCertificateOptions) SetHostnames(hostnames []string) *CreateOriginCertificateOptions
- func (_options *CreateOriginCertificateOptions) SetRequestType(requestType string) *CreateOriginCertificateOptions
- func (_options *CreateOriginCertificateOptions) SetRequestedValidity(requestedValidity int64) *CreateOriginCertificateOptions
- func (_options *CreateOriginCertificateOptions) SetXCorrelationID(xCorrelationID string) *CreateOriginCertificateOptions
- func (_options *CreateOriginCertificateOptions) SetZoneIdentifier(zoneIdentifier string) *CreateOriginCertificateOptions
- type CustomCertPack
- type CustomCertReqGeoRestrictions
- type CustomCertResp
- type DedicatedCertificatePack
- type DedicatedCertificateResp
- type DeleteCertificateOptions
- func (_options *DeleteCertificateOptions) SetCertIdentifier(certIdentifier string) *DeleteCertificateOptions
- func (options *DeleteCertificateOptions) SetHeaders(param map[string]string) *DeleteCertificateOptions
- func (_options *DeleteCertificateOptions) SetXCorrelationID(xCorrelationID string) *DeleteCertificateOptions
- type DeleteCertificateV2Options
- func (_options *DeleteCertificateV2Options) SetCertIdentifier(certIdentifier string) *DeleteCertificateV2Options
- func (options *DeleteCertificateV2Options) SetHeaders(param map[string]string) *DeleteCertificateV2Options
- func (_options *DeleteCertificateV2Options) SetXCorrelationID(xCorrelationID string) *DeleteCertificateV2Options
- type DeleteCustomCertificateOptions
- type GetCustomCertificateOptions
- type GetOriginCertificateOptions
- func (_options *GetOriginCertificateOptions) SetCertIdentifier(certIdentifier string) *GetOriginCertificateOptions
- func (_options *GetOriginCertificateOptions) SetCrn(crn string) *GetOriginCertificateOptions
- func (options *GetOriginCertificateOptions) SetHeaders(param map[string]string) *GetOriginCertificateOptions
- func (_options *GetOriginCertificateOptions) SetXCorrelationID(xCorrelationID string) *GetOriginCertificateOptions
- func (_options *GetOriginCertificateOptions) SetZoneIdentifier(zoneIdentifier string) *GetOriginCertificateOptions
- type GetSslSettingOptions
- type GetSslVerificationOptions
- type GetTls12SettingOptions
- type GetTls13SettingOptions
- type GetUniversalCertificateSettingOptions
- type ListCertificateResp
- type ListCertificatesOptions
- type ListCustomCertificatesOptions
- type ListCustomCertsResp
- type ListOriginCertificatesOptions
- func (_options *ListOriginCertificatesOptions) SetCrn(crn string) *ListOriginCertificatesOptions
- func (options *ListOriginCertificatesOptions) SetHeaders(param map[string]string) *ListOriginCertificatesOptions
- func (_options *ListOriginCertificatesOptions) SetXCorrelationID(xCorrelationID string) *ListOriginCertificatesOptions
- func (_options *ListOriginCertificatesOptions) SetZoneIdentifier(zoneIdentifier string) *ListOriginCertificatesOptions
- type ListOriginCertificatesResp
- type ListOriginCertificatesRespResultInfo
- type OrderAdvancedCertificateOptions
- func (_options *OrderAdvancedCertificateOptions) SetCertificateAuthority(certificateAuthority string) *OrderAdvancedCertificateOptions
- func (_options *OrderAdvancedCertificateOptions) SetCloudflareBranding(cloudflareBranding bool) *OrderAdvancedCertificateOptions
- func (options *OrderAdvancedCertificateOptions) SetHeaders(param map[string]string) *OrderAdvancedCertificateOptions
- func (_options *OrderAdvancedCertificateOptions) SetHosts(hosts []string) *OrderAdvancedCertificateOptions
- func (_options *OrderAdvancedCertificateOptions) SetType(typeVar string) *OrderAdvancedCertificateOptions
- func (_options *OrderAdvancedCertificateOptions) SetValidationMethod(validationMethod string) *OrderAdvancedCertificateOptions
- func (_options *OrderAdvancedCertificateOptions) SetValidityDays(validityDays int64) *OrderAdvancedCertificateOptions
- func (_options *OrderAdvancedCertificateOptions) SetXCorrelationID(xCorrelationID string) *OrderAdvancedCertificateOptions
- type OrderCertificateOptions
- func (options *OrderCertificateOptions) SetHeaders(param map[string]string) *OrderCertificateOptions
- func (_options *OrderCertificateOptions) SetHosts(hosts []string) *OrderCertificateOptions
- func (_options *OrderCertificateOptions) SetType(typeVar string) *OrderCertificateOptions
- func (_options *OrderCertificateOptions) SetXCorrelationID(xCorrelationID string) *OrderCertificateOptions
- type OriginCertificate
- type OriginCertificateResp
- type PatchCertificateOptions
- func (_options *PatchCertificateOptions) SetCertIdentifier(certIdentifier string) *PatchCertificateOptions
- func (options *PatchCertificateOptions) SetHeaders(param map[string]string) *PatchCertificateOptions
- func (_options *PatchCertificateOptions) SetXCorrelationID(xCorrelationID string) *PatchCertificateOptions
- type ResultInfo
- type RevokeOriginCertificateOptions
- func (_options *RevokeOriginCertificateOptions) SetCertIdentifier(certIdentifier string) *RevokeOriginCertificateOptions
- func (_options *RevokeOriginCertificateOptions) SetCrn(crn string) *RevokeOriginCertificateOptions
- func (options *RevokeOriginCertificateOptions) SetHeaders(param map[string]string) *RevokeOriginCertificateOptions
- func (_options *RevokeOriginCertificateOptions) SetXCorrelationID(xCorrelationID string) *RevokeOriginCertificateOptions
- func (_options *RevokeOriginCertificateOptions) SetZoneIdentifier(zoneIdentifier string) *RevokeOriginCertificateOptions
- type RevokeOriginCertificateResp
- type RevokeOriginCertificateRespResult
- type SslCertificateApiV1
- func (sslCertificateApi *SslCertificateApiV1) ChangeCertificatePriority(changeCertificatePriorityOptions *ChangeCertificatePriorityOptions) (response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ChangeCertificatePriorityWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ChangeSslSetting(changeSslSettingOptions *ChangeSslSettingOptions) (result *SslSettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ChangeSslSettingWithContext(ctx context.Context, changeSslSettingOptions *ChangeSslSettingOptions) (result *SslSettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ChangeTls12Setting(changeTls12SettingOptions *ChangeTls12SettingOptions) (result *Tls12SettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ChangeTls12SettingWithContext(ctx context.Context, changeTls12SettingOptions *ChangeTls12SettingOptions) (result *Tls12SettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ChangeTls13Setting(changeTls13SettingOptions *ChangeTls13SettingOptions) (result *Tls13SettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ChangeTls13SettingWithContext(ctx context.Context, changeTls13SettingOptions *ChangeTls13SettingOptions) (result *Tls13SettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ChangeUniversalCertificateSetting(...) (response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ChangeUniversalCertificateSettingWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) Clone() *SslCertificateApiV1
- func (sslCertificateApi *SslCertificateApiV1) CreateOriginCertificate(createOriginCertificateOptions *CreateOriginCertificateOptions) (result *OriginCertificateResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) CreateOriginCertificateWithContext(ctx context.Context, ...) (result *OriginCertificateResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) DeleteCertificate(deleteCertificateOptions *DeleteCertificateOptions) (response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) DeleteCertificateV2(deleteCertificateV2Options *DeleteCertificateV2Options) (response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) DeleteCertificateV2WithContext(ctx context.Context, deleteCertificateV2Options *DeleteCertificateV2Options) (response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) DeleteCertificateWithContext(ctx context.Context, deleteCertificateOptions *DeleteCertificateOptions) (response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) DeleteCustomCertificate(deleteCustomCertificateOptions *DeleteCustomCertificateOptions) (response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) DeleteCustomCertificateWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) DisableRetries()
- func (sslCertificateApi *SslCertificateApiV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
- func (sslCertificateApi *SslCertificateApiV1) GetCustomCertificate(getCustomCertificateOptions *GetCustomCertificateOptions) (result *CustomCertResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetCustomCertificateWithContext(ctx context.Context, getCustomCertificateOptions *GetCustomCertificateOptions) (result *CustomCertResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetEnableGzipCompression() bool
- func (sslCertificateApi *SslCertificateApiV1) GetOriginCertificate(getOriginCertificateOptions *GetOriginCertificateOptions) (result *OriginCertificateResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetOriginCertificateWithContext(ctx context.Context, getOriginCertificateOptions *GetOriginCertificateOptions) (result *OriginCertificateResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetServiceURL() string
- func (sslCertificateApi *SslCertificateApiV1) GetSslSetting(getSslSettingOptions *GetSslSettingOptions) (result *SslSettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetSslSettingWithContext(ctx context.Context, getSslSettingOptions *GetSslSettingOptions) (result *SslSettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetSslVerification(getSslVerificationOptions *GetSslVerificationOptions) (result *SslVerificationResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetSslVerificationWithContext(ctx context.Context, getSslVerificationOptions *GetSslVerificationOptions) (result *SslVerificationResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetTls12Setting(getTls12SettingOptions *GetTls12SettingOptions) (result *Tls12SettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetTls12SettingWithContext(ctx context.Context, getTls12SettingOptions *GetTls12SettingOptions) (result *Tls12SettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetTls13Setting(getTls13SettingOptions *GetTls13SettingOptions) (result *Tls13SettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetTls13SettingWithContext(ctx context.Context, getTls13SettingOptions *GetTls13SettingOptions) (result *Tls13SettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetUniversalCertificateSetting(getUniversalCertificateSettingOptions *GetUniversalCertificateSettingOptions) (result *UniversalSettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetUniversalCertificateSettingWithContext(ctx context.Context, ...) (result *UniversalSettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ListCertificates(listCertificatesOptions *ListCertificatesOptions) (result *ListCertificateResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ListCertificatesWithContext(ctx context.Context, listCertificatesOptions *ListCertificatesOptions) (result *ListCertificateResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ListCustomCertificates(listCustomCertificatesOptions *ListCustomCertificatesOptions) (result *ListCustomCertsResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ListCustomCertificatesWithContext(ctx context.Context, ...) (result *ListCustomCertsResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ListOriginCertificates(listOriginCertificatesOptions *ListOriginCertificatesOptions) (result *ListOriginCertificatesResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ListOriginCertificatesWithContext(ctx context.Context, ...) (result *ListOriginCertificatesResp, response *core.DetailedResponse, err error)
- func (*SslCertificateApiV1) NewCertPriorityReqCertificatesItem(id string, priority int64) (_model *CertPriorityReqCertificatesItem, err error)
- func (*SslCertificateApiV1) NewChangeCertificatePriorityOptions() *ChangeCertificatePriorityOptions
- func (*SslCertificateApiV1) NewChangeSslSettingOptions() *ChangeSslSettingOptions
- func (*SslCertificateApiV1) NewChangeTls12SettingOptions() *ChangeTls12SettingOptions
- func (*SslCertificateApiV1) NewChangeTls13SettingOptions() *ChangeTls13SettingOptions
- func (*SslCertificateApiV1) NewChangeUniversalCertificateSettingOptions() *ChangeUniversalCertificateSettingOptions
- func (*SslCertificateApiV1) NewCreateOriginCertificateOptions(crn string, zoneIdentifier string) *CreateOriginCertificateOptions
- func (*SslCertificateApiV1) NewCustomCertReqGeoRestrictions(label string) (_model *CustomCertReqGeoRestrictions, err error)
- func (*SslCertificateApiV1) NewDeleteCertificateOptions(certIdentifier string) *DeleteCertificateOptions
- func (*SslCertificateApiV1) NewDeleteCertificateV2Options(certIdentifier string) *DeleteCertificateV2Options
- func (*SslCertificateApiV1) NewDeleteCustomCertificateOptions(customCertID string) *DeleteCustomCertificateOptions
- func (*SslCertificateApiV1) NewGetCustomCertificateOptions(customCertID string) *GetCustomCertificateOptions
- func (*SslCertificateApiV1) NewGetOriginCertificateOptions(crn string, zoneIdentifier string, certIdentifier string) *GetOriginCertificateOptions
- func (*SslCertificateApiV1) NewGetSslSettingOptions() *GetSslSettingOptions
- func (*SslCertificateApiV1) NewGetSslVerificationOptions() *GetSslVerificationOptions
- func (*SslCertificateApiV1) NewGetTls12SettingOptions() *GetTls12SettingOptions
- func (*SslCertificateApiV1) NewGetTls13SettingOptions() *GetTls13SettingOptions
- func (*SslCertificateApiV1) NewGetUniversalCertificateSettingOptions() *GetUniversalCertificateSettingOptions
- func (*SslCertificateApiV1) NewListCertificatesOptions() *ListCertificatesOptions
- func (*SslCertificateApiV1) NewListCustomCertificatesOptions() *ListCustomCertificatesOptions
- func (*SslCertificateApiV1) NewListOriginCertificatesOptions(crn string, zoneIdentifier string) *ListOriginCertificatesOptions
- func (*SslCertificateApiV1) NewOrderAdvancedCertificateOptions() *OrderAdvancedCertificateOptions
- func (*SslCertificateApiV1) NewOrderCertificateOptions() *OrderCertificateOptions
- func (*SslCertificateApiV1) NewPatchCertificateOptions(certIdentifier string) *PatchCertificateOptions
- func (*SslCertificateApiV1) NewRevokeOriginCertificateOptions(crn string, zoneIdentifier string, certIdentifier string) *RevokeOriginCertificateOptions
- func (*SslCertificateApiV1) NewUpdateCustomCertificateOptions(customCertID string) *UpdateCustomCertificateOptions
- func (*SslCertificateApiV1) NewUploadCustomCertificateOptions() *UploadCustomCertificateOptions
- func (sslCertificateApi *SslCertificateApiV1) OrderAdvancedCertificate(orderAdvancedCertificateOptions *OrderAdvancedCertificateOptions) (result *AdvancedCertInitResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) OrderAdvancedCertificateWithContext(ctx context.Context, ...) (result *AdvancedCertInitResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) OrderCertificate(orderCertificateOptions *OrderCertificateOptions) (result *DedicatedCertificateResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) OrderCertificateWithContext(ctx context.Context, orderCertificateOptions *OrderCertificateOptions) (result *DedicatedCertificateResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) PatchCertificate(patchCertificateOptions *PatchCertificateOptions) (result *AdvancedCertInitResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) PatchCertificateWithContext(ctx context.Context, patchCertificateOptions *PatchCertificateOptions) (result *AdvancedCertInitResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) RevokeOriginCertificate(revokeOriginCertificateOptions *RevokeOriginCertificateOptions) (result *RevokeOriginCertificateResp, response *core.DetailedResponse, ...)
- func (sslCertificateApi *SslCertificateApiV1) RevokeOriginCertificateWithContext(ctx context.Context, ...) (result *RevokeOriginCertificateResp, response *core.DetailedResponse, ...)
- func (sslCertificateApi *SslCertificateApiV1) SetDefaultHeaders(headers http.Header)
- func (sslCertificateApi *SslCertificateApiV1) SetEnableGzipCompression(enableGzip bool)
- func (sslCertificateApi *SslCertificateApiV1) SetServiceURL(url string) error
- func (sslCertificateApi *SslCertificateApiV1) UpdateCustomCertificate(updateCustomCertificateOptions *UpdateCustomCertificateOptions) (result *CustomCertResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) UpdateCustomCertificateWithContext(ctx context.Context, ...) (result *CustomCertResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) UploadCustomCertificate(uploadCustomCertificateOptions *UploadCustomCertificateOptions) (result *CustomCertResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) UploadCustomCertificateWithContext(ctx context.Context, ...) (result *CustomCertResp, response *core.DetailedResponse, err error)
- type SslCertificateApiV1Options
- type SslSetting
- type SslSettingResp
- type SslVerificationInfo
- type SslVerificationInfoVerificationInfo
- type SslVerificationResp
- type Tls12SettingResp
- type Tls12SettingRespResult
- type Tls13SettingResp
- type Tls13SettingRespResult
- type UniversalSettingResp
- type UniversalSettingRespResult
- type UpdateCustomCertificateOptions
- func (_options *UpdateCustomCertificateOptions) SetBundleMethod(bundleMethod string) *UpdateCustomCertificateOptions
- func (_options *UpdateCustomCertificateOptions) SetCertificate(certificate string) *UpdateCustomCertificateOptions
- func (_options *UpdateCustomCertificateOptions) SetCustomCertID(customCertID string) *UpdateCustomCertificateOptions
- func (_options *UpdateCustomCertificateOptions) SetGeoRestrictions(geoRestrictions *CustomCertReqGeoRestrictions) *UpdateCustomCertificateOptions
- func (options *UpdateCustomCertificateOptions) SetHeaders(param map[string]string) *UpdateCustomCertificateOptions
- func (_options *UpdateCustomCertificateOptions) SetPrivateKey(privateKey string) *UpdateCustomCertificateOptions
- type UploadCustomCertificateOptions
- func (_options *UploadCustomCertificateOptions) SetBundleMethod(bundleMethod string) *UploadCustomCertificateOptions
- func (_options *UploadCustomCertificateOptions) SetCertificate(certificate string) *UploadCustomCertificateOptions
- func (_options *UploadCustomCertificateOptions) SetGeoRestrictions(geoRestrictions *CustomCertReqGeoRestrictions) *UploadCustomCertificateOptions
- func (options *UploadCustomCertificateOptions) SetHeaders(param map[string]string) *UploadCustomCertificateOptions
- func (_options *UploadCustomCertificateOptions) SetPrivateKey(privateKey string) *UploadCustomCertificateOptions
Constants ¶
const ( ChangeSslSettingOptions_Value_Flexible = "flexible" ChangeSslSettingOptions_Value_Full = "full" ChangeSslSettingOptions_Value_Off = "off" ChangeSslSettingOptions_Value_Strict = "strict" )
Constants associated with the ChangeSslSettingOptions.Value property. value.
const ( ChangeTls12SettingOptions_Value_Off = "off" ChangeTls12SettingOptions_Value_On = "on" )
Constants associated with the ChangeTls12SettingOptions.Value property. value.
const ( ChangeTls13SettingOptions_Value_Off = "off" ChangeTls13SettingOptions_Value_On = "on" )
Constants associated with the ChangeTls13SettingOptions.Value property. value.
const ( CreateOriginCertificateOptions_RequestType_OriginEcc = "origin-ecc" CreateOriginCertificateOptions_RequestType_OriginRsa = "origin-rsa" )
Constants associated with the CreateOriginCertificateOptions.RequestType property. Signature type desired on certificate.
const ( CustomCertReqGeoRestrictions_Label_Eu = "eu" CustomCertReqGeoRestrictions_Label_HighestSecurity = "highest_security" CustomCertReqGeoRestrictions_Label_Us = "us" )
Constants associated with the CustomCertReqGeoRestrictions.Label property. properties.
const ( OrderAdvancedCertificateOptions_ValidationMethod_Email = "email" OrderAdvancedCertificateOptions_ValidationMethod_Http = "http" OrderAdvancedCertificateOptions_ValidationMethod_Txt = "txt" )
Constants associated with the OrderAdvancedCertificateOptions.ValidationMethod property. validation Method selected for the order.
const ( OrderAdvancedCertificateOptions_CertificateAuthority_Google = "google" OrderAdvancedCertificateOptions_CertificateAuthority_LetsEncrypt = "lets_encrypt" )
Constants associated with the OrderAdvancedCertificateOptions.CertificateAuthority property. Certificate Authority selected for the order. Selecting Let's Encrypt will reduce customization of other fields: validation_method must be 'txt', validity_days must be 90, cloudflare_branding must be omitted, and hosts must contain only 2 entries, one for the zone name and one for the subdomain wildcard of the zone name (e.g. example.com, *.example.com).
const ( UpdateCustomCertificateOptions_BundleMethod_Force = "force" UpdateCustomCertificateOptions_BundleMethod_Optimal = "optimal" UpdateCustomCertificateOptions_BundleMethod_Ubiquitous = "ubiquitous" )
Constants associated with the UpdateCustomCertificateOptions.BundleMethod property. Methods shown in UI mapping to API: Compatible(ubiquitous), Modern(optimal), User Defined(force).
const ( UploadCustomCertificateOptions_BundleMethod_Force = "force" UploadCustomCertificateOptions_BundleMethod_Optimal = "optimal" UploadCustomCertificateOptions_BundleMethod_Ubiquitous = "ubiquitous" )
Constants associated with the UploadCustomCertificateOptions.BundleMethod property. Methods shown in UI mapping to API: Compatible(ubiquitous), Modern(optimal), User Defined(force).
const ( OriginCertificate_RequestType_OriginEcc = "origin-ecc" OriginCertificate_RequestType_OriginRsa = "origin-rsa" )
Constants associated with the OriginCertificate.RequestType property. Signature type desired on certificate.
const ( SslSetting_Value_False = "false" SslSetting_Value_Flexible = "flexible" SslSetting_Value_Full = "full" SslSetting_Value_Strict = "strict" )
Constants associated with the SslSetting.Value property. value.
const DefaultServiceName = "ssl_certificate_api"
DefaultServiceName is the default key used to find external configuration information.
const DefaultServiceURL = "https://api.cis.cloud.ibm.com"
DefaultServiceURL is the default URL to make service requests to.
const (
OrderAdvancedCertificateOptions_Type_Advanced = "advanced"
)
Constants associated with the OrderAdvancedCertificateOptions.Type property. certificate type.
const (
OrderCertificateOptions_Type_Dedicated = "dedicated"
)
Constants associated with the OrderCertificateOptions.Type property. priorities.
const (
Tls12SettingRespResult_ID_Tls12Only = "tls_1_2_only"
)
Constants associated with the Tls12SettingRespResult.ID property. identifier.
const (
Tls13SettingRespResult_ID_Tls13 = "tls_1_3"
)
Constants associated with the Tls13SettingRespResult.ID property. identifier.
Variables ¶
This section is empty.
Functions ¶
func GetServiceURLForRegion ¶ added in v0.12.1
GetServiceURLForRegion returns the service URL to be used for the specified region
func UnmarshalAdvancedCertInitResp ¶ added in v0.48.0
func UnmarshalAdvancedCertInitResp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAdvancedCertInitResp unmarshals an instance of AdvancedCertInitResp from the specified map of raw messages.
func UnmarshalAdvancedCertInitRespResult ¶ added in v0.48.0
func UnmarshalAdvancedCertInitRespResult(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAdvancedCertInitRespResult unmarshals an instance of AdvancedCertInitRespResult from the specified map of raw messages.
func UnmarshalCertPriorityReqCertificatesItem ¶
func UnmarshalCertPriorityReqCertificatesItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCertPriorityReqCertificatesItem unmarshals an instance of CertPriorityReqCertificatesItem from the specified map of raw messages.
func UnmarshalCertificate ¶
func UnmarshalCertificate(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCertificate unmarshals an instance of Certificate from the specified map of raw messages.
func UnmarshalCustomCertPack ¶
func UnmarshalCustomCertPack(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCustomCertPack unmarshals an instance of CustomCertPack from the specified map of raw messages.
func UnmarshalCustomCertReqGeoRestrictions ¶
func UnmarshalCustomCertReqGeoRestrictions(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCustomCertReqGeoRestrictions unmarshals an instance of CustomCertReqGeoRestrictions from the specified map of raw messages.
func UnmarshalCustomCertResp ¶
func UnmarshalCustomCertResp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCustomCertResp unmarshals an instance of CustomCertResp from the specified map of raw messages.
func UnmarshalDedicatedCertificatePack ¶
func UnmarshalDedicatedCertificatePack(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDedicatedCertificatePack unmarshals an instance of DedicatedCertificatePack from the specified map of raw messages.
func UnmarshalDedicatedCertificateResp ¶ added in v0.11.0
func UnmarshalDedicatedCertificateResp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDedicatedCertificateResp unmarshals an instance of DedicatedCertificateResp from the specified map of raw messages.
func UnmarshalListCertificateResp ¶
func UnmarshalListCertificateResp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalListCertificateResp unmarshals an instance of ListCertificateResp from the specified map of raw messages.
func UnmarshalListCustomCertsResp ¶
func UnmarshalListCustomCertsResp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalListCustomCertsResp unmarshals an instance of ListCustomCertsResp from the specified map of raw messages.
func UnmarshalListOriginCertificatesResp ¶ added in v0.48.0
func UnmarshalListOriginCertificatesResp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalListOriginCertificatesResp unmarshals an instance of ListOriginCertificatesResp from the specified map of raw messages.
func UnmarshalListOriginCertificatesRespResultInfo ¶ added in v0.48.0
func UnmarshalListOriginCertificatesRespResultInfo(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalListOriginCertificatesRespResultInfo unmarshals an instance of ListOriginCertificatesRespResultInfo from the specified map of raw messages.
func UnmarshalOriginCertificate ¶ added in v0.48.0
func UnmarshalOriginCertificate(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalOriginCertificate unmarshals an instance of OriginCertificate from the specified map of raw messages.
func UnmarshalOriginCertificateResp ¶ added in v0.48.0
func UnmarshalOriginCertificateResp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalOriginCertificateResp unmarshals an instance of OriginCertificateResp from the specified map of raw messages.
func UnmarshalResultInfo ¶
func UnmarshalResultInfo(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalResultInfo unmarshals an instance of ResultInfo from the specified map of raw messages.
func UnmarshalRevokeOriginCertificateResp ¶ added in v0.48.0
func UnmarshalRevokeOriginCertificateResp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRevokeOriginCertificateResp unmarshals an instance of RevokeOriginCertificateResp from the specified map of raw messages.
func UnmarshalRevokeOriginCertificateRespResult ¶ added in v0.48.0
func UnmarshalRevokeOriginCertificateRespResult(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRevokeOriginCertificateRespResult unmarshals an instance of RevokeOriginCertificateRespResult from the specified map of raw messages.
func UnmarshalSslSetting ¶
func UnmarshalSslSetting(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSslSetting unmarshals an instance of SslSetting from the specified map of raw messages.
func UnmarshalSslSettingResp ¶
func UnmarshalSslSettingResp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSslSettingResp unmarshals an instance of SslSettingResp from the specified map of raw messages.
func UnmarshalSslVerificationInfo ¶ added in v0.48.0
func UnmarshalSslVerificationInfo(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSslVerificationInfo unmarshals an instance of SslVerificationInfo from the specified map of raw messages.
func UnmarshalSslVerificationInfoVerificationInfo ¶ added in v0.48.0
func UnmarshalSslVerificationInfoVerificationInfo(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSslVerificationInfoVerificationInfo unmarshals an instance of SslVerificationInfoVerificationInfo from the specified map of raw messages.
func UnmarshalSslVerificationResp ¶ added in v0.48.0
func UnmarshalSslVerificationResp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSslVerificationResp unmarshals an instance of SslVerificationResp from the specified map of raw messages.
func UnmarshalTls12SettingResp ¶
func UnmarshalTls12SettingResp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTls12SettingResp unmarshals an instance of Tls12SettingResp from the specified map of raw messages.
func UnmarshalTls12SettingRespResult ¶
func UnmarshalTls12SettingRespResult(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTls12SettingRespResult unmarshals an instance of Tls12SettingRespResult from the specified map of raw messages.
func UnmarshalTls13SettingResp ¶
func UnmarshalTls13SettingResp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTls13SettingResp unmarshals an instance of Tls13SettingResp from the specified map of raw messages.
func UnmarshalTls13SettingRespResult ¶
func UnmarshalTls13SettingRespResult(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTls13SettingRespResult unmarshals an instance of Tls13SettingRespResult from the specified map of raw messages.
func UnmarshalUniversalSettingResp ¶
func UnmarshalUniversalSettingResp(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUniversalSettingResp unmarshals an instance of UniversalSettingResp from the specified map of raw messages.
func UnmarshalUniversalSettingRespResult ¶
func UnmarshalUniversalSettingRespResult(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUniversalSettingRespResult unmarshals an instance of UniversalSettingRespResult from the specified map of raw messages.
Types ¶
type AdvancedCertInitResp ¶ added in v0.48.0
type AdvancedCertInitResp struct { // result of ordering advanced certificate pack. Result *AdvancedCertInitRespResult `json:"result" validate:"required"` // success. Success *bool `json:"success" validate:"required"` // errors. Errors []map[string]interface{} `json:"errors" validate:"required"` // messages. Messages []map[string]interface{} `json:"messages" validate:"required"` }
AdvancedCertInitResp : certificate response.
type AdvancedCertInitRespResult ¶ added in v0.48.0
type AdvancedCertInitRespResult struct { // advanced certificate pack ID. ID *string `json:"id,omitempty"` // certificate type. Type *string `json:"type,omitempty"` // host name. Hosts []string `json:"hosts,omitempty"` // validation Method selected for the order. ValidationMethod *string `json:"validation_method,omitempty"` // validity Days selected for the order. ValidityDays *int64 `json:"validity_days,omitempty"` // Certificate Authority selected for the order. CertificateAuthority *string `json:"certificate_authority,omitempty"` // whether or not to add Cloudflare Branding for the order. CloudflareBranding *bool `json:"cloudflare_branding,omitempty"` // certificate status. Status *string `json:"status,omitempty"` }
AdvancedCertInitRespResult : result of ordering advanced certificate pack.
type CertPriorityReqCertificatesItem ¶
type CertPriorityReqCertificatesItem struct { // identifier. ID *string `json:"id" validate:"required"` // certificate priority. Priority *int64 `json:"priority" validate:"required"` }
CertPriorityReqCertificatesItem : certificate items.
type Certificate ¶
type Certificate struct { // identifier. ID *string `json:"id" validate:"required"` // host name. Hosts []string `json:"hosts" validate:"required"` // status. Status *string `json:"status" validate:"required"` // issuer. Issuer *string `json:"issuer" validate:"required"` // signature. Signature *string `json:"signature" validate:"required"` // bundle method. BundleMethod *string `json:"bundle_method" validate:"required"` // zone ID. ZoneID *string `json:"zone_id" validate:"required"` // uploaded time. UploadedOn *string `json:"uploaded_on" validate:"required"` // modified time. ModifiedOn *string `json:"modified_on" validate:"required"` // expire time. ExpiresOn *string `json:"expires_on" validate:"required"` // certificate priority. Priority *int64 `json:"priority,omitempty"` }
Certificate : certificate.
type ChangeCertificatePriorityOptions ¶
type ChangeCertificatePriorityOptions struct { // certificates array. Certificates []CertPriorityReqCertificatesItem `json:"certificates,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ChangeCertificatePriorityOptions : The ChangeCertificatePriority options.
func (*ChangeCertificatePriorityOptions) SetCertificates ¶
func (_options *ChangeCertificatePriorityOptions) SetCertificates(certificates []CertPriorityReqCertificatesItem) *ChangeCertificatePriorityOptions
SetCertificates : Allow user to set Certificates
func (*ChangeCertificatePriorityOptions) SetHeaders ¶
func (options *ChangeCertificatePriorityOptions) SetHeaders(param map[string]string) *ChangeCertificatePriorityOptions
SetHeaders : Allow user to set Headers
type ChangeSslSettingOptions ¶
type ChangeSslSettingOptions struct { // value. Value *string `json:"value,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ChangeSslSettingOptions : The ChangeSslSetting options.
func (*ChangeSslSettingOptions) SetHeaders ¶
func (options *ChangeSslSettingOptions) SetHeaders(param map[string]string) *ChangeSslSettingOptions
SetHeaders : Allow user to set Headers
func (*ChangeSslSettingOptions) SetValue ¶
func (_options *ChangeSslSettingOptions) SetValue(value string) *ChangeSslSettingOptions
SetValue : Allow user to set Value
type ChangeTls12SettingOptions ¶
type ChangeTls12SettingOptions struct { // value. Value *string `json:"value,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ChangeTls12SettingOptions : The ChangeTls12Setting options.
func (*ChangeTls12SettingOptions) SetHeaders ¶
func (options *ChangeTls12SettingOptions) SetHeaders(param map[string]string) *ChangeTls12SettingOptions
SetHeaders : Allow user to set Headers
func (*ChangeTls12SettingOptions) SetValue ¶
func (_options *ChangeTls12SettingOptions) SetValue(value string) *ChangeTls12SettingOptions
SetValue : Allow user to set Value
type ChangeTls13SettingOptions ¶
type ChangeTls13SettingOptions struct { // value. Value *string `json:"value,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ChangeTls13SettingOptions : The ChangeTls13Setting options.
func (*ChangeTls13SettingOptions) SetHeaders ¶
func (options *ChangeTls13SettingOptions) SetHeaders(param map[string]string) *ChangeTls13SettingOptions
SetHeaders : Allow user to set Headers
func (*ChangeTls13SettingOptions) SetValue ¶
func (_options *ChangeTls13SettingOptions) SetValue(value string) *ChangeTls13SettingOptions
SetValue : Allow user to set Value
type ChangeUniversalCertificateSettingOptions ¶
type ChangeUniversalCertificateSettingOptions struct { // enabled. Enabled *bool `json:"enabled,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ChangeUniversalCertificateSettingOptions : The ChangeUniversalCertificateSetting options.
func (*ChangeUniversalCertificateSettingOptions) SetEnabled ¶
func (_options *ChangeUniversalCertificateSettingOptions) SetEnabled(enabled bool) *ChangeUniversalCertificateSettingOptions
SetEnabled : Allow user to set Enabled
func (*ChangeUniversalCertificateSettingOptions) SetHeaders ¶
func (options *ChangeUniversalCertificateSettingOptions) SetHeaders(param map[string]string) *ChangeUniversalCertificateSettingOptions
SetHeaders : Allow user to set Headers
type CreateOriginCertificateOptions ¶ added in v0.48.0
type CreateOriginCertificateOptions struct { // Full url-encoded cloud resource name (CRN) of resource instance. Crn *string `json:"crn" validate:"required,ne="` // zone identifier. ZoneIdentifier *string `json:"zone_identifier" validate:"required,ne="` // Array of hostnames or wildcard names (e.g., *.example.com) bound to the certificate. Hostnames []string `json:"hostnames,omitempty"` // Signature type desired on certificate. RequestType *string `json:"request_type,omitempty"` // The number of days for which the certificate should be valid. RequestedValidity *int64 `json:"requested_validity,omitempty"` // The Certificate Signing Request (CSR). Csr *string `json:"csr,omitempty"` // uuid, identify a session. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
CreateOriginCertificateOptions : The CreateOriginCertificate options.
func (*CreateOriginCertificateOptions) SetCrn ¶ added in v0.48.0
func (_options *CreateOriginCertificateOptions) SetCrn(crn string) *CreateOriginCertificateOptions
SetCrn : Allow user to set Crn
func (*CreateOriginCertificateOptions) SetCsr ¶ added in v0.48.0
func (_options *CreateOriginCertificateOptions) SetCsr(csr string) *CreateOriginCertificateOptions
SetCsr : Allow user to set Csr
func (*CreateOriginCertificateOptions) SetHeaders ¶ added in v0.48.0
func (options *CreateOriginCertificateOptions) SetHeaders(param map[string]string) *CreateOriginCertificateOptions
SetHeaders : Allow user to set Headers
func (*CreateOriginCertificateOptions) SetHostnames ¶ added in v0.48.0
func (_options *CreateOriginCertificateOptions) SetHostnames(hostnames []string) *CreateOriginCertificateOptions
SetHostnames : Allow user to set Hostnames
func (*CreateOriginCertificateOptions) SetRequestType ¶ added in v0.48.0
func (_options *CreateOriginCertificateOptions) SetRequestType(requestType string) *CreateOriginCertificateOptions
SetRequestType : Allow user to set RequestType
func (*CreateOriginCertificateOptions) SetRequestedValidity ¶ added in v0.48.0
func (_options *CreateOriginCertificateOptions) SetRequestedValidity(requestedValidity int64) *CreateOriginCertificateOptions
SetRequestedValidity : Allow user to set RequestedValidity
func (*CreateOriginCertificateOptions) SetXCorrelationID ¶ added in v0.48.0
func (_options *CreateOriginCertificateOptions) SetXCorrelationID(xCorrelationID string) *CreateOriginCertificateOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*CreateOriginCertificateOptions) SetZoneIdentifier ¶ added in v0.48.0
func (_options *CreateOriginCertificateOptions) SetZoneIdentifier(zoneIdentifier string) *CreateOriginCertificateOptions
SetZoneIdentifier : Allow user to set ZoneIdentifier
type CustomCertPack ¶
type CustomCertPack struct { // identifier. ID *string `json:"id" validate:"required"` // host name. Hosts []string `json:"hosts" validate:"required"` // issuer. Issuer *string `json:"issuer" validate:"required"` // signature. Signature *string `json:"signature" validate:"required"` // status. Status *string `json:"status" validate:"required"` // bundle method. BundleMethod *string `json:"bundle_method" validate:"required"` // zone identifier. ZoneID *string `json:"zone_id" validate:"required"` // uploaded date. UploadedOn *string `json:"uploaded_on" validate:"required"` // modified date. ModifiedOn *string `json:"modified_on" validate:"required"` // expire date. ExpiresOn *string `json:"expires_on" validate:"required"` // priority. Priority *float64 `json:"priority" validate:"required"` }
CustomCertPack : custom certificate pack.
type CustomCertReqGeoRestrictions ¶
type CustomCertReqGeoRestrictions struct { // properties. Label *string `json:"label" validate:"required"` }
CustomCertReqGeoRestrictions : geo restrictions.
type CustomCertResp ¶
type CustomCertResp struct { // custom certificate pack. Result *CustomCertPack `json:"result" validate:"required"` // success. Success *bool `json:"success" validate:"required"` // errors. Errors []map[string]interface{} `json:"errors" validate:"required"` // messages. Messages []map[string]interface{} `json:"messages" validate:"required"` }
CustomCertResp : custom certificate response.
type DedicatedCertificatePack ¶
type DedicatedCertificatePack struct { // identifier. ID *string `json:"id" validate:"required"` // certificate type. Type *string `json:"type" validate:"required"` // host name. Hosts []string `json:"hosts" validate:"required"` // certificates. Certificates []Certificate `json:"certificates" validate:"required"` // primary certificate. PrimaryCertificate map[string]interface{} `json:"primary_certificate" validate:"required"` // status. Status *string `json:"status" validate:"required"` }
DedicatedCertificatePack : dedicated certificate packs.
type DedicatedCertificateResp ¶ added in v0.11.0
type DedicatedCertificateResp struct { // dedicated certificate packs. Result *DedicatedCertificatePack `json:"result" validate:"required"` // result information. ResultInfo *ResultInfo `json:"result_info" validate:"required"` // success. Success *bool `json:"success" validate:"required"` // errors. Errors []map[string]interface{} `json:"errors" validate:"required"` // messages. Messages []map[string]interface{} `json:"messages" validate:"required"` }
DedicatedCertificateResp : certificate response.
type DeleteCertificateOptions ¶
type DeleteCertificateOptions struct { // cedrtificate identifier. CertIdentifier *string `json:"cert_identifier" validate:"required,ne="` // uuid, identify a session. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
DeleteCertificateOptions : The DeleteCertificate options.
func (*DeleteCertificateOptions) SetCertIdentifier ¶
func (_options *DeleteCertificateOptions) SetCertIdentifier(certIdentifier string) *DeleteCertificateOptions
SetCertIdentifier : Allow user to set CertIdentifier
func (*DeleteCertificateOptions) SetHeaders ¶
func (options *DeleteCertificateOptions) SetHeaders(param map[string]string) *DeleteCertificateOptions
SetHeaders : Allow user to set Headers
func (*DeleteCertificateOptions) SetXCorrelationID ¶
func (_options *DeleteCertificateOptions) SetXCorrelationID(xCorrelationID string) *DeleteCertificateOptions
SetXCorrelationID : Allow user to set XCorrelationID
type DeleteCertificateV2Options ¶ added in v0.48.0
type DeleteCertificateV2Options struct { // cedrtificate identifier. CertIdentifier *string `json:"cert_identifier" validate:"required,ne="` // uuid, identify a session. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
DeleteCertificateV2Options : The DeleteCertificateV2 options.
func (*DeleteCertificateV2Options) SetCertIdentifier ¶ added in v0.48.0
func (_options *DeleteCertificateV2Options) SetCertIdentifier(certIdentifier string) *DeleteCertificateV2Options
SetCertIdentifier : Allow user to set CertIdentifier
func (*DeleteCertificateV2Options) SetHeaders ¶ added in v0.48.0
func (options *DeleteCertificateV2Options) SetHeaders(param map[string]string) *DeleteCertificateV2Options
SetHeaders : Allow user to set Headers
func (*DeleteCertificateV2Options) SetXCorrelationID ¶ added in v0.48.0
func (_options *DeleteCertificateV2Options) SetXCorrelationID(xCorrelationID string) *DeleteCertificateV2Options
SetXCorrelationID : Allow user to set XCorrelationID
type DeleteCustomCertificateOptions ¶
type DeleteCustomCertificateOptions struct { // custom certificate id. CustomCertID *string `json:"custom_cert_id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
DeleteCustomCertificateOptions : The DeleteCustomCertificate options.
func (*DeleteCustomCertificateOptions) SetCustomCertID ¶
func (_options *DeleteCustomCertificateOptions) SetCustomCertID(customCertID string) *DeleteCustomCertificateOptions
SetCustomCertID : Allow user to set CustomCertID
func (*DeleteCustomCertificateOptions) SetHeaders ¶
func (options *DeleteCustomCertificateOptions) SetHeaders(param map[string]string) *DeleteCustomCertificateOptions
SetHeaders : Allow user to set Headers
type GetCustomCertificateOptions ¶
type GetCustomCertificateOptions struct { // custom certificate id. CustomCertID *string `json:"custom_cert_id" validate:"required,ne="` // Allows users to set headers on API requests Headers map[string]string }
GetCustomCertificateOptions : The GetCustomCertificate options.
func (*GetCustomCertificateOptions) SetCustomCertID ¶
func (_options *GetCustomCertificateOptions) SetCustomCertID(customCertID string) *GetCustomCertificateOptions
SetCustomCertID : Allow user to set CustomCertID
func (*GetCustomCertificateOptions) SetHeaders ¶
func (options *GetCustomCertificateOptions) SetHeaders(param map[string]string) *GetCustomCertificateOptions
SetHeaders : Allow user to set Headers
type GetOriginCertificateOptions ¶ added in v0.48.0
type GetOriginCertificateOptions struct { // Full url-encoded cloud resource name (CRN) of resource instance. Crn *string `json:"crn" validate:"required,ne="` // zone identifier. ZoneIdentifier *string `json:"zone_identifier" validate:"required,ne="` // cedrtificate identifier. CertIdentifier *string `json:"cert_identifier" validate:"required,ne="` // uuid, identify a session. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetOriginCertificateOptions : The GetOriginCertificate options.
func (*GetOriginCertificateOptions) SetCertIdentifier ¶ added in v0.48.0
func (_options *GetOriginCertificateOptions) SetCertIdentifier(certIdentifier string) *GetOriginCertificateOptions
SetCertIdentifier : Allow user to set CertIdentifier
func (*GetOriginCertificateOptions) SetCrn ¶ added in v0.48.0
func (_options *GetOriginCertificateOptions) SetCrn(crn string) *GetOriginCertificateOptions
SetCrn : Allow user to set Crn
func (*GetOriginCertificateOptions) SetHeaders ¶ added in v0.48.0
func (options *GetOriginCertificateOptions) SetHeaders(param map[string]string) *GetOriginCertificateOptions
SetHeaders : Allow user to set Headers
func (*GetOriginCertificateOptions) SetXCorrelationID ¶ added in v0.48.0
func (_options *GetOriginCertificateOptions) SetXCorrelationID(xCorrelationID string) *GetOriginCertificateOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*GetOriginCertificateOptions) SetZoneIdentifier ¶ added in v0.48.0
func (_options *GetOriginCertificateOptions) SetZoneIdentifier(zoneIdentifier string) *GetOriginCertificateOptions
SetZoneIdentifier : Allow user to set ZoneIdentifier
type GetSslSettingOptions ¶
type GetSslSettingOptions struct { // Allows users to set headers on API requests Headers map[string]string }
GetSslSettingOptions : The GetSslSetting options.
func (*GetSslSettingOptions) SetHeaders ¶
func (options *GetSslSettingOptions) SetHeaders(param map[string]string) *GetSslSettingOptions
SetHeaders : Allow user to set Headers
type GetSslVerificationOptions ¶ added in v0.48.0
type GetSslVerificationOptions struct { // uuid, identify a session. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
GetSslVerificationOptions : The GetSslVerification options.
func (*GetSslVerificationOptions) SetHeaders ¶ added in v0.48.0
func (options *GetSslVerificationOptions) SetHeaders(param map[string]string) *GetSslVerificationOptions
SetHeaders : Allow user to set Headers
func (*GetSslVerificationOptions) SetXCorrelationID ¶ added in v0.48.0
func (_options *GetSslVerificationOptions) SetXCorrelationID(xCorrelationID string) *GetSslVerificationOptions
SetXCorrelationID : Allow user to set XCorrelationID
type GetTls12SettingOptions ¶
type GetTls12SettingOptions struct { // Allows users to set headers on API requests Headers map[string]string }
GetTls12SettingOptions : The GetTls12Setting options.
func (*GetTls12SettingOptions) SetHeaders ¶
func (options *GetTls12SettingOptions) SetHeaders(param map[string]string) *GetTls12SettingOptions
SetHeaders : Allow user to set Headers
type GetTls13SettingOptions ¶
type GetTls13SettingOptions struct { // Allows users to set headers on API requests Headers map[string]string }
GetTls13SettingOptions : The GetTls13Setting options.
func (*GetTls13SettingOptions) SetHeaders ¶
func (options *GetTls13SettingOptions) SetHeaders(param map[string]string) *GetTls13SettingOptions
SetHeaders : Allow user to set Headers
type GetUniversalCertificateSettingOptions ¶
type GetUniversalCertificateSettingOptions struct { // Allows users to set headers on API requests Headers map[string]string }
GetUniversalCertificateSettingOptions : The GetUniversalCertificateSetting options.
func (*GetUniversalCertificateSettingOptions) SetHeaders ¶
func (options *GetUniversalCertificateSettingOptions) SetHeaders(param map[string]string) *GetUniversalCertificateSettingOptions
SetHeaders : Allow user to set Headers
type ListCertificateResp ¶
type ListCertificateResp struct { // certificate packs. Result []DedicatedCertificatePack `json:"result" validate:"required"` // result information. ResultInfo *ResultInfo `json:"result_info" validate:"required"` // success. Success *bool `json:"success" validate:"required"` // errors. Errors []map[string]interface{} `json:"errors" validate:"required"` // messages. Messages []map[string]interface{} `json:"messages" validate:"required"` }
ListCertificateResp : certificate response.
type ListCertificatesOptions ¶
type ListCertificatesOptions struct { // uuid, identify a session. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListCertificatesOptions : The ListCertificates options.
func (*ListCertificatesOptions) SetHeaders ¶
func (options *ListCertificatesOptions) SetHeaders(param map[string]string) *ListCertificatesOptions
SetHeaders : Allow user to set Headers
func (*ListCertificatesOptions) SetXCorrelationID ¶
func (_options *ListCertificatesOptions) SetXCorrelationID(xCorrelationID string) *ListCertificatesOptions
SetXCorrelationID : Allow user to set XCorrelationID
type ListCustomCertificatesOptions ¶
type ListCustomCertificatesOptions struct { // Allows users to set headers on API requests Headers map[string]string }
ListCustomCertificatesOptions : The ListCustomCertificates options.
func (*ListCustomCertificatesOptions) SetHeaders ¶
func (options *ListCustomCertificatesOptions) SetHeaders(param map[string]string) *ListCustomCertificatesOptions
SetHeaders : Allow user to set Headers
type ListCustomCertsResp ¶
type ListCustomCertsResp struct { // custom certificate packs. Result []CustomCertPack `json:"result" validate:"required"` // result information. ResultInfo *ResultInfo `json:"result_info" validate:"required"` // success. Success *bool `json:"success" validate:"required"` // errors. Errors []map[string]interface{} `json:"errors" validate:"required"` // messages. Messages []map[string]interface{} `json:"messages" validate:"required"` }
ListCustomCertsResp : custom certificate response.
type ListOriginCertificatesOptions ¶ added in v0.48.0
type ListOriginCertificatesOptions struct { // Full url-encoded cloud resource name (CRN) of resource instance. Crn *string `json:"crn" validate:"required,ne="` // zone identifier. ZoneIdentifier *string `json:"zone_identifier" validate:"required,ne="` // uuid, identify a session. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListOriginCertificatesOptions : The ListOriginCertificates options.
func (*ListOriginCertificatesOptions) SetCrn ¶ added in v0.48.0
func (_options *ListOriginCertificatesOptions) SetCrn(crn string) *ListOriginCertificatesOptions
SetCrn : Allow user to set Crn
func (*ListOriginCertificatesOptions) SetHeaders ¶ added in v0.48.0
func (options *ListOriginCertificatesOptions) SetHeaders(param map[string]string) *ListOriginCertificatesOptions
SetHeaders : Allow user to set Headers
func (*ListOriginCertificatesOptions) SetXCorrelationID ¶ added in v0.48.0
func (_options *ListOriginCertificatesOptions) SetXCorrelationID(xCorrelationID string) *ListOriginCertificatesOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*ListOriginCertificatesOptions) SetZoneIdentifier ¶ added in v0.48.0
func (_options *ListOriginCertificatesOptions) SetZoneIdentifier(zoneIdentifier string) *ListOriginCertificatesOptions
SetZoneIdentifier : Allow user to set ZoneIdentifier
type ListOriginCertificatesResp ¶ added in v0.48.0
type ListOriginCertificatesResp struct { // Container for response information. Result []OriginCertificate `json:"result" validate:"required"` // Statistics of results. ResultInfo *ListOriginCertificatesRespResultInfo `json:"result_info" validate:"required"` // Was operation successful. Success *bool `json:"success" validate:"required"` // Array of errors encountered. Errors [][]string `json:"errors" validate:"required"` // Array of messages returned. Messages [][]string `json:"messages" validate:"required"` }
ListOriginCertificatesResp : response of list origin certificates.
type ListOriginCertificatesRespResultInfo ¶ added in v0.48.0
type ListOriginCertificatesRespResultInfo struct { // Page number. Page *int64 `json:"page" validate:"required"` // Number of results per page. PerPage *int64 `json:"per_page" validate:"required"` // Number of results. Count *int64 `json:"count" validate:"required"` // Total number of results. TotalCount *int64 `json:"total_count" validate:"required"` }
ListOriginCertificatesRespResultInfo : Statistics of results.
type OrderAdvancedCertificateOptions ¶ added in v0.48.0
type OrderAdvancedCertificateOptions struct { // certificate type. Type *string `json:"type,omitempty"` // host name. Hosts []string `json:"hosts,omitempty"` // validation Method selected for the order. ValidationMethod *string `json:"validation_method,omitempty"` // validity Days selected for the order. ValidityDays *int64 `json:"validity_days,omitempty"` // Certificate Authority selected for the order. Selecting Let's Encrypt will reduce customization of other fields: // validation_method must be 'txt', validity_days must be 90, cloudflare_branding must be omitted, and hosts must // contain only 2 entries, one for the zone name and one for the subdomain wildcard of the zone name (e.g. example.com, // *.example.com). CertificateAuthority *string `json:"certificate_authority,omitempty"` // Whether or not to add Cloudflare Branding for the order. This will add sni.cloudflaressl.com as the Common Name if // set true. CloudflareBranding *bool `json:"cloudflare_branding,omitempty"` // uuid, identify a session. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
OrderAdvancedCertificateOptions : The OrderAdvancedCertificate options.
func (*OrderAdvancedCertificateOptions) SetCertificateAuthority ¶ added in v0.48.0
func (_options *OrderAdvancedCertificateOptions) SetCertificateAuthority(certificateAuthority string) *OrderAdvancedCertificateOptions
SetCertificateAuthority : Allow user to set CertificateAuthority
func (*OrderAdvancedCertificateOptions) SetCloudflareBranding ¶ added in v0.48.0
func (_options *OrderAdvancedCertificateOptions) SetCloudflareBranding(cloudflareBranding bool) *OrderAdvancedCertificateOptions
SetCloudflareBranding : Allow user to set CloudflareBranding
func (*OrderAdvancedCertificateOptions) SetHeaders ¶ added in v0.48.0
func (options *OrderAdvancedCertificateOptions) SetHeaders(param map[string]string) *OrderAdvancedCertificateOptions
SetHeaders : Allow user to set Headers
func (*OrderAdvancedCertificateOptions) SetHosts ¶ added in v0.48.0
func (_options *OrderAdvancedCertificateOptions) SetHosts(hosts []string) *OrderAdvancedCertificateOptions
SetHosts : Allow user to set Hosts
func (*OrderAdvancedCertificateOptions) SetType ¶ added in v0.48.0
func (_options *OrderAdvancedCertificateOptions) SetType(typeVar string) *OrderAdvancedCertificateOptions
SetType : Allow user to set Type
func (*OrderAdvancedCertificateOptions) SetValidationMethod ¶ added in v0.48.0
func (_options *OrderAdvancedCertificateOptions) SetValidationMethod(validationMethod string) *OrderAdvancedCertificateOptions
SetValidationMethod : Allow user to set ValidationMethod
func (*OrderAdvancedCertificateOptions) SetValidityDays ¶ added in v0.48.0
func (_options *OrderAdvancedCertificateOptions) SetValidityDays(validityDays int64) *OrderAdvancedCertificateOptions
SetValidityDays : Allow user to set ValidityDays
func (*OrderAdvancedCertificateOptions) SetXCorrelationID ¶ added in v0.48.0
func (_options *OrderAdvancedCertificateOptions) SetXCorrelationID(xCorrelationID string) *OrderAdvancedCertificateOptions
SetXCorrelationID : Allow user to set XCorrelationID
type OrderCertificateOptions ¶
type OrderCertificateOptions struct { // priorities. Type *string `json:"type,omitempty"` // host name. Hosts []string `json:"hosts,omitempty"` // uuid, identify a session. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
OrderCertificateOptions : The OrderCertificate options.
func (*OrderCertificateOptions) SetHeaders ¶
func (options *OrderCertificateOptions) SetHeaders(param map[string]string) *OrderCertificateOptions
SetHeaders : Allow user to set Headers
func (*OrderCertificateOptions) SetHosts ¶
func (_options *OrderCertificateOptions) SetHosts(hosts []string) *OrderCertificateOptions
SetHosts : Allow user to set Hosts
func (*OrderCertificateOptions) SetType ¶
func (_options *OrderCertificateOptions) SetType(typeVar string) *OrderCertificateOptions
SetType : Allow user to set Type
func (*OrderCertificateOptions) SetXCorrelationID ¶
func (_options *OrderCertificateOptions) SetXCorrelationID(xCorrelationID string) *OrderCertificateOptions
SetXCorrelationID : Allow user to set XCorrelationID
type OriginCertificate ¶ added in v0.48.0
type OriginCertificate struct { // ID. ID *string `json:"id" validate:"required"` // a CIS-signed certificatece. Certificate *string `json:"certificate" validate:"required"` // Array of hostnames or wildcard names (e.g., *.example.com) bound to the certificate. Hostnames []string `json:"hostnames" validate:"required"` // The expires date for this certificate. ExpiresOn *string `json:"expires_on" validate:"required"` // Signature type desired on certificate. RequestType *string `json:"request_type" validate:"required"` // The number of days for which the certificate should be valid. RequestedValidity *int64 `json:"requested_validity" validate:"required"` // The Certificate Signing Request (CSR). Csr *string `json:"csr" validate:"required"` // The private key. PrivateKey *string `json:"private_key,omitempty"` }
OriginCertificate : origin certificate.
type OriginCertificateResp ¶ added in v0.48.0
type OriginCertificateResp struct { // origin certificate. Result *OriginCertificate `json:"result" validate:"required"` // Was operation successful. Success *bool `json:"success" validate:"required"` // Array of errors encountered. Errors [][]string `json:"errors" validate:"required"` // Array of messages returned. Messages [][]string `json:"messages" validate:"required"` }
OriginCertificateResp : response of origin certificate.
type PatchCertificateOptions ¶ added in v0.48.0
type PatchCertificateOptions struct { // cedrtificate identifier. CertIdentifier *string `json:"cert_identifier" validate:"required,ne="` // uuid, identify a session. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
PatchCertificateOptions : The PatchCertificate options.
func (*PatchCertificateOptions) SetCertIdentifier ¶ added in v0.48.0
func (_options *PatchCertificateOptions) SetCertIdentifier(certIdentifier string) *PatchCertificateOptions
SetCertIdentifier : Allow user to set CertIdentifier
func (*PatchCertificateOptions) SetHeaders ¶ added in v0.48.0
func (options *PatchCertificateOptions) SetHeaders(param map[string]string) *PatchCertificateOptions
SetHeaders : Allow user to set Headers
func (*PatchCertificateOptions) SetXCorrelationID ¶ added in v0.48.0
func (_options *PatchCertificateOptions) SetXCorrelationID(xCorrelationID string) *PatchCertificateOptions
SetXCorrelationID : Allow user to set XCorrelationID
type ResultInfo ¶
type ResultInfo struct { // page number. Page *int64 `json:"page" validate:"required"` // per page count. PerPage *int64 `json:"per_page" validate:"required"` // total pages. TotalPages *int64 `json:"total_pages" validate:"required"` // count. Count *int64 `json:"count" validate:"required"` // total count. TotalCount *int64 `json:"total_count" validate:"required"` }
ResultInfo : result information.
type RevokeOriginCertificateOptions ¶ added in v0.48.0
type RevokeOriginCertificateOptions struct { // Full url-encoded cloud resource name (CRN) of resource instance. Crn *string `json:"crn" validate:"required,ne="` // zone identifier. ZoneIdentifier *string `json:"zone_identifier" validate:"required,ne="` // cedrtificate identifier. CertIdentifier *string `json:"cert_identifier" validate:"required,ne="` // uuid, identify a session. XCorrelationID *string `json:"X-Correlation-ID,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
RevokeOriginCertificateOptions : The RevokeOriginCertificate options.
func (*RevokeOriginCertificateOptions) SetCertIdentifier ¶ added in v0.48.0
func (_options *RevokeOriginCertificateOptions) SetCertIdentifier(certIdentifier string) *RevokeOriginCertificateOptions
SetCertIdentifier : Allow user to set CertIdentifier
func (*RevokeOriginCertificateOptions) SetCrn ¶ added in v0.48.0
func (_options *RevokeOriginCertificateOptions) SetCrn(crn string) *RevokeOriginCertificateOptions
SetCrn : Allow user to set Crn
func (*RevokeOriginCertificateOptions) SetHeaders ¶ added in v0.48.0
func (options *RevokeOriginCertificateOptions) SetHeaders(param map[string]string) *RevokeOriginCertificateOptions
SetHeaders : Allow user to set Headers
func (*RevokeOriginCertificateOptions) SetXCorrelationID ¶ added in v0.48.0
func (_options *RevokeOriginCertificateOptions) SetXCorrelationID(xCorrelationID string) *RevokeOriginCertificateOptions
SetXCorrelationID : Allow user to set XCorrelationID
func (*RevokeOriginCertificateOptions) SetZoneIdentifier ¶ added in v0.48.0
func (_options *RevokeOriginCertificateOptions) SetZoneIdentifier(zoneIdentifier string) *RevokeOriginCertificateOptions
SetZoneIdentifier : Allow user to set ZoneIdentifier
type RevokeOriginCertificateResp ¶ added in v0.48.0
type RevokeOriginCertificateResp struct { // Was the get successful. Success *bool `json:"success" validate:"required"` // Array of errors encountered. Errors [][]string `json:"errors" validate:"required"` // Array of messages returned. Messages [][]string `json:"messages" validate:"required"` // Container for response information. Result *RevokeOriginCertificateRespResult `json:"result" validate:"required"` }
RevokeOriginCertificateResp : response of revoke origin certificate.
type RevokeOriginCertificateRespResult ¶ added in v0.48.0
type RevokeOriginCertificateRespResult struct { // ID. ID *string `json:"id" validate:"required"` }
RevokeOriginCertificateRespResult : Container for response information.
type SslCertificateApiV1 ¶
type SslCertificateApiV1 struct { Service *core.BaseService // cloud resource name. Crn *string // zone identifier. ZoneIdentifier *string }
SslCertificateApiV1 : SSL Certificate
API Version: 1.0.0
func NewSslCertificateApiV1 ¶
func NewSslCertificateApiV1(options *SslCertificateApiV1Options) (service *SslCertificateApiV1, err error)
NewSslCertificateApiV1 : constructs an instance of SslCertificateApiV1 with passed in options.
func NewSslCertificateApiV1UsingExternalConfig ¶
func NewSslCertificateApiV1UsingExternalConfig(options *SslCertificateApiV1Options) (sslCertificateApi *SslCertificateApiV1, err error)
NewSslCertificateApiV1UsingExternalConfig : constructs an instance of SslCertificateApiV1 with passed in options and external configuration.
func (*SslCertificateApiV1) ChangeCertificatePriority ¶
func (sslCertificateApi *SslCertificateApiV1) ChangeCertificatePriority(changeCertificatePriorityOptions *ChangeCertificatePriorityOptions) (response *core.DetailedResponse, err error)
ChangeCertificatePriority : Set certificate priority For a given zone identifier, set priority of certificates.
func (*SslCertificateApiV1) ChangeCertificatePriorityWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) ChangeCertificatePriorityWithContext(ctx context.Context, changeCertificatePriorityOptions *ChangeCertificatePriorityOptions) (response *core.DetailedResponse, err error)
ChangeCertificatePriorityWithContext is an alternate form of the ChangeCertificatePriority method which supports a Context parameter
func (*SslCertificateApiV1) ChangeSslSetting ¶
func (sslCertificateApi *SslCertificateApiV1) ChangeSslSetting(changeSslSettingOptions *ChangeSslSettingOptions) (result *SslSettingResp, response *core.DetailedResponse, err error)
ChangeSslSetting : Change SSL setting For a given zone identifier, change SSL setting.
func (*SslCertificateApiV1) ChangeSslSettingWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) ChangeSslSettingWithContext(ctx context.Context, changeSslSettingOptions *ChangeSslSettingOptions) (result *SslSettingResp, response *core.DetailedResponse, err error)
ChangeSslSettingWithContext is an alternate form of the ChangeSslSetting method which supports a Context parameter
func (*SslCertificateApiV1) ChangeTls12Setting ¶
func (sslCertificateApi *SslCertificateApiV1) ChangeTls12Setting(changeTls12SettingOptions *ChangeTls12SettingOptions) (result *Tls12SettingResp, response *core.DetailedResponse, err error)
ChangeTls12Setting : Set TLS 1.2 setting For a given zone identifier, set TLS 1.2 setting.
func (*SslCertificateApiV1) ChangeTls12SettingWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) ChangeTls12SettingWithContext(ctx context.Context, changeTls12SettingOptions *ChangeTls12SettingOptions) (result *Tls12SettingResp, response *core.DetailedResponse, err error)
ChangeTls12SettingWithContext is an alternate form of the ChangeTls12Setting method which supports a Context parameter
func (*SslCertificateApiV1) ChangeTls13Setting ¶
func (sslCertificateApi *SslCertificateApiV1) ChangeTls13Setting(changeTls13SettingOptions *ChangeTls13SettingOptions) (result *Tls13SettingResp, response *core.DetailedResponse, err error)
ChangeTls13Setting : Set TLS 1.3 setting For a given zone identifier, set TLS 1.3 setting.
func (*SslCertificateApiV1) ChangeTls13SettingWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) ChangeTls13SettingWithContext(ctx context.Context, changeTls13SettingOptions *ChangeTls13SettingOptions) (result *Tls13SettingResp, response *core.DetailedResponse, err error)
ChangeTls13SettingWithContext is an alternate form of the ChangeTls13Setting method which supports a Context parameter
func (*SslCertificateApiV1) ChangeUniversalCertificateSetting ¶
func (sslCertificateApi *SslCertificateApiV1) ChangeUniversalCertificateSetting(changeUniversalCertificateSettingOptions *ChangeUniversalCertificateSettingOptions) (response *core.DetailedResponse, err error)
ChangeUniversalCertificateSetting : Enable or Disable universal certificate change universal certificate setting.
func (*SslCertificateApiV1) ChangeUniversalCertificateSettingWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) ChangeUniversalCertificateSettingWithContext(ctx context.Context, changeUniversalCertificateSettingOptions *ChangeUniversalCertificateSettingOptions) (response *core.DetailedResponse, err error)
ChangeUniversalCertificateSettingWithContext is an alternate form of the ChangeUniversalCertificateSetting method which supports a Context parameter
func (*SslCertificateApiV1) Clone ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) Clone() *SslCertificateApiV1
Clone makes a copy of "sslCertificateApi" suitable for processing requests.
func (*SslCertificateApiV1) CreateOriginCertificate ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) CreateOriginCertificate(createOriginCertificateOptions *CreateOriginCertificateOptions) (result *OriginCertificateResp, response *core.DetailedResponse, err error)
CreateOriginCertificate : Create a CIS-signed certificate Create a CIS-signed certificate.
func (*SslCertificateApiV1) CreateOriginCertificateWithContext ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) CreateOriginCertificateWithContext(ctx context.Context, createOriginCertificateOptions *CreateOriginCertificateOptions) (result *OriginCertificateResp, response *core.DetailedResponse, err error)
CreateOriginCertificateWithContext is an alternate form of the CreateOriginCertificate method which supports a Context parameter
func (*SslCertificateApiV1) DeleteCertificate ¶
func (sslCertificateApi *SslCertificateApiV1) DeleteCertificate(deleteCertificateOptions *DeleteCertificateOptions) (response *core.DetailedResponse, err error)
DeleteCertificate : Delete a certificate Delete a given certificate. Deprecated, please use Advanced Certificate Pack. Deprecated: this method is deprecated and may be removed in a future release.
func (*SslCertificateApiV1) DeleteCertificateV2 ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) DeleteCertificateV2(deleteCertificateV2Options *DeleteCertificateV2Options) (response *core.DetailedResponse, err error)
DeleteCertificateV2 : Delete a certificate Delete an advanced certificate pack.
func (*SslCertificateApiV1) DeleteCertificateV2WithContext ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) DeleteCertificateV2WithContext(ctx context.Context, deleteCertificateV2Options *DeleteCertificateV2Options) (response *core.DetailedResponse, err error)
DeleteCertificateV2WithContext is an alternate form of the DeleteCertificateV2 method which supports a Context parameter
func (*SslCertificateApiV1) DeleteCertificateWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) DeleteCertificateWithContext(ctx context.Context, deleteCertificateOptions *DeleteCertificateOptions) (response *core.DetailedResponse, err error)
DeleteCertificateWithContext is an alternate form of the DeleteCertificate method which supports a Context parameter Deprecated: this method is deprecated and may be removed in a future release.
func (*SslCertificateApiV1) DeleteCustomCertificate ¶
func (sslCertificateApi *SslCertificateApiV1) DeleteCustomCertificate(deleteCustomCertificateOptions *DeleteCustomCertificateOptions) (response *core.DetailedResponse, err error)
DeleteCustomCertificate : Delete custom certificate For a given zone identifier, delete a custom certificates.
func (*SslCertificateApiV1) DeleteCustomCertificateWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) DeleteCustomCertificateWithContext(ctx context.Context, deleteCustomCertificateOptions *DeleteCustomCertificateOptions) (response *core.DetailedResponse, err error)
DeleteCustomCertificateWithContext is an alternate form of the DeleteCustomCertificate method which supports a Context parameter
func (*SslCertificateApiV1) DisableRetries ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) DisableRetries()
DisableRetries disables automatic retries for requests invoked for this service instance.
func (*SslCertificateApiV1) EnableRetries ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.
func (*SslCertificateApiV1) GetCustomCertificate ¶
func (sslCertificateApi *SslCertificateApiV1) GetCustomCertificate(getCustomCertificateOptions *GetCustomCertificateOptions) (result *CustomCertResp, response *core.DetailedResponse, err error)
GetCustomCertificate : Get custom certificate For a given zone identifier, get a custom certificates.
func (*SslCertificateApiV1) GetCustomCertificateWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) GetCustomCertificateWithContext(ctx context.Context, getCustomCertificateOptions *GetCustomCertificateOptions) (result *CustomCertResp, response *core.DetailedResponse, err error)
GetCustomCertificateWithContext is an alternate form of the GetCustomCertificate method which supports a Context parameter
func (*SslCertificateApiV1) GetEnableGzipCompression ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) GetEnableGzipCompression() bool
GetEnableGzipCompression returns the service's EnableGzipCompression field
func (*SslCertificateApiV1) GetOriginCertificate ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) GetOriginCertificate(getOriginCertificateOptions *GetOriginCertificateOptions) (result *OriginCertificateResp, response *core.DetailedResponse, err error)
GetOriginCertificate : Get an existing Origin certificate Get an existing Origin certificate by its serial number.
func (*SslCertificateApiV1) GetOriginCertificateWithContext ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) GetOriginCertificateWithContext(ctx context.Context, getOriginCertificateOptions *GetOriginCertificateOptions) (result *OriginCertificateResp, response *core.DetailedResponse, err error)
GetOriginCertificateWithContext is an alternate form of the GetOriginCertificate method which supports a Context parameter
func (*SslCertificateApiV1) GetServiceURL ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) GetServiceURL() string
GetServiceURL returns the service URL
func (*SslCertificateApiV1) GetSslSetting ¶
func (sslCertificateApi *SslCertificateApiV1) GetSslSetting(getSslSettingOptions *GetSslSettingOptions) (result *SslSettingResp, response *core.DetailedResponse, err error)
GetSslSetting : Get SSL setting For a given zone identifier, get SSL setting.
func (*SslCertificateApiV1) GetSslSettingWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) GetSslSettingWithContext(ctx context.Context, getSslSettingOptions *GetSslSettingOptions) (result *SslSettingResp, response *core.DetailedResponse, err error)
GetSslSettingWithContext is an alternate form of the GetSslSetting method which supports a Context parameter
func (*SslCertificateApiV1) GetSslVerification ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) GetSslVerification(getSslVerificationOptions *GetSslVerificationOptions) (result *SslVerificationResp, response *core.DetailedResponse, err error)
GetSslVerification : Get SSL Verification Info for a Zone Get SSL Verification Info for a Zone.
func (*SslCertificateApiV1) GetSslVerificationWithContext ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) GetSslVerificationWithContext(ctx context.Context, getSslVerificationOptions *GetSslVerificationOptions) (result *SslVerificationResp, response *core.DetailedResponse, err error)
GetSslVerificationWithContext is an alternate form of the GetSslVerification method which supports a Context parameter
func (*SslCertificateApiV1) GetTls12Setting ¶
func (sslCertificateApi *SslCertificateApiV1) GetTls12Setting(getTls12SettingOptions *GetTls12SettingOptions) (result *Tls12SettingResp, response *core.DetailedResponse, err error)
GetTls12Setting : Get TLS 1.2 only setting For a given zone identifier, get TLS 1.2 only setting.
func (*SslCertificateApiV1) GetTls12SettingWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) GetTls12SettingWithContext(ctx context.Context, getTls12SettingOptions *GetTls12SettingOptions) (result *Tls12SettingResp, response *core.DetailedResponse, err error)
GetTls12SettingWithContext is an alternate form of the GetTls12Setting method which supports a Context parameter
func (*SslCertificateApiV1) GetTls13Setting ¶
func (sslCertificateApi *SslCertificateApiV1) GetTls13Setting(getTls13SettingOptions *GetTls13SettingOptions) (result *Tls13SettingResp, response *core.DetailedResponse, err error)
GetTls13Setting : Get TLS 1.3 setting For a given zone identifier, get TLS 1.3 setting.
func (*SslCertificateApiV1) GetTls13SettingWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) GetTls13SettingWithContext(ctx context.Context, getTls13SettingOptions *GetTls13SettingOptions) (result *Tls13SettingResp, response *core.DetailedResponse, err error)
GetTls13SettingWithContext is an alternate form of the GetTls13Setting method which supports a Context parameter
func (*SslCertificateApiV1) GetUniversalCertificateSetting ¶
func (sslCertificateApi *SslCertificateApiV1) GetUniversalCertificateSetting(getUniversalCertificateSettingOptions *GetUniversalCertificateSettingOptions) (result *UniversalSettingResp, response *core.DetailedResponse, err error)
GetUniversalCertificateSetting : Get details of universal certificate For a given zone identifier, get universal certificate.
func (*SslCertificateApiV1) GetUniversalCertificateSettingWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) GetUniversalCertificateSettingWithContext(ctx context.Context, getUniversalCertificateSettingOptions *GetUniversalCertificateSettingOptions) (result *UniversalSettingResp, response *core.DetailedResponse, err error)
GetUniversalCertificateSettingWithContext is an alternate form of the GetUniversalCertificateSetting method which supports a Context parameter
func (*SslCertificateApiV1) ListCertificates ¶
func (sslCertificateApi *SslCertificateApiV1) ListCertificates(listCertificatesOptions *ListCertificatesOptions) (result *ListCertificateResp, response *core.DetailedResponse, err error)
ListCertificates : List all certificates CIS automatically add an active DNS zone to a universal SSL certificate, shared among multiple customers. Customer may order dedicated certificates for the owning zones. This API list all certificates for a given zone, including shared and dedicated certificates.
func (*SslCertificateApiV1) ListCertificatesWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) ListCertificatesWithContext(ctx context.Context, listCertificatesOptions *ListCertificatesOptions) (result *ListCertificateResp, response *core.DetailedResponse, err error)
ListCertificatesWithContext is an alternate form of the ListCertificates method which supports a Context parameter
func (*SslCertificateApiV1) ListCustomCertificates ¶
func (sslCertificateApi *SslCertificateApiV1) ListCustomCertificates(listCustomCertificatesOptions *ListCustomCertificatesOptions) (result *ListCustomCertsResp, response *core.DetailedResponse, err error)
ListCustomCertificates : List all custom certificates For a given zone identifier, list all custom certificates.
func (*SslCertificateApiV1) ListCustomCertificatesWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) ListCustomCertificatesWithContext(ctx context.Context, listCustomCertificatesOptions *ListCustomCertificatesOptions) (result *ListCustomCertsResp, response *core.DetailedResponse, err error)
ListCustomCertificatesWithContext is an alternate form of the ListCustomCertificates method which supports a Context parameter
func (*SslCertificateApiV1) ListOriginCertificates ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) ListOriginCertificates(listOriginCertificatesOptions *ListOriginCertificatesOptions) (result *ListOriginCertificatesResp, response *core.DetailedResponse, err error)
ListOriginCertificates : List all Origin Certificates List all existing CIS-issued Certificates for a given domain.
func (*SslCertificateApiV1) ListOriginCertificatesWithContext ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) ListOriginCertificatesWithContext(ctx context.Context, listOriginCertificatesOptions *ListOriginCertificatesOptions) (result *ListOriginCertificatesResp, response *core.DetailedResponse, err error)
ListOriginCertificatesWithContext is an alternate form of the ListOriginCertificates method which supports a Context parameter
func (*SslCertificateApiV1) NewCertPriorityReqCertificatesItem ¶
func (*SslCertificateApiV1) NewCertPriorityReqCertificatesItem(id string, priority int64) (_model *CertPriorityReqCertificatesItem, err error)
NewCertPriorityReqCertificatesItem : Instantiate CertPriorityReqCertificatesItem (Generic Model Constructor)
func (*SslCertificateApiV1) NewChangeCertificatePriorityOptions ¶
func (*SslCertificateApiV1) NewChangeCertificatePriorityOptions() *ChangeCertificatePriorityOptions
NewChangeCertificatePriorityOptions : Instantiate ChangeCertificatePriorityOptions
func (*SslCertificateApiV1) NewChangeSslSettingOptions ¶
func (*SslCertificateApiV1) NewChangeSslSettingOptions() *ChangeSslSettingOptions
NewChangeSslSettingOptions : Instantiate ChangeSslSettingOptions
func (*SslCertificateApiV1) NewChangeTls12SettingOptions ¶
func (*SslCertificateApiV1) NewChangeTls12SettingOptions() *ChangeTls12SettingOptions
NewChangeTls12SettingOptions : Instantiate ChangeTls12SettingOptions
func (*SslCertificateApiV1) NewChangeTls13SettingOptions ¶
func (*SslCertificateApiV1) NewChangeTls13SettingOptions() *ChangeTls13SettingOptions
NewChangeTls13SettingOptions : Instantiate ChangeTls13SettingOptions
func (*SslCertificateApiV1) NewChangeUniversalCertificateSettingOptions ¶
func (*SslCertificateApiV1) NewChangeUniversalCertificateSettingOptions() *ChangeUniversalCertificateSettingOptions
NewChangeUniversalCertificateSettingOptions : Instantiate ChangeUniversalCertificateSettingOptions
func (*SslCertificateApiV1) NewCreateOriginCertificateOptions ¶ added in v0.48.0
func (*SslCertificateApiV1) NewCreateOriginCertificateOptions(crn string, zoneIdentifier string) *CreateOriginCertificateOptions
NewCreateOriginCertificateOptions : Instantiate CreateOriginCertificateOptions
func (*SslCertificateApiV1) NewCustomCertReqGeoRestrictions ¶
func (*SslCertificateApiV1) NewCustomCertReqGeoRestrictions(label string) (_model *CustomCertReqGeoRestrictions, err error)
NewCustomCertReqGeoRestrictions : Instantiate CustomCertReqGeoRestrictions (Generic Model Constructor)
func (*SslCertificateApiV1) NewDeleteCertificateOptions ¶
func (*SslCertificateApiV1) NewDeleteCertificateOptions(certIdentifier string) *DeleteCertificateOptions
NewDeleteCertificateOptions : Instantiate DeleteCertificateOptions
func (*SslCertificateApiV1) NewDeleteCertificateV2Options ¶ added in v0.48.0
func (*SslCertificateApiV1) NewDeleteCertificateV2Options(certIdentifier string) *DeleteCertificateV2Options
NewDeleteCertificateV2Options : Instantiate DeleteCertificateV2Options
func (*SslCertificateApiV1) NewDeleteCustomCertificateOptions ¶
func (*SslCertificateApiV1) NewDeleteCustomCertificateOptions(customCertID string) *DeleteCustomCertificateOptions
NewDeleteCustomCertificateOptions : Instantiate DeleteCustomCertificateOptions
func (*SslCertificateApiV1) NewGetCustomCertificateOptions ¶
func (*SslCertificateApiV1) NewGetCustomCertificateOptions(customCertID string) *GetCustomCertificateOptions
NewGetCustomCertificateOptions : Instantiate GetCustomCertificateOptions
func (*SslCertificateApiV1) NewGetOriginCertificateOptions ¶ added in v0.48.0
func (*SslCertificateApiV1) NewGetOriginCertificateOptions(crn string, zoneIdentifier string, certIdentifier string) *GetOriginCertificateOptions
NewGetOriginCertificateOptions : Instantiate GetOriginCertificateOptions
func (*SslCertificateApiV1) NewGetSslSettingOptions ¶
func (*SslCertificateApiV1) NewGetSslSettingOptions() *GetSslSettingOptions
NewGetSslSettingOptions : Instantiate GetSslSettingOptions
func (*SslCertificateApiV1) NewGetSslVerificationOptions ¶ added in v0.48.0
func (*SslCertificateApiV1) NewGetSslVerificationOptions() *GetSslVerificationOptions
NewGetSslVerificationOptions : Instantiate GetSslVerificationOptions
func (*SslCertificateApiV1) NewGetTls12SettingOptions ¶
func (*SslCertificateApiV1) NewGetTls12SettingOptions() *GetTls12SettingOptions
NewGetTls12SettingOptions : Instantiate GetTls12SettingOptions
func (*SslCertificateApiV1) NewGetTls13SettingOptions ¶
func (*SslCertificateApiV1) NewGetTls13SettingOptions() *GetTls13SettingOptions
NewGetTls13SettingOptions : Instantiate GetTls13SettingOptions
func (*SslCertificateApiV1) NewGetUniversalCertificateSettingOptions ¶
func (*SslCertificateApiV1) NewGetUniversalCertificateSettingOptions() *GetUniversalCertificateSettingOptions
NewGetUniversalCertificateSettingOptions : Instantiate GetUniversalCertificateSettingOptions
func (*SslCertificateApiV1) NewListCertificatesOptions ¶
func (*SslCertificateApiV1) NewListCertificatesOptions() *ListCertificatesOptions
NewListCertificatesOptions : Instantiate ListCertificatesOptions
func (*SslCertificateApiV1) NewListCustomCertificatesOptions ¶
func (*SslCertificateApiV1) NewListCustomCertificatesOptions() *ListCustomCertificatesOptions
NewListCustomCertificatesOptions : Instantiate ListCustomCertificatesOptions
func (*SslCertificateApiV1) NewListOriginCertificatesOptions ¶ added in v0.48.0
func (*SslCertificateApiV1) NewListOriginCertificatesOptions(crn string, zoneIdentifier string) *ListOriginCertificatesOptions
NewListOriginCertificatesOptions : Instantiate ListOriginCertificatesOptions
func (*SslCertificateApiV1) NewOrderAdvancedCertificateOptions ¶ added in v0.48.0
func (*SslCertificateApiV1) NewOrderAdvancedCertificateOptions() *OrderAdvancedCertificateOptions
NewOrderAdvancedCertificateOptions : Instantiate OrderAdvancedCertificateOptions
func (*SslCertificateApiV1) NewOrderCertificateOptions ¶
func (*SslCertificateApiV1) NewOrderCertificateOptions() *OrderCertificateOptions
NewOrderCertificateOptions : Instantiate OrderCertificateOptions
func (*SslCertificateApiV1) NewPatchCertificateOptions ¶ added in v0.48.0
func (*SslCertificateApiV1) NewPatchCertificateOptions(certIdentifier string) *PatchCertificateOptions
NewPatchCertificateOptions : Instantiate PatchCertificateOptions
func (*SslCertificateApiV1) NewRevokeOriginCertificateOptions ¶ added in v0.48.0
func (*SslCertificateApiV1) NewRevokeOriginCertificateOptions(crn string, zoneIdentifier string, certIdentifier string) *RevokeOriginCertificateOptions
NewRevokeOriginCertificateOptions : Instantiate RevokeOriginCertificateOptions
func (*SslCertificateApiV1) NewUpdateCustomCertificateOptions ¶
func (*SslCertificateApiV1) NewUpdateCustomCertificateOptions(customCertID string) *UpdateCustomCertificateOptions
NewUpdateCustomCertificateOptions : Instantiate UpdateCustomCertificateOptions
func (*SslCertificateApiV1) NewUploadCustomCertificateOptions ¶
func (*SslCertificateApiV1) NewUploadCustomCertificateOptions() *UploadCustomCertificateOptions
NewUploadCustomCertificateOptions : Instantiate UploadCustomCertificateOptions
func (*SslCertificateApiV1) OrderAdvancedCertificate ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) OrderAdvancedCertificate(orderAdvancedCertificateOptions *OrderAdvancedCertificateOptions) (result *AdvancedCertInitResp, response *core.DetailedResponse, err error)
OrderAdvancedCertificate : Order advanced certificate Order an advanced certificate pack for a given zone. The zone should be active before ordering of an advanced certificate pack.
func (*SslCertificateApiV1) OrderAdvancedCertificateWithContext ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) OrderAdvancedCertificateWithContext(ctx context.Context, orderAdvancedCertificateOptions *OrderAdvancedCertificateOptions) (result *AdvancedCertInitResp, response *core.DetailedResponse, err error)
OrderAdvancedCertificateWithContext is an alternate form of the OrderAdvancedCertificate method which supports a Context parameter
func (*SslCertificateApiV1) OrderCertificate ¶
func (sslCertificateApi *SslCertificateApiV1) OrderCertificate(orderCertificateOptions *OrderCertificateOptions) (result *DedicatedCertificateResp, response *core.DetailedResponse, err error)
OrderCertificate : Order dedicated certificate Order a dedicated certificate for a given zone. The zone should be active before placing an order of a dedicated certificate. Deprecated, please use Advanced Certificate Pack. Deprecated: this method is deprecated and may be removed in a future release.
func (*SslCertificateApiV1) OrderCertificateWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) OrderCertificateWithContext(ctx context.Context, orderCertificateOptions *OrderCertificateOptions) (result *DedicatedCertificateResp, response *core.DetailedResponse, err error)
OrderCertificateWithContext is an alternate form of the OrderCertificate method which supports a Context parameter Deprecated: this method is deprecated and may be removed in a future release.
func (*SslCertificateApiV1) PatchCertificate ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) PatchCertificate(patchCertificateOptions *PatchCertificateOptions) (result *AdvancedCertInitResp, response *core.DetailedResponse, err error)
PatchCertificate : Restart validation for an advanced certificate pack Restart validation for an advanced certificate pack. This is only a validation operation for a Certificate Pack in a validation_timed_out status.
func (*SslCertificateApiV1) PatchCertificateWithContext ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) PatchCertificateWithContext(ctx context.Context, patchCertificateOptions *PatchCertificateOptions) (result *AdvancedCertInitResp, response *core.DetailedResponse, err error)
PatchCertificateWithContext is an alternate form of the PatchCertificate method which supports a Context parameter
func (*SslCertificateApiV1) RevokeOriginCertificate ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) RevokeOriginCertificate(revokeOriginCertificateOptions *RevokeOriginCertificateOptions) (result *RevokeOriginCertificateResp, response *core.DetailedResponse, err error)
RevokeOriginCertificate : Revoke a created Origin Certificate for a domain Revoke a created Origin certificate.
func (*SslCertificateApiV1) RevokeOriginCertificateWithContext ¶ added in v0.48.0
func (sslCertificateApi *SslCertificateApiV1) RevokeOriginCertificateWithContext(ctx context.Context, revokeOriginCertificateOptions *RevokeOriginCertificateOptions) (result *RevokeOriginCertificateResp, response *core.DetailedResponse, err error)
RevokeOriginCertificateWithContext is an alternate form of the RevokeOriginCertificate method which supports a Context parameter
func (*SslCertificateApiV1) SetDefaultHeaders ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) SetDefaultHeaders(headers http.Header)
SetDefaultHeaders sets HTTP headers to be sent in every request
func (*SslCertificateApiV1) SetEnableGzipCompression ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) SetEnableGzipCompression(enableGzip bool)
SetEnableGzipCompression sets the service's EnableGzipCompression field
func (*SslCertificateApiV1) SetServiceURL ¶
func (sslCertificateApi *SslCertificateApiV1) SetServiceURL(url string) error
SetServiceURL sets the service URL
func (*SslCertificateApiV1) UpdateCustomCertificate ¶
func (sslCertificateApi *SslCertificateApiV1) UpdateCustomCertificate(updateCustomCertificateOptions *UpdateCustomCertificateOptions) (result *CustomCertResp, response *core.DetailedResponse, err error)
UpdateCustomCertificate : Update custom certificate For a given zone identifier, update a custom certificates.
func (*SslCertificateApiV1) UpdateCustomCertificateWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) UpdateCustomCertificateWithContext(ctx context.Context, updateCustomCertificateOptions *UpdateCustomCertificateOptions) (result *CustomCertResp, response *core.DetailedResponse, err error)
UpdateCustomCertificateWithContext is an alternate form of the UpdateCustomCertificate method which supports a Context parameter
func (*SslCertificateApiV1) UploadCustomCertificate ¶
func (sslCertificateApi *SslCertificateApiV1) UploadCustomCertificate(uploadCustomCertificateOptions *UploadCustomCertificateOptions) (result *CustomCertResp, response *core.DetailedResponse, err error)
UploadCustomCertificate : Upload a custom certificate For a given zone identifier, upload a custom certificates.
func (*SslCertificateApiV1) UploadCustomCertificateWithContext ¶ added in v0.12.1
func (sslCertificateApi *SslCertificateApiV1) UploadCustomCertificateWithContext(ctx context.Context, uploadCustomCertificateOptions *UploadCustomCertificateOptions) (result *CustomCertResp, response *core.DetailedResponse, err error)
UploadCustomCertificateWithContext is an alternate form of the UploadCustomCertificate method which supports a Context parameter
type SslCertificateApiV1Options ¶
type SslCertificateApiV1Options struct { ServiceName string URL string Authenticator core.Authenticator // cloud resource name. Crn *string `validate:"required"` // zone identifier. ZoneIdentifier *string `validate:"required"` }
SslCertificateApiV1Options : Service options
type SslSetting ¶
type SslSetting struct { // identifier. ID *string `json:"id" validate:"required"` // value. Value *string `json:"value" validate:"required"` // editable. Editable *bool `json:"editable" validate:"required"` // modified date. ModifiedOn *string `json:"modified_on" validate:"required"` }
SslSetting : ssl setting.
type SslSettingResp ¶
type SslSettingResp struct { // success. Success *bool `json:"success" validate:"required"` // ssl setting. Result *SslSetting `json:"result" validate:"required"` // errors. Errors []map[string]interface{} `json:"errors" validate:"required"` // messages. Messages []map[string]interface{} `json:"messages" validate:"required"` }
SslSettingResp : ssl setting response.
type SslVerificationInfo ¶ added in v0.48.0
type SslVerificationInfo struct { // current status of certificate. CertificateStatus *string `json:"certificate_status,omitempty"` // validation method in use for a certificate pack order. ValidationMethod *string `json:"validation_method,omitempty"` // method of certificate verification. VerificationType *string `json:"verification_type,omitempty"` // certificate pack identifier. CertPackUUID *string `json:"cert_pack_uuid,omitempty"` // status of the required verification information. VerificationStatus *bool `json:"verification_status,omitempty"` // certificate's required verification information. VerificationInfo *SslVerificationInfoVerificationInfo `json:"verification_info,omitempty"` // Wether or not Certificate Authority is manually reviewing the order. BrandCheck *bool `json:"brand_check,omitempty"` }
SslVerificationInfo : ssl verification details.
type SslVerificationInfoVerificationInfo ¶ added in v0.48.0
type SslVerificationInfoVerificationInfo struct { // name of CNAME record. RecordName *string `json:"record_name,omitempty"` // target of CNAME record. RecordTarget *string `json:"record_target,omitempty"` }
SslVerificationInfoVerificationInfo : certificate's required verification information.
type SslVerificationResp ¶ added in v0.48.0
type SslVerificationResp struct { // ssl verification result. Result []SslVerificationInfo `json:"result" validate:"required"` // success. Success *bool `json:"success" validate:"required"` // errors. Errors []map[string]interface{} `json:"errors" validate:"required"` // messages. Messages []map[string]interface{} `json:"messages" validate:"required"` }
SslVerificationResp : ssl verification response.
type Tls12SettingResp ¶
type Tls12SettingResp struct { // result. Result *Tls12SettingRespResult `json:"result" validate:"required"` // success. Success *bool `json:"success" validate:"required"` // errors. Errors []map[string]interface{} `json:"errors" validate:"required"` // messages. Messages []map[string]interface{} `json:"messages" validate:"required"` }
Tls12SettingResp : tls 1.2 setting response.
type Tls12SettingRespResult ¶
type Tls12SettingRespResult struct { // identifier. ID *string `json:"id" validate:"required"` // value. Value *string `json:"value" validate:"required"` // editable. Editable *bool `json:"editable" validate:"required"` // modified date. ModifiedOn *strfmt.DateTime `json:"modified_on" validate:"required"` }
Tls12SettingRespResult : result.
type Tls13SettingResp ¶
type Tls13SettingResp struct { // result. Result *Tls13SettingRespResult `json:"result" validate:"required"` // success. Success *bool `json:"success" validate:"required"` // errors. Errors []map[string]interface{} `json:"errors" validate:"required"` // messages. Messages []map[string]interface{} `json:"messages" validate:"required"` }
Tls13SettingResp : tls 1.3 setting response.
type Tls13SettingRespResult ¶
type Tls13SettingRespResult struct { // identifier. ID *string `json:"id" validate:"required"` // value. Value *string `json:"value" validate:"required"` // editable. Editable *bool `json:"editable" validate:"required"` // modified date. ModifiedOn *strfmt.DateTime `json:"modified_on" validate:"required"` }
Tls13SettingRespResult : result.
type UniversalSettingResp ¶
type UniversalSettingResp struct { // result. Result *UniversalSettingRespResult `json:"result" validate:"required"` // success. Success *bool `json:"success" validate:"required"` // errors. Errors []map[string]interface{} `json:"errors" validate:"required"` // messages. Messages []map[string]interface{} `json:"messages" validate:"required"` }
UniversalSettingResp : universal setting response.
type UniversalSettingRespResult ¶
type UniversalSettingRespResult struct { // enabled. Enabled *bool `json:"enabled" validate:"required"` }
UniversalSettingRespResult : result.
type UpdateCustomCertificateOptions ¶
type UpdateCustomCertificateOptions struct { // custom certificate id. CustomCertID *string `json:"custom_cert_id" validate:"required,ne="` // certificates. Certificate *string `json:"certificate,omitempty"` // private key. PrivateKey *string `json:"private_key,omitempty"` // Methods shown in UI mapping to API: Compatible(ubiquitous), Modern(optimal), User Defined(force). BundleMethod *string `json:"bundle_method,omitempty"` // geo restrictions. GeoRestrictions *CustomCertReqGeoRestrictions `json:"geo_restrictions,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UpdateCustomCertificateOptions : The UpdateCustomCertificate options.
func (*UpdateCustomCertificateOptions) SetBundleMethod ¶
func (_options *UpdateCustomCertificateOptions) SetBundleMethod(bundleMethod string) *UpdateCustomCertificateOptions
SetBundleMethod : Allow user to set BundleMethod
func (*UpdateCustomCertificateOptions) SetCertificate ¶
func (_options *UpdateCustomCertificateOptions) SetCertificate(certificate string) *UpdateCustomCertificateOptions
SetCertificate : Allow user to set Certificate
func (*UpdateCustomCertificateOptions) SetCustomCertID ¶
func (_options *UpdateCustomCertificateOptions) SetCustomCertID(customCertID string) *UpdateCustomCertificateOptions
SetCustomCertID : Allow user to set CustomCertID
func (*UpdateCustomCertificateOptions) SetGeoRestrictions ¶
func (_options *UpdateCustomCertificateOptions) SetGeoRestrictions(geoRestrictions *CustomCertReqGeoRestrictions) *UpdateCustomCertificateOptions
SetGeoRestrictions : Allow user to set GeoRestrictions
func (*UpdateCustomCertificateOptions) SetHeaders ¶
func (options *UpdateCustomCertificateOptions) SetHeaders(param map[string]string) *UpdateCustomCertificateOptions
SetHeaders : Allow user to set Headers
func (*UpdateCustomCertificateOptions) SetPrivateKey ¶
func (_options *UpdateCustomCertificateOptions) SetPrivateKey(privateKey string) *UpdateCustomCertificateOptions
SetPrivateKey : Allow user to set PrivateKey
type UploadCustomCertificateOptions ¶
type UploadCustomCertificateOptions struct { // certificates. Certificate *string `json:"certificate,omitempty"` // private key. PrivateKey *string `json:"private_key,omitempty"` // Methods shown in UI mapping to API: Compatible(ubiquitous), Modern(optimal), User Defined(force). BundleMethod *string `json:"bundle_method,omitempty"` // geo restrictions. GeoRestrictions *CustomCertReqGeoRestrictions `json:"geo_restrictions,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
UploadCustomCertificateOptions : The UploadCustomCertificate options.
func (*UploadCustomCertificateOptions) SetBundleMethod ¶
func (_options *UploadCustomCertificateOptions) SetBundleMethod(bundleMethod string) *UploadCustomCertificateOptions
SetBundleMethod : Allow user to set BundleMethod
func (*UploadCustomCertificateOptions) SetCertificate ¶
func (_options *UploadCustomCertificateOptions) SetCertificate(certificate string) *UploadCustomCertificateOptions
SetCertificate : Allow user to set Certificate
func (*UploadCustomCertificateOptions) SetGeoRestrictions ¶
func (_options *UploadCustomCertificateOptions) SetGeoRestrictions(geoRestrictions *CustomCertReqGeoRestrictions) *UploadCustomCertificateOptions
SetGeoRestrictions : Allow user to set GeoRestrictions
func (*UploadCustomCertificateOptions) SetHeaders ¶
func (options *UploadCustomCertificateOptions) SetHeaders(param map[string]string) *UploadCustomCertificateOptions
SetHeaders : Allow user to set Headers
func (*UploadCustomCertificateOptions) SetPrivateKey ¶
func (_options *UploadCustomCertificateOptions) SetPrivateKey(privateKey string) *UploadCustomCertificateOptions
SetPrivateKey : Allow user to set PrivateKey