ovh.CloudProject.Instance
Explore with Pulumi AI
This resource uses a Beta API Creates an instance associated with a public cloud project.
Example Usage
Create a instance.
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const instance = new ovh.cloudproject.Instance("instance", {
    billingPeriod: "hourly",
    bootFrom: {
        imageId: "UUID",
    },
    flavor: {
        flavorId: "UUID",
    },
    network: {
        "public": true,
    },
    region: "RRRR",
    serviceName: "XXX",
    sshKey: {
        name: "sshname",
    },
});
import pulumi
import pulumi_ovh as ovh
instance = ovh.cloud_project.Instance("instance",
    billing_period="hourly",
    boot_from={
        "image_id": "UUID",
    },
    flavor={
        "flavor_id": "UUID",
    },
    network={
        "public": True,
    },
    region="RRRR",
    service_name="XXX",
    ssh_key={
        "name": "sshname",
    })
package main
import (
	"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh/cloudproject"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudproject.NewInstance(ctx, "instance", &cloudproject.InstanceArgs{
			BillingPeriod: pulumi.String("hourly"),
			BootFrom: &cloudproject.InstanceBootFromArgs{
				ImageId: pulumi.String("UUID"),
			},
			Flavor: &cloudproject.InstanceFlavorArgs{
				FlavorId: pulumi.String("UUID"),
			},
			Network: &cloudproject.InstanceNetworkArgs{
				Public: pulumi.Bool(true),
			},
			Region:      pulumi.String("RRRR"),
			ServiceName: pulumi.String("XXX"),
			SshKey: &cloudproject.InstanceSshKeyArgs{
				Name: pulumi.String("sshname"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() => 
{
    var instance = new Ovh.CloudProject.Instance("instance", new()
    {
        BillingPeriod = "hourly",
        BootFrom = new Ovh.CloudProject.Inputs.InstanceBootFromArgs
        {
            ImageId = "UUID",
        },
        Flavor = new Ovh.CloudProject.Inputs.InstanceFlavorArgs
        {
            FlavorId = "UUID",
        },
        Network = new Ovh.CloudProject.Inputs.InstanceNetworkArgs
        {
            Public = true,
        },
        Region = "RRRR",
        ServiceName = "XXX",
        SshKey = new Ovh.CloudProject.Inputs.InstanceSshKeyArgs
        {
            Name = "sshname",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.CloudProject.Instance;
import com.pulumi.ovh.CloudProject.InstanceArgs;
import com.pulumi.ovh.CloudProject.inputs.InstanceBootFromArgs;
import com.pulumi.ovh.CloudProject.inputs.InstanceFlavorArgs;
import com.pulumi.ovh.CloudProject.inputs.InstanceNetworkArgs;
import com.pulumi.ovh.CloudProject.inputs.InstanceSshKeyArgs;
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 instance = new Instance("instance", InstanceArgs.builder()
            .billingPeriod("hourly")
            .bootFrom(InstanceBootFromArgs.builder()
                .imageId("UUID")
                .build())
            .flavor(InstanceFlavorArgs.builder()
                .flavorId("UUID")
                .build())
            .network(InstanceNetworkArgs.builder()
                .public_(true)
                .build())
            .region("RRRR")
            .serviceName("XXX")
            .sshKey(InstanceSshKeyArgs.builder()
                .name("sshname")
                .build())
            .build());
    }
}
resources:
  instance:
    type: ovh:CloudProject:Instance
    properties:
      billingPeriod: hourly
      bootFrom:
        imageId: UUID
      flavor:
        flavorId: UUID
      network:
        public: true
      region: RRRR
      serviceName: XXX
      sshKey:
        name: sshname
Create Instance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);@overload
def Instance(resource_name: str,
             args: InstanceArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Instance(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             region: Optional[str] = None,
             service_name: Optional[str] = None,
             billing_period: Optional[str] = None,
             boot_from: Optional[_cloudproject.InstanceBootFromArgs] = None,
             network: Optional[_cloudproject.InstanceNetworkArgs] = None,
             flavor: Optional[_cloudproject.InstanceFlavorArgs] = None,
             bulk: Optional[int] = None,
             group: Optional[_cloudproject.InstanceGroupArgs] = None,
             availability_zone: Optional[str] = None,
             auto_backup: Optional[_cloudproject.InstanceAutoBackupArgs] = None,
             name: Optional[str] = None,
             ssh_key: Optional[_cloudproject.InstanceSshKeyArgs] = None,
             ssh_key_create: Optional[_cloudproject.InstanceSshKeyCreateArgs] = None,
             user_data: Optional[str] = None)func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: ovh:CloudProject:Instance
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 InstanceArgs
- 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 InstanceArgs
- 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 InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceArgs
- 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 instanceResource = new Ovh.CloudProject.Instance("instanceResource", new()
{
    Region = "string",
    ServiceName = "string",
    BillingPeriod = "string",
    BootFrom = new Ovh.CloudProject.Inputs.InstanceBootFromArgs
    {
        ImageId = "string",
        VolumeId = "string",
    },
    Network = new Ovh.CloudProject.Inputs.InstanceNetworkArgs
    {
        Public = false,
    },
    Flavor = new Ovh.CloudProject.Inputs.InstanceFlavorArgs
    {
        FlavorId = "string",
    },
    Bulk = 0,
    Group = new Ovh.CloudProject.Inputs.InstanceGroupArgs
    {
        GroupId = "string",
    },
    AvailabilityZone = "string",
    AutoBackup = new Ovh.CloudProject.Inputs.InstanceAutoBackupArgs
    {
        Cron = "string",
        Rotation = 0,
    },
    Name = "string",
    SshKey = new Ovh.CloudProject.Inputs.InstanceSshKeyArgs
    {
        Name = "string",
    },
    SshKeyCreate = new Ovh.CloudProject.Inputs.InstanceSshKeyCreateArgs
    {
        Name = "string",
        PublicKey = "string",
    },
    UserData = "string",
});
example, err := CloudProject.NewInstance(ctx, "instanceResource", &CloudProject.InstanceArgs{
	Region:        pulumi.String("string"),
	ServiceName:   pulumi.String("string"),
	BillingPeriod: pulumi.String("string"),
	BootFrom: &cloudproject.InstanceBootFromArgs{
		ImageId:  pulumi.String("string"),
		VolumeId: pulumi.String("string"),
	},
	Network: &cloudproject.InstanceNetworkArgs{
		Public: pulumi.Bool(false),
	},
	Flavor: &cloudproject.InstanceFlavorArgs{
		FlavorId: pulumi.String("string"),
	},
	Bulk: pulumi.Int(0),
	Group: &cloudproject.InstanceGroupArgs{
		GroupId: pulumi.String("string"),
	},
	AvailabilityZone: pulumi.String("string"),
	AutoBackup: &cloudproject.InstanceAutoBackupArgs{
		Cron:     pulumi.String("string"),
		Rotation: pulumi.Int(0),
	},
	Name: pulumi.String("string"),
	SshKey: &cloudproject.InstanceSshKeyArgs{
		Name: pulumi.String("string"),
	},
	SshKeyCreate: &cloudproject.InstanceSshKeyCreateArgs{
		Name:      pulumi.String("string"),
		PublicKey: pulumi.String("string"),
	},
	UserData: pulumi.String("string"),
})
var instanceResource = new Instance("instanceResource", InstanceArgs.builder()
    .region("string")
    .serviceName("string")
    .billingPeriod("string")
    .bootFrom(InstanceBootFromArgs.builder()
        .imageId("string")
        .volumeId("string")
        .build())
    .network(InstanceNetworkArgs.builder()
        .public_(false)
        .build())
    .flavor(InstanceFlavorArgs.builder()
        .flavorId("string")
        .build())
    .bulk(0)
    .group(InstanceGroupArgs.builder()
        .groupId("string")
        .build())
    .availabilityZone("string")
    .autoBackup(InstanceAutoBackupArgs.builder()
        .cron("string")
        .rotation(0)
        .build())
    .name("string")
    .sshKey(InstanceSshKeyArgs.builder()
        .name("string")
        .build())
    .sshKeyCreate(InstanceSshKeyCreateArgs.builder()
        .name("string")
        .publicKey("string")
        .build())
    .userData("string")
    .build());
instance_resource = ovh.cloud_project.Instance("instanceResource",
    region="string",
    service_name="string",
    billing_period="string",
    boot_from={
        "image_id": "string",
        "volume_id": "string",
    },
    network={
        "public": False,
    },
    flavor={
        "flavor_id": "string",
    },
    bulk=0,
    group={
        "group_id": "string",
    },
    availability_zone="string",
    auto_backup={
        "cron": "string",
        "rotation": 0,
    },
    name="string",
    ssh_key={
        "name": "string",
    },
    ssh_key_create={
        "name": "string",
        "public_key": "string",
    },
    user_data="string")
const instanceResource = new ovh.cloudproject.Instance("instanceResource", {
    region: "string",
    serviceName: "string",
    billingPeriod: "string",
    bootFrom: {
        imageId: "string",
        volumeId: "string",
    },
    network: {
        "public": false,
    },
    flavor: {
        flavorId: "string",
    },
    bulk: 0,
    group: {
        groupId: "string",
    },
    availabilityZone: "string",
    autoBackup: {
        cron: "string",
        rotation: 0,
    },
    name: "string",
    sshKey: {
        name: "string",
    },
    sshKeyCreate: {
        name: "string",
        publicKey: "string",
    },
    userData: "string",
});
type: ovh:CloudProject:Instance
properties:
    autoBackup:
        cron: string
        rotation: 0
    availabilityZone: string
    billingPeriod: string
    bootFrom:
        imageId: string
        volumeId: string
    bulk: 0
    flavor:
        flavorId: string
    group:
        groupId: string
    name: string
    network:
        public: false
    region: string
    serviceName: string
    sshKey:
        name: string
    sshKeyCreate:
        name: string
        publicKey: string
    userData: string
Instance 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 Instance resource accepts the following input properties:
- BillingPeriod string
- Billing period - hourly or monthly
- BootFrom InstanceBoot From 
- Boot the instance from an image or a volume
- Flavor
InstanceFlavor 
- Flavor information
- Network
InstanceNetwork 
- Create network interfaces
- Region string
- Instance region
- ServiceName string
- The id of the public cloud project. If omitted,
the OVH_CLOUD_PROJECT_SERVICEenvironment variable is used
- AutoBackup InstanceAuto Backup 
- Create an autobackup workflow after instance start up.
- AvailabilityZone string
- The availability zone where the instance will be created
- Bulk int
- Create multiple instances
- Group
InstanceGroup 
- Start instance in group
- Name string
- Instance name
- SshKey InstanceSsh Key 
- Existing SSH Keypair
- SshKey InstanceCreate Ssh Key Create 
- Add existing SSH Key pair into your Public Cloud project and link it to the instance
- UserData string
- Configuration information or scripts to use upon launch
- BillingPeriod string
- Billing period - hourly or monthly
- BootFrom InstanceBoot From Args 
- Boot the instance from an image or a volume
- Flavor
InstanceFlavor Args 
- Flavor information
- Network
InstanceNetwork Args 
- Create network interfaces
- Region string
- Instance region
- ServiceName string
- The id of the public cloud project. If omitted,
the OVH_CLOUD_PROJECT_SERVICEenvironment variable is used
- AutoBackup InstanceAuto Backup Args 
- Create an autobackup workflow after instance start up.
- AvailabilityZone string
- The availability zone where the instance will be created
- Bulk int
- Create multiple instances
- Group
InstanceGroup Args 
- Start instance in group
- Name string
- Instance name
- SshKey InstanceSsh Key Args 
- Existing SSH Keypair
- SshKey InstanceCreate Ssh Key Create Args 
- Add existing SSH Key pair into your Public Cloud project and link it to the instance
- UserData string
- Configuration information or scripts to use upon launch
- billingPeriod String
- Billing period - hourly or monthly
- bootFrom InstanceBoot From 
- Boot the instance from an image or a volume
- flavor
InstanceFlavor 
- Flavor information
- network
InstanceNetwork 
- Create network interfaces
- region String
- Instance region
- serviceName String
- The id of the public cloud project. If omitted,
the OVH_CLOUD_PROJECT_SERVICEenvironment variable is used
- autoBackup InstanceAuto Backup 
- Create an autobackup workflow after instance start up.
- availabilityZone String
- The availability zone where the instance will be created
- bulk Integer
- Create multiple instances
- group
InstanceGroup 
- Start instance in group
- name String
- Instance name
- sshKey InstanceSsh Key 
- Existing SSH Keypair
- sshKey InstanceCreate Ssh Key Create 
- Add existing SSH Key pair into your Public Cloud project and link it to the instance
- userData String
- Configuration information or scripts to use upon launch
- billingPeriod string
- Billing period - hourly or monthly
- bootFrom InstanceBoot From 
- Boot the instance from an image or a volume
- flavor
InstanceFlavor 
- Flavor information
- network
InstanceNetwork 
- Create network interfaces
- region string
- Instance region
- serviceName string
- The id of the public cloud project. If omitted,
the OVH_CLOUD_PROJECT_SERVICEenvironment variable is used
- autoBackup InstanceAuto Backup 
- Create an autobackup workflow after instance start up.
- availabilityZone string
- The availability zone where the instance will be created
- bulk number
- Create multiple instances
- group
InstanceGroup 
- Start instance in group
- name string
- Instance name
- sshKey InstanceSsh Key 
- Existing SSH Keypair
- sshKey InstanceCreate Ssh Key Create 
- Add existing SSH Key pair into your Public Cloud project and link it to the instance
- userData string
- Configuration information or scripts to use upon launch
- billing_period str
- Billing period - hourly or monthly
- boot_from cloudproject.Instance Boot From Args 
- Boot the instance from an image or a volume
- flavor
cloudproject.Instance Flavor Args 
- Flavor information
- network
cloudproject.Instance Network Args 
- Create network interfaces
- region str
- Instance region
- service_name str
- The id of the public cloud project. If omitted,
the OVH_CLOUD_PROJECT_SERVICEenvironment variable is used
- auto_backup cloudproject.Instance Auto Backup Args 
- Create an autobackup workflow after instance start up.
- availability_zone str
- The availability zone where the instance will be created
- bulk int
- Create multiple instances
- group
cloudproject.Instance Group Args 
- Start instance in group
- name str
- Instance name
- ssh_key cloudproject.Instance Ssh Key Args 
- Existing SSH Keypair
- ssh_key_ cloudproject.create Instance Ssh Key Create Args 
- Add existing SSH Key pair into your Public Cloud project and link it to the instance
- user_data str
- Configuration information or scripts to use upon launch
- billingPeriod String
- Billing period - hourly or monthly
- bootFrom Property Map
- Boot the instance from an image or a volume
- flavor Property Map
- Flavor information
- network Property Map
- Create network interfaces
- region String
- Instance region
- serviceName String
- The id of the public cloud project. If omitted,
the OVH_CLOUD_PROJECT_SERVICEenvironment variable is used
- autoBackup Property Map
- Create an autobackup workflow after instance start up.
- availabilityZone String
- The availability zone where the instance will be created
- bulk Number
- Create multiple instances
- group Property Map
- Start instance in group
- name String
- Instance name
- sshKey Property Map
- Existing SSH Keypair
- sshKey Property MapCreate 
- Add existing SSH Key pair into your Public Cloud project and link it to the instance
- userData String
- Configuration information or scripts to use upon launch
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Addresses
List<InstanceAddress> 
- Instance IP addresses
- AttachedVolumes List<InstanceAttached Volume> 
- Volumes attached to the instance
- FlavorId string
- Flavor id
- FlavorName string
- Flavor name
- Id string
- The provider-assigned unique ID for this managed resource.
- ImageId string
- Image id
- TaskState string
- Instance task state
- Addresses
[]InstanceAddress 
- Instance IP addresses
- AttachedVolumes []InstanceAttached Volume 
- Volumes attached to the instance
- FlavorId string
- Flavor id
- FlavorName string
- Flavor name
- Id string
- The provider-assigned unique ID for this managed resource.
- ImageId string
- Image id
- TaskState string
- Instance task state
- addresses
List<InstanceAddress> 
- Instance IP addresses
- attachedVolumes List<InstanceAttached Volume> 
- Volumes attached to the instance
- flavorId String
- Flavor id
- flavorName String
- Flavor name
- id String
- The provider-assigned unique ID for this managed resource.
- imageId String
- Image id
- taskState String
- Instance task state
- addresses
InstanceAddress[] 
- Instance IP addresses
- attachedVolumes InstanceAttached Volume[] 
- Volumes attached to the instance
- flavorId string
- Flavor id
- flavorName string
- Flavor name
- id string
- The provider-assigned unique ID for this managed resource.
- imageId string
- Image id
- taskState string
- Instance task state
- addresses
Sequence[cloudproject.Instance Address] 
- Instance IP addresses
- attached_volumes Sequence[cloudproject.Instance Attached Volume] 
- Volumes attached to the instance
- flavor_id str
- Flavor id
- flavor_name str
- Flavor name
- id str
- The provider-assigned unique ID for this managed resource.
- image_id str
- Image id
- task_state str
- Instance task state
- addresses List<Property Map>
- Instance IP addresses
- attachedVolumes List<Property Map>
- Volumes attached to the instance
- flavorId String
- Flavor id
- flavorName String
- Flavor name
- id String
- The provider-assigned unique ID for this managed resource.
- imageId String
- Image id
- taskState String
- Instance task state
Look up Existing Instance Resource
Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        addresses: Optional[Sequence[_cloudproject.InstanceAddressArgs]] = None,
        attached_volumes: Optional[Sequence[_cloudproject.InstanceAttachedVolumeArgs]] = None,
        auto_backup: Optional[_cloudproject.InstanceAutoBackupArgs] = None,
        availability_zone: Optional[str] = None,
        billing_period: Optional[str] = None,
        boot_from: Optional[_cloudproject.InstanceBootFromArgs] = None,
        bulk: Optional[int] = None,
        flavor: Optional[_cloudproject.InstanceFlavorArgs] = None,
        flavor_id: Optional[str] = None,
        flavor_name: Optional[str] = None,
        group: Optional[_cloudproject.InstanceGroupArgs] = None,
        image_id: Optional[str] = None,
        name: Optional[str] = None,
        network: Optional[_cloudproject.InstanceNetworkArgs] = None,
        region: Optional[str] = None,
        service_name: Optional[str] = None,
        ssh_key: Optional[_cloudproject.InstanceSshKeyArgs] = None,
        ssh_key_create: Optional[_cloudproject.InstanceSshKeyCreateArgs] = None,
        task_state: Optional[str] = None,
        user_data: Optional[str] = None) -> Instancefunc GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)resources:  _:    type: ovh:CloudProject:Instance    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.
- Addresses
List<InstanceAddress> 
- Instance IP addresses
- AttachedVolumes List<InstanceAttached Volume> 
- Volumes attached to the instance
- AutoBackup InstanceAuto Backup 
- Create an autobackup workflow after instance start up.
- AvailabilityZone string
- The availability zone where the instance will be created
- BillingPeriod string
- Billing period - hourly or monthly
- BootFrom InstanceBoot From 
- Boot the instance from an image or a volume
- Bulk int
- Create multiple instances
- Flavor
InstanceFlavor 
- Flavor information
- FlavorId string
- Flavor id
- FlavorName string
- Flavor name
- Group
InstanceGroup 
- Start instance in group
- ImageId string
- Image id
- Name string
- Instance name
- Network
InstanceNetwork 
- Create network interfaces
- Region string
- Instance region
- ServiceName string
- The id of the public cloud project. If omitted,
the OVH_CLOUD_PROJECT_SERVICEenvironment variable is used
- SshKey InstanceSsh Key 
- Existing SSH Keypair
- SshKey InstanceCreate Ssh Key Create 
- Add existing SSH Key pair into your Public Cloud project and link it to the instance
- TaskState string
- Instance task state
- UserData string
- Configuration information or scripts to use upon launch
- Addresses
[]InstanceAddress Args 
- Instance IP addresses
- AttachedVolumes []InstanceAttached Volume Args 
- Volumes attached to the instance
- AutoBackup InstanceAuto Backup Args 
- Create an autobackup workflow after instance start up.
- AvailabilityZone string
- The availability zone where the instance will be created
- BillingPeriod string
- Billing period - hourly or monthly
- BootFrom InstanceBoot From Args 
- Boot the instance from an image or a volume
- Bulk int
- Create multiple instances
- Flavor
InstanceFlavor Args 
- Flavor information
- FlavorId string
- Flavor id
- FlavorName string
- Flavor name
- Group
InstanceGroup Args 
- Start instance in group
- ImageId string
- Image id
- Name string
- Instance name
- Network
InstanceNetwork Args 
- Create network interfaces
- Region string
- Instance region
- ServiceName string
- The id of the public cloud project. If omitted,
the OVH_CLOUD_PROJECT_SERVICEenvironment variable is used
- SshKey InstanceSsh Key Args 
- Existing SSH Keypair
- SshKey InstanceCreate Ssh Key Create Args 
- Add existing SSH Key pair into your Public Cloud project and link it to the instance
- TaskState string
- Instance task state
- UserData string
- Configuration information or scripts to use upon launch
- addresses
List<InstanceAddress> 
- Instance IP addresses
- attachedVolumes List<InstanceAttached Volume> 
- Volumes attached to the instance
- autoBackup InstanceAuto Backup 
- Create an autobackup workflow after instance start up.
- availabilityZone String
- The availability zone where the instance will be created
- billingPeriod String
- Billing period - hourly or monthly
- bootFrom InstanceBoot From 
- Boot the instance from an image or a volume
- bulk Integer
- Create multiple instances
- flavor
InstanceFlavor 
- Flavor information
- flavorId String
- Flavor id
- flavorName String
- Flavor name
- group
InstanceGroup 
- Start instance in group
- imageId String
- Image id
- name String
- Instance name
- network
InstanceNetwork 
- Create network interfaces
- region String
- Instance region
- serviceName String
- The id of the public cloud project. If omitted,
the OVH_CLOUD_PROJECT_SERVICEenvironment variable is used
- sshKey InstanceSsh Key 
- Existing SSH Keypair
- sshKey InstanceCreate Ssh Key Create 
- Add existing SSH Key pair into your Public Cloud project and link it to the instance
- taskState String
- Instance task state
- userData String
- Configuration information or scripts to use upon launch
- addresses
InstanceAddress[] 
- Instance IP addresses
- attachedVolumes InstanceAttached Volume[] 
- Volumes attached to the instance
- autoBackup InstanceAuto Backup 
- Create an autobackup workflow after instance start up.
- availabilityZone string
- The availability zone where the instance will be created
- billingPeriod string
- Billing period - hourly or monthly
- bootFrom InstanceBoot From 
- Boot the instance from an image or a volume
- bulk number
- Create multiple instances
- flavor
InstanceFlavor 
- Flavor information
- flavorId string
- Flavor id
- flavorName string
- Flavor name
- group
InstanceGroup 
- Start instance in group
- imageId string
- Image id
- name string
- Instance name
- network
InstanceNetwork 
- Create network interfaces
- region string
- Instance region
- serviceName string
- The id of the public cloud project. If omitted,
the OVH_CLOUD_PROJECT_SERVICEenvironment variable is used
- sshKey InstanceSsh Key 
- Existing SSH Keypair
- sshKey InstanceCreate Ssh Key Create 
- Add existing SSH Key pair into your Public Cloud project and link it to the instance
- taskState string
- Instance task state
- userData string
- Configuration information or scripts to use upon launch
- addresses
Sequence[cloudproject.Instance Address Args] 
- Instance IP addresses
- attached_volumes Sequence[cloudproject.Instance Attached Volume Args] 
- Volumes attached to the instance
- auto_backup cloudproject.Instance Auto Backup Args 
- Create an autobackup workflow after instance start up.
- availability_zone str
- The availability zone where the instance will be created
- billing_period str
- Billing period - hourly or monthly
- boot_from cloudproject.Instance Boot From Args 
- Boot the instance from an image or a volume
- bulk int
- Create multiple instances
- flavor
cloudproject.Instance Flavor Args 
- Flavor information
- flavor_id str
- Flavor id
- flavor_name str
- Flavor name
- group
cloudproject.Instance Group Args 
- Start instance in group
- image_id str
- Image id
- name str
- Instance name
- network
cloudproject.Instance Network Args 
- Create network interfaces
- region str
- Instance region
- service_name str
- The id of the public cloud project. If omitted,
the OVH_CLOUD_PROJECT_SERVICEenvironment variable is used
- ssh_key cloudproject.Instance Ssh Key Args 
- Existing SSH Keypair
- ssh_key_ cloudproject.create Instance Ssh Key Create Args 
- Add existing SSH Key pair into your Public Cloud project and link it to the instance
- task_state str
- Instance task state
- user_data str
- Configuration information or scripts to use upon launch
- addresses List<Property Map>
- Instance IP addresses
- attachedVolumes List<Property Map>
- Volumes attached to the instance
- autoBackup Property Map
- Create an autobackup workflow after instance start up.
- availabilityZone String
- The availability zone where the instance will be created
- billingPeriod String
- Billing period - hourly or monthly
- bootFrom Property Map
- Boot the instance from an image or a volume
- bulk Number
- Create multiple instances
- flavor Property Map
- Flavor information
- flavorId String
- Flavor id
- flavorName String
- Flavor name
- group Property Map
- Start instance in group
- imageId String
- Image id
- name String
- Instance name
- network Property Map
- Create network interfaces
- region String
- Instance region
- serviceName String
- The id of the public cloud project. If omitted,
the OVH_CLOUD_PROJECT_SERVICEenvironment variable is used
- sshKey Property Map
- Existing SSH Keypair
- sshKey Property MapCreate 
- Add existing SSH Key pair into your Public Cloud project and link it to the instance
- taskState String
- Instance task state
- userData String
- Configuration information or scripts to use upon launch
Supporting Types
InstanceAddress, InstanceAddressArgs    
InstanceAttachedVolume, InstanceAttachedVolumeArgs      
- Id string
- Instance id
- Id string
- Instance id
- id String
- Instance id
- id string
- Instance id
- id str
- Instance id
- id String
- Instance id
InstanceAutoBackup, InstanceAutoBackupArgs      
InstanceBootFrom, InstanceBootFromArgs      
InstanceFlavor, InstanceFlavorArgs    
- FlavorId string
- Flavor ID. Flavors can be retrieved using GET /cloud/project/{serviceName}/flavor
- FlavorId string
- Flavor ID. Flavors can be retrieved using GET /cloud/project/{serviceName}/flavor
- flavorId String
- Flavor ID. Flavors can be retrieved using GET /cloud/project/{serviceName}/flavor
- flavorId string
- Flavor ID. Flavors can be retrieved using GET /cloud/project/{serviceName}/flavor
- flavor_id str
- Flavor ID. Flavors can be retrieved using GET /cloud/project/{serviceName}/flavor
- flavorId String
- Flavor ID. Flavors can be retrieved using GET /cloud/project/{serviceName}/flavor
InstanceGroup, InstanceGroupArgs    
- GroupId string
- Group id
- GroupId string
- Group id
- groupId String
- Group id
- groupId string
- Group id
- group_id str
- Group id
- groupId String
- Group id
InstanceNetwork, InstanceNetworkArgs    
- Public bool
- Set the new instance as public boolean
- Public bool
- Set the new instance as public boolean
- public_ Boolean
- Set the new instance as public boolean
- public boolean
- Set the new instance as public boolean
- public bool
- Set the new instance as public boolean
- public Boolean
- Set the new instance as public boolean
InstanceSshKey, InstanceSshKeyArgs      
- Name string
- SSH Keypair name
- Name string
- SSH Keypair name
- name String
- SSH Keypair name
- name string
- SSH Keypair name
- name str
- SSH Keypair name
- name String
- SSH Keypair name
InstanceSshKeyCreate, InstanceSshKeyCreateArgs        
- name str
- SSH Key pair name
- public_key str
- SSH Public key
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ovhTerraform Provider.