VMware vCloud Suite SDK for .NET 6.0.0
vmware::content::library::item::StorageTypes::Info Class Reference

The Storage.Info class is the expanded form of File.Info that includes details about the storage backing for a file in a library item. More...

List of all members.

Public Member Functions

 Info ()
 Creates a default new instance.
vmware.content.library.StorageBacking GetStorageBacking ()
 The storage backing on which this object resides.
void SetStorageBacking (vmware.content.library.StorageBacking storageBacking)
 The storage backing on which this object resides.
global::System.Collections.Generic.List
< global::System.Uri > 
GetStorageUris ()
 URIs that identify the file on the storage backing.
void SetStorageUris (global::System.Collections.Generic.List< global::System.Uri > storageUris)
 URIs that identify the file on the storage backing.
vmware.content.library.item.FileTypes.ChecksumInfo GetChecksumInfo ()
 A checksum for validating the content of the file.
void SetChecksumInfo (vmware.content.library.item.FileTypes.ChecksumInfo checksumInfo)
 A checksum for validating the content of the file.
string GetName ()
 The name of the file.
void SetName (string name)
 The name of the file.
long GetSize ()
 The file size, in bytes.
void SetSize (long size)
 The file size, in bytes.
bool GetCached ()
 Indicates whether the file is on disk or not.
void SetCached (bool cached)
 Indicates whether the file is on disk or not.
string GetVersion ()
 The version of this file; incremented when a new copy of the file is uploaded.
void SetVersion (string version)
 The version of this file; incremented when a new copy of the file is uploaded.
vmware.vapi.bindings.type.StructType _GetType ()
vmware.vapi.data.StructValue _GetDataValue ()
void _Validate ()
bool _HasTypeNameOf< T > ()
_ConvertTo< T > ()
override bool Equals (object obj)
override int GetHashCode ()
override string ToString ()

Detailed Description

The Storage.Info class is the expanded form of File.Info that includes details about the storage backing for a file in a library item.


Constructor & Destructor Documentation

vmware::content::library::item::StorageTypes::Info::Info ( ) [inline]

Creates a default new instance.


Member Function Documentation

T vmware::content::library::item::StorageTypes::Info::_ConvertTo< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
vmware.vapi.data.StructValue vmware::content::library::item::StorageTypes::Info::_GetDataValue ( ) [inline]
vmware.vapi.bindings.type.StructType vmware::content::library::item::StorageTypes::Info::_GetType ( ) [inline]
bool vmware::content::library::item::StorageTypes::Info::_HasTypeNameOf< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
void vmware::content::library::item::StorageTypes::Info::_Validate ( ) [inline]
override bool vmware::content::library::item::StorageTypes::Info::Equals ( object  obj) [inline]
bool vmware::content::library::item::StorageTypes::Info::GetCached ( ) [inline]

Indicates whether the file is on disk or not.

vmware.content.library.item.FileTypes.ChecksumInfo vmware::content::library::item::StorageTypes::Info::GetChecksumInfo ( ) [inline]

A checksum for validating the content of the file.

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

override int vmware::content::library::item::StorageTypes::Info::GetHashCode ( ) [inline]
string vmware::content::library::item::StorageTypes::Info::GetName ( ) [inline]

The name of the file.

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

long vmware::content::library::item::StorageTypes::Info::GetSize ( ) [inline]

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.

vmware.content.library.StorageBacking vmware::content::library::item::StorageTypes::Info::GetStorageBacking ( ) [inline]

The storage backing on which this object resides.

global::System.Collections.Generic.List<global::System.Uri> vmware::content::library::item::StorageTypes::Info::GetStorageUris ( ) [inline]

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.

string vmware::content::library::item::StorageTypes::Info::GetVersion ( ) [inline]

The version of this file; incremented when a new copy of the file is uploaded.

void vmware::content::library::item::StorageTypes::Info::SetCached ( bool  cached) [inline]

Indicates whether the file is on disk or not.

void vmware::content::library::item::StorageTypes::Info::SetChecksumInfo ( vmware.content.library.item.FileTypes.ChecksumInfo  checksumInfo) [inline]

A checksum for validating the content of the file.

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

void vmware::content::library::item::StorageTypes::Info::SetName ( string  name) [inline]

The name of the file.

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

void vmware::content::library::item::StorageTypes::Info::SetSize ( long  size) [inline]

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.

void vmware::content::library::item::StorageTypes::Info::SetStorageBacking ( vmware.content.library.StorageBacking  storageBacking) [inline]

The storage backing on which this object resides.

void vmware::content::library::item::StorageTypes::Info::SetStorageUris ( global::System.Collections.Generic.List< global::System.Uri >  storageUris) [inline]

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.

void vmware::content::library::item::StorageTypes::Info::SetVersion ( string  version) [inline]

The version of this file; incremented when a new copy of the file is uploaded.

override string vmware::content::library::item::StorageTypes::Info::ToString ( ) [inline]

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