1. Packages
  2. Scaleway
  3. API Docs
  4. getBaremetalOffer
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

scaleway.getBaremetalOffer

Explore with Pulumi AI

Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse
Deprecated: scaleway.index/getbaremetaloffer.getBaremetalOffer has been deprecated in favor of scaleway.elasticmetal/getoffer.getOffer

Gets information about a baremetal offer. For more information, see the API documentation.

Using getBaremetalOffer

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getBaremetalOffer(args: GetBaremetalOfferArgs, opts?: InvokeOptions): Promise<GetBaremetalOfferResult>
function getBaremetalOfferOutput(args: GetBaremetalOfferOutputArgs, opts?: InvokeOptions): Output<GetBaremetalOfferResult>
Copy
def get_baremetal_offer(include_disabled: Optional[bool] = None,
                        name: Optional[str] = None,
                        offer_id: Optional[str] = None,
                        subscription_period: Optional[str] = None,
                        zone: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetBaremetalOfferResult
def get_baremetal_offer_output(include_disabled: Optional[pulumi.Input[bool]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        offer_id: Optional[pulumi.Input[str]] = None,
                        subscription_period: Optional[pulumi.Input[str]] = None,
                        zone: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetBaremetalOfferResult]
Copy
func GetBaremetalOffer(ctx *Context, args *GetBaremetalOfferArgs, opts ...InvokeOption) (*GetBaremetalOfferResult, error)
func GetBaremetalOfferOutput(ctx *Context, args *GetBaremetalOfferOutputArgs, opts ...InvokeOption) GetBaremetalOfferResultOutput
Copy

> Note: This function is named GetBaremetalOffer in the Go SDK.

public static class GetBaremetalOffer 
{
    public static Task<GetBaremetalOfferResult> InvokeAsync(GetBaremetalOfferArgs args, InvokeOptions? opts = null)
    public static Output<GetBaremetalOfferResult> Invoke(GetBaremetalOfferInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetBaremetalOfferResult> getBaremetalOffer(GetBaremetalOfferArgs args, InvokeOptions options)
public static Output<GetBaremetalOfferResult> getBaremetalOffer(GetBaremetalOfferArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: scaleway:index/getBaremetalOffer:getBaremetalOffer
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

IncludeDisabled bool
Name string
The offer name. Only one of name and offer_id should be specified.
OfferId string
The offer id. Only one of name and offer_id should be specified.
SubscriptionPeriod string
Period of subscription the desired offer. Should be hourly or monthly.
Zone Changes to this property will trigger replacement. string
zone) The zone in which the offer should be created.
IncludeDisabled bool
Name string
The offer name. Only one of name and offer_id should be specified.
OfferId string
The offer id. Only one of name and offer_id should be specified.
SubscriptionPeriod string
Period of subscription the desired offer. Should be hourly or monthly.
Zone Changes to this property will trigger replacement. string
zone) The zone in which the offer should be created.
includeDisabled Boolean
name String
The offer name. Only one of name and offer_id should be specified.
offerId String
The offer id. Only one of name and offer_id should be specified.
subscriptionPeriod String
Period of subscription the desired offer. Should be hourly or monthly.
zone Changes to this property will trigger replacement. String
zone) The zone in which the offer should be created.
includeDisabled boolean
name string
The offer name. Only one of name and offer_id should be specified.
offerId string
The offer id. Only one of name and offer_id should be specified.
subscriptionPeriod string
Period of subscription the desired offer. Should be hourly or monthly.
zone Changes to this property will trigger replacement. string
zone) The zone in which the offer should be created.
include_disabled bool
name str
The offer name. Only one of name and offer_id should be specified.
offer_id str
The offer id. Only one of name and offer_id should be specified.
subscription_period str
Period of subscription the desired offer. Should be hourly or monthly.
zone Changes to this property will trigger replacement. str
zone) The zone in which the offer should be created.
includeDisabled Boolean
name String
The offer name. Only one of name and offer_id should be specified.
offerId String
The offer id. Only one of name and offer_id should be specified.
subscriptionPeriod String
Period of subscription the desired offer. Should be hourly or monthly.
zone Changes to this property will trigger replacement. String
zone) The zone in which the offer should be created.

