|
||||||||||
| 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.OrgType>
com.vmware.vcloud.sdk.Organization
public class Organization
Helper class to access the Organization Resource in vCLoud API.
OrgType| Method Summary | |
|---|---|
Task |
createTask(com.vmware.vcloud.api.rest.schema.TaskType taskType)
Creating a custom task. |
com.vmware.vcloud.api.rest.schema.ControlAccessParamsType |
getCatalogControlAccessByReference(com.vmware.vcloud.api.rest.schema.ReferenceType catalogRef)
Returns Catalog Control access for the given catlog reference |
Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> |
getCatalogRefs()
Returns a collection of the catalog refs |
com.vmware.vcloud.api.rest.schema.ReferenceType |
getNetworkRefByName(String name)
Deprecated. SDK 5.5 |
Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> |
getNetworkRefs()
Deprecated. SDK 5.5 |
HashMap<String,com.vmware.vcloud.api.rest.schema.ReferenceType> |
getNetworkRefsByName()
Deprecated. SDK 5.5 |
static Organization |
getOrganizationById(VcloudClient client,
String vCloudId)
Get Organization helper using the vCloud ID |
static Organization |
getOrganizationByReference(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType orgRef)
Returns Organization helper for the given reference |
com.vmware.vcloud.api.rest.schema.ReferenceType |
getTasksListRef()
Returns the tasks list ref |
com.vmware.vcloud.api.rest.schema.ReferenceType |
getVdcRefByName(String name)
Returns vdc ref for the given vdc name |
Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> |
getVdcRefs()
Returns a collection of vdc refs |
HashMap<String,com.vmware.vcloud.api.rest.schema.ReferenceType> |
getVdcRefsByName()
Returns HashMap of VDC Refs by name. |
Task |
instantiateVdcTemplate(com.vmware.vcloud.api.rest.schema.InstantiateVdcTemplateParamsType instantiateVdcTemplateParams)
Instantiating a VDC template. |
com.vmware.vcloud.api.rest.schema.ControlAccessParamsType |
updateCatalogControlAccessByReference(com.vmware.vcloud.api.rest.schema.ReferenceType catalogRef,
com.vmware.vcloud.api.rest.schema.ControlAccessParamsType controlAccessParams)
Updates the Catalog Control access for the given catalog 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 |
|---|
public static Organization getOrganizationByReference(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType orgRef)
throws VCloudException
client - vCloud API client VcloudClientorgRef - ReferenceType to the Organization ReferenceType
Organization
VCloudException
public static Organization getOrganizationById(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
Organization
VCloudException
public com.vmware.vcloud.api.rest.schema.ControlAccessParamsType getCatalogControlAccessByReference(com.vmware.vcloud.api.rest.schema.ReferenceType catalogRef)
throws VCloudException
catalogRef - ReferenceType
ControlAccessParamsType
VCloudException
public com.vmware.vcloud.api.rest.schema.ControlAccessParamsType updateCatalogControlAccessByReference(com.vmware.vcloud.api.rest.schema.ReferenceType catalogRef,
com.vmware.vcloud.api.rest.schema.ControlAccessParamsType controlAccessParams)
throws VCloudException
catalogRef - ReferenceTypecontrolAccessParams - ControlAccessParamsType
ControlAccessParamsType
VCloudExceptionpublic com.vmware.vcloud.api.rest.schema.ReferenceType getTasksListRef()
ReferenceTypepublic HashMap<String,com.vmware.vcloud.api.rest.schema.ReferenceType> getVdcRefsByName()
HashMappublic HashMap<String,com.vmware.vcloud.api.rest.schema.ReferenceType> getNetworkRefsByName()
HashMappublic Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> getVdcRefs()
Collectionpublic com.vmware.vcloud.api.rest.schema.ReferenceType getVdcRefByName(String name)
name - VDC Name
ReferenceTypepublic Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> getCatalogRefs()
Collectionpublic Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> getNetworkRefs()
Collectionpublic com.vmware.vcloud.api.rest.schema.ReferenceType getNetworkRefByName(String name)
name - Network Name
ReferenceType
public Task createTask(com.vmware.vcloud.api.rest.schema.TaskType taskType)
throws VCloudException
taskType -
Task
VCloudException
public Task instantiateVdcTemplate(com.vmware.vcloud.api.rest.schema.InstantiateVdcTemplateParamsType instantiateVdcTemplateParams)
throws VCloudException
instantiateVdcTemplateParams - InstantiateVdcTemplateParamsType
VCloudException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||