Class: TencentCloud::Tdmq::V20200217::ModifyPublicNetworkAccessPointRequest

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

Overview

ModifyPublicNetworkAccessPoint请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, publicnetworkaccesspointstatus = nil, switchowner = nil, vpcid = nil, subnetid = nil, selectip = nil) ⇒ ModifyPublicNetworkAccessPointRequest

Returns a new instance of ModifyPublicNetworkAccessPointRequest.



8894
8895
8896
8897
8898
8899
8900
8901
# File 'lib/v20200217/models.rb', line 8894

def initialize(clusterid=nil, publicnetworkaccesspointstatus=nil, switchowner=nil, vpcid=nil, subnetid=nil, selectip=nil)
  @ClusterId = clusterid
  @PublicNetworkAccessPointStatus = publicnetworkaccesspointstatus
  @SwitchOwner = switchowner
  @VpcId = vpcid
  @SubnetId = subnetid
  @SelectIp = selectip
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群名字

  • PublicNetworkAccessPointStatus:

    是否开启

  • SwitchOwner:

    必填,公网控制台的开关/Vpc控制台的开关,示例值,Public/Vpc

  • VpcId:

    Vpc

  • SubnetId:

    子网

  • SelectIp:

    子网下面指定ip作为vpc接入点



8892
8893
8894
# File 'lib/v20200217/models.rb', line 8892

def ClusterId
  @ClusterId
end

#PublicNetworkAccessPointStatusObject

Parameters:

  • ClusterId:

    集群名字

  • PublicNetworkAccessPointStatus:

    是否开启

  • SwitchOwner:

    必填,公网控制台的开关/Vpc控制台的开关,示例值,Public/Vpc

  • VpcId:

    Vpc

  • SubnetId:

    子网

  • SelectIp:

    子网下面指定ip作为vpc接入点



8892
8893
8894
# File 'lib/v20200217/models.rb', line 8892

def PublicNetworkAccessPointStatus
  @PublicNetworkAccessPointStatus
end

#SelectIpObject

Parameters:

  • ClusterId:

    集群名字

  • PublicNetworkAccessPointStatus:

    是否开启

  • SwitchOwner:

    必填,公网控制台的开关/Vpc控制台的开关,示例值,Public/Vpc

  • VpcId:

    Vpc

  • SubnetId:

    子网

  • SelectIp:

    子网下面指定ip作为vpc接入点



8892
8893
8894
# File 'lib/v20200217/models.rb', line 8892

def SelectIp
  @SelectIp
end

#SubnetIdObject

Parameters:

  • ClusterId:

    集群名字

  • PublicNetworkAccessPointStatus:

    是否开启

  • SwitchOwner:

    必填,公网控制台的开关/Vpc控制台的开关,示例值,Public/Vpc

  • VpcId:

    Vpc

  • SubnetId:

    子网

  • SelectIp:

    子网下面指定ip作为vpc接入点



8892
8893
8894
# File 'lib/v20200217/models.rb', line 8892

def SubnetId
  @SubnetId
end

#SwitchOwnerObject

Parameters:

  • ClusterId:

    集群名字

  • PublicNetworkAccessPointStatus:

    是否开启

  • SwitchOwner:

    必填,公网控制台的开关/Vpc控制台的开关,示例值,Public/Vpc

  • VpcId:

    Vpc

  • SubnetId:

    子网

  • SelectIp:

    子网下面指定ip作为vpc接入点



8892
8893
8894
# File 'lib/v20200217/models.rb', line 8892

def SwitchOwner
  @SwitchOwner
end

#VpcIdObject

Parameters:

  • ClusterId:

    集群名字

  • PublicNetworkAccessPointStatus:

    是否开启

  • SwitchOwner:

    必填,公网控制台的开关/Vpc控制台的开关,示例值,Public/Vpc

  • VpcId:

    Vpc

  • SubnetId:

    子网

  • SelectIp:

    子网下面指定ip作为vpc接入点



8892
8893
8894
# File 'lib/v20200217/models.rb', line 8892

def VpcId
  @VpcId
end

Instance Method Details

#deserialize(params) ⇒ Object



8903
8904
8905
8906
8907
8908
8909
8910
# File 'lib/v20200217/models.rb', line 8903

def deserialize(params)
  @ClusterId = params['ClusterId']
  @PublicNetworkAccessPointStatus = params['PublicNetworkAccessPointStatus']
  @SwitchOwner = params['SwitchOwner']
  @VpcId = params['VpcId']
  @SubnetId = params['SubnetId']
  @SelectIp = params['SelectIp']
end