com.vmware.vcloud.sdk
Class OrgNetwork

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

Deprecated. API 5.1, SDK 5.1, OrgNetwork only works for API 1.5. For API 5.1 use OrgVdcNetwork

public class OrgNetwork
extends VcloudEntity<com.vmware.vcloud.api.rest.schema.OrgNetworkType>

Helper class to access the Network Resource in vCloud API.

See Also:
OrgNetworkType

Method Summary
static OrgNetwork getOrgNetworkById(VcloudClient client, String vCloudId)
          Deprecated. Get OrgNetwork helper using the vCloud ID
static OrgNetwork getOrgNetworkByReference(VcloudClient client, com.vmware.vcloud.api.rest.schema.ReferenceType networkRef)
          Deprecated. Get OrgNetwork using the Network ref typically obtained from the Organization.
 com.vmware.vcloud.api.rest.schema.ReferenceType getOrgReference()
          Deprecated. Returns the Parent Organization reference
 
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

getOrgNetworkByReference

public static OrgNetwork getOrgNetworkByReference(VcloudClient client,
                                                  com.vmware.vcloud.api.rest.schema.ReferenceType networkRef)
                                           throws VCloudException
Deprecated. 
Get OrgNetwork using the Network ref typically obtained from the Organization.

Parameters:
client - vCloud API client VcloudClient
networkRef - Network ref ReferenceType
Returns:
Network helper OrgNetwork
Throws:
VCloudException
See Also:
Organization.getNetworkRefByName(String), Organization.getNetworkRefs(), Organization.getNetworkRefsByName()

getOrgNetworkById

public static OrgNetwork getOrgNetworkById(VcloudClient client,
                                           String vCloudId)
                                    throws VCloudException
Deprecated. 
Get OrgNetwork 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:
OrgNetwork
Throws:
VCloudException
Since:
API 1.5, SDK 1.5

getOrgReference

public com.vmware.vcloud.api.rest.schema.ReferenceType getOrgReference()
                                                                throws VCloudException
Deprecated. 
Returns the Parent Organization reference

Returns:
ReferenceType
Throws:
VCloudException


Copyright © 2016. All Rights Reserved.