Class: TencentCloud::Tem::V20210701::IngressTls

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210701/models.rb

Overview

ingress tls 配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hosts = nil, secretname = nil, certificateid = nil) ⇒ IngressTls

Returns a new instance of IngressTls.



3168
3169
3170
3171
3172
# File 'lib/v20210701/models.rb', line 3168

def initialize(hosts=nil, secretname=nil, certificateid=nil)
  @Hosts = hosts
  @SecretName = secretname
  @CertificateId = certificateid
end

Instance Attribute Details

#CertificateIdObject

Parameters:

  • Hosts:

    host 数组, 空数组表示全部域名的默认证书

  • SecretName:

    secret name,如使用证书,则填空字符串

  • CertificateId:

    SSL Certificate Id



3166
3167
3168
# File 'lib/v20210701/models.rb', line 3166

def CertificateId
  @CertificateId
end

#HostsObject

Parameters:

  • Hosts:

    host 数组, 空数组表示全部域名的默认证书

  • SecretName:

    secret name,如使用证书,则填空字符串

  • CertificateId:

    SSL Certificate Id



3166
3167
3168
# File 'lib/v20210701/models.rb', line 3166

def Hosts
  @Hosts
end

#SecretNameObject

Parameters:

  • Hosts:

    host 数组, 空数组表示全部域名的默认证书

  • SecretName:

    secret name,如使用证书,则填空字符串

  • CertificateId:

    SSL Certificate Id



3166
3167
3168
# File 'lib/v20210701/models.rb', line 3166

def SecretName
  @SecretName
end

Instance Method Details

#deserialize(params) ⇒ Object



3174
3175
3176
3177
3178
# File 'lib/v20210701/models.rb', line 3174

def deserialize(params)
  @Hosts = params['Hosts']
  @SecretName = params['SecretName']
  @CertificateId = params['CertificateId']
end