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

ibm.IsBackupPolicyPlan

Explore with Pulumi AI

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

    Provides a resource for BackupPolicyPlan. This allows BackupPolicyPlan to be created, updated and deleted.For more information, about backup policy plan in your IBM Cloud VPC, see Backup policy plan.

    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 example = new ibm.IsBackupPolicyPlan("example", {
        backupPolicyId: ibm_is_backup_policy.example.id,
        cronSpec: "0 12 * * *",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    example = ibm.IsBackupPolicyPlan("example",
        backup_policy_id=ibm_is_backup_policy["example"]["id"],
        cron_spec="0 12 * * *")
    
    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.NewIsBackupPolicyPlan(ctx, "example", &ibm.IsBackupPolicyPlanArgs{
    			BackupPolicyId: pulumi.Any(ibm_is_backup_policy.Example.Id),
    			CronSpec:       pulumi.String("0 12 * * *"),
    		})
    		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 example = new Ibm.IsBackupPolicyPlan("example", new()
        {
            BackupPolicyId = ibm_is_backup_policy.Example.Id,
            CronSpec = "0 12 * * *",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IsBackupPolicyPlan;
    import com.pulumi.ibm.IsBackupPolicyPlanArgs;
    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 example = new IsBackupPolicyPlan("example", IsBackupPolicyPlanArgs.builder()
                .backupPolicyId(ibm_is_backup_policy.example().id())
                .cronSpec("0 12 * * *")
                .build());
    
        }
    }
    
    resources:
      example:
        type: ibm:IsBackupPolicyPlan
        properties:
          backupPolicyId: ${ibm_is_backup_policy.example.id}
          cronSpec: 0 12 * * *
    

    Clones)

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const example = new ibm.IsBackupPolicyPlan("example", {
        backupPolicyId: ibm_is_backup_policy.example.id,
        cronSpec: "0 12 * * *",
        clonePolicy: {
            zones: [
                "us-south-1",
                "us-south-2",
            ],
            maxSnapshots: 3,
        },
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    example = ibm.IsBackupPolicyPlan("example",
        backup_policy_id=ibm_is_backup_policy["example"]["id"],
        cron_spec="0 12 * * *",
        clone_policy={
            "zones": [
                "us-south-1",
                "us-south-2",
            ],
            "max_snapshots": 3,
        })
    
    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.NewIsBackupPolicyPlan(ctx, "example", &ibm.IsBackupPolicyPlanArgs{
    			BackupPolicyId: pulumi.Any(ibm_is_backup_policy.Example.Id),
    			CronSpec:       pulumi.String("0 12 * * *"),
    			ClonePolicy: &ibm.IsBackupPolicyPlanClonePolicyArgs{
    				Zones: pulumi.StringArray{
    					pulumi.String("us-south-1"),
    					pulumi.String("us-south-2"),
    				},
    				MaxSnapshots: pulumi.Float64(3),
    			},
    		})
    		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 example = new Ibm.IsBackupPolicyPlan("example", new()
        {
            BackupPolicyId = ibm_is_backup_policy.Example.Id,
            CronSpec = "0 12 * * *",
            ClonePolicy = new Ibm.Inputs.IsBackupPolicyPlanClonePolicyArgs
            {
                Zones = new[]
                {
                    "us-south-1",
                    "us-south-2",
                },
                MaxSnapshots = 3,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IsBackupPolicyPlan;
    import com.pulumi.ibm.IsBackupPolicyPlanArgs;
    import com.pulumi.ibm.inputs.IsBackupPolicyPlanClonePolicyArgs;
    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 example = new IsBackupPolicyPlan("example", IsBackupPolicyPlanArgs.builder()
                .backupPolicyId(ibm_is_backup_policy.example().id())
                .cronSpec("0 12 * * *")
                .clonePolicy(IsBackupPolicyPlanClonePolicyArgs.builder()
                    .zones(                
                        "us-south-1",
                        "us-south-2")
                    .maxSnapshots(3)
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: ibm:IsBackupPolicyPlan
        properties:
          backupPolicyId: ${ibm_is_backup_policy.example.id}
          cronSpec: 0 12 * * *
          clonePolicy:
            zones:
              - us-south-1
              - us-south-2
            maxSnapshots: 3
    

    Cross Region Copy

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const example = new ibm.IsBackupPolicyPlan("example", {
        backupPolicyId: ibm_is_backup_policy.example.id,
        cronSpec: "30 */2 * * 1-5",
        deletionTrigger: {
            deleteAfter: 20,
            deleteOverCount: "20",
        },
        remoteRegionPolicies: [{
            deleteOverCount: 1,
            encryptionKey: "crn:v1:bluemix:public:kms:us-south:a/dffefjgfeg88992eb3b752286b87:e398349-2ef0-42a6-8fd2-0348r34:key:i4ouo34u-c4b1-447f-9646-3498349kr",
            region: "us-south",
        }],
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    example = ibm.IsBackupPolicyPlan("example",
        backup_policy_id=ibm_is_backup_policy["example"]["id"],
        cron_spec="30 */2 * * 1-5",
        deletion_trigger={
            "delete_after": 20,
            "delete_over_count": "20",
        },
        remote_region_policies=[{
            "delete_over_count": 1,
            "encryption_key": "crn:v1:bluemix:public:kms:us-south:a/dffefjgfeg88992eb3b752286b87:e398349-2ef0-42a6-8fd2-0348r34:key:i4ouo34u-c4b1-447f-9646-3498349kr",
            "region": "us-south",
        }])
    
    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.NewIsBackupPolicyPlan(ctx, "example", &ibm.IsBackupPolicyPlanArgs{
    			BackupPolicyId: pulumi.Any(ibm_is_backup_policy.Example.Id),
    			CronSpec:       pulumi.String("30 */2 * * 1-5"),
    			DeletionTrigger: &ibm.IsBackupPolicyPlanDeletionTriggerArgs{
    				DeleteAfter:     pulumi.Float64(20),
    				DeleteOverCount: pulumi.String("20"),
    			},
    			RemoteRegionPolicies: ibm.IsBackupPolicyPlanRemoteRegionPolicyArray{
    				&ibm.IsBackupPolicyPlanRemoteRegionPolicyArgs{
    					DeleteOverCount: pulumi.Float64(1),
    					EncryptionKey:   pulumi.String("crn:v1:bluemix:public:kms:us-south:a/dffefjgfeg88992eb3b752286b87:e398349-2ef0-42a6-8fd2-0348r34:key:i4ouo34u-c4b1-447f-9646-3498349kr"),
    					Region:          pulumi.String("us-south"),
    				},
    			},
    		})
    		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 example = new Ibm.IsBackupPolicyPlan("example", new()
        {
            BackupPolicyId = ibm_is_backup_policy.Example.Id,
            CronSpec = "30 */2 * * 1-5",
            DeletionTrigger = new Ibm.Inputs.IsBackupPolicyPlanDeletionTriggerArgs
            {
                DeleteAfter = 20,
                DeleteOverCount = "20",
            },
            RemoteRegionPolicies = new[]
            {
                new Ibm.Inputs.IsBackupPolicyPlanRemoteRegionPolicyArgs
                {
                    DeleteOverCount = 1,
                    EncryptionKey = "crn:v1:bluemix:public:kms:us-south:a/dffefjgfeg88992eb3b752286b87:e398349-2ef0-42a6-8fd2-0348r34:key:i4ouo34u-c4b1-447f-9646-3498349kr",
                    Region = "us-south",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IsBackupPolicyPlan;
    import com.pulumi.ibm.IsBackupPolicyPlanArgs;
    import com.pulumi.ibm.inputs.IsBackupPolicyPlanDeletionTriggerArgs;
    import com.pulumi.ibm.inputs.IsBackupPolicyPlanRemoteRegionPolicyArgs;
    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 example = new IsBackupPolicyPlan("example", IsBackupPolicyPlanArgs.builder()
                .backupPolicyId(ibm_is_backup_policy.example().id())
                .cronSpec("30 */2 * * 1-5")
                .deletionTrigger(IsBackupPolicyPlanDeletionTriggerArgs.builder()
                    .deleteAfter(20)
                    .deleteOverCount(20)
                    .build())
                .remoteRegionPolicies(IsBackupPolicyPlanRemoteRegionPolicyArgs.builder()
                    .deleteOverCount(1)
                    .encryptionKey("crn:v1:bluemix:public:kms:us-south:a/dffefjgfeg88992eb3b752286b87:e398349-2ef0-42a6-8fd2-0348r34:key:i4ouo34u-c4b1-447f-9646-3498349kr")
                    .region("us-south")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: ibm:IsBackupPolicyPlan
        properties:
          backupPolicyId: ${ibm_is_backup_policy.example.id}
          cronSpec: 30 */2 * * 1-5
          deletionTrigger:
            deleteAfter: 20
            deleteOverCount: 20
          remoteRegionPolicies:
            - deleteOverCount: 1
              encryptionKey: crn:v1:bluemix:public:kms:us-south:a/dffefjgfeg88992eb3b752286b87:e398349-2ef0-42a6-8fd2-0348r34:key:i4ouo34u-c4b1-447f-9646-3498349kr
              region: us-south
    

    ->Note: Backup Policy Jobs are getting enhanced, will be available soon.

    Create IsBackupPolicyPlan Resource

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

    Constructor syntax

    new IsBackupPolicyPlan(name: string, args: IsBackupPolicyPlanArgs, opts?: CustomResourceOptions);
    @overload
    def IsBackupPolicyPlan(resource_name: str,
                           args: IsBackupPolicyPlanArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def IsBackupPolicyPlan(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           backup_policy_id: Optional[str] = None,
                           cron_spec: Optional[str] = None,
                           active: Optional[bool] = None,
                           attach_user_tags: Optional[Sequence[str]] = None,
                           clone_policy: Optional[IsBackupPolicyPlanClonePolicyArgs] = None,
                           copy_user_tags: Optional[bool] = None,
                           deletion_trigger: Optional[IsBackupPolicyPlanDeletionTriggerArgs] = None,
                           is_backup_policy_plan_id: Optional[str] = None,
                           name: Optional[str] = None,
                           remote_region_policies: Optional[Sequence[IsBackupPolicyPlanRemoteRegionPolicyArgs]] = None)
    func NewIsBackupPolicyPlan(ctx *Context, name string, args IsBackupPolicyPlanArgs, opts ...ResourceOption) (*IsBackupPolicyPlan, error)
    public IsBackupPolicyPlan(string name, IsBackupPolicyPlanArgs args, CustomResourceOptions? opts = null)
    public IsBackupPolicyPlan(String name, IsBackupPolicyPlanArgs args)
    public IsBackupPolicyPlan(String name, IsBackupPolicyPlanArgs args, CustomResourceOptions options)
    
    type: ibm:IsBackupPolicyPlan
    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 IsBackupPolicyPlanArgs
    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 IsBackupPolicyPlanArgs
    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 IsBackupPolicyPlanArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IsBackupPolicyPlanArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IsBackupPolicyPlanArgs
    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 isBackupPolicyPlanResource = new Ibm.IsBackupPolicyPlan("isBackupPolicyPlanResource", new()
    {
        BackupPolicyId = "string",
        CronSpec = "string",
        Active = false,
        AttachUserTags = new[]
        {
            "string",
        },
        ClonePolicy = new Ibm.Inputs.IsBackupPolicyPlanClonePolicyArgs
        {
            MaxSnapshots = 0,
            Zones = new[]
            {
                "string",
            },
        },
        CopyUserTags = false,
        DeletionTrigger = new Ibm.Inputs.IsBackupPolicyPlanDeletionTriggerArgs
        {
            DeleteAfter = 0,
            DeleteOverCount = "string",
        },
        IsBackupPolicyPlanId = "string",
        Name = "string",
        RemoteRegionPolicies = new[]
        {
            new Ibm.Inputs.IsBackupPolicyPlanRemoteRegionPolicyArgs
            {
                Region = "string",
                DeleteOverCount = 0,
                EncryptionKey = "string",
            },
        },
    });
    
    example, err := ibm.NewIsBackupPolicyPlan(ctx, "isBackupPolicyPlanResource", &ibm.IsBackupPolicyPlanArgs{
    	BackupPolicyId: pulumi.String("string"),
    	CronSpec:       pulumi.String("string"),
    	Active:         pulumi.Bool(false),
    	AttachUserTags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ClonePolicy: &ibm.IsBackupPolicyPlanClonePolicyArgs{
    		MaxSnapshots: pulumi.Float64(0),
    		Zones: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	CopyUserTags: pulumi.Bool(false),
    	DeletionTrigger: &ibm.IsBackupPolicyPlanDeletionTriggerArgs{
    		DeleteAfter:     pulumi.Float64(0),
    		DeleteOverCount: pulumi.String("string"),
    	},
    	IsBackupPolicyPlanId: pulumi.String("string"),
    	Name:                 pulumi.String("string"),
    	RemoteRegionPolicies: ibm.IsBackupPolicyPlanRemoteRegionPolicyArray{
    		&ibm.IsBackupPolicyPlanRemoteRegionPolicyArgs{
    			Region:          pulumi.String("string"),
    			DeleteOverCount: pulumi.Float64(0),
    			EncryptionKey:   pulumi.String("string"),
    		},
    	},
    })
    
    var isBackupPolicyPlanResource = new IsBackupPolicyPlan("isBackupPolicyPlanResource", IsBackupPolicyPlanArgs.builder()
        .backupPolicyId("string")
        .cronSpec("string")
        .active(false)
        .attachUserTags("string")
        .clonePolicy(IsBackupPolicyPlanClonePolicyArgs.builder()
            .maxSnapshots(0)
            .zones("string")
            .build())
        .copyUserTags(false)
        .deletionTrigger(IsBackupPolicyPlanDeletionTriggerArgs.builder()
            .deleteAfter(0)
            .deleteOverCount("string")
            .build())
        .isBackupPolicyPlanId("string")
        .name("string")
        .remoteRegionPolicies(IsBackupPolicyPlanRemoteRegionPolicyArgs.builder()
            .region("string")
            .deleteOverCount(0)
            .encryptionKey("string")
            .build())
        .build());
    
    is_backup_policy_plan_resource = ibm.IsBackupPolicyPlan("isBackupPolicyPlanResource",
        backup_policy_id="string",
        cron_spec="string",
        active=False,
        attach_user_tags=["string"],
        clone_policy={
            "max_snapshots": 0,
            "zones": ["string"],
        },
        copy_user_tags=False,
        deletion_trigger={
            "delete_after": 0,
            "delete_over_count": "string",
        },
        is_backup_policy_plan_id="string",
        name="string",
        remote_region_policies=[{
            "region": "string",
            "delete_over_count": 0,
            "encryption_key": "string",
        }])
    
    const isBackupPolicyPlanResource = new ibm.IsBackupPolicyPlan("isBackupPolicyPlanResource", {
        backupPolicyId: "string",
        cronSpec: "string",
        active: false,
        attachUserTags: ["string"],
        clonePolicy: {
            maxSnapshots: 0,
            zones: ["string"],
        },
        copyUserTags: false,
        deletionTrigger: {
            deleteAfter: 0,
            deleteOverCount: "string",
        },
        isBackupPolicyPlanId: "string",
        name: "string",
        remoteRegionPolicies: [{
            region: "string",
            deleteOverCount: 0,
            encryptionKey: "string",
        }],
    });
    
    type: ibm:IsBackupPolicyPlan
    properties:
        active: false
        attachUserTags:
            - string
        backupPolicyId: string
        clonePolicy:
            maxSnapshots: 0
            zones:
                - string
        copyUserTags: false
        cronSpec: string
        deletionTrigger:
            deleteAfter: 0
            deleteOverCount: string
        isBackupPolicyPlanId: string
        name: string
        remoteRegionPolicies:
            - deleteOverCount: 0
              encryptionKey: string
              region: string
    

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

    BackupPolicyId string
    The backup policy identifier. backup_policy_plan_id
    CronSpec string

    The cron specification for the backup schedule. The value must match regular expression ^((((\d+,)+\d+|([\d\*]+(\/|-)\d+)|\d+|\*) ?){5,7})$.

    ->Note The backup policy jobs (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes after this time.All backup schedules for plans in the same policy must be at least an hour apart.

    Active bool
    Indicates whether the plan is active.
    AttachUserTags List<string>
    User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached.
    ClonePolicy IsBackupPolicyPlanClonePolicy
    Nested scheme for clone_policy:
    CopyUserTags bool
    Indicates whether to copy the source's user tags to the created backups (snapshots). The default value is true.
    DeletionTrigger IsBackupPolicyPlanDeletionTrigger
    Nested scheme for deletion_trigger:
    IsBackupPolicyPlanId string
    The unique identifier of the BackupPolicyPlan.
    Name string
    The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    RemoteRegionPolicies List<IsBackupPolicyPlanRemoteRegionPolicy>

    Backup policy plan cross region rule.

    Nested scheme for remote_region_policy:

    BackupPolicyId string
    The backup policy identifier. backup_policy_plan_id
    CronSpec string

    The cron specification for the backup schedule. The value must match regular expression ^((((\d+,)+\d+|([\d\*]+(\/|-)\d+)|\d+|\*) ?){5,7})$.

    ->Note The backup policy jobs (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes after this time.All backup schedules for plans in the same policy must be at least an hour apart.

    Active bool
    Indicates whether the plan is active.
    AttachUserTags []string
    User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached.
    ClonePolicy IsBackupPolicyPlanClonePolicyArgs
    Nested scheme for clone_policy:
    CopyUserTags bool
    Indicates whether to copy the source's user tags to the created backups (snapshots). The default value is true.
    DeletionTrigger IsBackupPolicyPlanDeletionTriggerArgs
    Nested scheme for deletion_trigger:
    IsBackupPolicyPlanId string
    The unique identifier of the BackupPolicyPlan.
    Name string
    The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    RemoteRegionPolicies []IsBackupPolicyPlanRemoteRegionPolicyArgs

    Backup policy plan cross region rule.

    Nested scheme for remote_region_policy:

    backupPolicyId String
    The backup policy identifier. backup_policy_plan_id
    cronSpec String

    The cron specification for the backup schedule. The value must match regular expression ^((((\d+,)+\d+|([\d\*]+(\/|-)\d+)|\d+|\*) ?){5,7})$.

    ->Note The backup policy jobs (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes after this time.All backup schedules for plans in the same policy must be at least an hour apart.

    active Boolean
    Indicates whether the plan is active.
    attachUserTags List<String>
    User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached.
    clonePolicy IsBackupPolicyPlanClonePolicy
    Nested scheme for clone_policy:
    copyUserTags Boolean
    Indicates whether to copy the source's user tags to the created backups (snapshots). The default value is true.
    deletionTrigger IsBackupPolicyPlanDeletionTrigger
    Nested scheme for deletion_trigger:
    isBackupPolicyPlanId String
    The unique identifier of the BackupPolicyPlan.
    name String
    The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    remoteRegionPolicies List<IsBackupPolicyPlanRemoteRegionPolicy>

    Backup policy plan cross region rule.

    Nested scheme for remote_region_policy:

    backupPolicyId string
    The backup policy identifier. backup_policy_plan_id
    cronSpec string

    The cron specification for the backup schedule. The value must match regular expression ^((((\d+,)+\d+|([\d\*]+(\/|-)\d+)|\d+|\*) ?){5,7})$.

    ->Note The backup policy jobs (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes after this time.All backup schedules for plans in the same policy must be at least an hour apart.

    active boolean
    Indicates whether the plan is active.
    attachUserTags string[]
    User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached.
    clonePolicy IsBackupPolicyPlanClonePolicy
    Nested scheme for clone_policy:
    copyUserTags boolean
    Indicates whether to copy the source's user tags to the created backups (snapshots). The default value is true.
    deletionTrigger IsBackupPolicyPlanDeletionTrigger
    Nested scheme for deletion_trigger:
    isBackupPolicyPlanId string
    The unique identifier of the BackupPolicyPlan.
    name string
    The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    remoteRegionPolicies IsBackupPolicyPlanRemoteRegionPolicy[]

    Backup policy plan cross region rule.

    Nested scheme for remote_region_policy:

    backup_policy_id str
    The backup policy identifier. backup_policy_plan_id
    cron_spec str

    The cron specification for the backup schedule. The value must match regular expression ^((((\d+,)+\d+|([\d\*]+(\/|-)\d+)|\d+|\*) ?){5,7})$.

    ->Note The backup policy jobs (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes after this time.All backup schedules for plans in the same policy must be at least an hour apart.

    active bool
    Indicates whether the plan is active.
    attach_user_tags Sequence[str]
    User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached.
    clone_policy IsBackupPolicyPlanClonePolicyArgs
    Nested scheme for clone_policy:
    copy_user_tags bool
    Indicates whether to copy the source's user tags to the created backups (snapshots). The default value is true.
    deletion_trigger IsBackupPolicyPlanDeletionTriggerArgs
    Nested scheme for deletion_trigger:
    is_backup_policy_plan_id str
    The unique identifier of the BackupPolicyPlan.
    name str
    The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    remote_region_policies Sequence[IsBackupPolicyPlanRemoteRegionPolicyArgs]

    Backup policy plan cross region rule.

    Nested scheme for remote_region_policy:

    backupPolicyId String
    The backup policy identifier. backup_policy_plan_id
    cronSpec String

    The cron specification for the backup schedule. The value must match regular expression ^((((\d+,)+\d+|([\d\*]+(\/|-)\d+)|\d+|\*) ?){5,7})$.

    ->Note The backup policy jobs (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes after this time.All backup schedules for plans in the same policy must be at least an hour apart.

    active Boolean
    Indicates whether the plan is active.
    attachUserTags List<String>
    User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached.
    clonePolicy Property Map
    Nested scheme for clone_policy:
    copyUserTags Boolean
    Indicates whether to copy the source's user tags to the created backups (snapshots). The default value is true.
    deletionTrigger Property Map
    Nested scheme for deletion_trigger:
    isBackupPolicyPlanId String
    The unique identifier of the BackupPolicyPlan.
    name String
    The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    remoteRegionPolicies List<Property Map>

    Backup policy plan cross region rule.

    Nested scheme for remote_region_policy:

    Outputs

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

    BackupPolicyPlanId string
    The backup policy identifier.
    CreatedAt string
    (String) The date and time that the backup policy plan was created.
    Href string
    (String) The URL for this backup policy plan.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    (String) The lifecycle state of this backup policy plan.
    ResourceType string
    (String) The resource type.
    Version string
    Version of the BackupPolicyPlan.
    BackupPolicyPlanId string
    The backup policy identifier.
    CreatedAt string
    (String) The date and time that the backup policy plan was created.
    Href string
    (String) The URL for this backup policy plan.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleState string
    (String) The lifecycle state of this backup policy plan.
    ResourceType string
    (String) The resource type.
    Version string
    Version of the BackupPolicyPlan.
    backupPolicyPlanId String
    The backup policy identifier.
    createdAt String
    (String) The date and time that the backup policy plan was created.
    href String
    (String) The URL for this backup policy plan.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    (String) The lifecycle state of this backup policy plan.
    resourceType String
    (String) The resource type.
    version String
    Version of the BackupPolicyPlan.
    backupPolicyPlanId string
    The backup policy identifier.
    createdAt string
    (String) The date and time that the backup policy plan was created.
    href string
    (String) The URL for this backup policy plan.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleState string
    (String) The lifecycle state of this backup policy plan.
    resourceType string
    (String) The resource type.
    version string
    Version of the BackupPolicyPlan.
    backup_policy_plan_id str
    The backup policy identifier.
    created_at str
    (String) The date and time that the backup policy plan was created.
    href str
    (String) The URL for this backup policy plan.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_state str
    (String) The lifecycle state of this backup policy plan.
    resource_type str
    (String) The resource type.
    version str
    Version of the BackupPolicyPlan.
    backupPolicyPlanId String
    The backup policy identifier.
    createdAt String
    (String) The date and time that the backup policy plan was created.
    href String
    (String) The URL for this backup policy plan.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleState String
    (String) The lifecycle state of this backup policy plan.
    resourceType String
    (String) The resource type.
    version String
    Version of the BackupPolicyPlan.

    Look up Existing IsBackupPolicyPlan Resource

    Get an existing IsBackupPolicyPlan 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?: IsBackupPolicyPlanState, opts?: CustomResourceOptions): IsBackupPolicyPlan
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            active: Optional[bool] = None,
            attach_user_tags: Optional[Sequence[str]] = None,
            backup_policy_id: Optional[str] = None,
            backup_policy_plan_id: Optional[str] = None,
            clone_policy: Optional[IsBackupPolicyPlanClonePolicyArgs] = None,
            copy_user_tags: Optional[bool] = None,
            created_at: Optional[str] = None,
            cron_spec: Optional[str] = None,
            deletion_trigger: Optional[IsBackupPolicyPlanDeletionTriggerArgs] = None,
            href: Optional[str] = None,
            is_backup_policy_plan_id: Optional[str] = None,
            lifecycle_state: Optional[str] = None,
            name: Optional[str] = None,
            remote_region_policies: Optional[Sequence[IsBackupPolicyPlanRemoteRegionPolicyArgs]] = None,
            resource_type: Optional[str] = None,
            version: Optional[str] = None) -> IsBackupPolicyPlan
    func GetIsBackupPolicyPlan(ctx *Context, name string, id IDInput, state *IsBackupPolicyPlanState, opts ...ResourceOption) (*IsBackupPolicyPlan, error)
    public static IsBackupPolicyPlan Get(string name, Input<string> id, IsBackupPolicyPlanState? state, CustomResourceOptions? opts = null)
    public static IsBackupPolicyPlan get(String name, Output<String> id, IsBackupPolicyPlanState state, CustomResourceOptions options)
    resources:  _:    type: ibm:IsBackupPolicyPlan    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Active bool
    Indicates whether the plan is active.
    AttachUserTags List<string>
    User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached.
    BackupPolicyId string
    The backup policy identifier. backup_policy_plan_id
    BackupPolicyPlanId string
    The backup policy identifier.
    ClonePolicy IsBackupPolicyPlanClonePolicy
    Nested scheme for clone_policy:
    CopyUserTags bool
    Indicates whether to copy the source's user tags to the created backups (snapshots). The default value is true.
    CreatedAt string
    (String) The date and time that the backup policy plan was created.
    CronSpec string

    The cron specification for the backup schedule. The value must match regular expression ^((((\d+,)+\d+|([\d\*]+(\/|-)\d+)|\d+|\*) ?){5,7})$.

    ->Note The backup policy jobs (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes after this time.All backup schedules for plans in the same policy must be at least an hour apart.

    DeletionTrigger IsBackupPolicyPlanDeletionTrigger
    Nested scheme for deletion_trigger:
    Href string
    (String) The URL for this backup policy plan.
    IsBackupPolicyPlanId string
    The unique identifier of the BackupPolicyPlan.
    LifecycleState string
    (String) The lifecycle state of this backup policy plan.
    Name string
    The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    RemoteRegionPolicies List<IsBackupPolicyPlanRemoteRegionPolicy>

    Backup policy plan cross region rule.

    Nested scheme for remote_region_policy:

    ResourceType string
    (String) The resource type.
    Version string
    Version of the BackupPolicyPlan.
    Active bool
    Indicates whether the plan is active.
    AttachUserTags []string
    User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached.
    BackupPolicyId string
    The backup policy identifier. backup_policy_plan_id
    BackupPolicyPlanId string
    The backup policy identifier.
    ClonePolicy IsBackupPolicyPlanClonePolicyArgs
    Nested scheme for clone_policy:
    CopyUserTags bool
    Indicates whether to copy the source's user tags to the created backups (snapshots). The default value is true.
    CreatedAt string
    (String) The date and time that the backup policy plan was created.
    CronSpec string

    The cron specification for the backup schedule. The value must match regular expression ^((((\d+,)+\d+|([\d\*]+(\/|-)\d+)|\d+|\*) ?){5,7})$.

    ->Note The backup policy jobs (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes after this time.All backup schedules for plans in the same policy must be at least an hour apart.

    DeletionTrigger IsBackupPolicyPlanDeletionTriggerArgs
    Nested scheme for deletion_trigger:
    Href string
    (String) The URL for this backup policy plan.
    IsBackupPolicyPlanId string
    The unique identifier of the BackupPolicyPlan.
    LifecycleState string
    (String) The lifecycle state of this backup policy plan.
    Name string
    The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    RemoteRegionPolicies []IsBackupPolicyPlanRemoteRegionPolicyArgs

    Backup policy plan cross region rule.

    Nested scheme for remote_region_policy:

    ResourceType string
    (String) The resource type.
    Version string
    Version of the BackupPolicyPlan.
    active Boolean
    Indicates whether the plan is active.
    attachUserTags List<String>
    User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached.
    backupPolicyId String
    The backup policy identifier. backup_policy_plan_id
    backupPolicyPlanId String
    The backup policy identifier.
    clonePolicy IsBackupPolicyPlanClonePolicy
    Nested scheme for clone_policy:
    copyUserTags Boolean
    Indicates whether to copy the source's user tags to the created backups (snapshots). The default value is true.
    createdAt String
    (String) The date and time that the backup policy plan was created.
    cronSpec String

    The cron specification for the backup schedule. The value must match regular expression ^((((\d+,)+\d+|([\d\*]+(\/|-)\d+)|\d+|\*) ?){5,7})$.

    ->Note The backup policy jobs (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes after this time.All backup schedules for plans in the same policy must be at least an hour apart.

    deletionTrigger IsBackupPolicyPlanDeletionTrigger
    Nested scheme for deletion_trigger:
    href String
    (String) The URL for this backup policy plan.
    isBackupPolicyPlanId String
    The unique identifier of the BackupPolicyPlan.
    lifecycleState String
    (String) The lifecycle state of this backup policy plan.
    name String
    The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    remoteRegionPolicies List<IsBackupPolicyPlanRemoteRegionPolicy>

    Backup policy plan cross region rule.

    Nested scheme for remote_region_policy:

    resourceType String
    (String) The resource type.
    version String
    Version of the BackupPolicyPlan.
    active boolean
    Indicates whether the plan is active.
    attachUserTags string[]
    User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached.
    backupPolicyId string
    The backup policy identifier. backup_policy_plan_id
    backupPolicyPlanId string
    The backup policy identifier.
    clonePolicy IsBackupPolicyPlanClonePolicy
    Nested scheme for clone_policy:
    copyUserTags boolean
    Indicates whether to copy the source's user tags to the created backups (snapshots). The default value is true.
    createdAt string
    (String) The date and time that the backup policy plan was created.
    cronSpec string

    The cron specification for the backup schedule. The value must match regular expression ^((((\d+,)+\d+|([\d\*]+(\/|-)\d+)|\d+|\*) ?){5,7})$.

    ->Note The backup policy jobs (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes after this time.All backup schedules for plans in the same policy must be at least an hour apart.

    deletionTrigger IsBackupPolicyPlanDeletionTrigger
    Nested scheme for deletion_trigger:
    href string
    (String) The URL for this backup policy plan.
    isBackupPolicyPlanId string
    The unique identifier of the BackupPolicyPlan.
    lifecycleState string
    (String) The lifecycle state of this backup policy plan.
    name string
    The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    remoteRegionPolicies IsBackupPolicyPlanRemoteRegionPolicy[]

    Backup policy plan cross region rule.

    Nested scheme for remote_region_policy:

    resourceType string
    (String) The resource type.
    version string
    Version of the BackupPolicyPlan.
    active bool
    Indicates whether the plan is active.
    attach_user_tags Sequence[str]
    User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached.
    backup_policy_id str
    The backup policy identifier. backup_policy_plan_id
    backup_policy_plan_id str
    The backup policy identifier.
    clone_policy IsBackupPolicyPlanClonePolicyArgs
    Nested scheme for clone_policy:
    copy_user_tags bool
    Indicates whether to copy the source's user tags to the created backups (snapshots). The default value is true.
    created_at str
    (String) The date and time that the backup policy plan was created.
    cron_spec str

    The cron specification for the backup schedule. The value must match regular expression ^((((\d+,)+\d+|([\d\*]+(\/|-)\d+)|\d+|\*) ?){5,7})$.

    ->Note The backup policy jobs (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes after this time.All backup schedules for plans in the same policy must be at least an hour apart.

    deletion_trigger IsBackupPolicyPlanDeletionTriggerArgs
    Nested scheme for deletion_trigger:
    href str
    (String) The URL for this backup policy plan.
    is_backup_policy_plan_id str
    The unique identifier of the BackupPolicyPlan.
    lifecycle_state str
    (String) The lifecycle state of this backup policy plan.
    name str
    The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    remote_region_policies Sequence[IsBackupPolicyPlanRemoteRegionPolicyArgs]

    Backup policy plan cross region rule.

    Nested scheme for remote_region_policy:

    resource_type str
    (String) The resource type.
    version str
    Version of the BackupPolicyPlan.
    active Boolean
    Indicates whether the plan is active.
    attachUserTags List<String>
    User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached.
    backupPolicyId String
    The backup policy identifier. backup_policy_plan_id
    backupPolicyPlanId String
    The backup policy identifier.
    clonePolicy Property Map
    Nested scheme for clone_policy:
    copyUserTags Boolean
    Indicates whether to copy the source's user tags to the created backups (snapshots). The default value is true.
    createdAt String
    (String) The date and time that the backup policy plan was created.
    cronSpec String

    The cron specification for the backup schedule. The value must match regular expression ^((((\d+,)+\d+|([\d\*]+(\/|-)\d+)|\d+|\*) ?){5,7})$.

    ->Note The backup policy jobs (which create and delete backups for this plan) will not start until this time, and may start for up to 90 minutes after this time.All backup schedules for plans in the same policy must be at least an hour apart.

    deletionTrigger Property Map
    Nested scheme for deletion_trigger:
    href String
    (String) The URL for this backup policy plan.
    isBackupPolicyPlanId String
    The unique identifier of the BackupPolicyPlan.
    lifecycleState String
    (String) The lifecycle state of this backup policy plan.
    name String
    The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words.
    remoteRegionPolicies List<Property Map>

    Backup policy plan cross region rule.

    Nested scheme for remote_region_policy:

    resourceType String
    (String) The resource type.
    version String
    Version of the BackupPolicyPlan.

    Supporting Types

    IsBackupPolicyPlanClonePolicy, IsBackupPolicyPlanClonePolicyArgs

    MaxSnapshots double
    The maximum number of recent snapshots (per source) that will keep clones.
    Zones List<string>
    The zone list this backup policy plan will create snapshot clones in.
    MaxSnapshots float64
    The maximum number of recent snapshots (per source) that will keep clones.
    Zones []string
    The zone list this backup policy plan will create snapshot clones in.
    maxSnapshots Double
    The maximum number of recent snapshots (per source) that will keep clones.
    zones List<String>
    The zone list this backup policy plan will create snapshot clones in.
    maxSnapshots number
    The maximum number of recent snapshots (per source) that will keep clones.
    zones string[]
    The zone list this backup policy plan will create snapshot clones in.
    max_snapshots float
    The maximum number of recent snapshots (per source) that will keep clones.
    zones Sequence[str]
    The zone list this backup policy plan will create snapshot clones in.
    maxSnapshots Number
    The maximum number of recent snapshots (per source) that will keep clones.
    zones List<String>
    The zone list this backup policy plan will create snapshot clones in.

    IsBackupPolicyPlanDeletionTrigger, IsBackupPolicyPlanDeletionTriggerArgs

    DeleteAfter double
    The maximum number of days to keep each backup after creation. Default value is 30.
    DeleteOverCount string

    The maximum number of recent backups to keep. If unspecified, there will be no maximum.

    ->Note Assign back to "null" to reset to no maximum.

    DeleteAfter float64
    The maximum number of days to keep each backup after creation. Default value is 30.
    DeleteOverCount string

    The maximum number of recent backups to keep. If unspecified, there will be no maximum.

    ->Note Assign back to "null" to reset to no maximum.

    deleteAfter Double
    The maximum number of days to keep each backup after creation. Default value is 30.
    deleteOverCount String

    The maximum number of recent backups to keep. If unspecified, there will be no maximum.

    ->Note Assign back to "null" to reset to no maximum.

    deleteAfter number
    The maximum number of days to keep each backup after creation. Default value is 30.
    deleteOverCount string

    The maximum number of recent backups to keep. If unspecified, there will be no maximum.

    ->Note Assign back to "null" to reset to no maximum.

    delete_after float
    The maximum number of days to keep each backup after creation. Default value is 30.
    delete_over_count str

    The maximum number of recent backups to keep. If unspecified, there will be no maximum.

    ->Note Assign back to "null" to reset to no maximum.

    deleteAfter Number
    The maximum number of days to keep each backup after creation. Default value is 30.
    deleteOverCount String

    The maximum number of recent backups to keep. If unspecified, there will be no maximum.

    ->Note Assign back to "null" to reset to no maximum.

    IsBackupPolicyPlanRemoteRegionPolicy, IsBackupPolicyPlanRemoteRegionPolicyArgs

    Region string
    Identifies a region by a unique property. The globally unique name for this region.
    DeleteOverCount double
    The maximum number of recent remote copies to keep in this region. If no value is passed, then by default delete_over_count is 5. Range for delete_over_count is [1-100].
    EncryptionKey string
    The root key to use to rewrap the data encryption key for the snapshot.If unspecified, the source's encryption_key will be used.The specified key may be in a different account, subject to IAM policies. The CRN of the Key Protect Root Key or Hyper Protect Crypto Services Root Key for this resource.
    Region string
    Identifies a region by a unique property. The globally unique name for this region.
    DeleteOverCount float64
    The maximum number of recent remote copies to keep in this region. If no value is passed, then by default delete_over_count is 5. Range for delete_over_count is [1-100].
    EncryptionKey string
    The root key to use to rewrap the data encryption key for the snapshot.If unspecified, the source's encryption_key will be used.The specified key may be in a different account, subject to IAM policies. The CRN of the Key Protect Root Key or Hyper Protect Crypto Services Root Key for this resource.
    region String
    Identifies a region by a unique property. The globally unique name for this region.
    deleteOverCount Double
    The maximum number of recent remote copies to keep in this region. If no value is passed, then by default delete_over_count is 5. Range for delete_over_count is [1-100].
    encryptionKey String
    The root key to use to rewrap the data encryption key for the snapshot.If unspecified, the source's encryption_key will be used.The specified key may be in a different account, subject to IAM policies. The CRN of the Key Protect Root Key or Hyper Protect Crypto Services Root Key for this resource.
    region string
    Identifies a region by a unique property. The globally unique name for this region.
    deleteOverCount number
    The maximum number of recent remote copies to keep in this region. If no value is passed, then by default delete_over_count is 5. Range for delete_over_count is [1-100].
    encryptionKey string
    The root key to use to rewrap the data encryption key for the snapshot.If unspecified, the source's encryption_key will be used.The specified key may be in a different account, subject to IAM policies. The CRN of the Key Protect Root Key or Hyper Protect Crypto Services Root Key for this resource.
    region str
    Identifies a region by a unique property. The globally unique name for this region.
    delete_over_count float
    The maximum number of recent remote copies to keep in this region. If no value is passed, then by default delete_over_count is 5. Range for delete_over_count is [1-100].
    encryption_key str
    The root key to use to rewrap the data encryption key for the snapshot.If unspecified, the source's encryption_key will be used.The specified key may be in a different account, subject to IAM policies. The CRN of the Key Protect Root Key or Hyper Protect Crypto Services Root Key for this resource.
    region String
    Identifies a region by a unique property. The globally unique name for this region.
    deleteOverCount Number
    The maximum number of recent remote copies to keep in this region. If no value is passed, then by default delete_over_count is 5. Range for delete_over_count is [1-100].
    encryptionKey String
    The root key to use to rewrap the data encryption key for the snapshot.If unspecified, the source's encryption_key will be used.The specified key may be in a different account, subject to IAM policies. The CRN of the Key Protect Root Key or Hyper Protect Crypto Services Root Key for this resource.

    Import

    You can import the ibm_is_backup_policy_plan resource by using id.

    The id property can be formed from backup_policy_id, and id in the following format:

    <0fe9e5d8-0a4d-4818-96ec-e99708644a58>/<0fg9e5d8-0a4d-4818-96ec-e99708634a58>

    • backup_policy_id: A string. The backup policy identifier.

    • id: A string. The backup policy plan identifier.

    Syntax

    $ pulumi import ibm:index/isBackupPolicyPlan:IsBackupPolicyPlan is_backup_policy_plan <0fe9e5d8-0a4d-4818-96ec-e99708644a58>/<0fg9e5d8-0a4d-4818-96ec-e99708634a58>
    

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

    Package Details

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