
org.cloudfoundry.client.v2.applications.ApplicationsV2 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.applications;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
/**
* Main entry point to the Cloud Foundry Applications V2 Client API
*/
public interface ApplicationsV2 {
/**
* Makes the Associate Route with the Application request
*
* @param request the Associate Route with the Application request
* @return the response from the Associate Route with the Application request
*/
Mono associateRoute(
AssociateApplicationRouteRequest request);
/**
* Makes the Copy the app bits for an Application request
*
* @param request the Copy Application request
* @return the response from the Copy Application request
*/
Mono copy(CopyApplicationRequest request);
/**
* Makes the Creating an App request and the Creating a Docker App request.
*
* @param request the Create Application request
* @return the response from the Create Application request
*/
Mono create(CreateApplicationRequest request);
/**
* Makes the Delete the App request
*
* @param request the Delete Application request
* @return the response from the Delete Application request
*/
Mono delete(DeleteApplicationRequest request);
/**
* Makes the Downloads the bits for an App request
*
* @param request the Download Application request
* @return the response from the Download Application request
*/
Flux download(DownloadApplicationRequest request);
/**
* Makes the Downloads the staged droplet for an App request
*
* @param request the Download Droplet request
* @return the response from the Download Droplet request
*/
Flux downloadDroplet(DownloadApplicationDropletRequest request);
/**
* Makes the Get the env for an App request
*
* @param request the Get Application Environment request
* @return the response from the Get Application Environment request
*/
Mono environment(ApplicationEnvironmentRequest request);
/**
* Makes the Retrieve a Particular App request
*
* @param request the Get Application request
* @return the response from the Get Application request
*/
Mono get(GetApplicationRequest request);
/**
* Makes the Retrieve Permissions on a Particular App request
*
* @param request the Get Application Permissions request
* @return the response from the Get Application Permissions request
*/
Mono getPermissions(
GetApplicationPermissionsRequest request);
/**
* Makes the Get the instance information for a STARTED App request
*
* @param request the Get Instance Information request
* @return the response from the Get Instance Information request
*/
Mono instances(ApplicationInstancesRequest request);
/**
* Makes the List all Apps request
*
* @param request the List Applications request
* @return the response from the List Applications request
*/
Mono list(ListApplicationsRequest request);
/**
* Makes the List all Routes for the Application request
*
* @param request the List all Routes for the Application request
* @return the response from the List all Routes for the Application request
*/
Mono listRoutes(ListApplicationRoutesRequest request);
/**
* Makes the List all Service Bindings for the App request
*
* @param request the List Service Bindings request
* @return the response from the List Service Bindings request
*/
Mono listServiceBindings(
ListApplicationServiceBindingsRequest request);
/**
* Makes the Remove Route from the Application request
*
* @param request the Remove Route from the Application request
* @return the response from the Remove Route from the Application request
*/
Mono removeRoute(RemoveApplicationRouteRequest request);
/**
* Makes the Remove Service Binding from the Application request
*
* @param request the Remove a Service Binding from an Application request
* @return the response from the Remove a Service Binding from an Application request
*/
Mono removeServiceBinding(RemoveApplicationServiceBindingRequest request);
/**
* Makes the Restage an App request
*
* @param request the Restage an Application request
* @return the response from the Restage an Application request
*/
Mono restage(RestageApplicationRequest request);
/**
* Makes the Get detailed stats for a STARTED App request
*
* @param request the Get Statistics request
* @return the response from the Get Statistics request
*/
Mono statistics(ApplicationStatisticsRequest request);
/**
* Makes the Get Application Summary request
*
* @param request the Get Application Summary request
* @return the response from the Get Application Summary request
*/
Mono summary(SummaryApplicationRequest request);
/**
* Makes the Terminate Application Instance request
*
* @param request the Terminate Application Instance request
* @return the response form the Terminate Application Instance request
*/
Mono terminateInstance(TerminateApplicationInstanceRequest request);
/**
* Makes the Updating an App request
*
* @param request the Update Application request
* @return the response from the Update Application request
*/
Mono update(UpdateApplicationRequest request);
/**
* Makes the Upload the bits for an App request
*
* @param request the Upload Application request
* @return the response from the Upload Application request
*/
Mono upload(UploadApplicationRequest request);
/**
* Makes the Upload the droplet for an App request
*
* @param request the Upload Droplet request
* @return the response from the Upload Droplet request
*/
Mono uploadDroplet(UploadApplicationDropletRequest request);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy