class VMware_VCloud_SDK_Vdc extends VMware_VCloud_SDK_Abstract
| string |
getEntityId()
Get vCloud ID of the vCloud resource entity from its data object. |
from VMware_VCloud_SDK_Abstract |
| VMware_VCloud_API_ReferenceType |
getVdcRef()
Get a reference to a VMware vCloud vDC entity. |
|
| VMware_VCloud_API_VdcType |
getVdc()
Get a VMware vCloud vDC entity. |
|
| string |
getId()
Constructs vCloud ID of this vDC from its UUID. |
|
| VMware_VCloud_API_LinkType|null |
getOrgRef()
Get the link to the container of the vDC. |
|
| VMware_VCloud_API_OrgType|null |
getOrg()
Get the container entity of the vDC. |
|
| array |
getAvailableNetworkRefs(string $name = null)
Get references to VMware vCloud available organization networks. |
|
| array |
getEdgeGatewayRefs(string $name = null)
Get references to all edgegateways for this Org vDC with the given name. |
|
| array |
getAvailableNetworks(string $name = null)
Get VMware vCloud available organization networks/organization vdc networks. |
|
| VMware_VCloud_API_OrgVdcNetworkType |
addOrgVdcNetwork(VMware_VCloud_API_OrgVdcNetworkType $vdcNetwork)
Create an isolated/routed Org vDC network which can be created by an org administrator. |
|
| array |
getVAppRefs(string $name = null)
Get references to all vApps or vApps with a given name in the vDC. |
|
| array |
getVApps(string $name = null)
Get all vApps or vApps with a given name in the vDC. |
|
| array |
getVAppTemplateRefs(string $name = null)
Get references to all VMware vCloud vApp templates or vApp templates with a given name in the vDC. |
|
| array |
getVAppTemplates(string $name = null)
Get all VMware vCloud vApp templates in this vDC or vApp templates with a given name. |
|
| string |
uploadOVFAsVAppTemplate(string $name, string $ovfDescriptorPath, string $description = null, boolean $manifestRequired = null, VMware_VCloud_API_ReferenceType $vdcStorageProfileRef, VMware_VCloud_API_ReferenceType $catalogRef)
Upload vApp template from an OVF pacakage. |
|
|
checkCatalogForDuplicates(VMware_VCloud_API_ReferenceType $catalogRef, string $resourceName)
Check if the resource name is already existing in the catalog. |
||
|
addResourceToCatalog($resourceRef, $catalog)
Add the resource to catalog. |
||
| null |
uploadOVFDescriptor(string $url, string $filename)
Upload OVF descriptor. |
|
| array |
getUploadFiles(VMware_VCloud_API_VAppTemplateType $vAppTemplate)
Get file information for uploading vApp template. |
|
| VMware_VCloud_API_VAppTemplateType |
sendUploadVAppTemplateRequest(string $name, string $format, string $description = null, boolean $manifestRequired = false, VMware_VCloud_API_ReferenceType $vdcStorageProfileRef = null)
Send a upload vApp template request. |
|
| array |
getMediaRefs(string $name = null)
Get references to all VMware vCloud media or media with the given name in the vDC. |
|
| array |
getMedias(string $name = null)
Get all VMware vCloud media or media with the given name in the vDC. |
|
| VMware_VCloud_API_MediaType |
uploadIsoMedia(string $isoName, VMware_VCloud_API_MediaType $mediaType, function $onProgress = false)
Upload an ISO format media. |
|
| VMware_VCloud_API_MediaType |
uploadFloppyMedia(string $floppyName, VMware_VCloud_API_MediaType $mediaType)
Upload a floppy format media. |
|
| VMware_VCloud_API_VAppTemplateType |
captureVApp(VMware_VCloud_API_CaptureVAppParamsType $params)
Capture a vApp to create a vApp template. |
|
| VMware_VCloud_API_MediaType |
cloneMoveMedia(VMware_VCloud_API_CloneMediaParamsType $params)
Clone or move a media image. |
|
| VMware_VCloud_API_VAppType |
cloneMoveVApp(VMware_VCloud_API_CloneVAppParamsType $params)
Clone or move a vApp. |
|
| VMware_VCloud_API_VAppTemplateType |
cloneMoveVAppTemplate(VMware_VCloud_API_CloneVAppTemplateParamsType $params)
Clone or move a vApp template. |
|
| VMware_VCloud_API_VAppType |
composeVApp(VMware_VCloud_API_ComposeVAppParamsType $params)
Compose a vApp. |
|
| VMware_VCloud_API_VAppType |
instantiateVAppTemplate(VMware_VCloud_API_InstantiateVAppTemplateParamsType $params)
Instantiate a vApp template by providing a VMwareVCloudAPI_InstantiateVAppTemplateParamsType data object. |
|
| VMware_VCloud_API_VAppType |
instantiateVAppTemplateDefault(string $name, VMware_VCloud_API_ReferenceType $sourceRef, boolean $deploy = false, boolean $powerOn = false, string $description = null)
Instantiate a vApp template with default settings. |
|
| VMware_VCloud_API_MetadataType|VMware_VCloud_API_MetadataValueType|null |
getMetadata(string $key = null, string $domain = null)
Get metadata associated with the vDC or metadata associated with the vDC for the specified key in the specified domain. |
|
| VMware_VCloud_API_DiskType |
createDisk(VMware_VCloud_API_DiskCreateParamsType $params)
Create a disk. |
|
| array |
getDiskRefs(string $name = null)
Get references to all disks or a disk with a given name in the vDC. |
|
| array |
getDisks(string $name = null)
Get all disks or disk with a given name in the vDC. |
|
| array|null |
getVdcStorageProfileRefs(string $name = null)
Get vDC storage profile references. |
|
| array|null |
getVdcStorageProfiles(string $name = null)
Get vDC storage profiles. |
|
| VMware_VCloud_API_VAppType |
uploadOVFAsVApp(VMware_VCloud_API_InstantiateOvfParamsType $params, string $ovfDescriptorPath)
Creating vApp by uploading an ovf package. |
|
| VMware_VCloud_API_VAppType |
instantiateOvf(VMware_VCloud_API_InstantiateOvfParamsType $params)
Instantiate a vApp or VM from an OVF. |
public string
getEntityId()
Get vCloud ID of the vCloud resource entity from its data object.
public VMware_VCloud_API_ReferenceType
getVdcRef()
Get a reference to a VMware vCloud vDC entity.
public VMware_VCloud_API_VdcType
getVdc()
Get a VMware vCloud vDC entity.
public string
getId()
Constructs vCloud ID of this vDC from its UUID.
public VMware_VCloud_API_LinkType|null
getOrgRef()
Get the link to the container of the vDC.
public VMware_VCloud_API_OrgType|null
getOrg()
Get the container entity of the vDC.
public array
getAvailableNetworkRefs(string $name = null)
Get references to VMware vCloud available organization networks.
public array
getEdgeGatewayRefs(string $name = null)
Get references to all edgegateways for this Org vDC with the given name.
public array
getAvailableNetworks(string $name = null)
Get VMware vCloud available organization networks/organization vdc networks.
public VMware_VCloud_API_OrgVdcNetworkType
addOrgVdcNetwork(VMware_VCloud_API_OrgVdcNetworkType $vdcNetwork)
Create an isolated/routed Org vDC network which can be created by an org administrator.
public array
getVAppRefs(string $name = null)
Get references to all vApps or vApps with a given name in the vDC.
public array
getVApps(string $name = null)
Get all vApps or vApps with a given name in the vDC.
public array
getVAppTemplateRefs(string $name = null)
Get references to all VMware vCloud vApp templates or vApp templates with a given name in the vDC.
public array
getVAppTemplates(string $name = null)
Get all VMware vCloud vApp templates in this vDC or vApp templates with a given name.
public string
uploadOVFAsVAppTemplate(string $name, string $ovfDescriptorPath, string $description = null, boolean $manifestRequired = null, VMware_VCloud_API_ReferenceType $vdcStorageProfileRef, VMware_VCloud_API_ReferenceType $catalogRef)
Upload vApp template from an OVF pacakage.
public
checkCatalogForDuplicates(VMware_VCloud_API_ReferenceType $catalogRef, string $resourceName)
Check if the resource name is already existing in the catalog.
public
addResourceToCatalog($resourceRef, $catalog)
Add the resource to catalog.
public null
uploadOVFDescriptor(string $url, string $filename)
Upload OVF descriptor.
public array
getUploadFiles(VMware_VCloud_API_VAppTemplateType $vAppTemplate)
Get file information for uploading vApp template.
public VMware_VCloud_API_VAppTemplateType
sendUploadVAppTemplateRequest(string $name, string $format, string $description = null, boolean $manifestRequired = false, VMware_VCloud_API_ReferenceType $vdcStorageProfileRef = null)
Send a upload vApp template request.
public array
getMediaRefs(string $name = null)
Get references to all VMware vCloud media or media with the given name in the vDC.
public array
getMedias(string $name = null)
Get all VMware vCloud media or media with the given name in the vDC.
public VMware_VCloud_API_MediaType
uploadIsoMedia(string $isoName, VMware_VCloud_API_MediaType $mediaType, function $onProgress = false)
Upload an ISO format media.
public VMware_VCloud_API_MediaType
uploadFloppyMedia(string $floppyName, VMware_VCloud_API_MediaType $mediaType)
Upload a floppy format media.
public VMware_VCloud_API_VAppTemplateType
captureVApp(VMware_VCloud_API_CaptureVAppParamsType $params)
Capture a vApp to create a vApp template.
public VMware_VCloud_API_MediaType
cloneMoveMedia(VMware_VCloud_API_CloneMediaParamsType $params)
Clone or move a media image.
public VMware_VCloud_API_VAppType
cloneMoveVApp(VMware_VCloud_API_CloneVAppParamsType $params)
Clone or move a vApp.
public VMware_VCloud_API_VAppTemplateType
cloneMoveVAppTemplate(VMware_VCloud_API_CloneVAppTemplateParamsType $params)
Clone or move a vApp template.
public VMware_VCloud_API_VAppType
composeVApp(VMware_VCloud_API_ComposeVAppParamsType $params)
Compose a vApp.
public VMware_VCloud_API_VAppType
instantiateVAppTemplate(VMware_VCloud_API_InstantiateVAppTemplateParamsType $params)
Instantiate a vApp template by providing a VMwareVCloudAPI_InstantiateVAppTemplateParamsType data object.
public VMware_VCloud_API_VAppType
instantiateVAppTemplateDefault(string $name, VMware_VCloud_API_ReferenceType $sourceRef, boolean $deploy = false, boolean $powerOn = false, string $description = null)
Instantiate a vApp template with default settings.
public VMware_VCloud_API_MetadataType|VMware_VCloud_API_MetadataValueType|null
getMetadata(string $key = null, string $domain = null)
Get metadata associated with the vDC or metadata associated with the vDC for the specified key in the specified domain.
public VMware_VCloud_API_DiskType
createDisk(VMware_VCloud_API_DiskCreateParamsType $params)
Create a disk.
public array
getDiskRefs(string $name = null)
Get references to all disks or a disk with a given name in the vDC.
public array
getDisks(string $name = null)
Get all disks or disk with a given name in the vDC.
public array|null
getVdcStorageProfileRefs(string $name = null)
Get vDC storage profile references.
public array|null
getVdcStorageProfiles(string $name = null)
Get vDC storage profiles.
public VMware_VCloud_API_VAppType
uploadOVFAsVApp(VMware_VCloud_API_InstantiateOvfParamsType $params, string $ovfDescriptorPath)
Creating vApp by uploading an ovf package.
public VMware_VCloud_API_VAppType
instantiateOvf(VMware_VCloud_API_InstantiateOvfParamsType $params)
Instantiate a vApp or VM from an OVF.