alicloud.hbr.getHanaBackupClients
Explore with Pulumi AI
This data source provides the Hybrid Backup Recovery (HBR) Hana Backup Clients of the current Alibaba Cloud user.
NOTE: Available in 1.198.0+
Example Usage
Basic Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var ids = AliCloud.Hbr.GetHanaBackupClients.Invoke(new()
{
Ids = new[]
{
"example_id",
},
VaultId = "your_vault_id",
});
return new Dictionary<string, object?>
{
["hbrHanaBackupClientsId1"] = ids.Apply(getHanaBackupClientsResult => getHanaBackupClientsResult.HanaBackupClients[0]?.Id),
};
});
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/hbr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ids, err := hbr.GetHanaBackupClients(ctx, &hbr.GetHanaBackupClientsArgs{
Ids: []string{
"example_id",
},
VaultId: "your_vault_id",
}, nil)
if err != nil {
return err
}
ctx.Export("hbrHanaBackupClientsId1", ids.HanaBackupClients[0].Id)
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.hbr.HbrFunctions;
import com.pulumi.alicloud.hbr.inputs.GetHanaBackupClientsArgs;
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 ids = HbrFunctions.getHanaBackupClients(GetHanaBackupClientsArgs.builder()
.ids("example_id")
.vaultId("your_vault_id")
.build());
ctx.export("hbrHanaBackupClientsId1", ids.applyValue(getHanaBackupClientsResult -> getHanaBackupClientsResult.hanaBackupClients()[0].id()));
}
}
import pulumi
import pulumi_alicloud as alicloud
ids = alicloud.hbr.get_hana_backup_clients(ids=["example_id"],
vault_id="your_vault_id")
pulumi.export("hbrHanaBackupClientsId1", ids.hana_backup_clients[0].id)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const ids = alicloud.hbr.getHanaBackupClients({
ids: ["example_id"],
vaultId: "your_vault_id",
});
export const hbrHanaBackupClientsId1 = ids.then(ids => ids.hanaBackupClients?.[0]?.id);
variables:
ids:
fn::invoke:
Function: alicloud:hbr:getHanaBackupClients
Arguments:
ids:
- example_id
vaultId: your_vault_id
outputs:
hbrHanaBackupClientsId1: ${ids.hanaBackupClients[0].id}
Using getHanaBackupClients
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getHanaBackupClients(args: GetHanaBackupClientsArgs, opts?: InvokeOptions): Promise<GetHanaBackupClientsResult>
function getHanaBackupClientsOutput(args: GetHanaBackupClientsOutputArgs, opts?: InvokeOptions): Output<GetHanaBackupClientsResult>
def get_hana_backup_clients(client_id: Optional[str] = None,
cluster_id: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
page_number: Optional[int] = None,
page_size: Optional[int] = None,
status: Optional[str] = None,
vault_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHanaBackupClientsResult
def get_hana_backup_clients_output(client_id: Optional[pulumi.Input[str]] = None,
cluster_id: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
page_number: Optional[pulumi.Input[int]] = None,
page_size: Optional[pulumi.Input[int]] = None,
status: Optional[pulumi.Input[str]] = None,
vault_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHanaBackupClientsResult]
func GetHanaBackupClients(ctx *Context, args *GetHanaBackupClientsArgs, opts ...InvokeOption) (*GetHanaBackupClientsResult, error)
func GetHanaBackupClientsOutput(ctx *Context, args *GetHanaBackupClientsOutputArgs, opts ...InvokeOption) GetHanaBackupClientsResultOutput
> Note: This function is named GetHanaBackupClients
in the Go SDK.
public static class GetHanaBackupClients
{
public static Task<GetHanaBackupClientsResult> InvokeAsync(GetHanaBackupClientsArgs args, InvokeOptions? opts = null)
public static Output<GetHanaBackupClientsResult> Invoke(GetHanaBackupClientsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHanaBackupClientsResult> getHanaBackupClients(GetHanaBackupClientsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:hbr/getHanaBackupClients:getHanaBackupClients
arguments:
# arguments dictionary
The following arguments are supported:
- Vault
Id string The ID of the backup vault.
- Client
Id string The ID of the backup client.
- Cluster
Id string The ID of the SAP HANA instance.
- Ids List<string>
A list of Hana Backup Client IDs.
- Output
File string File name where to save data source results (after running
pulumi preview
).- Page
Number int - Page
Size int - Status string
The status of the Hana Backup Client. Valid Values:
REGISTERED
,ACTIVATED
,DEACTIVATED
,INSTALLING
,INSTALL_FAILED
,NOT_INSTALLED
,UPGRADING
,UPGRADE_FAILED
,UNINSTALLING
,UNINSTALL_FAILED
,STOPPED
,UNKNOWN
.
- Vault
Id string The ID of the backup vault.
- Client
Id string The ID of the backup client.
- Cluster
Id string The ID of the SAP HANA instance.
- Ids []string
A list of Hana Backup Client IDs.
- Output
File string File name where to save data source results (after running
pulumi preview
).- Page
Number int - Page
Size int - Status string
The status of the Hana Backup Client. Valid Values:
REGISTERED
,ACTIVATED
,DEACTIVATED
,INSTALLING
,INSTALL_FAILED
,NOT_INSTALLED
,UPGRADING
,UPGRADE_FAILED
,UNINSTALLING
,UNINSTALL_FAILED
,STOPPED
,UNKNOWN
.
- vault
Id String The ID of the backup vault.
- client
Id String The ID of the backup client.
- cluster
Id String The ID of the SAP HANA instance.
- ids List<String>
A list of Hana Backup Client IDs.
- output
File String File name where to save data source results (after running
pulumi preview
).- page
Number Integer - page
Size Integer - status String
The status of the Hana Backup Client. Valid Values:
REGISTERED
,ACTIVATED
,DEACTIVATED
,INSTALLING
,INSTALL_FAILED
,NOT_INSTALLED
,UPGRADING
,UPGRADE_FAILED
,UNINSTALLING
,UNINSTALL_FAILED
,STOPPED
,UNKNOWN
.
- vault
Id string The ID of the backup vault.
- client
Id string The ID of the backup client.
- cluster
Id string The ID of the SAP HANA instance.
- ids string[]
A list of Hana Backup Client IDs.
- output
File string File name where to save data source results (after running
pulumi preview
).- page
Number number - page
Size number - status string
The status of the Hana Backup Client. Valid Values:
REGISTERED
,ACTIVATED
,DEACTIVATED
,INSTALLING
,INSTALL_FAILED
,NOT_INSTALLED
,UPGRADING
,UPGRADE_FAILED
,UNINSTALLING
,UNINSTALL_FAILED
,STOPPED
,UNKNOWN
.
- vault_
id str The ID of the backup vault.
- client_
id str The ID of the backup client.
- cluster_
id str The ID of the SAP HANA instance.
- ids Sequence[str]
A list of Hana Backup Client IDs.
- output_
file str File name where to save data source results (after running
pulumi preview
).- page_
number int - page_
size int - status str
The status of the Hana Backup Client. Valid Values:
REGISTERED
,ACTIVATED
,DEACTIVATED
,INSTALLING
,INSTALL_FAILED
,NOT_INSTALLED
,UPGRADING
,UPGRADE_FAILED
,UNINSTALLING
,UNINSTALL_FAILED
,STOPPED
,UNKNOWN
.
- vault
Id String The ID of the backup vault.
- client
Id String The ID of the backup client.
- cluster
Id String The ID of the SAP HANA instance.
- ids List<String>
A list of Hana Backup Client IDs.
- output
File String File name where to save data source results (after running
pulumi preview
).- page
Number Number - page
Size Number - status String
The status of the Hana Backup Client. Valid Values:
REGISTERED
,ACTIVATED
,DEACTIVATED
,INSTALLING
,INSTALL_FAILED
,NOT_INSTALLED
,UPGRADING
,UPGRADE_FAILED
,UNINSTALLING
,UNINSTALL_FAILED
,STOPPED
,UNKNOWN
.
getHanaBackupClients Result
The following output properties are available:
- Hana
Backup List<Pulumi.Clients Ali Cloud. Hbr. Outputs. Get Hana Backup Clients Hana Backup Client> A list of Hana Backup Clients. Each element contains the following attributes:
- Id string
The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Vault
Id string The ID of the backup vault.
- Client
Id string The ID of the backup client.
- Cluster
Id string The ID of the SAP HANA instance.
- Output
File string - Page
Number int - Page
Size int - Status string
The status of the backup client.
- Hana
Backup []GetClients Hana Backup Clients Hana Backup Client A list of Hana Backup Clients. Each element contains the following attributes:
- Id string
The provider-assigned unique ID for this managed resource.
- Ids []string
- Vault
Id string The ID of the backup vault.
- Client
Id string The ID of the backup client.
- Cluster
Id string The ID of the SAP HANA instance.
- Output
File string - Page
Number int - Page
Size int - Status string
The status of the backup client.
- hana
Backup List<GetClients Hana Backup Clients Hana Backup Client> A list of Hana Backup Clients. Each element contains the following attributes:
- id String
The provider-assigned unique ID for this managed resource.
- ids List<String>
- vault
Id String The ID of the backup vault.
- client
Id String The ID of the backup client.
- cluster
Id String The ID of the SAP HANA instance.
- output
File String - page
Number Integer - page
Size Integer - status String
The status of the backup client.
- hana
Backup GetClients Hana Backup Clients Hana Backup Client[] A list of Hana Backup Clients. Each element contains the following attributes:
- id string
The provider-assigned unique ID for this managed resource.
- ids string[]
- vault
Id string The ID of the backup vault.
- client
Id string The ID of the backup client.
- cluster
Id string The ID of the SAP HANA instance.
- output
File string - page
Number number - page
Size number - status string
The status of the backup client.
- hana_
backup_ Sequence[Getclients Hana Backup Clients Hana Backup Client] A list of Hana Backup Clients. Each element contains the following attributes:
- id str
The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- vault_
id str The ID of the backup vault.
- client_
id str The ID of the backup client.
- cluster_
id str The ID of the SAP HANA instance.
- output_
file str - page_
number int - page_
size int - status str
The status of the backup client.
- hana
Backup List<Property Map>Clients A list of Hana Backup Clients. Each element contains the following attributes:
- id String
The provider-assigned unique ID for this managed resource.
- ids List<String>
- vault
Id String The ID of the backup vault.
- client
Id String The ID of the backup client.
- cluster
Id String The ID of the SAP HANA instance.
- output
File String - page
Number Number - page
Size Number - status String
The status of the backup client.
Supporting Types
GetHanaBackupClientsHanaBackupClient
- Alert
Setting string The alert settings.
- Client
Id string The ID of the backup client.
- Client
Name string The name of the backup client.
- Client
Type string The type of the backup client.
- Client
Version string The version number of the backup client.
- Cluster
Id string The ID of the SAP HANA instance.
- Id string
The id of the Hana Backup Client. It formats as
<vault_id>:<client_id>
.- Instance
Id string The ID of the instance.
- Instance
Name string The name of the ECS instance.
- Max
Version string The maximum version number of the backup client.
- Network
Type string The network type.
- Status string
The status of the Hana Backup Client. Valid Values:
REGISTERED
,ACTIVATED
,DEACTIVATED
,INSTALLING
,INSTALL_FAILED
,NOT_INSTALLED
,UPGRADING
,UPGRADE_FAILED
,UNINSTALLING
,UNINSTALL_FAILED
,STOPPED
,UNKNOWN
.- Status
Message string The status information.
- Use
Https bool Indicates whether data is transmitted over HTTPS.
- Vault
Id string The ID of the backup vault.
- Alert
Setting string The alert settings.
- Client
Id string The ID of the backup client.
- Client
Name string The name of the backup client.
- Client
Type string The type of the backup client.
- Client
Version string The version number of the backup client.
- Cluster
Id string The ID of the SAP HANA instance.
- Id string
The id of the Hana Backup Client. It formats as
<vault_id>:<client_id>
.- Instance
Id string The ID of the instance.
- Instance
Name string The name of the ECS instance.
- Max
Version string The maximum version number of the backup client.
- Network
Type string The network type.
- Status string
The status of the Hana Backup Client. Valid Values:
REGISTERED
,ACTIVATED
,DEACTIVATED
,INSTALLING
,INSTALL_FAILED
,NOT_INSTALLED
,UPGRADING
,UPGRADE_FAILED
,UNINSTALLING
,UNINSTALL_FAILED
,STOPPED
,UNKNOWN
.- Status
Message string The status information.
- Use
Https bool Indicates whether data is transmitted over HTTPS.
- Vault
Id string The ID of the backup vault.
- alert
Setting String The alert settings.
- client
Id String The ID of the backup client.
- client
Name String The name of the backup client.
- client
Type String The type of the backup client.
- client
Version String The version number of the backup client.
- cluster
Id String The ID of the SAP HANA instance.
- id String
The id of the Hana Backup Client. It formats as
<vault_id>:<client_id>
.- instance
Id String The ID of the instance.
- instance
Name String The name of the ECS instance.
- max
Version String The maximum version number of the backup client.
- network
Type String The network type.
- status String
The status of the Hana Backup Client. Valid Values:
REGISTERED
,ACTIVATED
,DEACTIVATED
,INSTALLING
,INSTALL_FAILED
,NOT_INSTALLED
,UPGRADING
,UPGRADE_FAILED
,UNINSTALLING
,UNINSTALL_FAILED
,STOPPED
,UNKNOWN
.- status
Message String The status information.
- use
Https Boolean Indicates whether data is transmitted over HTTPS.
- vault
Id String The ID of the backup vault.
- alert
Setting string The alert settings.
- client
Id string The ID of the backup client.
- client
Name string The name of the backup client.
- client
Type string The type of the backup client.
- client
Version string The version number of the backup client.
- cluster
Id string The ID of the SAP HANA instance.
- id string
The id of the Hana Backup Client. It formats as
<vault_id>:<client_id>
.- instance
Id string The ID of the instance.
- instance
Name string The name of the ECS instance.
- max
Version string The maximum version number of the backup client.
- network
Type string The network type.
- status string
The status of the Hana Backup Client. Valid Values:
REGISTERED
,ACTIVATED
,DEACTIVATED
,INSTALLING
,INSTALL_FAILED
,NOT_INSTALLED
,UPGRADING
,UPGRADE_FAILED
,UNINSTALLING
,UNINSTALL_FAILED
,STOPPED
,UNKNOWN
.- status
Message string The status information.
- use
Https boolean Indicates whether data is transmitted over HTTPS.
- vault
Id string The ID of the backup vault.
- alert_
setting str The alert settings.
- client_
id str The ID of the backup client.
- client_
name str The name of the backup client.
- client_
type str The type of the backup client.
- client_
version str The version number of the backup client.
- cluster_
id str The ID of the SAP HANA instance.
- id str
The id of the Hana Backup Client. It formats as
<vault_id>:<client_id>
.- instance_
id str The ID of the instance.
- instance_
name str The name of the ECS instance.
- max_
version str The maximum version number of the backup client.
- network_
type str The network type.
- status str
The status of the Hana Backup Client. Valid Values:
REGISTERED
,ACTIVATED
,DEACTIVATED
,INSTALLING
,INSTALL_FAILED
,NOT_INSTALLED
,UPGRADING
,UPGRADE_FAILED
,UNINSTALLING
,UNINSTALL_FAILED
,STOPPED
,UNKNOWN
.- status_
message str The status information.
- use_
https bool Indicates whether data is transmitted over HTTPS.
- vault_
id str The ID of the backup vault.
- alert
Setting String The alert settings.
- client
Id String The ID of the backup client.
- client
Name String The name of the backup client.
- client
Type String The type of the backup client.
- client
Version String The version number of the backup client.
- cluster
Id String The ID of the SAP HANA instance.
- id String
The id of the Hana Backup Client. It formats as
<vault_id>:<client_id>
.- instance
Id String The ID of the instance.
- instance
Name String The name of the ECS instance.
- max
Version String The maximum version number of the backup client.
- network
Type String The network type.
- status String
The status of the Hana Backup Client. Valid Values:
REGISTERED
,ACTIVATED
,DEACTIVATED
,INSTALLING
,INSTALL_FAILED
,NOT_INSTALLED
,UPGRADING
,UPGRADE_FAILED
,UNINSTALLING
,UNINSTALL_FAILED
,STOPPED
,UNKNOWN
.- status
Message String The status information.
- use
Https Boolean Indicates whether data is transmitted over HTTPS.
- vault
Id String The ID of the backup vault.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.