Class: Google::Apis::VmwareengineV1::NetworkConfig

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

Overview

Network configuration in the consumer project with which the peering has to be done.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkConfig

Returns a new instance of NetworkConfig.



1666
1667
1668
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1666

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

Instance Attribute Details

#dns_server_ipString

Output only. DNS Server IP of the Private Cloud. All DNS queries can be forwarded to this address for name resolution of Private Cloud's management entities like vCenter, NSX-T Manager and ESXi hosts. Corresponds to the JSON property dnsServerIp

Returns:

  • (String)


1633
1634
1635
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1633

def dns_server_ip
  @dns_server_ip
end

#management_cidrString

Required. Management CIDR used by VMware management appliances. Corresponds to the JSON property managementCidr

Returns:

  • (String)


1638
1639
1640
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1638

def management_cidr
  @management_cidr
end

#management_ip_address_layout_versionFixnum

Output only. The IP address layout version of the management IP address range. Possible versions include: * managementIpAddressLayoutVersion=1: Indicates the legacy IP address layout used by some existing private clouds. This is no longer supported for new private clouds as it does not support all features. * managementIpAddressLayoutVersion=2: Indicates the latest IP address layout used by all newly created private clouds. This version supports all current features. Corresponds to the JSON property managementIpAddressLayoutVersion

Returns:

  • (Fixnum)


1649
1650
1651
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1649

def management_ip_address_layout_version
  @management_ip_address_layout_version
end

#vmware_engine_networkString

Optional. The relative resource name of the VMware Engine network attached to the private cloud. Specify the name in the following form: projects/project/ locations/location/vmwareEngineNetworks/vmware_engine_network_idwhere project`can either be a project number or a project ID. Corresponds to the JSON propertyvmwareEngineNetwork`

Returns:

  • (String)


1657
1658
1659
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1657

def vmware_engine_network
  @vmware_engine_network
end

#vmware_engine_network_canonicalString

Output only. The canonical name of the VMware Engine network in the form: projects/project_number/locations/location/vmwareEngineNetworks/ vmware_engine_network_id` Corresponds to the JSON propertyvmwareEngineNetworkCanonical`

Returns:

  • (String)


1664
1665
1666
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1664

def vmware_engine_network_canonical
  @vmware_engine_network_canonical
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1671
1672
1673
1674
1675
1676
1677
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1671

def update!(**args)
  @dns_server_ip = args[:dns_server_ip] if args.key?(:dns_server_ip)
  @management_cidr = args[:management_cidr] if args.key?(:management_cidr)
  @management_ip_address_layout_version = args[:management_ip_address_layout_version] if args.key?(:management_ip_address_layout_version)
  @vmware_engine_network = args[:vmware_engine_network] if args.key?(:vmware_engine_network)
  @vmware_engine_network_canonical = args[:vmware_engine_network_canonical] if args.key?(:vmware_engine_network_canonical)
end