com.vmware.vcloud.sdk
Class AllocatedIpAddress

java.lang.Object
  extended by com.vmware.vcloud.sdk.VcloudResource<com.vmware.vcloud.api.rest.schema.AllocatedIpAddressType>
      extended by com.vmware.vcloud.sdk.AllocatedIpAddress

public class AllocatedIpAddress
extends VcloudResource<com.vmware.vcloud.api.rest.schema.AllocatedIpAddressType>

Helper class to access the allocated ip address of the vdc networks.

Since:
API 5.1, SDK 5.1

Constructor Summary
AllocatedIpAddress(VcloudClient client, com.vmware.vcloud.api.rest.schema.AllocatedIpAddressType resourceType)
          Constructing the AllocatedIpAddress using AllocatedIpAddressType
 
Method Summary
 com.vmware.vcloud.api.rest.schema.ReferenceType getOrgReference()
          Returns the Organization's ReferenceType
 com.vmware.vcloud.api.rest.schema.ReferenceType getOrgVdcNetworkReference()
          Returns the OrgVdcNetwork's ReferenceType
 com.vmware.vcloud.api.rest.schema.ReferenceType getVappReference()
          Returns the Vapp's ReferenceType
 com.vmware.vcloud.api.rest.schema.ReferenceType getVMReference()
          Returns the VM's ReferenceType
 
Methods inherited from class com.vmware.vcloud.sdk.VcloudResource
getReference, getResource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllocatedIpAddress

public AllocatedIpAddress(VcloudClient client,
                          com.vmware.vcloud.api.rest.schema.AllocatedIpAddressType resourceType)
Constructing the AllocatedIpAddress using AllocatedIpAddressType

Parameters:
client - VcloudClient
resourceType - AllocatedIpAddressType
Method Detail

getOrgVdcNetworkReference

public com.vmware.vcloud.api.rest.schema.ReferenceType getOrgVdcNetworkReference()
                                                                          throws VCloudException
Returns the OrgVdcNetwork's ReferenceType

Returns:
ReferenceType
Throws:
VCloudException

getOrgReference

public com.vmware.vcloud.api.rest.schema.ReferenceType getOrgReference()
                                                                throws VCloudException
Returns the Organization's ReferenceType

Returns:
ReferenceType
Throws:
VCloudException
VCloudException

getVappReference

public com.vmware.vcloud.api.rest.schema.ReferenceType getVappReference()
                                                                 throws VCloudException
Returns the Vapp's ReferenceType

Returns:
ReferenceType
Throws:
VCloudException
VCloudException

getVMReference

public com.vmware.vcloud.api.rest.schema.ReferenceType getVMReference()
                                                               throws VCloudException
Returns the VM's ReferenceType

Returns:
ReferenceType
Throws:
VCloudException
VCloudException


Copyright © 2016. All Rights Reserved.