1. Packages
  2. Outscale Provider
  3. API Docs
  4. Keypair
outscale 1.1.0 published on Thursday, Apr 3, 2025 by outscale

outscale.Keypair

Explore with Pulumi AI

Manages a keypair.

For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.

Example Usage

Create a keypair

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const keypair01 = new outscale.Keypair("keypair01", {keypairName: "terraform-keypair-create"});
Copy
import pulumi
import pulumi_outscale as outscale

keypair01 = outscale.Keypair("keypair01", keypair_name="terraform-keypair-create")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewKeypair(ctx, "keypair01", &outscale.KeypairArgs{
			KeypairName: pulumi.String("terraform-keypair-create"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var keypair01 = new Outscale.Keypair("keypair01", new()
    {
        KeypairName = "terraform-keypair-create",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.Keypair;
import com.pulumi.outscale.KeypairArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var keypair01 = new Keypair("keypair01", KeypairArgs.builder()
            .keypairName("terraform-keypair-create")
            .build());

    }
}
Copy
resources:
  keypair01:
    type: outscale:Keypair
    properties:
      keypairName: terraform-keypair-create
Copy

Import keypairs

import * as pulumi from "@pulumi/pulumi";
import * as fs from "fs";
import * as outscale from "@pulumi/outscale";

const keypair02 = new outscale.Keypair("keypair02", {
    keypairName: "terraform-keypair-import-file",
    publicKey: fs.readFileSync("<PATH>", "utf8"),
});
const keypair03 = new outscale.Keypair("keypair03", {
    keypairName: "terraform-keypair-import-text",
    publicKey: "UFVCTElDIEtFWQ==",
});
Copy
import pulumi
import pulumi_outscale as outscale

keypair02 = outscale.Keypair("keypair02",
    keypair_name="terraform-keypair-import-file",
    public_key=(lambda path: open(path).read())("<PATH>"))
keypair03 = outscale.Keypair("keypair03",
    keypair_name="terraform-keypair-import-text",
    public_key="UFVCTElDIEtFWQ==")
Copy
package main

import (
	"os"

	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := os.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewKeypair(ctx, "keypair02", &outscale.KeypairArgs{
			KeypairName: pulumi.String("terraform-keypair-import-file"),
			PublicKey:   pulumi.String(readFileOrPanic("<PATH>")),
		})
		if err != nil {
			return err
		}
		_, err = outscale.NewKeypair(ctx, "keypair03", &outscale.KeypairArgs{
			KeypairName: pulumi.String("terraform-keypair-import-text"),
			PublicKey:   pulumi.String("UFVCTElDIEtFWQ=="),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var keypair02 = new Outscale.Keypair("keypair02", new()
    {
        KeypairName = "terraform-keypair-import-file",
        PublicKey = File.ReadAllText("<PATH>"),
    });

    var keypair03 = new Outscale.Keypair("keypair03", new()
    {
        KeypairName = "terraform-keypair-import-text",
        PublicKey = "UFVCTElDIEtFWQ==",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.Keypair;
import com.pulumi.outscale.KeypairArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var keypair02 = new Keypair("keypair02", KeypairArgs.builder()
            .keypairName("terraform-keypair-import-file")
            .publicKey(Files.readString(Paths.get("<PATH>")))
            .build());

        var keypair03 = new Keypair("keypair03", KeypairArgs.builder()
            .keypairName("terraform-keypair-import-text")
            .publicKey("UFVCTElDIEtFWQ==")
            .build());

    }
}
Copy
resources:
  keypair02:
    type: outscale:Keypair
    properties:
      keypairName: terraform-keypair-import-file
      publicKey:
        fn::readFile: <PATH>
  keypair03:
    type: outscale:Keypair
    properties:
      keypairName: terraform-keypair-import-text
      publicKey: UFVCTElDIEtFWQ==
Copy

Create Keypair Resource

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

Constructor syntax

new Keypair(name: string, args: KeypairArgs, opts?: CustomResourceOptions);
@overload
def Keypair(resource_name: str,
            args: KeypairArgs,
            opts: Optional[ResourceOptions] = None)

@overload
def Keypair(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            keypair_name: Optional[str] = None,
            public_key: Optional[str] = None,
            tags: Optional[Sequence[KeypairTagArgs]] = None,
            timeouts: Optional[KeypairTimeoutsArgs] = None)
func NewKeypair(ctx *Context, name string, args KeypairArgs, opts ...ResourceOption) (*Keypair, error)
public Keypair(string name, KeypairArgs args, CustomResourceOptions? opts = null)
public Keypair(String name, KeypairArgs args)
public Keypair(String name, KeypairArgs args, CustomResourceOptions options)
type: outscale:Keypair
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. KeypairArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. KeypairArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. KeypairArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. KeypairArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. KeypairArgs
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 keypairResource = new Outscale.Keypair("keypairResource", new()
{
    KeypairName = "string",
    PublicKey = "string",
    Tags = new[]
    {
        new Outscale.Inputs.KeypairTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
    Timeouts = new Outscale.Inputs.KeypairTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Read = "string",
        Update = "string",
    },
});
Copy
example, err := outscale.NewKeypair(ctx, "keypairResource", &outscale.KeypairArgs{
KeypairName: pulumi.String("string"),
PublicKey: pulumi.String("string"),
Tags: .KeypairTagArray{
&.KeypairTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Timeouts: &.KeypairTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
Copy
var keypairResource = new Keypair("keypairResource", KeypairArgs.builder()
    .keypairName("string")
    .publicKey("string")
    .tags(KeypairTagArgs.builder()
        .key("string")
        .value("string")
        .build())
    .timeouts(KeypairTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .read("string")
        .update("string")
        .build())
    .build());
Copy
keypair_resource = outscale.Keypair("keypairResource",
    keypair_name="string",
    public_key="string",
    tags=[{
        "key": "string",
        "value": "string",
    }],
    timeouts={
        "create": "string",
        "delete": "string",
        "read": "string",
        "update": "string",
    })
Copy
const keypairResource = new outscale.Keypair("keypairResource", {
    keypairName: "string",
    publicKey: "string",
    tags: [{
        key: "string",
        value: "string",
    }],
    timeouts: {
        create: "string",
        "delete": "string",
        read: "string",
        update: "string",
    },
});
Copy
type: outscale:Keypair
properties:
    keypairName: string
    publicKey: string
    tags:
        - key: string
          value: string
    timeouts:
        create: string
        delete: string
        read: string
        update: string
Copy

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

KeypairName This property is required. string
A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
PublicKey string
The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
Tags List<KeypairTag>
A tag to add to this resource. You can specify this argument several times.
Timeouts KeypairTimeouts
KeypairName This property is required. string
A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
PublicKey string
The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
Tags []KeypairTagArgs
A tag to add to this resource. You can specify this argument several times.
Timeouts KeypairTimeoutsArgs
keypairName This property is required. String
A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
publicKey String
The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
tags List<KeypairTag>
A tag to add to this resource. You can specify this argument several times.
timeouts KeypairTimeouts
keypairName This property is required. string
A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
publicKey string
The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
tags KeypairTag[]
A tag to add to this resource. You can specify this argument several times.
timeouts KeypairTimeouts
keypair_name This property is required. str
A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
public_key str
The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
tags Sequence[KeypairTagArgs]
A tag to add to this resource. You can specify this argument several times.
timeouts KeypairTimeoutsArgs
keypairName This property is required. String
A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
publicKey String
The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
tags List<Property Map>
A tag to add to this resource. You can specify this argument several times.
timeouts Property Map

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
KeypairFingerprint string
The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
KeypairId string
The ID of the keypair.
KeypairType string
The type of the keypair (ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521).
PrivateKey string
The private key, returned only if you are creating a keypair (not if you are importing). When you save this private key in a .rsa file, make sure you replace the \n escape sequences with real line breaks.
RequestId string
Id string
The provider-assigned unique ID for this managed resource.
KeypairFingerprint string
The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
KeypairId string
The ID of the keypair.
KeypairType string
The type of the keypair (ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521).
PrivateKey string
The private key, returned only if you are creating a keypair (not if you are importing). When you save this private key in a .rsa file, make sure you replace the \n escape sequences with real line breaks.
RequestId string
id String
The provider-assigned unique ID for this managed resource.
keypairFingerprint String
The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
keypairId String
The ID of the keypair.
keypairType String
The type of the keypair (ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521).
privateKey String
The private key, returned only if you are creating a keypair (not if you are importing). When you save this private key in a .rsa file, make sure you replace the \n escape sequences with real line breaks.
requestId String
id string
The provider-assigned unique ID for this managed resource.
keypairFingerprint string
The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
keypairId string
The ID of the keypair.
keypairType string
The type of the keypair (ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521).
privateKey string
The private key, returned only if you are creating a keypair (not if you are importing). When you save this private key in a .rsa file, make sure you replace the \n escape sequences with real line breaks.
requestId string
id str
The provider-assigned unique ID for this managed resource.
keypair_fingerprint str
The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
keypair_id str
The ID of the keypair.
keypair_type str
The type of the keypair (ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521).
private_key str
The private key, returned only if you are creating a keypair (not if you are importing). When you save this private key in a .rsa file, make sure you replace the \n escape sequences with real line breaks.
request_id str
id String
The provider-assigned unique ID for this managed resource.
keypairFingerprint String
The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
keypairId String
The ID of the keypair.
keypairType String
The type of the keypair (ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521).
privateKey String
The private key, returned only if you are creating a keypair (not if you are importing). When you save this private key in a .rsa file, make sure you replace the \n escape sequences with real line breaks.
requestId String

Look up Existing Keypair Resource

Get an existing Keypair 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>, state?: KeypairState, opts?: CustomResourceOptions): Keypair
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        keypair_fingerprint: Optional[str] = None,
        keypair_id: Optional[str] = None,
        keypair_name: Optional[str] = None,
        keypair_type: Optional[str] = None,
        private_key: Optional[str] = None,
        public_key: Optional[str] = None,
        request_id: Optional[str] = None,
        tags: Optional[Sequence[KeypairTagArgs]] = None,
        timeouts: Optional[KeypairTimeoutsArgs] = None) -> Keypair
func GetKeypair(ctx *Context, name string, id IDInput, state *KeypairState, opts ...ResourceOption) (*Keypair, error)
public static Keypair Get(string name, Input<string> id, KeypairState? state, CustomResourceOptions? opts = null)
public static Keypair get(String name, Output<String> id, KeypairState state, CustomResourceOptions options)
resources:  _:    type: outscale:Keypair    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
KeypairFingerprint string
The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
KeypairId string
The ID of the keypair.
KeypairName string
A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
KeypairType string
The type of the keypair (ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521).
PrivateKey string
The private key, returned only if you are creating a keypair (not if you are importing). When you save this private key in a .rsa file, make sure you replace the \n escape sequences with real line breaks.
PublicKey string
The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
RequestId string
Tags List<KeypairTag>
A tag to add to this resource. You can specify this argument several times.
Timeouts KeypairTimeouts
KeypairFingerprint string
The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
KeypairId string
The ID of the keypair.
KeypairName string
A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
KeypairType string
The type of the keypair (ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521).
PrivateKey string
The private key, returned only if you are creating a keypair (not if you are importing). When you save this private key in a .rsa file, make sure you replace the \n escape sequences with real line breaks.
PublicKey string
The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
RequestId string
Tags []KeypairTagArgs
A tag to add to this resource. You can specify this argument several times.
Timeouts KeypairTimeoutsArgs
keypairFingerprint String
The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
keypairId String
The ID of the keypair.
keypairName String
A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
keypairType String
The type of the keypair (ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521).
privateKey String
The private key, returned only if you are creating a keypair (not if you are importing). When you save this private key in a .rsa file, make sure you replace the \n escape sequences with real line breaks.
publicKey String
The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
requestId String
tags List<KeypairTag>
A tag to add to this resource. You can specify this argument several times.
timeouts KeypairTimeouts
keypairFingerprint string
The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
keypairId string
The ID of the keypair.
keypairName string
A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
keypairType string
The type of the keypair (ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521).
privateKey string
The private key, returned only if you are creating a keypair (not if you are importing). When you save this private key in a .rsa file, make sure you replace the \n escape sequences with real line breaks.
publicKey string
The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
requestId string
tags KeypairTag[]
A tag to add to this resource. You can specify this argument several times.
timeouts KeypairTimeouts
keypair_fingerprint str
The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
keypair_id str
The ID of the keypair.
keypair_name str
A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
keypair_type str
The type of the keypair (ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521).
private_key str
The private key, returned only if you are creating a keypair (not if you are importing). When you save this private key in a .rsa file, make sure you replace the \n escape sequences with real line breaks.
public_key str
The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
request_id str
tags Sequence[KeypairTagArgs]
A tag to add to this resource. You can specify this argument several times.
timeouts KeypairTimeoutsArgs
keypairFingerprint String
The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
keypairId String
The ID of the keypair.
keypairName String
A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
keypairType String
The type of the keypair (ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, or ecdsa-sha2-nistp521).
privateKey String
The private key, returned only if you are creating a keypair (not if you are importing). When you save this private key in a .rsa file, make sure you replace the \n escape sequences with real line breaks.
publicKey String
The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
requestId String
tags List<Property Map>
A tag to add to this resource. You can specify this argument several times.
timeouts Property Map

Supporting Types

KeypairTag
, KeypairTagArgs

Key This property is required. string
The key of the tag, with a minimum of 1 character.
Value string
The value of the tag, between 0 and 255 characters.
Key This property is required. string
The key of the tag, with a minimum of 1 character.
Value string
The value of the tag, between 0 and 255 characters.
key This property is required. String
The key of the tag, with a minimum of 1 character.
value String
The value of the tag, between 0 and 255 characters.
key This property is required. string
The key of the tag, with a minimum of 1 character.
value string
The value of the tag, between 0 and 255 characters.
key This property is required. str
The key of the tag, with a minimum of 1 character.
value str
The value of the tag, between 0 and 255 characters.
key This property is required. String
The key of the tag, with a minimum of 1 character.
value String
The value of the tag, between 0 and 255 characters.

KeypairTimeouts
, KeypairTimeoutsArgs

Create string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Delete string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Read string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
Update string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Create string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Delete string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Read string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
Update string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
read String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
update String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
read string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
update string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create str
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete str
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
read str
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
update str
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
read String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
update String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

Import

A keypair can be imported using its name. For example:

console

$ pulumi import outscale:index/keypair:Keypair ImportedKeypair Name-of-the-Keypair
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
outscale outscale/terraform-provider-outscale
License
Notes
This Pulumi package is based on the outscale Terraform Provider.