org.cloudfoundry.client.v3.serviceinstances.ServiceInstancesV3 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.v3.serviceinstances;
import java.util.Optional;
import reactor.core.publisher.Mono;
/**
* Main entry point to the Cloud Foundry Service Instances V3 Client API
*/
public interface ServiceInstancesV3 {
/**
* Makes the
* Create A Service Instance request
*
* @param request the Create Service Instance request
* @return the response from Create Service Instance request
*/
Mono create(CreateServiceInstanceRequest request);
/**
* Makes the
* Get A Service Instance request
*
* @param request the Get Service Instance request
* @return the response from Get Service Instance request
*/
Mono get(GetServiceInstanceRequest request);
/**
* Makes the
* Delete A Service Instance request
*
* @param request the Delete Service Instance request
* @return the response from Delete Service Instance request
*/
Mono> delete(DeleteServiceInstanceRequest request);
/**
* Makes the
* Get parameters for a managed service instance request
*
* @param request the Get Managed Service Parameters request
* @return the response from Get Managed Service Parameters request
*/
Mono getManagedServiceParameters(
GetManagedServiceParametersRequest request);
/**
* Makes the
* Get credentials for a user-provided service instance request
*
* @param request the Get User Provided Credentials request
* @return the response from Get User provided Credentials request
*/
Mono getUserProvidedCredentials(
GetUserProvidedCredentialsRequest 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 shared spaces relationship request
*
* @param request the List Shared Spaces Relationship request
* @return the response from the List Shared Spaces Relationship request
*/
Mono listSharedSpacesRelationship(
ListSharedSpacesRelationshipRequest request);
/**
* Makes the
* Share a service instance to other spaces request
*
* @param request the Share Service Instance To Other Spaces request
* @return the response from the Share Service Instance To Other Spaces request
*/
Mono share(ShareServiceInstanceRequest request);
/**
* Makes the
* Unshare a service instance from another space request
*
* @param request the Unshare Service Instance From Another Space request
* @return the response from the Unshare Service Instance From Another Space request
*/
Mono unshare(UnshareServiceInstanceRequest request);
/**
* Makes the
* Update a service instance request
*
* @param request the Update Service Instance request
* @return the response from the Update Service Instance request
*/
Mono update(UpdateServiceInstanceRequest request);
}