ibm.PiSnapshot
Explore with Pulumi AI
This resource is deprecated and will be removed in the next major version. Use
ibm.PiInstanceSnapshot
resource instead.
Creates, updates, deletes, and manages snapshots in the Power Virtual Server Cloud. For more information, about snapshots in the Power Virutal Server, see snapshotting, cloning, and restoring.
Example Usage
The following example enables you to create a snapshot:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const testaccSnapshot = new ibm.PiSnapshot("testaccSnapshot", {
piCloudInstanceId: "<value of the cloud_instance_id>",
piDescription: "Testing snapshot for instance",
piInstanceName: test_instance,
piSnapShotName: test_snapshot,
piVolumeIds: [
"volumeid1",
"volumeid2",
],
});
import pulumi
import pulumi_ibm as ibm
testacc_snapshot = ibm.PiSnapshot("testaccSnapshot",
pi_cloud_instance_id="<value of the cloud_instance_id>",
pi_description="Testing snapshot for instance",
pi_instance_name=test_instance,
pi_snap_shot_name=test_snapshot,
pi_volume_ids=[
"volumeid1",
"volumeid2",
])
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.NewPiSnapshot(ctx, "testaccSnapshot", &ibm.PiSnapshotArgs{
PiCloudInstanceId: pulumi.String("<value of the cloud_instance_id>"),
PiDescription: pulumi.String("Testing snapshot for instance"),
PiInstanceName: pulumi.Any(test_instance),
PiSnapShotName: pulumi.Any(test_snapshot),
PiVolumeIds: pulumi.StringArray{
pulumi.String("volumeid1"),
pulumi.String("volumeid2"),
},
})
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 testaccSnapshot = new Ibm.PiSnapshot("testaccSnapshot", new()
{
PiCloudInstanceId = "<value of the cloud_instance_id>",
PiDescription = "Testing snapshot for instance",
PiInstanceName = test_instance,
PiSnapShotName = test_snapshot,
PiVolumeIds = new[]
{
"volumeid1",
"volumeid2",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.PiSnapshot;
import com.pulumi.ibm.PiSnapshotArgs;
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 testaccSnapshot = new PiSnapshot("testaccSnapshot", PiSnapshotArgs.builder()
.piCloudInstanceId("<value of the cloud_instance_id>")
.piDescription("Testing snapshot for instance")
.piInstanceName(test_instance)
.piSnapShotName(test_snapshot)
.piVolumeIds(
"volumeid1",
"volumeid2")
.build());
}
}
resources:
testaccSnapshot:
type: ibm:PiSnapshot
properties:
piCloudInstanceId: <value of the cloud_instance_id>
piDescription: Testing snapshot for instance
piInstanceName: ${["test-instance"]}
piSnapShotName: ${["test-snapshot"]}
piVolumeIds:
- volumeid1
- volumeid2
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 PiSnapshot Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PiSnapshot(name: string, args: PiSnapshotArgs, opts?: CustomResourceOptions);
@overload
def PiSnapshot(resource_name: str,
args: PiSnapshotArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PiSnapshot(resource_name: str,
opts: Optional[ResourceOptions] = None,
pi_cloud_instance_id: Optional[str] = None,
pi_instance_name: Optional[str] = None,
pi_snap_shot_name: Optional[str] = None,
pi_description: Optional[str] = None,
pi_snapshot_id: Optional[str] = None,
pi_user_tags: Optional[Sequence[str]] = None,
pi_volume_ids: Optional[Sequence[str]] = None,
timeouts: Optional[PiSnapshotTimeoutsArgs] = None)
func NewPiSnapshot(ctx *Context, name string, args PiSnapshotArgs, opts ...ResourceOption) (*PiSnapshot, error)
public PiSnapshot(string name, PiSnapshotArgs args, CustomResourceOptions? opts = null)
public PiSnapshot(String name, PiSnapshotArgs args)
public PiSnapshot(String name, PiSnapshotArgs args, CustomResourceOptions options)
type: ibm:PiSnapshot
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 PiSnapshotArgs
- 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 PiSnapshotArgs
- 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 PiSnapshotArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PiSnapshotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PiSnapshotArgs
- 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 piSnapshotResource = new Ibm.PiSnapshot("piSnapshotResource", new()
{
PiCloudInstanceId = "string",
PiInstanceName = "string",
PiSnapShotName = "string",
PiDescription = "string",
PiSnapshotId = "string",
PiUserTags = new[]
{
"string",
},
PiVolumeIds = new[]
{
"string",
},
Timeouts = new Ibm.Inputs.PiSnapshotTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := ibm.NewPiSnapshot(ctx, "piSnapshotResource", &ibm.PiSnapshotArgs{
PiCloudInstanceId: pulumi.String("string"),
PiInstanceName: pulumi.String("string"),
PiSnapShotName: pulumi.String("string"),
PiDescription: pulumi.String("string"),
PiSnapshotId: pulumi.String("string"),
PiUserTags: pulumi.StringArray{
pulumi.String("string"),
},
PiVolumeIds: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &ibm.PiSnapshotTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var piSnapshotResource = new PiSnapshot("piSnapshotResource", PiSnapshotArgs.builder()
.piCloudInstanceId("string")
.piInstanceName("string")
.piSnapShotName("string")
.piDescription("string")
.piSnapshotId("string")
.piUserTags("string")
.piVolumeIds("string")
.timeouts(PiSnapshotTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
pi_snapshot_resource = ibm.PiSnapshot("piSnapshotResource",
pi_cloud_instance_id="string",
pi_instance_name="string",
pi_snap_shot_name="string",
pi_description="string",
pi_snapshot_id="string",
pi_user_tags=["string"],
pi_volume_ids=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const piSnapshotResource = new ibm.PiSnapshot("piSnapshotResource", {
piCloudInstanceId: "string",
piInstanceName: "string",
piSnapShotName: "string",
piDescription: "string",
piSnapshotId: "string",
piUserTags: ["string"],
piVolumeIds: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: ibm:PiSnapshot
properties:
piCloudInstanceId: string
piDescription: string
piInstanceName: string
piSnapShotName: string
piSnapshotId: string
piUserTags:
- string
piVolumeIds:
- string
timeouts:
create: string
delete: string
update: string
PiSnapshot 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 PiSnapshot resource accepts the following input properties:
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Instance stringName - The name of the instance you want to take a snapshot of.
- Pi
Snap stringShot Name - The unique name of the snapshot.
- Pi
Description string - Description of the PVM instance snapshot.
- Pi
Snapshot stringId - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- List<string>
- The user tags attached to this resource.
- Pi
Volume List<string>Ids - A list of volume IDs of the instance that will be part of the snapshot. If none are provided, then all the volumes of the instance will be part of the snapshot.
- Timeouts
Pi
Snapshot Timeouts
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Instance stringName - The name of the instance you want to take a snapshot of.
- Pi
Snap stringShot Name - The unique name of the snapshot.
- Pi
Description string - Description of the PVM instance snapshot.
- Pi
Snapshot stringId - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- []string
- The user tags attached to this resource.
- Pi
Volume []stringIds - A list of volume IDs of the instance that will be part of the snapshot. If none are provided, then all the volumes of the instance will be part of the snapshot.
- Timeouts
Pi
Snapshot Timeouts Args
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Instance StringName - The name of the instance you want to take a snapshot of.
- pi
Snap StringShot Name - The unique name of the snapshot.
- pi
Description String - Description of the PVM instance snapshot.
- pi
Snapshot StringId - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- List<String>
- The user tags attached to this resource.
- pi
Volume List<String>Ids - A list of volume IDs of the instance that will be part of the snapshot. If none are provided, then all the volumes of the instance will be part of the snapshot.
- timeouts
Pi
Snapshot Timeouts
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Instance stringName - The name of the instance you want to take a snapshot of.
- pi
Snap stringShot Name - The unique name of the snapshot.
- pi
Description string - Description of the PVM instance snapshot.
- pi
Snapshot stringId - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- string[]
- The user tags attached to this resource.
- pi
Volume string[]Ids - A list of volume IDs of the instance that will be part of the snapshot. If none are provided, then all the volumes of the instance will be part of the snapshot.
- timeouts
Pi
Snapshot Timeouts
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
instance_ strname - The name of the instance you want to take a snapshot of.
- pi_
snap_ strshot_ name - The unique name of the snapshot.
- pi_
description str - Description of the PVM instance snapshot.
- pi_
snapshot_ strid - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- Sequence[str]
- The user tags attached to this resource.
- pi_
volume_ Sequence[str]ids - A list of volume IDs of the instance that will be part of the snapshot. If none are provided, then all the volumes of the instance will be part of the snapshot.
- timeouts
Pi
Snapshot Timeouts Args
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Instance StringName - The name of the instance you want to take a snapshot of.
- pi
Snap StringShot Name - The unique name of the snapshot.
- pi
Description String - Description of the PVM instance snapshot.
- pi
Snapshot StringId - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- List<String>
- The user tags attached to this resource.
- pi
Volume List<String>Ids - A list of volume IDs of the instance that will be part of the snapshot. If none are provided, then all the volumes of the instance will be part of the snapshot.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the PiSnapshot resource produces the following output properties:
- Creation
Date string - (String) Creation date of the snapshot.
- Crn string
- (String) The CRN of this resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update stringDate - (String) The last updated date of the snapshot.
- Snapshot
Id string - (String) ID of the PVM instance snapshot.
- Status string
- (String) Status of the PVM instance snapshot.
- Volume
Snapshots Dictionary<string, string> - (String) A map of volume snapshots included in the PVM instance snapshot.
- Creation
Date string - (String) Creation date of the snapshot.
- Crn string
- (String) The CRN of this resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update stringDate - (String) The last updated date of the snapshot.
- Snapshot
Id string - (String) ID of the PVM instance snapshot.
- Status string
- (String) Status of the PVM instance snapshot.
- Volume
Snapshots map[string]string - (String) A map of volume snapshots included in the PVM instance snapshot.
- creation
Date String - (String) Creation date of the snapshot.
- crn String
- (String) The CRN of this resource.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update StringDate - (String) The last updated date of the snapshot.
- snapshot
Id String - (String) ID of the PVM instance snapshot.
- status String
- (String) Status of the PVM instance snapshot.
- volume
Snapshots Map<String,String> - (String) A map of volume snapshots included in the PVM instance snapshot.
- creation
Date string - (String) Creation date of the snapshot.
- crn string
- (String) The CRN of this resource.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Update stringDate - (String) The last updated date of the snapshot.
- snapshot
Id string - (String) ID of the PVM instance snapshot.
- status string
- (String) Status of the PVM instance snapshot.
- volume
Snapshots {[key: string]: string} - (String) A map of volume snapshots included in the PVM instance snapshot.
- creation_
date str - (String) Creation date of the snapshot.
- crn str
- (String) The CRN of this resource.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
update_ strdate - (String) The last updated date of the snapshot.
- snapshot_
id str - (String) ID of the PVM instance snapshot.
- status str
- (String) Status of the PVM instance snapshot.
- volume_
snapshots Mapping[str, str] - (String) A map of volume snapshots included in the PVM instance snapshot.
- creation
Date String - (String) Creation date of the snapshot.
- crn String
- (String) The CRN of this resource.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update StringDate - (String) The last updated date of the snapshot.
- snapshot
Id String - (String) ID of the PVM instance snapshot.
- status String
- (String) Status of the PVM instance snapshot.
- volume
Snapshots Map<String> - (String) A map of volume snapshots included in the PVM instance snapshot.
Look up Existing PiSnapshot Resource
Get an existing PiSnapshot 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?: PiSnapshotState, opts?: CustomResourceOptions): PiSnapshot
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
creation_date: Optional[str] = None,
crn: Optional[str] = None,
last_update_date: Optional[str] = None,
pi_cloud_instance_id: Optional[str] = None,
pi_description: Optional[str] = None,
pi_instance_name: Optional[str] = None,
pi_snap_shot_name: Optional[str] = None,
pi_snapshot_id: Optional[str] = None,
pi_user_tags: Optional[Sequence[str]] = None,
pi_volume_ids: Optional[Sequence[str]] = None,
snapshot_id: Optional[str] = None,
status: Optional[str] = None,
timeouts: Optional[PiSnapshotTimeoutsArgs] = None,
volume_snapshots: Optional[Mapping[str, str]] = None) -> PiSnapshot
func GetPiSnapshot(ctx *Context, name string, id IDInput, state *PiSnapshotState, opts ...ResourceOption) (*PiSnapshot, error)
public static PiSnapshot Get(string name, Input<string> id, PiSnapshotState? state, CustomResourceOptions? opts = null)
public static PiSnapshot get(String name, Output<String> id, PiSnapshotState state, CustomResourceOptions options)
resources: _: type: ibm:PiSnapshot 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.
- Creation
Date string - (String) Creation date of the snapshot.
- Crn string
- (String) The CRN of this resource.
- Last
Update stringDate - (String) The last updated date of the snapshot.
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Description string - Description of the PVM instance snapshot.
- Pi
Instance stringName - The name of the instance you want to take a snapshot of.
- Pi
Snap stringShot Name - The unique name of the snapshot.
- Pi
Snapshot stringId - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- List<string>
- The user tags attached to this resource.
- Pi
Volume List<string>Ids - A list of volume IDs of the instance that will be part of the snapshot. If none are provided, then all the volumes of the instance will be part of the snapshot.
- Snapshot
Id string - (String) ID of the PVM instance snapshot.
- Status string
- (String) Status of the PVM instance snapshot.
- Timeouts
Pi
Snapshot Timeouts - Volume
Snapshots Dictionary<string, string> - (String) A map of volume snapshots included in the PVM instance snapshot.
- Creation
Date string - (String) Creation date of the snapshot.
- Crn string
- (String) The CRN of this resource.
- Last
Update stringDate - (String) The last updated date of the snapshot.
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Description string - Description of the PVM instance snapshot.
- Pi
Instance stringName - The name of the instance you want to take a snapshot of.
- Pi
Snap stringShot Name - The unique name of the snapshot.
- Pi
Snapshot stringId - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- []string
- The user tags attached to this resource.
- Pi
Volume []stringIds - A list of volume IDs of the instance that will be part of the snapshot. If none are provided, then all the volumes of the instance will be part of the snapshot.
- Snapshot
Id string - (String) ID of the PVM instance snapshot.
- Status string
- (String) Status of the PVM instance snapshot.
- Timeouts
Pi
Snapshot Timeouts Args - Volume
Snapshots map[string]string - (String) A map of volume snapshots included in the PVM instance snapshot.
- creation
Date String - (String) Creation date of the snapshot.
- crn String
- (String) The CRN of this resource.
- last
Update StringDate - (String) The last updated date of the snapshot.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Description String - Description of the PVM instance snapshot.
- pi
Instance StringName - The name of the instance you want to take a snapshot of.
- pi
Snap StringShot Name - The unique name of the snapshot.
- pi
Snapshot StringId - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- List<String>
- The user tags attached to this resource.
- pi
Volume List<String>Ids - A list of volume IDs of the instance that will be part of the snapshot. If none are provided, then all the volumes of the instance will be part of the snapshot.
- snapshot
Id String - (String) ID of the PVM instance snapshot.
- status String
- (String) Status of the PVM instance snapshot.
- timeouts
Pi
Snapshot Timeouts - volume
Snapshots Map<String,String> - (String) A map of volume snapshots included in the PVM instance snapshot.
- creation
Date string - (String) Creation date of the snapshot.
- crn string
- (String) The CRN of this resource.
- last
Update stringDate - (String) The last updated date of the snapshot.
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Description string - Description of the PVM instance snapshot.
- pi
Instance stringName - The name of the instance you want to take a snapshot of.
- pi
Snap stringShot Name - The unique name of the snapshot.
- pi
Snapshot stringId - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- string[]
- The user tags attached to this resource.
- pi
Volume string[]Ids - A list of volume IDs of the instance that will be part of the snapshot. If none are provided, then all the volumes of the instance will be part of the snapshot.
- snapshot
Id string - (String) ID of the PVM instance snapshot.
- status string
- (String) Status of the PVM instance snapshot.
- timeouts
Pi
Snapshot Timeouts - volume
Snapshots {[key: string]: string} - (String) A map of volume snapshots included in the PVM instance snapshot.
- creation_
date str - (String) Creation date of the snapshot.
- crn str
- (String) The CRN of this resource.
- last_
update_ strdate - (String) The last updated date of the snapshot.
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
description str - Description of the PVM instance snapshot.
- pi_
instance_ strname - The name of the instance you want to take a snapshot of.
- pi_
snap_ strshot_ name - The unique name of the snapshot.
- pi_
snapshot_ strid - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- Sequence[str]
- The user tags attached to this resource.
- pi_
volume_ Sequence[str]ids - A list of volume IDs of the instance that will be part of the snapshot. If none are provided, then all the volumes of the instance will be part of the snapshot.
- snapshot_
id str - (String) ID of the PVM instance snapshot.
- status str
- (String) Status of the PVM instance snapshot.
- timeouts
Pi
Snapshot Timeouts Args - volume_
snapshots Mapping[str, str] - (String) A map of volume snapshots included in the PVM instance snapshot.
- creation
Date String - (String) Creation date of the snapshot.
- crn String
- (String) The CRN of this resource.
- last
Update StringDate - (String) The last updated date of the snapshot.
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Description String - Description of the PVM instance snapshot.
- pi
Instance StringName - The name of the instance you want to take a snapshot of.
- pi
Snap StringShot Name - The unique name of the snapshot.
- pi
Snapshot StringId - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- List<String>
- The user tags attached to this resource.
- pi
Volume List<String>Ids - A list of volume IDs of the instance that will be part of the snapshot. If none are provided, then all the volumes of the instance will be part of the snapshot.
- snapshot
Id String - (String) ID of the PVM instance snapshot.
- status String
- (String) Status of the PVM instance snapshot.
- timeouts Property Map
- volume
Snapshots Map<String> - (String) A map of volume snapshots included in the PVM instance snapshot.
Supporting Types
PiSnapshotTimeouts, PiSnapshotTimeoutsArgs
Import
Example
bash
$ pulumi import ibm:index/piSnapshot:PiSnapshot 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.