Class: Com::Vmware::Vcenter::Ovf::ExportFlag

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::ExportFlag`` class provides methods for retrieving information about the export flags supported by the server. Export flags can be specified in a :class:`Com::Vmware::Vcenter::Ovf::LibraryItem::CreateSpec` to customize an OVF export.

Defined Under Namespace

Classes: Info

Instance Method Summary (collapse)

Constructor Details

- (ExportFlag) initialize(config)

Constructs a new instance.

Parameters:

  • config (VAPI::Bindings::StubConfig)

    A hash with the api provider details.



49
50
51
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 49

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

Instance Method Details

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

Returns information about the supported export flags by the server.


 The supported flags are:  
  PRESERVE_MAC
       Include MAC addresses for network adapters.
   EXTRA_CONFIG
       Include extra configuration in OVF export.
     

 Future server versions might support additional flags.

Returns:

Raises:



71
72
73
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vcenter/ovf.rb', line 71

def list()
    invoke_with_info(@@list_info)
end