VMware Cloud Director API - VAppLeaseSettings

VMware Cloud Director API - VAppLeaseSettings

OrgLeaseSettingsType

Element:
VAppLeaseSettings
Type:
OrgLeaseSettingsType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
Represents default lease durations and policies for this organization.
Since:
0.9
Schema:
vCloudEntities.xsd
Media type(s):
application/vnd.vmware.admin.vAppLeaseSettings+json
application/vnd.vmware.admin.vAppLeaseSettings+xml
Extends:
ResourceType
XML Representation:
<VAppLeaseSettings xmlns="http://www.vmware.com/vcloud/v1.5" href="xs:anyURI" type="xs:string">
    <Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
            rel="xs:string" model="xs:string"/>
    <DeleteOnStorageLeaseExpiration> xs:boolean </DeleteOnStorageLeaseExpiration>
    <DeploymentLeaseSeconds> xs:int </DeploymentLeaseSeconds>
    <StorageLeaseSeconds> xs:int </StorageLeaseSeconds>
    <PowerOffOnRuntimeLeaseExpiration> xs:boolean </PowerOffOnRuntimeLeaseExpiration>
</VAppLeaseSettings>

Attributes

Attribute Type Required Modifiable Since Deprecated Description
href anyURI No always 0.9 The URI of the entity.
type string No always 0.9 The MIME type of the entity.

Elements

Element Type Required Modifiable Since Deprecated Description
DeleteOnStorageLeaseExpiration boolean No always 0.9 If true, storage for a vApp is deleted when the vApp's lease expires. If false, the storage is flagged for deletion, but not deleted.
DeploymentLeaseSeconds int No always 0.9 Default duration of a vApp deployment lease, in seconds.
Link LinkType No none 0.9 A reference to an entity or operation associated with this object.
PowerOffOnRuntimeLeaseExpiration boolean No always 25.0 When true, vApps are powered off when the runtime lease expires. When false or missing, vApps are suspended when the runtime lease expires.
StorageLeaseSeconds int No always 0.9 Default duration of a storage lease, in seconds.
VCloudExtension VCloudExtensionType No always 0.9 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.

Operations

CRUD Operation Description Since Deprecated
read GET /admin/org/{id}/settings/vAppLeaseSettings Retrieve organization vApp lease settings. 1.5
update PUT /admin/org/{id}/settings/vAppLeaseSettings Update organization vApp lease settings. 1.5