getBaremetalOffer Result

The following output properties are available:

Bandwidth int
Available Bandwidth with the offer.
CommercialRange string
Commercial range of the offer.
Cpu Pulumiverse.Scaleway.Outputs.GetBaremetalOfferCpu
A list of cpu specifications. (Structure is documented below.)
Disks List<Pulumiverse.Scaleway.Outputs.GetBaremetalOfferDisk>
A list of disk specifications. (Structure is documented below.)
Id string
The provider-assigned unique ID for this managed resource.
Memories List<Pulumiverse.Scaleway.Outputs.GetBaremetalOfferMemory>
A list of memory specifications. (Structure is documented below.)
Stock string
Stock status for this offer. Possible values are: empty, low or available.
Zone string
IncludeDisabled bool
Name string
Name of the CPU.
OfferId string
SubscriptionPeriod string
Bandwidth int
Available Bandwidth with the offer.
CommercialRange string
Commercial range of the offer.
Cpu GetBaremetalOfferCpu
A list of cpu specifications. (Structure is documented below.)
Disks []GetBaremetalOfferDisk
A list of disk specifications. (Structure is documented below.)
Id string
The provider-assigned unique ID for this managed resource.
Memories []GetBaremetalOfferMemory
A list of memory specifications. (Structure is documented below.)
Stock string
Stock status for this offer. Possible values are: empty, low or available.
Zone string
IncludeDisabled bool
Name string
Name of the CPU.
OfferId string
SubscriptionPeriod string
bandwidth Integer
Available Bandwidth with the offer.
commercialRange String
Commercial range of the offer.
cpu GetBaremetalOfferCpu
A list of cpu specifications. (Structure is documented below.)
disks List<GetBaremetalOfferDisk>
A list of disk specifications. (Structure is documented below.)
id String
The provider-assigned unique ID for this managed resource.
memories List<GetBaremetalOfferMemory>
A list of memory specifications. (Structure is documented below.)
stock String
Stock status for this offer. Possible values are: empty, low or available.
zone String
includeDisabled Boolean
name String
Name of the CPU.
offerId String
subscriptionPeriod String
bandwidth number
Available Bandwidth with the offer.
commercialRange string
Commercial range of the offer.
cpu GetBaremetalOfferCpu
A list of cpu specifications. (Structure is documented below.)
disks GetBaremetalOfferDisk[]
A list of disk specifications. (Structure is documented below.)
id string
The provider-assigned unique ID for this managed resource.
memories GetBaremetalOfferMemory[]
A list of memory specifications. (Structure is documented below.)
stock string
Stock status for this offer. Possible values are: empty, low or available.
zone string
includeDisabled boolean
name string
Name of the CPU.
offerId string
subscriptionPeriod string
bandwidth int
Available Bandwidth with the offer.
commercial_range str
Commercial range of the offer.
cpu GetBaremetalOfferCpu
A list of cpu specifications. (Structure is documented below.)
disks Sequence[GetBaremetalOfferDisk]
A list of disk specifications. (Structure is documented below.)
id str
The provider-assigned unique ID for this managed resource.
memories Sequence[GetBaremetalOfferMemory]
A list of memory specifications. (Structure is documented below.)
stock str
Stock status for this offer. Possible values are: empty, low or available.
zone str
include_disabled bool
name str
Name of the CPU.
offer_id str
subscription_period str
bandwidth Number
Available Bandwidth with the offer.
commercialRange String
Commercial range of the offer.
cpu Property Map
A list of cpu specifications. (Structure is documented below.)
disks List<Property Map>
A list of disk specifications. (Structure is documented below.)
id String
The provider-assigned unique ID for this managed resource.
memories List<Property Map>
A list of memory specifications. (Structure is documented below.)
stock String
Stock status for this offer. Possible values are: empty, low or available.
zone String
includeDisabled Boolean
name String
Name of the CPU.
offerId String
subscriptionPeriod String

