org.jclouds.vcloud.director.v1_5.features.admin
Interface AdminNetworkApi

All Superinterfaces:
NetworkApi

public interface AdminNetworkApi
extends NetworkApi

Provides synchronous access to admin Network objects.

Author:
danikov, Adrian Cole
See Also:
AdminNetworkAsyncApi

Method Summary
 Task edit(String networkUrn, OrgNetwork network)
          Modifies an org network
 Task edit(URI networkAdminHref, OrgNetwork network)
           
 Network get(String networkUrn)
          Gets admin representation of network.
 Network get(URI networkAdminHref)
           
 Task reset(String networkUrn)
          Reset(undeploy & redeploy) networking services on a logical network.
 Task reset(URI networkAdminHref)
           
 

Method Detail

get

Network get(String networkUrn)
Gets admin representation of network. This operation could return admin representation of organization network or external network. vApp networks do not have admin representation.
 GET /admin/network/{id}
 

Specified by:
get in interface NetworkApi
Parameters:
networkUrn - the reference for the network
Returns:
the network

get

Network get(URI networkAdminHref)
Specified by:
get in interface NetworkApi

edit

Task edit(String networkUrn,
          OrgNetwork network)
Modifies an org network
 PUT /admin/network/{id}
 

Parameters:
networkUrn - the reference for the network
network - the edited network
Returns:
a task. This operation is asynchronous and the user should monitor the returned task status in order to check when it is completed.

edit

Task edit(URI networkAdminHref,
          OrgNetwork network)

reset

Task reset(String networkUrn)
Reset(undeploy & redeploy) networking services on a logical network. The reset operation can be performed on: - external networks - organization networks - vApp networks The reset operation can be performed only on deployed networks.
 POST /admin/network/{id}/action/reset
 

Parameters:
networkUrn - the reference for the network
Returns:
a task. This operation is asynchronous and the user should monitor the returned task status in order to check when it is completed.

reset

Task reset(URI networkAdminHref)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.