Scaleway v1.35.0 published on Tuesday, Oct 21, 2025 by pulumiverse
scaleway.elasticmetal.getOffer
Gets information about a baremetal offer. For more information, see the API documentation.
Using getOffer
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 getOffer(args: GetOfferArgs, opts?: InvokeOptions): Promise<GetOfferResult>
function getOfferOutput(args: GetOfferOutputArgs, opts?: InvokeOptions): Output<GetOfferResult>def get_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) -> GetOfferResult
def get_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[GetOfferResult]func GetOffer(ctx *Context, args *GetOfferArgs, opts ...InvokeOption) (*GetOfferResult, error)
func GetOfferOutput(ctx *Context, args *GetOfferOutputArgs, opts ...InvokeOption) GetOfferResultOutput> Note: This function is named GetOffer in the Go SDK.
public static class GetOffer
{
public static Task<GetOfferResult> InvokeAsync(GetOfferArgs args, InvokeOptions? opts = null)
public static Output<GetOfferResult> Invoke(GetOfferInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOfferResult> getOffer(GetOfferArgs args, InvokeOptions options)
public static Output<GetOfferResult> getOffer(GetOfferArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:elasticmetal/getOffer:getOffer
arguments:
# arguments dictionaryThe following arguments are supported:
- Include
Disabled bool - Name string
- The offer name. Only one of
nameandoffer_idshould be specified. - Offer
Id string - The offer id. Only one of
nameandoffer_idshould be specified. - Subscription
Period string - Period of subscription the desired offer. Should be
hourlyormonthly. - Zone string
zone) The zone in which the offer should be created.
- Include
Disabled bool - Name string
- The offer name. Only one of
nameandoffer_idshould be specified. - Offer
Id string - The offer id. Only one of
nameandoffer_idshould be specified. - Subscription
Period string - Period of subscription the desired offer. Should be
hourlyormonthly. - Zone string
zone) The zone in which the offer should be created.
- include
Disabled Boolean - name String
- The offer name. Only one of
nameandoffer_idshould be specified. - offer
Id String - The offer id. Only one of
nameandoffer_idshould be specified. - subscription
Period String - Period of subscription the desired offer. Should be
hourlyormonthly. - zone String
zone) The zone in which the offer should be created.
- include
Disabled boolean - name string
- The offer name. Only one of
nameandoffer_idshould be specified. - offer
Id string - The offer id. Only one of
nameandoffer_idshould be specified. - subscription
Period string - Period of subscription the desired offer. Should be
hourlyormonthly. - zone string
zone) The zone in which the offer should be created.
- include_
disabled bool - name str
- The offer name. Only one of
nameandoffer_idshould be specified. - offer_
id str - The offer id. Only one of
nameandoffer_idshould be specified. - subscription_
period str - Period of subscription the desired offer. Should be
hourlyormonthly. - zone str
zone) The zone in which the offer should be created.
- include
Disabled Boolean - name String
- The offer name. Only one of
nameandoffer_idshould be specified. - offer
Id String - The offer id. Only one of
nameandoffer_idshould be specified. - subscription
Period String - Period of subscription the desired offer. Should be
hourlyormonthly. - zone String
zone) The zone in which the offer should be created.
getOffer Result
The following output properties are available:
- Bandwidth int
- Available Bandwidth with the offer.
- Commercial
Range string - Commercial range of the offer.
- Cpu
Pulumiverse.
Scaleway. Elasticmetal. Outputs. Get Offer Cpu - A list of cpu specifications. (Structure is documented below.)
- Disks
List<Pulumiverse.
Scaleway. Elasticmetal. Outputs. Get Offer Disk> - A list of disk specifications. (Structure is documented below.)
- Id string
- The provider-assigned unique ID for this managed resource.
- Memories
List<Pulumiverse.
Scaleway. Elasticmetal. Outputs. Get Offer Memory> - A list of memory specifications. (Structure is documented below.)
- Stock string
- Stock status for this offer. Possible values are:
empty,loworavailable. - Include
Disabled bool - Name string
- Name of the CPU.
- Offer
Id string - Subscription
Period string - Zone string
- Bandwidth int
- Available Bandwidth with the offer.
- Commercial
Range string - Commercial range of the offer.
- Cpu
Get
Offer Cpu - A list of cpu specifications. (Structure is documented below.)
- Disks
[]Get
Offer Disk - A list of disk specifications. (Structure is documented below.)
- Id string
- The provider-assigned unique ID for this managed resource.
- Memories
[]Get
Offer Memory - A list of memory specifications. (Structure is documented below.)
- Stock string
- Stock status for this offer. Possible values are:
empty,loworavailable. - Include
Disabled bool - Name string
- Name of the CPU.
- Offer
Id string - Subscription
Period string - Zone string
- bandwidth Integer
- Available Bandwidth with the offer.
- commercial
Range String - Commercial range of the offer.
- cpu
Get
Offer Cpu - A list of cpu specifications. (Structure is documented below.)
- disks
List<Get
Offer Disk> - A list of disk specifications. (Structure is documented below.)
- id String
- The provider-assigned unique ID for this managed resource.
- memories
List<Get
Offer Memory> - A list of memory specifications. (Structure is documented below.)
- stock String
- Stock status for this offer. Possible values are:
empty,loworavailable. - include
Disabled Boolean - name String
- Name of the CPU.
- offer
Id String - subscription
Period String - zone String
- bandwidth number
- Available Bandwidth with the offer.
- commercial
Range string - Commercial range of the offer.
- cpu
Get
Offer Cpu - A list of cpu specifications. (Structure is documented below.)
- disks
Get
Offer Disk[] - A list of disk specifications. (Structure is documented below.)
- id string
- The provider-assigned unique ID for this managed resource.
- memories
Get
Offer Memory[] - A list of memory specifications. (Structure is documented below.)
- stock string
- Stock status for this offer. Possible values are:
empty,loworavailable. - include
Disabled boolean - name string
- Name of the CPU.
- offer
Id string - subscription
Period string - zone string
- bandwidth int
- Available Bandwidth with the offer.
- commercial_
range str - Commercial range of the offer.
- cpu
Get
Offer Cpu - A list of cpu specifications. (Structure is documented below.)
- disks
Sequence[Get
Offer Disk] - A list of disk specifications. (Structure is documented below.)
- id str
- The provider-assigned unique ID for this managed resource.
- memories
Sequence[Get
Offer Memory] - A list of memory specifications. (Structure is documented below.)
- stock str
- Stock status for this offer. Possible values are:
empty,loworavailable. - include_
disabled bool - name str
- Name of the CPU.
- offer_
id str - subscription_
period str - zone str
- bandwidth Number
- Available Bandwidth with the offer.
- commercial
Range 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,loworavailable. - include
Disabled Boolean - name String
- Name of the CPU.
- offer
Id String - subscription
Period String - zone String
Supporting Types
GetOfferCpu
- Core
Count int - Number of core on this CPU.
- Frequency int
- Frequency of the memory in MHz.
- Name string
- The offer name. Only one of
nameandoffer_idshould be specified. - Thread
Count int - Number of thread on this CPU.
- Core
Count int - Number of core on this CPU.
- Frequency int
- Frequency of the memory in MHz.
- Name string
- The offer name. Only one of
nameandoffer_idshould be specified. - Thread
Count int - Number of thread on this CPU.
- core
Count Integer - Number of core on this CPU.
- frequency Integer
- Frequency of the memory in MHz.
- name String
- The offer name. Only one of
nameandoffer_idshould be specified. - thread
Count Integer - Number of thread on this CPU.
- core
Count number - Number of core on this CPU.
- frequency number
- Frequency of the memory in MHz.
- name string
- The offer name. Only one of
nameandoffer_idshould be specified. - thread
Count number - Number of thread on this CPU.
- core_
count int - Number of core on this CPU.
- frequency int
- Frequency of the memory in MHz.
- name str
- The offer name. Only one of
nameandoffer_idshould be specified. - thread_
count int - Number of thread on this CPU.
- core
Count Number - Number of core on this CPU.
- frequency Number
- Frequency of the memory in MHz.
- name String
- The offer name. Only one of
nameandoffer_idshould be specified. - thread
Count Number - Number of thread on this CPU.
GetOfferDisk
GetOfferMemory
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
