alicloud.hbr.HanaInstance
Explore with Pulumi AI
Provides a Hybrid Backup Recovery (HBR) Hana Instance resource.
For information about Hybrid Backup Recovery (HBR) Hana Instance and how to use it, see What is Hana Instance.
NOTE: Available in v1.178.0+.
NOTE: The
sid
attribute is required when destroying resources.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
const example = alicloud.resourcemanager.getResourceGroups({
status: "OK",
});
const _default = new random.index.Integer("default", {
min: 10000,
max: 99999,
});
const exampleVault = new alicloud.hbr.Vault("example", {vaultName: `terraform-example-${_default.result}`});
const exampleHanaInstance = new alicloud.hbr.HanaInstance("example", {
alertSetting: "INHERITED",
hanaName: `terraform-example-${_default.result}`,
host: "1.1.1.1",
instanceNumber: 1,
password: "YouPassword123",
resourceGroupId: example.then(example => example.groups?.[0]?.id),
sid: "HXE",
useSsl: false,
userName: "admin",
validateCertificate: false,
vaultId: exampleVault.id,
});
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
example = alicloud.resourcemanager.get_resource_groups(status="OK")
default = random.index.Integer("default",
min=10000,
max=99999)
example_vault = alicloud.hbr.Vault("example", vault_name=f"terraform-example-{default['result']}")
example_hana_instance = alicloud.hbr.HanaInstance("example",
alert_setting="INHERITED",
hana_name=f"terraform-example-{default['result']}",
host="1.1.1.1",
instance_number=1,
password="YouPassword123",
resource_group_id=example.groups[0].id,
sid="HXE",
use_ssl=False,
user_name="admin",
validate_certificate=False,
vault_id=example_vault.id)
package main
import (
"fmt"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/hbr"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{
Status: pulumi.StringRef("OK"),
}, nil)
if err != nil {
return err
}
_, err = random.NewInteger(ctx, "default", &random.IntegerArgs{
Min: 10000,
Max: 99999,
})
if err != nil {
return err
}
exampleVault, err := hbr.NewVault(ctx, "example", &hbr.VaultArgs{
VaultName: pulumi.Sprintf("terraform-example-%v", _default.Result),
})
if err != nil {
return err
}
_, err = hbr.NewHanaInstance(ctx, "example", &hbr.HanaInstanceArgs{
AlertSetting: pulumi.String("INHERITED"),
HanaName: pulumi.Sprintf("terraform-example-%v", _default.Result),
Host: pulumi.String("1.1.1.1"),
InstanceNumber: pulumi.Int(1),
Password: pulumi.String("YouPassword123"),
ResourceGroupId: pulumi.String(example.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
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var example = AliCloud.ResourceManager.GetResourceGroups.Invoke(new()
{
Status = "OK",
});
var @default = new Random.Index.Integer("default", new()
{
Min = 10000,
Max = 99999,
});
var exampleVault = new AliCloud.Hbr.Vault("example", new()
{
VaultName = $"terraform-example-{@default.Result}",
});
var exampleHanaInstance = new AliCloud.Hbr.HanaInstance("example", new()
{
AlertSetting = "INHERITED",
HanaName = $"terraform-example-{@default.Result}",
Host = "1.1.1.1",
InstanceNumber = 1,
Password = "YouPassword123",
ResourceGroupId = example.Apply(getResourceGroupsResult => getResourceGroupsResult.Groups[0]?.Id),
Sid = "HXE",
UseSsl = false,
UserName = "admin",
ValidateCertificate = false,
VaultId = exampleVault.Id,
});
});
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.random.integer;
import com.pulumi.random.IntegerArgs;
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 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 example = ResourcemanagerFunctions.getResourceGroups(GetResourceGroupsArgs.builder()
.status("OK")
.build());
var default_ = new Integer("default", IntegerArgs.builder()
.min(10000)
.max(99999)
.build());
var exampleVault = new Vault("exampleVault", VaultArgs.builder()
.vaultName(String.format("terraform-example-%s", default_.result()))
.build());
var exampleHanaInstance = new HanaInstance("exampleHanaInstance", HanaInstanceArgs.builder()
.alertSetting("INHERITED")
.hanaName(String.format("terraform-example-%s", default_.result()))
.host("1.1.1.1")
.instanceNumber(1)
.password("YouPassword123")
.resourceGroupId(example.applyValue(getResourceGroupsResult -> getResourceGroupsResult.groups()[0].id()))
.sid("HXE")
.useSsl(false)
.userName("admin")
.validateCertificate(false)
.vaultId(exampleVault.id())
.build());
}
}
resources:
default:
type: random:integer
properties:
min: 10000
max: 99999
exampleVault:
type: alicloud:hbr:Vault
name: example
properties:
vaultName: terraform-example-${default.result}
exampleHanaInstance:
type: alicloud:hbr:HanaInstance
name: example
properties:
alertSetting: INHERITED
hanaName: terraform-example-${default.result}
host: 1.1.1.1
instanceNumber: 1
password: YouPassword123
resourceGroupId: ${example.groups[0].id}
sid: HXE
useSsl: false
userName: admin
validateCertificate: false
vaultId: ${exampleVault.id}
variables:
example:
fn::invoke:
Function: alicloud:resourcemanager:getResourceGroups
Arguments:
status: OK
Create HanaInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HanaInstance(name: string, args: HanaInstanceArgs, opts?: CustomResourceOptions);
@overload
def HanaInstance(resource_name: str,
args: HanaInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HanaInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
vault_id: Optional[str] = None,
alert_setting: Optional[str] = None,
ecs_instance_ids: Optional[Sequence[str]] = None,
hana_name: Optional[str] = None,
host: Optional[str] = None,
instance_number: Optional[int] = None,
password: Optional[str] = None,
resource_group_id: Optional[str] = None,
sid: Optional[str] = None,
use_ssl: Optional[bool] = None,
user_name: Optional[str] = None,
validate_certificate: Optional[bool] = None)
func NewHanaInstance(ctx *Context, name string, args HanaInstanceArgs, opts ...ResourceOption) (*HanaInstance, error)
public HanaInstance(string name, HanaInstanceArgs args, CustomResourceOptions? opts = null)
public HanaInstance(String name, HanaInstanceArgs args)
public HanaInstance(String name, HanaInstanceArgs args, CustomResourceOptions options)
type: alicloud:hbr:HanaInstance
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 HanaInstanceArgs
- 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 HanaInstanceArgs
- 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 HanaInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HanaInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HanaInstanceArgs
- 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 hanaInstanceResource = new AliCloud.Hbr.HanaInstance("hanaInstanceResource", new()
{
VaultId = "string",
AlertSetting = "string",
EcsInstanceIds = new[]
{
"string",
},
HanaName = "string",
Host = "string",
InstanceNumber = 0,
Password = "string",
ResourceGroupId = "string",
Sid = "string",
UseSsl = false,
UserName = "string",
ValidateCertificate = false,
});
example, err := hbr.NewHanaInstance(ctx, "hanaInstanceResource", &hbr.HanaInstanceArgs{
VaultId: pulumi.String("string"),
AlertSetting: pulumi.String("string"),
EcsInstanceIds: pulumi.StringArray{
pulumi.String("string"),
},
HanaName: pulumi.String("string"),
Host: pulumi.String("string"),
InstanceNumber: pulumi.Int(0),
Password: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
Sid: pulumi.String("string"),
UseSsl: pulumi.Bool(false),
UserName: pulumi.String("string"),
ValidateCertificate: pulumi.Bool(false),
})
var hanaInstanceResource = new HanaInstance("hanaInstanceResource", HanaInstanceArgs.builder()
.vaultId("string")
.alertSetting("string")
.ecsInstanceIds("string")
.hanaName("string")
.host("string")
.instanceNumber(0)
.password("string")
.resourceGroupId("string")
.sid("string")
.useSsl(false)
.userName("string")
.validateCertificate(false)
.build());
hana_instance_resource = alicloud.hbr.HanaInstance("hanaInstanceResource",
vault_id="string",
alert_setting="string",
ecs_instance_ids=["string"],
hana_name="string",
host="string",
instance_number=0,
password="string",
resource_group_id="string",
sid="string",
use_ssl=False,
user_name="string",
validate_certificate=False)
const hanaInstanceResource = new alicloud.hbr.HanaInstance("hanaInstanceResource", {
vaultId: "string",
alertSetting: "string",
ecsInstanceIds: ["string"],
hanaName: "string",
host: "string",
instanceNumber: 0,
password: "string",
resourceGroupId: "string",
sid: "string",
useSsl: false,
userName: "string",
validateCertificate: false,
});
type: alicloud:hbr:HanaInstance
properties:
alertSetting: string
ecsInstanceIds:
- string
hanaName: string
host: string
instanceNumber: 0
password: string
resourceGroupId: string
sid: string
useSsl: false
userName: string
validateCertificate: false
vaultId: string
HanaInstance 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 HanaInstance resource accepts the following input properties:
- Vault
Id string - The ID of the backup vault.
- Alert
Setting string - The alert settings. Valid value:
INHERITED
, which indicates that the backup client sends alert notifications in the same way as the backup vault. - Ecs
Instance List<string>Ids - The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances.
- Hana
Name string - The name of the SAP HANA instance.
- Host string
- The private or internal IP address of the host where the primary node of the SAP HANA instance resides.
- Instance
Number int - The instance number of the SAP HANA system.
- Password string
- The password that is used to connect with the SAP HANA database.
- Resource
Group stringId - The ID of the resource group.
- Sid string
- The security identifier (SID) of the SAP HANA database.
- Use
Ssl bool - Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL).
- User
Name string - The username of the SYSTEMDB database.
- Validate
Certificate bool - Specifies whether to verify the SSL certificate of the SAP HANA database.
- Vault
Id string - The ID of the backup vault.
- Alert
Setting string - The alert settings. Valid value:
INHERITED
, which indicates that the backup client sends alert notifications in the same way as the backup vault. - Ecs
Instance []stringIds - The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances.
- Hana
Name string - The name of the SAP HANA instance.
- Host string
- The private or internal IP address of the host where the primary node of the SAP HANA instance resides.
- Instance
Number int - The instance number of the SAP HANA system.
- Password string
- The password that is used to connect with the SAP HANA database.
- Resource
Group stringId - The ID of the resource group.
- Sid string
- The security identifier (SID) of the SAP HANA database.
- Use
Ssl bool - Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL).
- User
Name string - The username of the SYSTEMDB database.
- Validate
Certificate bool - Specifies whether to verify the SSL certificate of the SAP HANA database.
- vault
Id String - The ID of the backup vault.
- alert
Setting String - The alert settings. Valid value:
INHERITED
, which indicates that the backup client sends alert notifications in the same way as the backup vault. - ecs
Instance List<String>Ids - The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances.
- hana
Name String - The name of the SAP HANA instance.
- host String
- The private or internal IP address of the host where the primary node of the SAP HANA instance resides.
- instance
Number Integer - The instance number of the SAP HANA system.
- password String
- The password that is used to connect with the SAP HANA database.
- resource
Group StringId - The ID of the resource group.
- sid String
- The security identifier (SID) of the SAP HANA database.
- use
Ssl Boolean - Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL).
- user
Name String - The username of the SYSTEMDB database.
- validate
Certificate Boolean - Specifies whether to verify the SSL certificate of the SAP HANA database.
- vault
Id string - The ID of the backup vault.
- alert
Setting string - The alert settings. Valid value:
INHERITED
, which indicates that the backup client sends alert notifications in the same way as the backup vault. - ecs
Instance string[]Ids - The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances.
- hana
Name string - The name of the SAP HANA instance.
- host string
- The private or internal IP address of the host where the primary node of the SAP HANA instance resides.
- instance
Number number - The instance number of the SAP HANA system.
- password string
- The password that is used to connect with the SAP HANA database.
- resource
Group stringId - The ID of the resource group.
- sid string
- The security identifier (SID) of the SAP HANA database.
- use
Ssl boolean - Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL).
- user
Name string - The username of the SYSTEMDB database.
- validate
Certificate boolean - Specifies whether to verify the SSL certificate of the SAP HANA database.
- vault_
id str - The ID of the backup vault.
- alert_
setting str - The alert settings. Valid value:
INHERITED
, which indicates that the backup client sends alert notifications in the same way as the backup vault. - ecs_
instance_ Sequence[str]ids - The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances.
- hana_
name str - The name of the SAP HANA instance.
- host str
- The private or internal IP address of the host where the primary node of the SAP HANA instance resides.
- instance_
number int - The instance number of the SAP HANA system.
- password str
- The password that is used to connect with the SAP HANA database.
- resource_
group_ strid - The ID of the resource group.
- sid str
- The security identifier (SID) of the SAP HANA database.
- use_
ssl bool - Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL).
- user_
name str - The username of the SYSTEMDB database.
- validate_
certificate bool - Specifies whether to verify the SSL certificate of the SAP HANA database.
- vault
Id String - The ID of the backup vault.
- alert
Setting String - The alert settings. Valid value:
INHERITED
, which indicates that the backup client sends alert notifications in the same way as the backup vault. - ecs
Instance List<String>Ids - The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances.
- hana
Name String - The name of the SAP HANA instance.
- host String
- The private or internal IP address of the host where the primary node of the SAP HANA instance resides.
- instance
Number Number - The instance number of the SAP HANA system.
- password String
- The password that is used to connect with the SAP HANA database.
- resource
Group StringId - The ID of the resource group.
- sid String
- The security identifier (SID) of the SAP HANA database.
- use
Ssl Boolean - Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL).
- user
Name String - The username of the SYSTEMDB database.
- validate
Certificate Boolean - Specifies whether to verify the SSL certificate of the SAP HANA database.
Outputs
All input properties are implicitly available as output properties. Additionally, the HanaInstance resource produces the following output properties:
- Hana
Instance stringId - The id of the Hana Instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the resource.
- Hana
Instance stringId - The id of the Hana Instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of the resource.
- hana
Instance StringId - The id of the Hana Instance.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the resource.
- hana
Instance stringId - The id of the Hana Instance.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The status of the resource.
- hana_
instance_ strid - The id of the Hana Instance.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The status of the resource.
- hana
Instance StringId - The id of the Hana Instance.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of the resource.
Look up Existing HanaInstance Resource
Get an existing HanaInstance 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?: HanaInstanceState, opts?: CustomResourceOptions): HanaInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alert_setting: Optional[str] = None,
ecs_instance_ids: Optional[Sequence[str]] = None,
hana_instance_id: Optional[str] = None,
hana_name: Optional[str] = None,
host: Optional[str] = None,
instance_number: Optional[int] = None,
password: Optional[str] = None,
resource_group_id: Optional[str] = None,
sid: Optional[str] = None,
status: Optional[str] = None,
use_ssl: Optional[bool] = None,
user_name: Optional[str] = None,
validate_certificate: Optional[bool] = None,
vault_id: Optional[str] = None) -> HanaInstance
func GetHanaInstance(ctx *Context, name string, id IDInput, state *HanaInstanceState, opts ...ResourceOption) (*HanaInstance, error)
public static HanaInstance Get(string name, Input<string> id, HanaInstanceState? state, CustomResourceOptions? opts = null)
public static HanaInstance get(String name, Output<String> id, HanaInstanceState 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.
- Alert
Setting string - The alert settings. Valid value:
INHERITED
, which indicates that the backup client sends alert notifications in the same way as the backup vault. - Ecs
Instance List<string>Ids - The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances.
- Hana
Instance stringId - The id of the Hana Instance.
- Hana
Name string - The name of the SAP HANA instance.
- Host string
- The private or internal IP address of the host where the primary node of the SAP HANA instance resides.
- Instance
Number int - The instance number of the SAP HANA system.
- Password string
- The password that is used to connect with the SAP HANA database.
- Resource
Group stringId - The ID of the resource group.
- Sid string
- The security identifier (SID) of the SAP HANA database.
- Status string
- The status of the resource.
- Use
Ssl bool - Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL).
- User
Name string - The username of the SYSTEMDB database.
- Validate
Certificate bool - Specifies whether to verify the SSL certificate of the SAP HANA database.
- Vault
Id string - The ID of the backup vault.
- Alert
Setting string - The alert settings. Valid value:
INHERITED
, which indicates that the backup client sends alert notifications in the same way as the backup vault. - Ecs
Instance []stringIds - The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances.
- Hana
Instance stringId - The id of the Hana Instance.
- Hana
Name string - The name of the SAP HANA instance.
- Host string
- The private or internal IP address of the host where the primary node of the SAP HANA instance resides.
- Instance
Number int - The instance number of the SAP HANA system.
- Password string
- The password that is used to connect with the SAP HANA database.
- Resource
Group stringId - The ID of the resource group.
- Sid string
- The security identifier (SID) of the SAP HANA database.
- Status string
- The status of the resource.
- Use
Ssl bool - Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL).
- User
Name string - The username of the SYSTEMDB database.
- Validate
Certificate bool - Specifies whether to verify the SSL certificate of the SAP HANA database.
- Vault
Id string - The ID of the backup vault.
- alert
Setting String - The alert settings. Valid value:
INHERITED
, which indicates that the backup client sends alert notifications in the same way as the backup vault. - ecs
Instance List<String>Ids - The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances.
- hana
Instance StringId - The id of the Hana Instance.
- hana
Name String - The name of the SAP HANA instance.
- host String
- The private or internal IP address of the host where the primary node of the SAP HANA instance resides.
- instance
Number Integer - The instance number of the SAP HANA system.
- password String
- The password that is used to connect with the SAP HANA database.
- resource
Group StringId - The ID of the resource group.
- sid String
- The security identifier (SID) of the SAP HANA database.
- status String
- The status of the resource.
- use
Ssl Boolean - Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL).
- user
Name String - The username of the SYSTEMDB database.
- validate
Certificate Boolean - Specifies whether to verify the SSL certificate of the SAP HANA database.
- vault
Id String - The ID of the backup vault.
- alert
Setting string - The alert settings. Valid value:
INHERITED
, which indicates that the backup client sends alert notifications in the same way as the backup vault. - ecs
Instance string[]Ids - The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances.
- hana
Instance stringId - The id of the Hana Instance.
- hana
Name string - The name of the SAP HANA instance.
- host string
- The private or internal IP address of the host where the primary node of the SAP HANA instance resides.
- instance
Number number - The instance number of the SAP HANA system.
- password string
- The password that is used to connect with the SAP HANA database.
- resource
Group stringId - The ID of the resource group.
- sid string
- The security identifier (SID) of the SAP HANA database.
- status string
- The status of the resource.
- use
Ssl boolean - Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL).
- user
Name string - The username of the SYSTEMDB database.
- validate
Certificate boolean - Specifies whether to verify the SSL certificate of the SAP HANA database.
- vault
Id string - The ID of the backup vault.
- alert_
setting str - The alert settings. Valid value:
INHERITED
, which indicates that the backup client sends alert notifications in the same way as the backup vault. - ecs_
instance_ Sequence[str]ids - The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances.
- hana_
instance_ strid - The id of the Hana Instance.
- hana_
name str - The name of the SAP HANA instance.
- host str
- The private or internal IP address of the host where the primary node of the SAP HANA instance resides.
- instance_
number int - The instance number of the SAP HANA system.
- password str
- The password that is used to connect with the SAP HANA database.
- resource_
group_ strid - The ID of the resource group.
- sid str
- The security identifier (SID) of the SAP HANA database.
- status str
- The status of the resource.
- use_
ssl bool - Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL).
- user_
name str - The username of the SYSTEMDB database.
- validate_
certificate bool - Specifies whether to verify the SSL certificate of the SAP HANA database.
- vault_
id str - The ID of the backup vault.
- alert
Setting String - The alert settings. Valid value:
INHERITED
, which indicates that the backup client sends alert notifications in the same way as the backup vault. - ecs
Instance List<String>Ids - The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances.
- hana
Instance StringId - The id of the Hana Instance.
- hana
Name String - The name of the SAP HANA instance.
- host String
- The private or internal IP address of the host where the primary node of the SAP HANA instance resides.
- instance
Number Number - The instance number of the SAP HANA system.
- password String
- The password that is used to connect with the SAP HANA database.
- resource
Group StringId - The ID of the resource group.
- sid String
- The security identifier (SID) of the SAP HANA database.
- status String
- The status of the resource.
- use
Ssl Boolean - Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL).
- user
Name String - The username of the SYSTEMDB database.
- validate
Certificate Boolean - Specifies whether to verify the SSL certificate of the SAP HANA database.
- vault
Id String - The ID of the backup vault.
Import
Hybrid Backup Recovery (HBR) Hana Instance can be imported using the id, e.g.
$ pulumi import alicloud:hbr/hanaInstance:HanaInstance example <vault_id>:<hana_instance_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.