ibm.IsSnapshotConsistencyGroup
Explore with Pulumi AI
Create, update, and delete SnapshotConsistencyGroups with this resource. For more information, about snapshot consistency group, see creating snapshot consistency group.
Note
VPC infrastructure services are a regional specific based endpoint, by default targets to us-south
. Please make sure to target right region in the provider block as shown in the provider.tf
file, if VPC service is created in region other than us-south
.
provider.tf
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) {
}
}
{}
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const isSnapshotConsistencyGroup = new ibm.IsSnapshotConsistencyGroup("isSnapshotConsistencyGroup", {
deleteSnapshotsOnDelete: true,
snapshots: [{
name: "example-snapshot",
sourceVolume: ibm_is_instance.testacc_instance.volume_attachments[0].volume_id,
}],
});
import pulumi
import pulumi_ibm as ibm
is_snapshot_consistency_group = ibm.IsSnapshotConsistencyGroup("isSnapshotConsistencyGroup",
delete_snapshots_on_delete=True,
snapshots=[{
"name": "example-snapshot",
"source_volume": ibm_is_instance["testacc_instance"]["volume_attachments"][0]["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.NewIsSnapshotConsistencyGroup(ctx, "isSnapshotConsistencyGroup", &ibm.IsSnapshotConsistencyGroupArgs{
DeleteSnapshotsOnDelete: pulumi.Bool(true),
Snapshots: ibm.IsSnapshotConsistencyGroupSnapshotArray{
&ibm.IsSnapshotConsistencyGroupSnapshotArgs{
Name: pulumi.String("example-snapshot"),
SourceVolume: pulumi.Any(ibm_is_instance.Testacc_instance.Volume_attachments[0].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 isSnapshotConsistencyGroup = new Ibm.IsSnapshotConsistencyGroup("isSnapshotConsistencyGroup", new()
{
DeleteSnapshotsOnDelete = true,
Snapshots = new[]
{
new Ibm.Inputs.IsSnapshotConsistencyGroupSnapshotArgs
{
Name = "example-snapshot",
SourceVolume = ibm_is_instance.Testacc_instance.Volume_attachments[0].Volume_id,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsSnapshotConsistencyGroup;
import com.pulumi.ibm.IsSnapshotConsistencyGroupArgs;
import com.pulumi.ibm.inputs.IsSnapshotConsistencyGroupSnapshotArgs;
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 isSnapshotConsistencyGroup = new IsSnapshotConsistencyGroup("isSnapshotConsistencyGroup", IsSnapshotConsistencyGroupArgs.builder()
.deleteSnapshotsOnDelete(true)
.snapshots(IsSnapshotConsistencyGroupSnapshotArgs.builder()
.name("example-snapshot")
.sourceVolume(ibm_is_instance.testacc_instance().volume_attachments()[0].volume_id())
.build())
.build());
}
}
resources:
isSnapshotConsistencyGroup:
type: ibm:IsSnapshotConsistencyGroup
properties:
deleteSnapshotsOnDelete: true
snapshots:
- name: example-snapshot
sourceVolume: ${ibm_is_instance.testacc_instance.volume_attachments[0].volume_id}
Create IsSnapshotConsistencyGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IsSnapshotConsistencyGroup(name: string, args: IsSnapshotConsistencyGroupArgs, opts?: CustomResourceOptions);
@overload
def IsSnapshotConsistencyGroup(resource_name: str,
args: IsSnapshotConsistencyGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IsSnapshotConsistencyGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
snapshots: Optional[Sequence[IsSnapshotConsistencyGroupSnapshotArgs]] = None,
access_tags: Optional[Sequence[str]] = None,
delete_snapshots_on_delete: Optional[bool] = None,
is_snapshot_consistency_group_id: Optional[str] = None,
name: Optional[str] = None,
resource_group: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
func NewIsSnapshotConsistencyGroup(ctx *Context, name string, args IsSnapshotConsistencyGroupArgs, opts ...ResourceOption) (*IsSnapshotConsistencyGroup, error)
public IsSnapshotConsistencyGroup(string name, IsSnapshotConsistencyGroupArgs args, CustomResourceOptions? opts = null)
public IsSnapshotConsistencyGroup(String name, IsSnapshotConsistencyGroupArgs args)
public IsSnapshotConsistencyGroup(String name, IsSnapshotConsistencyGroupArgs args, CustomResourceOptions options)
type: ibm:IsSnapshotConsistencyGroup
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 IsSnapshotConsistencyGroupArgs
- 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 IsSnapshotConsistencyGroupArgs
- 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 IsSnapshotConsistencyGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsSnapshotConsistencyGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IsSnapshotConsistencyGroupArgs
- 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 isSnapshotConsistencyGroupResource = new Ibm.IsSnapshotConsistencyGroup("isSnapshotConsistencyGroupResource", new()
{
Snapshots = new[]
{
new Ibm.Inputs.IsSnapshotConsistencyGroupSnapshotArgs
{
SourceVolume = "string",
Name = "string",
Tags = new[]
{
"string",
},
},
},
AccessTags = new[]
{
"string",
},
DeleteSnapshotsOnDelete = false,
IsSnapshotConsistencyGroupId = "string",
Name = "string",
ResourceGroup = "string",
Tags = new[]
{
"string",
},
});
example, err := ibm.NewIsSnapshotConsistencyGroup(ctx, "isSnapshotConsistencyGroupResource", &ibm.IsSnapshotConsistencyGroupArgs{
Snapshots: ibm.IsSnapshotConsistencyGroupSnapshotArray{
&ibm.IsSnapshotConsistencyGroupSnapshotArgs{
SourceVolume: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
},
},
AccessTags: pulumi.StringArray{
pulumi.String("string"),
},
DeleteSnapshotsOnDelete: pulumi.Bool(false),
IsSnapshotConsistencyGroupId: pulumi.String("string"),
Name: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var isSnapshotConsistencyGroupResource = new IsSnapshotConsistencyGroup("isSnapshotConsistencyGroupResource", IsSnapshotConsistencyGroupArgs.builder()
.snapshots(IsSnapshotConsistencyGroupSnapshotArgs.builder()
.sourceVolume("string")
.name("string")
.tags("string")
.build())
.accessTags("string")
.deleteSnapshotsOnDelete(false)
.isSnapshotConsistencyGroupId("string")
.name("string")
.resourceGroup("string")
.tags("string")
.build());
is_snapshot_consistency_group_resource = ibm.IsSnapshotConsistencyGroup("isSnapshotConsistencyGroupResource",
snapshots=[{
"source_volume": "string",
"name": "string",
"tags": ["string"],
}],
access_tags=["string"],
delete_snapshots_on_delete=False,
is_snapshot_consistency_group_id="string",
name="string",
resource_group="string",
tags=["string"])
const isSnapshotConsistencyGroupResource = new ibm.IsSnapshotConsistencyGroup("isSnapshotConsistencyGroupResource", {
snapshots: [{
sourceVolume: "string",
name: "string",
tags: ["string"],
}],
accessTags: ["string"],
deleteSnapshotsOnDelete: false,
isSnapshotConsistencyGroupId: "string",
name: "string",
resourceGroup: "string",
tags: ["string"],
});
type: ibm:IsSnapshotConsistencyGroup
properties:
accessTags:
- string
deleteSnapshotsOnDelete: false
isSnapshotConsistencyGroupId: string
name: string
resourceGroup: string
snapshots:
- name: string
sourceVolume: string
tags:
- string
tags:
- string
IsSnapshotConsistencyGroup 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 IsSnapshotConsistencyGroup resource accepts the following input properties:
- Snapshots
List<Is
Snapshot Consistency Group Snapshot> The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
Nested schema for
snapshots
:- List<string>
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- Delete
Snapshots boolOn Delete - Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
- Is
Snapshot stringConsistency Group Id - (String) The unique identifier for the source snapshot.
- Name string
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- Resource
Group string - The resource group ID where the snapshot consistency group is to be created.
- List<string>
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
- Snapshots
[]Is
Snapshot Consistency Group Snapshot Args The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
Nested schema for
snapshots
:- []string
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- Delete
Snapshots boolOn Delete - Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
- Is
Snapshot stringConsistency Group Id - (String) The unique identifier for the source snapshot.
- Name string
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- Resource
Group string - The resource group ID where the snapshot consistency group is to be created.
- []string
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
- snapshots
List<Is
Snapshot Consistency Group Snapshot> The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
Nested schema for
snapshots
:- List<String>
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- delete
Snapshots BooleanOn Delete - Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
- is
Snapshot StringConsistency Group Id - (String) The unique identifier for the source snapshot.
- name String
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- resource
Group String - The resource group ID where the snapshot consistency group is to be created.
- List<String>
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
- snapshots
Is
Snapshot Consistency Group Snapshot[] The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
Nested schema for
snapshots
:- string[]
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- delete
Snapshots booleanOn Delete - Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
- is
Snapshot stringConsistency Group Id - (String) The unique identifier for the source snapshot.
- name string
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- resource
Group string - The resource group ID where the snapshot consistency group is to be created.
- string[]
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
- snapshots
Sequence[Is
Snapshot Consistency Group Snapshot Args] The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
Nested schema for
snapshots
:- Sequence[str]
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- delete_
snapshots_ boolon_ delete - Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
- is_
snapshot_ strconsistency_ group_ id - (String) The unique identifier for the source snapshot.
- name str
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- resource_
group str - The resource group ID where the snapshot consistency group is to be created.
- Sequence[str]
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
- snapshots List<Property Map>
The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
Nested schema for
snapshots
:- List<String>
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- delete
Snapshots BooleanOn Delete - Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
- is
Snapshot StringConsistency Group Id - (String) The unique identifier for the source snapshot.
- name String
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- resource
Group String - The resource group ID where the snapshot consistency group is to be created.
- List<String>
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
Outputs
All input properties are implicitly available as output properties. Additionally, the IsSnapshotConsistencyGroup resource produces the following output properties:
- Backup
Policy List<IsPlans Snapshot Consistency Group Backup Policy Plan> - (List) If present, the backup policy plan which created this snapshot consistency group.
- Created
At string - (String) The date and time that this snapshot consistency group was created.
- Crn string
- (String) The CRN of the source snapshot.
- Href string
- (String) The URL for this region.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - (String) The lifecycle state of this snapshot consistency group.
- Resource
Type string - (String) The resource type.
- List<string>
- (List) The service tags
is.instance:
prefix associated with this snapshot consistency group. - Snapshot
References List<IsSnapshot Consistency Group Snapshot Reference> - The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
- Backup
Policy []IsPlans Snapshot Consistency Group Backup Policy Plan - (List) If present, the backup policy plan which created this snapshot consistency group.
- Created
At string - (String) The date and time that this snapshot consistency group was created.
- Crn string
- (String) The CRN of the source snapshot.
- Href string
- (String) The URL for this region.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
State string - (String) The lifecycle state of this snapshot consistency group.
- Resource
Type string - (String) The resource type.
- []string
- (List) The service tags
is.instance:
prefix associated with this snapshot consistency group. - Snapshot
References []IsSnapshot Consistency Group Snapshot Reference - The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
- backup
Policy List<IsPlans Snapshot Consistency Group Backup Policy Plan> - (List) If present, the backup policy plan which created this snapshot consistency group.
- created
At String - (String) The date and time that this snapshot consistency group was created.
- crn String
- (String) The CRN of the source snapshot.
- href String
- (String) The URL for this region.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - (String) The lifecycle state of this snapshot consistency group.
- resource
Type String - (String) The resource type.
- List<String>
- (List) The service tags
is.instance:
prefix associated with this snapshot consistency group. - snapshot
References List<IsSnapshot Consistency Group Snapshot Reference> - The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
- backup
Policy IsPlans Snapshot Consistency Group Backup Policy Plan[] - (List) If present, the backup policy plan which created this snapshot consistency group.
- created
At string - (String) The date and time that this snapshot consistency group was created.
- crn string
- (String) The CRN of the source snapshot.
- href string
- (String) The URL for this region.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
State string - (String) The lifecycle state of this snapshot consistency group.
- resource
Type string - (String) The resource type.
- string[]
- (List) The service tags
is.instance:
prefix associated with this snapshot consistency group. - snapshot
References IsSnapshot Consistency Group Snapshot Reference[] - The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
- backup_
policy_ Sequence[Isplans Snapshot Consistency Group Backup Policy Plan] - (List) If present, the backup policy plan which created this snapshot consistency group.
- created_
at str - (String) The date and time that this snapshot consistency group was created.
- crn str
- (String) The CRN of the source snapshot.
- href str
- (String) The URL for this region.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
state str - (String) The lifecycle state of this snapshot consistency group.
- resource_
type str - (String) The resource type.
- Sequence[str]
- (List) The service tags
is.instance:
prefix associated with this snapshot consistency group. - snapshot_
references Sequence[IsSnapshot Consistency Group Snapshot Reference] - The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
- backup
Policy List<Property Map>Plans - (List) If present, the backup policy plan which created this snapshot consistency group.
- created
At String - (String) The date and time that this snapshot consistency group was created.
- crn String
- (String) The CRN of the source snapshot.
- href String
- (String) The URL for this region.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
State String - (String) The lifecycle state of this snapshot consistency group.
- resource
Type String - (String) The resource type.
- List<String>
- (List) The service tags
is.instance:
prefix associated with this snapshot consistency group. - snapshot
References List<Property Map> - The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
Look up Existing IsSnapshotConsistencyGroup Resource
Get an existing IsSnapshotConsistencyGroup 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?: IsSnapshotConsistencyGroupState, opts?: CustomResourceOptions): IsSnapshotConsistencyGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_tags: Optional[Sequence[str]] = None,
backup_policy_plans: Optional[Sequence[IsSnapshotConsistencyGroupBackupPolicyPlanArgs]] = None,
created_at: Optional[str] = None,
crn: Optional[str] = None,
delete_snapshots_on_delete: Optional[bool] = None,
href: Optional[str] = None,
is_snapshot_consistency_group_id: Optional[str] = None,
lifecycle_state: Optional[str] = None,
name: Optional[str] = None,
resource_group: Optional[str] = None,
resource_type: Optional[str] = None,
service_tags: Optional[Sequence[str]] = None,
snapshot_references: Optional[Sequence[IsSnapshotConsistencyGroupSnapshotReferenceArgs]] = None,
snapshots: Optional[Sequence[IsSnapshotConsistencyGroupSnapshotArgs]] = None,
tags: Optional[Sequence[str]] = None) -> IsSnapshotConsistencyGroup
func GetIsSnapshotConsistencyGroup(ctx *Context, name string, id IDInput, state *IsSnapshotConsistencyGroupState, opts ...ResourceOption) (*IsSnapshotConsistencyGroup, error)
public static IsSnapshotConsistencyGroup Get(string name, Input<string> id, IsSnapshotConsistencyGroupState? state, CustomResourceOptions? opts = null)
public static IsSnapshotConsistencyGroup get(String name, Output<String> id, IsSnapshotConsistencyGroupState state, CustomResourceOptions options)
resources: _: type: ibm:IsSnapshotConsistencyGroup 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.
- List<string>
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- Backup
Policy List<IsPlans Snapshot Consistency Group Backup Policy Plan> - (List) If present, the backup policy plan which created this snapshot consistency group.
- Created
At string - (String) The date and time that this snapshot consistency group was created.
- Crn string
- (String) The CRN of the source snapshot.
- Delete
Snapshots boolOn Delete - Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
- Href string
- (String) The URL for this region.
- Is
Snapshot stringConsistency Group Id - (String) The unique identifier for the source snapshot.
- Lifecycle
State string - (String) The lifecycle state of this snapshot consistency group.
- Name string
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- Resource
Group string - The resource group ID where the snapshot consistency group is to be created.
- Resource
Type string - (String) The resource type.
- List<string>
- (List) The service tags
is.instance:
prefix associated with this snapshot consistency group. - Snapshot
References List<IsSnapshot Consistency Group Snapshot Reference> - The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
- Snapshots
List<Is
Snapshot Consistency Group Snapshot> The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
Nested schema for
snapshots
:- List<string>
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
- []string
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- Backup
Policy []IsPlans Snapshot Consistency Group Backup Policy Plan Args - (List) If present, the backup policy plan which created this snapshot consistency group.
- Created
At string - (String) The date and time that this snapshot consistency group was created.
- Crn string
- (String) The CRN of the source snapshot.
- Delete
Snapshots boolOn Delete - Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
- Href string
- (String) The URL for this region.
- Is
Snapshot stringConsistency Group Id - (String) The unique identifier for the source snapshot.
- Lifecycle
State string - (String) The lifecycle state of this snapshot consistency group.
- Name string
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- Resource
Group string - The resource group ID where the snapshot consistency group is to be created.
- Resource
Type string - (String) The resource type.
- []string
- (List) The service tags
is.instance:
prefix associated with this snapshot consistency group. - Snapshot
References []IsSnapshot Consistency Group Snapshot Reference Args - The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
- Snapshots
[]Is
Snapshot Consistency Group Snapshot Args The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
Nested schema for
snapshots
:- []string
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
- List<String>
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- backup
Policy List<IsPlans Snapshot Consistency Group Backup Policy Plan> - (List) If present, the backup policy plan which created this snapshot consistency group.
- created
At String - (String) The date and time that this snapshot consistency group was created.
- crn String
- (String) The CRN of the source snapshot.
- delete
Snapshots BooleanOn Delete - Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
- href String
- (String) The URL for this region.
- is
Snapshot StringConsistency Group Id - (String) The unique identifier for the source snapshot.
- lifecycle
State String - (String) The lifecycle state of this snapshot consistency group.
- name String
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- resource
Group String - The resource group ID where the snapshot consistency group is to be created.
- resource
Type String - (String) The resource type.
- List<String>
- (List) The service tags
is.instance:
prefix associated with this snapshot consistency group. - snapshot
References List<IsSnapshot Consistency Group Snapshot Reference> - The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
- snapshots
List<Is
Snapshot Consistency Group Snapshot> The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
Nested schema for
snapshots
:- List<String>
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
- string[]
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- backup
Policy IsPlans Snapshot Consistency Group Backup Policy Plan[] - (List) If present, the backup policy plan which created this snapshot consistency group.
- created
At string - (String) The date and time that this snapshot consistency group was created.
- crn string
- (String) The CRN of the source snapshot.
- delete
Snapshots booleanOn Delete - Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
- href string
- (String) The URL for this region.
- is
Snapshot stringConsistency Group Id - (String) The unique identifier for the source snapshot.
- lifecycle
State string - (String) The lifecycle state of this snapshot consistency group.
- name string
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- resource
Group string - The resource group ID where the snapshot consistency group is to be created.
- resource
Type string - (String) The resource type.
- string[]
- (List) The service tags
is.instance:
prefix associated with this snapshot consistency group. - snapshot
References IsSnapshot Consistency Group Snapshot Reference[] - The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
- snapshots
Is
Snapshot Consistency Group Snapshot[] The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
Nested schema for
snapshots
:- string[]
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
- Sequence[str]
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- backup_
policy_ Sequence[Isplans Snapshot Consistency Group Backup Policy Plan Args] - (List) If present, the backup policy plan which created this snapshot consistency group.
- created_
at str - (String) The date and time that this snapshot consistency group was created.
- crn str
- (String) The CRN of the source snapshot.
- delete_
snapshots_ boolon_ delete - Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
- href str
- (String) The URL for this region.
- is_
snapshot_ strconsistency_ group_ id - (String) The unique identifier for the source snapshot.
- lifecycle_
state str - (String) The lifecycle state of this snapshot consistency group.
- name str
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- resource_
group str - The resource group ID where the snapshot consistency group is to be created.
- resource_
type str - (String) The resource type.
- Sequence[str]
- (List) The service tags
is.instance:
prefix associated with this snapshot consistency group. - snapshot_
references Sequence[IsSnapshot Consistency Group Snapshot Reference Args] - The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
- snapshots
Sequence[Is
Snapshot Consistency Group Snapshot Args] The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
Nested schema for
snapshots
:- Sequence[str]
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
- List<String>
A list of access management tags to attach to the bare metal server.
Note: • You can attach only those access tags that already exists. • For more information, about creating access tags, see working with tags. • You must have the access listed in the Granting users access to tag resources for
access_tags
•access_tags
must be in the formatkey:value
.- backup
Policy List<Property Map>Plans - (List) If present, the backup policy plan which created this snapshot consistency group.
- created
At String - (String) The date and time that this snapshot consistency group was created.
- crn String
- (String) The CRN of the source snapshot.
- delete
Snapshots BooleanOn Delete - Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.
- href String
- (String) The URL for this region.
- is
Snapshot StringConsistency Group Id - (String) The unique identifier for the source snapshot.
- lifecycle
State String - (String) The lifecycle state of this snapshot consistency group.
- name String
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- resource
Group String - The resource group ID where the snapshot consistency group is to be created.
- resource
Type String - (String) The resource type.
- List<String>
- (List) The service tags
is.instance:
prefix associated with this snapshot consistency group. - snapshot
References List<Property Map> - The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
- snapshots List<Property Map>
The member snapshots that are data-consistent with respect to captured time. (may bedeleted).
Nested schema for
snapshots
:- List<String>
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
Supporting Types
IsSnapshotConsistencyGroupBackupPolicyPlan, IsSnapshotConsistencyGroupBackupPolicyPlanArgs
- Deleteds
List<Is
Snapshot Consistency Group Backup Policy Plan Deleted> - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- Href string
- (String) The URL for this region.
- Id string
- (String) The unique identifier for the source snapshot.
- Name string
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- Remotes
List<Is
Snapshot Consistency Group Backup Policy Plan Remote> - (List) If present, this property indicates the referenced resource is remote to this region,and identifies the native region
- Resource
Type string - (String) The resource type.
- Deleteds
[]Is
Snapshot Consistency Group Backup Policy Plan Deleted - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- Href string
- (String) The URL for this region.
- Id string
- (String) The unique identifier for the source snapshot.
- Name string
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- Remotes
[]Is
Snapshot Consistency Group Backup Policy Plan Remote - (List) If present, this property indicates the referenced resource is remote to this region,and identifies the native region
- Resource
Type string - (String) The resource type.
- deleteds
List<Is
Snapshot Consistency Group Backup Policy Plan Deleted> - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- href String
- (String) The URL for this region.
- id String
- (String) The unique identifier for the source snapshot.
- name String
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- remotes
List<Is
Snapshot Consistency Group Backup Policy Plan Remote> - (List) If present, this property indicates the referenced resource is remote to this region,and identifies the native region
- resource
Type String - (String) The resource type.
- deleteds
Is
Snapshot Consistency Group Backup Policy Plan Deleted[] - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- href string
- (String) The URL for this region.
- id string
- (String) The unique identifier for the source snapshot.
- name string
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- remotes
Is
Snapshot Consistency Group Backup Policy Plan Remote[] - (List) If present, this property indicates the referenced resource is remote to this region,and identifies the native region
- resource
Type string - (String) The resource type.
- deleteds
Sequence[Is
Snapshot Consistency Group Backup Policy Plan Deleted] - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- href str
- (String) The URL for this region.
- id str
- (String) The unique identifier for the source snapshot.
- name str
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- remotes
Sequence[Is
Snapshot Consistency Group Backup Policy Plan Remote] - (List) If present, this property indicates the referenced resource is remote to this region,and identifies the native region
- resource_
type str - (String) The resource type.
- deleteds List<Property Map>
- (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- href String
- (String) The URL for this region.
- id String
- (String) The unique identifier for the source snapshot.
- name String
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- remotes List<Property Map>
- (List) If present, this property indicates the referenced resource is remote to this region,and identifies the native region
- resource
Type String - (String) The resource type.
IsSnapshotConsistencyGroupBackupPolicyPlanDeleted, IsSnapshotConsistencyGroupBackupPolicyPlanDeletedArgs
- More
Info string - (String) Link to documentation about deleted resources.
- More
Info string - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
- more
Info string - (String) Link to documentation about deleted resources.
- more_
info str - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
IsSnapshotConsistencyGroupBackupPolicyPlanRemote, IsSnapshotConsistencyGroupBackupPolicyPlanRemoteArgs
IsSnapshotConsistencyGroupSnapshot, IsSnapshotConsistencyGroupSnapshotArgs
- Source
Volume string - The unique identifier for the volume for which snapshot is to be created.
- Name string
- The name for this snapshot.
- List<string>
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
- Source
Volume string - The unique identifier for the volume for which snapshot is to be created.
- Name string
- The name for this snapshot.
- []string
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
- source
Volume String - The unique identifier for the volume for which snapshot is to be created.
- name String
- The name for this snapshot.
- List<String>
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
- source
Volume string - The unique identifier for the volume for which snapshot is to be created.
- name string
- The name for this snapshot.
- string[]
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
- source_
volume str - The unique identifier for the volume for which snapshot is to be created.
- name str
- The name for this snapshot.
- Sequence[str]
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
- source
Volume String - The unique identifier for the volume for which snapshot is to be created.
- name String
- The name for this snapshot.
- List<String>
- A list of user tags that you want to add to your snapshot. (https://cloud.ibm.com/apidocs/tagging#types-of-tags)
IsSnapshotConsistencyGroupSnapshotReference, IsSnapshotConsistencyGroupSnapshotReferenceArgs
- Crn string
- (String) The CRN of the source snapshot.
- Deleteds
List<Is
Snapshot Consistency Group Snapshot Reference Deleted> - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- Href string
- (String) The URL for this region.
- Id string
- (String) The unique identifier for the source snapshot.
- Name string
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- Remotes
List<Is
Snapshot Consistency Group Snapshot Reference Remote> - (List) If present, this property indicates the referenced resource is remote to this region,and identifies the native region
- Resource
Type string - (String) The resource type.
- Crn string
- (String) The CRN of the source snapshot.
- Deleteds
[]Is
Snapshot Consistency Group Snapshot Reference Deleted - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- Href string
- (String) The URL for this region.
- Id string
- (String) The unique identifier for the source snapshot.
- Name string
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- Remotes
[]Is
Snapshot Consistency Group Snapshot Reference Remote - (List) If present, this property indicates the referenced resource is remote to this region,and identifies the native region
- Resource
Type string - (String) The resource type.
- crn String
- (String) The CRN of the source snapshot.
- deleteds
List<Is
Snapshot Consistency Group Snapshot Reference Deleted> - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- href String
- (String) The URL for this region.
- id String
- (String) The unique identifier for the source snapshot.
- name String
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- remotes
List<Is
Snapshot Consistency Group Snapshot Reference Remote> - (List) If present, this property indicates the referenced resource is remote to this region,and identifies the native region
- resource
Type String - (String) The resource type.
- crn string
- (String) The CRN of the source snapshot.
- deleteds
Is
Snapshot Consistency Group Snapshot Reference Deleted[] - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- href string
- (String) The URL for this region.
- id string
- (String) The unique identifier for the source snapshot.
- name string
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- remotes
Is
Snapshot Consistency Group Snapshot Reference Remote[] - (List) If present, this property indicates the referenced resource is remote to this region,and identifies the native region
- resource
Type string - (String) The resource type.
- crn str
- (String) The CRN of the source snapshot.
- deleteds
Sequence[Is
Snapshot Consistency Group Snapshot Reference Deleted] - (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- href str
- (String) The URL for this region.
- id str
- (String) The unique identifier for the source snapshot.
- name str
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- remotes
Sequence[Is
Snapshot Consistency Group Snapshot Reference Remote] - (List) If present, this property indicates the referenced resource is remote to this region,and identifies the native region
- resource_
type str - (String) The resource type.
- crn String
- (String) The CRN of the source snapshot.
- deleteds List<Property Map>
- (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information.
- href String
- (String) The URL for this region.
- id String
- (String) The unique identifier for the source snapshot.
- name String
- The name for this snapshot consistency group. The name is unique across all snapshot consistency groups in the region.
- remotes List<Property Map>
- (List) If present, this property indicates the referenced resource is remote to this region,and identifies the native region
- resource
Type String - (String) The resource type.
IsSnapshotConsistencyGroupSnapshotReferenceDeleted, IsSnapshotConsistencyGroupSnapshotReferenceDeletedArgs
- More
Info string - (String) Link to documentation about deleted resources.
- More
Info string - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
- more
Info string - (String) Link to documentation about deleted resources.
- more_
info str - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
IsSnapshotConsistencyGroupSnapshotReferenceRemote, IsSnapshotConsistencyGroupSnapshotReferenceRemoteArgs
Import
You can import the ibm_is_snapshot_consistency_group
resource by using id
. The unique identifier for this snapshot consistency group.
Syntax
$ pulumi import ibm:index/isSnapshotConsistencyGroup:IsSnapshotConsistencyGroup is_snapshot_consistency_group <id>
Example
$ pulumi import ibm:index/isSnapshotConsistencyGroup:IsSnapshotConsistencyGroup is_snapshot_consistency_group r134-fa329f6b-0e36-433f-a3bb-0df632e79263
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.