org.cloudfoundry.client.v2.serviceinstances.ServiceInstances 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.serviceinstances;
import reactor.core.publisher.Mono;
/**
* Main entry point to the Cloud Foundry Service Instances Client API
*/
public interface ServiceInstances {
/**
* Makes the Bind Service Instance To a Route request
*
* @param request the Bind Service Instance To Route request
* @return the response from the Bind Service Instance To Route request
*/
Mono bindRoute(BindServiceInstanceRouteRequest request);
/**
* Makes the Create Service Instance request
*
* @param request the Create Service Instance request
* @return the response from the Create Service Instance request
*/
Mono create(CreateServiceInstanceRequest request);
/**
* Makes the Delete the Service Instance request
*
* @param request the Delete Service Instance request
* @return the response from the Delete Service Instance request
*/
Mono delete(DeleteServiceInstanceRequest request);
/**
* Makes the Retrieve a Particular Service Instance request
*
* @param request the Get Service Instance request
* @return the response from the Get Service Instance request
*/
Mono get(GetServiceInstanceRequest request);
/**
* Makes the
* Retrieve a Particular Service Instance's Parameters
* request
*
* @param request the Get Parameters request
* @return the response from the Get Parameters request
*/
Mono getParameters(
GetServiceInstanceParametersRequest request);
/**
* Makes the Retrieving permissions on a Service Instance request
*
* @param request the Get Permissions request
* @return the response from the Get Permissions request
*/
Mono getPermissions(
GetServiceInstancePermissionsRequest request);
/**
* Makes the List Service Instances request
*
* @param request the List Service Instances request
* @return the response from the List Service Instances request
*/
Mono list(ListServiceInstancesRequest request);
/**
* Makes the List all Routes for the Service Instance request
*
* @param request the List Routes request
* @return the response from the List Routes request
*/
Mono listRoutes(ListServiceInstanceRoutesRequest request);
/**
* Makes the List all Service Bindings for the Service
* Instance request
*
* @param request the List Service Bindings request
* @return the response from the List Service Bindings request
*/
Mono listServiceBindings(
ListServiceInstanceServiceBindingsRequest request);
/**
* Makes the List all Service keys for the Service
* Instance request
*
* @param request the List Service Keys request
* @return the response from the List Service Keys request
*/
Mono listServiceKeys(
ListServiceInstanceServiceKeysRequest request);
/**
* Makes the Unbinding a Service Instance from a Route request
*
* @param request the Unbind Service Instance from a Route request
* @return the response from the Unbind Service Instance from a Route request
*/
Mono unbindRoute(UnbindServiceInstanceRouteRequest request);
/**
* Makes the Update Service Instance request
*
* @param request the Update Service Instance request
* @return the response from the Update Service Instance request
*/
Mono update(UpdateServiceInstanceRequest request);
}