The Mock Service allows you to run a fake instance of the Service which makes no real connections.
| bare_metal_servers | [RW] | |
| default_domain | [RW] | |
| softlayer_default_datacenter | [RW] | |
| softlayer_default_domain | [RW] | |
| virtual_guests | [RW] |
Launch a SoftLayer BMC server.
@param [Array<Hash>] opts @option opts [Array<Hash>] :body
HTTP request body parameters
@option opts [String] "hostname"
VM hostname, should be unique within the domain.
@option opts [String] "domain"
VM domain.
@option opts [Integer] "processorCoreAmount"
Number of CPU cores provisioned for the VM.
@option opts [Integer] "memoryCapacity"
Available RAM for the server in GB. Valid arguments are 1, 2, 4, 6, 8, 12, 16, 32, 48, 64
@option opts [Boolean] "hourlyBillingFlag"
Should the VM be billed hourly or monthly (monthly is less expensive, minimum charge of 1 month).
@option opts [Boolean] "localDiskFlag"
Should the root volume be on the machine or on the SAN
@option opts [String] "operatingSystemReferenceCode"
A valid SoftLayer operatingSystemReferenceCode string
@option opts [Boolean] "dedicatedAccountHostOnlyFlag"
Defaults to false, pass true for a single-tenant VM.
@return [Excon::Response]
Launch a single SoftLayer VM.
@param [<Hash>] opts @option opts [<Hash>] :body
HTTP request body parameters
@option opts [String] "hostname"
VM hostname, should be unique within the domain.
@option opts [String] "domain"
VM domain.
@option opts [Integer] "startCpus"
Number of CPU cores provisioned for the VM.
@option opts [Integer] "maxMemory"
Available RAM for the VM in MB. Valid arguments are 1024, 2048, 4096, 6144, 8192, 12288, 16384, 32768, 49152, 65536
@option opts [Boolean] "hourlyBillingFlag"
Should the VM be billed hourly or monthly (monthly is less expensive, minimum charge of 1 month).
@option opts [Boolean] "localDiskFlag"
Should the root volume be on the machine or on the SAN
@option opts [String] "operatingSystemReferenceCode"
A valid SoftLayer operatingSystemReferenceCode string
@option opts [Boolean] "dedicatedAccountHostOnlyFlag"
Defaults to false, pass true for a single-tenant VM.
@return [Excon::Response]
Launch one or more SoftLayer VMs.
@param [Array<Hash>] opts @option opts [Array<Hash>] :body
HTTP request body parameters
@option opts [String] "hostname"
VM hostname, should be unique within the domain.
@option opts [String] "domain"
VM domain.
@option opts [Integer] "startCpus"
Number of CPU cores provisioned for the VM.
@option opts [Integer] "maxMemory"
Available RAM for the VM in MB. Valid arguments are 1024, 2048, 4096, 6144, 8192, 12288, 16384, 32768, 49152, 65536
@option opts [Boolean] "hourlyBillingFlag"
Should the VM be billed hourly or monthly (monthly is less expensive, minimum charge of 1 month).
@option opts [Boolean] "localDiskFlag"
Should the root volume be on the machine or on the SAN
@option opts [String] "operatingSystemReferenceCode"
A valid SoftLayer operatingSystemReferenceCode string
@option opts [Boolean] "dedicatedAccountHostOnlyFlag"
Defaults to false, pass true for a single-tenant VM.
@return [Excon::Response]
Generate an order template for a Bare Metal @param [Integer] order_template @return [Excon::Response]
Generate an order template for a Virtual Guest @param [Integer] order_template @return [Excon::Response]