VMware Cloud Director API - GET-LeaseSettingsSection-vApp
GET /vApp/{id}/leaseSettingsSection
- Operation:
- GET /vApp/{id}/leaseSettingsSection
- Description:
- Retrieves the lease settings section of a vApp or vApp template
- Since:
- 0.9
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
LeaseSettingsSectionType
- Produce media type(s):
-
application/vnd.vmware.vcloud.leaseSettingsSection+xml
application/vnd.vmware.vcloud.leaseSettingsSection+json
- Output type:
- LeaseSettingsSectionType
- Examples
-
- Request
-
HTTP 1.1
GET /api/vApp/vapp-bba47763-0ce1-45b9-8470-ea29ba58c52f/leaseSettingsSection/
Headers:
x-vcloud-authorization: uJ13vBx80VGzZ0KcClBqxHNDJr3QI0K5KaQ0YKn2YZ0=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 1065
Content-Type: application/vnd.vmware.vcloud.leasesettingssection+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><LeaseSettingsSection
xmlns="http://www.vmware.com/vcloud/v1.5"
xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
href="https://vcloud.example.com/api/vApp/vapp-bba47763-0ce1-45b9-8470-ea29ba58c52f/leaseSettingsSection/"
ovf:required="false"
type="application/vnd.vmware.vcloud.leaseSettingsSection+xml"
xsi:schemaLocation="http://schemas.dmtf.org/ovf/envelope/1 http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
<ovf:Info>Lease settings section</ovf:Info>
<Link
href="https://vcloud.example.com/api/vApp/vapp-bba47763-0ce1-45b9-8470-ea29ba58c52f/leaseSettingsSection/"
rel="edit"
type="application/vnd.vmware.vcloud.leaseSettingsSection+xml"/>
<DeploymentLeaseInSeconds>604800</DeploymentLeaseInSeconds>
<StorageLeaseInSeconds>2592000</StorageLeaseInSeconds>
<StorageLeaseExpiration>2013-03-16T13:16:59.490+02:00</StorageLeaseExpiration>
</LeaseSettingsSection>