1. Registry
  2. Packages
  3. OVH
  4. API Docs
  5. CloudInstanceSnapshot
Viewing docs for OVHCloud v2.21.0
published on Friday, Sep 25, 2026 by OVHcloud
ovh logo
Viewing docs for OVHCloud v2.21.0
published on Friday, Sep 25, 2026 by OVHcloud

    Creates an on-demand snapshot of an instance in a public cloud project.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    const snapshot = new ovh.CloudInstanceSnapshot("snapshot", {
        serviceName: "<Public cloud project id>",
        region: "GRA11",
        instanceId: "<instance id>",
        name: "my-instance-snapshot",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    snapshot = ovh.CloudInstanceSnapshot("snapshot",
        service_name="<Public cloud project id>",
        region="GRA11",
        instance_id="<instance id>",
        name="my-instance-snapshot")
    
    package main
    
    import (
    	"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ovh.NewCloudInstanceSnapshot(ctx, "snapshot", &ovh.CloudInstanceSnapshotArgs{
    			ServiceName: pulumi.String("<Public cloud project id>"),
    			Region:      pulumi.String("GRA11"),
    			InstanceId:  pulumi.String("<instance id>"),
    			Name:        pulumi.String("my-instance-snapshot"),
    		})
    		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 snapshot = new Ovh.CloudInstanceSnapshot("snapshot", new()
        {
            ServiceName = "<Public cloud project id>",
            Region = "GRA11",
            InstanceId = "<instance id>",
            Name = "my-instance-snapshot",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.ovhcloud.pulumi.ovh.CloudInstanceSnapshot;
    import com.ovhcloud.pulumi.ovh.CloudInstanceSnapshotArgs;
    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 snapshot = new CloudInstanceSnapshot("snapshot", CloudInstanceSnapshotArgs.builder()
                .serviceName("<Public cloud project id>")
                .region("GRA11")
                .instanceId("<instance id>")
                .name("my-instance-snapshot")
                .build());
    
        }
    }
    
    resources:
      snapshot:
        type: ovh:CloudInstanceSnapshot
        properties:
          serviceName: <Public cloud project id>
          region: GRA11
          instanceId: <instance id>
          name: my-instance-snapshot
    
    Example coming soon!
    

    Create CloudInstanceSnapshot Resource

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

    Constructor syntax

    new CloudInstanceSnapshot(name: string, args: CloudInstanceSnapshotArgs, opts?: CustomResourceOptions);
    @overload
    def CloudInstanceSnapshot(resource_name: str,
                              args: CloudInstanceSnapshotArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudInstanceSnapshot(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              instance_id: Optional[str] = None,
                              region: Optional[str] = None,
                              name: Optional[str] = None,
                              service_name: Optional[str] = None)
    func NewCloudInstanceSnapshot(ctx *Context, name string, args CloudInstanceSnapshotArgs, opts ...ResourceOption) (*CloudInstanceSnapshot, error)
    public CloudInstanceSnapshot(string name, CloudInstanceSnapshotArgs args, CustomResourceOptions? opts = null)
    public CloudInstanceSnapshot(String name, CloudInstanceSnapshotArgs args)
    public CloudInstanceSnapshot(String name, CloudInstanceSnapshotArgs args, CustomResourceOptions options)
    
    type: ovh:CloudInstanceSnapshot
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ovh_cloud_instance_snapshot" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CloudInstanceSnapshotArgs
    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 CloudInstanceSnapshotArgs
    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 CloudInstanceSnapshotArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudInstanceSnapshotArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudInstanceSnapshotArgs
    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 cloudInstanceSnapshotResource = new Ovh.CloudInstanceSnapshot("cloudInstanceSnapshotResource", new()
    {
        InstanceId = "string",
        Region = "string",
        Name = "string",
        ServiceName = "string",
    });
    
    example, err := ovh.NewCloudInstanceSnapshot(ctx, "cloudInstanceSnapshotResource", &ovh.CloudInstanceSnapshotArgs{
    	InstanceId:  pulumi.String("string"),
    	Region:      pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	ServiceName: pulumi.String("string"),
    })
    
    resource "ovh_cloud_instance_snapshot" "cloudInstanceSnapshotResource" {
      lifecycle {
        create_before_destroy = true
      }
      instance_id  = "string"
      region       = "string"
      name         = "string"
      service_name = "string"
    }
    
    var cloudInstanceSnapshotResource = new CloudInstanceSnapshot("cloudInstanceSnapshotResource", CloudInstanceSnapshotArgs.builder()
        .instanceId("string")
        .region("string")
        .name("string")
        .serviceName("string")
        .build());
    
    cloud_instance_snapshot_resource = ovh.CloudInstanceSnapshot("cloudInstanceSnapshotResource",
        instance_id="string",
        region="string",
        name="string",
        service_name="string")
    
    const cloudInstanceSnapshotResource = new ovh.CloudInstanceSnapshot("cloudInstanceSnapshotResource", {
        instanceId: "string",
        region: "string",
        name: "string",
        serviceName: "string",
    });
    
    type: ovh:CloudInstanceSnapshot
    properties:
        instanceId: string
        name: string
        region: string
        serviceName: string
    

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

    InstanceId string
    ID of the instance to snapshot. Changing this value recreates the resource.
    Region string
    Region where the snapshot will be created. Changing this value recreates the resource.
    Name string

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    ServiceName string
    Service name of the resource representing the id of the cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used. Changing this value recreates the resource.
    InstanceId string
    ID of the instance to snapshot. Changing this value recreates the resource.
    Region string
    Region where the snapshot will be created. Changing this value recreates the resource.
    Name string

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    ServiceName string
    Service name of the resource representing the id of the cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used. Changing this value recreates the resource.
    instance_id string
    ID of the instance to snapshot. Changing this value recreates the resource.
    region string
    Region where the snapshot will be created. Changing this value recreates the resource.
    name string

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    service_name string
    Service name of the resource representing the id of the cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used. Changing this value recreates the resource.
    instanceId String
    ID of the instance to snapshot. Changing this value recreates the resource.
    region String
    Region where the snapshot will be created. Changing this value recreates the resource.
    name String

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    serviceName String
    Service name of the resource representing the id of the cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used. Changing this value recreates the resource.
    instanceId string
    ID of the instance to snapshot. Changing this value recreates the resource.
    region string
    Region where the snapshot will be created. Changing this value recreates the resource.
    name string

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    serviceName string
    Service name of the resource representing the id of the cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used. Changing this value recreates the resource.
    instance_id str
    ID of the instance to snapshot. Changing this value recreates the resource.
    region str
    Region where the snapshot will be created. Changing this value recreates the resource.
    name str

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    service_name str
    Service name of the resource representing the id of the cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used. Changing this value recreates the resource.
    instanceId String
    ID of the instance to snapshot. Changing this value recreates the resource.
    region String
    Region where the snapshot will be created. Changing this value recreates the resource.
    name String

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    serviceName String
    Service name of the resource representing the id of the cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used. Changing this value recreates the resource.

    Outputs

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

    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the snapshot.
    CurrentState CloudInstanceSnapshotCurrentState
    Current state of the instance snapshot:
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceStatus string
    Snapshot readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY).
    UpdatedAt string
    Last update date of the snapshot.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the snapshot.
    CurrentState CloudInstanceSnapshotCurrentState
    Current state of the instance snapshot:
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceStatus string
    Snapshot readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY).
    UpdatedAt string
    Last update date of the snapshot.
    checksum string
    Computed hash representing the current target specification value.
    created_at string
    Creation date of the snapshot.
    current_state object
    Current state of the instance snapshot:
    id string
    The provider-assigned unique ID for this managed resource.
    resource_status string
    Snapshot readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY).
    updated_at string
    Last update date of the snapshot.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the snapshot.
    currentState CloudInstanceSnapshotCurrentState
    Current state of the instance snapshot:
    id String
    The provider-assigned unique ID for this managed resource.
    resourceStatus String
    Snapshot readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY).
    updatedAt String
    Last update date of the snapshot.
    checksum string
    Computed hash representing the current target specification value.
    createdAt string
    Creation date of the snapshot.
    currentState CloudInstanceSnapshotCurrentState
    Current state of the instance snapshot:
    id string
    The provider-assigned unique ID for this managed resource.
    resourceStatus string
    Snapshot readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY).
    updatedAt string
    Last update date of the snapshot.
    checksum str
    Computed hash representing the current target specification value.
    created_at str
    Creation date of the snapshot.
    current_state CloudInstanceSnapshotCurrentState
    Current state of the instance snapshot:
    id str
    The provider-assigned unique ID for this managed resource.
    resource_status str
    Snapshot readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY).
    updated_at str
    Last update date of the snapshot.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the snapshot.
    currentState Property Map
    Current state of the instance snapshot:
    id String
    The provider-assigned unique ID for this managed resource.
    resourceStatus String
    Snapshot readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY).
    updatedAt String
    Last update date of the snapshot.

    Look up Existing CloudInstanceSnapshot Resource

    Get an existing CloudInstanceSnapshot 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?: CloudInstanceSnapshotState, opts?: CustomResourceOptions): CloudInstanceSnapshot
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            checksum: Optional[str] = None,
            created_at: Optional[str] = None,
            current_state: Optional[CloudInstanceSnapshotCurrentStateArgs] = None,
            instance_id: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            resource_status: Optional[str] = None,
            service_name: Optional[str] = None,
            updated_at: Optional[str] = None) -> CloudInstanceSnapshot
    func GetCloudInstanceSnapshot(ctx *Context, name string, id IDInput, state *CloudInstanceSnapshotState, opts ...ResourceOption) (*CloudInstanceSnapshot, error)
    public static CloudInstanceSnapshot Get(string name, Input<string> id, CloudInstanceSnapshotState? state, CustomResourceOptions? opts = null)
    public static CloudInstanceSnapshot get(String name, Output<String> id, CloudInstanceSnapshotState state, CustomResourceOptions options)
    resources:  _:    type: ovh:CloudInstanceSnapshot    get:      id: ${id}
    import {
      to = ovh_cloud_instance_snapshot.example
      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.
    The following state arguments are supported:
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the snapshot.
    CurrentState CloudInstanceSnapshotCurrentState
    Current state of the instance snapshot:
    InstanceId string
    ID of the instance to snapshot. Changing this value recreates the resource.
    Name string

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    Region string
    Region where the snapshot will be created. Changing this value recreates the resource.
    ResourceStatus string
    Snapshot readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY).
    ServiceName string
    Service name of the resource representing the id of the cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used. Changing this value recreates the resource.
    UpdatedAt string
    Last update date of the snapshot.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the snapshot.
    CurrentState CloudInstanceSnapshotCurrentStateArgs
    Current state of the instance snapshot:
    InstanceId string
    ID of the instance to snapshot. Changing this value recreates the resource.
    Name string

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    Region string
    Region where the snapshot will be created. Changing this value recreates the resource.
    ResourceStatus string
    Snapshot readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY).
    ServiceName string
    Service name of the resource representing the id of the cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used. Changing this value recreates the resource.
    UpdatedAt string
    Last update date of the snapshot.
    checksum string
    Computed hash representing the current target specification value.
    created_at string
    Creation date of the snapshot.
    current_state object
    Current state of the instance snapshot:
    instance_id string
    ID of the instance to snapshot. Changing this value recreates the resource.
    name string

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    region string
    Region where the snapshot will be created. Changing this value recreates the resource.
    resource_status string
    Snapshot readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY).
    service_name string
    Service name of the resource representing the id of the cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used. Changing this value recreates the resource.
    updated_at string
    Last update date of the snapshot.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the snapshot.
    currentState CloudInstanceSnapshotCurrentState
    Current state of the instance snapshot:
    instanceId String
    ID of the instance to snapshot. Changing this value recreates the resource.
    name String

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    region String
    Region where the snapshot will be created. Changing this value recreates the resource.
    resourceStatus String
    Snapshot readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY).
    serviceName String
    Service name of the resource representing the id of the cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used. Changing this value recreates the resource.
    updatedAt String
    Last update date of the snapshot.
    checksum string
    Computed hash representing the current target specification value.
    createdAt string
    Creation date of the snapshot.
    currentState CloudInstanceSnapshotCurrentState
    Current state of the instance snapshot:
    instanceId string
    ID of the instance to snapshot. Changing this value recreates the resource.
    name string

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    region string
    Region where the snapshot will be created. Changing this value recreates the resource.
    resourceStatus string
    Snapshot readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY).
    serviceName string
    Service name of the resource representing the id of the cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used. Changing this value recreates the resource.
    updatedAt string
    Last update date of the snapshot.
    checksum str
    Computed hash representing the current target specification value.
    created_at str
    Creation date of the snapshot.
    current_state CloudInstanceSnapshotCurrentStateArgs
    Current state of the instance snapshot:
    instance_id str
    ID of the instance to snapshot. Changing this value recreates the resource.
    name str

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    region str
    Region where the snapshot will be created. Changing this value recreates the resource.
    resource_status str
    Snapshot readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY).
    service_name str
    Service name of the resource representing the id of the cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used. Changing this value recreates the resource.
    updated_at str
    Last update date of the snapshot.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the snapshot.
    currentState Property Map
    Current state of the instance snapshot:
    instanceId String
    ID of the instance to snapshot. Changing this value recreates the resource.
    name String

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    region String
    Region where the snapshot will be created. Changing this value recreates the resource.
    resourceStatus String
    Snapshot readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY).
    serviceName String
    Service name of the resource representing the id of the cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used. Changing this value recreates the resource.
    updatedAt String
    Last update date of the snapshot.

    Supporting Types

    CloudInstanceSnapshotCurrentState, CloudInstanceSnapshotCurrentStateArgs

    Instance CloudInstanceSnapshotCurrentStateInstance
    Source instance reference:
    Location CloudInstanceSnapshotCurrentStateLocation
    Current location:
    MinDisk int
    Minimum disk size in GB required to boot.
    MinRam int
    Minimum RAM in MB required to boot.
    Name string

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    Size int
    Image size in bytes.
    Status string
    Image status in the backend.
    Visibility string
    Image visibility.
    Instance CloudInstanceSnapshotCurrentStateInstance
    Source instance reference:
    Location CloudInstanceSnapshotCurrentStateLocation
    Current location:
    MinDisk int
    Minimum disk size in GB required to boot.
    MinRam int
    Minimum RAM in MB required to boot.
    Name string

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    Size int
    Image size in bytes.
    Status string
    Image status in the backend.
    Visibility string
    Image visibility.
    instance object
    Source instance reference:
    location object
    Current location:
    min_disk number
    Minimum disk size in GB required to boot.
    min_ram number
    Minimum RAM in MB required to boot.
    name string

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    size number
    Image size in bytes.
    status string
    Image status in the backend.
    visibility string
    Image visibility.
    instance CloudInstanceSnapshotCurrentStateInstance
    Source instance reference:
    location CloudInstanceSnapshotCurrentStateLocation
    Current location:
    minDisk Integer
    Minimum disk size in GB required to boot.
    minRam Integer
    Minimum RAM in MB required to boot.
    name String

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    size Integer
    Image size in bytes.
    status String
    Image status in the backend.
    visibility String
    Image visibility.
    instance CloudInstanceSnapshotCurrentStateInstance
    Source instance reference:
    location CloudInstanceSnapshotCurrentStateLocation
    Current location:
    minDisk number
    Minimum disk size in GB required to boot.
    minRam number
    Minimum RAM in MB required to boot.
    name string

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    size number
    Image size in bytes.
    status string
    Image status in the backend.
    visibility string
    Image visibility.
    instance CloudInstanceSnapshotCurrentStateInstance
    Source instance reference:
    location CloudInstanceSnapshotCurrentStateLocation
    Current location:
    min_disk int
    Minimum disk size in GB required to boot.
    min_ram int
    Minimum RAM in MB required to boot.
    name str

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    size int
    Image size in bytes.
    status str
    Image status in the backend.
    visibility str
    Image visibility.
    instance Property Map
    Source instance reference:
    location Property Map
    Current location:
    minDisk Number
    Minimum disk size in GB required to boot.
    minRam Number
    Minimum RAM in MB required to boot.
    name String

    Snapshot name. Changing this value recreates the resource.

    All attributes are immutable: the resource does not support in-place updates, any change requires replacement.

    size Number
    Image size in bytes.
    status String
    Image status in the backend.
    visibility String
    Image visibility.

    CloudInstanceSnapshotCurrentStateInstance, CloudInstanceSnapshotCurrentStateInstanceArgs

    Id string
    Instance unique identifier.
    Id string
    Instance unique identifier.
    id string
    Instance unique identifier.
    id String
    Instance unique identifier.
    id string
    Instance unique identifier.
    id str
    Instance unique identifier.
    id String
    Instance unique identifier.

    CloudInstanceSnapshotCurrentStateLocation, CloudInstanceSnapshotCurrentStateLocationArgs

    Region string
    Region where the snapshot will be created. Changing this value recreates the resource.
    Region string
    Region where the snapshot will be created. Changing this value recreates the resource.
    region string
    Region where the snapshot will be created. Changing this value recreates the resource.
    region String
    Region where the snapshot will be created. Changing this value recreates the resource.
    region string
    Region where the snapshot will be created. Changing this value recreates the resource.
    region str
    Region where the snapshot will be created. Changing this value recreates the resource.
    region String
    Region where the snapshot will be created. Changing this value recreates the resource.

    Import

    An instance snapshot can be imported using the service_name and the id of the snapshot, separated by “/”:

    bash

    $ pulumi import ovh:index/cloudInstanceSnapshot:CloudInstanceSnapshot snapshot service_name/snapshot_id
    

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

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    Viewing docs for OVHCloud v2.21.0
    published on Friday, Sep 25, 2026 by OVHcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial