com.vmware.vcloud.sdk
Class OrgVdcNetwork

java.lang.Object
  extended by com.vmware.vcloud.sdk.VcloudResource<T>
      extended by com.vmware.vcloud.sdk.VcloudEntity<com.vmware.vcloud.api.rest.schema.OrgVdcNetworkType>
          extended by com.vmware.vcloud.sdk.OrgVdcNetwork

public class OrgVdcNetwork
extends VcloudEntity<com.vmware.vcloud.api.rest.schema.OrgVdcNetworkType>

Helper class for the OrgVdcNetwork Resource in vCloud User API.

Since:
API 5.1, SDK 5.1
Author:
Ecosystem Engineering

Method Summary
 List<AllocatedIpAddress> getAllocatedAddresses()
          Returns the list of allocated ip address List< AllocatedIpAddress>.
 com.vmware.vcloud.api.rest.schema.NetworkConfigurationType getConfiguration()
          Returns the OrgVdcNetwork Configuration
static OrgVdcNetwork getOrgVdcNetworkById(VcloudClient client, String vCloudId)
          Get Org Network helper using the vCloud ID
static OrgVdcNetwork getOrgVdcNetworkByReference(VcloudClient client, com.vmware.vcloud.api.rest.schema.ReferenceType orgVdcNetworkRef)
          Returns the OrgVdcNetwork By ReferenceType
 com.vmware.vcloud.api.rest.schema.ReferenceType getVdcReference()
          Returns the Parent Vdc ReferenceType.
 
Methods inherited from class com.vmware.vcloud.sdk.VcloudEntity
getMetadata, getReference, getTasks
 
Methods inherited from class com.vmware.vcloud.sdk.VcloudResource
getResource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getVdcReference

public com.vmware.vcloud.api.rest.schema.ReferenceType getVdcReference()
                                                                throws VCloudException
Returns the Parent Vdc ReferenceType.

Returns:
ReferenceType
Throws:
VCloudException

getConfiguration

public com.vmware.vcloud.api.rest.schema.NetworkConfigurationType getConfiguration()
Returns the OrgVdcNetwork Configuration

Returns:
NetworkConfigurationType

getOrgVdcNetworkByReference

public static OrgVdcNetwork getOrgVdcNetworkByReference(VcloudClient client,
                                                        com.vmware.vcloud.api.rest.schema.ReferenceType orgVdcNetworkRef)
                                                 throws VCloudException
Returns the OrgVdcNetwork By ReferenceType

Parameters:
client - VcloudClient
orgVdcNetworkRef - ReferenceType
Returns:
OrgVdcNetwork
Throws:
VCloudException

getOrgVdcNetworkById

public static OrgVdcNetwork getOrgVdcNetworkById(VcloudClient client,
                                                 String vCloudId)
                                          throws VCloudException
Get Org Network helper using the vCloud ID

Parameters:
client - VcloudClient
vCloudId - format - The vCloud ID is of the form: "urn:vcloud:type:uuid". For example: "urn:vcloud:media:d9d976ba-e0ec-4682-a67d-380af49b54e1". String
Returns:
OrgVdcNetwork
Throws:
VCloudException

getAllocatedAddresses

public List<AllocatedIpAddress> getAllocatedAddresses()
                                               throws VCloudException
Returns the list of allocated ip address List< AllocatedIpAddress>. Multiple invocations of this method returns an updated list.

Returns:
List<AllocatedIpAddress>
Throws:
VCloudException


Copyright © 2016. All Rights Reserved.