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 GpuInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GpuInstance(name: string, args: GpuInstanceArgs, opts?: CustomResourceOptions);@overload
def GpuInstance(resource_name: str,
args: GpuInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GpuInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
console_password: Optional[str] = None,
keypair_id: Optional[int] = None,
product_id: Optional[int] = None,
select_os: Optional[str] = None,
ssh_and_console_user: Optional[str] = None,
on_demand: Optional[GpuOnDemandArgsArgs] = None,
pay_with_credit_card: Optional[bool] = None,
promocode: Optional[str] = None,
rebuild_trigger: Optional[str] = None,
reserve_additional_hours_trigger: Optional[str] = None,
service_name: Optional[str] = None,
subscription: Optional[GpuSubscriptionArgsArgs] = None)func NewGpuInstance(ctx *Context, name string, args GpuInstanceArgs, opts ...ResourceOption) (*GpuInstance, error)public GpuInstance(string name, GpuInstanceArgs args, CustomResourceOptions? opts = null)
public GpuInstance(String name, GpuInstanceArgs args)
public GpuInstance(String name, GpuInstanceArgs args, CustomResourceOptions options)
type: biznetgio:GpuInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "biznetgio_gpu_instance" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GpuInstanceArgs
- 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 GpuInstanceArgs
- 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 GpuInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GpuInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GpuInstanceArgs
- 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 gpuInstanceResource = new Biznetgio.GpuInstance("gpuInstanceResource", new()
{
ConsolePassword = "string",
KeypairId = 0,
ProductId = 0,
SelectOs = "string",
SshAndConsoleUser = "string",
OnDemand = new Biznetgio.Inputs.GpuOnDemandArgsArgs
{
AdditionalHours = 0,
},
PayWithCreditCard = false,
Promocode = "string",
RebuildTrigger = "string",
ReserveAdditionalHoursTrigger = "string",
ServiceName = "string",
Subscription = new Biznetgio.Inputs.GpuSubscriptionArgsArgs
{
Cycle = "string",
},
});
example, err := biznetgio.NewGpuInstance(ctx, "gpuInstanceResource", &biznetgio.GpuInstanceArgs{
ConsolePassword: pulumi.String("string"),
KeypairId: pulumi.Int(0),
ProductId: pulumi.Int(0),
SelectOs: pulumi.String("string"),
SshAndConsoleUser: pulumi.String("string"),
OnDemand: &pulumibiznetgio.GpuOnDemandArgsArgs{
AdditionalHours: pulumi.Int(0),
},
PayWithCreditCard: pulumi.Bool(false),
Promocode: pulumi.String("string"),
RebuildTrigger: pulumi.String("string"),
ReserveAdditionalHoursTrigger: pulumi.String("string"),
ServiceName: pulumi.String("string"),
Subscription: &pulumibiznetgio.GpuSubscriptionArgsArgs{
Cycle: pulumi.String("string"),
},
})
resource "biznetgio_gpu_instance" "gpuInstanceResource" {
pulumi {
replace_on_changes = [console_password, keypair_id, on_demand, pay_with_credit_card, product_id, promocode, select_os, service_name, ssh_and_console_user, subscription]
}
lifecycle {
create_before_destroy = true
}
console_password = "string"
keypair_id = 0
product_id = 0
select_os = "string"
ssh_and_console_user = "string"
on_demand = {
additional_hours = 0
}
pay_with_credit_card = false
promocode = "string"
rebuild_trigger = "string"
reserve_additional_hours_trigger = "string"
service_name = "string"
subscription = {
cycle = "string"
}
}
var gpuInstanceResource = new GpuInstance("gpuInstanceResource", GpuInstanceArgs.builder()
.consolePassword("string")
.keypairId(0)
.productId(0)
.selectOs("string")
.sshAndConsoleUser("string")
.onDemand(GpuOnDemandArgs.builder()
.additionalHours(0)
.build())
.payWithCreditCard(false)
.promocode("string")
.rebuildTrigger("string")
.reserveAdditionalHoursTrigger("string")
.serviceName("string")
.subscription(GpuSubscriptionArgs.builder()
.cycle("string")
.build())
.build());
gpu_instance_resource = biznetgio.GpuInstance("gpuInstanceResource",
console_password="string",
keypair_id=0,
product_id=0,
select_os="string",
ssh_and_console_user="string",
on_demand={
"additional_hours": 0,
},
pay_with_credit_card=False,
promocode="string",
rebuild_trigger="string",
reserve_additional_hours_trigger="string",
service_name="string",
subscription={
"cycle": "string",
})
const gpuInstanceResource = new biznetgio.GpuInstance("gpuInstanceResource", {
consolePassword: "string",
keypairId: 0,
productId: 0,
selectOs: "string",
sshAndConsoleUser: "string",
onDemand: {
additionalHours: 0,
},
payWithCreditCard: false,
promocode: "string",
rebuildTrigger: "string",
reserveAdditionalHoursTrigger: "string",
serviceName: "string",
subscription: {
cycle: "string",
},
});
type: biznetgio:GpuInstance
properties:
consolePassword: string
keypairId: 0
onDemand:
additionalHours: 0
payWithCreditCard: false
productId: 0
promocode: string
rebuildTrigger: string
reserveAdditionalHoursTrigger: string
selectOs: string
serviceName: string
sshAndConsoleUser: string
subscription:
cycle: string
GpuInstance 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 GpuInstance resource accepts the following input properties:
- Console
Password string - Console password. Create-only, changing it replaces the instance.
- Keypair
Id int - GPU keypair id, from GpuKeypair.
- Product
Id int - GPU product id from the gpu products function.
- Select
Os string - OS to install, from the product's select-os catalog.
- Ssh
And stringConsole User - SSH and console user for the instance.
- On
Demand GpuOn Demand Args - On-demand billing mode (hourly). Exactly one of
subscriptionoronDemandmust be set. - 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.
- Promocode string
- Promo code to apply at creation.
- Rebuild
Trigger string - Change this value to rebuild the instance (destructive, reinstalls the OS).
- Reserve
Additional stringHours Trigger - Change this value to reserve 1 additional hour on an on-demand instance.
- Service
Name string - Display name of the instance. Create-only, changing it replaces the instance.
- Subscription
Gpu
Subscription Args - Subscription billing mode (cycle-based). Exactly one of
subscriptionoronDemandmust be set.
- Console
Password string - Console password. Create-only, changing it replaces the instance.
- Keypair
Id int - GPU keypair id, from GpuKeypair.
- Product
Id int - GPU product id from the gpu products function.
- Select
Os string - OS to install, from the product's select-os catalog.
- Ssh
And stringConsole User - SSH and console user for the instance.
- On
Demand GpuOn Demand Args Args - On-demand billing mode (hourly). Exactly one of
subscriptionoronDemandmust be set. - 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.
- Promocode string
- Promo code to apply at creation.
- Rebuild
Trigger string - Change this value to rebuild the instance (destructive, reinstalls the OS).
- Reserve
Additional stringHours Trigger - Change this value to reserve 1 additional hour on an on-demand instance.
- Service
Name string - Display name of the instance. Create-only, changing it replaces the instance.
- Subscription
Gpu
Subscription Args Args - Subscription billing mode (cycle-based). Exactly one of
subscriptionoronDemandmust be set.
- console_
password string - Console password. Create-only, changing it replaces the instance.
- keypair_
id number - GPU keypair id, from GpuKeypair.
- product_
id number - GPU product id from the gpu products function.
- select_
os string - OS to install, from the product's select-os catalog.
- ssh_
and_ stringconsole_ user - SSH and console user for the instance.
- on_
demand object - On-demand billing mode (hourly). Exactly one of
subscriptionoronDemandmust be set. - 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.
- promocode string
- Promo code to apply at creation.
- rebuild_
trigger string - Change this value to rebuild the instance (destructive, reinstalls the OS).
- reserve_
additional_ stringhours_ trigger - Change this value to reserve 1 additional hour on an on-demand instance.
- service_
name string - Display name of the instance. Create-only, changing it replaces the instance.
- subscription object
- Subscription billing mode (cycle-based). Exactly one of
subscriptionoronDemandmust be set.
- console
Password String - Console password. Create-only, changing it replaces the instance.
- keypair
Id Integer - GPU keypair id, from GpuKeypair.
- product
Id Integer - GPU product id from the gpu products function.
- select
Os String - OS to install, from the product's select-os catalog.
- ssh
And StringConsole User - SSH and console user for the instance.
- on
Demand GpuOn Demand Args - On-demand billing mode (hourly). Exactly one of
subscriptionoronDemandmust be set. - 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.
- promocode String
- Promo code to apply at creation.
- rebuild
Trigger String - Change this value to rebuild the instance (destructive, reinstalls the OS).
- reserve
Additional StringHours Trigger - Change this value to reserve 1 additional hour on an on-demand instance.
- service
Name String - Display name of the instance. Create-only, changing it replaces the instance.
- subscription
Gpu
Subscription Args - Subscription billing mode (cycle-based). Exactly one of
subscriptionoronDemandmust be set.
- console
Password string - Console password. Create-only, changing it replaces the instance.
- keypair
Id number - GPU keypair id, from GpuKeypair.
- product
Id number - GPU product id from the gpu products function.
- select
Os string - OS to install, from the product's select-os catalog.
- ssh
And stringConsole User - SSH and console user for the instance.
- on
Demand GpuOn Demand Args - On-demand billing mode (hourly). Exactly one of
subscriptionoronDemandmust be set. - 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.
- promocode string
- Promo code to apply at creation.
- rebuild
Trigger string - Change this value to rebuild the instance (destructive, reinstalls the OS).
- reserve
Additional stringHours Trigger - Change this value to reserve 1 additional hour on an on-demand instance.
- service
Name string - Display name of the instance. Create-only, changing it replaces the instance.
- subscription
Gpu
Subscription Args - Subscription billing mode (cycle-based). Exactly one of
subscriptionoronDemandmust be set.
- console_
password str - Console password. Create-only, changing it replaces the instance.
- keypair_
id int - GPU keypair id, from GpuKeypair.
- product_
id int - GPU product id from the gpu products function.
- select_
os str - OS to install, from the product's select-os catalog.
- ssh_
and_ strconsole_ user - SSH and console user for the instance.
- on_
demand GpuOn Demand Args Args - On-demand billing mode (hourly). Exactly one of
subscriptionoronDemandmust be set. - 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.
- promocode str
- Promo code to apply at creation.
- rebuild_
trigger str - Change this value to rebuild the instance (destructive, reinstalls the OS).
- reserve_
additional_ strhours_ trigger - Change this value to reserve 1 additional hour on an on-demand instance.
- service_
name str - Display name of the instance. Create-only, changing it replaces the instance.
- subscription
Gpu
Subscription Args Args - Subscription billing mode (cycle-based). Exactly one of
subscriptionoronDemandmust be set.
- console
Password String - Console password. Create-only, changing it replaces the instance.
- keypair
Id Number - GPU keypair id, from GpuKeypair.
- product
Id Number - GPU product id from the gpu products function.
- select
Os String - OS to install, from the product's select-os catalog.
- ssh
And StringConsole User - SSH and console user for the instance.
- on
Demand Property Map - On-demand billing mode (hourly). Exactly one of
subscriptionoronDemandmust be set. - 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.
- promocode String
- Promo code to apply at creation.
- rebuild
Trigger String - Change this value to rebuild the instance (destructive, reinstalls the OS).
- reserve
Additional StringHours Trigger - Change this value to reserve 1 additional hour on an on-demand instance.
- service
Name String - Display name of the instance. Create-only, changing it replaces the instance.
- subscription Property Map
- Subscription billing mode (cycle-based). Exactly one of
subscriptionoronDemandmust be set.
Outputs
All input properties are implicitly available as output properties. Additionally, the GpuInstance resource produces the following output properties:
Supporting Types
GpuOnDemandArgs, GpuOnDemandArgsArgs
- Additional
Hours int - Additional hours to reserve. Defaults to 0.
- Additional
Hours int - Additional hours to reserve. Defaults to 0.
- additional_
hours number - Additional hours to reserve. Defaults to 0.
- additional
Hours Integer - Additional hours to reserve. Defaults to 0.
- additional
Hours number - Additional hours to reserve. Defaults to 0.
- additional_
hours int - Additional hours to reserve. Defaults to 0.
- additional
Hours Number - Additional hours to reserve. Defaults to 0.
GpuSubscriptionArgs, GpuSubscriptionArgsArgs
- Cycle string
- Billing cycle, e.g.
mfor monthly orafor annual.
- Cycle string
- Billing cycle, e.g.
mfor monthly orafor annual.
- cycle string
- Billing cycle, e.g.
mfor monthly orafor annual.
- cycle String
- Billing cycle, e.g.
mfor monthly orafor annual.
- cycle string
- Billing cycle, e.g.
mfor monthly orafor annual.
- cycle str
- Billing cycle, e.g.
mfor monthly orafor annual.
- cycle String
- Billing cycle, e.g.
mfor monthly orafor annual.
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