Class: TencentCloud::Gaap::V20180529::CreateCertificateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gaap::V20180529::CreateCertificateRequest
- Defined in:
- lib/v20180529/models.rb
Overview
CreateCertificate请求参数结构体
Instance Attribute Summary collapse
-
#CertificateAlias ⇒ Object
0,表示基础认证配置; 1,表示客户端CA证书; 2,服务器SSL证书; 3,表示源站CA证书; 4,表示通道SSL证书。 当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。 当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。.
-
#CertificateContent ⇒ Object
0,表示基础认证配置; 1,表示客户端CA证书; 2,服务器SSL证书; 3,表示源站CA证书; 4,表示通道SSL证书。 当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。 当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。.
-
#CertificateKey ⇒ Object
0,表示基础认证配置; 1,表示客户端CA证书; 2,服务器SSL证书; 3,表示源站CA证书; 4,表示通道SSL证书。 当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。 当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。.
-
#CertificateType ⇒ Object
0,表示基础认证配置; 1,表示客户端CA证书; 2,服务器SSL证书; 3,表示源站CA证书; 4,表示通道SSL证书。 当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。 当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(certificatetype = nil, certificatecontent = nil, certificatealias = nil, certificatekey = nil) ⇒ CreateCertificateRequest
constructor
A new instance of CreateCertificateRequest.
Constructor Details
#initialize(certificatetype = nil, certificatecontent = nil, certificatealias = nil, certificatekey = nil) ⇒ CreateCertificateRequest
Returns a new instance of CreateCertificateRequest.
783 784 785 786 787 788 |
# File 'lib/v20180529/models.rb', line 783 def initialize(certificatetype=nil, certificatecontent=nil, certificatealias=nil, certificatekey=nil) @CertificateType = certificatetype @CertificateContent = certificatecontent @CertificateAlias = certificatealias @CertificateKey = certificatekey end |
Instance Attribute Details
#CertificateAlias ⇒ Object
0,表示基础认证配置;1,表示客户端CA证书;2,服务器SSL证书;3,表示源站CA证书;4,表示通道SSL证书。当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。
781 782 783 |
# File 'lib/v20180529/models.rb', line 781 def CertificateAlias @CertificateAlias end |
#CertificateContent ⇒ Object
0,表示基础认证配置;1,表示客户端CA证书;2,服务器SSL证书;3,表示源站CA证书;4,表示通道SSL证书。当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。
781 782 783 |
# File 'lib/v20180529/models.rb', line 781 def CertificateContent @CertificateContent end |
#CertificateKey ⇒ Object
0,表示基础认证配置;1,表示客户端CA证书;2,服务器SSL证书;3,表示源站CA证书;4,表示通道SSL证书。当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。
781 782 783 |
# File 'lib/v20180529/models.rb', line 781 def CertificateKey @CertificateKey end |
#CertificateType ⇒ Object
0,表示基础认证配置;1,表示客户端CA证书;2,服务器SSL证书;3,表示源站CA证书;4,表示通道SSL证书。当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。
781 782 783 |
# File 'lib/v20180529/models.rb', line 781 def CertificateType @CertificateType end |
Instance Method Details
#deserialize(params) ⇒ Object
790 791 792 793 794 795 |
# File 'lib/v20180529/models.rb', line 790 def deserialize(params) @CertificateType = params['CertificateType'] @CertificateContent = params['CertificateContent'] @CertificateAlias = params['CertificateAlias'] @CertificateKey = params['CertificateKey'] end |