Class: Google::Apis::GkeonpremV1::VmwareAdminNetworkConfig

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

Overview

VmwareAdminNetworkConfig contains network configuration for VMware admin cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareAdminNetworkConfig

Returns a new instance of VmwareAdminNetworkConfig.



4023
4024
4025
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4023

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

Instance Attribute Details

#dhcp_ip_configGoogle::Apis::GkeonpremV1::VmwareDhcpIpConfig

Represents the network configuration required for the VMware user clusters with DHCP IP configurations. Corresponds to the JSON property dhcpIpConfig



3985
3986
3987
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3985

def dhcp_ip_config
  @dhcp_ip_config
end

#ha_control_plane_configGoogle::Apis::GkeonpremV1::VmwareAdminHaControlPlaneConfig

Specifies HA admin control plane config. Corresponds to the JSON property haControlPlaneConfig



3990
3991
3992
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3990

def ha_control_plane_config
  @ha_control_plane_config
end

#host_configGoogle::Apis::GkeonpremV1::VmwareHostConfig

Represents the common parameters for all the hosts irrespective of their IP address. Corresponds to the JSON property hostConfig



3996
3997
3998
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3996

def host_config
  @host_config
end

#pod_address_cidr_blocksArray<String>

Required. All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation. Corresponds to the JSON property podAddressCidrBlocks

Returns:

  • (Array<String>)


4003
4004
4005
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4003

def pod_address_cidr_blocks
  @pod_address_cidr_blocks
end

#service_address_cidr_blocksArray<String>

Required. All services in the cluster are assigned an RFC1918 IPv4 address from these ranges. Only a single range is supported. This field cannot be changed after creation. Corresponds to the JSON property serviceAddressCidrBlocks

Returns:

  • (Array<String>)


4010
4011
4012
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4010

def service_address_cidr_blocks
  @service_address_cidr_blocks
end

#static_ip_configGoogle::Apis::GkeonpremV1::VmwareStaticIpConfig

Represents the network configuration required for the VMware user clusters with Static IP configurations. Corresponds to the JSON property staticIpConfig



4016
4017
4018
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4016

def static_ip_config
  @static_ip_config
end

#vcenter_networkString

vcenter_network specifies vCenter network name. Corresponds to the JSON property vcenterNetwork

Returns:

  • (String)


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

def vcenter_network
  @vcenter_network
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4028
4029
4030
4031
4032
4033
4034
4035
4036
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4028

def update!(**args)
  @dhcp_ip_config = args[:dhcp_ip_config] if args.key?(:dhcp_ip_config)
  @ha_control_plane_config = args[:ha_control_plane_config] if args.key?(:ha_control_plane_config)
  @host_config = args[:host_config] if args.key?(:host_config)
  @pod_address_cidr_blocks = args[:pod_address_cidr_blocks] if args.key?(:pod_address_cidr_blocks)
  @service_address_cidr_blocks = args[:service_address_cidr_blocks] if args.key?(:service_address_cidr_blocks)
  @static_ip_config = args[:static_ip_config] if args.key?(:static_ip_config)
  @vcenter_network = args[:vcenter_network] if args.key?(:vcenter_network)
end