published on Wednesday, Aug 19, 2026 by shirasakaren
published on Wednesday, Aug 19, 2026 by shirasakaren
Create GpuKeypair Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GpuKeypair(name: string, args: GpuKeypairArgs, opts?: CustomResourceOptions);@overload
def GpuKeypair(resource_name: str,
args: GpuKeypairArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GpuKeypair(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None)func NewGpuKeypair(ctx *Context, name string, args GpuKeypairArgs, opts ...ResourceOption) (*GpuKeypair, error)public GpuKeypair(string name, GpuKeypairArgs args, CustomResourceOptions? opts = null)
public GpuKeypair(String name, GpuKeypairArgs args)
public GpuKeypair(String name, GpuKeypairArgs args, CustomResourceOptions options)
type: biznetgio:GpuKeypair
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "biznetgio_gpu_keypair" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GpuKeypairArgs
- 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 GpuKeypairArgs
- 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 GpuKeypairArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GpuKeypairArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GpuKeypairArgs
- 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 gpuKeypairResource = new Biznetgio.GpuKeypair("gpuKeypairResource", new()
{
Name = "string",
});
example, err := biznetgio.NewGpuKeypair(ctx, "gpuKeypairResource", &biznetgio.GpuKeypairArgs{
Name: pulumi.String("string"),
})
resource "biznetgio_gpu_keypair" "gpuKeypairResource" {
lifecycle {
create_before_destroy = true
}
name = "string"
}
var gpuKeypairResource = new GpuKeypair("gpuKeypairResource", GpuKeypairArgs.builder()
.name("string")
.build());
gpu_keypair_resource = biznetgio.GpuKeypair("gpuKeypairResource", name="string")
const gpuKeypairResource = new biznetgio.GpuKeypair("gpuKeypairResource", {name: "string"});
type: biznetgio:GpuKeypair
properties:
name: string
GpuKeypair 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 GpuKeypair resource accepts the following input properties:
- Name string
- Name of the keypair. Create-only, changing it replaces the keypair.
- Name string
- Name of the keypair. Create-only, changing it replaces the keypair.
- name string
- Name of the keypair. Create-only, changing it replaces the keypair.
- name String
- Name of the keypair. Create-only, changing it replaces the keypair.
- name string
- Name of the keypair. Create-only, changing it replaces the keypair.
- name str
- Name of the keypair. Create-only, changing it replaces the keypair.
- name String
- Name of the keypair. Create-only, changing it replaces the keypair.
Outputs
All input properties are implicitly available as output properties. Additionally, the GpuKeypair resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Key string - Generated private key. Only returned at creation.
- Public
Key string - Generated public key.
- Raw string
- Raw JSON of the keypair item from the list API.
- Id string
- The provider-assigned unique ID for this managed resource.
- Private
Key string - Generated private key. Only returned at creation.
- Public
Key string - Generated public key.
- Raw string
- Raw JSON of the keypair item from the list API.
- id string
- The provider-assigned unique ID for this managed resource.
- private_
key string - Generated private key. Only returned at creation.
- public_
key string - Generated public key.
- raw string
- Raw JSON of the keypair item from the list API.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Key String - Generated private key. Only returned at creation.
- public
Key String - Generated public key.
- raw String
- Raw JSON of the keypair item from the list API.
- id string
- The provider-assigned unique ID for this managed resource.
- private
Key string - Generated private key. Only returned at creation.
- public
Key string - Generated public key.
- raw string
- Raw JSON of the keypair item from the list API.
- id str
- The provider-assigned unique ID for this managed resource.
- private_
key str - Generated private key. Only returned at creation.
- public_
key str - Generated public key.
- raw str
- Raw JSON of the keypair item from the list API.
- id String
- The provider-assigned unique ID for this managed resource.
- private
Key String - Generated private key. Only returned at creation.
- public
Key String - Generated public key.
- raw String
- Raw JSON of the keypair item from the list API.
Look up Existing GpuKeypair Resource
Get an existing GpuKeypair 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>, opts?: CustomResourceOptions): GpuKeypair@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> GpuKeypairfunc GetGpuKeypair(ctx *Context, name string, id IDInput, state *GpuKeypairState, opts ...ResourceOption) (*GpuKeypair, error)public static GpuKeypair Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static GpuKeypair get(String name, Output<String> id, CustomResourceOptions options)resources: existingGpuKeypair: type: biznetgio:GpuKeypair get: id: ${id}import {
to = biznetgio_gpu_keypair.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state GpuKeypairState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Package Details
- Repository
- biznetgio github.com/shirasakaren/pulumi-biznetgio
- License
- Apache-2.0
published on Wednesday, Aug 19, 2026 by shirasakaren