Supporting Types

GetBaremetalOfferCpu

CoreCount This property is required. int
Number of core on this CPU.
Frequency This property is required. int
Frequency of the memory in MHz.
Name This property is required. string
The offer name. Only one of name and offer_id should be specified.
ThreadCount This property is required. int
Number of thread on this CPU.
CoreCount This property is required. int
Number of core on this CPU.
Frequency This property is required. int
Frequency of the memory in MHz.
Name This property is required. string
The offer name. Only one of name and offer_id should be specified.
ThreadCount This property is required. int
Number of thread on this CPU.
coreCount This property is required. Integer
Number of core on this CPU.
frequency This property is required. Integer
Frequency of the memory in MHz.
name This property is required. String
The offer name. Only one of name and offer_id should be specified.
threadCount This property is required. Integer
Number of thread on this CPU.
coreCount This property is required. number
Number of core on this CPU.
frequency This property is required. number
Frequency of the memory in MHz.
name This property is required. string
The offer name. Only one of name and offer_id should be specified.
threadCount This property is required. number
Number of thread on this CPU.
core_count This property is required. int
Number of core on this CPU.
frequency This property is required. int
Frequency of the memory in MHz.
name This property is required. str
The offer name. Only one of name and offer_id should be specified.
thread_count This property is required. int
Number of thread on this CPU.
coreCount This property is required. Number
Number of core on this CPU.
frequency This property is required. Number
Frequency of the memory in MHz.
name This property is required. String
The offer name. Only one of name and offer_id should be specified.
threadCount This property is required. Number
Number of thread on this CPU.

GetBaremetalOfferDisk

Capacity This property is required. int
Capacity of the memory in GB.
Type This property is required. string
Type of memory.
Capacity This property is required. int
Capacity of the memory in GB.
Type This property is required. string
Type of memory.
capacity This property is required. Integer
Capacity of the memory in GB.
type This property is required. String
Type of memory.
capacity This property is required. number
Capacity of the memory in GB.
type This property is required. string
Type of memory.
capacity This property is required. int
Capacity of the memory in GB.
type This property is required. str
Type of memory.
capacity This property is required. Number
Capacity of the memory in GB.
type This property is required. String
Type of memory.

GetBaremetalOfferMemory

Capacity This property is required. int
Capacity of the memory in GB.
Frequency This property is required. int
Frequency of the memory in MHz.
IsEcc This property is required. bool
True if error-correcting code is available on this memory.
Type This property is required. string
Type of memory.
Capacity This property is required. int
Capacity of the memory in GB.
Frequency This property is required. int
Frequency of the memory in MHz.
IsEcc This property is required. bool
True if error-correcting code is available on this memory.
Type This property is required. string
Type of memory.
capacity This property is required. Integer
Capacity of the memory in GB.
frequency This property is required. Integer
Frequency of the memory in MHz.
isEcc This property is required. Boolean
True if error-correcting code is available on this memory.
type This property is required. String
Type of memory.
capacity This property is required. number
Capacity of the memory in GB.
frequency This property is required. number
Frequency of the memory in MHz.
isEcc This property is required. boolean
True if error-correcting code is available on this memory.
type This property is required. string
Type of memory.
capacity This property is required. int
Capacity of the memory in GB.
frequency This property is required. int
Frequency of the memory in MHz.
is_ecc This property is required. bool
True if error-correcting code is available on this memory.
type This property is required. str
Type of memory.
capacity This property is required. Number
Capacity of the memory in GB.
frequency This property is required. Number
Frequency of the memory in MHz.
isEcc This property is required. Boolean
True if error-correcting code is available on this memory.
type This property is required. String
Type of memory.

Package Details

Repository
scaleway pulumiverse/pulumi-scaleway
License
Apache-2.0
Notes
This Pulumi package is based on the scaleway Terraform Provider.
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse