ibm.BackupRecoveryProtectionGroupRunRequest
Explore with Pulumi AI
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:
- Group
Id string - Specifies the protection group ID
- Run
Type 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
.
- Constraints: Allowable values are:
- XIbm
Tenant stringId - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- Backup
Recovery stringProtection Group Run Request Id - The unique identifier of the backup_recovery_protection_group_run_request.
- Objects
List<Backup
Recovery Protection Group Run Request Object> - 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 BackupRecovery Protection Group Run Request Targets Config - Specifies the replication and archival targets. Nested schema for targets_config:
- Group
Id string - Specifies the protection group ID
- Run
Type 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
.
- Constraints: Allowable values are:
- XIbm
Tenant stringId - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- Backup
Recovery stringProtection Group Run Request Id - The unique identifier of the backup_recovery_protection_group_run_request.
- Objects
[]Backup
Recovery Protection Group Run Request Object Args - 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 BackupRecovery Protection Group Run Request Targets Config Args - Specifies the replication and archival targets. Nested schema for targets_config:
- group
Id String - Specifies the protection group ID
- run
Type 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
.
- Constraints: Allowable values are:
- x
Ibm StringTenant Id - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- backup
Recovery StringProtection Group Run Request Id - The unique identifier of the backup_recovery_protection_group_run_request.
- objects
List<Backup
Recovery Protection Group Run Request Object> - 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 BackupRecovery Protection Group Run Request Targets Config - Specifies the replication and archival targets. Nested schema for targets_config:
- group
Id string - Specifies the protection group ID
- run
Type 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
.
- Constraints: Allowable values are:
- x
Ibm stringTenant Id - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- backup
Recovery stringProtection Group Run Request Id - The unique identifier of the backup_recovery_protection_group_run_request.
- objects
Backup
Recovery Protection Group Run Request Object[] - 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 BackupRecovery Protection Group Run Request Targets Config - 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
.
- Constraints: Allowable values are:
- x_
ibm_ strtenant_ id - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- backup_
recovery_ strprotection_ group_ run_ request_ id - The unique identifier of the backup_recovery_protection_group_run_request.
- objects
Sequence[Backup
Recovery Protection Group Run Request Object Args] - 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 BackupRecovery Protection Group Run Request Targets Config Args - Specifies the replication and archival targets. Nested schema for targets_config:
- group
Id String - Specifies the protection group ID
- run
Type 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
.
- Constraints: Allowable values are:
- x
Ibm StringTenant Id - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- backup
Recovery StringProtection Group Run Request Id - 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:
- targets
Config 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.
- Backup
Recovery stringProtection Group Run Request Id - The unique identifier of the backup_recovery_protection_group_run_request.
- Group
Id string - Specifies the protection group ID
- Objects
List<Backup
Recovery Protection Group Run Request Object> - 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 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
.
- Constraints: Allowable values are:
- Targets
Config BackupRecovery Protection Group Run Request Targets Config - Specifies the replication and archival targets. Nested schema for targets_config:
- XIbm
Tenant stringId - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- Backup
Recovery stringProtection Group Run Request Id - The unique identifier of the backup_recovery_protection_group_run_request.
- Group
Id string - Specifies the protection group ID
- Objects
[]Backup
Recovery Protection Group Run Request Object Args - 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 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
.
- Constraints: Allowable values are:
- Targets
Config BackupRecovery Protection Group Run Request Targets Config Args - Specifies the replication and archival targets. Nested schema for targets_config:
- XIbm
Tenant stringId - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- backup
Recovery StringProtection Group Run Request Id - The unique identifier of the backup_recovery_protection_group_run_request.
- group
Id String - Specifies the protection group ID
- objects
List<Backup
Recovery Protection Group Run Request Object> - 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 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
.
- Constraints: Allowable values are:
- targets
Config BackupRecovery Protection Group Run Request Targets Config - Specifies the replication and archival targets. Nested schema for targets_config:
- x
Ibm StringTenant Id - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- backup
Recovery stringProtection Group Run Request Id - The unique identifier of the backup_recovery_protection_group_run_request.
- group
Id string - Specifies the protection group ID
- objects
Backup
Recovery Protection Group Run Request Object[] - 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 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
.
- Constraints: Allowable values are:
- targets
Config BackupRecovery Protection Group Run Request Targets Config - Specifies the replication and archival targets. Nested schema for targets_config:
- x
Ibm stringTenant Id - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- backup_
recovery_ strprotection_ group_ run_ request_ id - The unique identifier of the backup_recovery_protection_group_run_request.
- group_
id str - Specifies the protection group ID
- objects
Sequence[Backup
Recovery Protection Group Run Request Object Args] - 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
.
- Constraints: Allowable values are:
- targets_
config BackupRecovery Protection Group Run Request Targets Config Args - Specifies the replication and archival targets. Nested schema for targets_config:
- x_
ibm_ strtenant_ id - Specifies the key to be used to encrypt the source credential. If includeSourceCredentials is set to true this key must be specified.
- backup
Recovery StringProtection Group Run Request Id - The unique identifier of the backup_recovery_protection_group_run_request.
- group
Id 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:
- run
Type 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
.
- Constraints: Allowable values are:
- targets
Config Property Map - Specifies the replication and archival targets. Nested schema for targets_config:
- x
Ibm StringTenant Id - 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.
- App
Ids List<double> - Specifies a list of ids of applications.
- Physical
Params BackupRecovery Protection Group Run Request Object Physical Params - Specifies physical parameters for this run. Nested schema for physical_params:
- Id float64
- Specifies the id of object.
- App
Ids []float64 - Specifies a list of ids of applications.
- Physical
Params BackupRecovery Protection Group Run Request Object Physical Params - Specifies physical parameters for this run. Nested schema for physical_params:
- id Double
- Specifies the id of object.
- app
Ids List<Double> - Specifies a list of ids of applications.
- physical
Params BackupRecovery Protection Group Run Request Object Physical Params - Specifies physical parameters for this run. Nested schema for physical_params:
- id number
- Specifies the id of object.
- app
Ids number[] - Specifies a list of ids of applications.
- physical
Params BackupRecovery Protection Group Run Request Object Physical Params - 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 BackupRecovery Protection Group Run Request Object Physical Params - Specifies physical parameters for this run. Nested schema for physical_params:
- id Number
- Specifies the id of object.
- app
Ids List<Number> - Specifies a list of ids of applications.
- physical
Params Property Map - Specifies physical parameters for this run. Nested schema for physical_params:
BackupRecoveryProtectionGroupRunRequestObjectPhysicalParams, BackupRecoveryProtectionGroupRunRequestObjectPhysicalParamsArgs
- Metadata
File stringPath - 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 stringPath - 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 StringPath - 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 stringPath - 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_ strpath - 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 StringPath - 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<Backup
Recovery Protection Group Run Request Targets Config Archival> - Specifies a list of archival targets configurations. Nested schema for archivals:
- Cloud
Replications List<BackupRecovery Protection Group Run Request Targets Config Cloud Replication> - Specifies a list of cloud replication targets configurations. Nested schema for cloud_replications:
- Replications
List<Backup
Recovery Protection Group Run Request Targets Config Replication> - Specifies a list of replication targets configurations. Nested schema for replications:
- Use
Policy boolDefaults - 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
.
- Constraints: The default value is
- Archivals
[]Backup
Recovery Protection Group Run Request Targets Config Archival - Specifies a list of archival targets configurations. Nested schema for archivals:
- Cloud
Replications []BackupRecovery Protection Group Run Request Targets Config Cloud Replication - Specifies a list of cloud replication targets configurations. Nested schema for cloud_replications:
- Replications
[]Backup
Recovery Protection Group Run Request Targets Config Replication - Specifies a list of replication targets configurations. Nested schema for replications:
- Use
Policy boolDefaults - 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
.
- Constraints: The default value is
- archivals
List<Backup
Recovery Protection Group Run Request Targets Config Archival> - Specifies a list of archival targets configurations. Nested schema for archivals:
- cloud
Replications List<BackupRecovery Protection Group Run Request Targets Config Cloud Replication> - Specifies a list of cloud replication targets configurations. Nested schema for cloud_replications:
- replications
List<Backup
Recovery Protection Group Run Request Targets Config Replication> - Specifies a list of replication targets configurations. Nested schema for replications:
- use
Policy BooleanDefaults - 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
.
- Constraints: The default value is
- archivals
Backup
Recovery Protection Group Run Request Targets Config Archival[] - Specifies a list of archival targets configurations. Nested schema for archivals:
- cloud
Replications BackupRecovery Protection Group Run Request Targets Config Cloud Replication[] - Specifies a list of cloud replication targets configurations. Nested schema for cloud_replications:
- replications
Backup
Recovery Protection Group Run Request Targets Config Replication[] - Specifies a list of replication targets configurations. Nested schema for replications:
- use
Policy booleanDefaults - 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
.
- Constraints: The default value is
- archivals
Sequence[Backup
Recovery Protection Group Run Request Targets Config Archival] - Specifies a list of archival targets configurations. Nested schema for archivals:
- cloud_
replications Sequence[BackupRecovery Protection Group Run Request Targets Config Cloud Replication] - Specifies a list of cloud replication targets configurations. Nested schema for cloud_replications:
- replications
Sequence[Backup
Recovery Protection Group Run Request Targets Config Replication] - Specifies a list of replication targets configurations. Nested schema for replications:
- use_
policy_ booldefaults - 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
.
- Constraints: The default value is
- archivals List<Property Map>
- Specifies a list of archival targets configurations. Nested schema for archivals:
- cloud
Replications 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:
- use
Policy BooleanDefaults - 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
.
- Constraints: The default value is
BackupRecoveryProtectionGroupRunRequestTargetsConfigArchival, BackupRecoveryProtectionGroupRunRequestTargetsConfigArchivalArgs
- Archival
Target stringType - Specifies the snapshot's archival target type from which recovery has been performed.
- Constraints: Allowable values are:
Tape
,Cloud
,Nas
.
- Constraints: Allowable values are:
- Id double
- Specifies the Archival target to copy the Snapshots to.
- Copy
Only boolFully Successful - 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
Backup
Recovery Protection Group Run Request Targets Config Archival Retention - Specifies the retention of a backup. Nested schema for retention:
- Archival
Target stringType - Specifies the snapshot's archival target type from which recovery has been performed.
- Constraints: Allowable values are:
Tape
,Cloud
,Nas
.
- Constraints: Allowable values are:
- Id float64
- Specifies the Archival target to copy the Snapshots to.
- Copy
Only boolFully Successful - 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
Backup
Recovery Protection Group Run Request Targets Config Archival Retention - Specifies the retention of a backup. Nested schema for retention:
- archival
Target StringType - Specifies the snapshot's archival target type from which recovery has been performed.
- Constraints: Allowable values are:
Tape
,Cloud
,Nas
.
- Constraints: Allowable values are:
- id Double
- Specifies the Archival target to copy the Snapshots to.
- copy
Only BooleanFully Successful - 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
Backup
Recovery Protection Group Run Request Targets Config Archival Retention - Specifies the retention of a backup. Nested schema for retention:
- archival
Target stringType - Specifies the snapshot's archival target type from which recovery has been performed.
- Constraints: Allowable values are:
Tape
,Cloud
,Nas
.
- Constraints: Allowable values are:
- id number
- Specifies the Archival target to copy the Snapshots to.
- copy
Only booleanFully Successful - 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
Backup
Recovery Protection Group Run Request Targets Config Archival Retention - Specifies the retention of a backup. Nested schema for retention:
- archival_
target_ strtype - Specifies the snapshot's archival target type from which recovery has been performed.
- Constraints: Allowable values are:
Tape
,Cloud
,Nas
.
- Constraints: Allowable values are:
- id float
- Specifies the Archival target to copy the Snapshots to.
- copy_
only_ boolfully_ successful - 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
Backup
Recovery Protection Group Run Request Targets Config Archival Retention - Specifies the retention of a backup. Nested schema for retention:
- archival
Target StringType - Specifies the snapshot's archival target type from which recovery has been performed.
- Constraints: Allowable values are:
Tape
,Cloud
,Nas
.
- Constraints: Allowable values are:
- id Number
- Specifies the Archival target to copy the Snapshots to.
- copy
Only BooleanFully Successful - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- Data
Lock BackupConfig Recovery Protection Group Run Request Targets Config Archival Retention Data Lock Config - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- Data
Lock BackupConfig Recovery Protection Group Run Request Targets Config Archival Retention Data Lock Config - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- data
Lock BackupConfig Recovery Protection Group Run Request Targets Config Archival Retention Data Lock Config - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- data
Lock BackupConfig Recovery Protection Group Run Request Targets Config Archival Retention Data Lock Config - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- data_
lock_ Backupconfig Recovery Protection Group Run Request Targets Config Archival Retention Data Lock Config - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- data
Lock Property MapConfig - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- Enable
Worm boolOn External Target - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- Enable
Worm boolOn External Target - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- enable
Worm BooleanOn External Target - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- enable
Worm booleanOn External Target - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- enable_
worm_ boolon_ external_ target - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- enable
Worm BooleanOn External Target - Specifies whether objects in the external target associated with this policy need to be made immutable.
BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplication, BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationArgs
- Target
Type string - Specifies the type of target to which replication need to be performed.
- Constraints: Allowable values are:
AWS
,Azure
.
- Constraints: Allowable values are:
- Aws
Target BackupRecovery Protection Group Run Request Targets Config Cloud Replication Aws Target - Specifies the configuration for adding AWS as repilcation target. Nested schema for aws_target:
- Azure
Target BackupRecovery Protection Group Run Request Targets Config Cloud Replication Azure Target - Specifies the configuration for adding Azure as replication target. Nested schema for azure_target:
- Retention
Backup
Recovery Protection Group Run Request Targets Config Cloud Replication Retention - Specifies the retention of a backup. Nested schema for retention:
- Target
Type string - Specifies the type of target to which replication need to be performed.
- Constraints: Allowable values are:
AWS
,Azure
.
- Constraints: Allowable values are:
- Aws
Target BackupRecovery Protection Group Run Request Targets Config Cloud Replication Aws Target - Specifies the configuration for adding AWS as repilcation target. Nested schema for aws_target:
- Azure
Target BackupRecovery Protection Group Run Request Targets Config Cloud Replication Azure Target - Specifies the configuration for adding Azure as replication target. Nested schema for azure_target:
- Retention
Backup
Recovery Protection Group Run Request Targets Config Cloud Replication Retention - Specifies the retention of a backup. Nested schema for retention:
- target
Type String - Specifies the type of target to which replication need to be performed.
- Constraints: Allowable values are:
AWS
,Azure
.
- Constraints: Allowable values are:
- aws
Target BackupRecovery Protection Group Run Request Targets Config Cloud Replication Aws Target - Specifies the configuration for adding AWS as repilcation target. Nested schema for aws_target:
- azure
Target BackupRecovery Protection Group Run Request Targets Config Cloud Replication Azure Target - Specifies the configuration for adding Azure as replication target. Nested schema for azure_target:
- retention
Backup
Recovery Protection Group Run Request Targets Config Cloud Replication Retention - Specifies the retention of a backup. Nested schema for retention:
- target
Type string - Specifies the type of target to which replication need to be performed.
- Constraints: Allowable values are:
AWS
,Azure
.
- Constraints: Allowable values are:
- aws
Target BackupRecovery Protection Group Run Request Targets Config Cloud Replication Aws Target - Specifies the configuration for adding AWS as repilcation target. Nested schema for aws_target:
- azure
Target BackupRecovery Protection Group Run Request Targets Config Cloud Replication Azure Target - Specifies the configuration for adding Azure as replication target. Nested schema for azure_target:
- retention
Backup
Recovery Protection Group Run Request Targets Config Cloud Replication Retention - 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
.
- Constraints: Allowable values are:
- aws_
target BackupRecovery Protection Group Run Request Targets Config Cloud Replication Aws Target - Specifies the configuration for adding AWS as repilcation target. Nested schema for aws_target:
- azure_
target BackupRecovery Protection Group Run Request Targets Config Cloud Replication Azure Target - Specifies the configuration for adding Azure as replication target. Nested schema for azure_target:
- retention
Backup
Recovery Protection Group Run Request Targets Config Cloud Replication Retention - Specifies the retention of a backup. Nested schema for retention:
- target
Type String - Specifies the type of target to which replication need to be performed.
- Constraints: Allowable values are:
AWS
,Azure
.
- Constraints: Allowable values are:
- aws
Target Property Map - Specifies the configuration for adding AWS as repilcation target. Nested schema for aws_target:
- azure
Target 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.
- Source
Id double - Specifies the source id of the AWS protection source registered on IBM cluster.
- Name string
- Specifies the name of the AWS Replication target.
- Region
Name 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.
- Source
Id float64 - Specifies the source id of the AWS protection source registered on IBM cluster.
- Name string
- Specifies the name of the AWS Replication target.
- Region
Name 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.
- source
Id Double - Specifies the source id of the AWS protection source registered on IBM cluster.
- name String
- Specifies the name of the AWS Replication target.
- region
Name 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.
- source
Id number - Specifies the source id of the AWS protection source registered on IBM cluster.
- name string
- Specifies the name of the AWS Replication target.
- region
Name 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.
- source
Id Number - Specifies the source id of the AWS protection source registered on IBM cluster.
- name String
- Specifies the name of the AWS Replication target.
- region
Name String - Specifies name of the AWS region in which to replicate the Snapshot to. Applicable if replication target is AWS target.
BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAzureTarget, BackupRecoveryProtectionGroupRunRequestTargetsConfigCloudReplicationAzureTargetArgs
- Source
Id double - Specifies the source id of the Azure protection source registered on IBM cluster.
- Name string
- Specifies the name of the Azure Replication target.
- Resource
Group double - Specifies id of the Azure resource group used to filter regions in UI.
- Resource
Group stringName - Specifies name of the Azure resource group used to filter regions in UI.
- Storage
Account double - Specifies id of the storage account of Azure replication target which will contain storage container.
- Storage
Account stringName - Specifies name of the storage account of Azure replication target which will contain storage container.
- Storage
Container double - Specifies id of the storage container of Azure Replication target.
- Storage
Container stringName - Specifies name of the storage container of Azure Replication target.
- Storage
Resource doubleGroup - Specifies id of the storage resource group of Azure Replication target.
- Storage
Resource stringGroup Name - Specifies name of the storage resource group of Azure Replication target.
- Source
Id float64 - Specifies the source id of the Azure protection source registered on IBM cluster.
- Name string
- Specifies the name of the Azure Replication target.
- Resource
Group float64 - Specifies id of the Azure resource group used to filter regions in UI.
- Resource
Group stringName - Specifies name of the Azure resource group used to filter regions in UI.
- Storage
Account float64 - Specifies id of the storage account of Azure replication target which will contain storage container.
- Storage
Account stringName - Specifies name of the storage account of Azure replication target which will contain storage container.
- Storage
Container float64 - Specifies id of the storage container of Azure Replication target.
- Storage
Container stringName - Specifies name of the storage container of Azure Replication target.
- Storage
Resource float64Group - Specifies id of the storage resource group of Azure Replication target.
- Storage
Resource stringGroup Name - Specifies name of the storage resource group of Azure Replication target.
- source
Id Double - Specifies the source id of the Azure protection source registered on IBM cluster.
- name String
- Specifies the name of the Azure Replication target.
- resource
Group Double - Specifies id of the Azure resource group used to filter regions in UI.
- resource
Group StringName - Specifies name of the Azure resource group used to filter regions in UI.
- storage
Account Double - Specifies id of the storage account of Azure replication target which will contain storage container.
- storage
Account StringName - Specifies name of the storage account of Azure replication target which will contain storage container.
- storage
Container Double - Specifies id of the storage container of Azure Replication target.
- storage
Container StringName - Specifies name of the storage container of Azure Replication target.
- storage
Resource DoubleGroup - Specifies id of the storage resource group of Azure Replication target.
- storage
Resource StringGroup Name - Specifies name of the storage resource group of Azure Replication target.
- source
Id number - Specifies the source id of the Azure protection source registered on IBM cluster.
- name string
- Specifies the name of the Azure Replication target.
- resource
Group number - Specifies id of the Azure resource group used to filter regions in UI.
- resource
Group stringName - Specifies name of the Azure resource group used to filter regions in UI.
- storage
Account number - Specifies id of the storage account of Azure replication target which will contain storage container.
- storage
Account stringName - Specifies name of the storage account of Azure replication target which will contain storage container.
- storage
Container number - Specifies id of the storage container of Azure Replication target.
- storage
Container stringName - Specifies name of the storage container of Azure Replication target.
- storage
Resource numberGroup - Specifies id of the storage resource group of Azure Replication target.
- storage
Resource stringGroup Name - 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_ strname - 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_ strname - 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_ strname - Specifies name of the storage container of Azure Replication target.
- storage_
resource_ floatgroup - Specifies id of the storage resource group of Azure Replication target.
- storage_
resource_ strgroup_ name - Specifies name of the storage resource group of Azure Replication target.
- source
Id Number - Specifies the source id of the Azure protection source registered on IBM cluster.
- name String
- Specifies the name of the Azure Replication target.
- resource
Group Number - Specifies id of the Azure resource group used to filter regions in UI.
- resource
Group StringName - Specifies name of the Azure resource group used to filter regions in UI.
- storage
Account Number - Specifies id of the storage account of Azure replication target which will contain storage container.
- storage
Account StringName - Specifies name of the storage account of Azure replication target which will contain storage container.
- storage
Container Number - Specifies id of the storage container of Azure Replication target.
- storage
Container StringName - Specifies name of the storage container of Azure Replication target.
- storage
Resource NumberGroup - Specifies id of the storage resource group of Azure Replication target.
- storage
Resource StringGroup Name - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- Data
Lock BackupConfig Recovery Protection Group Run Request Targets Config Cloud Replication Retention Data Lock Config - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- Data
Lock BackupConfig Recovery Protection Group Run Request Targets Config Cloud Replication Retention Data Lock Config - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- data
Lock BackupConfig Recovery Protection Group Run Request Targets Config Cloud Replication Retention Data Lock Config - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- data
Lock BackupConfig Recovery Protection Group Run Request Targets Config Cloud Replication Retention Data Lock Config - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- data_
lock_ Backupconfig Recovery Protection Group Run Request Targets Config Cloud Replication Retention Data Lock Config - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- data
Lock Property MapConfig - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- Enable
Worm boolOn External Target - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- Enable
Worm boolOn External Target - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- enable
Worm BooleanOn External Target - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- enable
Worm booleanOn External Target - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- enable_
worm_ boolon_ external_ target - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- enable
Worm BooleanOn External Target - 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
Backup
Recovery Protection Group Run Request Targets Config Replication Retention - Specifies the retention of a backup. Nested schema for retention:
- Id float64
- Specifies id of Remote Cluster to copy the Snapshots to.
- Retention
Backup
Recovery Protection Group Run Request Targets Config Replication Retention - Specifies the retention of a backup. Nested schema for retention:
- id Double
- Specifies id of Remote Cluster to copy the Snapshots to.
- retention
Backup
Recovery Protection Group Run Request Targets Config Replication Retention - Specifies the retention of a backup. Nested schema for retention:
- id number
- Specifies id of Remote Cluster to copy the Snapshots to.
- retention
Backup
Recovery Protection Group Run Request Targets Config Replication Retention - Specifies the retention of a backup. Nested schema for retention:
- id float
- Specifies id of Remote Cluster to copy the Snapshots to.
- retention
Backup
Recovery Protection Group Run Request Targets Config Replication Retention - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- Data
Lock BackupConfig Recovery Protection Group Run Request Targets Config Replication Retention Data Lock Config - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- Data
Lock BackupConfig Recovery Protection Group Run Request Targets Config Replication Retention Data Lock Config - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- data
Lock BackupConfig Recovery Protection Group Run Request Targets Config Replication Retention Data Lock Config - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- data
Lock BackupConfig Recovery Protection Group Run Request Targets Config Replication Retention Data Lock Config - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- data_
lock_ Backupconfig Recovery Protection Group Run Request Targets Config Replication Retention Data Lock Config - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- data
Lock Property MapConfig - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- Enable
Worm boolOn External Target - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- Enable
Worm boolOn External Target - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- enable
Worm BooleanOn External Target - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- enable
Worm booleanOn External Target - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- enable_
worm_ boolon_ external_ target - 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
.
- Constraints: The minimum value is
- 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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- enable
Worm BooleanOn External Target - 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.