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

ibm.BackupRecoveryProtectionGroupRunRequest

Explore with Pulumi AI

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const backupRecoveryProtectionGroupRunRequestInstance = new ibm.BackupRecoveryProtectionGroupRunRequest("backupRecoveryProtectionGroupRunRequestInstance", {
        groupId: "123:11:1",
        objects: [{
            appIds: [1],
            id: 1,
            physicalParams: {
                metadataFilePath: "metadata_file_path",
            },
        }],
        runType: "kRegular",
        targetsConfig: {
            archivals: [{
                archivalTargetType: "Tape",
                copyOnlyFullySuccessful: true,
                id: 1,
                retention: {
                    dataLockConfig: {
                        duration: 1,
                        enableWormOnExternalTarget: true,
                        mode: "Compliance",
                        unit: "Days",
                    },
                    duration: 1,
                    unit: "Days",
                },
            }],
            cloudReplications: [{
                awsTarget: {
                    name: "name",
                    region: 1,
                    regionName: "region_name",
                    sourceId: 1,
                },
                azureTarget: {
                    name: "name",
                    resourceGroup: 1,
                    resourceGroupName: "resource_group_name",
                    sourceId: 1,
                    storageAccount: 1,
                    storageAccountName: "storage_account_name",
                    storageContainer: 1,
                    storageContainerName: "storage_container_name",
                    storageResourceGroup: 1,
                    storageResourceGroupName: "storage_resource_group_name",
                },
                retention: {
                    dataLockConfig: {
                        duration: 1,
                        enableWormOnExternalTarget: true,
                        mode: "Compliance",
                        unit: "Days",
                    },
                    duration: 1,
                    unit: "Days",
                },
                targetType: "AWS",
            }],
            replications: [{
                id: 1,
                retention: {
                    dataLockConfig: {
                        duration: 1,
                        enableWormOnExternalTarget: true,
                        mode: "Compliance",
                        unit: "Days",
                    },
                    duration: 1,
                    unit: "Days",
                },
            }],
            usePolicyDefaults: true,
        },
        xIbmTenantId: "x_ibm_tenant_id",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    backup_recovery_protection_group_run_request_instance = ibm.BackupRecoveryProtectionGroupRunRequest("backupRecoveryProtectionGroupRunRequestInstance",
        group_id="123:11:1",
        objects=[{
            "app_ids": [1],
            "id": 1,
            "physical_params": {
                "metadata_file_path": "metadata_file_path",
            },
        }],
        run_type="kRegular",
        targets_config={
            "archivals": [{
                "archival_target_type": "Tape",
                "copy_only_fully_successful": True,
                "id": 1,
                "retention": {
                    "data_lock_config": {
                        "duration": 1,
                        "enable_worm_on_external_target": True,
                        "mode": "Compliance",
                        "unit": "Days",
                    },
                    "duration": 1,
                    "unit": "Days",
                },
            }],
            "cloud_replications": [{
                "aws_target": {
                    "name": "name",
                    "region": 1,
                    "region_name": "region_name",
                    "source_id": 1,
                },
                "azure_target": {
                    "name": "name",
                    "resource_group": 1,
                    "resource_group_name": "resource_group_name",
                    "source_id": 1,
                    "storage_account": 1,
                    "storage_account_name": "storage_account_name",
                    "storage_container": 1,
                    "storage_container_name": "storage_container_name",
                    "storage_resource_group": 1,
                    "storage_resource_group_name": "storage_resource_group_name",
                },
                "retention": {
                    "data_lock_config": {
                        "duration": 1,
                        "enable_worm_on_external_target": True,
                        "mode": "Compliance",
                        "unit": "Days",
                    },
                    "duration": 1,
                    "unit": "Days",
                },
                "target_type": "AWS",
            }],
            "replications": [{
                "id": 1,
                "retention": {
                    "data_lock_config": {
                        "duration": 1,
                        "enable_worm_on_external_target": True,
                        "mode": "Compliance",
                        "unit": "Days",
                    },
                    "duration": 1,
                    "unit": "Days",
                },
            }],
            "use_policy_defaults": True,
        },
        x_ibm_tenant_id="x_ibm_tenant_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.NewBackupRecoveryProtectionGroupRunRequest(ctx, "backupRecoveryProtectionGroupRunRequestInstance", &ibm.BackupRecoveryProtectionGroupRunRequestArgs{
    			GroupId: pulumi.String("123:11:1"),
    			Objects: ibm.BackupRecoveryProtectionGroupRunRequestObjectArray{
    				&ibm.BackupRecoveryProtectionGroupRunRequestObjectArgs{
    					AppIds: pulumi.Float64Array{
    						pulumi.Float64(1),
    					},
    					Id: pulumi.Float64(1),
    					PhysicalParams: &ibm.BackupRecoveryProtectionGroupRunRequestObjectPhysicalParamsArgs{
    						MetadataFilePath: pulumi.String("metadata_file_path"),
    					},
    				},
    			},
    			RunType: pulumi.String("kRegular"),
    			TargetsConfig: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigArgs{
    				Archivals: ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalArray{
    					&ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalArgs{
    						ArchivalTargetType:      pulumi.String("Tape"),
    						CopyOnlyFullySuccessful: pulumi.Bool(true),
    						Id:                      pulumi.Float64(1),
    						Retention: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionArgs{
    							DataLockConfig: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionDataLockConfigArgs{
    								Duration:                   pulumi.Float64(1),
    								EnableWormOnExternalTarget: pulumi.Bool(true),
    								Mode:                       pulumi.String("Compliance"),
    								Unit:                       pulumi.String("Days"),
    							},
    							Duration: pulumi.Float64(1),
    							Unit:     pulumi.String("Days"),
    						},
    					},
    				},
    				CloudReplications: ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationArray{
    					&ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationArgs{
    						AwsTarget: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAwsTargetArgs{
    							Name:       pulumi.String("name"),
    							Region:     pulumi.Float64(1),
    							RegionName: pulumi.String("region_name"),
    							SourceId:   pulumi.Float64(1),
    						},
    						AzureTarget: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAzureTargetArgs{
    							Name:                     pulumi.String("name"),
    							ResourceGroup:            pulumi.Float64(1),
    							ResourceGroupName:        pulumi.String("resource_group_name"),
    							SourceId:                 pulumi.Float64(1),
    							StorageAccount:           pulumi.Float64(1),
    							StorageAccountName:       pulumi.String("storage_account_name"),
    							StorageContainer:         pulumi.Float64(1),
    							StorageContainerName:     pulumi.String("storage_container_name"),
    							StorageResourceGroup:     pulumi.Float64(1),
    							StorageResourceGroupName: pulumi.String("storage_resource_group_name"),
    						},
    						Retention: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionArgs{
    							DataLockConfig: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionDataLockConfigArgs{
    								Duration:                   pulumi.Float64(1),
    								EnableWormOnExternalTarget: pulumi.Bool(true),
    								Mode:                       pulumi.String("Compliance"),
    								Unit:                       pulumi.String("Days"),
    							},
    							Duration: pulumi.Float64(1),
    							Unit:     pulumi.String("Days"),
    						},
    						TargetType: pulumi.String("AWS"),
    					},
    				},
    				Replications: ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationArray{
    					&ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationArgs{
    						Id: pulumi.Float64(1),
    						Retention: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionArgs{
    							DataLockConfig: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionDataLockConfigArgs{
    								Duration:                   pulumi.Float64(1),
    								EnableWormOnExternalTarget: pulumi.Bool(true),
    								Mode:                       pulumi.String("Compliance"),
    								Unit:                       pulumi.String("Days"),
    							},
    							Duration: pulumi.Float64(1),
    							Unit:     pulumi.String("Days"),
    						},
    					},
    				},
    				UsePolicyDefaults: pulumi.Bool(true),
    			},
    			XIbmTenantId: pulumi.String("x_ibm_tenant_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 backupRecoveryProtectionGroupRunRequestInstance = new Ibm.BackupRecoveryProtectionGroupRunRequest("backupRecoveryProtectionGroupRunRequestInstance", new()
        {
            GroupId = "123:11:1",
            Objects = new[]
            {
                new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestObjectArgs
                {
                    AppIds = new[]
                    {
                        1,
                    },
                    Id = 1,
                    PhysicalParams = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestObjectPhysicalParamsArgs
                    {
                        MetadataFilePath = "metadata_file_path",
                    },
                },
            },
            RunType = "kRegular",
            TargetsConfig = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigArgs
            {
                Archivals = new[]
                {
                    new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalArgs
                    {
                        ArchivalTargetType = "Tape",
                        CopyOnlyFullySuccessful = true,
                        Id = 1,
                        Retention = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionArgs
                        {
                            DataLockConfig = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionDataLockConfigArgs
                            {
                                Duration = 1,
                                EnableWormOnExternalTarget = true,
                                Mode = "Compliance",
                                Unit = "Days",
                            },
                            Duration = 1,
                            Unit = "Days",
                        },
                    },
                },
                CloudReplications = new[]
                {
                    new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationArgs
                    {
                        AwsTarget = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAwsTargetArgs
                        {
                            Name = "name",
                            Region = 1,
                            RegionName = "region_name",
                            SourceId = 1,
                        },
                        AzureTarget = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAzureTargetArgs
                        {
                            Name = "name",
                            ResourceGroup = 1,
                            ResourceGroupName = "resource_group_name",
                            SourceId = 1,
                            StorageAccount = 1,
                            StorageAccountName = "storage_account_name",
                            StorageContainer = 1,
                            StorageContainerName = "storage_container_name",
                            StorageResourceGroup = 1,
                            StorageResourceGroupName = "storage_resource_group_name",
                        },
                        Retention = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionArgs
                        {
                            DataLockConfig = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionDataLockConfigArgs
                            {
                                Duration = 1,
                                EnableWormOnExternalTarget = true,
                                Mode = "Compliance",
                                Unit = "Days",
                            },
                            Duration = 1,
                            Unit = "Days",
                        },
                        TargetType = "AWS",
                    },
                },
                Replications = new[]
                {
                    new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationArgs
                    {
                        Id = 1,
                        Retention = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionArgs
                        {
                            DataLockConfig = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionDataLockConfigArgs
                            {
                                Duration = 1,
                                EnableWormOnExternalTarget = true,
                                Mode = "Compliance",
                                Unit = "Days",
                            },
                            Duration = 1,
                            Unit = "Days",
                        },
                    },
                },
                UsePolicyDefaults = true,
            },
            XIbmTenantId = "x_ibm_tenant_id",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.BackupRecoveryProtectionGroupRunRequest;
    import com.pulumi.ibm.BackupRecoveryProtectionGroupRunRequestArgs;
    import com.pulumi.ibm.inputs.BackupRecoveryProtectionGroupRunRequestObjectArgs;
    import com.pulumi.ibm.inputs.BackupRecoveryProtectionGroupRunRequestObjectPhysicalParamsArgs;
    import com.pulumi.ibm.inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigArgs;
    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 backupRecoveryProtectionGroupRunRequestInstance = new BackupRecoveryProtectionGroupRunRequest("backupRecoveryProtectionGroupRunRequestInstance", BackupRecoveryProtectionGroupRunRequestArgs.builder()
                .groupId("123:11:1")
                .objects(BackupRecoveryProtectionGroupRunRequestObjectArgs.builder()
                    .appIds(1)
                    .id(1)
                    .physicalParams(BackupRecoveryProtectionGroupRunRequestObjectPhysicalParamsArgs.builder()
                        .metadataFilePath("metadata_file_path")
                        .build())
                    .build())
                .runType("kRegular")
                .targetsConfig(BackupRecoveryProtectionGroupRunRequestTargetsConfigArgs.builder()
                    .archivals(BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalArgs.builder()
                        .archivalTargetType("Tape")
                        .copyOnlyFullySuccessful(true)
                        .id(1)
                        .retention(BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionArgs.builder()
                            .dataLockConfig(BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionDataLockConfigArgs.builder()
                                .duration(1)
                                .enableWormOnExternalTarget(true)
                                .mode("Compliance")
                                .unit("Days")
                                .build())
                            .duration(1)
                            .unit("Days")
                            .build())
                        .build())
                    .cloudReplications(BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationArgs.builder()
                        .awsTarget(BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAwsTargetArgs.builder()
                            .name("name")
                            .region(1)
                            .regionName("region_name")
                            .sourceId(1)
                            .build())
                        .azureTarget(BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAzureTargetArgs.builder()
                            .name("name")
                            .resourceGroup(1)
                            .resourceGroupName("resource_group_name")
                            .sourceId(1)
                            .storageAccount(1)
                            .storageAccountName("storage_account_name")
                            .storageContainer(1)
                            .storageContainerName("storage_container_name")
                            .storageResourceGroup(1)
                            .storageResourceGroupName("storage_resource_group_name")
                            .build())
                        .retention(BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionArgs.builder()
                            .dataLockConfig(BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionDataLockConfigArgs.builder()
                                .duration(1)
                                .enableWormOnExternalTarget(true)
                                .mode("Compliance")
                                .unit("Days")
                                .build())
                            .duration(1)
                            .unit("Days")
                            .build())
                        .targetType("AWS")
                        .build())
                    .replications(BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationArgs.builder()
                        .id(1)
                        .retention(BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionArgs.builder()
                            .dataLockConfig(BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionDataLockConfigArgs.builder()
                                .duration(1)
                                .enableWormOnExternalTarget(true)
                                .mode("Compliance")
                                .unit("Days")
                                .build())
                            .duration(1)
                            .unit("Days")
                            .build())
                        .build())
                    .usePolicyDefaults(true)
                    .build())
                .xIbmTenantId("x_ibm_tenant_id")
                .build());
    
        }
    }
    
    resources:
      backupRecoveryProtectionGroupRunRequestInstance:
        type: ibm:BackupRecoveryProtectionGroupRunRequest
        properties:
          groupId: 123:11:1
          objects:
            - appIds:
                - 1
              id: 1
              physicalParams:
                metadataFilePath: metadata_file_path
          runType: kRegular
          targetsConfig:
            archivals:
              - archivalTargetType: Tape
                copyOnlyFullySuccessful: true
                id: 1
                retention:
                  dataLockConfig:
                    duration: 1
                    enableWormOnExternalTarget: true
                    mode: Compliance
                    unit: Days
                  duration: 1
                  unit: Days
            cloudReplications:
              - awsTarget:
                  name: name
                  region: 1
                  regionName: region_name
                  sourceId: 1
                azureTarget:
                  name: name
                  resourceGroup: 1
                  resourceGroupName: resource_group_name
                  sourceId: 1
                  storageAccount: 1
                  storageAccountName: storage_account_name
                  storageContainer: 1
                  storageContainerName: storage_container_name
                  storageResourceGroup: 1
                  storageResourceGroupName: storage_resource_group_name
                retention:
                  dataLockConfig:
                    duration: 1
                    enableWormOnExternalTarget: true
                    mode: Compliance
                    unit: Days
                  duration: 1
                  unit: Days
                targetType: AWS
            replications:
              - id: 1
                retention:
                  dataLockConfig:
                    duration: 1
                    enableWormOnExternalTarget: true
                    mode: Compliance
                    unit: Days
                  duration: 1
                  unit: Days
            usePolicyDefaults: true
          xIbmTenantId: x_ibm_tenant_id
    

    Create BackupRecoveryProtectionGroupRunRequest Resource

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

    Constructor syntax

    new BackupRecoveryProtectionGroupRunRequest(name: string, args: BackupRecoveryProtectionGroupRunRequestArgs, opts?: CustomResourceOptions);
    @overload
    def BackupRecoveryProtectionGroupRunRequest(resource_name: str,
                                                args: BackupRecoveryProtectionGroupRunRequestArgs,
                                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def BackupRecoveryProtectionGroupRunRequest(resource_name: str,
                                                opts: Optional[ResourceOptions] = None,
                                                group_id: Optional[str] = None,
                                                run_type: Optional[str] = None,
                                                x_ibm_tenant_id: Optional[str] = None,
                                                backup_recovery_protection_group_run_request_id: Optional[str] = None,
                                                objects: Optional[Sequence[BackupRecoveryProtectionGroupRunRequestObjectArgs]] = None,
                                                targets_config: Optional[BackupRecoveryProtectionGroupRunRequestTargetsConfigArgs] = None)
    func NewBackupRecoveryProtectionGroupRunRequest(ctx *Context, name string, args BackupRecoveryProtectionGroupRunRequestArgs, opts ...ResourceOption) (*BackupRecoveryProtectionGroupRunRequest, error)
    public BackupRecoveryProtectionGroupRunRequest(string name, BackupRecoveryProtectionGroupRunRequestArgs args, CustomResourceOptions? opts = null)
    public BackupRecoveryProtectionGroupRunRequest(String name, BackupRecoveryProtectionGroupRunRequestArgs args)
    public BackupRecoveryProtectionGroupRunRequest(String name, BackupRecoveryProtectionGroupRunRequestArgs args, CustomResourceOptions options)
    
    type: ibm:BackupRecoveryProtectionGroupRunRequest
    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 BackupRecoveryProtectionGroupRunRequestArgs
    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 BackupRecoveryProtectionGroupRunRequestArgs
    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 BackupRecoveryProtectionGroupRunRequestArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BackupRecoveryProtectionGroupRunRequestArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BackupRecoveryProtectionGroupRunRequestArgs
    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 backupRecoveryProtectionGroupRunRequestResource = new Ibm.BackupRecoveryProtectionGroupRunRequest("backupRecoveryProtectionGroupRunRequestResource", new()
    {
        GroupId = "string",
        RunType = "string",
        XIbmTenantId = "string",
        BackupRecoveryProtectionGroupRunRequestId = "string",
        Objects = new[]
        {
            new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestObjectArgs
            {
                Id = 0,
                AppIds = new[]
                {
                    0,
                },
                PhysicalParams = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestObjectPhysicalParamsArgs
                {
                    MetadataFilePath = "string",
                },
            },
        },
        TargetsConfig = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigArgs
        {
            Archivals = new[]
            {
                new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalArgs
                {
                    ArchivalTargetType = "string",
                    Id = 0,
                    CopyOnlyFullySuccessful = false,
                    Retention = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionArgs
                    {
                        Duration = 0,
                        Unit = "string",
                        DataLockConfig = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionDataLockConfigArgs
                        {
                            Duration = 0,
                            Mode = "string",
                            Unit = "string",
                            EnableWormOnExternalTarget = false,
                        },
                    },
                },
            },
            CloudReplications = new[]
            {
                new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationArgs
                {
                    TargetType = "string",
                    AwsTarget = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAwsTargetArgs
                    {
                        Region = 0,
                        SourceId = 0,
                        Name = "string",
                        RegionName = "string",
                    },
                    AzureTarget = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAzureTargetArgs
                    {
                        SourceId = 0,
                        Name = "string",
                        ResourceGroup = 0,
                        ResourceGroupName = "string",
                        StorageAccount = 0,
                        StorageAccountName = "string",
                        StorageContainer = 0,
                        StorageContainerName = "string",
                        StorageResourceGroup = 0,
                        StorageResourceGroupName = "string",
                    },
                    Retention = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionArgs
                    {
                        Duration = 0,
                        Unit = "string",
                        DataLockConfig = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionDataLockConfigArgs
                        {
                            Duration = 0,
                            Mode = "string",
                            Unit = "string",
                            EnableWormOnExternalTarget = false,
                        },
                    },
                },
            },
            Replications = new[]
            {
                new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationArgs
                {
                    Id = 0,
                    Retention = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionArgs
                    {
                        Duration = 0,
                        Unit = "string",
                        DataLockConfig = new Ibm.Inputs.BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionDataLockConfigArgs
                        {
                            Duration = 0,
                            Mode = "string",
                            Unit = "string",
                            EnableWormOnExternalTarget = false,
                        },
                    },
                },
            },
            UsePolicyDefaults = false,
        },
    });
    
    example, err := ibm.NewBackupRecoveryProtectionGroupRunRequest(ctx, "backupRecoveryProtectionGroupRunRequestResource", &ibm.BackupRecoveryProtectionGroupRunRequestArgs{
    	GroupId:      pulumi.String("string"),
    	RunType:      pulumi.String("string"),
    	XIbmTenantId: pulumi.String("string"),
    	BackupRecoveryProtectionGroupRunRequestId: pulumi.String("string"),
    	Objects: ibm.BackupRecoveryProtectionGroupRunRequestObjectArray{
    		&ibm.BackupRecoveryProtectionGroupRunRequestObjectArgs{
    			Id: pulumi.Float64(0),
    			AppIds: pulumi.Float64Array{
    				pulumi.Float64(0),
    			},
    			PhysicalParams: &ibm.BackupRecoveryProtectionGroupRunRequestObjectPhysicalParamsArgs{
    				MetadataFilePath: pulumi.String("string"),
    			},
    		},
    	},
    	TargetsConfig: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigArgs{
    		Archivals: ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalArray{
    			&ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalArgs{
    				ArchivalTargetType:      pulumi.String("string"),
    				Id:                      pulumi.Float64(0),
    				CopyOnlyFullySuccessful: pulumi.Bool(false),
    				Retention: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionArgs{
    					Duration: pulumi.Float64(0),
    					Unit:     pulumi.String("string"),
    					DataLockConfig: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionDataLockConfigArgs{
    						Duration:                   pulumi.Float64(0),
    						Mode:                       pulumi.String("string"),
    						Unit:                       pulumi.String("string"),
    						EnableWormOnExternalTarget: pulumi.Bool(false),
    					},
    				},
    			},
    		},
    		CloudReplications: ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationArray{
    			&ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationArgs{
    				TargetType: pulumi.String("string"),
    				AwsTarget: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAwsTargetArgs{
    					Region:     pulumi.Float64(0),
    					SourceId:   pulumi.Float64(0),
    					Name:       pulumi.String("string"),
    					RegionName: pulumi.String("string"),
    				},
    				AzureTarget: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAzureTargetArgs{
    					SourceId:                 pulumi.Float64(0),
    					Name:                     pulumi.String("string"),
    					ResourceGroup:            pulumi.Float64(0),
    					ResourceGroupName:        pulumi.String("string"),
    					StorageAccount:           pulumi.Float64(0),
    					StorageAccountName:       pulumi.String("string"),
    					StorageContainer:         pulumi.Float64(0),
    					StorageContainerName:     pulumi.String("string"),
    					StorageResourceGroup:     pulumi.Float64(0),
    					StorageResourceGroupName: pulumi.String("string"),
    				},
    				Retention: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionArgs{
    					Duration: pulumi.Float64(0),
    					Unit:     pulumi.String("string"),
    					DataLockConfig: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionDataLockConfigArgs{
    						Duration:                   pulumi.Float64(0),
    						Mode:                       pulumi.String("string"),
    						Unit:                       pulumi.String("string"),
    						EnableWormOnExternalTarget: pulumi.Bool(false),
    					},
    				},
    			},
    		},
    		Replications: ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationArray{
    			&ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationArgs{
    				Id: pulumi.Float64(0),
    				Retention: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionArgs{
    					Duration: pulumi.Float64(0),
    					Unit:     pulumi.String("string"),
    					DataLockConfig: &ibm.BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionDataLockConfigArgs{
    						Duration:                   pulumi.Float64(0),
    						Mode:                       pulumi.String("string"),
    						Unit:                       pulumi.String("string"),
    						EnableWormOnExternalTarget: pulumi.Bool(false),
    					},
    				},
    			},
    		},
    		UsePolicyDefaults: pulumi.Bool(false),
    	},
    })
    
    var backupRecoveryProtectionGroupRunRequestResource = new BackupRecoveryProtectionGroupRunRequest("backupRecoveryProtectionGroupRunRequestResource", BackupRecoveryProtectionGroupRunRequestArgs.builder()
        .groupId("string")
        .runType("string")
        .xIbmTenantId("string")
        .backupRecoveryProtectionGroupRunRequestId("string")
        .objects(BackupRecoveryProtectionGroupRunRequestObjectArgs.builder()
            .id(0)
            .appIds(0)
            .physicalParams(BackupRecoveryProtectionGroupRunRequestObjectPhysicalParamsArgs.builder()
                .metadataFilePath("string")
                .build())
            .build())
        .targetsConfig(BackupRecoveryProtectionGroupRunRequestTargetsConfigArgs.builder()
            .archivals(BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalArgs.builder()
                .archivalTargetType("string")
                .id(0)
                .copyOnlyFullySuccessful(false)
                .retention(BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionArgs.builder()
                    .duration(0)
                    .unit("string")
                    .dataLockConfig(BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionDataLockConfigArgs.builder()
                        .duration(0)
                        .mode("string")
                        .unit("string")
                        .enableWormOnExternalTarget(false)
                        .build())
                    .build())
                .build())
            .cloudReplications(BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationArgs.builder()
                .targetType("string")
                .awsTarget(BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAwsTargetArgs.builder()
                    .region(0)
                    .sourceId(0)
                    .name("string")
                    .regionName("string")
                    .build())
                .azureTarget(BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAzureTargetArgs.builder()
                    .sourceId(0)
                    .name("string")
                    .resourceGroup(0)
                    .resourceGroupName("string")
                    .storageAccount(0)
                    .storageAccountName("string")
                    .storageContainer(0)
                    .storageContainerName("string")
                    .storageResourceGroup(0)
                    .storageResourceGroupName("string")
                    .build())
                .retention(BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionArgs.builder()
                    .duration(0)
                    .unit("string")
                    .dataLockConfig(BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionDataLockConfigArgs.builder()
                        .duration(0)
                        .mode("string")
                        .unit("string")
                        .enableWormOnExternalTarget(false)
                        .build())
                    .build())
                .build())
            .replications(BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationArgs.builder()
                .id(0)
                .retention(BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionArgs.builder()
                    .duration(0)
                    .unit("string")
                    .dataLockConfig(BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionDataLockConfigArgs.builder()
                        .duration(0)
                        .mode("string")
                        .unit("string")
                        .enableWormOnExternalTarget(false)
                        .build())
                    .build())
                .build())
            .usePolicyDefaults(false)
            .build())
        .build());
    
    backup_recovery_protection_group_run_request_resource = ibm.BackupRecoveryProtectionGroupRunRequest("backupRecoveryProtectionGroupRunRequestResource",
        group_id="string",
        run_type="string",
        x_ibm_tenant_id="string",
        backup_recovery_protection_group_run_request_id="string",
        objects=[{
            "id": 0,
            "app_ids": [0],
            "physical_params": {
                "metadata_file_path": "string",
            },
        }],
        targets_config={
            "archivals": [{
                "archival_target_type": "string",
                "id": 0,
                "copy_only_fully_successful": False,
                "retention": {
                    "duration": 0,
                    "unit": "string",
                    "data_lock_config": {
                        "duration": 0,
                        "mode": "string",
                        "unit": "string",
                        "enable_worm_on_external_target": False,
                    },
                },
            }],
            "cloud_replications": [{
                "target_type": "string",
                "aws_target": {
                    "region": 0,
                    "source_id": 0,
                    "name": "string",
                    "region_name": "string",
                },
                "azure_target": {
                    "source_id": 0,
                    "name": "string",
                    "resource_group": 0,
                    "resource_group_name": "string",
                    "storage_account": 0,
                    "storage_account_name": "string",
                    "storage_container": 0,
                    "storage_container_name": "string",
                    "storage_resource_group": 0,
                    "storage_resource_group_name": "string",
                },
                "retention": {
                    "duration": 0,
                    "unit": "string",
                    "data_lock_config": {
                        "duration": 0,
                        "mode": "string",
                        "unit": "string",
                        "enable_worm_on_external_target": False,
                    },
                },
            }],
            "replications": [{
                "id": 0,
                "retention": {
                    "duration": 0,
                    "unit": "string",
                    "data_lock_config": {
                        "duration": 0,
                        "mode": "string",
                        "unit": "string",
                        "enable_worm_on_external_target": False,
                    },
                },
            }],
            "use_policy_defaults": False,
        })
    
    const backupRecoveryProtectionGroupRunRequestResource = new ibm.BackupRecoveryProtectionGroupRunRequest("backupRecoveryProtectionGroupRunRequestResource", {
        groupId: "string",
        runType: "string",
        xIbmTenantId: "string",
        backupRecoveryProtectionGroupRunRequestId: "string",
        objects: [{
            id: 0,
            appIds: [0],
            physicalParams: {
                metadataFilePath: "string",
            },
        }],
        targetsConfig: {
            archivals: [{
                archivalTargetType: "string",
                id: 0,
                copyOnlyFullySuccessful: false,
                retention: {
                    duration: 0,
                    unit: "string",
                    dataLockConfig: {
                        duration: 0,
                        mode: "string",
                        unit: "string",
                        enableWormOnExternalTarget: false,
                    },
                },
            }],
            cloudReplications: [{
                targetType: "string",
                awsTarget: {
                    region: 0,
                    sourceId: 0,
                    name: "string",
                    regionName: "string",
                },
                azureTarget: {
                    sourceId: 0,
                    name: "string",
                    resourceGroup: 0,
                    resourceGroupName: "string",
                    storageAccount: 0,
                    storageAccountName: "string",
                    storageContainer: 0,
                    storageContainerName: "string",
                    storageResourceGroup: 0,
                    storageResourceGroupName: "string",
                },
                retention: {
                    duration: 0,
                    unit: "string",
                    dataLockConfig: {
                        duration: 0,
                        mode: "string",
                        unit: "string",
                        enableWormOnExternalTarget: false,
                    },
                },
            }],
            replications: [{
                id: 0,
                retention: {
                    duration: 0,
                    unit: "string",
                    dataLockConfig: {
                        duration: 0,
                        mode: "string",
                        unit: "string",
                        enableWormOnExternalTarget: false,
                    },
                },
            }],
            usePolicyDefaults: false,
        },
    });
    
    type: ibm:BackupRecoveryProtectionGroupRunRequest
    properties:
        backupRecoveryProtectionGroupRunRequestId: string
        groupId: string
        objects:
            - appIds:
                - 0
              id: 0
              physicalParams:
                metadataFilePath: string
        runType: string
        targetsConfig:
            archivals:
                - archivalTargetType: string
                  copyOnlyFullySuccessful: false
                  id: 0
                  retention:
                    dataLockConfig:
                        duration: 0
                        enableWormOnExternalTarget: false
                        mode: string
                        unit: string
                    duration: 0
                    unit: string
            cloudReplications:
                - awsTarget:
                    name: string
                    region: 0
                    regionName: string
                    sourceId: 0
                  azureTarget:
                    name: string
                    resourceGroup: 0
                    resourceGroupName: string
                    sourceId: 0
                    storageAccount: 0
                    storageAccountName: string
                    storageContainer: 0
                    storageContainerName: string
                    storageResourceGroup: 0
                    storageResourceGroupName: string
                  retention:
                    dataLockConfig:
                        duration: 0
                        enableWormOnExternalTarget: false
                        mode: string
                        unit: string
                    duration: 0
                    unit: string
                  targetType: string
            replications:
                - id: 0
                  retention:
                    dataLockConfig:
                        duration: 0
                        enableWormOnExternalTarget: false
                        mode: string
                        unit: string
                    duration: 0
                    unit: string
            usePolicyDefaults: false
        xIbmTenantId: string
    

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

    GroupId string
    Specifies the protection group ID
    RunType string
    Type of protection run. 'kRegular' indicates an incremental (CBT) backup. Incremental backups utilizing CBT (if supported) are captured of the target protection objects. The first run of a kRegular schedule captures all the blocks. 'kFull' indicates a full (no CBT) backup. A complete backup (all blocks) of the target protection objects are always captured and Change Block Tracking (CBT) is not utilized. 'kLog' indicates a Database Log backup. Capture the database transaction logs to allow rolling back to a specific point in time. 'kSystem' indicates system volume backup. It produces an image for bare metal recovery.

    • Constraints: Allowable values are: kRegular, kFull, kLog, kSystem, kHydrateCDP, kStorageArraySnapshot.
    XIbmTenantId string
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    BackupRecoveryProtectionGroupRunRequestId string
    The unique identifier of the backup_recovery_protection_group_run_request.
    Objects List<BackupRecoveryProtectionGroupRunRequestObject>
    Specifies the list of objects to be protected by this Protection Group run. These can be leaf objects or non-leaf objects in the protection hierarchy. This must be specified only if a subset of objects from the Protection Groups needs to be protected. Nested schema for objects:
    TargetsConfig BackupRecoveryProtectionGroupRunRequestTargetsConfig
    Specifies the replication and archival targets. Nested schema for targets_config:
    GroupId string
    Specifies the protection group ID
    RunType string
    Type of protection run. 'kRegular' indicates an incremental (CBT) backup. Incremental backups utilizing CBT (if supported) are captured of the target protection objects. The first run of a kRegular schedule captures all the blocks. 'kFull' indicates a full (no CBT) backup. A complete backup (all blocks) of the target protection objects are always captured and Change Block Tracking (CBT) is not utilized. 'kLog' indicates a Database Log backup. Capture the database transaction logs to allow rolling back to a specific point in time. 'kSystem' indicates system volume backup. It produces an image for bare metal recovery.

    • Constraints: Allowable values are: kRegular, kFull, kLog, kSystem, kHydrateCDP, kStorageArraySnapshot.
    XIbmTenantId string
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    BackupRecoveryProtectionGroupRunRequestId string
    The unique identifier of the backup_recovery_protection_group_run_request.
    Objects []BackupRecoveryProtectionGroupRunRequestObjectArgs
    Specifies the list of objects to be protected by this Protection Group run. These can be leaf objects or non-leaf objects in the protection hierarchy. This must be specified only if a subset of objects from the Protection Groups needs to be protected. Nested schema for objects:
    TargetsConfig BackupRecoveryProtectionGroupRunRequestTargetsConfigArgs
    Specifies the replication and archival targets. Nested schema for targets_config:
    groupId String
    Specifies the protection group ID
    runType String
    Type of protection run. 'kRegular' indicates an incremental (CBT) backup. Incremental backups utilizing CBT (if supported) are captured of the target protection objects. The first run of a kRegular schedule captures all the blocks. 'kFull' indicates a full (no CBT) backup. A complete backup (all blocks) of the target protection objects are always captured and Change Block Tracking (CBT) is not utilized. 'kLog' indicates a Database Log backup. Capture the database transaction logs to allow rolling back to a specific point in time. 'kSystem' indicates system volume backup. It produces an image for bare metal recovery.

    • Constraints: Allowable values are: kRegular, kFull, kLog, kSystem, kHydrateCDP, kStorageArraySnapshot.
    xIbmTenantId String
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    backupRecoveryProtectionGroupRunRequestId String
    The unique identifier of the backup_recovery_protection_group_run_request.
    objects List<BackupRecoveryProtectionGroupRunRequestObject>
    Specifies the list of objects to be protected by this Protection Group run. These can be leaf objects or non-leaf objects in the protection hierarchy. This must be specified only if a subset of objects from the Protection Groups needs to be protected. Nested schema for objects:
    targetsConfig BackupRecoveryProtectionGroupRunRequestTargetsConfig
    Specifies the replication and archival targets. Nested schema for targets_config:
    groupId string
    Specifies the protection group ID
    runType string
    Type of protection run. 'kRegular' indicates an incremental (CBT) backup. Incremental backups utilizing CBT (if supported) are captured of the target protection objects. The first run of a kRegular schedule captures all the blocks. 'kFull' indicates a full (no CBT) backup. A complete backup (all blocks) of the target protection objects are always captured and Change Block Tracking (CBT) is not utilized. 'kLog' indicates a Database Log backup. Capture the database transaction logs to allow rolling back to a specific point in time. 'kSystem' indicates system volume backup. It produces an image for bare metal recovery.

    • Constraints: Allowable values are: kRegular, kFull, kLog, kSystem, kHydrateCDP, kStorageArraySnapshot.
    xIbmTenantId string
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    backupRecoveryProtectionGroupRunRequestId string
    The unique identifier of the backup_recovery_protection_group_run_request.
    objects BackupRecoveryProtectionGroupRunRequestObject[]
    Specifies the list of objects to be protected by this Protection Group run. These can be leaf objects or non-leaf objects in the protection hierarchy. This must be specified only if a subset of objects from the Protection Groups needs to be protected. Nested schema for objects:
    targetsConfig BackupRecoveryProtectionGroupRunRequestTargetsConfig
    Specifies the replication and archival targets. Nested schema for targets_config:
    group_id str
    Specifies the protection group ID
    run_type str
    Type of protection run. 'kRegular' indicates an incremental (CBT) backup. Incremental backups utilizing CBT (if supported) are captured of the target protection objects. The first run of a kRegular schedule captures all the blocks. 'kFull' indicates a full (no CBT) backup. A complete backup (all blocks) of the target protection objects are always captured and Change Block Tracking (CBT) is not utilized. 'kLog' indicates a Database Log backup. Capture the database transaction logs to allow rolling back to a specific point in time. 'kSystem' indicates system volume backup. It produces an image for bare metal recovery.

    • Constraints: Allowable values are: kRegular, kFull, kLog, kSystem, kHydrateCDP, kStorageArraySnapshot.
    x_ibm_tenant_id str
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    backup_recovery_protection_group_run_request_id str
    The unique identifier of the backup_recovery_protection_group_run_request.
    objects Sequence[BackupRecoveryProtectionGroupRunRequestObjectArgs]
    Specifies the list of objects to be protected by this Protection Group run. These can be leaf objects or non-leaf objects in the protection hierarchy. This must be specified only if a subset of objects from the Protection Groups needs to be protected. Nested schema for objects:
    targets_config BackupRecoveryProtectionGroupRunRequestTargetsConfigArgs
    Specifies the replication and archival targets. Nested schema for targets_config:
    groupId String
    Specifies the protection group ID
    runType String
    Type of protection run. 'kRegular' indicates an incremental (CBT) backup. Incremental backups utilizing CBT (if supported) are captured of the target protection objects. The first run of a kRegular schedule captures all the blocks. 'kFull' indicates a full (no CBT) backup. A complete backup (all blocks) of the target protection objects are always captured and Change Block Tracking (CBT) is not utilized. 'kLog' indicates a Database Log backup. Capture the database transaction logs to allow rolling back to a specific point in time. 'kSystem' indicates system volume backup. It produces an image for bare metal recovery.

    • Constraints: Allowable values are: kRegular, kFull, kLog, kSystem, kHydrateCDP, kStorageArraySnapshot.
    xIbmTenantId String
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    backupRecoveryProtectionGroupRunRequestId String
    The unique identifier of the backup_recovery_protection_group_run_request.
    objects List<Property Map>
    Specifies the list of objects to be protected by this Protection Group run. These can be leaf objects or non-leaf objects in the protection hierarchy. This must be specified only if a subset of objects from the Protection Groups needs to be protected. Nested schema for objects:
    targetsConfig Property Map
    Specifies the replication and archival targets. Nested schema for targets_config:

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing BackupRecoveryProtectionGroupRunRequest Resource

    Get an existing BackupRecoveryProtectionGroupRunRequest 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?: BackupRecoveryProtectionGroupRunRequestState, opts?: CustomResourceOptions): BackupRecoveryProtectionGroupRunRequest
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            backup_recovery_protection_group_run_request_id: Optional[str] = None,
            group_id: Optional[str] = None,
            objects: Optional[Sequence[BackupRecoveryProtectionGroupRunRequestObjectArgs]] = None,
            run_type: Optional[str] = None,
            targets_config: Optional[BackupRecoveryProtectionGroupRunRequestTargetsConfigArgs] = None,
            x_ibm_tenant_id: Optional[str] = None) -> BackupRecoveryProtectionGroupRunRequest
    func GetBackupRecoveryProtectionGroupRunRequest(ctx *Context, name string, id IDInput, state *BackupRecoveryProtectionGroupRunRequestState, opts ...ResourceOption) (*BackupRecoveryProtectionGroupRunRequest, error)
    public static BackupRecoveryProtectionGroupRunRequest Get(string name, Input<string> id, BackupRecoveryProtectionGroupRunRequestState? state, CustomResourceOptions? opts = null)
    public static BackupRecoveryProtectionGroupRunRequest get(String name, Output<String> id, BackupRecoveryProtectionGroupRunRequestState state, CustomResourceOptions options)
    resources:  _:    type: ibm:BackupRecoveryProtectionGroupRunRequest    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:
    BackupRecoveryProtectionGroupRunRequestId string
    The unique identifier of the backup_recovery_protection_group_run_request.
    GroupId string
    Specifies the protection group ID
    Objects List<BackupRecoveryProtectionGroupRunRequestObject>
    Specifies the list of objects to be protected by this Protection Group run. These can be leaf objects or non-leaf objects in the protection hierarchy. This must be specified only if a subset of objects from the Protection Groups needs to be protected. Nested schema for objects:
    RunType string
    Type of protection run. 'kRegular' indicates an incremental (CBT) backup. Incremental backups utilizing CBT (if supported) are captured of the target protection objects. The first run of a kRegular schedule captures all the blocks. 'kFull' indicates a full (no CBT) backup. A complete backup (all blocks) of the target protection objects are always captured and Change Block Tracking (CBT) is not utilized. 'kLog' indicates a Database Log backup. Capture the database transaction logs to allow rolling back to a specific point in time. 'kSystem' indicates system volume backup. It produces an image for bare metal recovery.

    • Constraints: Allowable values are: kRegular, kFull, kLog, kSystem, kHydrateCDP, kStorageArraySnapshot.
    TargetsConfig BackupRecoveryProtectionGroupRunRequestTargetsConfig
    Specifies the replication and archival targets. Nested schema for targets_config:
    XIbmTenantId string
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    BackupRecoveryProtectionGroupRunRequestId string
    The unique identifier of the backup_recovery_protection_group_run_request.
    GroupId string
    Specifies the protection group ID
    Objects []BackupRecoveryProtectionGroupRunRequestObjectArgs
    Specifies the list of objects to be protected by this Protection Group run. These can be leaf objects or non-leaf objects in the protection hierarchy. This must be specified only if a subset of objects from the Protection Groups needs to be protected. Nested schema for objects:
    RunType string
    Type of protection run. 'kRegular' indicates an incremental (CBT) backup. Incremental backups utilizing CBT (if supported) are captured of the target protection objects. The first run of a kRegular schedule captures all the blocks. 'kFull' indicates a full (no CBT) backup. A complete backup (all blocks) of the target protection objects are always captured and Change Block Tracking (CBT) is not utilized. 'kLog' indicates a Database Log backup. Capture the database transaction logs to allow rolling back to a specific point in time. 'kSystem' indicates system volume backup. It produces an image for bare metal recovery.

    • Constraints: Allowable values are: kRegular, kFull, kLog, kSystem, kHydrateCDP, kStorageArraySnapshot.
    TargetsConfig BackupRecoveryProtectionGroupRunRequestTargetsConfigArgs
    Specifies the replication and archival targets. Nested schema for targets_config:
    XIbmTenantId string
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    backupRecoveryProtectionGroupRunRequestId String
    The unique identifier of the backup_recovery_protection_group_run_request.
    groupId String
    Specifies the protection group ID
    objects List<BackupRecoveryProtectionGroupRunRequestObject>
    Specifies the list of objects to be protected by this Protection Group run. These can be leaf objects or non-leaf objects in the protection hierarchy. This must be specified only if a subset of objects from the Protection Groups needs to be protected. Nested schema for objects:
    runType String
    Type of protection run. 'kRegular' indicates an incremental (CBT) backup. Incremental backups utilizing CBT (if supported) are captured of the target protection objects. The first run of a kRegular schedule captures all the blocks. 'kFull' indicates a full (no CBT) backup. A complete backup (all blocks) of the target protection objects are always captured and Change Block Tracking (CBT) is not utilized. 'kLog' indicates a Database Log backup. Capture the database transaction logs to allow rolling back to a specific point in time. 'kSystem' indicates system volume backup. It produces an image for bare metal recovery.

    • Constraints: Allowable values are: kRegular, kFull, kLog, kSystem, kHydrateCDP, kStorageArraySnapshot.
    targetsConfig BackupRecoveryProtectionGroupRunRequestTargetsConfig
    Specifies the replication and archival targets. Nested schema for targets_config:
    xIbmTenantId String
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    backupRecoveryProtectionGroupRunRequestId string
    The unique identifier of the backup_recovery_protection_group_run_request.
    groupId string
    Specifies the protection group ID
    objects BackupRecoveryProtectionGroupRunRequestObject[]
    Specifies the list of objects to be protected by this Protection Group run. These can be leaf objects or non-leaf objects in the protection hierarchy. This must be specified only if a subset of objects from the Protection Groups needs to be protected. Nested schema for objects:
    runType string
    Type of protection run. 'kRegular' indicates an incremental (CBT) backup. Incremental backups utilizing CBT (if supported) are captured of the target protection objects. The first run of a kRegular schedule captures all the blocks. 'kFull' indicates a full (no CBT) backup. A complete backup (all blocks) of the target protection objects are always captured and Change Block Tracking (CBT) is not utilized. 'kLog' indicates a Database Log backup. Capture the database transaction logs to allow rolling back to a specific point in time. 'kSystem' indicates system volume backup. It produces an image for bare metal recovery.

    • Constraints: Allowable values are: kRegular, kFull, kLog, kSystem, kHydrateCDP, kStorageArraySnapshot.
    targetsConfig BackupRecoveryProtectionGroupRunRequestTargetsConfig
    Specifies the replication and archival targets. Nested schema for targets_config:
    xIbmTenantId string
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    backup_recovery_protection_group_run_request_id str
    The unique identifier of the backup_recovery_protection_group_run_request.
    group_id str
    Specifies the protection group ID
    objects Sequence[BackupRecoveryProtectionGroupRunRequestObjectArgs]
    Specifies the list of objects to be protected by this Protection Group run. These can be leaf objects or non-leaf objects in the protection hierarchy. This must be specified only if a subset of objects from the Protection Groups needs to be protected. Nested schema for objects:
    run_type str
    Type of protection run. 'kRegular' indicates an incremental (CBT) backup. Incremental backups utilizing CBT (if supported) are captured of the target protection objects. The first run of a kRegular schedule captures all the blocks. 'kFull' indicates a full (no CBT) backup. A complete backup (all blocks) of the target protection objects are always captured and Change Block Tracking (CBT) is not utilized. 'kLog' indicates a Database Log backup. Capture the database transaction logs to allow rolling back to a specific point in time. 'kSystem' indicates system volume backup. It produces an image for bare metal recovery.

    • Constraints: Allowable values are: kRegular, kFull, kLog, kSystem, kHydrateCDP, kStorageArraySnapshot.
    targets_config BackupRecoveryProtectionGroupRunRequestTargetsConfigArgs
    Specifies the replication and archival targets. Nested schema for targets_config:
    x_ibm_tenant_id str
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
    backupRecoveryProtectionGroupRunRequestId String
    The unique identifier of the backup_recovery_protection_group_run_request.
    groupId String
    Specifies the protection group ID
    objects List<Property Map>
    Specifies the list of objects to be protected by this Protection Group run. These can be leaf objects or non-leaf objects in the protection hierarchy. This must be specified only if a subset of objects from the Protection Groups needs to be protected. Nested schema for objects:
    runType String
    Type of protection run. 'kRegular' indicates an incremental (CBT) backup. Incremental backups utilizing CBT (if supported) are captured of the target protection objects. The first run of a kRegular schedule captures all the blocks. 'kFull' indicates a full (no CBT) backup. A complete backup (all blocks) of the target protection objects are always captured and Change Block Tracking (CBT) is not utilized. 'kLog' indicates a Database Log backup. Capture the database transaction logs to allow rolling back to a specific point in time. 'kSystem' indicates system volume backup. It produces an image for bare metal recovery.

    • Constraints: Allowable values are: kRegular, kFull, kLog, kSystem, kHydrateCDP, kStorageArraySnapshot.
    targetsConfig Property Map
    Specifies the replication and archival targets. Nested schema for targets_config:
    xIbmTenantId String
    Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.

    Supporting Types

    BackupRecoveryProtectionGroupRunRequestObject, BackupRecoveryProtectionGroupRunRequestObjectArgs

    Id double
    Specifies the id of object.
    AppIds List<double>
    Specifies a list of ids of applications.
    PhysicalParams BackupRecoveryProtectionGroupRunRequestObjectPhysicalParams
    Specifies physical parameters for this run. Nested schema for physical_params:
    Id float64
    Specifies the id of object.
    AppIds []float64
    Specifies a list of ids of applications.
    PhysicalParams BackupRecoveryProtectionGroupRunRequestObjectPhysicalParams
    Specifies physical parameters for this run. Nested schema for physical_params:
    id Double
    Specifies the id of object.
    appIds List<Double>
    Specifies a list of ids of applications.
    physicalParams BackupRecoveryProtectionGroupRunRequestObjectPhysicalParams
    Specifies physical parameters for this run. Nested schema for physical_params:
    id number
    Specifies the id of object.
    appIds number[]
    Specifies a list of ids of applications.
    physicalParams BackupRecoveryProtectionGroupRunRequestObjectPhysicalParams
    Specifies physical parameters for this run. Nested schema for physical_params:
    id float
    Specifies the id of object.
    app_ids Sequence[float]
    Specifies a list of ids of applications.
    physical_params BackupRecoveryProtectionGroupRunRequestObjectPhysicalParams
    Specifies physical parameters for this run. Nested schema for physical_params:
    id Number
    Specifies the id of object.
    appIds List<Number>
    Specifies a list of ids of applications.
    physicalParams Property Map
    Specifies physical parameters for this run. Nested schema for physical_params:

    BackupRecoveryProtectionGroupRunRequestObjectPhysicalParams, BackupRecoveryProtectionGroupRunRequestObjectPhysicalParamsArgs

    MetadataFilePath string
    Specifies metadata file path during run-now requests for physical file based backups for some specific source. If specified, it will override any default metadata/directive file path set at the object level for the source. Also note that if the job default does not specify a metadata/directive file path for the source, then specifying this field for that source during run-now request will be rejected.
    MetadataFilePath string
    Specifies metadata file path during run-now requests for physical file based backups for some specific source. If specified, it will override any default metadata/directive file path set at the object level for the source. Also note that if the job default does not specify a metadata/directive file path for the source, then specifying this field for that source during run-now request will be rejected.
    metadataFilePath String
    Specifies metadata file path during run-now requests for physical file based backups for some specific source. If specified, it will override any default metadata/directive file path set at the object level for the source. Also note that if the job default does not specify a metadata/directive file path for the source, then specifying this field for that source during run-now request will be rejected.
    metadataFilePath string
    Specifies metadata file path during run-now requests for physical file based backups for some specific source. If specified, it will override any default metadata/directive file path set at the object level for the source. Also note that if the job default does not specify a metadata/directive file path for the source, then specifying this field for that source during run-now request will be rejected.
    metadata_file_path str
    Specifies metadata file path during run-now requests for physical file based backups for some specific source. If specified, it will override any default metadata/directive file path set at the object level for the source. Also note that if the job default does not specify a metadata/directive file path for the source, then specifying this field for that source during run-now request will be rejected.
    metadataFilePath String
    Specifies metadata file path during run-now requests for physical file based backups for some specific source. If specified, it will override any default metadata/directive file path set at the object level for the source. Also note that if the job default does not specify a metadata/directive file path for the source, then specifying this field for that source during run-now request will be rejected.

    BackupRecoveryProtectionGroupRunRequestTargetsConfig, BackupRecoveryProtectionGroupRunRequestTargetsConfigArgs

    Archivals List<BackupRecoveryProtectionGroupRunRequestTargetsConfigArchival>
    Specifies a list of archival targets configurations. Nested schema for archivals:
    CloudReplications List<BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplication>
    Specifies a list of cloud replication targets configurations. Nested schema for cloud_replications:
    Replications List<BackupRecoveryProtectionGroupRunRequestTargetsConfigReplication>
    Specifies a list of replication targets configurations. Nested schema for replications:
    UsePolicyDefaults bool
    Specifies whether to use default policy settings or not. If specified as true then 'replications' and 'arcihvals' should not be specified. In case of true value, replicatioan targets congfigured in the policy will be added internally.

    • Constraints: The default value is false.
    Archivals []BackupRecoveryProtectionGroupRunRequestTargetsConfigArchival
    Specifies a list of archival targets configurations. Nested schema for archivals:
    CloudReplications []BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplication
    Specifies a list of cloud replication targets configurations. Nested schema for cloud_replications:
    Replications []BackupRecoveryProtectionGroupRunRequestTargetsConfigReplication
    Specifies a list of replication targets configurations. Nested schema for replications:
    UsePolicyDefaults bool
    Specifies whether to use default policy settings or not. If specified as true then 'replications' and 'arcihvals' should not be specified. In case of true value, replicatioan targets congfigured in the policy will be added internally.

    • Constraints: The default value is false.
    archivals List<BackupRecoveryProtectionGroupRunRequestTargetsConfigArchival>
    Specifies a list of archival targets configurations. Nested schema for archivals:
    cloudReplications List<BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplication>
    Specifies a list of cloud replication targets configurations. Nested schema for cloud_replications:
    replications List<BackupRecoveryProtectionGroupRunRequestTargetsConfigReplication>
    Specifies a list of replication targets configurations. Nested schema for replications:
    usePolicyDefaults Boolean
    Specifies whether to use default policy settings or not. If specified as true then 'replications' and 'arcihvals' should not be specified. In case of true value, replicatioan targets congfigured in the policy will be added internally.

    • Constraints: The default value is false.
    archivals BackupRecoveryProtectionGroupRunRequestTargetsConfigArchival[]
    Specifies a list of archival targets configurations. Nested schema for archivals:
    cloudReplications BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplication[]
    Specifies a list of cloud replication targets configurations. Nested schema for cloud_replications:
    replications BackupRecoveryProtectionGroupRunRequestTargetsConfigReplication[]
    Specifies a list of replication targets configurations. Nested schema for replications:
    usePolicyDefaults boolean
    Specifies whether to use default policy settings or not. If specified as true then 'replications' and 'arcihvals' should not be specified. In case of true value, replicatioan targets congfigured in the policy will be added internally.

    • Constraints: The default value is false.
    archivals Sequence[BackupRecoveryProtectionGroupRunRequestTargetsConfigArchival]
    Specifies a list of archival targets configurations. Nested schema for archivals:
    cloud_replications Sequence[BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplication]
    Specifies a list of cloud replication targets configurations. Nested schema for cloud_replications:
    replications Sequence[BackupRecoveryProtectionGroupRunRequestTargetsConfigReplication]
    Specifies a list of replication targets configurations. Nested schema for replications:
    use_policy_defaults bool
    Specifies whether to use default policy settings or not. If specified as true then 'replications' and 'arcihvals' should not be specified. In case of true value, replicatioan targets congfigured in the policy will be added internally.

    • Constraints: The default value is false.
    archivals List<Property Map>
    Specifies a list of archival targets configurations. Nested schema for archivals:
    cloudReplications List<Property Map>
    Specifies a list of cloud replication targets configurations. Nested schema for cloud_replications:
    replications List<Property Map>
    Specifies a list of replication targets configurations. Nested schema for replications:
    usePolicyDefaults Boolean
    Specifies whether to use default policy settings or not. If specified as true then 'replications' and 'arcihvals' should not be specified. In case of true value, replicatioan targets congfigured in the policy will be added internally.

    • Constraints: The default value is false.

    BackupRecoveryProtectionGroupRunRequestTargetsConfigArchival, BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalArgs

    ArchivalTargetType string
    Specifies the snapshot's archival target type from which recovery has been performed.

    • Constraints: Allowable values are: Tape, Cloud, Nas.
    Id double
    Specifies the Archival target to copy the Snapshots to.
    CopyOnlyFullySuccessful bool
    Specifies if Snapshots are copied from a fully successful Protection Group Run or a partially successful Protection Group Run. If false, Snapshots are copied the Protection Group Run, even if the Run was not fully successful i.e. Snapshots were not captured for all Objects in the Protection Group. If true, Snapshots are copied only when the run is fully successful.
    Retention BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetention
    Specifies the retention of a backup. Nested schema for retention:
    ArchivalTargetType string
    Specifies the snapshot's archival target type from which recovery has been performed.

    • Constraints: Allowable values are: Tape, Cloud, Nas.
    Id float64
    Specifies the Archival target to copy the Snapshots to.
    CopyOnlyFullySuccessful bool
    Specifies if Snapshots are copied from a fully successful Protection Group Run or a partially successful Protection Group Run. If false, Snapshots are copied the Protection Group Run, even if the Run was not fully successful i.e. Snapshots were not captured for all Objects in the Protection Group. If true, Snapshots are copied only when the run is fully successful.
    Retention BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetention
    Specifies the retention of a backup. Nested schema for retention:
    archivalTargetType String
    Specifies the snapshot's archival target type from which recovery has been performed.

    • Constraints: Allowable values are: Tape, Cloud, Nas.
    id Double
    Specifies the Archival target to copy the Snapshots to.
    copyOnlyFullySuccessful Boolean
    Specifies if Snapshots are copied from a fully successful Protection Group Run or a partially successful Protection Group Run. If false, Snapshots are copied the Protection Group Run, even if the Run was not fully successful i.e. Snapshots were not captured for all Objects in the Protection Group. If true, Snapshots are copied only when the run is fully successful.
    retention BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetention
    Specifies the retention of a backup. Nested schema for retention:
    archivalTargetType string
    Specifies the snapshot's archival target type from which recovery has been performed.

    • Constraints: Allowable values are: Tape, Cloud, Nas.
    id number
    Specifies the Archival target to copy the Snapshots to.
    copyOnlyFullySuccessful boolean
    Specifies if Snapshots are copied from a fully successful Protection Group Run or a partially successful Protection Group Run. If false, Snapshots are copied the Protection Group Run, even if the Run was not fully successful i.e. Snapshots were not captured for all Objects in the Protection Group. If true, Snapshots are copied only when the run is fully successful.
    retention BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetention
    Specifies the retention of a backup. Nested schema for retention:
    archival_target_type str
    Specifies the snapshot's archival target type from which recovery has been performed.

    • Constraints: Allowable values are: Tape, Cloud, Nas.
    id float
    Specifies the Archival target to copy the Snapshots to.
    copy_only_fully_successful bool
    Specifies if Snapshots are copied from a fully successful Protection Group Run or a partially successful Protection Group Run. If false, Snapshots are copied the Protection Group Run, even if the Run was not fully successful i.e. Snapshots were not captured for all Objects in the Protection Group. If true, Snapshots are copied only when the run is fully successful.
    retention BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetention
    Specifies the retention of a backup. Nested schema for retention:
    archivalTargetType String
    Specifies the snapshot's archival target type from which recovery has been performed.

    • Constraints: Allowable values are: Tape, Cloud, Nas.
    id Number
    Specifies the Archival target to copy the Snapshots to.
    copyOnlyFullySuccessful Boolean
    Specifies if Snapshots are copied from a fully successful Protection Group Run or a partially successful Protection Group Run. If false, Snapshots are copied the Protection Group Run, even if the Run was not fully successful i.e. Snapshots were not captured for all Objects in the Protection Group. If true, Snapshots are copied only when the run is fully successful.
    retention Property Map
    Specifies the retention of a backup. Nested schema for retention:

    BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetention, BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionArgs

    Duration double
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    Unit string
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    DataLockConfig BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionDataLockConfig
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:
    Duration float64
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    Unit string
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    DataLockConfig BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionDataLockConfig
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:
    duration Double
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    unit String
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    dataLockConfig BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionDataLockConfig
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:
    duration number
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    unit string
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    dataLockConfig BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionDataLockConfig
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:
    duration float
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    unit str
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    data_lock_config BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionDataLockConfig
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:
    duration Number
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    unit String
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    dataLockConfig Property Map
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:

    BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionDataLockConfig, BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalRetentionDataLockConfigArgs

    Duration double
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    Mode string
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    Unit string
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    EnableWormOnExternalTarget bool
    Specifies whether objects in the external target associated with this policy need to be made immutable.
    Duration float64
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    Mode string
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    Unit string
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    EnableWormOnExternalTarget bool
    Specifies whether objects in the external target associated with this policy need to be made immutable.
    duration Double
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    mode String
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    unit String
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    enableWormOnExternalTarget Boolean
    Specifies whether objects in the external target associated with this policy need to be made immutable.
    duration number
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    mode string
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    unit string
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    enableWormOnExternalTarget boolean
    Specifies whether objects in the external target associated with this policy need to be made immutable.
    duration float
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    mode str
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    unit str
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    enable_worm_on_external_target bool
    Specifies whether objects in the external target associated with this policy need to be made immutable.
    duration Number
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    mode String
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    unit String
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    enableWormOnExternalTarget Boolean
    Specifies whether objects in the external target associated with this policy need to be made immutable.

    BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplication, BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationArgs

    TargetType string
    Specifies the type of target to which replication need to be performed.

    • Constraints: Allowable values are: AWS, Azure.
    AwsTarget BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAwsTarget
    Specifies the configuration for adding AWS as repilcation target. Nested schema for aws_target:
    AzureTarget BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAzureTarget
    Specifies the configuration for adding Azure as replication target. Nested schema for azure_target:
    Retention BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetention
    Specifies the retention of a backup. Nested schema for retention:
    TargetType string
    Specifies the type of target to which replication need to be performed.

    • Constraints: Allowable values are: AWS, Azure.
    AwsTarget BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAwsTarget
    Specifies the configuration for adding AWS as repilcation target. Nested schema for aws_target:
    AzureTarget BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAzureTarget
    Specifies the configuration for adding Azure as replication target. Nested schema for azure_target:
    Retention BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetention
    Specifies the retention of a backup. Nested schema for retention:
    targetType String
    Specifies the type of target to which replication need to be performed.

    • Constraints: Allowable values are: AWS, Azure.
    awsTarget BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAwsTarget
    Specifies the configuration for adding AWS as repilcation target. Nested schema for aws_target:
    azureTarget BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAzureTarget
    Specifies the configuration for adding Azure as replication target. Nested schema for azure_target:
    retention BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetention
    Specifies the retention of a backup. Nested schema for retention:
    targetType string
    Specifies the type of target to which replication need to be performed.

    • Constraints: Allowable values are: AWS, Azure.
    awsTarget BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAwsTarget
    Specifies the configuration for adding AWS as repilcation target. Nested schema for aws_target:
    azureTarget BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAzureTarget
    Specifies the configuration for adding Azure as replication target. Nested schema for azure_target:
    retention BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetention
    Specifies the retention of a backup. Nested schema for retention:
    target_type str
    Specifies the type of target to which replication need to be performed.

    • Constraints: Allowable values are: AWS, Azure.
    aws_target BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAwsTarget
    Specifies the configuration for adding AWS as repilcation target. Nested schema for aws_target:
    azure_target BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAzureTarget
    Specifies the configuration for adding Azure as replication target. Nested schema for azure_target:
    retention BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetention
    Specifies the retention of a backup. Nested schema for retention:
    targetType String
    Specifies the type of target to which replication need to be performed.

    • Constraints: Allowable values are: AWS, Azure.
    awsTarget Property Map
    Specifies the configuration for adding AWS as repilcation target. Nested schema for aws_target:
    azureTarget Property Map
    Specifies the configuration for adding Azure as replication target. Nested schema for azure_target:
    retention Property Map
    Specifies the retention of a backup. Nested schema for retention:

    BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAwsTarget, BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAwsTargetArgs

    Region double
    Specifies id of the AWS region in which to replicate the Snapshot to. Applicable if replication target is AWS target.
    SourceId double
    Specifies the source id of the AWS protection source registered on IBM cluster.
    Name string
    Specifies the name of the AWS Replication target.
    RegionName string
    Specifies name of the AWS region in which to replicate the Snapshot to. Applicable if replication target is AWS target.
    Region float64
    Specifies id of the AWS region in which to replicate the Snapshot to. Applicable if replication target is AWS target.
    SourceId float64
    Specifies the source id of the AWS protection source registered on IBM cluster.
    Name string
    Specifies the name of the AWS Replication target.
    RegionName string
    Specifies name of the AWS region in which to replicate the Snapshot to. Applicable if replication target is AWS target.
    region Double
    Specifies id of the AWS region in which to replicate the Snapshot to. Applicable if replication target is AWS target.
    sourceId Double
    Specifies the source id of the AWS protection source registered on IBM cluster.
    name String
    Specifies the name of the AWS Replication target.
    regionName String
    Specifies name of the AWS region in which to replicate the Snapshot to. Applicable if replication target is AWS target.
    region number
    Specifies id of the AWS region in which to replicate the Snapshot to. Applicable if replication target is AWS target.
    sourceId number
    Specifies the source id of the AWS protection source registered on IBM cluster.
    name string
    Specifies the name of the AWS Replication target.
    regionName string
    Specifies name of the AWS region in which to replicate the Snapshot to. Applicable if replication target is AWS target.
    region float
    Specifies id of the AWS region in which to replicate the Snapshot to. Applicable if replication target is AWS target.
    source_id float
    Specifies the source id of the AWS protection source registered on IBM cluster.
    name str
    Specifies the name of the AWS Replication target.
    region_name str
    Specifies name of the AWS region in which to replicate the Snapshot to. Applicable if replication target is AWS target.
    region Number
    Specifies id of the AWS region in which to replicate the Snapshot to. Applicable if replication target is AWS target.
    sourceId Number
    Specifies the source id of the AWS protection source registered on IBM cluster.
    name String
    Specifies the name of the AWS Replication target.
    regionName String
    Specifies name of the AWS region in which to replicate the Snapshot to. Applicable if replication target is AWS target.

    BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAzureTarget, BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAzureTargetArgs

    SourceId double
    Specifies the source id of the Azure protection source registered on IBM cluster.
    Name string
    Specifies the name of the Azure Replication target.
    ResourceGroup double
    Specifies id of the Azure resource group used to filter regions in UI.
    ResourceGroupName string
    Specifies name of the Azure resource group used to filter regions in UI.
    StorageAccount double
    Specifies id of the storage account of Azure replication target which will contain storage container.
    StorageAccountName string
    Specifies name of the storage account of Azure replication target which will contain storage container.
    StorageContainer double
    Specifies id of the storage container of Azure Replication target.
    StorageContainerName string
    Specifies name of the storage container of Azure Replication target.
    StorageResourceGroup double
    Specifies id of the storage resource group of Azure Replication target.
    StorageResourceGroupName string
    Specifies name of the storage resource group of Azure Replication target.
    SourceId float64
    Specifies the source id of the Azure protection source registered on IBM cluster.
    Name string
    Specifies the name of the Azure Replication target.
    ResourceGroup float64
    Specifies id of the Azure resource group used to filter regions in UI.
    ResourceGroupName string
    Specifies name of the Azure resource group used to filter regions in UI.
    StorageAccount float64
    Specifies id of the storage account of Azure replication target which will contain storage container.
    StorageAccountName string
    Specifies name of the storage account of Azure replication target which will contain storage container.
    StorageContainer float64
    Specifies id of the storage container of Azure Replication target.
    StorageContainerName string
    Specifies name of the storage container of Azure Replication target.
    StorageResourceGroup float64
    Specifies id of the storage resource group of Azure Replication target.
    StorageResourceGroupName string
    Specifies name of the storage resource group of Azure Replication target.
    sourceId Double
    Specifies the source id of the Azure protection source registered on IBM cluster.
    name String
    Specifies the name of the Azure Replication target.
    resourceGroup Double
    Specifies id of the Azure resource group used to filter regions in UI.
    resourceGroupName String
    Specifies name of the Azure resource group used to filter regions in UI.
    storageAccount Double
    Specifies id of the storage account of Azure replication target which will contain storage container.
    storageAccountName String
    Specifies name of the storage account of Azure replication target which will contain storage container.
    storageContainer Double
    Specifies id of the storage container of Azure Replication target.
    storageContainerName String
    Specifies name of the storage container of Azure Replication target.
    storageResourceGroup Double
    Specifies id of the storage resource group of Azure Replication target.
    storageResourceGroupName String
    Specifies name of the storage resource group of Azure Replication target.
    sourceId number
    Specifies the source id of the Azure protection source registered on IBM cluster.
    name string
    Specifies the name of the Azure Replication target.
    resourceGroup number
    Specifies id of the Azure resource group used to filter regions in UI.
    resourceGroupName string
    Specifies name of the Azure resource group used to filter regions in UI.
    storageAccount number
    Specifies id of the storage account of Azure replication target which will contain storage container.
    storageAccountName string
    Specifies name of the storage account of Azure replication target which will contain storage container.
    storageContainer number
    Specifies id of the storage container of Azure Replication target.
    storageContainerName string
    Specifies name of the storage container of Azure Replication target.
    storageResourceGroup number
    Specifies id of the storage resource group of Azure Replication target.
    storageResourceGroupName string
    Specifies name of the storage resource group of Azure Replication target.
    source_id float
    Specifies the source id of the Azure protection source registered on IBM cluster.
    name str
    Specifies the name of the Azure Replication target.
    resource_group float
    Specifies id of the Azure resource group used to filter regions in UI.
    resource_group_name str
    Specifies name of the Azure resource group used to filter regions in UI.
    storage_account float
    Specifies id of the storage account of Azure replication target which will contain storage container.
    storage_account_name str
    Specifies name of the storage account of Azure replication target which will contain storage container.
    storage_container float
    Specifies id of the storage container of Azure Replication target.
    storage_container_name str
    Specifies name of the storage container of Azure Replication target.
    storage_resource_group float
    Specifies id of the storage resource group of Azure Replication target.
    storage_resource_group_name str
    Specifies name of the storage resource group of Azure Replication target.
    sourceId Number
    Specifies the source id of the Azure protection source registered on IBM cluster.
    name String
    Specifies the name of the Azure Replication target.
    resourceGroup Number
    Specifies id of the Azure resource group used to filter regions in UI.
    resourceGroupName String
    Specifies name of the Azure resource group used to filter regions in UI.
    storageAccount Number
    Specifies id of the storage account of Azure replication target which will contain storage container.
    storageAccountName String
    Specifies name of the storage account of Azure replication target which will contain storage container.
    storageContainer Number
    Specifies id of the storage container of Azure Replication target.
    storageContainerName String
    Specifies name of the storage container of Azure Replication target.
    storageResourceGroup Number
    Specifies id of the storage resource group of Azure Replication target.
    storageResourceGroupName String
    Specifies name of the storage resource group of Azure Replication target.

    BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetention, BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionArgs

    Duration double
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    Unit string
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    DataLockConfig BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionDataLockConfig
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:
    Duration float64
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    Unit string
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    DataLockConfig BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionDataLockConfig
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:
    duration Double
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    unit String
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    dataLockConfig BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionDataLockConfig
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:
    duration number
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    unit string
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    dataLockConfig BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionDataLockConfig
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:
    duration float
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    unit str
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    data_lock_config BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionDataLockConfig
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:
    duration Number
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    unit String
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    dataLockConfig Property Map
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:

    BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionDataLockConfig, BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationRetentionDataLockConfigArgs

    Duration double
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    Mode string
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    Unit string
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    EnableWormOnExternalTarget bool
    Specifies whether objects in the external target associated with this policy need to be made immutable.
    Duration float64
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    Mode string
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    Unit string
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    EnableWormOnExternalTarget bool
    Specifies whether objects in the external target associated with this policy need to be made immutable.
    duration Double
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    mode String
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    unit String
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    enableWormOnExternalTarget Boolean
    Specifies whether objects in the external target associated with this policy need to be made immutable.
    duration number
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    mode string
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    unit string
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    enableWormOnExternalTarget boolean
    Specifies whether objects in the external target associated with this policy need to be made immutable.
    duration float
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    mode str
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    unit str
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    enable_worm_on_external_target bool
    Specifies whether objects in the external target associated with this policy need to be made immutable.
    duration Number
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    mode String
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    unit String
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    enableWormOnExternalTarget Boolean
    Specifies whether objects in the external target associated with this policy need to be made immutable.

    BackupRecoveryProtectionGroupRunRequestTargetsConfigReplication, BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationArgs

    Id double
    Specifies id of Remote Cluster to copy the Snapshots to.
    Retention BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetention
    Specifies the retention of a backup. Nested schema for retention:
    Id float64
    Specifies id of Remote Cluster to copy the Snapshots to.
    Retention BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetention
    Specifies the retention of a backup. Nested schema for retention:
    id Double
    Specifies id of Remote Cluster to copy the Snapshots to.
    retention BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetention
    Specifies the retention of a backup. Nested schema for retention:
    id number
    Specifies id of Remote Cluster to copy the Snapshots to.
    retention BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetention
    Specifies the retention of a backup. Nested schema for retention:
    id float
    Specifies id of Remote Cluster to copy the Snapshots to.
    retention BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetention
    Specifies the retention of a backup. Nested schema for retention:
    id Number
    Specifies id of Remote Cluster to copy the Snapshots to.
    retention Property Map
    Specifies the retention of a backup. Nested schema for retention:

    BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetention, BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionArgs

    Duration double
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    Unit string
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    DataLockConfig BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionDataLockConfig
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:
    Duration float64
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    Unit string
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    DataLockConfig BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionDataLockConfig
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:
    duration Double
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    unit String
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    dataLockConfig BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionDataLockConfig
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:
    duration number
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    unit string
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    dataLockConfig BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionDataLockConfig
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:
    duration float
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    unit str
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    data_lock_config BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionDataLockConfig
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:
    duration Number
    Specifies the duration for a backup retention. Example. If duration is 7 and unit is Months, the retention of a backup is 7 * 30 = 210 days.

    • Constraints: The minimum value is 1.
    unit String
    Specificies the Retention Unit of a backup measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Years' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    dataLockConfig Property Map
    Specifies WORM retention type for the snapshots. When a WORM retention type is specified, the snapshots of the Protection Groups using this policy will be kept for the last N days as specified in the duration of the datalock. During that time, the snapshots cannot be deleted. Nested schema for data_lock_config:

    BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionDataLockConfig, BackupRecoveryProtectionGroupRunRequestTargetsConfigReplicationRetentionDataLockConfigArgs

    Duration double
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    Mode string
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    Unit string
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    EnableWormOnExternalTarget bool
    Specifies whether objects in the external target associated with this policy need to be made immutable.
    Duration float64
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    Mode string
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    Unit string
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    EnableWormOnExternalTarget bool
    Specifies whether objects in the external target associated with this policy need to be made immutable.
    duration Double
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    mode String
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    unit String
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    enableWormOnExternalTarget Boolean
    Specifies whether objects in the external target associated with this policy need to be made immutable.
    duration number
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    mode string
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    unit string
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    enableWormOnExternalTarget boolean
    Specifies whether objects in the external target associated with this policy need to be made immutable.
    duration float
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    mode str
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    unit str
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    enable_worm_on_external_target bool
    Specifies whether objects in the external target associated with this policy need to be made immutable.
    duration Number
    Specifies the duration for a dataLock. Example. If duration is 7 and unit is Months, the dataLock is enabled for last 7 * 30 = 210 days of the backup.

    • Constraints: The minimum value is 1.
    mode String
    Specifies the type of WORM retention type. 'Compliance' implies WORM retention is set for compliance reason. 'Administrative' implies WORM retention is set for administrative purposes.

    • Constraints: Allowable values are: Compliance, Administrative.
    unit String
    Specificies the Retention Unit of a dataLock measured in days, months or years. If unit is 'Months', then number specified in duration is multiplied to 30. Example: If duration is 4 and unit is 'Months' then number of retention days will be 30 * 4 = 120 days. If unit is 'Years', then number specified in duration is multiplied to 365. If duration is 2 and unit is 'Months' then number of retention days will be 365 * 2 = 730 days.

    • Constraints: Allowable values are: Days, Weeks, Months, Years.
    enableWormOnExternalTarget Boolean
    Specifies whether objects in the external target associated with this policy need to be made immutable.

    Import

    Not Supported

    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