com.vmware.vcloud.sdk
Class VdcTemplate
java.lang.Object
com.vmware.vcloud.sdk.VcloudResource<T>
com.vmware.vcloud.sdk.VcloudEntity<com.vmware.vcloud.api.rest.schema.VdcTemplateType>
com.vmware.vcloud.sdk.VdcTemplate
public class VdcTemplate
- extends VcloudEntity<com.vmware.vcloud.api.rest.schema.VdcTemplateType>
Helper class to access the VdcTempalte Resource in vCloud API.
- Since:
- API 5.7, SDK 5.7
- See Also:
VdcTemplateType
getVdcTemplateByReference
public static VdcTemplate getVdcTemplateByReference(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType vdcTemplateRef)
throws VCloudException
- Get VdcTemplate for the given VdcTemplate reference
- Parameters:
client - vdcTemplateRef -
- Returns:
VdcTemplate
- Throws:
VCloudException
getVdcTemplateById
public static VdcTemplate getVdcTemplateById(VcloudClient client,
String vCloudId)
throws VCloudException
- Get VdcTemplate helper using the vCloud ID
- Parameters:
client - VcloudClientvCloudId - format - The vCloud ID is of the form: "urn:vcloud:type:uuid". For example:
"urn:vcloud:disk:d9d976ba-e0ec-4682-a67d-380af49b54e1". String
- Returns:
VdcTemplate
- Throws:
VCloudException
Copyright © 2016. All Rights Reserved.