ibm.PiInstanceSnapshot
Explore with Pulumi AI
Manages instance snapshots in the Power Virtual Server Cloud. For more information, about snapshots in the Power Virutal Server, see snapshots for PVM Instance.
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.PiInstanceSnapshot("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.PiInstanceSnapshot("testaccSnapshot",
pi_cloud_instance_id="<value of the cloud_instance_id>",
pi_description="Testing snapshot for instance",
pi_instance_name="test-instance",
pi_snapshot_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.NewPiInstanceSnapshot(ctx, "testaccSnapshot", &ibm.PiInstanceSnapshotArgs{
PiCloudInstanceId: pulumi.String("<value of the cloud_instance_id>"),
PiDescription: pulumi.String("Testing snapshot for instance"),
PiInstanceName: pulumi.String("test-instance"),
PiSnapshotName: pulumi.String("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.PiInstanceSnapshot("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.PiInstanceSnapshot;
import com.pulumi.ibm.PiInstanceSnapshotArgs;
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 PiInstanceSnapshot("testaccSnapshot", PiInstanceSnapshotArgs.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:PiInstanceSnapshot
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 PiInstanceSnapshot Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PiInstanceSnapshot(name: string, args: PiInstanceSnapshotArgs, opts?: CustomResourceOptions);
@overload
def PiInstanceSnapshot(resource_name: str,
args: PiInstanceSnapshotArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PiInstanceSnapshot(resource_name: str,
opts: Optional[ResourceOptions] = None,
pi_cloud_instance_id: Optional[str] = None,
pi_instance_name: Optional[str] = None,
pi_snapshot_name: Optional[str] = None,
pi_description: Optional[str] = None,
pi_instance_snapshot_id: Optional[str] = None,
pi_user_tags: Optional[Sequence[str]] = None,
pi_volume_ids: Optional[Sequence[str]] = None,
timeouts: Optional[PiInstanceSnapshotTimeoutsArgs] = None)
func NewPiInstanceSnapshot(ctx *Context, name string, args PiInstanceSnapshotArgs, opts ...ResourceOption) (*PiInstanceSnapshot, error)
public PiInstanceSnapshot(string name, PiInstanceSnapshotArgs args, CustomResourceOptions? opts = null)
public PiInstanceSnapshot(String name, PiInstanceSnapshotArgs args)
public PiInstanceSnapshot(String name, PiInstanceSnapshotArgs args, CustomResourceOptions options)
type: ibm:PiInstanceSnapshot
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 PiInstanceSnapshotArgs
- 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 PiInstanceSnapshotArgs
- 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 PiInstanceSnapshotArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PiInstanceSnapshotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PiInstanceSnapshotArgs
- 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 piInstanceSnapshotResource = new Ibm.PiInstanceSnapshot("piInstanceSnapshotResource", new()
{
PiCloudInstanceId = "string",
PiInstanceName = "string",
PiSnapshotName = "string",
PiDescription = "string",
PiInstanceSnapshotId = "string",
PiUserTags = new[]
{
"string",
},
PiVolumeIds = new[]
{
"string",
},
Timeouts = new Ibm.Inputs.PiInstanceSnapshotTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := ibm.NewPiInstanceSnapshot(ctx, "piInstanceSnapshotResource", &ibm.PiInstanceSnapshotArgs{
PiCloudInstanceId: pulumi.String("string"),
PiInstanceName: pulumi.String("string"),
PiSnapshotName: pulumi.String("string"),
PiDescription: pulumi.String("string"),
PiInstanceSnapshotId: pulumi.String("string"),
PiUserTags: pulumi.StringArray{
pulumi.String("string"),
},
PiVolumeIds: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &ibm.PiInstanceSnapshotTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var piInstanceSnapshotResource = new PiInstanceSnapshot("piInstanceSnapshotResource", PiInstanceSnapshotArgs.builder()
.piCloudInstanceId("string")
.piInstanceName("string")
.piSnapshotName("string")
.piDescription("string")
.piInstanceSnapshotId("string")
.piUserTags("string")
.piVolumeIds("string")
.timeouts(PiInstanceSnapshotTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
pi_instance_snapshot_resource = ibm.PiInstanceSnapshot("piInstanceSnapshotResource",
pi_cloud_instance_id="string",
pi_instance_name="string",
pi_snapshot_name="string",
pi_description="string",
pi_instance_snapshot_id="string",
pi_user_tags=["string"],
pi_volume_ids=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const piInstanceSnapshotResource = new ibm.PiInstanceSnapshot("piInstanceSnapshotResource", {
piCloudInstanceId: "string",
piInstanceName: "string",
piSnapshotName: "string",
piDescription: "string",
piInstanceSnapshotId: "string",
piUserTags: ["string"],
piVolumeIds: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: ibm:PiInstanceSnapshot
properties:
piCloudInstanceId: string
piDescription: string
piInstanceName: string
piInstanceSnapshotId: string
piSnapshotName: string
piUserTags:
- string
piVolumeIds:
- string
timeouts:
create: string
delete: string
update: string
PiInstanceSnapshot 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 PiInstanceSnapshot 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
Snapshot stringName - The unique name of the snapshot.
- Pi
Description string - Description of the PVM instance snapshot.
- Pi
Instance stringSnapshot Id - (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
Instance 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
Snapshot stringName - The unique name of the snapshot.
- Pi
Description string - Description of the PVM instance snapshot.
- Pi
Instance stringSnapshot Id - (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
Instance 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
Snapshot StringName - The unique name of the snapshot.
- pi
Description String - Description of the PVM instance snapshot.
- pi
Instance StringSnapshot Id - (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
Instance 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
Snapshot stringName - The unique name of the snapshot.
- pi
Description string - Description of the PVM instance snapshot.
- pi
Instance stringSnapshot Id - (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
Instance 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_
snapshot_ strname - The unique name of the snapshot.
- pi_
description str - Description of the PVM instance snapshot.
- pi_
instance_ strsnapshot_ id - (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
Instance 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
Snapshot StringName - The unique name of the snapshot.
- pi
Description String - Description of the PVM instance snapshot.
- pi
Instance StringSnapshot Id - (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 PiInstanceSnapshot 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> - (Map) 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 - (Map) 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> - (Map) 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} - (Map) 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] - (Map) 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> - (Map) A map of volume snapshots included in the PVM instance snapshot.
Look up Existing PiInstanceSnapshot Resource
Get an existing PiInstanceSnapshot 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?: PiInstanceSnapshotState, opts?: CustomResourceOptions): PiInstanceSnapshot
@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_instance_snapshot_id: Optional[str] = None,
pi_snapshot_name: 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[PiInstanceSnapshotTimeoutsArgs] = None,
volume_snapshots: Optional[Mapping[str, str]] = None) -> PiInstanceSnapshot
func GetPiInstanceSnapshot(ctx *Context, name string, id IDInput, state *PiInstanceSnapshotState, opts ...ResourceOption) (*PiInstanceSnapshot, error)
public static PiInstanceSnapshot Get(string name, Input<string> id, PiInstanceSnapshotState? state, CustomResourceOptions? opts = null)
public static PiInstanceSnapshot get(String name, Output<String> id, PiInstanceSnapshotState state, CustomResourceOptions options)
resources: _: type: ibm:PiInstanceSnapshot 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
Instance stringSnapshot Id - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- Pi
Snapshot stringName - The unique name of the snapshot.
- 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
Instance Snapshot Timeouts - Volume
Snapshots Dictionary<string, string> - (Map) 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
Instance stringSnapshot Id - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- Pi
Snapshot stringName - The unique name of the snapshot.
- []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
Instance Snapshot Timeouts Args - Volume
Snapshots map[string]string - (Map) 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
Instance StringSnapshot Id - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- pi
Snapshot StringName - The unique name of the snapshot.
- 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
Instance Snapshot Timeouts - volume
Snapshots Map<String,String> - (Map) 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
Instance stringSnapshot Id - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- pi
Snapshot stringName - The unique name of the snapshot.
- 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
Instance Snapshot Timeouts - volume
Snapshots {[key: string]: string} - (Map) 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_
instance_ strsnapshot_ id - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- pi_
snapshot_ strname - The unique name of the snapshot.
- 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
Instance Snapshot Timeouts Args - volume_
snapshots Mapping[str, str] - (Map) 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
Instance StringSnapshot Id - (String) The unique identifier of the snapshot. The ID is composed of <pi_cloud_instance_id>/<snapshot_id>.
- pi
Snapshot StringName - The unique name of the snapshot.
- 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> - (Map) A map of volume snapshots included in the PVM instance snapshot.
Supporting Types
PiInstanceSnapshotTimeouts, PiInstanceSnapshotTimeoutsArgs
Import
Example
bash
$ pulumi import ibm:index/piInstanceSnapshot:PiInstanceSnapshot 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.