Class: Google::Apis::VmwareengineV1::NetworkConfig
- Inherits:
-
Object
- Object
- Google::Apis::VmwareengineV1::NetworkConfig
- 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
-
#dns_server_ip ⇒ String
Output only.
-
#management_cidr ⇒ String
Required.
-
#management_ip_address_layout_version ⇒ Fixnum
Output only.
-
#vmware_engine_network ⇒ String
Optional.
-
#vmware_engine_network_canonical ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworkConfig
constructor
A new instance of NetworkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_ip ⇒ String
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
1751 1752 1753 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1751 def dns_server_ip @dns_server_ip end |
#management_cidr ⇒ String
Required. Management CIDR used by VMware management appliances.
Corresponds to the JSON property managementCidr
1756 1757 1758 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1756 def management_cidr @management_cidr end |
#management_ip_address_layout_version ⇒ Fixnum
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
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_network ⇒ String
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 property
vmwareEngineNetwork`
1775 1776 1777 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 1775 def vmware_engine_network @vmware_engine_network end |
#vmware_engine_network_canonical ⇒ String
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 property
vmwareEngineNetworkCanonical`
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 |