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
Classes | List of all members
Com::Vmware::Vcenter::Ovf::ImportFlag Class Reference
Inheritance diagram for Com::Vmware::Vcenter::Ovf::ImportFlag:

## Classes
class | Info

## Avaliable Methods
public method | new ()
public method | list ()

## Detailed Description

The `Com::Vmware::Vcenter::Ovf::ImportFlag` interface provides methods for retrieving information about the import flags supported by the deployment platform. Import flags can be specified in a class Com::Vmware::Vcenter::Ovf::LibraryItem::ResourcePoolDeploymentSpec to customize an OVF deployment.

## Member Function Documentation

public method Com::Vmware::Vcenter::Ovf::ImportFlag::list | ( |  | ) |

Returns information about the import flags supported by the deployment platform.

The supported flags are:

LAX
  Lax mode parsing of the OVF descriptor.

Future server versions might support additional flags.

Parameters

  rp | [REQUIRED] The identifier of resource pool target for retrieving the import flag(s). The value must be an identifier for the resource type getQualifiedName(ResourcePool). . The value must be str.

Return values

  A | list of supported import flags. The return type will be Array of Com::Vmware::Vcenter::Ovf::ImportFlag::Info

Exceptions

  Com::Vmware::Vapi::Std::Errors::NotFound | If the resource pool associated with `rp` does not exist.

Code:
click to view
# Number of lines of code in list: 10
sub list {
my ($self, %args) = @_;
my $rp = $args {rp};
$self->validate_args (method_name => 'list',
method_args => \%args);
return $self->invoke (method_name => 'list',
method_args => \%args);
}

public method Com::Vmware::Vcenter::Ovf::ImportFlag::new | ( |  | ) |

Constructor to initialize the object

Parameters

  api_provider | - protocol connection to use with stubs created by this factory
  StubConfig | - Stub's additional configuration

Return values

  Blessed | object

Code:
click to view
# Number of lines of code in new: 11
sub new {
my ($class, %args) = @_;
$class = ref($class) || $class;
my $stub_config = $args {stub_config};
my $api_provider = $args {api_provider};
my $self = $class->SUPER::new('stub_config' => $stub_config,
'api_provider' => $api_provider);
bless $self, $class;
return $self;
}

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

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