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.



1784
1785
1786
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1784

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)


1751
1752
1753
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1751

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)


1756
1757
1758
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1756

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)


1767
1768
1769
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1767

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)


1775
1776
1777
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1775

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)


1782
1783
1784
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1782

def vmware_engine_network_canonical
  @vmware_engine_network_canonical
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1789
1790
1791
1792
1793
1794
1795
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1789

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