org.cloudfoundry.client.v2.securitygroups.SecurityGroups 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.securitygroups;
import reactor.core.publisher.Mono;
public interface SecurityGroups {
/**
* Makes the Associate Space with the Security Group request.
*
* @param request the associate security group space request
* @return the response from the associate security group space request
*/
Mono associateSpace(
AssociateSecurityGroupSpaceRequest request);
/**
* Makes the Creating a Security Group request.
*
* @param request the create security group request
* @return the response from the create security group request
*/
Mono create(CreateSecurityGroupRequest request);
/**
* Makes the Delete a Particular Security Group request.
*
* @param request the delete security group request
* @return the response from the delete security group request
*/
Mono delete(DeleteSecurityGroupRequest request);
/**
* Makes the Retrieve a Particular Security Group request.
*
* @param request the get security groups request
* @return the response from the get security groups request
*/
Mono get(GetSecurityGroupRequest request);
/**
* Makes the List all Security Groups request.
*
* @param request the list all security groups request
* @return the response from the list all security groups request
*/
Mono list(ListSecurityGroupsRequest request);
/**
* Makes the List Running Security Groups
* request.
*
* @param request the list running security groups request
* @return the response from the list running security groups request
*/
Mono listRunningDefaults(
ListSecurityGroupRunningDefaultsRequest request);
/**
* Makes the List all Spaces for the Security Group request.
*
* @param request the list all spaces for the security group request
* @return the response from the list all spaces for the security group request
*/
Mono listSpaces(ListSecurityGroupSpacesRequest request);
/**
* Makes the List Staging Security Groups request.
*
* @param request the list staging security groups request
* @return the response from the list staging security groups request
*/
Mono listStagingDefaults(
ListSecurityGroupStagingDefaultsRequest request);
/**
* Makes the
* Removing a Security Group as a default for running Apps request.
*
* @param request the remove running security group request
* @return the response from the remove running security group request
*/
Mono removeRunningDefault(RemoveSecurityGroupRunningDefaultRequest request);
/**
* Makes the Remove Space from the Security Group request.
*
* @param request the remove security group space request
* @return the response from the remove security group space request
*/
Mono removeSpace(RemoveSecurityGroupSpaceRequest request);
/**
* Makes the
* Removing a Security Group as a default for staging request.
*
* @param request the remove staging security group request
* @return the response from the remove staging security group request
*/
Mono removeStagingDefault(RemoveSecurityGroupStagingDefaultRequest request);
/**
* Makes the Set a Security Group as a default for
* running Apps request.
*
* @param request the list running security groups request
* @return the response from the list running security groups request
*/
Mono setRunningDefault(
SetSecurityGroupRunningDefaultRequest request);
/**
* Makes the Set a Security Group as a default for
* staging Apps request.
*
* @param request the list staging security groups request
* @return the response from the list staging security groups request
*/
Mono setStagingDefault(
SetSecurityGroupStagingDefaultRequest request);
/**
* Makes the Updating a Security Group request.
*
* @param request the update security group request
* @return the response from the update security group request
*/
Mono update(UpdateSecurityGroupRequest request);
}