Package org.jclouds.cloudstack.options
Class CreateServiceOfferingOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.AccountInDomainOptions
org.jclouds.cloudstack.options.CreateServiceOfferingOptions
- All Implemented Interfaces:
HttpRequestOptions
Options to control how service offerings are created
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountInDomain
(String account, String domain) highlyAvailable
(boolean highlyAvailable) isSystem
(boolean isSystem) limitCpuUse
(boolean limitCpuUse) networkRateInMb
(int networkRateInMb) storageType
(StorageType storageType) systemVmType
(SystemVmType systemVmType) Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
Field Details
-
NONE
-
-
Constructor Details
-
CreateServiceOfferingOptions
public CreateServiceOfferingOptions()
-
-
Method Details
-
hostTags
- Parameters:
hostTags
- the host tag for this service offering
-
isSystem
- Parameters:
isSystem
- is this a system vm offering
-
limitCpuUse
- Parameters:
limitCpuUse
- restrict the CPU usage to committed service offering
-
networkRateInMb
- Parameters:
networkRateInMb
- data transfer rate in megabits per second allowed. Supported only for non-System offering and system offerings having "domainrouter" systemvmtype
-
highlyAvailable
- Parameters:
highlyAvailable
- the HA for the service offering
-
storageType
- Parameters:
storageType
- the storage type of the service offering
-
systemVmType
- Parameters:
systemVmType
- the system VM type. Possible types are "domainrouter", "consoleproxy" and "secondarystoragevm"
-
tags
- Parameters:
tags
- the tags for this service offering
-
accountInDomain
- Overrides:
accountInDomain
in classAccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
-
domainId
- Overrides:
domainId
in classAccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
-