Class: TencentCloud::Tcm::V20210413::SmartDNSConfig

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

Overview

智能DNS配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(istiometadnscapture = nil, istiometadnsautoallocate = nil) ⇒ SmartDNSConfig

Returns a new instance of SmartDNSConfig.



1998
1999
2000
2001
# File 'lib/v20210413/models.rb', line 1998

def initialize(istiometadnscapture=nil, istiometadnsautoallocate=nil)
  @IstioMetaDNSCapture = istiometadnscapture
  @IstioMetaDNSAutoAllocate = istiometadnsautoallocate
end

Instance Attribute Details

#IstioMetaDNSAutoAllocateObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • IstioMetaDNSCapture:

    开启DNS代理

  • IstioMetaDNSAutoAllocate:

    开启自动地址分配



1996
1997
1998
# File 'lib/v20210413/models.rb', line 1996

def IstioMetaDNSAutoAllocate
  @IstioMetaDNSAutoAllocate
end

#IstioMetaDNSCaptureObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • IstioMetaDNSCapture:

    开启DNS代理

  • IstioMetaDNSAutoAllocate:

    开启自动地址分配



1996
1997
1998
# File 'lib/v20210413/models.rb', line 1996

def IstioMetaDNSCapture
  @IstioMetaDNSCapture
end

Instance Method Details

#deserialize(params) ⇒ Object



2003
2004
2005
2006
# File 'lib/v20210413/models.rb', line 2003

def deserialize(params)
  @IstioMetaDNSCapture = params['IstioMetaDNSCapture']
  @IstioMetaDNSAutoAllocate = params['IstioMetaDNSAutoAllocate']
end