|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vmware.vcloud.sdk.VcloudResource<T>
com.vmware.vcloud.sdk.VcloudEntity<com.vmware.vcloud.api.rest.schema.AdminVdcType>
com.vmware.vcloud.sdk.admin.AdminVdc
public class AdminVdc
Helper class for the Admin Vdc Resource in vCloud Admin API.
| Method Summary | |
|---|---|
com.vmware.vcloud.api.rest.schema.SelectorExtensionType |
createAdminVdcSelectorExtension(com.vmware.vcloud.api.rest.schema.SelectorExtensionType selectorExtensionType)
Creates a Selector Extension for selector VDC. |
EdgeGateway |
createEdgeGateway(com.vmware.vcloud.api.rest.schema.GatewayType gatewayParams)
Creating a edgeGateway. |
AdminOrgVdcNetwork |
createOrgVdcNetwork(com.vmware.vcloud.api.rest.schema.OrgVdcNetworkType orgVdcNetworkParams)
Create an Org vDC Network. |
Task |
delete()
Delete AdminVdc, AdminVdc should be disabled before deletion |
static Task |
delete(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType adminVdcRef)
Delete AdminVdc, AdminVdc should be disabled before deletion |
void |
deleteAdminVdcSelectorExtensionById(String selectorExtensionId)
Deletes a Selector Extension that is associated with this VDC. |
void |
disable()
Disable the Vdc |
static void |
disable(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType adminVdcRef)
Disable the Vdc |
Task |
disableFastProvisioning()
Disable fast provisioning |
void |
enable()
Enable the Vdc |
static void |
enable(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType adminVdcRef)
Enable the Vdc |
Task |
enableFastProvisioning()
Enable fast provisioning. |
com.vmware.vcloud.api.rest.schema.ReferenceType |
getAdminOrganizationReference()
Returns the Parent Admin Organization ReferenceType. |
com.vmware.vcloud.api.rest.schema.ReferenceType |
getAdminOrgNetworkRefByName(String name)
Deprecated. API 5.1, SDK 5.1 Note: When used against API 1.5 it returns the Org Network references. When used against API 5.1 it returns Org Vdc Network references. |
Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> |
getAdminOrgNetworkRefs()
Deprecated. API 5.1, SDK 5.1 Note: When used against API 1.5 it returns the Org Network references. When used against API 5.1 it returns Org Vdc Network references. |
HashMap<String,com.vmware.vcloud.api.rest.schema.ReferenceType> |
getAdminOrgNetworkRefsByName()
Deprecated. API 5.1, SDK 5.1 Note: When used against API 1.5 it returns the Org Network references. When used against API 5.1 it returns Org Vdc Network references. |
static AdminVdc |
getAdminVdcById(VcloudClient client,
String vCloudId)
Get Admin Vdc helper using the vCloud ID |
static AdminVdc |
getAdminVdcByReference(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType vdcRef)
Returns AdminVdc using the AdminVdc ref typically obtained from the Organization. |
List<com.vmware.vcloud.api.rest.schema.SelectorExtensionType> |
getAdminVdcSelectorExtension()
Retrieves a list of Selector Extensions that are associated with this VDC. |
com.vmware.vcloud.api.rest.schema.SelectorExtensionType |
getAdminVdcSelectorExtensionById(String selectorExtensionId)
Retrieves a Selector Extension that is associated with this VDC. |
Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> |
getAdminVdcStorageProfileRefs()
Returns the storage profile references for this vdc. |
Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> |
getDiskRefs()
Getting the disk references |
ReferenceResult |
getEdgeGatewayRefs()
Returns the list of all the edgeGateway references. |
Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> |
getMediaRefs()
Returns the media references |
com.vmware.vcloud.api.rest.schema.ReferenceType |
getNetworkPoolRef()
Returns the network pool reference |
ReferenceResult |
getOrgVdcNetworkRefs()
Returns the list of all the org vdc network references. |
com.vmware.vcloud.api.rest.schema.ReferenceType |
getProviderVdcRef()
Returns the provider vdc reference |
com.vmware.vcloud.api.rest.schema.extension.VimObjectRefType |
getResourcePoolVimRef()
Returns the ResourcePool VIM Object reference. |
HashMap<String,com.vmware.vcloud.api.rest.schema.extension.VimObjectRefType> |
getResourcePoolVimRefsByMoref()
Get the Org Vdc's backing resource pool vim object references by moref. |
com.vmware.vcloud.api.rest.schema.ReferenceType |
getVappRefByName(String name)
Returns the vapp reference by name |
Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> |
getVappRefs()
Returns the vapp references |
HashMap<String,com.vmware.vcloud.api.rest.schema.ReferenceType> |
getVappRefsByName()
Returns the vapp references by name |
Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> |
getVappTemplateRefs()
Returns the vapp template references |
com.vmware.vcloud.api.rest.schema.ReferenceType |
getVdcReference()
Returns the Vdc ReferenceType. |
Task |
registerVapp(com.vmware.vcloud.api.rest.schema.RegisterVAppParamsType registerVappParams)
Create a vApp based on a set of .vmx files and resource mappings |
Task |
updateAdminVdc(com.vmware.vcloud.api.rest.schema.AdminVdcType adminVdcType)
Updating the Admin Vdc |
com.vmware.vcloud.api.rest.schema.SelectorExtensionType |
updateAdminVdcSelectorExtensionById(String selectorExtensionId,
com.vmware.vcloud.api.rest.schema.SelectorExtensionType selectorExtensionType)
Updates a Selector Extension that is associated with this VDC. |
Task |
updateAdminVdcStorageProfiles(List<com.vmware.vcloud.api.rest.schema.VdcStorageProfileParamsType> addStorageProfiles,
List<com.vmware.vcloud.api.rest.schema.ReferenceType> removeStorageProfiles)
Updating the vdc storage profiles. |
| 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 |
|---|
public static AdminVdc getAdminVdcByReference(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType vdcRef)
throws VCloudException
client - vCloud API client VcloudClientvdcRef - Ref to Vdc ReferenceType
AdminVdc
VCloudExceptionAdminOrganization.getAdminVdcRefs(),
AdminOrganization.getAdminVdcRefsByName(),
AdminOrganization.getAdminVdcRefByName(String)
public static AdminVdc getAdminVdcById(VcloudClient client,
String vCloudId)
throws VCloudException
client - VcloudClientvCloudId - format - The vCloud ID is of the form: "urn:vcloud:type:uuid". For example:
"urn:vcloud:media:d9d976ba-e0ec-4682-a67d-380af49b54e1". String
AdminVdc
VCloudException
public Task updateAdminVdc(com.vmware.vcloud.api.rest.schema.AdminVdcType adminVdcType)
throws VCloudException
adminVdcType - AdminVdcType
Task
VCloudException
public Task delete()
throws VCloudException
Task
VCloudException
public static Task delete(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType adminVdcRef)
throws VCloudException
client - vCloud Client VcloudClientadminVdcRef - Admin Vdc Ref
Task
VCloudException
public void enable()
throws VCloudException
VCloudException
public static void enable(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType adminVdcRef)
throws VCloudException
client - VcloudClientadminVdcRef -
VCloudException
public void disable()
throws VCloudException
VCloudException
public static void disable(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType adminVdcRef)
throws VCloudException
client - VcloudClientadminVdcRef -
VCloudException
public Task enableFastProvisioning()
throws VCloudException
Task
VCloudException
public Task disableFastProvisioning()
throws VCloudException
Task
VCloudException
public com.vmware.vcloud.api.rest.schema.ReferenceType getAdminOrganizationReference()
throws VCloudException
ReferenceType
VCloudException
public com.vmware.vcloud.api.rest.schema.ReferenceType getVdcReference()
throws VCloudException
ReferenceType
VCloudException
public com.vmware.vcloud.api.rest.schema.extension.VimObjectRefType getResourcePoolVimRef()
throws VCloudException
VimObjectRefType
VCloudException
public HashMap<String,com.vmware.vcloud.api.rest.schema.extension.VimObjectRefType> getResourcePoolVimRefsByMoref()
throws VCloudException
HashMap<String, VimObjectRefType>
VCloudExceptionpublic HashMap<String,com.vmware.vcloud.api.rest.schema.ReferenceType> getAdminOrgNetworkRefsByName()
HashMappublic Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> getAdminOrgNetworkRefs()
Collectionpublic com.vmware.vcloud.api.rest.schema.ReferenceType getAdminOrgNetworkRefByName(String name)
name -
ReferenceTypepublic Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> getVappTemplateRefs()
Collectionpublic Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> getMediaRefs()
Collectionpublic HashMap<String,com.vmware.vcloud.api.rest.schema.ReferenceType> getVappRefsByName()
HashMappublic Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> getVappRefs()
Collectionpublic com.vmware.vcloud.api.rest.schema.ReferenceType getVappRefByName(String name)
name -
ReferenceTypepublic com.vmware.vcloud.api.rest.schema.ReferenceType getProviderVdcRef()
ReferenceType
public com.vmware.vcloud.api.rest.schema.ReferenceType getNetworkPoolRef()
throws VCloudException
ReferenceType
VCloudExceptionpublic Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> getAdminVdcStorageProfileRefs()
Collectionpublic Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> getDiskRefs()
public Task updateAdminVdcStorageProfiles(List<com.vmware.vcloud.api.rest.schema.VdcStorageProfileParamsType> addStorageProfiles,
List<com.vmware.vcloud.api.rest.schema.ReferenceType> removeStorageProfiles)
throws VCloudException
addStorageProfiles - - list of vdc storage profiles which can be added.removeStorageProfiles - - list of vdc storage profile references which needs to be removed from this vdc.
Task
VCloudException
public EdgeGateway createEdgeGateway(com.vmware.vcloud.api.rest.schema.GatewayType gatewayParams)
throws VCloudException
gatewayParams - GatewayType
EdgeGateway
VCloudException
public ReferenceResult getEdgeGatewayRefs()
throws VCloudException
ReferenceResult
VCloudException
public ReferenceResult getOrgVdcNetworkRefs()
throws VCloudException
ReferenceResult
VCloudException
public AdminOrgVdcNetwork createOrgVdcNetwork(com.vmware.vcloud.api.rest.schema.OrgVdcNetworkType orgVdcNetworkParams)
throws VCloudException
orgVdcNetworkParams - OrgVdcNetworkType
AdminOrgVdcNetwork
VCloudException
public Task registerVapp(com.vmware.vcloud.api.rest.schema.RegisterVAppParamsType registerVappParams)
throws VCloudException
registerVappParams -
Task
VCloudException
public com.vmware.vcloud.api.rest.schema.SelectorExtensionType createAdminVdcSelectorExtension(com.vmware.vcloud.api.rest.schema.SelectorExtensionType selectorExtensionType)
throws VCloudException
SelectorExtensionType -
SelectorExtensionType
VCloudException
public List<com.vmware.vcloud.api.rest.schema.SelectorExtensionType> getAdminVdcSelectorExtension()
throws VCloudException
List SelectorExtensionType
VCloudException
public com.vmware.vcloud.api.rest.schema.SelectorExtensionType getAdminVdcSelectorExtensionById(String selectorExtensionId)
throws VCloudException
string - selectorExtensionId
SelectorExtensionType
VCloudException
public com.vmware.vcloud.api.rest.schema.SelectorExtensionType updateAdminVdcSelectorExtensionById(String selectorExtensionId,
com.vmware.vcloud.api.rest.schema.SelectorExtensionType selectorExtensionType)
throws VCloudException
SelectorExtensionType - SelectorExtensionTypeString - SelectorExtensionId
SelectorExtensionType
VCloudException
public void deleteAdminVdcSelectorExtensionById(String selectorExtensionId)
throws VCloudException
String - SelectorExtensionId
VCloudException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||