Class: Com::Vmware::Vcenter::Ovf::ImportFlag

Inherits:
VAPI::Bindings::VapiService
  • Object
show all
Defined in:
/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb

Overview

The ``Com::Vmware::Vcenter::Ovf::ImportFlag`` class 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.

Defined Under Namespace

Classes: Info

Instance Method Summary (collapse)

Constructor Details

- (ImportFlag) initialize(config)

Constructs a new instance.

Parameters:

  • config (VAPI::Bindings::StubConfig)

    A hash with the api provider details.



148
149
150
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 148

def initialize(config)
    super(config, @@service_info)
end

Instance Method Details

- (Array<Com::Vmware::Vcenter::Ovf::ImportFlag::Info>) list(rp)

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 (String)

    The identifier of resource pool target for retrieving the import flag(s).

Returns:

Raises:



172
173
174
175
176
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 172

def list(rp)
    invoke_with_info(@@list_info, {
        'rp' => rp,
    })
end