public class VirtualDataCenter
extends java.lang.Object
Constructor and Description |
---|
VirtualDataCenter(RestClient client) |
Modifier and Type | Method and Description |
---|---|
VDCCapacities |
getCapacities()
Gets the Capacities for the Virtual Data Center.
|
CertificateChain |
getCertificateChain()
Gets the certificate chain that identifies a ViPR vdc.
|
java.util.List<RoleAssignmentEntry> |
getRoleAssignments()
Get Role Assignments for the VDC.
|
void |
prepareVdc()
prepare the vdc to fulfill the requirement of being able to add other vdc in this one.
|
java.util.List<RoleAssignmentEntry> |
updateRoleAssignments(RoleAssignmentChanges roleChanges)
Update Role Assignments for the VDC.
|
public VirtualDataCenter(RestClient client)
public VDCCapacities getCapacities()
API Call: GET /vdc/capacities
public CertificateChain getCertificateChain()
API Call: GET /vdc/keystore
public java.util.List<RoleAssignmentEntry> getRoleAssignments()
public java.util.List<RoleAssignmentEntry> updateRoleAssignments(RoleAssignmentChanges roleChanges)
roleChanges
- Role assignment changespublic void prepareVdc()
API Call: POST /vdc/prepare-vdc