com.vmware.vcloud.sdk.admin
Class ExternalNetwork

java.lang.Object
  extended by com.vmware.vcloud.sdk.VcloudResource<T>
      extended by com.vmware.vcloud.sdk.VcloudEntity<com.vmware.vcloud.api.rest.schema.ExternalNetworkType>
          extended by com.vmware.vcloud.sdk.admin.ExternalNetwork

public class ExternalNetwork
extends VcloudEntity<com.vmware.vcloud.api.rest.schema.ExternalNetworkType>

Helper class for the ExternalNetwork Resource in vCloud Admin API.

Author:
Administrator

Method Summary
static ExternalNetwork getExternalNetworkById(VcloudClient client, String vCloudId)
          Get External Network helper using the vCloud ID
static ExternalNetwork getExternalNetworkByReference(VcloudClient client, com.vmware.vcloud.api.rest.schema.ReferenceType externalNetworkRef)
          Getting the ExternalNetwork by ReferenceType
 Task reset()
          Deprecated. API 5.1, SDK 5.1 Note: This method will not work with SDK 5.1
static Task reset(VcloudClient client, com.vmware.vcloud.api.rest.schema.ReferenceType externalNetworkReference)
          Deprecated. API 5.1, SDK 5.1 Note: This method will not work with SDK 5.1
 
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

getExternalNetworkByReference

public static ExternalNetwork getExternalNetworkByReference(VcloudClient client,
                                                            com.vmware.vcloud.api.rest.schema.ReferenceType externalNetworkRef)
                                                     throws VCloudException
Getting the ExternalNetwork by ReferenceType

Parameters:
client - VcloudClient
externalNetworkRef - ReferenceType
Returns:
ExternalNetwork
Throws:
VCloudException

getExternalNetworkById

public static ExternalNetwork getExternalNetworkById(VcloudClient client,
                                                     String vCloudId)
                                              throws VCloudException
Get External 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:
ExternalNetwork
Throws:
VCloudException
Since:
API 1.5, SDK 1.5

reset

public Task reset()
           throws VCloudException
Deprecated. API 5.1, SDK 5.1 Note: This method will not work with SDK 5.1

Reset External Network

Returns:
Task
Throws:
VCloudException
Since:
API 1.5, SDK 1.5

reset

public static Task reset(VcloudClient client,
                         com.vmware.vcloud.api.rest.schema.ReferenceType externalNetworkReference)
                  throws VCloudException
Deprecated. API 5.1, SDK 5.1 Note: This method will not work with SDK 5.1

Reset External Network

Parameters:
client - VcloudClient - VcloudClient
externalNetworkReference - - ReferenceType to the External Network ExternalNetwork
Returns:
Task
Throws:
VCloudException
Since:
API 1.5, SDK 1.5


Copyright © 2016. All Rights Reserved.