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
 All Classes Files Functions
Classes | List of all members
Com::Vmware::Content::Library::Item::File Class Reference
Inheritance diagram for Com::Vmware::Content::Library::Item::File:
Com::Vmware::Vapi::Bindings::VapiInterface

Classes

class  ChecksumAlgorithm
 
class  ChecksumInfo
 
class  Info
 

Avaliable Methods

public method get ()
 
public method new ()
 
public method list ()
 

Detailed Description

The Com::Vmware::Content::Library::Item::File interface can be used to query for information on the files within a library item. Files are objects which are added to a library item through the class Com::Vmware::Content::Library::Item::UpdateSession and class Com::Vmware::Content::Library::Item::Updatesession::File interfaces .

Member Function Documentation

public method Com::Vmware::Content::Library::Item::File::get ( )

Retrieves the information for a single file in a library item by its name.

Parameters
library_item_id[REQUIRED] Identifier of the library item whose file information should be returned. The value must be an identifier for the resource type getQualifiedName(com.vmware.content.library.Item). . The value must be str.
name[REQUIRED] Name of the file in the library item whose information should be returned. . The value must be String.
Return values
Theclass Com::Vmware::Content::Library::Item::File::Info object with information on the specified file. The return type will be Com::Vmware::Content::Library::Item::File::Info
Exceptions
Com::Vmware::Vapi::Std::Errors::NotFoundif library_item_id refers to a library item that does not exist.
Com::Vmware::Vapi::Std::Errors::NotFoundif name refers to a file that does not exist in the library item.
Code:
click to view
public method Com::Vmware::Content::Library::Item::File::list ( )

Lists all of the files that are stored within a given library item.

Parameters
library_item_id[REQUIRED] Identifier of the library item whose files should be listed. The value must be an identifier for the resource type getQualifiedName(com.vmware.content.library.Item). . The value must be str.
Return values
Thelist of all of the files that are stored within the given library item. The return type will be Array of Com::Vmware::Content::Library::Item::File::Info
Exceptions
Com::Vmware::Vapi::Std::Errors::NotFoundif library_item_id refers to a library item that does not exist.
Code:
click to view
public method Com::Vmware::Content::Library::Item::File::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
Blessedobject
Code:
click to view

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