Viewing docs for Pulumi BiznetGIO Provider v0.1.7
published on Wednesday, Aug 19, 2026 by shirasakaren
published on Wednesday, Aug 19, 2026 by shirasakaren
Viewing docs for Pulumi BiznetGIO Provider v0.1.7
published on Wednesday, Aug 19, 2026 by shirasakaren
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.
mfor monthly orafor annual. - Keypair
Id 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.
- Product
Id int - Product id from the baremetal products function.
- Pay
With boolCredit Card - 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:
onoroff. Only fires an API call when the value changes. - Promocode string
- 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 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 toubuntu-22. Create-only, changing it replaces the instance.
- Cycle string
- Billing cycle, e.g.
mfor monthly orafor annual. - Keypair
Id 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.
- Product
Id int - Product id from the baremetal products function.
- Pay
With boolCredit Card - 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:
onoroff. Only fires an API call when the value changes. - Promocode string
- 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 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 toubuntu-22. Create-only, changing it replaces the instance.
- cycle string
- Billing cycle, e.g.
mfor monthly orafor 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_ boolcredit_ card - 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:
onoroff. 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 toubuntu-22. Create-only, changing it replaces the instance.
- cycle String
- Billing cycle, e.g.
mfor monthly orafor annual. - keypair
Id 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.
- product
Id Integer - Product id from the baremetal products function.
- pay
With BooleanCredit Card - 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:
onoroff. Only fires an API call when the value changes. - promocode String
- Promo code to apply at creation.
- public
Ip Integer - 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 toubuntu-22. Create-only, changing it replaces the instance.
- cycle string
- Billing cycle, e.g.
mfor monthly orafor 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 booleanCredit Card - 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:
onoroff. 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 toubuntu-22. Create-only, changing it replaces the instance.
- cycle str
- Billing cycle, e.g.
mfor monthly orafor 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_ boolcredit_ card - 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:
onoroff. 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 toubuntu-22. Create-only, changing it replaces the instance.
- cycle String
- Billing cycle, e.g.
mfor monthly orafor 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 BooleanCredit Card - 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:
onoroff. 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 toubuntu-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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Package Details
- Repository
- biznetgio github.com/shirasakaren/pulumi-biznetgio
- License
- Apache-2.0
Viewing docs for Pulumi BiznetGIO Provider v0.1.7
published on Wednesday, Aug 19, 2026 by shirasakaren
published on Wednesday, Aug 19, 2026 by shirasakaren