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

All Superinterfaces:
VdcApi

public interface AdminVdcApi
extends VdcApi

Provides synchronous access to AdminVdc.

Author:
danikov, Adrian Cole
See Also:
AdminVdcAsyncApi

Method Summary
 void disable(String vdcUrn)
          Disables a Virtual Data Center.
 void disable(URI vdcAdminHref)
           
 Task edit(String vdcUrn, AdminVdc vdc)
          Modifies a Virtual Data Center.
 Task edit(URI vdcAdminHref, AdminVdc vdc)
           
 void enable(String vdcUrn)
          Enables a Virtual Data Center.
 void enable(URI vdcAdminHref)
           
 AdminVdc get(String vdcUrn)
          Retrieves an admin view of virtual data center.
 AdminVdc get(URI vdcAdminHref)
           
 Task remove(String vdcUrn)
          Deletes a Virtual Data Center.
 Task remove(URI vdcAdminHref)
           
 
Methods inherited from interface org.jclouds.vcloud.director.v1_5.features.VdcApi
addMedia, addMedia, captureVApp, captureVApp, cloneMedia, cloneMedia, cloneVApp, cloneVApp, cloneVAppTemplate, cloneVAppTemplate, composeVApp, composeVApp, instantiateVApp, instantiateVApp, uploadVAppTemplate, uploadVAppTemplate
 

Method Detail

get

AdminVdc get(String vdcUrn)
Retrieves an admin view of virtual data center. The redwood admin can disable an organization vDC. This will prevent any further allocation to be used by the organization. Changing the state will not affect allocations already used. For example, if an organization vDC is disabled, an organization user cannot deploy or add a new virtual machine in the vDC (deploy uses memory and cpu allocations, and add uses storage allocation).

Specified by:
get in interface VdcApi
Returns:
the admin vDC or null if not found

get

AdminVdc get(URI vdcAdminHref)
Specified by:
get in interface VdcApi

edit

Task edit(String vdcUrn,
          AdminVdc vdc)
Modifies a Virtual Data Center. Virtual Data Center could be enabled or disabled. Additionally it could have one of these states FAILED_CREATION(-1), NOT_READY(0), READY(1), UNKNOWN(1) and UNRECOGNIZED(3).


edit

Task edit(URI vdcAdminHref,
          AdminVdc vdc)

remove

Task remove(String vdcUrn)
Deletes a Virtual Data Center. The Virtual Data Center should be disabled when remove is issued. Otherwise error code 400 Bad Request is returned.


remove

Task remove(URI vdcAdminHref)

enable

void enable(String vdcUrn)
Enables a Virtual Data Center. This operation enables disabled Virtual Data Center. If it is already enabled this operation has no effect.


enable

void enable(URI vdcAdminHref)

disable

void disable(String vdcUrn)
Disables a Virtual Data Center. If the Virtual Data Center is disabled this operation does not have an effect.


disable

void disable(URI vdcAdminHref)


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