ibm.PiVolumeClone
Explore with Pulumi AI
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:
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Volume stringClone Name - The base name of the newly cloned volume(s).
- Pi
Volume List<string>Ids - List of volumes to be cloned.
- Pi
Replication boolEnabled - 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 stringStorage Tier - The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
- List<string>
- The user tags attached to this resource.
- Pi
Volume stringClone Id - (String) The unique identifier of the volume clone. The ID is composed of
<pi_cloud_instance_id>/<task_id>
. - Timeouts
Pi
Volume Clone Timeouts
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Volume stringClone Name - The base name of the newly cloned volume(s).
- Pi
Volume []stringIds - List of volumes to be cloned.
- Pi
Replication boolEnabled - 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 stringStorage Tier - The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
- []string
- The user tags attached to this resource.
- Pi
Volume stringClone Id - (String) The unique identifier of the volume clone. The ID is composed of
<pi_cloud_instance_id>/<task_id>
. - Timeouts
Pi
Volume Clone Timeouts Args
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Volume StringClone Name - The base name of the newly cloned volume(s).
- pi
Volume List<String>Ids - List of volumes to be cloned.
- pi
Replication BooleanEnabled - 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 StringStorage Tier - The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
- List<String>
- The user tags attached to this resource.
- pi
Volume StringClone Id - (String) The unique identifier of the volume clone. The ID is composed of
<pi_cloud_instance_id>/<task_id>
. - timeouts
Pi
Volume Clone Timeouts
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Volume stringClone Name - The base name of the newly cloned volume(s).
- pi
Volume string[]Ids - List of volumes to be cloned.
- pi
Replication booleanEnabled - 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 stringStorage Tier - The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
- string[]
- The user tags attached to this resource.
- pi
Volume stringClone Id - (String) The unique identifier of the volume clone. The ID is composed of
<pi_cloud_instance_id>/<task_id>
. - timeouts
Pi
Volume Clone Timeouts
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
volume_ strclone_ name - The base name of the newly cloned volume(s).
- pi_
volume_ Sequence[str]ids - List of volumes to be cloned.
- pi_
replication_ boolenabled - 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_ strstorage_ tier - The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
- Sequence[str]
- The user tags attached to this resource.
- pi_
volume_ strclone_ id - (String) The unique identifier of the volume clone. The ID is composed of
<pi_cloud_instance_id>/<task_id>
. - timeouts
Pi
Volume Clone Timeouts Args
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Volume StringClone Name - The base name of the newly cloned volume(s).
- pi
Volume List<String>Ids - List of volumes to be cloned.
- pi
Replication BooleanEnabled - 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 StringStorage Tier - The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
- List<String>
- The user tags attached to this resource.
- pi
Volume StringClone Id - (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:
- Clone
Volumes List<PiVolume Clone Clone Volume> - The List of cloned volumes.
- Failure
Reason string - (String) The reason for the failure of the volume clone task.
- Id string
- The provider-assigned unique ID for this managed resource.
- Percent
Complete double - (Integer) The completion percentage of the volume clone task.
- Status string
- (String) The status of the volume clone task.
- Task
Id string - (String) The ID of the volume clone task.
- Clone
Volumes []PiVolume Clone Clone Volume - The List of cloned volumes.
- Failure
Reason string - (String) The reason for the failure of the volume clone task.
- Id string
- The provider-assigned unique ID for this managed resource.
- Percent
Complete float64 - (Integer) The completion percentage of the volume clone task.
- Status string
- (String) The status of the volume clone task.
- Task
Id string - (String) The ID of the volume clone task.
- clone
Volumes List<PiVolume Clone Clone Volume> - The List of cloned volumes.
- failure
Reason String - (String) The reason for the failure of the volume clone task.
- id String
- The provider-assigned unique ID for this managed resource.
- percent
Complete Double - (Integer) The completion percentage of the volume clone task.
- status String
- (String) The status of the volume clone task.
- task
Id String - (String) The ID of the volume clone task.
- clone
Volumes PiVolume Clone Clone Volume[] - The List of cloned volumes.
- failure
Reason string - (String) The reason for the failure of the volume clone task.
- id string
- The provider-assigned unique ID for this managed resource.
- percent
Complete number - (Integer) The completion percentage of the volume clone task.
- status string
- (String) The status of the volume clone task.
- task
Id string - (String) The ID of the volume clone task.
- clone_
volumes Sequence[PiVolume Clone Clone Volume] - 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.
- clone
Volumes List<Property Map> - The List of cloned volumes.
- failure
Reason String - (String) The reason for the failure of the volume clone task.
- id String
- The provider-assigned unique ID for this managed resource.
- percent
Complete Number - (Integer) The completion percentage of the volume clone task.
- status String
- (String) The status of the volume clone task.
- task
Id 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.
- Clone
Volumes List<PiVolume Clone Clone Volume> - The List of cloned volumes.
- Failure
Reason string - (String) The reason for the failure of the volume clone task.
- Percent
Complete double - (Integer) The completion percentage of the volume clone task.
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Replication boolEnabled - 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 stringStorage Tier - The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
- List<string>
- The user tags attached to this resource.
- Pi
Volume stringClone Id - (String) The unique identifier of the volume clone. The ID is composed of
<pi_cloud_instance_id>/<task_id>
. - Pi
Volume stringClone Name - The base name of the newly cloned volume(s).
- Pi
Volume List<string>Ids - List of volumes to be cloned.
- Status string
- (String) The status of the volume clone task.
- Task
Id string - (String) The ID of the volume clone task.
- Timeouts
Pi
Volume Clone Timeouts
- Clone
Volumes []PiVolume Clone Clone Volume Args - The List of cloned volumes.
- Failure
Reason string - (String) The reason for the failure of the volume clone task.
- Percent
Complete float64 - (Integer) The completion percentage of the volume clone task.
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Replication boolEnabled - 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 stringStorage Tier - The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
- []string
- The user tags attached to this resource.
- Pi
Volume stringClone Id - (String) The unique identifier of the volume clone. The ID is composed of
<pi_cloud_instance_id>/<task_id>
. - Pi
Volume stringClone Name - The base name of the newly cloned volume(s).
- Pi
Volume []stringIds - List of volumes to be cloned.
- Status string
- (String) The status of the volume clone task.
- Task
Id string - (String) The ID of the volume clone task.
- Timeouts
Pi
Volume Clone Timeouts Args
- clone
Volumes List<PiVolume Clone Clone Volume> - The List of cloned volumes.
- failure
Reason String - (String) The reason for the failure of the volume clone task.
- percent
Complete Double - (Integer) The completion percentage of the volume clone task.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Replication BooleanEnabled - 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 StringStorage Tier - The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
- List<String>
- The user tags attached to this resource.
- pi
Volume StringClone Id - (String) The unique identifier of the volume clone. The ID is composed of
<pi_cloud_instance_id>/<task_id>
. - pi
Volume StringClone Name - The base name of the newly cloned volume(s).
- pi
Volume List<String>Ids - List of volumes to be cloned.
- status String
- (String) The status of the volume clone task.
- task
Id String - (String) The ID of the volume clone task.
- timeouts
Pi
Volume Clone Timeouts
- clone
Volumes PiVolume Clone Clone Volume[] - The List of cloned volumes.
- failure
Reason string - (String) The reason for the failure of the volume clone task.
- percent
Complete number - (Integer) The completion percentage of the volume clone task.
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Replication booleanEnabled - 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 stringStorage Tier - The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
- string[]
- The user tags attached to this resource.
- pi
Volume stringClone Id - (String) The unique identifier of the volume clone. The ID is composed of
<pi_cloud_instance_id>/<task_id>
. - pi
Volume stringClone Name - The base name of the newly cloned volume(s).
- pi
Volume string[]Ids - List of volumes to be cloned.
- status string
- (String) The status of the volume clone task.
- task
Id string - (String) The ID of the volume clone task.
- timeouts
Pi
Volume Clone Timeouts
- clone_
volumes Sequence[PiVolume Clone Clone Volume Args] - 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_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
replication_ boolenabled - 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_ strstorage_ tier - The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
- Sequence[str]
- The user tags attached to this resource.
- pi_
volume_ strclone_ id - (String) The unique identifier of the volume clone. The ID is composed of
<pi_cloud_instance_id>/<task_id>
. - pi_
volume_ strclone_ name - The base name of the newly cloned volume(s).
- pi_
volume_ Sequence[str]ids - 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
Pi
Volume Clone Timeouts Args
- clone
Volumes List<Property Map> - The List of cloned volumes.
- failure
Reason String - (String) The reason for the failure of the volume clone task.
- percent
Complete Number - (Integer) The completion percentage of the volume clone task.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Replication BooleanEnabled - 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 StringStorage Tier - The storage tier for the cloned volume(s). To get a list of available storage tiers, please use the ibm.getPiStorageTypesCapacity data source.
- List<String>
- The user tags attached to this resource.
- pi
Volume StringClone Id - (String) The unique identifier of the volume clone. The ID is composed of
<pi_cloud_instance_id>/<task_id>
. - pi
Volume StringClone Name - The base name of the newly cloned volume(s).
- pi
Volume List<String>Ids - List of volumes to be cloned.
- status String
- (String) The status of the volume clone task.
- task
Id String - (String) The ID of the volume clone task.
- timeouts Property Map
Supporting Types
PiVolumeCloneCloneVolume, PiVolumeCloneCloneVolumeArgs
- Clone
Volume stringId - (String) The ID of the newly cloned volume.
- Source
Volume stringId - (String) The ID of the source volume.
- Clone
Volume stringId - (String) The ID of the newly cloned volume.
- Source
Volume stringId - (String) The ID of the source volume.
- clone
Volume StringId - (String) The ID of the newly cloned volume.
- source
Volume StringId - (String) The ID of the source volume.
- clone
Volume stringId - (String) The ID of the newly cloned volume.
- source
Volume stringId - (String) The ID of the source volume.
- clone_
volume_ strid - (String) The ID of the newly cloned volume.
- source_
volume_ strid - (String) The ID of the source volume.
- clone
Volume StringId - (String) The ID of the newly cloned volume.
- source
Volume StringId - (String) The ID of the source volume.
PiVolumeCloneTimeouts, PiVolumeCloneTimeoutsArgs
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.