1. Registry
  2. Packages
  3. BiznetGIO
  4. API Docs
  5. GpuInstance
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 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:

    ConsolePassword string
    Console password. Create-only, changing it replaces the instance.
    KeypairId int
    GPU keypair id, from GpuKeypair.
    ProductId int
    GPU product id from the gpu products function.
    SelectOs string
    OS to install, from the product's select-os catalog.
    SshAndConsoleUser string
    SSH and console user for the instance.
    OnDemand GpuOnDemandArgs
    On-demand billing mode (hourly). Exactly one of subscription or onDemand must be set.
    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.
    Promocode string
    Promo code to apply at creation.
    RebuildTrigger string
    Change this value to rebuild the instance (destructive, reinstalls the OS).
    ReserveAdditionalHoursTrigger string
    Change this value to reserve 1 additional hour on an on-demand instance.
    ServiceName string
    Display name of the instance. Create-only, changing it replaces the instance.
    Subscription GpuSubscriptionArgs
    Subscription billing mode (cycle-based). Exactly one of subscription or onDemand must be set.
    ConsolePassword string
    Console password. Create-only, changing it replaces the instance.
    KeypairId int
    GPU keypair id, from GpuKeypair.
    ProductId int
    GPU product id from the gpu products function.
    SelectOs string
    OS to install, from the product's select-os catalog.
    SshAndConsoleUser string
    SSH and console user for the instance.
    OnDemand GpuOnDemandArgsArgs
    On-demand billing mode (hourly). Exactly one of subscription or onDemand must be set.
    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.
    Promocode string
    Promo code to apply at creation.
    RebuildTrigger string
    Change this value to rebuild the instance (destructive, reinstalls the OS).
    ReserveAdditionalHoursTrigger string
    Change this value to reserve 1 additional hour on an on-demand instance.
    ServiceName string
    Display name of the instance. Create-only, changing it replaces the instance.
    Subscription GpuSubscriptionArgsArgs
    Subscription billing mode (cycle-based). Exactly one of subscription or onDemand must 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_console_user string
    SSH and console user for the instance.
    on_demand object
    On-demand billing mode (hourly). Exactly one of subscription or onDemand must be set.
    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.
    promocode string
    Promo code to apply at creation.
    rebuild_trigger string
    Change this value to rebuild the instance (destructive, reinstalls the OS).
    reserve_additional_hours_trigger string
    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 subscription or onDemand must be set.
    consolePassword String
    Console password. Create-only, changing it replaces the instance.
    keypairId Integer
    GPU keypair id, from GpuKeypair.
    productId Integer
    GPU product id from the gpu products function.
    selectOs String
    OS to install, from the product's select-os catalog.
    sshAndConsoleUser String
    SSH and console user for the instance.
    onDemand GpuOnDemandArgs
    On-demand billing mode (hourly). Exactly one of subscription or onDemand must be set.
    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.
    promocode String
    Promo code to apply at creation.
    rebuildTrigger String
    Change this value to rebuild the instance (destructive, reinstalls the OS).
    reserveAdditionalHoursTrigger String
    Change this value to reserve 1 additional hour on an on-demand instance.
    serviceName String
    Display name of the instance. Create-only, changing it replaces the instance.
    subscription GpuSubscriptionArgs
    Subscription billing mode (cycle-based). Exactly one of subscription or onDemand must be set.
    consolePassword string
    Console password. Create-only, changing it replaces the instance.
    keypairId number
    GPU keypair id, from GpuKeypair.
    productId number
    GPU product id from the gpu products function.
    selectOs string
    OS to install, from the product's select-os catalog.
    sshAndConsoleUser string
    SSH and console user for the instance.
    onDemand GpuOnDemandArgs
    On-demand billing mode (hourly). Exactly one of subscription or onDemand must be set.
    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.
    promocode string
    Promo code to apply at creation.
    rebuildTrigger string
    Change this value to rebuild the instance (destructive, reinstalls the OS).
    reserveAdditionalHoursTrigger string
    Change this value to reserve 1 additional hour on an on-demand instance.
    serviceName string
    Display name of the instance. Create-only, changing it replaces the instance.
    subscription GpuSubscriptionArgs
    Subscription billing mode (cycle-based). Exactly one of subscription or onDemand must 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_console_user str
    SSH and console user for the instance.
    on_demand GpuOnDemandArgsArgs
    On-demand billing mode (hourly). Exactly one of subscription or onDemand must be set.
    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.
    promocode str
    Promo code to apply at creation.
    rebuild_trigger str
    Change this value to rebuild the instance (destructive, reinstalls the OS).
    reserve_additional_hours_trigger str
    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 GpuSubscriptionArgsArgs
    Subscription billing mode (cycle-based). Exactly one of subscription or onDemand must be set.
    consolePassword String
    Console password. Create-only, changing it replaces the instance.
    keypairId Number
    GPU keypair id, from GpuKeypair.
    productId Number
    GPU product id from the gpu products function.
    selectOs String
    OS to install, from the product's select-os catalog.
    sshAndConsoleUser String
    SSH and console user for the instance.
    onDemand Property Map
    On-demand billing mode (hourly). Exactly one of subscription or onDemand must be set.
    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.
    promocode String
    Promo code to apply at creation.
    rebuildTrigger String
    Change this value to rebuild the instance (destructive, reinstalls the OS).
    reserveAdditionalHoursTrigger String
    Change this value to reserve 1 additional hour on an on-demand instance.
    serviceName String
    Display name of the instance. Create-only, changing it replaces the instance.
    subscription Property Map
    Subscription billing mode (cycle-based). Exactly one of subscription or onDemand must be set.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    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 instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    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 instance.
    id string
    The provider-assigned unique ID for this managed resource.
    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 instance.
    id String
    The provider-assigned unique ID for this managed resource.
    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 instance.
    id string
    The provider-assigned unique ID for this managed resource.
    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 instance.
    id str
    The provider-assigned unique ID for this managed resource.
    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 instance.
    id String
    The provider-assigned unique ID for this managed resource.
    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 instance.

    Supporting Types

    GpuOnDemandArgs, GpuOnDemandArgsArgs

    AdditionalHours int
    Additional hours to reserve. Defaults to 0.
    AdditionalHours int
    Additional hours to reserve. Defaults to 0.
    additional_hours number
    Additional hours to reserve. Defaults to 0.
    additionalHours Integer
    Additional hours to reserve. Defaults to 0.
    additionalHours number
    Additional hours to reserve. Defaults to 0.
    additional_hours int
    Additional hours to reserve. Defaults to 0.
    additionalHours Number
    Additional hours to reserve. Defaults to 0.

    GpuSubscriptionArgs, GpuSubscriptionArgsArgs

    Cycle string
    Billing cycle, e.g. m for monthly or a for annual.
    Cycle string
    Billing cycle, e.g. m for monthly or a for annual.
    cycle string
    Billing cycle, e.g. m for monthly or a for annual.
    cycle String
    Billing cycle, e.g. m for monthly or a for annual.
    cycle string
    Billing cycle, e.g. m for monthly or a for annual.
    cycle str
    Billing cycle, e.g. m for monthly or a for annual.
    cycle String
    Billing cycle, e.g. m for monthly or a for annual.

    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