|
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
|
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 () |
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.
| public method Com::Vmware::Content::Library::Item::Storage::Info::get_cached | ( | ) |
Gets the value of 'cached' property.
| cached | - The current value of the field. Indicates whether the file is on disk or not. boolean# |
Code:
| public method Com::Vmware::Content::Library::Item::Storage::Info::get_checksum_info | ( | ) |
Gets the value of 'checksum_info' property.
| 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:
| public method Com::Vmware::Content::Library::Item::Storage::Info::get_name | ( | ) |
Gets the value of 'name' property.
| 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:
| public method Com::Vmware::Content::Library::Item::Storage::Info::get_size | ( | ) |
Gets the value of 'size' property.
| 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:
| public method Com::Vmware::Content::Library::Item::Storage::Info::get_storage_backing | ( | ) |
Gets the value of 'storage_backing' property.
| storage_backing | - The current value of the field. The storage backing on which this object resides. StorageBacking# |
Code:
| public method Com::Vmware::Content::Library::Item::Storage::Info::get_storage_uris | ( | ) |
Gets the value of 'storage_uris' property.
| 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:
| public method Com::Vmware::Content::Library::Item::Storage::Info::get_version | ( | ) |
Gets the value of 'version' property.
| version | - The current value of the field. The version of this file; incremented when a new copy of the file is uploaded. String# |
Code:
| public method Com::Vmware::Content::Library::Item::Storage::Info::new | ( | ) |
Constructor to initialize the Com::Vmware::Content::Library::Item::Storage::Info structure
| Blessed | object |
Code:
| public method Com::Vmware::Content::Library::Item::Storage::Info::set_cached | ( | ) |
Sets the given value for 'cached' property.
| cached | - New value for the field. Indicates whether the file is on disk or not. |
Code:
| public method Com::Vmware::Content::Library::Item::Storage::Info::set_checksum_info | ( | ) |
Sets the given value for 'checksum_info' property.
| 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:
| public method Com::Vmware::Content::Library::Item::Storage::Info::set_name | ( | ) |
Sets the given value for 'name' property.
| 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:
| public method Com::Vmware::Content::Library::Item::Storage::Info::set_size | ( | ) |
Sets the given value for 'size' property.
| 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:
| public method Com::Vmware::Content::Library::Item::Storage::Info::set_storage_backing | ( | ) |
Sets the given value for 'storage_backing' property.
| storage_backing | - New value for the field. The storage backing on which this object resides. |
Code:
| public method Com::Vmware::Content::Library::Item::Storage::Info::set_storage_uris | ( | ) |
Sets the given value for 'storage_uris' property.
| 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:
| public method Com::Vmware::Content::Library::Item::Storage::Info::set_version | ( | ) |
Sets the given value for 'version' property.
| version | - New value for the field. The version of this file; incremented when a new copy of the file is uploaded. |
Code: