All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cloudfoundry.client.v3.applications.ApplicationsV3 Maven / Gradle / Ivy

There is a newer version: 5.12.2.RELEASE
Show newest version
/*
 * 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.v3.applications;

import reactor.core.publisher.Mono;

/**
 * Main entry point to the Cloud Foundry Applications V3 Client API
 */
public interface ApplicationsV3 {

    /**
     * Makes the Create Application request
     *
     * @param request the Create Application request
     * @return the response from the Create Application request
     */
    Mono create(CreateApplicationRequest request);

    /**
     * Makes the Delete Application request
     *
     * @param request the Delete Application request
     * @return the response from the Delete Application request
     */
    Mono delete(DeleteApplicationRequest request);

    /**
     * Makes the Get Application request
     *
     * @param request the Get Application request
     * @return the response from the Get Application request
     */
    Mono get(GetApplicationRequest request);

    /**
     * Makes the Get Current Droplet request
     *
     * @param request the Get Current Droplet request
     * @return the response from the Get Current Droplet request
     */
    Mono getCurrentDroplet(
            GetApplicationCurrentDropletRequest request);

    /**
     * Makes the Get Current Droplet Relationship request
     *
     * @param request the Get Current Droplet Relationship request
     * @return the response from the Get Current Droplet Relationship request
     */
    Mono getCurrentDropletRelationship(
            GetApplicationCurrentDropletRelationshipRequest request);

    /**
     * Makes the Get Application Environment request
     *
     * @param request the Get Application Environment request
     * @return the response from the Get Application Environment request
     */
    Mono getEnvironment(
            GetApplicationEnvironmentRequest request);

    /**
     * Makes the Get Application Environment Variables request
     *
     * @param request the Get Application Environment Variables request
     * @return the response from the Get Application Environment Variables request
     */
    Mono getEnvironmentVariables(
            GetApplicationEnvironmentVariablesRequest request);

    /**
     * Makes the Get Application Feature request
     *
     * @param request the Get Application Feature request
     * @return the response from the Get Application Feature request
     */
    Mono getFeature(GetApplicationFeatureRequest request);

    /**
     * Makes the Get permissions for an Application request
     *
     * @param request the Get Permissions for an Application request
     * @return the response from the Get Permissions for an Application request
     */
    Mono getPermissions(
            GetApplicationPermissionsRequest request);

    /**
     * Makes the Get Application Process request
     *
     * @param request the Get Application Process request
     * @return the response from the Get Application Process request
     */
    Mono getProcess(GetApplicationProcessRequest request);

    /**
     * Makes the Get Statistics for a Process for an Application request
     *
     * @param request the Get Statistics for a Process for an Application request
     * @return the response from the Get Statistics for a Process for an Application request
     */
    Mono getProcessStatistics(
            GetApplicationProcessStatisticsRequest request);

    /**
     * Makes the Get SSH enabled for an Application request
     *
     * @param request the Get SSH enabled for an Application request
     * @return the response from the Get SSH enabled for an Application request
     */
    Mono getSshEnabled(GetApplicationSshEnabledRequest request);

    /**
     * Makes the List Applications request
     *
     * @param request the List Applications request
     * @return the response from the List Applications request
     */
    Mono list(ListApplicationsRequest request);

    /**
     * Makes the List Application Builds request
     *
     * @param request the List Application Builds request
     * @return the response from the List Application Builds request
     */
    Mono listBuilds(ListApplicationBuildsRequest request);

    /**
     * Makes the List Application Droplets request
     *
     * @param request the List Application Droplets request
     * @return the response from the List Application Droplets request
     */
    Mono listDroplets(ListApplicationDropletsRequest request);

    /**
     * Makes the List Application Features request
     *
     * @param request the List Application Features request
     * @return the response from the List Application Features request
     */
    Mono listFeatures(ListApplicationFeaturesRequest request);

    /**
     * Makes the List Application Packages request
     *
     * @param request the List Application Packages request
     * @return the response from the List Application Packages request
     */
    Mono listPackages(ListApplicationPackagesRequest request);

    /**
     * Makes the List Application Processes request
     *
     * @param request the List Application Processes request
     * @return the response from the List Application Processes request
     */
    Mono listProcesses(ListApplicationProcessesRequest request);

    /**
     * Makes the List Application Routes request
     *
     * @param request the List Application Routes request
     * @return the response from the List Application Routes request
     */
    Mono listRoutes(ListApplicationRoutesRequest request);

    /**
     * Makes the List Application Tasks request
     *
     * @param request the List Application Tasks request
     * @return the response from the List Application Tasks request
     */
    Mono listTasks(ListApplicationTasksRequest request);

    /**
     * Makes the Restart Application request
     *
     * @param request the Restart Application request
     * @return the response from the Restart Application request
     */
    Mono restart(RestartApplicationRequest request);

    /**
     * Makes the Scale Application request
     *
     * @param request the Scale Application request
     * @return the response from the Scale Application request
     */
    Mono scale(ScaleApplicationRequest request);

    /**
     * Makes the Set Current Droplet request
     *
     * @param request the Set Current Droplet request
     * @return the response from the Set Current Droplet request
     */
    Mono setCurrentDroplet(
            SetApplicationCurrentDropletRequest request);

    /**
     * Makes the Start Application request
     *
     * @param request the Start Application request
     * @return the response from the Start Application request
     */
    Mono start(StartApplicationRequest request);

    /**
     * Makes the Stop Application request
     *
     * @param request the Stop Application request
     * @return the response from the Stop Application request
     */
    Mono stop(StopApplicationRequest request);

    /**
     * Makes the Delete Application Process request
     *
     * @param request the Delete Application Process Instance request
     * @return the response from the Delete Application Process Instance request
     */
    Mono terminateInstance(TerminateApplicationInstanceRequest request);

    /**
     * Makes the Update Application request
     *
     * @param request the Update Application request
     * @return the response from the Update Application request
     */
    Mono update(UpdateApplicationRequest request);

    /**
     * Makes the Update Application Environment Variables request
     *
     * @param request the Update Application Environment Variables request
     * @return the response from the Update Application Environment Variables request
     */
    Mono updateEnvironmentVariables(
            UpdateApplicationEnvironmentVariablesRequest request);

    /**
     * Makes the Update Application Feature request
     *
     * @param request the Update Application Feature request
     * @return the response from the Update Application Feature request
     */
    Mono updateFeature(UpdateApplicationFeatureRequest request);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy