1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. hbr
  5. HanaBackupPlan
Alibaba Cloud v3.43.1 published on Monday, Sep 11, 2023 by Pulumi

alicloud.hbr.HanaBackupPlan

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.43.1 published on Monday, Sep 11, 2023 by Pulumi

    Provides a Hybrid Backup Recovery (HBR) Hana Backup Plan resource.

    For information about Hybrid Backup Recovery (HBR) Hana Backup Plan and how to use it, see What is Hana Backup Plan.

    NOTE: Available in v1.179.0+.

    Example Usage

    Basic Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleResourceGroups = AliCloud.ResourceManager.GetResourceGroups.Invoke(new()
        {
            Status = "OK",
        });
    
        var exampleVault = new AliCloud.Hbr.Vault("exampleVault", new()
        {
            VaultName = "terraform-example",
        });
    
        var exampleHanaInstance = new AliCloud.Hbr.HanaInstance("exampleHanaInstance", new()
        {
            AlertSetting = "INHERITED",
            HanaName = "terraform-example",
            Host = "1.1.1.1",
            InstanceNumber = 1,
            Password = "YouPassword123",
            ResourceGroupId = exampleResourceGroups.Apply(getResourceGroupsResult => getResourceGroupsResult.Groups[0]?.Id),
            Sid = "HXE",
            UseSsl = false,
            UserName = "admin",
            ValidateCertificate = false,
            VaultId = exampleVault.Id,
        });
    
        var exampleHanaBackupPlan = new AliCloud.Hbr.HanaBackupPlan("exampleHanaBackupPlan", new()
        {
            BackupPrefix = "DIFF_DATA_BACKUP",
            BackupType = "COMPLETE",
            ClusterId = exampleHanaInstance.HanaInstanceId,
            DatabaseName = "SYSTEMDB",
            PlanName = "terraform-example",
            ResourceGroupId = exampleResourceGroups.Apply(getResourceGroupsResult => getResourceGroupsResult.Groups[0]?.Id),
            Schedule = "I|1602673264|P1D",
            VaultId = exampleHanaInstance.VaultId,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/hbr"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroups, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{
    			Status: pulumi.StringRef("OK"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		exampleVault, err := hbr.NewVault(ctx, "exampleVault", &hbr.VaultArgs{
    			VaultName: pulumi.String("terraform-example"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleHanaInstance, err := hbr.NewHanaInstance(ctx, "exampleHanaInstance", &hbr.HanaInstanceArgs{
    			AlertSetting:        pulumi.String("INHERITED"),
    			HanaName:            pulumi.String("terraform-example"),
    			Host:                pulumi.String("1.1.1.1"),
    			InstanceNumber:      pulumi.Int(1),
    			Password:            pulumi.String("YouPassword123"),
    			ResourceGroupId:     *pulumi.String(exampleResourceGroups.Groups[0].Id),
    			Sid:                 pulumi.String("HXE"),
    			UseSsl:              pulumi.Bool(false),
    			UserName:            pulumi.String("admin"),
    			ValidateCertificate: pulumi.Bool(false),
    			VaultId:             exampleVault.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = hbr.NewHanaBackupPlan(ctx, "exampleHanaBackupPlan", &hbr.HanaBackupPlanArgs{
    			BackupPrefix:    pulumi.String("DIFF_DATA_BACKUP"),
    			BackupType:      pulumi.String("COMPLETE"),
    			ClusterId:       exampleHanaInstance.HanaInstanceId,
    			DatabaseName:    pulumi.String("SYSTEMDB"),
    			PlanName:        pulumi.String("terraform-example"),
    			ResourceGroupId: *pulumi.String(exampleResourceGroups.Groups[0].Id),
    			Schedule:        pulumi.String("I|1602673264|P1D"),
    			VaultId:         exampleHanaInstance.VaultId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
    import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
    import com.pulumi.alicloud.hbr.Vault;
    import com.pulumi.alicloud.hbr.VaultArgs;
    import com.pulumi.alicloud.hbr.HanaInstance;
    import com.pulumi.alicloud.hbr.HanaInstanceArgs;
    import com.pulumi.alicloud.hbr.HanaBackupPlan;
    import com.pulumi.alicloud.hbr.HanaBackupPlanArgs;
    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) {
            final var exampleResourceGroups = ResourcemanagerFunctions.getResourceGroups(GetResourceGroupsArgs.builder()
                .status("OK")
                .build());
    
            var exampleVault = new Vault("exampleVault", VaultArgs.builder()        
                .vaultName("terraform-example")
                .build());
    
            var exampleHanaInstance = new HanaInstance("exampleHanaInstance", HanaInstanceArgs.builder()        
                .alertSetting("INHERITED")
                .hanaName("terraform-example")
                .host("1.1.1.1")
                .instanceNumber(1)
                .password("YouPassword123")
                .resourceGroupId(exampleResourceGroups.applyValue(getResourceGroupsResult -> getResourceGroupsResult.groups()[0].id()))
                .sid("HXE")
                .useSsl(false)
                .userName("admin")
                .validateCertificate(false)
                .vaultId(exampleVault.id())
                .build());
    
            var exampleHanaBackupPlan = new HanaBackupPlan("exampleHanaBackupPlan", HanaBackupPlanArgs.builder()        
                .backupPrefix("DIFF_DATA_BACKUP")
                .backupType("COMPLETE")
                .clusterId(exampleHanaInstance.hanaInstanceId())
                .databaseName("SYSTEMDB")
                .planName("terraform-example")
                .resourceGroupId(exampleResourceGroups.applyValue(getResourceGroupsResult -> getResourceGroupsResult.groups()[0].id()))
                .schedule("I|1602673264|P1D")
                .vaultId(exampleHanaInstance.vaultId())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    example_resource_groups = alicloud.resourcemanager.get_resource_groups(status="OK")
    example_vault = alicloud.hbr.Vault("exampleVault", vault_name="terraform-example")
    example_hana_instance = alicloud.hbr.HanaInstance("exampleHanaInstance",
        alert_setting="INHERITED",
        hana_name="terraform-example",
        host="1.1.1.1",
        instance_number=1,
        password="YouPassword123",
        resource_group_id=example_resource_groups.groups[0].id,
        sid="HXE",
        use_ssl=False,
        user_name="admin",
        validate_certificate=False,
        vault_id=example_vault.id)
    example_hana_backup_plan = alicloud.hbr.HanaBackupPlan("exampleHanaBackupPlan",
        backup_prefix="DIFF_DATA_BACKUP",
        backup_type="COMPLETE",
        cluster_id=example_hana_instance.hana_instance_id,
        database_name="SYSTEMDB",
        plan_name="terraform-example",
        resource_group_id=example_resource_groups.groups[0].id,
        schedule="I|1602673264|P1D",
        vault_id=example_hana_instance.vault_id)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const exampleResourceGroups = alicloud.resourcemanager.getResourceGroups({
        status: "OK",
    });
    const exampleVault = new alicloud.hbr.Vault("exampleVault", {vaultName: "terraform-example"});
    const exampleHanaInstance = new alicloud.hbr.HanaInstance("exampleHanaInstance", {
        alertSetting: "INHERITED",
        hanaName: "terraform-example",
        host: "1.1.1.1",
        instanceNumber: 1,
        password: "YouPassword123",
        resourceGroupId: exampleResourceGroups.then(exampleResourceGroups => exampleResourceGroups.groups?.[0]?.id),
        sid: "HXE",
        useSsl: false,
        userName: "admin",
        validateCertificate: false,
        vaultId: exampleVault.id,
    });
    const exampleHanaBackupPlan = new alicloud.hbr.HanaBackupPlan("exampleHanaBackupPlan", {
        backupPrefix: "DIFF_DATA_BACKUP",
        backupType: "COMPLETE",
        clusterId: exampleHanaInstance.hanaInstanceId,
        databaseName: "SYSTEMDB",
        planName: "terraform-example",
        resourceGroupId: exampleResourceGroups.then(exampleResourceGroups => exampleResourceGroups.groups?.[0]?.id),
        schedule: "I|1602673264|P1D",
        vaultId: exampleHanaInstance.vaultId,
    });
    
    resources:
      exampleVault:
        type: alicloud:hbr:Vault
        properties:
          vaultName: terraform-example
      exampleHanaInstance:
        type: alicloud:hbr:HanaInstance
        properties:
          alertSetting: INHERITED
          hanaName: terraform-example
          host: 1.1.1.1
          instanceNumber: 1
          password: YouPassword123
          resourceGroupId: ${exampleResourceGroups.groups[0].id}
          sid: HXE
          useSsl: false
          userName: admin
          validateCertificate: false
          vaultId: ${exampleVault.id}
      exampleHanaBackupPlan:
        type: alicloud:hbr:HanaBackupPlan
        properties:
          backupPrefix: DIFF_DATA_BACKUP
          backupType: COMPLETE
          clusterId: ${exampleHanaInstance.hanaInstanceId}
          databaseName: SYSTEMDB
          planName: terraform-example
          resourceGroupId: ${exampleResourceGroups.groups[0].id}
          schedule: I|1602673264|P1D
          vaultId: ${exampleHanaInstance.vaultId}
    variables:
      exampleResourceGroups:
        fn::invoke:
          Function: alicloud:resourcemanager:getResourceGroups
          Arguments:
            status: OK
    

    Create HanaBackupPlan Resource

    new HanaBackupPlan(name: string, args: HanaBackupPlanArgs, opts?: CustomResourceOptions);
    @overload
    def HanaBackupPlan(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       backup_prefix: Optional[str] = None,
                       backup_type: Optional[str] = None,
                       cluster_id: Optional[str] = None,
                       database_name: Optional[str] = None,
                       plan_name: Optional[str] = None,
                       resource_group_id: Optional[str] = None,
                       schedule: Optional[str] = None,
                       status: Optional[str] = None,
                       vault_id: Optional[str] = None)
    @overload
    def HanaBackupPlan(resource_name: str,
                       args: HanaBackupPlanArgs,
                       opts: Optional[ResourceOptions] = None)
    func NewHanaBackupPlan(ctx *Context, name string, args HanaBackupPlanArgs, opts ...ResourceOption) (*HanaBackupPlan, error)
    public HanaBackupPlan(string name, HanaBackupPlanArgs args, CustomResourceOptions? opts = null)
    public HanaBackupPlan(String name, HanaBackupPlanArgs args)
    public HanaBackupPlan(String name, HanaBackupPlanArgs args, CustomResourceOptions options)
    
    type: alicloud:hbr:HanaBackupPlan
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args HanaBackupPlanArgs
    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 HanaBackupPlanArgs
    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 HanaBackupPlanArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HanaBackupPlanArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HanaBackupPlanArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    HanaBackupPlan Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The HanaBackupPlan resource accepts the following input properties:

    BackupType string

    The backup type. Valid values:

    ClusterId string

    The ID of the SAP HANA instance.

    DatabaseName string

    The name of the database.

    PlanName string

    The name of the backup plan.

    Schedule string

    The backup policy. Format: I|{startTime}|{interval}. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day.

    VaultId string

    The ID of the backup vault.

    BackupPrefix string

    The backup prefix.

    ResourceGroupId string

    The resource attribute field that represents the resource group ID.

    Status string

    The status of the resource. Valid values: Enabled, Disabled.

    BackupType string

    The backup type. Valid values:

    ClusterId string

    The ID of the SAP HANA instance.

    DatabaseName string

    The name of the database.

    PlanName string

    The name of the backup plan.

    Schedule string

    The backup policy. Format: I|{startTime}|{interval}. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day.

    VaultId string

    The ID of the backup vault.

    BackupPrefix string

    The backup prefix.

    ResourceGroupId string

    The resource attribute field that represents the resource group ID.

    Status string

    The status of the resource. Valid values: Enabled, Disabled.

    backupType String

    The backup type. Valid values:

    clusterId String

    The ID of the SAP HANA instance.

    databaseName String

    The name of the database.

    planName String

    The name of the backup plan.

    schedule String

    The backup policy. Format: I|{startTime}|{interval}. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day.

    vaultId String

    The ID of the backup vault.

    backupPrefix String

    The backup prefix.

    resourceGroupId String

    The resource attribute field that represents the resource group ID.

    status String

    The status of the resource. Valid values: Enabled, Disabled.

    backupType string

    The backup type. Valid values:

    clusterId string

    The ID of the SAP HANA instance.

    databaseName string

    The name of the database.

    planName string

    The name of the backup plan.

    schedule string

    The backup policy. Format: I|{startTime}|{interval}. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day.

    vaultId string

    The ID of the backup vault.

    backupPrefix string

    The backup prefix.

    resourceGroupId string

    The resource attribute field that represents the resource group ID.

    status string

    The status of the resource. Valid values: Enabled, Disabled.

    backup_type str

    The backup type. Valid values:

    cluster_id str

    The ID of the SAP HANA instance.

    database_name str

    The name of the database.

    plan_name str

    The name of the backup plan.

    schedule str

    The backup policy. Format: I|{startTime}|{interval}. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day.

    vault_id str

    The ID of the backup vault.

    backup_prefix str

    The backup prefix.

    resource_group_id str

    The resource attribute field that represents the resource group ID.

    status str

    The status of the resource. Valid values: Enabled, Disabled.

    backupType String

    The backup type. Valid values:

    clusterId String

    The ID of the SAP HANA instance.

    databaseName String

    The name of the database.

    planName String

    The name of the backup plan.

    schedule String

    The backup policy. Format: I|{startTime}|{interval}. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day.

    vaultId String

    The ID of the backup vault.

    backupPrefix String

    The backup prefix.

    resourceGroupId String

    The resource attribute field that represents the resource group ID.

    status String

    The status of the resource. Valid values: Enabled, Disabled.

    Outputs

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

    Id string

    The provider-assigned unique ID for this managed resource.

    PlanId string

    The id of the plan.

    Id string

    The provider-assigned unique ID for this managed resource.

    PlanId string

    The id of the plan.

    id String

    The provider-assigned unique ID for this managed resource.

    planId String

    The id of the plan.

    id string

    The provider-assigned unique ID for this managed resource.

    planId string

    The id of the plan.

    id str

    The provider-assigned unique ID for this managed resource.

    plan_id str

    The id of the plan.

    id String

    The provider-assigned unique ID for this managed resource.

    planId String

    The id of the plan.

    Look up Existing HanaBackupPlan Resource

    Get an existing HanaBackupPlan 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?: HanaBackupPlanState, opts?: CustomResourceOptions): HanaBackupPlan
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            backup_prefix: Optional[str] = None,
            backup_type: Optional[str] = None,
            cluster_id: Optional[str] = None,
            database_name: Optional[str] = None,
            plan_id: Optional[str] = None,
            plan_name: Optional[str] = None,
            resource_group_id: Optional[str] = None,
            schedule: Optional[str] = None,
            status: Optional[str] = None,
            vault_id: Optional[str] = None) -> HanaBackupPlan
    func GetHanaBackupPlan(ctx *Context, name string, id IDInput, state *HanaBackupPlanState, opts ...ResourceOption) (*HanaBackupPlan, error)
    public static HanaBackupPlan Get(string name, Input<string> id, HanaBackupPlanState? state, CustomResourceOptions? opts = null)
    public static HanaBackupPlan get(String name, Output<String> id, HanaBackupPlanState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BackupPrefix string

    The backup prefix.

    BackupType string

    The backup type. Valid values:

    ClusterId string

    The ID of the SAP HANA instance.

    DatabaseName string

    The name of the database.

    PlanId string

    The id of the plan.

    PlanName string

    The name of the backup plan.

    ResourceGroupId string

    The resource attribute field that represents the resource group ID.

    Schedule string

    The backup policy. Format: I|{startTime}|{interval}. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day.

    Status string

    The status of the resource. Valid values: Enabled, Disabled.

    VaultId string

    The ID of the backup vault.

    BackupPrefix string

    The backup prefix.

    BackupType string

    The backup type. Valid values:

    ClusterId string

    The ID of the SAP HANA instance.

    DatabaseName string

    The name of the database.

    PlanId string

    The id of the plan.

    PlanName string

    The name of the backup plan.

    ResourceGroupId string

    The resource attribute field that represents the resource group ID.

    Schedule string

    The backup policy. Format: I|{startTime}|{interval}. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day.

    Status string

    The status of the resource. Valid values: Enabled, Disabled.

    VaultId string

    The ID of the backup vault.

    backupPrefix String

    The backup prefix.

    backupType String

    The backup type. Valid values:

    clusterId String

    The ID of the SAP HANA instance.

    databaseName String

    The name of the database.

    planId String

    The id of the plan.

    planName String

    The name of the backup plan.

    resourceGroupId String

    The resource attribute field that represents the resource group ID.

    schedule String

    The backup policy. Format: I|{startTime}|{interval}. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day.

    status String

    The status of the resource. Valid values: Enabled, Disabled.

    vaultId String

    The ID of the backup vault.

    backupPrefix string

    The backup prefix.

    backupType string

    The backup type. Valid values:

    clusterId string

    The ID of the SAP HANA instance.

    databaseName string

    The name of the database.

    planId string

    The id of the plan.

    planName string

    The name of the backup plan.

    resourceGroupId string

    The resource attribute field that represents the resource group ID.

    schedule string

    The backup policy. Format: I|{startTime}|{interval}. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day.

    status string

    The status of the resource. Valid values: Enabled, Disabled.

    vaultId string

    The ID of the backup vault.

    backup_prefix str

    The backup prefix.

    backup_type str

    The backup type. Valid values:

    cluster_id str

    The ID of the SAP HANA instance.

    database_name str

    The name of the database.

    plan_id str

    The id of the plan.

    plan_name str

    The name of the backup plan.

    resource_group_id str

    The resource attribute field that represents the resource group ID.

    schedule str

    The backup policy. Format: I|{startTime}|{interval}. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day.

    status str

    The status of the resource. Valid values: Enabled, Disabled.

    vault_id str

    The ID of the backup vault.

    backupPrefix String

    The backup prefix.

    backupType String

    The backup type. Valid values:

    clusterId String

    The ID of the SAP HANA instance.

    databaseName String

    The name of the database.

    planId String

    The id of the plan.

    planName String

    The name of the backup plan.

    resourceGroupId String

    The resource attribute field that represents the resource group ID.

    schedule String

    The backup policy. Format: I|{startTime}|{interval}. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day.

    status String

    The status of the resource. Valid values: Enabled, Disabled.

    vaultId String

    The ID of the backup vault.

    Import

    Hybrid Backup Recovery (HBR) Hana Backup Plan can be imported using the id, e.g.

     $ pulumi import alicloud:hbr/hanaBackupPlan:HanaBackupPlan example <plan_id>:<vault_id>:<cluster_id>
    

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the alicloud Terraform Provider.

    alicloud logo
    Alibaba Cloud v3.43.1 published on Monday, Sep 11, 2023 by Pulumi