org.cloudfoundry.client.v2.spaces.Spaces Maven / Gradle / Ivy
/*
* Copyright 2013-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.cloudfoundry.client.v2.spaces;
import reactor.core.publisher.Mono;
/**
* Main entry point to the Cloud Foundry Spaces Client API
*/
public interface Spaces {
/**
* Makes the Associate Auditor with the Space request
*
* @param request the Associate Auditor request
* @return the response from the Associate Auditor request
*/
Mono associateAuditor(AssociateSpaceAuditorRequest request);
/**
* Makes the Associate Auditor with the Space by Username request
*
* @param request the Associate Auditor with the Space by Username request
* @return the response from the Associate Auditor with the Space by Username request
*/
Mono associateAuditorByUsername(
AssociateSpaceAuditorByUsernameRequest request);
/**
* Makes the Associate Developer with the Space request
*
* @param request the Associate Developer request
* @return the response from the Associate Developer request
*/
Mono associateDeveloper(
AssociateSpaceDeveloperRequest request);
/**
* Makes the Associate Developer with the Space by Username request
*
* @param request the Associate Developer with the Space by Username request
* @return the response from the Associate Developer with the Space by Username request
*/
Mono associateDeveloperByUsername(
AssociateSpaceDeveloperByUsernameRequest request);
/**
* Makes the Associate Manager with the Space request
*
* @param request the Associate Manager request
* @return the response from the Associate Manager request
*/
Mono associateManager(AssociateSpaceManagerRequest request);
/**
* Makes the Associate Manager with the Space by Username request
*
* @param request the Associate Manager with the Space by Username request
* @return the response from the Associate Manager with the Space by Username request
*/
Mono associateManagerByUsername(
AssociateSpaceManagerByUsernameRequest request);
/**
* Makes the Associate Security Group with the Space request
*
* @param request the Associate Security Group request
* @return the response from the Associate Security Group request
*/
Mono associateSecurityGroup(
AssociateSpaceSecurityGroupRequest request);
/**
* Makes the Create Space request
*
* @param request the Create Space request
* @return the response from the Create Space request
*/
Mono create(CreateSpaceRequest request);
/**
* Makes the Delete a Particular Space request
*
* @param request the Delete a Space request
* @return the response from the Delete a Space request
*/
Mono delete(DeleteSpaceRequest request);
/**
* Makes the Get Space request
*
* @param request the Get Space request
* @return the response from the Get Space request
*/
Mono get(GetSpaceRequest request);
/**
* Makes the Get Space Summary request
*
* @param request the Get Space Summary request
* @return the response from the Get Space Summary request
*/
Mono getSummary(GetSpaceSummaryRequest request);
/**
* Makes the List Spaces request
*
* @param request the List Spaces request
* @return the response from the List Spaces request
*/
Mono list(ListSpacesRequest request);
/**
* Makes the List all Apps for the Space request
*
* @param request the List all Apps for the Space request
* @return the response from the List all Apps for the Space request
*/
Mono listApplications(ListSpaceApplicationsRequest request);
/**
* Makes the List all Auditors for the Space request
*
* @param request the List all Auditors for the Space request
* @return the response from the List all Auditors for the Space request
*/
Mono listAuditors(ListSpaceAuditorsRequest request);
/**
* Makes the List all Developers for the Space request
*
* @param request the List all Developers for the Space request
* @return the response from the List all Developers for the Space request
*/
Mono listDevelopers(ListSpaceDevelopersRequest request);
/**
* Makes the deprecated List all Domains for the Space request
*
* @param request the List all Domains for the Space request
* @return the response from the List all Domains for the Space request
*/
@Deprecated
Mono listDomains(ListSpaceDomainsRequest request);
/**
* Makes the List all Events for the Space request
*
* @param request the List all Events for the Space request
* @return the response from the List all Events for the Space request
*/
Mono listEvents(ListSpaceEventsRequest request);
/**
* Makes the List all Managers for the Space request
*
* @param request the List all Managers for the Space request
* @return the response from the List all Managers for the Space request
*/
Mono listManagers(ListSpaceManagersRequest request);
/**
* Makes the List all Routes for the Space request
*
* @param request the List all Routes for the Space request
* @return the response from the List all Routes for the Space request
*/
Mono listRoutes(ListSpaceRoutesRequest request);
/**
* Makes the List all Security Groups for the Space request
*
* @param request the List all Security Groups for the Space request
* @return the response from the List all Security Groups for the Space request
*/
Mono listSecurityGroups(
ListSpaceSecurityGroupsRequest request);
/**
* Makes the List all Service Instances for the Space request
*
* @param request the List all Service Instances for the Space request
* @return the response from the List all Service Instances for the Space request
*/
Mono listServiceInstances(
ListSpaceServiceInstancesRequest request);
/**
* Makes the List all Services for the Space request
*
* @param request the List all Services for the Space request
* @return the response from the List all Services for the Space request
*/
Mono listServices(ListSpaceServicesRequest request);
/**
* Makes the Retrieving the roles of all Users in the Space request
*
* @param request the Retrieving the roles of all Users in the Space request
* @return the response from the Retrieving the roles of all Users in the Space request
*/
Mono listUserRoles(ListSpaceUserRolesRequest request);
/**
* Makes the Remove Auditor from the Space request
*
* @param request the Remove Auditor from the Space request
* @return the response from the Remove Auditor from the Space request
*/
Mono removeAuditor(RemoveSpaceAuditorRequest request);
/**
* Makes the Disassociate Auditor with the Space by Username request
*
* @param request the Disassociate Auditor with the Space by Username request
* @return the response from the Disassociate Auditor with the Space by Username request
*/
Mono removeAuditorByUsername(
RemoveSpaceAuditorByUsernameRequest request);
/**
* Makes the Remove Developer from the Space request
*
* @param request the Remove Developer from the Space request
* @return the response from the Remove Developer from the Space request
*/
Mono removeDeveloper(RemoveSpaceDeveloperRequest request);
/**
* Makes the Disassociate Developer with the Space by Username request
*
* @param request the Disassociate Developer with the Space by Username request
* @return the response from the Disassociate Developer with the Space by Username request
*/
Mono removeDeveloperByUsername(
RemoveSpaceDeveloperByUsernameRequest request);
/**
* Makes the Remove Manager from the Space request
*
* @param request the Remove Manager from the Space request
* @return the response from the Remove Manager from the Space request
*/
Mono removeManager(RemoveSpaceManagerRequest request);
/**
* Makes the Disassociate Manager with the Space by Username request
*
* @param request the Disassociate Manager with the Space by Username request
* @return the response from the Disassociate Manager with the Space by Username request
*/
Mono removeManagerByUsername(
RemoveSpaceManagerByUsernameRequest request);
/**
* Makes the Remove Security Group from the Space request
*
* @param request the Remove Security Group from the Space request
* @return the response from the Remove Security Group from the Space request
*/
Mono removeSecurityGroup(RemoveSpaceSecurityGroupRequest request);
/**
* Makes the Update a Space request
*
* @param request the Update a Space request
* @return the response from the Update a Space request
*/
Mono update(UpdateSpaceRequest request);
}