public interface GlobalOfferingClient extends OfferingClient
GlobalOfferingAsyncClient
,
Modifier and Type | Method and Description |
---|---|
DiskOffering |
createDiskOffering(String name,
String displayText,
CreateDiskOfferingOptions... options)
Create a new disk offering
|
ServiceOffering |
createServiceOffering(String name,
String displayText,
int cpuNumber,
int cpuSpeedInMHz,
int memoryInMB,
CreateServiceOfferingOptions... options)
Create a new service offering
|
Void |
deleteDiskOffering(long id)
Delete disk offering
|
Void |
deleteServiceOffering(long id)
Delete service offering
|
DiskOffering |
updateDiskOffering(long id,
UpdateDiskOfferingOptions... options)
Update a disk offering
|
NetworkOffering |
updateNetworkOffering(long id,
UpdateNetworkOfferingOptions... options)
Update network offering
|
ServiceOffering |
updateServiceOffering(long id,
UpdateServiceOfferingOptions... options)
Update an existing service offering
|
getDiskOffering, getNetworkOffering, getServiceOffering, listDiskOfferings, listNetworkOfferings, listServiceOfferings
ServiceOffering createServiceOffering(String name, String displayText, int cpuNumber, int cpuSpeedInMHz, int memoryInMB, CreateServiceOfferingOptions... options)
name
- name of the service offeringdisplayText
- display namecpuNumber
- number of CPUscpuSpeedInMHz
- CPU speed in MHzmemoryInMB
- the total memory of the service offering in MBoptions
- optional argumentsServiceOffering updateServiceOffering(long id, UpdateServiceOfferingOptions... options)
id
- service offering IDoptions
- optional argumentsVoid deleteServiceOffering(long id)
id
- the ID of the service offeringDiskOffering createDiskOffering(String name, String displayText, CreateDiskOfferingOptions... options)
name
- name of the disk offeringdisplayText
- display text for disk offeringoptions
- optional argumentsDiskOffering updateDiskOffering(long id, UpdateDiskOfferingOptions... options)
id
- disk offering IDoptions
- optional argumentsVoid deleteDiskOffering(long id)
id
- the ID of the disk offeringNetworkOffering updateNetworkOffering(long id, UpdateNetworkOfferingOptions... options)
id
- the id of the network offeringoptions
- optional argumentsCopyright © 2009-2012 jclouds. All Rights Reserved.