com.swisscom.cloud.sb.client.IServiceBrokerClientExtended.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
Swisscom's Open Service Broker API implementation
/*
* Copyright (c) 2018 Swisscom (Switzerland) Ltd.
*
* 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 com.swisscom.cloud.sb.client
import com.swisscom.cloud.sb.model.backup.BackupDto
import com.swisscom.cloud.sb.model.backup.RestoreDto
import com.swisscom.cloud.sb.model.endpoint.Endpoint
import com.swisscom.cloud.sb.model.health.ServiceHealth
import com.swisscom.cloud.sb.model.usage.ServiceUsage
import groovy.transform.CompileStatic
import org.springframework.http.ResponseEntity
@CompileStatic
interface IServiceBrokerClientExtended extends IServiceBrokerClient {
ResponseEntity getEndpoint(String serviceInstanceId)
ResponseEntity getUsage(String serviceInstanceId)
ResponseEntity> getExtendedUsage(String serviceInstanceId)
ResponseEntity getHealth(String serviceInstanceId)
ResponseEntity createOrUpdateServiceDefinition(String definition)
ResponseEntity deleteServiceDefinition(String definition)
ResponseEntity createBackup(String serviceInstanceId)
ResponseEntity deleteBackup(String serviceInstanceId, String backupId)
ResponseEntity getBackup(String serviceInstanceId, String backupId)
ResponseEntity> listBackups(String serviceInstanceId)
ResponseEntity restoreBackup(String serviceInstanceId, String backupId)
ResponseEntity getRestoreStatus(String serviceInstanceId, String backupId, String restore_id)
ResponseEntity getApi(String serviceInstanceId)
ResponseEntity lockUser(String serviceInstanceId)
ResponseEntity unlockUser(String serviceInstanceId)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy