Class: TencentCloud::Tke::V20180525::CreateClusterEndpointVipRequest

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

Overview

CreateClusterEndpointVip请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, securitypolicies = nil) ⇒ CreateClusterEndpointVipRequest

Returns a new instance of CreateClusterEndpointVipRequest.



2019
2020
2021
2022
# File 'lib/v20180525/models.rb', line 2019

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

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • SecurityPolicies:

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



2017
2018
2019
# File 'lib/v20180525/models.rb', line 2017

def ClusterId
  @ClusterId
end

#SecurityPoliciesObject

Parameters:

  • ClusterId:

    集群ID

  • SecurityPolicies:

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



2017
2018
2019
# File 'lib/v20180525/models.rb', line 2017

def SecurityPolicies
  @SecurityPolicies
end

Instance Method Details

#deserialize(params) ⇒ Object



2024
2025
2026
2027
# File 'lib/v20180525/models.rb', line 2024

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