1. Packages
  2. Ibm Provider
  3. API Docs
  4. PiVolumeClone
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.PiVolumeClone

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create a volume clone. For more information, about managing volume clone, see getting started with IBM Power Systems Virtual Servers.

    Example Usage

    The following example creates a volume clone.

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const testaccVolumeClone = new ibm.PiVolumeClone("testaccVolumeClone", {
        piCloudInstanceId: "<value of the cloud_instance_id>",
        piReplicationEnabled: true,
        piTargetStorageTier: "<storage tier>",
        piVolumeCloneName: "test-volume-clone",
        piVolumeIds: ["<Volume ID>"],
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    testacc_volume_clone = ibm.PiVolumeClone("testaccVolumeClone",
        pi_cloud_instance_id="<value of the cloud_instance_id>",
        pi_replication_enabled=True,
        pi_target_storage_tier="<storage tier>",
        pi_volume_clone_name="test-volume-clone",
        pi_volume_ids=["<Volume ID>"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewPiVolumeClone(ctx, "testaccVolumeClone", &ibm.PiVolumeCloneArgs{
    			PiCloudInstanceId:    pulumi.String("<value of the cloud_instance_id>"),
    			PiReplicationEnabled: pulumi.Bool(true),
    			PiTargetStorageTier:  pulumi.String("<storage tier>"),
    			PiVolumeCloneName:    pulumi.String("test-volume-clone"),
    			PiVolumeIds: pulumi.StringArray{
    				pulumi.String("<Volume ID>"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var testaccVolumeClone = new Ibm.PiVolumeClone("testaccVolumeClone", new()
        {
            PiCloudInstanceId = "<value of the cloud_instance_id>",
            PiReplicationEnabled = true,
            PiTargetStorageTier = "<storage tier>",
            PiVolumeCloneName = "test-volume-clone",
            PiVolumeIds = new[]
            {
                "<Volume ID>",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.PiVolumeClone;
    import com.pulumi.ibm.PiVolumeCloneArgs;
    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 testaccVolumeClone = new PiVolumeClone("testaccVolumeClone", PiVolumeCloneArgs.builder()
                .piCloudInstanceId("<value of the cloud_instance_id>")
                .piReplicationEnabled(true)
                .piTargetStorageTier("<storage tier>")
                .piVolumeCloneName("test-volume-clone")
                .piVolumeIds("<Volume ID>")
                .build());
    
        }
    }
    
    resources:
      testaccVolumeClone:
        type: ibm:PiVolumeClone
        properties:
          piCloudInstanceId: <value of the cloud_instance_id>
          piReplicationEnabled: true
          piTargetStorageTier: <storage tier>
          piVolumeCloneName: test-volume-clone
          piVolumeIds:
            - <Volume ID>
    

    Notes

    • Please find supported Regions for endpoints.
    • If a Power cloud instance is provisioned at lon04, The provider level attributes should be as follows:
      • region - lon
      • zone - lon04

    Example usage:

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
        }
    }
    
    {}
    

    Create PiVolumeClone Resource

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

    Constructor syntax

    new PiVolumeClone(name: string, args: PiVolumeCloneArgs, opts?: CustomResourceOptions);
    @overload
    def PiVolumeClone(resource_name: str,
                      args: PiVolumeCloneArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def PiVolumeClone(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      pi_cloud_instance_id: Optional[str] = None,
                      pi_volume_clone_name: Optional[str] = None,
                      pi_volume_ids: Optional[Sequence[str]] = None,
                      pi_replication_enabled: Optional[bool] = None,
                      pi_target_storage_tier: Optional[str] = None,
                      pi_user_tags: Optional[Sequence[str]] = None,
                      pi_volume_clone_id: Optional[str] = None,
                      timeouts: Optional[PiVolumeCloneTimeoutsArgs] = None)
    func NewPiVolumeClone(ctx *Context, name string, args PiVolumeCloneArgs, opts ...ResourceOption) (*PiVolumeClone, error)
    public PiVolumeClone(string name, PiVolumeCloneArgs args, CustomResourceOptions? opts = null)
    public PiVolumeClone(String name, PiVolumeCloneArgs args)
    public PiVolumeClone(String name, PiVolumeCloneArgs args, CustomResourceOptions options)
    
    type: ibm:PiVolumeClone
    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 PiVolumeCloneArgs
    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 PiVolumeCloneArgs
    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 PiVolumeCloneArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PiVolumeCloneArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PiVolumeCloneArgs
    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 piVolumeCloneResource = new Ibm.PiVolumeClone("piVolumeCloneResource", new()
    {
        PiCloudInstanceId = "string",
        PiVolumeCloneName = "string",
        PiVolumeIds = new[]
        {
            "string",
        },
        PiReplicationEnabled = false,
        PiTargetStorageTier = "string",
        PiUserTags = new[]
        {
            "string",
        },
        PiVolumeCloneId = "string",
        Timeouts = new Ibm.Inputs.PiVolumeCloneTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := ibm.NewPiVolumeClone(ctx, "piVolumeCloneResource", &ibm.PiVolumeCloneArgs{
    	PiCloudInstanceId: pulumi.String("string"),
    	PiVolumeCloneName: pulumi.String("string"),
    	PiVolumeIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	PiReplicationEnabled: pulumi.Bool(false),
    	PiTargetStorageTier:  pulumi.String("string"),
    	PiUserTags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	PiVolumeCloneId: pulumi.String("string"),
    	Timeouts: &ibm.PiVolumeCloneTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var piVolumeCloneResource = new PiVolumeClone("piVolumeCloneResource", PiVolumeCloneArgs.builder()
        .piCloudInstanceId("string")
        .piVolumeCloneName("string")
        .piVolumeIds("string")
        .piReplicationEnabled(false)
        .piTargetStorageTier("string")
        .piUserTags("string")
        .piVolumeCloneId("string")
        .timeouts(PiVolumeCloneTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    pi_volume_clone_resource = ibm.PiVolumeClone("piVolumeCloneResource",
        pi_cloud_instance_id="string",
        pi_volume_clone_name="string",
        pi_volume_ids=["string"],
        pi_replication_enabled=False,
        pi_target_storage_tier="string",
        pi_user_tags=["string"],
        pi_volume_clone_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const piVolumeCloneResource = new ibm.PiVolumeClone("piVolumeCloneResource", {
        piCloudInstanceId: "string",
        piVolumeCloneName: "string",
        piVolumeIds: ["string"],
        piReplicationEnabled: false,
        piTargetStorageTier: "string",
        piUserTags: ["string"],
        piVolumeCloneId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: ibm:PiVolumeClone
    properties:
        piCloudInstanceId: string
        piReplicationEnabled: false
        piTargetStorageTier: string
        piUserTags:
            - string
        piVolumeCloneId: string
        piVolumeCloneName: string
        piVolumeIds:
            - string
        timeouts:
            create: string
            delete: string
    

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

    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiVolumeCloneName string
    The base name of the newly cloned volume(s).
    PiVolumeIds List<string>
    List of volumes to be cloned.
    PiReplicationEnabled bool
    Indicates whether the cloned volume should have replication enabled. If no value is provided, it will default to the replication status of the source volume(s).
    PiTargetStorageTier string
    The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
    PiUserTags List<string>
    The user tags attached to this resource.
    PiVolumeCloneId string
    (String) The unique identifier of the volume clone. The ID is composed of <pi_cloud_instance_id>/<task_id>.
    Timeouts PiVolumeCloneTimeouts
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiVolumeCloneName string
    The base name of the newly cloned volume(s).
    PiVolumeIds []string
    List of volumes to be cloned.
    PiReplicationEnabled bool
    Indicates whether the cloned volume should have replication enabled. If no value is provided, it will default to the replication status of the source volume(s).
    PiTargetStorageTier string
    The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
    PiUserTags []string
    The user tags attached to this resource.
    PiVolumeCloneId string
    (String) The unique identifier of the volume clone. The ID is composed of <pi_cloud_instance_id>/<task_id>.
    Timeouts PiVolumeCloneTimeoutsArgs
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piVolumeCloneName String
    The base name of the newly cloned volume(s).
    piVolumeIds List<String>
    List of volumes to be cloned.
    piReplicationEnabled Boolean
    Indicates whether the cloned volume should have replication enabled. If no value is provided, it will default to the replication status of the source volume(s).
    piTargetStorageTier String
    The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
    piUserTags List<String>
    The user tags attached to this resource.
    piVolumeCloneId String
    (String) The unique identifier of the volume clone. The ID is composed of <pi_cloud_instance_id>/<task_id>.
    timeouts PiVolumeCloneTimeouts
    piCloudInstanceId string
    The GUID of the service instance associated with an account.
    piVolumeCloneName string
    The base name of the newly cloned volume(s).
    piVolumeIds string[]
    List of volumes to be cloned.
    piReplicationEnabled boolean
    Indicates whether the cloned volume should have replication enabled. If no value is provided, it will default to the replication status of the source volume(s).
    piTargetStorageTier string
    The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
    piUserTags string[]
    The user tags attached to this resource.
    piVolumeCloneId string
    (String) The unique identifier of the volume clone. The ID is composed of <pi_cloud_instance_id>/<task_id>.
    timeouts PiVolumeCloneTimeouts
    pi_cloud_instance_id str
    The GUID of the service instance associated with an account.
    pi_volume_clone_name str
    The base name of the newly cloned volume(s).
    pi_volume_ids Sequence[str]
    List of volumes to be cloned.
    pi_replication_enabled bool
    Indicates whether the cloned volume should have replication enabled. If no value is provided, it will default to the replication status of the source volume(s).
    pi_target_storage_tier str
    The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
    pi_user_tags Sequence[str]
    The user tags attached to this resource.
    pi_volume_clone_id str
    (String) The unique identifier of the volume clone. The ID is composed of <pi_cloud_instance_id>/<task_id>.
    timeouts PiVolumeCloneTimeoutsArgs
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piVolumeCloneName String
    The base name of the newly cloned volume(s).
    piVolumeIds List<String>
    List of volumes to be cloned.
    piReplicationEnabled Boolean
    Indicates whether the cloned volume should have replication enabled. If no value is provided, it will default to the replication status of the source volume(s).
    piTargetStorageTier String
    The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
    piUserTags List<String>
    The user tags attached to this resource.
    piVolumeCloneId String
    (String) The unique identifier of the volume clone. The ID is composed of <pi_cloud_instance_id>/<task_id>.
    timeouts Property Map

    Outputs

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

    CloneVolumes List<PiVolumeCloneCloneVolume>
    The List of cloned volumes.
    FailureReason string
    (String) The reason for the failure of the volume clone task.
    Id string
    The provider-assigned unique ID for this managed resource.
    PercentComplete double
    (Integer) The completion percentage of the volume clone task.
    Status string
    (String) The status of the volume clone task.
    TaskId string
    (String) The ID of the volume clone task.
    CloneVolumes []PiVolumeCloneCloneVolume
    The List of cloned volumes.
    FailureReason string
    (String) The reason for the failure of the volume clone task.
    Id string
    The provider-assigned unique ID for this managed resource.
    PercentComplete float64
    (Integer) The completion percentage of the volume clone task.
    Status string
    (String) The status of the volume clone task.
    TaskId string
    (String) The ID of the volume clone task.
    cloneVolumes List<PiVolumeCloneCloneVolume>
    The List of cloned volumes.
    failureReason String
    (String) The reason for the failure of the volume clone task.
    id String
    The provider-assigned unique ID for this managed resource.
    percentComplete Double
    (Integer) The completion percentage of the volume clone task.
    status String
    (String) The status of the volume clone task.
    taskId String
    (String) The ID of the volume clone task.
    cloneVolumes PiVolumeCloneCloneVolume[]
    The List of cloned volumes.
    failureReason string
    (String) The reason for the failure of the volume clone task.
    id string
    The provider-assigned unique ID for this managed resource.
    percentComplete number
    (Integer) The completion percentage of the volume clone task.
    status string
    (String) The status of the volume clone task.
    taskId string
    (String) The ID of the volume clone task.
    clone_volumes Sequence[PiVolumeCloneCloneVolume]
    The List of cloned volumes.
    failure_reason str
    (String) The reason for the failure of the volume clone task.
    id str
    The provider-assigned unique ID for this managed resource.
    percent_complete float
    (Integer) The completion percentage of the volume clone task.
    status str
    (String) The status of the volume clone task.
    task_id str
    (String) The ID of the volume clone task.
    cloneVolumes List<Property Map>
    The List of cloned volumes.
    failureReason String
    (String) The reason for the failure of the volume clone task.
    id String
    The provider-assigned unique ID for this managed resource.
    percentComplete Number
    (Integer) The completion percentage of the volume clone task.
    status String
    (String) The status of the volume clone task.
    taskId String
    (String) The ID of the volume clone task.

    Look up Existing PiVolumeClone Resource

    Get an existing PiVolumeClone 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?: PiVolumeCloneState, opts?: CustomResourceOptions): PiVolumeClone
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            clone_volumes: Optional[Sequence[PiVolumeCloneCloneVolumeArgs]] = None,
            failure_reason: Optional[str] = None,
            percent_complete: Optional[float] = None,
            pi_cloud_instance_id: Optional[str] = None,
            pi_replication_enabled: Optional[bool] = None,
            pi_target_storage_tier: Optional[str] = None,
            pi_user_tags: Optional[Sequence[str]] = None,
            pi_volume_clone_id: Optional[str] = None,
            pi_volume_clone_name: Optional[str] = None,
            pi_volume_ids: Optional[Sequence[str]] = None,
            status: Optional[str] = None,
            task_id: Optional[str] = None,
            timeouts: Optional[PiVolumeCloneTimeoutsArgs] = None) -> PiVolumeClone
    func GetPiVolumeClone(ctx *Context, name string, id IDInput, state *PiVolumeCloneState, opts ...ResourceOption) (*PiVolumeClone, error)
    public static PiVolumeClone Get(string name, Input<string> id, PiVolumeCloneState? state, CustomResourceOptions? opts = null)
    public static PiVolumeClone get(String name, Output<String> id, PiVolumeCloneState state, CustomResourceOptions options)
    resources:  _:    type: ibm:PiVolumeClone    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.
    The following state arguments are supported:
    CloneVolumes List<PiVolumeCloneCloneVolume>
    The List of cloned volumes.
    FailureReason string
    (String) The reason for the failure of the volume clone task.
    PercentComplete double
    (Integer) The completion percentage of the volume clone task.
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiReplicationEnabled bool
    Indicates whether the cloned volume should have replication enabled. If no value is provided, it will default to the replication status of the source volume(s).
    PiTargetStorageTier string
    The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
    PiUserTags List<string>
    The user tags attached to this resource.
    PiVolumeCloneId string
    (String) The unique identifier of the volume clone. The ID is composed of <pi_cloud_instance_id>/<task_id>.
    PiVolumeCloneName string
    The base name of the newly cloned volume(s).
    PiVolumeIds List<string>
    List of volumes to be cloned.
    Status string
    (String) The status of the volume clone task.
    TaskId string
    (String) The ID of the volume clone task.
    Timeouts PiVolumeCloneTimeouts
    CloneVolumes []PiVolumeCloneCloneVolumeArgs
    The List of cloned volumes.
    FailureReason string
    (String) The reason for the failure of the volume clone task.
    PercentComplete float64
    (Integer) The completion percentage of the volume clone task.
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiReplicationEnabled bool
    Indicates whether the cloned volume should have replication enabled. If no value is provided, it will default to the replication status of the source volume(s).
    PiTargetStorageTier string
    The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
    PiUserTags []string
    The user tags attached to this resource.
    PiVolumeCloneId string
    (String) The unique identifier of the volume clone. The ID is composed of <pi_cloud_instance_id>/<task_id>.
    PiVolumeCloneName string
    The base name of the newly cloned volume(s).
    PiVolumeIds []string
    List of volumes to be cloned.
    Status string
    (String) The status of the volume clone task.
    TaskId string
    (String) The ID of the volume clone task.
    Timeouts PiVolumeCloneTimeoutsArgs
    cloneVolumes List<PiVolumeCloneCloneVolume>
    The List of cloned volumes.
    failureReason String
    (String) The reason for the failure of the volume clone task.
    percentComplete Double
    (Integer) The completion percentage of the volume clone task.
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piReplicationEnabled Boolean
    Indicates whether the cloned volume should have replication enabled. If no value is provided, it will default to the replication status of the source volume(s).
    piTargetStorageTier String
    The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
    piUserTags List<String>
    The user tags attached to this resource.
    piVolumeCloneId String
    (String) The unique identifier of the volume clone. The ID is composed of <pi_cloud_instance_id>/<task_id>.
    piVolumeCloneName String
    The base name of the newly cloned volume(s).
    piVolumeIds List<String>
    List of volumes to be cloned.
    status String
    (String) The status of the volume clone task.
    taskId String
    (String) The ID of the volume clone task.
    timeouts PiVolumeCloneTimeouts
    cloneVolumes PiVolumeCloneCloneVolume[]
    The List of cloned volumes.
    failureReason string
    (String) The reason for the failure of the volume clone task.
    percentComplete number
    (Integer) The completion percentage of the volume clone task.
    piCloudInstanceId string
    The GUID of the service instance associated with an account.
    piReplicationEnabled boolean
    Indicates whether the cloned volume should have replication enabled. If no value is provided, it will default to the replication status of the source volume(s).
    piTargetStorageTier string
    The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
    piUserTags string[]
    The user tags attached to this resource.
    piVolumeCloneId string
    (String) The unique identifier of the volume clone. The ID is composed of <pi_cloud_instance_id>/<task_id>.
    piVolumeCloneName string
    The base name of the newly cloned volume(s).
    piVolumeIds string[]
    List of volumes to be cloned.
    status string
    (String) The status of the volume clone task.
    taskId string
    (String) The ID of the volume clone task.
    timeouts PiVolumeCloneTimeouts
    clone_volumes Sequence[PiVolumeCloneCloneVolumeArgs]
    The List of cloned volumes.
    failure_reason str
    (String) The reason for the failure of the volume clone task.
    percent_complete float
    (Integer) The completion percentage of the volume clone task.
    pi_cloud_instance_id str
    The GUID of the service instance associated with an account.
    pi_replication_enabled bool
    Indicates whether the cloned volume should have replication enabled. If no value is provided, it will default to the replication status of the source volume(s).
    pi_target_storage_tier str
    The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
    pi_user_tags Sequence[str]
    The user tags attached to this resource.
    pi_volume_clone_id str
    (String) The unique identifier of the volume clone. The ID is composed of <pi_cloud_instance_id>/<task_id>.
    pi_volume_clone_name str
    The base name of the newly cloned volume(s).
    pi_volume_ids Sequence[str]
    List of volumes to be cloned.
    status str
    (String) The status of the volume clone task.
    task_id str
    (String) The ID of the volume clone task.
    timeouts PiVolumeCloneTimeoutsArgs
    cloneVolumes List<Property Map>
    The List of cloned volumes.
    failureReason String
    (String) The reason for the failure of the volume clone task.
    percentComplete Number
    (Integer) The completion percentage of the volume clone task.
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piReplicationEnabled Boolean
    Indicates whether the cloned volume should have replication enabled. If no value is provided, it will default to the replication status of the source volume(s).
    piTargetStorageTier String
    The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
    piUserTags List<String>
    The user tags attached to this resource.
    piVolumeCloneId String
    (String) The unique identifier of the volume clone. The ID is composed of <pi_cloud_instance_id>/<task_id>.
    piVolumeCloneName String
    The base name of the newly cloned volume(s).
    piVolumeIds List<String>
    List of volumes to be cloned.
    status String
    (String) The status of the volume clone task.
    taskId String
    (String) The ID of the volume clone task.
    timeouts Property Map

    Supporting Types

    PiVolumeCloneCloneVolume, PiVolumeCloneCloneVolumeArgs

    CloneVolumeId string
    (String) The ID of the newly cloned volume.
    SourceVolumeId string
    (String) The ID of the source volume.
    CloneVolumeId string
    (String) The ID of the newly cloned volume.
    SourceVolumeId string
    (String) The ID of the source volume.
    cloneVolumeId String
    (String) The ID of the newly cloned volume.
    sourceVolumeId String
    (String) The ID of the source volume.
    cloneVolumeId string
    (String) The ID of the newly cloned volume.
    sourceVolumeId string
    (String) The ID of the source volume.
    clone_volume_id str
    (String) The ID of the newly cloned volume.
    source_volume_id str
    (String) The ID of the source volume.
    cloneVolumeId String
    (String) The ID of the newly cloned volume.
    sourceVolumeId String
    (String) The ID of the source volume.

    PiVolumeCloneTimeouts, PiVolumeCloneTimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    Example

    bash

    $ pulumi import ibm:index/piVolumeClone:PiVolumeClone example d7bec597-4726-451f-8a63-e62e6f19c32c/cea6651a-bc0a-4438-9f8a-a0770bbf3ebb
    

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

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud