Class: TencentCloud::Sqlserver::V20180328::TDEConfigAttribute

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

Overview

TDE透明数据加密配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(encryption = nil, certificateattribution = nil, quoteuin = nil, cmkid = nil, cmkregion = nil) ⇒ TDEConfigAttribute

Returns a new instance of TDEConfigAttribute.



11724
11725
11726
11727
11728
11729
11730
# File 'lib/v20180328/models.rb', line 11724

def initialize(encryption=nil, certificateattribution=nil, quoteuin=nil, cmkid=nil, cmkregion=nil)
  @Encryption = encryption
  @CertificateAttribution = certificateattribution
  @QuoteUin = quoteuin
  @CMKId = cmkid
  @CMKRegion = cmkregion
end

Instance Attribute Details

#CertificateAttributionObject

Parameters:

  • Encryption:

    是否已开通TDE加密,enable-已开通,disable-未开通

  • CertificateAttribution:

    证书归属。self-表示使用该账号自身的证书,others-表示引用其他账号的证书,none-表示没有证书

  • QuoteUin:

    开通TDE加密时引用的其他主账号ID

  • CMKId:

    KMS中购买的用户主密钥ID(CMK)

  • CMKRegion:

    CMK所属的地域,不同地域的CMK不互通



11722
11723
11724
# File 'lib/v20180328/models.rb', line 11722

def CertificateAttribution
  @CertificateAttribution
end

#CMKIdObject

Parameters:

  • Encryption:

    是否已开通TDE加密,enable-已开通,disable-未开通

  • CertificateAttribution:

    证书归属。self-表示使用该账号自身的证书,others-表示引用其他账号的证书,none-表示没有证书

  • QuoteUin:

    开通TDE加密时引用的其他主账号ID

  • CMKId:

    KMS中购买的用户主密钥ID(CMK)

  • CMKRegion:

    CMK所属的地域,不同地域的CMK不互通



11722
11723
11724
# File 'lib/v20180328/models.rb', line 11722

def CMKId
  @CMKId
end

#CMKRegionObject

Parameters:

  • Encryption:

    是否已开通TDE加密,enable-已开通,disable-未开通

  • CertificateAttribution:

    证书归属。self-表示使用该账号自身的证书,others-表示引用其他账号的证书,none-表示没有证书

  • QuoteUin:

    开通TDE加密时引用的其他主账号ID

  • CMKId:

    KMS中购买的用户主密钥ID(CMK)

  • CMKRegion:

    CMK所属的地域,不同地域的CMK不互通



11722
11723
11724
# File 'lib/v20180328/models.rb', line 11722

def CMKRegion
  @CMKRegion
end

#EncryptionObject

Parameters:

  • Encryption:

    是否已开通TDE加密,enable-已开通,disable-未开通

  • CertificateAttribution:

    证书归属。self-表示使用该账号自身的证书,others-表示引用其他账号的证书,none-表示没有证书

  • QuoteUin:

    开通TDE加密时引用的其他主账号ID

  • CMKId:

    KMS中购买的用户主密钥ID(CMK)

  • CMKRegion:

    CMK所属的地域,不同地域的CMK不互通



11722
11723
11724
# File 'lib/v20180328/models.rb', line 11722

def Encryption
  @Encryption
end

#QuoteUinObject

Parameters:

  • Encryption:

    是否已开通TDE加密,enable-已开通,disable-未开通

  • CertificateAttribution:

    证书归属。self-表示使用该账号自身的证书,others-表示引用其他账号的证书,none-表示没有证书

  • QuoteUin:

    开通TDE加密时引用的其他主账号ID

  • CMKId:

    KMS中购买的用户主密钥ID(CMK)

  • CMKRegion:

    CMK所属的地域,不同地域的CMK不互通



11722
11723
11724
# File 'lib/v20180328/models.rb', line 11722

def QuoteUin
  @QuoteUin
end

Instance Method Details

#deserialize(params) ⇒ Object



11732
11733
11734
11735
11736
11737
11738
# File 'lib/v20180328/models.rb', line 11732

def deserialize(params)
  @Encryption = params['Encryption']
  @CertificateAttribution = params['CertificateAttribution']
  @QuoteUin = params['QuoteUin']
  @CMKId = params['CMKId']
  @CMKRegion = params['CMKRegion']
end