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
List of all members
Com::Vmware::Content::Library::Item::Storage::Info Class Reference
Inheritance diagram for Com::Vmware::Content::Library::Item::Storage::Info:

Avaliable Methods

public method set_storage_backing ()
 
public method set_version ()
 
public method get_cached ()
 
public method set_name ()
 
public method get_checksum_info ()
 
public method get_storage_backing ()
 
public method set_size ()
 
public method get_storage_uris ()
 
public method set_storage_uris ()
 
public method set_checksum_info ()
 
public method set_cached ()
 
public method get_version ()
 
public method new ()
 
public method get_size ()
 
public method get_name ()
 

Detailed Description

The Com::Vmware::Content::Library::Item::Storage::Info class is the expanded form of class Com::Vmware::Content::Library::Item::File::Info that includes details about the storage backing for a file in a library item.

Member Function Documentation

public method Com::Vmware::Content::Library::Item::Storage::Info::get_cached ( )

Gets the value of 'cached' property.

Return values
cached- The current value of the field. Indicates whether the file is on disk or not. boolean#
Code:
click to view
public method Com::Vmware::Content::Library::Item::Storage::Info::get_checksum_info ( )

Gets the value of 'checksum_info' property.

Return values
checksum_info- The current value of the field. A checksum for validating the content of the file.

This value can be used to verify that a transfer was completed without errors.

Optional#

Code:
click to view
public method Com::Vmware::Content::Library::Item::Storage::Info::get_name ( )

Gets the value of 'name' property.

Return values
name- The current value of the field. The name of the file.

This value will be unique within the library item for each file. It cannot be an empty string.

String#

Code:
click to view
public method Com::Vmware::Content::Library::Item::Storage::Info::get_size ( )

Gets the value of 'size' property.

Return values
size- The current value of the field. The file size, in bytes. The file size is the storage used and not the uploaded or provisioned size. For example, when uploading a disk to a datastore, the amount of storage that the disk consumes may be different from the disk file size. When the file is not cached, the size is 0. long#
Code:
click to view
public method Com::Vmware::Content::Library::Item::Storage::Info::get_storage_backing ( )

Gets the value of 'storage_backing' property.

Return values
storage_backing- The current value of the field. The storage backing on which this object resides. StorageBacking#
Code:
click to view
public method Com::Vmware::Content::Library::Item::Storage::Info::get_storage_uris ( )

Gets the value of 'storage_uris' property.

Return values
storage_uris- The current value of the field. URIs that identify the file on the storage backing.

These URIs may be specific to the backing and may need interpretation by the client. A client that understands a URI scheme in this list may use that URI to directly access the file on the storage backing. This can provide high-performance support for file manipulation.

List#

Code:
click to view
public method Com::Vmware::Content::Library::Item::Storage::Info::get_version ( )

Gets the value of 'version' property.

Return values
version- The current value of the field. The version of this file; incremented when a new copy of the file is uploaded. String#
Code:
click to view
public method Com::Vmware::Content::Library::Item::Storage::Info::new ( )

Constructor to initialize the Com::Vmware::Content::Library::Item::Storage::Info structure

Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Content::Library::Item::Storage::Info::set_cached ( )

Sets the given value for 'cached' property.

Parameters
cached- New value for the field. Indicates whether the file is on disk or not.
Code:
click to view
public method Com::Vmware::Content::Library::Item::Storage::Info::set_checksum_info ( )

Sets the given value for 'checksum_info' property.

Parameters
checksum_info- New value for the field. A checksum for validating the content of the file.

This value can be used to verify that a transfer was completed without errors.

Code:
click to view
public method Com::Vmware::Content::Library::Item::Storage::Info::set_name ( )

Sets the given value for 'name' property.

Parameters
name- New value for the field. The name of the file.

This value will be unique within the library item for each file. It cannot be an empty string.

Code:
click to view
public method Com::Vmware::Content::Library::Item::Storage::Info::set_size ( )

Sets the given value for 'size' property.

Parameters
size- New value for the field. The file size, in bytes. The file size is the storage used and not the uploaded or provisioned size. For example, when uploading a disk to a datastore, the amount of storage that the disk consumes may be different from the disk file size. When the file is not cached, the size is 0.
Code:
click to view
public method Com::Vmware::Content::Library::Item::Storage::Info::set_storage_backing ( )

Sets the given value for 'storage_backing' property.

Parameters
storage_backing- New value for the field. The storage backing on which this object resides.
Code:
click to view
public method Com::Vmware::Content::Library::Item::Storage::Info::set_storage_uris ( )

Sets the given value for 'storage_uris' property.

Parameters
storage_uris- New value for the field. URIs that identify the file on the storage backing.

These URIs may be specific to the backing and may need interpretation by the client. A client that understands a URI scheme in this list may use that URI to directly access the file on the storage backing. This can provide high-performance support for file manipulation.

Code:
click to view
public method Com::Vmware::Content::Library::Item::Storage::Info::set_version ( )

Sets the given value for 'version' property.

Parameters
version- New value for the field. The version of this file; incremented when a new copy of the file is uploaded.
Code:
click to view

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