1. Packages
  2. Equinix
  3. API Docs
  4. metal
  5. SpotMarketRequest
Equinix v0.19.0 published on Thursday, Oct 24, 2024 by Equinix

equinix.metal.SpotMarketRequest

Explore with Pulumi AI

equinix logo
Equinix v0.19.0 published on Thursday, Oct 24, 2024 by Equinix

    Provides an Equinix Metal Spot Market Request resource to allow you to manage spot market requests on your account. For more detail on Spot Market, see this article in Equinix Metal documentation.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Equinix = Pulumi.Equinix;
    
    return await Deployment.RunAsync(() => 
    {
        var req = new Equinix.Metal.SpotMarketRequest("req", new()
        {
            ProjectId = projectId,
            MaxBidPrice = 0.03,
            Metro = "ny",
            DevicesMin = 1,
            DevicesMax = 1,
            InstanceParameters = new Equinix.Metal.Inputs.SpotMarketRequestInstanceParametersArgs
            {
                Hostname = "testspot",
                BillingCycle = "hourly",
                OperatingSystem = "ubuntu_20_04",
                Plan = "c3.small.x86",
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/equinix/pulumi-equinix/sdk/go/equinix/metal"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := metal.NewSpotMarketRequest(ctx, "req", &metal.SpotMarketRequestArgs{
    			ProjectId:   pulumi.Any(projectId),
    			MaxBidPrice: pulumi.Float64(0.03),
    			Metro:       pulumi.String("ny"),
    			DevicesMin:  pulumi.Int(1),
    			DevicesMax:  pulumi.Int(1),
    			InstanceParameters: &metal.SpotMarketRequestInstanceParametersArgs{
    				Hostname:        pulumi.String("testspot"),
    				BillingCycle:    pulumi.String("hourly"),
    				OperatingSystem: pulumi.String("ubuntu_20_04"),
    				Plan:            pulumi.String("c3.small.x86"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.equinix.metal.SpotMarketRequest;
    import com.pulumi.equinix.metal.SpotMarketRequestArgs;
    import com.pulumi.equinix.metal.inputs.SpotMarketRequestInstanceParametersArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var req = new SpotMarketRequest("req", SpotMarketRequestArgs.builder()
                .projectId(projectId)
                .maxBidPrice(0.03)
                .metro("ny")
                .devicesMin(1)
                .devicesMax(1)
                .instanceParameters(SpotMarketRequestInstanceParametersArgs.builder()
                    .hostname("testspot")
                    .billingCycle("hourly")
                    .operatingSystem("ubuntu_20_04")
                    .plan("c3.small.x86")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_equinix as equinix
    
    req = equinix.metal.SpotMarketRequest("req",
        project_id=project_id,
        max_bid_price=0.03,
        metro="ny",
        devices_min=1,
        devices_max=1,
        instance_parameters={
            "hostname": "testspot",
            "billing_cycle": "hourly",
            "operating_system": "ubuntu_20_04",
            "plan": "c3.small.x86",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as equinix from "@equinix-labs/pulumi-equinix";
    
    const req = new equinix.metal.SpotMarketRequest("req", {
        projectId: projectId,
        maxBidPrice: 0.03,
        metro: "ny",
        devicesMin: 1,
        devicesMax: 1,
        instanceParameters: {
            hostname: "testspot",
            billingCycle: "hourly",
            operatingSystem: "ubuntu_20_04",
            plan: "c3.small.x86",
        },
    });
    
    resources:
      # Create a spot market request
      req:
        type: equinix:metal:SpotMarketRequest
        properties:
          projectId: ${projectId}
          maxBidPrice: 0.03
          metro: ny
          devicesMin: 1
          devicesMax: 1
          instanceParameters:
            hostname: testspot
            billingCycle: hourly
            operatingSystem: ubuntu_20_04
            plan: c3.small.x86
    

    Create SpotMarketRequest Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SpotMarketRequest(name: string, args: SpotMarketRequestArgs, opts?: CustomResourceOptions);
    @overload
    def SpotMarketRequest(resource_name: str,
                          args: SpotMarketRequestArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def SpotMarketRequest(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          devices_max: Optional[int] = None,
                          devices_min: Optional[int] = None,
                          instance_parameters: Optional[SpotMarketRequestInstanceParametersArgs] = None,
                          max_bid_price: Optional[float] = None,
                          project_id: Optional[str] = None,
                          facilities: Optional[Sequence[str]] = None,
                          metro: Optional[str] = None,
                          wait_for_devices: Optional[bool] = None)
    func NewSpotMarketRequest(ctx *Context, name string, args SpotMarketRequestArgs, opts ...ResourceOption) (*SpotMarketRequest, error)
    public SpotMarketRequest(string name, SpotMarketRequestArgs args, CustomResourceOptions? opts = null)
    public SpotMarketRequest(String name, SpotMarketRequestArgs args)
    public SpotMarketRequest(String name, SpotMarketRequestArgs args, CustomResourceOptions options)
    
    type: equinix:metal:SpotMarketRequest
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SpotMarketRequestArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SpotMarketRequestArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SpotMarketRequestArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SpotMarketRequestArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SpotMarketRequestArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var spotMarketRequestResource = new Equinix.Metal.SpotMarketRequest("spotMarketRequestResource", new()
    {
        DevicesMax = 0,
        DevicesMin = 0,
        InstanceParameters = new Equinix.Metal.Inputs.SpotMarketRequestInstanceParametersArgs
        {
            Hostname = "string",
            BillingCycle = "string",
            Plan = "string",
            OperatingSystem = "string",
            Features = new[]
            {
                "string",
            },
            AlwaysPxe = false,
            IpxeScriptUrl = "string",
            Locked = false,
            Description = "string",
            Customdata = "string",
            ProjectSshKeys = new[]
            {
                "string",
            },
            Tags = new[]
            {
                "string",
            },
            TerminationTime = "string",
            UserSshKeys = new[]
            {
                "string",
            },
            Userdata = "string",
        },
        MaxBidPrice = 0,
        ProjectId = "string",
        Metro = "string",
        WaitForDevices = false,
    });
    
    example, err := metal.NewSpotMarketRequest(ctx, "spotMarketRequestResource", &metal.SpotMarketRequestArgs{
    	DevicesMax: pulumi.Int(0),
    	DevicesMin: pulumi.Int(0),
    	InstanceParameters: &metal.SpotMarketRequestInstanceParametersArgs{
    		Hostname:        pulumi.String("string"),
    		BillingCycle:    pulumi.String("string"),
    		Plan:            pulumi.String("string"),
    		OperatingSystem: pulumi.String("string"),
    		Features: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		AlwaysPxe:     pulumi.Bool(false),
    		IpxeScriptUrl: pulumi.String("string"),
    		Locked:        pulumi.Bool(false),
    		Description:   pulumi.String("string"),
    		Customdata:    pulumi.String("string"),
    		ProjectSshKeys: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Tags: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		TerminationTime: pulumi.String("string"),
    		UserSshKeys: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Userdata: pulumi.String("string"),
    	},
    	MaxBidPrice:    pulumi.Float64(0),
    	ProjectId:      pulumi.String("string"),
    	Metro:          pulumi.String("string"),
    	WaitForDevices: pulumi.Bool(false),
    })
    
    var spotMarketRequestResource = new SpotMarketRequest("spotMarketRequestResource", SpotMarketRequestArgs.builder()
        .devicesMax(0)
        .devicesMin(0)
        .instanceParameters(SpotMarketRequestInstanceParametersArgs.builder()
            .hostname("string")
            .billingCycle("string")
            .plan("string")
            .operatingSystem("string")
            .features("string")
            .alwaysPxe(false)
            .ipxeScriptUrl("string")
            .locked(false)
            .description("string")
            .customdata("string")
            .projectSshKeys("string")
            .tags("string")
            .terminationTime("string")
            .userSshKeys("string")
            .userdata("string")
            .build())
        .maxBidPrice(0)
        .projectId("string")
        .metro("string")
        .waitForDevices(false)
        .build());
    
    spot_market_request_resource = equinix.metal.SpotMarketRequest("spotMarketRequestResource",
        devices_max=0,
        devices_min=0,
        instance_parameters={
            "hostname": "string",
            "billing_cycle": "string",
            "plan": "string",
            "operating_system": "string",
            "features": ["string"],
            "always_pxe": False,
            "ipxe_script_url": "string",
            "locked": False,
            "description": "string",
            "customdata": "string",
            "project_ssh_keys": ["string"],
            "tags": ["string"],
            "termination_time": "string",
            "user_ssh_keys": ["string"],
            "userdata": "string",
        },
        max_bid_price=0,
        project_id="string",
        metro="string",
        wait_for_devices=False)
    
    const spotMarketRequestResource = new equinix.metal.SpotMarketRequest("spotMarketRequestResource", {
        devicesMax: 0,
        devicesMin: 0,
        instanceParameters: {
            hostname: "string",
            billingCycle: "string",
            plan: "string",
            operatingSystem: "string",
            features: ["string"],
            alwaysPxe: false,
            ipxeScriptUrl: "string",
            locked: false,
            description: "string",
            customdata: "string",
            projectSshKeys: ["string"],
            tags: ["string"],
            terminationTime: "string",
            userSshKeys: ["string"],
            userdata: "string",
        },
        maxBidPrice: 0,
        projectId: "string",
        metro: "string",
        waitForDevices: false,
    });
    
    type: equinix:metal:SpotMarketRequest
    properties:
        devicesMax: 0
        devicesMin: 0
        instanceParameters:
            alwaysPxe: false
            billingCycle: string
            customdata: string
            description: string
            features:
                - string
            hostname: string
            ipxeScriptUrl: string
            locked: false
            operatingSystem: string
            plan: string
            projectSshKeys:
                - string
            tags:
                - string
            terminationTime: string
            userSshKeys:
                - string
            userdata: string
        maxBidPrice: 0
        metro: string
        projectId: string
        waitForDevices: false
    

    SpotMarketRequest Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SpotMarketRequest resource accepts the following input properties:

    DevicesMax int
    Maximum number devices to be created.
    DevicesMin int
    Miniumum number devices to be created.
    InstanceParameters SpotMarketRequestInstanceParameters
    Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: billing_cycle, plan, operating_system, hostname, termination_time, always_pxe, description, features, locked, project_ssh_keys, user_ssh_keys, userdata, customdata, ipxe_script_url, tags. You can find each parameter description in equinix.metal.Device docs.
    MaxBidPrice double
    Maximum price user is willing to pay per hour per device.
    ProjectId string
    Project ID.
    Facilities List<string>
    Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide

    Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices

    Metro string
    Metro where devices should be created.
    WaitForDevices bool
    On resource creation wait until all desired devices are active. On resource destruction wait until devices are removed.
    DevicesMax int
    Maximum number devices to be created.
    DevicesMin int
    Miniumum number devices to be created.
    InstanceParameters SpotMarketRequestInstanceParametersArgs
    Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: billing_cycle, plan, operating_system, hostname, termination_time, always_pxe, description, features, locked, project_ssh_keys, user_ssh_keys, userdata, customdata, ipxe_script_url, tags. You can find each parameter description in equinix.metal.Device docs.
    MaxBidPrice float64
    Maximum price user is willing to pay per hour per device.
    ProjectId string
    Project ID.
    Facilities []string
    Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide

    Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices

    Metro string
    Metro where devices should be created.
    WaitForDevices bool
    On resource creation wait until all desired devices are active. On resource destruction wait until devices are removed.
    devicesMax Integer
    Maximum number devices to be created.
    devicesMin Integer
    Miniumum number devices to be created.
    instanceParameters SpotMarketRequestInstanceParameters
    Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: billing_cycle, plan, operating_system, hostname, termination_time, always_pxe, description, features, locked, project_ssh_keys, user_ssh_keys, userdata, customdata, ipxe_script_url, tags. You can find each parameter description in equinix.metal.Device docs.
    maxBidPrice Double
    Maximum price user is willing to pay per hour per device.
    projectId String
    Project ID.
    facilities List<String>
    Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide

    Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices

    metro String
    Metro where devices should be created.
    waitForDevices Boolean
    On resource creation wait until all desired devices are active. On resource destruction wait until devices are removed.
    devicesMax number
    Maximum number devices to be created.
    devicesMin number
    Miniumum number devices to be created.
    instanceParameters SpotMarketRequestInstanceParameters
    Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: billing_cycle, plan, operating_system, hostname, termination_time, always_pxe, description, features, locked, project_ssh_keys, user_ssh_keys, userdata, customdata, ipxe_script_url, tags. You can find each parameter description in equinix.metal.Device docs.
    maxBidPrice number
    Maximum price user is willing to pay per hour per device.
    projectId string
    Project ID.
    facilities string[]
    Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide

    Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices

    metro string
    Metro where devices should be created.
    waitForDevices boolean
    On resource creation wait until all desired devices are active. On resource destruction wait until devices are removed.
    devices_max int
    Maximum number devices to be created.
    devices_min int
    Miniumum number devices to be created.
    instance_parameters SpotMarketRequestInstanceParametersArgs
    Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: billing_cycle, plan, operating_system, hostname, termination_time, always_pxe, description, features, locked, project_ssh_keys, user_ssh_keys, userdata, customdata, ipxe_script_url, tags. You can find each parameter description in equinix.metal.Device docs.
    max_bid_price float
    Maximum price user is willing to pay per hour per device.
    project_id str
    Project ID.
    facilities Sequence[str]
    Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide

    Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices

    metro str
    Metro where devices should be created.
    wait_for_devices bool
    On resource creation wait until all desired devices are active. On resource destruction wait until devices are removed.
    devicesMax Number
    Maximum number devices to be created.
    devicesMin Number
    Miniumum number devices to be created.
    instanceParameters Property Map
    Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: billing_cycle, plan, operating_system, hostname, termination_time, always_pxe, description, features, locked, project_ssh_keys, user_ssh_keys, userdata, customdata, ipxe_script_url, tags. You can find each parameter description in equinix.metal.Device docs.
    maxBidPrice Number
    Maximum price user is willing to pay per hour per device.
    projectId String
    Project ID.
    facilities List<String>
    Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide

    Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices

    metro String
    Metro where devices should be created.
    waitForDevices Boolean
    On resource creation wait until all desired devices are active. On resource destruction wait until devices are removed.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SpotMarketRequest resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SpotMarketRequest Resource

    Get an existing SpotMarketRequest resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SpotMarketRequestState, opts?: CustomResourceOptions): SpotMarketRequest
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            devices_max: Optional[int] = None,
            devices_min: Optional[int] = None,
            facilities: Optional[Sequence[str]] = None,
            instance_parameters: Optional[SpotMarketRequestInstanceParametersArgs] = None,
            max_bid_price: Optional[float] = None,
            metro: Optional[str] = None,
            project_id: Optional[str] = None,
            wait_for_devices: Optional[bool] = None) -> SpotMarketRequest
    func GetSpotMarketRequest(ctx *Context, name string, id IDInput, state *SpotMarketRequestState, opts ...ResourceOption) (*SpotMarketRequest, error)
    public static SpotMarketRequest Get(string name, Input<string> id, SpotMarketRequestState? state, CustomResourceOptions? opts = null)
    public static SpotMarketRequest get(String name, Output<String> id, SpotMarketRequestState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DevicesMax int
    Maximum number devices to be created.
    DevicesMin int
    Miniumum number devices to be created.
    Facilities List<string>
    Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide

    Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices

    InstanceParameters SpotMarketRequestInstanceParameters
    Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: billing_cycle, plan, operating_system, hostname, termination_time, always_pxe, description, features, locked, project_ssh_keys, user_ssh_keys, userdata, customdata, ipxe_script_url, tags. You can find each parameter description in equinix.metal.Device docs.
    MaxBidPrice double
    Maximum price user is willing to pay per hour per device.
    Metro string
    Metro where devices should be created.
    ProjectId string
    Project ID.
    WaitForDevices bool
    On resource creation wait until all desired devices are active. On resource destruction wait until devices are removed.
    DevicesMax int
    Maximum number devices to be created.
    DevicesMin int
    Miniumum number devices to be created.
    Facilities []string
    Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide

    Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices

    InstanceParameters SpotMarketRequestInstanceParametersArgs
    Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: billing_cycle, plan, operating_system, hostname, termination_time, always_pxe, description, features, locked, project_ssh_keys, user_ssh_keys, userdata, customdata, ipxe_script_url, tags. You can find each parameter description in equinix.metal.Device docs.
    MaxBidPrice float64
    Maximum price user is willing to pay per hour per device.
    Metro string
    Metro where devices should be created.
    ProjectId string
    Project ID.
    WaitForDevices bool
    On resource creation wait until all desired devices are active. On resource destruction wait until devices are removed.
    devicesMax Integer
    Maximum number devices to be created.
    devicesMin Integer
    Miniumum number devices to be created.
    facilities List<String>
    Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide

    Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices

    instanceParameters SpotMarketRequestInstanceParameters
    Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: billing_cycle, plan, operating_system, hostname, termination_time, always_pxe, description, features, locked, project_ssh_keys, user_ssh_keys, userdata, customdata, ipxe_script_url, tags. You can find each parameter description in equinix.metal.Device docs.
    maxBidPrice Double
    Maximum price user is willing to pay per hour per device.
    metro String
    Metro where devices should be created.
    projectId String
    Project ID.
    waitForDevices Boolean
    On resource creation wait until all desired devices are active. On resource destruction wait until devices are removed.
    devicesMax number
    Maximum number devices to be created.
    devicesMin number
    Miniumum number devices to be created.
    facilities string[]
    Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide

    Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices

    instanceParameters SpotMarketRequestInstanceParameters
    Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: billing_cycle, plan, operating_system, hostname, termination_time, always_pxe, description, features, locked, project_ssh_keys, user_ssh_keys, userdata, customdata, ipxe_script_url, tags. You can find each parameter description in equinix.metal.Device docs.
    maxBidPrice number
    Maximum price user is willing to pay per hour per device.
    metro string
    Metro where devices should be created.
    projectId string
    Project ID.
    waitForDevices boolean
    On resource creation wait until all desired devices are active. On resource destruction wait until devices are removed.
    devices_max int
    Maximum number devices to be created.
    devices_min int
    Miniumum number devices to be created.
    facilities Sequence[str]
    Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide

    Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices

    instance_parameters SpotMarketRequestInstanceParametersArgs
    Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: billing_cycle, plan, operating_system, hostname, termination_time, always_pxe, description, features, locked, project_ssh_keys, user_ssh_keys, userdata, customdata, ipxe_script_url, tags. You can find each parameter description in equinix.metal.Device docs.
    max_bid_price float
    Maximum price user is willing to pay per hour per device.
    metro str
    Metro where devices should be created.
    project_id str
    Project ID.
    wait_for_devices bool
    On resource creation wait until all desired devices are active. On resource destruction wait until devices are removed.
    devicesMax Number
    Maximum number devices to be created.
    devicesMin Number
    Miniumum number devices to be created.
    facilities List<String>
    Facility IDs where devices should be created. Use metro instead; read the facility to metro migration guide

    Deprecated: Use metro instead of facility. For more information, read the migration guide: https://registry.terraform.io/providers/equinix/equinix/latest/docs/guides/migration_guide_facilities_to_metros_devices

    instanceParameters Property Map
    Key/Value pairs of parameters for devices provisioned from this request. Valid keys are: billing_cycle, plan, operating_system, hostname, termination_time, always_pxe, description, features, locked, project_ssh_keys, user_ssh_keys, userdata, customdata, ipxe_script_url, tags. You can find each parameter description in equinix.metal.Device docs.
    maxBidPrice Number
    Maximum price user is willing to pay per hour per device.
    metro String
    Metro where devices should be created.
    projectId String
    Project ID.
    waitForDevices Boolean
    On resource creation wait until all desired devices are active. On resource destruction wait until devices are removed.

    Supporting Types

    SpotMarketRequestInstanceParameters, SpotMarketRequestInstanceParametersArgs

    BillingCycle string
    Hostname string
    OperatingSystem string
    Plan string
    AlwaysPxe bool
    Customdata string
    Description string
    Features List<string>
    IpxeScriptUrl string
    Locked bool
    Blocks deletion of the SpotMarketRequest device until the lock is disabled.
    ProjectSshKeys List<string>
    Tags List<string>
    TerminationTime string
    TermintationTime string

    Deprecated: Use instance_parameters.termination_time instead

    UserSshKeys List<string>
    Userdata string
    BillingCycle string
    Hostname string
    OperatingSystem string
    Plan string
    AlwaysPxe bool
    Customdata string
    Description string
    Features []string
    IpxeScriptUrl string
    Locked bool
    Blocks deletion of the SpotMarketRequest device until the lock is disabled.
    ProjectSshKeys []string
    Tags []string
    TerminationTime string
    TermintationTime string

    Deprecated: Use instance_parameters.termination_time instead

    UserSshKeys []string
    Userdata string
    billingCycle String
    hostname String
    operatingSystem String
    plan String
    alwaysPxe Boolean
    customdata String
    description String
    features List<String>
    ipxeScriptUrl String
    locked Boolean
    Blocks deletion of the SpotMarketRequest device until the lock is disabled.
    projectSshKeys List<String>
    tags List<String>
    terminationTime String
    termintationTime String

    Deprecated: Use instance_parameters.termination_time instead

    userSshKeys List<String>
    userdata String
    billingCycle string
    hostname string
    operatingSystem string
    plan string
    alwaysPxe boolean
    customdata string
    description string
    features string[]
    ipxeScriptUrl string
    locked boolean
    Blocks deletion of the SpotMarketRequest device until the lock is disabled.
    projectSshKeys string[]
    tags string[]
    terminationTime string
    termintationTime string

    Deprecated: Use instance_parameters.termination_time instead

    userSshKeys string[]
    userdata string
    billing_cycle str
    hostname str
    operating_system str
    plan str
    always_pxe bool
    customdata str
    description str
    features Sequence[str]
    ipxe_script_url str
    locked bool
    Blocks deletion of the SpotMarketRequest device until the lock is disabled.
    project_ssh_keys Sequence[str]
    tags Sequence[str]
    termination_time str
    termintation_time str

    Deprecated: Use instance_parameters.termination_time instead

    user_ssh_keys Sequence[str]
    userdata str
    billingCycle String
    hostname String
    operatingSystem String
    plan String
    alwaysPxe Boolean
    customdata String
    description String
    features List<String>
    ipxeScriptUrl String
    locked Boolean
    Blocks deletion of the SpotMarketRequest device until the lock is disabled.
    projectSshKeys List<String>
    tags List<String>
    terminationTime String
    termintationTime String

    Deprecated: Use instance_parameters.termination_time instead

    userSshKeys List<String>
    userdata String

    Package Details

    Repository
    equinix equinix/pulumi-equinix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the equinix Terraform Provider.
    equinix logo
    Equinix v0.19.0 published on Thursday, Oct 24, 2024 by Equinix