Class: Google::Apis::GkeonpremV1::VmwareAdminNetworkConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareAdminNetworkConfig
- 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
-
#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
vcenter_network specifies vCenter network name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareAdminNetworkConfig
constructor
A new instance of VmwareAdminNetworkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareAdminNetworkConfig
Returns a new instance of VmwareAdminNetworkConfig.
3786 3787 3788 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3786 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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
3753 3754 3755 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3753 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
3759 3760 3761 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3759 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
3766 3767 3768 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3766 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
3773 3774 3775 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3773 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
3779 3780 3781 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3779 def static_ip_config @static_ip_config end |
#vcenter_network ⇒ String
vcenter_network specifies vCenter network name.
Corresponds to the JSON property vcenterNetwork
3784 3785 3786 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3784 def vcenter_network @vcenter_network end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3791 3792 3793 3794 3795 3796 3797 3798 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 3791 def update!(**args) @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 |