1. Registry
  2. Packages
  3. BiznetGIO
  4. API Docs
  5. Baremetal
Viewing docs for Pulumi BiznetGIO Provider v0.1.7
published on Wednesday, Aug 19, 2026 by shirasakaren
biznetgio logo
Viewing docs for Pulumi BiznetGIO Provider v0.1.7
published on Wednesday, Aug 19, 2026 by shirasakaren

    Create Baremetal Resource

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

    Constructor syntax

    new Baremetal(name: string, args: BaremetalArgs, opts?: CustomResourceOptions);
    @overload
    def Baremetal(resource_name: str,
                  args: BaremetalArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Baremetal(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  cycle: Optional[str] = None,
                  keypair_id: Optional[int] = None,
                  label: Optional[str] = None,
                  product_id: Optional[int] = None,
                  pay_with_credit_card: Optional[bool] = None,
                  power_state: Optional[str] = None,
                  promocode: Optional[str] = None,
                  public_ip: Optional[int] = None,
                  rebuild_os: Optional[str] = None,
                  reset_trigger: Optional[str] = None,
                  select_os: Optional[str] = None)
    func NewBaremetal(ctx *Context, name string, args BaremetalArgs, opts ...ResourceOption) (*Baremetal, error)
    public Baremetal(string name, BaremetalArgs args, CustomResourceOptions? opts = null)
    public Baremetal(String name, BaremetalArgs args)
    public Baremetal(String name, BaremetalArgs args, CustomResourceOptions options)
    
    type: biznetgio:Baremetal
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "biznetgio_baremetal" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args BaremetalArgs
    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 BaremetalArgs
    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 BaremetalArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BaremetalArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BaremetalArgs
    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 baremetalResource = new Biznetgio.Baremetal("baremetalResource", new()
    {
        Cycle = "string",
        KeypairId = 0,
        Label = "string",
        ProductId = 0,
        PayWithCreditCard = false,
        PowerState = "string",
        Promocode = "string",
        PublicIp = 0,
        RebuildOs = "string",
        ResetTrigger = "string",
        SelectOs = "string",
    });
    
    example, err := biznetgio.NewBaremetal(ctx, "baremetalResource", &biznetgio.BaremetalArgs{
    	Cycle:             pulumi.String("string"),
    	KeypairId:         pulumi.Int(0),
    	Label:             pulumi.String("string"),
    	ProductId:         pulumi.Int(0),
    	PayWithCreditCard: pulumi.Bool(false),
    	PowerState:        pulumi.String("string"),
    	Promocode:         pulumi.String("string"),
    	PublicIp:          pulumi.Int(0),
    	RebuildOs:         pulumi.String("string"),
    	ResetTrigger:      pulumi.String("string"),
    	SelectOs:          pulumi.String("string"),
    })
    
    resource "biznetgio_baremetal" "baremetalResource" {
      pulumi {
        replace_on_changes = [cycle, keypair_id, pay_with_credit_card, product_id, promocode, public_ip, select_os]
      }
      lifecycle {
        create_before_destroy = true
      }
      cycle                = "string"
      keypair_id           = 0
      label                = "string"
      product_id           = 0
      pay_with_credit_card = false
      power_state          = "string"
      promocode            = "string"
      public_ip            = 0
      rebuild_os           = "string"
      reset_trigger        = "string"
      select_os            = "string"
    }
    
    var baremetalResource = new Baremetal("baremetalResource", BaremetalArgs.builder()
        .cycle("string")
        .keypairId(0)
        .label("string")
        .productId(0)
        .payWithCreditCard(false)
        .powerState("string")
        .promocode("string")
        .publicIp(0)
        .rebuildOs("string")
        .resetTrigger("string")
        .selectOs("string")
        .build());
    
    baremetal_resource = biznetgio.Baremetal("baremetalResource",
        cycle="string",
        keypair_id=0,
        label="string",
        product_id=0,
        pay_with_credit_card=False,
        power_state="string",
        promocode="string",
        public_ip=0,
        rebuild_os="string",
        reset_trigger="string",
        select_os="string")
    
    const baremetalResource = new biznetgio.Baremetal("baremetalResource", {
        cycle: "string",
        keypairId: 0,
        label: "string",
        productId: 0,
        payWithCreditCard: false,
        powerState: "string",
        promocode: "string",
        publicIp: 0,
        rebuildOs: "string",
        resetTrigger: "string",
        selectOs: "string",
    });
    
    type: biznetgio:Baremetal
    properties:
        cycle: string
        keypairId: 0
        label: string
        payWithCreditCard: false
        powerState: string
        productId: 0
        promocode: string
        publicIp: 0
        rebuildOs: string
        resetTrigger: string
        selectOs: string
    

    Baremetal 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 Baremetal resource accepts the following input properties:

    Cycle string
    Billing cycle, e.g. m for monthly or a for annual.
    KeypairId int
    Baremetal keypair id, from BaremetalKeypair. The baremetal keypair pool is separate from neolite/gpu.
    Label string
    Display name of the server. The only field updatable in place.
    ProductId int
    Product id from the baremetal products function.
    PayWithCreditCard bool
    Pay the invoice with the registered credit card. Defaults to true. Set false to leave the invoice unpaid in the portal; the resource stays Pending until paid.
    PowerState string
    Power state of the server: on or off. Only fires an API call when the value changes.
    Promocode string
    Promo code to apply at creation.
    PublicIp int
    Number of public IPs to request (1 = with public IP). Defaults to 1. Create-only, changing it replaces the instance.
    RebuildOs string
    Change this value to rebuild the instance (destructive, wipes the OS) via PUT /baremetals/{account_id}/rebuild. Valid OS list comes from the rebuildOsList function.
    ResetTrigger string
    Change this value to trigger a one-shot reset/reboot. The reset is an action, not a stable state.
    SelectOs string
    OS to install at creation, from GET /baremetals/products/{product_id}/oss. Defaults to ubuntu-22. Create-only, changing it replaces the instance.
    Cycle string
    Billing cycle, e.g. m for monthly or a for annual.
    KeypairId int
    Baremetal keypair id, from BaremetalKeypair. The baremetal keypair pool is separate from neolite/gpu.
    Label string
    Display name of the server. The only field updatable in place.
    ProductId int
    Product id from the baremetal products function.
    PayWithCreditCard bool
    Pay the invoice with the registered credit card. Defaults to true. Set false to leave the invoice unpaid in the portal; the resource stays Pending until paid.
    PowerState string
    Power state of the server: on or off. Only fires an API call when the value changes.
    Promocode string
    Promo code to apply at creation.
    PublicIp int
    Number of public IPs to request (1 = with public IP). Defaults to 1. Create-only, changing it replaces the instance.
    RebuildOs string
    Change this value to rebuild the instance (destructive, wipes the OS) via PUT /baremetals/{account_id}/rebuild. Valid OS list comes from the rebuildOsList function.
    ResetTrigger string
    Change this value to trigger a one-shot reset/reboot. The reset is an action, not a stable state.
    SelectOs string
    OS to install at creation, from GET /baremetals/products/{product_id}/oss. Defaults to ubuntu-22. Create-only, changing it replaces the instance.
    cycle string
    Billing cycle, e.g. m for monthly or a for annual.
    keypair_id number
    Baremetal keypair id, from BaremetalKeypair. The baremetal keypair pool is separate from neolite/gpu.
    label string
    Display name of the server. The only field updatable in place.
    product_id number
    Product id from the baremetal products function.
    pay_with_credit_card bool
    Pay the invoice with the registered credit card. Defaults to true. Set false to leave the invoice unpaid in the portal; the resource stays Pending until paid.
    power_state string
    Power state of the server: on or off. Only fires an API call when the value changes.
    promocode string
    Promo code to apply at creation.
    public_ip number
    Number of public IPs to request (1 = with public IP). Defaults to 1. Create-only, changing it replaces the instance.
    rebuild_os string
    Change this value to rebuild the instance (destructive, wipes the OS) via PUT /baremetals/{account_id}/rebuild. Valid OS list comes from the rebuildOsList function.
    reset_trigger string
    Change this value to trigger a one-shot reset/reboot. The reset is an action, not a stable state.
    select_os string
    OS to install at creation, from GET /baremetals/products/{product_id}/oss. Defaults to ubuntu-22. Create-only, changing it replaces the instance.
    cycle String
    Billing cycle, e.g. m for monthly or a for annual.
    keypairId Integer
    Baremetal keypair id, from BaremetalKeypair. The baremetal keypair pool is separate from neolite/gpu.
    label String
    Display name of the server. The only field updatable in place.
    productId Integer
    Product id from the baremetal products function.
    payWithCreditCard Boolean
    Pay the invoice with the registered credit card. Defaults to true. Set false to leave the invoice unpaid in the portal; the resource stays Pending until paid.
    powerState String
    Power state of the server: on or off. Only fires an API call when the value changes.
    promocode String
    Promo code to apply at creation.
    publicIp Integer
    Number of public IPs to request (1 = with public IP). Defaults to 1. Create-only, changing it replaces the instance.
    rebuildOs String
    Change this value to rebuild the instance (destructive, wipes the OS) via PUT /baremetals/{account_id}/rebuild. Valid OS list comes from the rebuildOsList function.
    resetTrigger String
    Change this value to trigger a one-shot reset/reboot. The reset is an action, not a stable state.
    selectOs String
    OS to install at creation, from GET /baremetals/products/{product_id}/oss. Defaults to ubuntu-22. Create-only, changing it replaces the instance.
    cycle string
    Billing cycle, e.g. m for monthly or a for annual.
    keypairId number
    Baremetal keypair id, from BaremetalKeypair. The baremetal keypair pool is separate from neolite/gpu.
    label string
    Display name of the server. The only field updatable in place.
    productId number
    Product id from the baremetal products function.
    payWithCreditCard boolean
    Pay the invoice with the registered credit card. Defaults to true. Set false to leave the invoice unpaid in the portal; the resource stays Pending until paid.
    powerState string
    Power state of the server: on or off. Only fires an API call when the value changes.
    promocode string
    Promo code to apply at creation.
    publicIp number
    Number of public IPs to request (1 = with public IP). Defaults to 1. Create-only, changing it replaces the instance.
    rebuildOs string
    Change this value to rebuild the instance (destructive, wipes the OS) via PUT /baremetals/{account_id}/rebuild. Valid OS list comes from the rebuildOsList function.
    resetTrigger string
    Change this value to trigger a one-shot reset/reboot. The reset is an action, not a stable state.
    selectOs string
    OS to install at creation, from GET /baremetals/products/{product_id}/oss. Defaults to ubuntu-22. Create-only, changing it replaces the instance.
    cycle str
    Billing cycle, e.g. m for monthly or a for annual.
    keypair_id int
    Baremetal keypair id, from BaremetalKeypair. The baremetal keypair pool is separate from neolite/gpu.
    label str
    Display name of the server. The only field updatable in place.
    product_id int
    Product id from the baremetal products function.
    pay_with_credit_card bool
    Pay the invoice with the registered credit card. Defaults to true. Set false to leave the invoice unpaid in the portal; the resource stays Pending until paid.
    power_state str
    Power state of the server: on or off. Only fires an API call when the value changes.
    promocode str
    Promo code to apply at creation.
    public_ip int
    Number of public IPs to request (1 = with public IP). Defaults to 1. Create-only, changing it replaces the instance.
    rebuild_os str
    Change this value to rebuild the instance (destructive, wipes the OS) via PUT /baremetals/{account_id}/rebuild. Valid OS list comes from the rebuildOsList function.
    reset_trigger str
    Change this value to trigger a one-shot reset/reboot. The reset is an action, not a stable state.
    select_os str
    OS to install at creation, from GET /baremetals/products/{product_id}/oss. Defaults to ubuntu-22. Create-only, changing it replaces the instance.
    cycle String
    Billing cycle, e.g. m for monthly or a for annual.
    keypairId Number
    Baremetal keypair id, from BaremetalKeypair. The baremetal keypair pool is separate from neolite/gpu.
    label String
    Display name of the server. The only field updatable in place.
    productId Number
    Product id from the baremetal products function.
    payWithCreditCard Boolean
    Pay the invoice with the registered credit card. Defaults to true. Set false to leave the invoice unpaid in the portal; the resource stays Pending until paid.
    powerState String
    Power state of the server: on or off. Only fires an API call when the value changes.
    promocode String
    Promo code to apply at creation.
    publicIp Number
    Number of public IPs to request (1 = with public IP). Defaults to 1. Create-only, changing it replaces the instance.
    rebuildOs String
    Change this value to rebuild the instance (destructive, wipes the OS) via PUT /baremetals/{account_id}/rebuild. Valid OS list comes from the rebuildOsList function.
    resetTrigger String
    Change this value to trigger a one-shot reset/reboot. The reset is an action, not a stable state.
    selectOs String
    OS to install at creation, from GET /baremetals/products/{product_id}/oss. Defaults to ubuntu-22. Create-only, changing it replaces the instance.

    Outputs

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

    CreatedAt string
    Creation timestamp (alias of created_at/date_created).
    Id string
    The provider-assigned unique ID for this managed resource.
    IpAddress string
    Public IP address of the server, when present.
    OrderId string
    Order id from the creation response.
    Raw string
    Raw JSON of the last read response, for anything not modeled yet.
    Status string
    Current status of the server.
    CreatedAt string
    Creation timestamp (alias of created_at/date_created).
    Id string
    The provider-assigned unique ID for this managed resource.
    IpAddress string
    Public IP address of the server, when present.
    OrderId string
    Order id from the creation response.
    Raw string
    Raw JSON of the last read response, for anything not modeled yet.
    Status string
    Current status of the server.
    created_at string
    Creation timestamp (alias of created_at/date_created).
    id string
    The provider-assigned unique ID for this managed resource.
    ip_address string
    Public IP address of the server, when present.
    order_id string
    Order id from the creation response.
    raw string
    Raw JSON of the last read response, for anything not modeled yet.
    status string
    Current status of the server.
    createdAt String
    Creation timestamp (alias of created_at/date_created).
    id String
    The provider-assigned unique ID for this managed resource.
    ipAddress String
    Public IP address of the server, when present.
    orderId String
    Order id from the creation response.
    raw String
    Raw JSON of the last read response, for anything not modeled yet.
    status String
    Current status of the server.
    createdAt string
    Creation timestamp (alias of created_at/date_created).
    id string
    The provider-assigned unique ID for this managed resource.
    ipAddress string
    Public IP address of the server, when present.
    orderId string
    Order id from the creation response.
    raw string
    Raw JSON of the last read response, for anything not modeled yet.
    status string
    Current status of the server.
    created_at str
    Creation timestamp (alias of created_at/date_created).
    id str
    The provider-assigned unique ID for this managed resource.
    ip_address str
    Public IP address of the server, when present.
    order_id str
    Order id from the creation response.
    raw str
    Raw JSON of the last read response, for anything not modeled yet.
    status str
    Current status of the server.
    createdAt String
    Creation timestamp (alias of created_at/date_created).
    id String
    The provider-assigned unique ID for this managed resource.
    ipAddress String
    Public IP address of the server, when present.
    orderId String
    Order id from the creation response.
    raw String
    Raw JSON of the last read response, for anything not modeled yet.
    status String
    Current status of the server.

    Package Details

    Repository
    biznetgio github.com/shirasakaren/pulumi-biznetgio
    License
    Apache-2.0
    biznetgio logo
    Viewing docs for Pulumi BiznetGIO Provider v0.1.7
    published on Wednesday, Aug 19, 2026 by shirasakaren

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial