Class: Google::Apis::GkeonpremV1::VmwareNetworkConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareNetworkConfig
- 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
Specifies network config for the VMware user cluster.
Instance Attribute Summary collapse
-
#control_plane_v2_config ⇒ Google::Apis::GkeonpremV1::VmwareControlPlaneV2Config
Specifies control plane V2 config.
-
#dhcp_ip_config ⇒ Google::Apis::GkeonpremV1::VmwareDhcpIpConfig
Represents the network configuration required for the VMware user clusters with DHCP IP configurations.
-
#host_config ⇒ Google::Apis::GkeonpremV1::VmwareHostConfig
Represents the common parameters for all the hosts irrespective of their IP address.
-
#pod_address_cidr_blocks ⇒ Array<String>
Required.
-
#service_address_cidr_blocks ⇒ Array<String>
Required.
-
#static_ip_config ⇒ Google::Apis::GkeonpremV1::VmwareStaticIpConfig
Represents the network configuration required for the VMware user clusters with Static IP configurations.
-
#vcenter_network ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareNetworkConfig
constructor
A new instance of VmwareNetworkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareNetworkConfig
Returns a new instance of VmwareNetworkConfig.
4915 4916 4917 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4915 def initialize(**args) update!(**args) end |
Instance Attribute Details
#control_plane_v2_config ⇒ Google::Apis::GkeonpremV1::VmwareControlPlaneV2Config
Specifies control plane V2 config.
Corresponds to the JSON property controlPlaneV2Config
4875 4876 4877 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4875 def control_plane_v2_config @control_plane_v2_config end |
#dhcp_ip_config ⇒ Google::Apis::GkeonpremV1::VmwareDhcpIpConfig
Represents the network configuration required for the VMware user clusters
with DHCP IP configurations.
Corresponds to the JSON property dhcpIpConfig
4881 4882 4883 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4881 def dhcp_ip_config @dhcp_ip_config end |
#host_config ⇒ Google::Apis::GkeonpremV1::VmwareHostConfig
Represents the common parameters for all the hosts irrespective of their IP
address.
Corresponds to the JSON property hostConfig
4887 4888 4889 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4887 def host_config @host_config end |
#pod_address_cidr_blocks ⇒ Array<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
4894 4895 4896 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4894 def pod_address_cidr_blocks @pod_address_cidr_blocks end |
#service_address_cidr_blocks ⇒ Array<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
4901 4902 4903 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4901 def service_address_cidr_blocks @service_address_cidr_blocks end |
#static_ip_config ⇒ Google::Apis::GkeonpremV1::VmwareStaticIpConfig
Represents the network configuration required for the VMware user clusters
with Static IP configurations.
Corresponds to the JSON property staticIpConfig
4907 4908 4909 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4907 def static_ip_config @static_ip_config end |
#vcenter_network ⇒ String
Output only. vcenter_network specifies vCenter network name. Inherited from
the admin cluster.
Corresponds to the JSON property vcenterNetwork
4913 4914 4915 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4913 def vcenter_network @vcenter_network end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4920 4921 4922 4923 4924 4925 4926 4927 4928 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4920 def update!(**args) @control_plane_v2_config = args[:control_plane_v2_config] if args.key?(:control_plane_v2_config) @dhcp_ip_config = args[:dhcp_ip_config] if args.key?(:dhcp_ip_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 |