Class: Google::Apis::GkeonpremV1::VmwareAdminManualLbConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareAdminManualLbConfig

Returns a new instance of VmwareAdminManualLbConfig.



4040
4041
4042
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4040

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#addons_node_portFixnum

NodePort for add-ons server in the admin cluster. Corresponds to the JSON property addonsNodePort

Returns:

  • (Fixnum)


4014
4015
4016
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4014

def addons_node_port
  @addons_node_port
end

#control_plane_node_portFixnum

NodePort for control plane service. The Kubernetes API server in the admin cluster is implemented as a Service of type NodePort (ex. 30968). Corresponds to the JSON property controlPlaneNodePort

Returns:

  • (Fixnum)


4020
4021
4022
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4020

def control_plane_node_port
  @control_plane_node_port
end

#ingress_http_node_portFixnum

NodePort for ingress service's http. The ingress service in the admin cluster is implemented as a Service of type NodePort (ex. 32527). Corresponds to the JSON property ingressHttpNodePort

Returns:

  • (Fixnum)


4026
4027
4028
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4026

def ingress_http_node_port
  @ingress_http_node_port
end

#ingress_https_node_portFixnum

NodePort for ingress service's https. The ingress service in the admin cluster is implemented as a Service of type NodePort (ex. 30139). Corresponds to the JSON property ingressHttpsNodePort

Returns:

  • (Fixnum)


4032
4033
4034
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4032

def ingress_https_node_port
  @ingress_https_node_port
end

#konnectivity_server_node_portFixnum

NodePort for konnectivity server service running as a sidecar in each kube- apiserver pod (ex. 30564). Corresponds to the JSON property konnectivityServerNodePort

Returns:

  • (Fixnum)


4038
4039
4040
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4038

def konnectivity_server_node_port
  @konnectivity_server_node_port
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4045
4046
4047
4048
4049
4050
4051
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4045

def update!(**args)
  @addons_node_port = args[:addons_node_port] if args.key?(:addons_node_port)
  @control_plane_node_port = args[:control_plane_node_port] if args.key?(:control_plane_node_port)
  @ingress_http_node_port = args[:ingress_http_node_port] if args.key?(:ingress_http_node_port)
  @ingress_https_node_port = args[:ingress_https_node_port] if args.key?(:ingress_https_node_port)
  @konnectivity_server_node_port = args[:konnectivity_server_node_port] if args.key?(:konnectivity_server_node_port)
end