-
XenServer Software Development Kit
-
-
-
Class: PVS_cache_storage
-
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Class: PVS_cache_storage
Describes the storage that is available to a PVS site for caching purposes
Fields for class: PVS_cache_storage
| Field | Type | Qualifier | Description |
|---|---|---|---|
host |
host ref |
RO/constructor | The host on which this object defines PVS cache storage |
site |
PVS_site ref |
RO/constructor | The PVS_site for which this object defines the storage |
size |
int |
RO/constructor | The size of the cache VDI (in bytes) |
SR |
SR ref |
RO/constructor | SR providing storage for the PVS cache |
uuid |
string |
RO/runtime | Unique identifier/object reference |
VDI |
VDI ref |
RO/runtime | The VDI used for caching |
RPCs associated with class: PVS_cache_storage
RPC name: create
Overview:
Create a new PVS_cache_storage instance, and return its handle.
Signature:
PVS_cache_storage ref create (session ref session_ref, PVS_cache_storage record args)
<!--NeedCopy-->
Arguments:
| Type | Name | Description |
|---|---|---|
session ref |
session_ref |
Reference to a valid session |
PVS_cache_storage record |
args |
All constructor arguments |
Minimum Role: pool-operator
Return Type: PVS_cache_storage ref
reference to the newly created object
RPC name: destroy
Overview:
Destroy the specified PVS_cache_storage instance.
Signature:
void destroy (session ref session_ref, PVS_cache_storage ref self)
<!--NeedCopy-->
Arguments:
| Type | Name | Description |
|---|---|---|
session ref |
session_ref |
Reference to a valid session |
PVS_cache_storage ref |
self |
reference to the object |
Minimum Role: pool-operator
Return Type: void
RPC name: get_all
Overview:
Return a list of all the PVS_cache_storages known to the system.
Signature:
PVS_cache_storage ref set get_all (session ref session_ref)
<!--NeedCopy-->
Arguments:
| Type | Name | Description |
|---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: read-only
Return Type: PVS_cache_storage ref set
references to all objects
RPC name: get_all_records
Overview:
Return a map of PVS_cache_storage references to PVS_cache_storage records for all PVS_cache_storages known to the system.
Signature:
(PVS_cache_storage ref -> PVS_cache_storage record) map get_all_records (session ref session_ref)
<!--NeedCopy-->
Arguments:
| Type | Name | Description |
|---|---|---|
session ref |
session_ref |
Reference to a valid session |
Minimum Role: read-only
Return Type: (PVS_cache_storage ref -> PVS_cache_storage record) map
records of all objects
RPC name: get_by_uuid
Overview:
Get a reference to the PVS_cache_storage instance with the specified UUID.
Signature:
PVS_cache_storage ref get_by_uuid (session ref session_ref, string uuid)
<!--NeedCopy-->
Arguments:
| Type | Name | Description |
|---|---|---|
session ref |
session_ref |
Reference to a valid session |
string |
uuid |
UUID of object to return |
Minimum Role: read-only
Return Type: PVS_cache_storage ref
reference to the object
RPC name: get_host
Overview:
Get the host field of the given PVS_cache_storage.
Signature:
host ref get_host (session ref session_ref, PVS_cache_storage ref self)
<!--NeedCopy-->
Arguments:
| Type | Name | Description |
|---|---|---|
session ref |
session_ref |
Reference to a valid session |
PVS_cache_storage ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: host ref
value of the field
RPC name: get_record
Overview:
Get a record containing the current state of the given PVS_cache_storage.
Signature:
PVS_cache_storage record get_record (session ref session_ref, PVS_cache_storage ref self)
<!--NeedCopy-->
Arguments:
| Type | Name | Description |
|---|---|---|
session ref |
session_ref |
Reference to a valid session |
PVS_cache_storage ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: PVS_cache_storage record
all fields from the object
RPC name: get_site
Overview:
Get the site field of the given PVS_cache_storage.
Signature:
PVS_site ref get_site (session ref session_ref, PVS_cache_storage ref self)
<!--NeedCopy-->
Arguments:
| Type | Name | Description |
|---|---|---|
session ref |
session_ref |
Reference to a valid session |
PVS_cache_storage ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: PVS_site ref
value of the field
RPC name: get_size
Overview:
Get the size field of the given PVS_cache_storage.
Signature:
int get_size (session ref session_ref, PVS_cache_storage ref self)
<!--NeedCopy-->
Arguments:
| Type | Name | Description |
|---|---|---|
session ref |
session_ref |
Reference to a valid session |
PVS_cache_storage ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: int
value of the field
RPC name: get_SR
Overview:
Get the SR field of the given PVS_cache_storage.
Signature:
SR ref get_SR (session ref session_ref, PVS_cache_storage ref self)
<!--NeedCopy-->
Arguments:
| Type | Name | Description |
|---|---|---|
session ref |
session_ref |
Reference to a valid session |
PVS_cache_storage ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: SR ref
value of the field
RPC name: get_uuid
Overview:
Get the uuid field of the given PVS_cache_storage.
Signature:
string get_uuid (session ref session_ref, PVS_cache_storage ref self)
<!--NeedCopy-->
Arguments:
| Type | Name | Description |
|---|---|---|
session ref |
session_ref |
Reference to a valid session |
PVS_cache_storage ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: string
value of the field
RPC name: get_VDI
Overview:
Get the VDI field of the given PVS_cache_storage.
Signature:
VDI ref get_VDI (session ref session_ref, PVS_cache_storage ref self)
<!--NeedCopy-->
Arguments:
| Type | Name | Description |
|---|---|---|
session ref |
session_ref |
Reference to a valid session |
PVS_cache_storage ref |
self |
reference to the object |
Minimum Role: read-only
Return Type: VDI ref
value of the field
Share
Share
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.