blob: bb3ec3597a04f2fb5bfbf18b8c1244416b3b45e5 [file] [log] [blame]
/**
* Licensed to jclouds, Inc. (jclouds) under one or more
* contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. jclouds licenses this file
* to you 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.jclouds.fujitsu.fgcp.services;
import org.jclouds.concurrent.Timeout;
import org.jclouds.fujitsu.fgcp.domain.*;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;
/**
* API relating to the virtual data center.
*
* @author Dies Koper
*/
@Timeout(duration = 60, timeUnit = TimeUnit.SECONDS)
public interface VirtualDCApi {
String createVirtualSystem(String descriptorId, String name);
Set<VSystem> listVirtualSystems();
// according to the manual it takes a 'String diskImageId' but value seems
// to be ignored
Set<ServerType> listServerTypes();
Set<DiskImage> listDiskImages();
Set<DiskImage> listDiskImages(String serverCategory,
String vsysDescriptorId);
Map<PublicIP, String> listPublicIPs();
void addAddressRange(String pipFrom, String pipTo);
void createAddressPool(String pipFrom, String pipTo);
void deleteAddressRange(String pipFrom, String pipTo);
Set<AddressRange> getAddressRange();
Set<VSystemDescriptor> listVSYSDescriptor();
Set<VSystemDescriptor> listVSYSDescriptor(String keyword, int estimateFrom,
int estimateTo);
Set<EventLog> getEventLogs(boolean all);
Set<EventLog> getEventLogs();
Set<Information> getInformation(boolean all);
Set<Information> getInformation();
Set<UsageInfo> getSystemUsage();
Set<UsageInfo> getSystemUsage(String systemIds);
}