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"});
import pulumi
import pulumi_outscale as outscale
keypair01 = outscale.Keypair("keypair01", keypair_name="terraform-keypair-create")
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
})
}
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",
});
});
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());
}
}
resources:
keypair01:
type: outscale:Keypair
properties:
keypairName: terraform-keypair-create
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==",
});
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==")
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
})
}
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==",
});
});
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());
}
}
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==
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 string
- The unique name of the resource.
- args KeypairArgs
- 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 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 string
- The unique name of the resource.
- args KeypairArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KeypairArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
},
});
example, err := outscale.NewKeypair(ctx, "keypairResource", &outscale.KeypairArgs{
KeypairName: pulumi.String("string"),
PublicKey: pulumi.String("string"),
Tags: outscale.KeypairTagArray{
&outscale.KeypairTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Timeouts: &outscale.KeypairTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
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());
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",
})
const keypairResource = new outscale.Keypair("keypairResource", {
keypairName: "string",
publicKey: "string",
tags: [{
key: "string",
value: "string",
}],
timeouts: {
create: "string",
"delete": "string",
read: "string",
update: "string",
},
});
type: outscale:Keypair
properties:
keypairName: string
publicKey: string
tags:
- key: string
value: string
timeouts:
create: string
delete: string
read: string
update: string
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:
- Keypair
Name string - A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
- Public
Key string - The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
- List<Keypair
Tag> - A tag to add to this resource. You can specify this argument several times.
- Timeouts
Keypair
Timeouts
- Keypair
Name string - A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
- Public
Key string - The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
- []Keypair
Tag Args - A tag to add to this resource. You can specify this argument several times.
- Timeouts
Keypair
Timeouts Args
- keypair
Name String - A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
- public
Key String - The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
- List<Keypair
Tag> - A tag to add to this resource. You can specify this argument several times.
- timeouts
Keypair
Timeouts
- keypair
Name string - A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
- public
Key string - The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
- Keypair
Tag[] - A tag to add to this resource. You can specify this argument several times.
- timeouts
Keypair
Timeouts
- keypair_
name 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.
- Sequence[Keypair
Tag Args] - A tag to add to this resource. You can specify this argument several times.
- timeouts
Keypair
Timeouts Args
- keypair
Name String - A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
- public
Key String - The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
- 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.
- Keypair
Fingerprint string - The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
- Keypair
Id string - The ID of the keypair.
- Keypair
Type string - The type of the keypair (
ssh-rsa
,ssh-ed25519
,ecdsa-sha2-nistp256
,ecdsa-sha2-nistp384
, orecdsa-sha2-nistp521
). - Private
Key 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. - Request
Id string
- Id string
- The provider-assigned unique ID for this managed resource.
- Keypair
Fingerprint string - The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
- Keypair
Id string - The ID of the keypair.
- Keypair
Type string - The type of the keypair (
ssh-rsa
,ssh-ed25519
,ecdsa-sha2-nistp256
,ecdsa-sha2-nistp384
, orecdsa-sha2-nistp521
). - Private
Key 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. - Request
Id string
- id String
- The provider-assigned unique ID for this managed resource.
- keypair
Fingerprint String - The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
- keypair
Id String - The ID of the keypair.
- keypair
Type String - The type of the keypair (
ssh-rsa
,ssh-ed25519
,ecdsa-sha2-nistp256
,ecdsa-sha2-nistp384
, orecdsa-sha2-nistp521
). - private
Key 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. - request
Id String
- id string
- The provider-assigned unique ID for this managed resource.
- keypair
Fingerprint string - The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
- keypair
Id string - The ID of the keypair.
- keypair
Type string - The type of the keypair (
ssh-rsa
,ssh-ed25519
,ecdsa-sha2-nistp256
,ecdsa-sha2-nistp384
, orecdsa-sha2-nistp521
). - private
Key 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. - request
Id 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
, orecdsa-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.
- keypair
Fingerprint String - The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
- keypair
Id String - The ID of the keypair.
- keypair
Type String - The type of the keypair (
ssh-rsa
,ssh-ed25519
,ecdsa-sha2-nistp256
,ecdsa-sha2-nistp384
, orecdsa-sha2-nistp521
). - private
Key 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. - request
Id 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Keypair
Fingerprint string - The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
- Keypair
Id string - The ID of the keypair.
- Keypair
Name string - A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
- Keypair
Type string - The type of the keypair (
ssh-rsa
,ssh-ed25519
,ecdsa-sha2-nistp256
,ecdsa-sha2-nistp384
, orecdsa-sha2-nistp521
). - Private
Key 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. - Public
Key string - The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
- Request
Id string - List<Keypair
Tag> - A tag to add to this resource. You can specify this argument several times.
- Timeouts
Keypair
Timeouts
- Keypair
Fingerprint string - The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
- Keypair
Id string - The ID of the keypair.
- Keypair
Name string - A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
- Keypair
Type string - The type of the keypair (
ssh-rsa
,ssh-ed25519
,ecdsa-sha2-nistp256
,ecdsa-sha2-nistp384
, orecdsa-sha2-nistp521
). - Private
Key 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. - Public
Key string - The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
- Request
Id string - []Keypair
Tag Args - A tag to add to this resource. You can specify this argument several times.
- Timeouts
Keypair
Timeouts Args
- keypair
Fingerprint String - The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
- keypair
Id String - The ID of the keypair.
- keypair
Name String - A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
- keypair
Type String - The type of the keypair (
ssh-rsa
,ssh-ed25519
,ecdsa-sha2-nistp256
,ecdsa-sha2-nistp384
, orecdsa-sha2-nistp521
). - private
Key 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. - public
Key String - The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
- request
Id String - List<Keypair
Tag> - A tag to add to this resource. You can specify this argument several times.
- timeouts
Keypair
Timeouts
- keypair
Fingerprint string - The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
- keypair
Id string - The ID of the keypair.
- keypair
Name string - A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
- keypair
Type string - The type of the keypair (
ssh-rsa
,ssh-ed25519
,ecdsa-sha2-nistp256
,ecdsa-sha2-nistp384
, orecdsa-sha2-nistp521
). - private
Key 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. - public
Key string - The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
- request
Id string - Keypair
Tag[] - A tag to add to this resource. You can specify this argument several times.
- timeouts
Keypair
Timeouts
- 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
, orecdsa-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 - Sequence[Keypair
Tag Args] - A tag to add to this resource. You can specify this argument several times.
- timeouts
Keypair
Timeouts Args
- keypair
Fingerprint String - The MD5 public key fingerprint, as specified in section 4 of RFC 4716.
- keypair
Id String - The ID of the keypair.
- keypair
Name String - A unique name for the keypair, with a maximum length of 255 ASCII printable characters.
- keypair
Type String - The type of the keypair (
ssh-rsa
,ssh-ed25519
,ecdsa-sha2-nistp256
,ecdsa-sha2-nistp384
, orecdsa-sha2-nistp521
). - private
Key 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. - public
Key String - The public key to import in your account, if you are importing an existing keypair. This value must be Base64-encoded.
- request
Id String - List<Property Map>
- A tag to add to this resource. You can specify this argument several times.
- timeouts Property Map
Supporting Types
KeypairTag, KeypairTagArgs
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
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.