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

- Main Page
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Files Functions
List of all members
Com::Vmware::Vcenter::Ovf::IpAllocationParams::IpAllocationScheme Class Reference
Inheritance diagram for Com::Vmware::Vcenter::Ovf::IpAllocationParams::IpAllocationScheme:

## Avaliable Methods
public method | new ()

## Detailed Description

The `Com::Vmware::Vcenter::Ovf::IpAllocationParams::IpAllocationScheme` enumerated type* defines the possible IP allocation schemes that can be supported by the guest software. Constant Com::Vmware::Vcenter::Ovf::IpAllocationParams::IpAllocationScheme::DHCP # It supports DHCP to acquire IP configuration. Constant Com::Vmware::Vcenter::Ovf::IpAllocationParams::IpAllocationScheme::OVF_ENVIRONMENT # It supports setting the IP configuration through the properties provided in the OVF environment.

## Member Function Documentation

public method Com::Vmware::Vcenter::Ovf::IpAllocationParams::IpAllocationScheme::new | ( |  | ) |

Constructor to initialize the Com::Vmware::Vcenter::Ovf::IpAllocationParams::IpAllocationScheme enumeration.

Return values

  Blessed | object

Code:
click to view
# Number of lines of code in new: 12
sub new {
my ($class, %args) = @_;
$class = ref($class) || $class;
my $self = $class->SUPER::new();
my $bindingType = new Com::Vmware::Vapi::Bindings::Type::EnumType(
'name' => 'com.vmware.vcenter.ovf.ip_allocation_params.ip_allocation_scheme',
'binding_class' => 'Com::Vmware::Vcenter::Ovf::IpAllocationParams::IpAllocationScheme');
$class->SUPER::set_binding_type('binding_type' => $bindingType);
bless $self, $class;
return $self;
}

The documentation for this class was generated from the following file:

- Com/Vmware/Vcenter/Ovf/IpAllocationParams.pm