public interface CcOperationsOrgsSpaces
| Modifier and Type | Method and Description |
|---|---|
void |
assignUserToOrganization(UUID userGuid,
UUID orgGuid)
Assigns user identified by given GUID to organization identified by given GUID.
|
void |
assignUserToSpace(UUID userGuid,
UUID spaceGuid)
Assigns user identified by given GUID to space identified by given GUID.
|
UUID |
createOrganization(String orgName)
Creates organization with given name.
|
UUID |
createSpace(UUID orgGuid,
String name)
Creates space within given organization.
|
void |
createUser(UUID userGuid)
Creates new user with given GUID.
|
void |
deleteOrg(UUID orgGuid)
Deletes organization identified by given GUID.
|
void |
deleteSpace(UUID spaceGuid)
Deletes space identified by given GUID.
|
Collection<CcOrg> |
getAuditedOrganizations(UUID user)
Returns organizations audited by user identified by given GUID.
|
Collection<CcOrg> |
getBillingManagedOrganizations(UUID user)
Returns organizations billed by user identified by given GUID.
|
Collection<CcOrg> |
getManagedOrganizations(UUID user)
Returns organizations managed by user identified by given GUID.
|
rx.Observable<CcMemoryUsage> |
getMemoryUsage(UUID orgGuid)
Get memory usage from organization identified by given GUID.
|
rx.Observable<CcOrg> |
getOrg(UUID orgUUID)
Returns organization identified by given GUID.
|
rx.Observable<CcOrg> |
getOrgs()
Returns all organizations.
|
rx.Observable<CcOrgSummary> |
getOrgSummary(UUID orgGuid)
Get organization summary from organization identified by given GUID.
|
rx.Observable<CcSpace> |
getSpace(UUID spaceId)
Returns space identified by given GUID.
|
rx.Observable<CcSpace> |
getSpaces()
Returns all spaces.
|
rx.Observable<CcSpace> |
getSpaces(UUID org)
Returns all spaces withing organization identified by given GUID.
|
Collection<CcOrg> |
getUserOrgs(UUID user)
Returns organizations assigned to user identified by given GUID.
|
Collection<CcOrgPermission> |
getUserPermissions(UUID user,
Collection<UUID> orgIDs)
Returns users permissions for given organizations.
|
Collection<CcSpace> |
getUsersSpaces(UUID userGuid,
Role role,
UUID orgGuid)
Get spaces that user has access to in given role.
|
void |
renameOrg(UUID orgId,
String name)
Renames organization identified by given GUID.
|
void createUser(UUID userGuid)
userGuid - user GUIDUUID createOrganization(String orgName)
orgName - name of organizationUUID createSpace(UUID orgGuid, String name)
orgGuid - organization GUIDname - space namevoid assignUserToOrganization(UUID userGuid, UUID orgGuid)
userGuid - user GUIDorgGuid - organization GUIDvoid assignUserToSpace(UUID userGuid, UUID spaceGuid)
userGuid - user GUIDspaceGuid - space GUIDrx.Observable<CcOrg> getOrg(UUID orgUUID)
orgUUID - organization GUIDrx.Observable<CcOrg> getOrgs()
rx.Observable<CcSpace> getSpaces()
rx.Observable<CcSpace> getSpace(UUID spaceId)
spaceId - space GUIDrx.Observable<CcSpace> getSpaces(UUID org)
org - GUIDCollection<CcOrg> getManagedOrganizations(UUID user)
user - GUIDCollection<CcOrg> getAuditedOrganizations(UUID user)
user - GUIDCollection<CcOrg> getBillingManagedOrganizations(UUID user)
user - GUIDCollection<CcOrg> getUserOrgs(UUID user)
user - GUIDCollection<CcOrgPermission> getUserPermissions(UUID user, Collection<UUID> orgIDs)
user - GUIDorgIDs - organizations UUIDsvoid renameOrg(UUID orgId, String name)
orgId - GUIDname - new namevoid deleteOrg(UUID orgGuid)
orgGuid - GUIDvoid deleteSpace(UUID spaceGuid)
spaceGuid - GUIDCollection<CcSpace> getUsersSpaces(UUID userGuid, Role role, UUID orgGuid)
userGuid - GUIDrole - user roleorgGuid - GUIDrx.Observable<CcMemoryUsage> getMemoryUsage(UUID orgGuid)
orgGuid - GUIDrx.Observable<CcOrgSummary> getOrgSummary(UUID orgGuid)
orgGuid - GUIDCopyright © 2016 Pivotal Software, Inc.. All rights reserved.