Class: TencentCloud::Sslpod::V20190605::CreateDomainRequest

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

Overview

CreateDomain请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(servertype = nil, domain = nil, port = nil, ip = nil, notice = nil, tags = nil) ⇒ CreateDomainRequest

Returns a new instance of CreateDomainRequest.



141
142
143
144
145
146
147
148
# File 'lib/v20190605/models.rb', line 141

def initialize(servertype=nil, domain=nil, port=nil, ip=nil, notice=nil, tags=nil)
  @ServerType = servertype
  @Domain = domain
  @Port = port
  @IP = ip
  @Notice = notice
  @Tags = tags
end

Instance Attribute Details

#DomainObject

Parameters:

  • ServerType:

    监控的服务器类型(0:web,1:smtp,2:imap,3:pops)

  • Domain:

    添加的域名

  • Port:

    添加的端口

  • IP:

    指定域名的IP

  • Notice:

    是否开启通知告警;true:开启通知告警,false:关闭通知告警

  • Tags:

    给域名添加标签,多个以逗号隔开



139
140
141
# File 'lib/v20190605/models.rb', line 139

def Domain
  @Domain
end

#IPObject

Parameters:

  • ServerType:

    监控的服务器类型(0:web,1:smtp,2:imap,3:pops)

  • Domain:

    添加的域名

  • Port:

    添加的端口

  • IP:

    指定域名的IP

  • Notice:

    是否开启通知告警;true:开启通知告警,false:关闭通知告警

  • Tags:

    给域名添加标签,多个以逗号隔开



139
140
141
# File 'lib/v20190605/models.rb', line 139

def IP
  @IP
end

#NoticeObject

Parameters:

  • ServerType:

    监控的服务器类型(0:web,1:smtp,2:imap,3:pops)

  • Domain:

    添加的域名

  • Port:

    添加的端口

  • IP:

    指定域名的IP

  • Notice:

    是否开启通知告警;true:开启通知告警,false:关闭通知告警

  • Tags:

    给域名添加标签,多个以逗号隔开



139
140
141
# File 'lib/v20190605/models.rb', line 139

def Notice
  @Notice
end

#PortObject

Parameters:

  • ServerType:

    监控的服务器类型(0:web,1:smtp,2:imap,3:pops)

  • Domain:

    添加的域名

  • Port:

    添加的端口

  • IP:

    指定域名的IP

  • Notice:

    是否开启通知告警;true:开启通知告警,false:关闭通知告警

  • Tags:

    给域名添加标签,多个以逗号隔开



139
140
141
# File 'lib/v20190605/models.rb', line 139

def Port
  @Port
end

#ServerTypeObject

Parameters:

  • ServerType:

    监控的服务器类型(0:web,1:smtp,2:imap,3:pops)

  • Domain:

    添加的域名

  • Port:

    添加的端口

  • IP:

    指定域名的IP

  • Notice:

    是否开启通知告警;true:开启通知告警,false:关闭通知告警

  • Tags:

    给域名添加标签,多个以逗号隔开



139
140
141
# File 'lib/v20190605/models.rb', line 139

def ServerType
  @ServerType
end

#TagsObject

Parameters:

  • ServerType:

    监控的服务器类型(0:web,1:smtp,2:imap,3:pops)

  • Domain:

    添加的域名

  • Port:

    添加的端口

  • IP:

    指定域名的IP

  • Notice:

    是否开启通知告警;true:开启通知告警,false:关闭通知告警

  • Tags:

    给域名添加标签,多个以逗号隔开



139
140
141
# File 'lib/v20190605/models.rb', line 139

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



150
151
152
153
154
155
156
157
# File 'lib/v20190605/models.rb', line 150

def deserialize(params)
  @ServerType = params['ServerType']
  @Domain = params['Domain']
  @Port = params['Port']
  @IP = params['IP']
  @Notice = params['Notice']
  @Tags = params['Tags']
end