|
VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
|
Avaliable Methods | |
| public method | get_interface_name () |
| public method | set_prefix () |
| public method | set_default_gateway () |
| public method | get_address () |
| public method | get_mode () |
| public method | set_mode () |
| public method | set_address () |
| public method | set_interface_name () |
| public method | get_updateable () |
| public method | get_prefix () |
| public method | new () |
| public method | set_updateable () |
| public method | get_default_gateway () |
Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly class* Structure that defines the IPv4 configuration state of a network interface.
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly::get_address | ( | ) |
Gets the value of 'address' property.
| address | - The current value of the field. IPv4 address, for example, "10.20.80.191". Set this argument to an empty string "", if the mode is "unconfigured" or "dhcp". String# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly::get_default_gateway | ( | ) |
Gets the value of 'default_gateway' property.
| default_gateway | - The current value of the field. IPv4 address of the default gateway. This default gateway value is used if the mode argument is set to "static" This configures the global default gateway on the appliance with the specified gateway address and interface. This gateway replaces the existing default gateway configured on the appliance. However, if the gateway address is link-local, then it is added for that interface. This does not support configuration of multiple global default gateways through different interfaces. String# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly::get_interface_name | ( | ) |
Gets the value of 'interface_name' property.
| interface_name | - The current value of the field. Interface name, for example, "nic0", "nic1". String# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly::get_mode | ( | ) |
Gets the value of 'mode' property.
| mode | - The current value of the field. Address assignment mode. IPv4Mode# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly::get_prefix | ( | ) |
Gets the value of 'prefix' property.
| prefix | - The current value of the field. IPv4 CIDR prefix, for example , 24. See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion. Set this argument to 0 if the mode is "unconfigured" or "dhcp". long# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly::get_updateable | ( | ) |
Gets the value of 'updateable' property.
| updateable | - The current value of the field. This indicates if the network configuration can be updated for the interface. boolean# |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly::new | ( | ) |
Constructor to initialize the Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly structure
| Blessed | object |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly::set_address | ( | ) |
Sets the given value for 'address' property.
| address | - New value for the field. IPv4 address, for example, "10.20.80.191". Set this argument to an empty string "", if the mode is "unconfigured" or "dhcp". |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly::set_default_gateway | ( | ) |
Sets the given value for 'default_gateway' property.
| default_gateway | - New value for the field. IPv4 address of the default gateway. This default gateway value is used if the mode argument is set to "static" This configures the global default gateway on the appliance with the specified gateway address and interface. This gateway replaces the existing default gateway configured on the appliance. However, if the gateway address is link-local, then it is added for that interface. This does not support configuration of multiple global default gateways through different interfaces. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly::set_interface_name | ( | ) |
Sets the given value for 'interface_name' property.
| interface_name | - New value for the field. Interface name, for example, "nic0", "nic1". |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly::set_mode | ( | ) |
Sets the given value for 'mode' property.
| mode | - New value for the field. Address assignment mode. |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly::set_prefix | ( | ) |
Sets the given value for 'prefix' property.
| prefix | - New value for the field. IPv4 CIDR prefix, for example , 24. See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion. Set this argument to 0 if the mode is "unconfigured" or "dhcp". |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly::set_updateable | ( | ) |
Sets the given value for 'updateable' property.
| updateable | - New value for the field. This indicates if the network configuration can be updated for the interface. |
Code: