Class: TencentCloud::Tke::V20180525::ModifyClusterEndpointSPRequest

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

Overview

ModifyClusterEndpointSP请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, securitypolicies = nil, securitygroup = nil) ⇒ ModifyClusterEndpointSPRequest

Returns a new instance of ModifyClusterEndpointSPRequest.



13953
13954
13955
13956
13957
# File 'lib/v20180525/models.rb', line 13953

def initialize(clusterid=nil, securitypolicies=nil, securitygroup=nil)
  @ClusterId = clusterid
  @SecurityPolicies = securitypolicies
  @SecurityGroup = securitygroup
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • SecurityPolicies:

    安全策略放通单个IP或CIDR(例如: “192.168.1.0/24”,默认为拒绝所有)

  • SecurityGroup:

    修改外网访问安全组



13951
13952
13953
# File 'lib/v20180525/models.rb', line 13951

def ClusterId
  @ClusterId
end

#SecurityGroupObject

Parameters:

  • ClusterId:

    集群ID

  • SecurityPolicies:

    安全策略放通单个IP或CIDR(例如: “192.168.1.0/24”,默认为拒绝所有)

  • SecurityGroup:

    修改外网访问安全组



13951
13952
13953
# File 'lib/v20180525/models.rb', line 13951

def SecurityGroup
  @SecurityGroup
end

#SecurityPoliciesObject

Parameters:

  • ClusterId:

    集群ID

  • SecurityPolicies:

    安全策略放通单个IP或CIDR(例如: “192.168.1.0/24”,默认为拒绝所有)

  • SecurityGroup:

    修改外网访问安全组



13951
13952
13953
# File 'lib/v20180525/models.rb', line 13951

def SecurityPolicies
  @SecurityPolicies
end

Instance Method Details

#deserialize(params) ⇒ Object



13959
13960
13961
13962
13963
# File 'lib/v20180525/models.rb', line 13959

def deserialize(params)
  @ClusterId = params['ClusterId']
  @SecurityPolicies = params['SecurityPolicies']
  @SecurityGroup = params['SecurityGroup']
end