Documentation ¶
Overview ¶
Package sslcertificateapiv1 : Operations and models for the SslCertificateApiV1 service
Index ¶
- Constants
- 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 UnmarshalListCertificateResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalListCustomCertsResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResultInfo(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 UnmarshalTls12SettingResp(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTls12SettingRespMessagesItem(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 CertPriorityReqCertificatesItem
- type Certificate
- type ChangeCertificatePriorityOptions
- type ChangeSslSettingOptions
- type ChangeTls12SettingOptions
- type ChangeTls13SettingOptions
- type ChangeUniversalCertificateSettingOptions
- type CustomCertPack
- type CustomCertReqGeoRestrictions
- type CustomCertResp
- type DedicatedCertificatePack
- 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 DeleteCustomCertificateOptions
- type GetCustomCertificateOptions
- type GetSslSettingOptions
- type GetTls12SettingOptions
- type GetTls13SettingOptions
- type GetUniversalCertificateSettingOptions
- type ListCertificateResp
- type ListCertificatesOptions
- type ListCustomCertificatesOptions
- type ListCustomCertsResp
- 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 ResultInfo
- type SslCertificateApiV1
- func (sslCertificateApi *SslCertificateApiV1) ChangeCertificatePriority(changeCertificatePriorityOptions *ChangeCertificatePriorityOptions) (response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ChangeSslSetting(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) ChangeTls13Setting(changeTls13SettingOptions *ChangeTls13SettingOptions) (result *Tls13SettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ChangeUniversalCertificateSetting(...) (response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) DeleteCertificate(deleteCertificateOptions *DeleteCertificateOptions) (response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) DeleteCustomCertificate(deleteCustomCertificateOptions *DeleteCustomCertificateOptions) (response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetCustomCertificate(getCustomCertificateOptions *GetCustomCertificateOptions) (result *CustomCertResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetSslSetting(getSslSettingOptions *GetSslSettingOptions) (result *SslSettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) GetTls12Setting(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) GetUniversalCertificateSetting(getUniversalCertificateSettingOptions *GetUniversalCertificateSettingOptions) (result *UniversalSettingResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ListCertificates(listCertificatesOptions *ListCertificatesOptions) (result *ListCertificateResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) ListCustomCertificates(listCustomCertificatesOptions *ListCustomCertificatesOptions) (result *ListCustomCertsResp, 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) NewCustomCertReqGeoRestrictions(label string) (model *CustomCertReqGeoRestrictions, err error)
- func (*SslCertificateApiV1) NewDeleteCertificateOptions(certIdentifier string) *DeleteCertificateOptions
- func (*SslCertificateApiV1) NewDeleteCustomCertificateOptions(customCertID string) *DeleteCustomCertificateOptions
- func (*SslCertificateApiV1) NewGetCustomCertificateOptions(customCertID string) *GetCustomCertificateOptions
- func (*SslCertificateApiV1) NewGetSslSettingOptions() *GetSslSettingOptions
- func (*SslCertificateApiV1) NewGetTls12SettingOptions() *GetTls12SettingOptions
- func (*SslCertificateApiV1) NewGetTls13SettingOptions() *GetTls13SettingOptions
- func (*SslCertificateApiV1) NewGetUniversalCertificateSettingOptions() *GetUniversalCertificateSettingOptions
- func (*SslCertificateApiV1) NewListCertificatesOptions() *ListCertificatesOptions
- func (*SslCertificateApiV1) NewListCustomCertificatesOptions() *ListCustomCertificatesOptions
- func (*SslCertificateApiV1) NewOrderCertificateOptions() *OrderCertificateOptions
- func (*SslCertificateApiV1) NewUpdateCustomCertificateOptions(customCertID string) *UpdateCustomCertificateOptions
- func (*SslCertificateApiV1) NewUploadCustomCertificateOptions() *UploadCustomCertificateOptions
- func (sslCertificateApi *SslCertificateApiV1) OrderCertificate(orderCertificateOptions *OrderCertificateOptions) (result *DedicatedCertificatePack, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) SetServiceURL(url string) error
- func (sslCertificateApi *SslCertificateApiV1) UpdateCustomCertificate(updateCustomCertificateOptions *UpdateCustomCertificateOptions) (result *CustomCertResp, response *core.DetailedResponse, err error)
- func (sslCertificateApi *SslCertificateApiV1) UploadCustomCertificate(uploadCustomCertificateOptions *UploadCustomCertificateOptions) (result *CustomCertResp, response *core.DetailedResponse, err error)
- type SslCertificateApiV1Options
- type SslSetting
- type SslSettingResp
- type Tls12SettingResp
- type Tls12SettingRespMessagesItem
- 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 ( CustomCertReqGeoRestrictions_Label_Eu = "eu" CustomCertReqGeoRestrictions_Label_HighestSecurity = "highest_security" CustomCertReqGeoRestrictions_Label_Us = "us" )
Constants associated with the CustomCertReqGeoRestrictions.Label property. properties.
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 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 (
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 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 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 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 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 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 UnmarshalTls12SettingRespMessagesItem ¶
func UnmarshalTls12SettingRespMessagesItem(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTls12SettingRespMessagesItem unmarshals an instance of Tls12SettingRespMessagesItem 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 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 *int64 `json:"id" validate:"required"` // host name. Hosts []string `json:"hosts" validate:"required"` // status. Status *string `json:"status" validate:"required"` }
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 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 [][]string `json:"errors" validate:"required"` // messages. Messages []Tls12SettingRespMessagesItem `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 *int64 `json:"primary_certificate" validate:"required"` // status. Status *string `json:"status" validate:"required"` }
DedicatedCertificatePack : dedicated certificate packs.
type DeleteCertificateOptions ¶
type DeleteCertificateOptions struct { // cedrtificate identifier. CertIdentifier *string `json:"cert_identifier" validate:"required"` // 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 DeleteCustomCertificateOptions ¶
type DeleteCustomCertificateOptions struct { // custom certificate id. CustomCertID *string `json:"custom_cert_id" validate:"required"` // 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"` // 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 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 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 [][]string `json:"errors" validate:"required"` // messages. Messages []Tls12SettingRespMessagesItem `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 [][]string `json:"errors" validate:"required"` // messages. Messages []Tls12SettingRespMessagesItem `json:"messages" validate:"required"` }
ListCustomCertsResp : custom certificate response.
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 ResultInfo ¶
type ResultInfo struct { // page number. Page *int64 `json:"page" validate:"required"` // per page count. PerPage *int64 `json:"per_page" validate:"required"` // count. Count *int64 `json:"count" validate:"required"` // total count. TotalCount *int64 `json:"total_count" validate:"required"` }
ResultInfo : result information.
type SslCertificateApiV1 ¶
type SslCertificateApiV1 struct { Service *core.BaseService // cloud resource name. Crn *string // zone identifier. ZoneIdentifier *string }
SslCertificateApiV1 : SSL Certificate
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) 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) 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) 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) ChangeUniversalCertificateSetting ¶
func (sslCertificateApi *SslCertificateApiV1) ChangeUniversalCertificateSetting(changeUniversalCertificateSettingOptions *ChangeUniversalCertificateSettingOptions) (response *core.DetailedResponse, err error)
ChangeUniversalCertificateSetting : Enable or Disable universal certificate change universal certificate setting.
func (*SslCertificateApiV1) DeleteCertificate ¶
func (sslCertificateApi *SslCertificateApiV1) DeleteCertificate(deleteCertificateOptions *DeleteCertificateOptions) (response *core.DetailedResponse, err error)
DeleteCertificate : Delete a certificate Delete a given certificate.
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) 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) 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) 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) 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) 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) 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) 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) 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) 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) NewDeleteCustomCertificateOptions ¶
func (*SslCertificateApiV1) NewDeleteCustomCertificateOptions(customCertID string) *DeleteCustomCertificateOptions
NewDeleteCustomCertificateOptions : Instantiate DeleteCustomCertificateOptions
func (*SslCertificateApiV1) NewGetCustomCertificateOptions ¶
func (*SslCertificateApiV1) NewGetCustomCertificateOptions(customCertID string) *GetCustomCertificateOptions
NewGetCustomCertificateOptions : Instantiate GetCustomCertificateOptions
func (*SslCertificateApiV1) NewGetSslSettingOptions ¶
func (*SslCertificateApiV1) NewGetSslSettingOptions() *GetSslSettingOptions
NewGetSslSettingOptions : Instantiate GetSslSettingOptions
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) NewOrderCertificateOptions ¶
func (*SslCertificateApiV1) NewOrderCertificateOptions() *OrderCertificateOptions
NewOrderCertificateOptions : Instantiate OrderCertificateOptions
func (*SslCertificateApiV1) NewUpdateCustomCertificateOptions ¶
func (*SslCertificateApiV1) NewUpdateCustomCertificateOptions(customCertID string) *UpdateCustomCertificateOptions
NewUpdateCustomCertificateOptions : Instantiate UpdateCustomCertificateOptions
func (*SslCertificateApiV1) NewUploadCustomCertificateOptions ¶
func (*SslCertificateApiV1) NewUploadCustomCertificateOptions() *UploadCustomCertificateOptions
NewUploadCustomCertificateOptions : Instantiate UploadCustomCertificateOptions
func (*SslCertificateApiV1) OrderCertificate ¶
func (sslCertificateApi *SslCertificateApiV1) OrderCertificate(orderCertificateOptions *OrderCertificateOptions) (result *DedicatedCertificatePack, 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.
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) 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.
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 [][]string `json:"errors" validate:"required"` // messages. Messages []Tls12SettingRespMessagesItem `json:"messages" validate:"required"` }
SslSettingResp : ssl setting response.
type Tls12SettingResp ¶
type Tls12SettingResp struct { // result. Result *Tls12SettingRespResult `json:"result" validate:"required"` // success. Success *bool `json:"success" validate:"required"` // errors. Errors [][]string `json:"errors" validate:"required"` // messages. Messages []Tls12SettingRespMessagesItem `json:"messages" validate:"required"` }
Tls12SettingResp : tls 1.2 setting response.
type Tls12SettingRespMessagesItem ¶
type Tls12SettingRespMessagesItem struct { // status. Status *string `json:"status,omitempty"` }
Tls12SettingRespMessagesItem : Tls12SettingRespMessagesItem struct
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 [][]string `json:"errors" validate:"required"` // messages. Messages []Tls12SettingRespMessagesItem `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 [][]string `json:"errors" validate:"required"` // messages. Messages []Tls12SettingRespMessagesItem `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"` // 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