Viewing docs for ibm 2.9.0
published on Thursday, Nov 5, 2026 by ibm-cloud
published on Thursday, Nov 5, 2026 by ibm-cloud
ibm
Viewing docs for ibm 2.9.0
published on Thursday, Nov 5, 2026 by ibm-cloud
published on Thursday, Nov 5, 2026 by ibm-cloud
Provides a read-only data source to retrieve information about Get Batch Vault Failover Status. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const backupRecoveryVaultFailoverStatus = ibm.getBackupRecoveryVaultFailoverStatus({
cloudType: "ibm",
vaultIds: [8],
xIbmTenantId: "tenantId",
});
import pulumi
import pulumi_ibm as ibm
backup_recovery_vault_failover_status = ibm.get_backup_recovery_vault_failover_status(cloud_type="ibm",
vault_ids=[8],
x_ibm_tenant_id="tenantId")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.GetBackupRecoveryVaultFailoverStatus(ctx, &ibm.GetBackupRecoveryVaultFailoverStatusArgs{
CloudType: "ibm",
VaultIds: []float64{
8,
},
XIbmTenantId: "tenantId",
}, nil)
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 backupRecoveryVaultFailoverStatus = Ibm.GetBackupRecoveryVaultFailoverStatus.Invoke(new()
{
CloudType = "ibm",
VaultIds = new[]
{
8,
},
XIbmTenantId = "tenantId",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetBackupRecoveryVaultFailoverStatusArgs;
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 backupRecoveryVaultFailoverStatus = IbmFunctions.getBackupRecoveryVaultFailoverStatus(GetBackupRecoveryVaultFailoverStatusArgs.builder()
.cloudType("ibm")
.vaultIds(8)
.xIbmTenantId("tenantId")
.build());
}
}
variables:
backupRecoveryVaultFailoverStatus:
fn::invoke:
function: ibm:getBackupRecoveryVaultFailoverStatus
arguments:
cloudType: ibm
vaultIds:
- 8
xIbmTenantId: tenantId
Example coming soon!
Using getBackupRecoveryVaultFailoverStatus
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 getBackupRecoveryVaultFailoverStatus(args: GetBackupRecoveryVaultFailoverStatusArgs, opts?: InvokeOptions): Promise<GetBackupRecoveryVaultFailoverStatusResult>
function getBackupRecoveryVaultFailoverStatusOutput(args: GetBackupRecoveryVaultFailoverStatusOutputArgs, opts?: InvokeOutputOptions): Output<GetBackupRecoveryVaultFailoverStatusResult>def get_backup_recovery_vault_failover_status(cloud_type: Optional[str] = None,
endpoint_type: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
region: Optional[str] = None,
service_name: Optional[str] = None,
vault_ids: Optional[Sequence[float]] = None,
x_ibm_tenant_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBackupRecoveryVaultFailoverStatusResult
def get_backup_recovery_vault_failover_status_output(cloud_type: pulumi.Input[Optional[str]] = None,
endpoint_type: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
instance_id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
service_name: pulumi.Input[Optional[str]] = None,
vault_ids: pulumi.Input[Optional[Sequence[pulumi.Input[float]]]] = None,
x_ibm_tenant_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetBackupRecoveryVaultFailoverStatusResult]func GetBackupRecoveryVaultFailoverStatus(ctx *Context, args *GetBackupRecoveryVaultFailoverStatusArgs, opts ...InvokeOption) (*GetBackupRecoveryVaultFailoverStatusResult, error)
func GetBackupRecoveryVaultFailoverStatusOutput(ctx *Context, args *GetBackupRecoveryVaultFailoverStatusOutputArgs, opts ...InvokeOption) GetBackupRecoveryVaultFailoverStatusResultOutput> Note: This function is named GetBackupRecoveryVaultFailoverStatus in the Go SDK.
public static class GetBackupRecoveryVaultFailoverStatus
{
public static Task<GetBackupRecoveryVaultFailoverStatusResult> InvokeAsync(GetBackupRecoveryVaultFailoverStatusArgs args, InvokeOptions? opts = null)
public static Output<GetBackupRecoveryVaultFailoverStatusResult> Invoke(GetBackupRecoveryVaultFailoverStatusInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetBackupRecoveryVaultFailoverStatusResult> Invoke(GetBackupRecoveryVaultFailoverStatusInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetBackupRecoveryVaultFailoverStatusResult> getBackupRecoveryVaultFailoverStatus(GetBackupRecoveryVaultFailoverStatusArgs args, InvokeOptions options)
public static Output<GetBackupRecoveryVaultFailoverStatusResult> getBackupRecoveryVaultFailoverStatus(GetBackupRecoveryVaultFailoverStatusArgs args, InvokeOptions options)
public static Output<GetBackupRecoveryVaultFailoverStatusResult> getBackupRecoveryVaultFailoverStatus(GetBackupRecoveryVaultFailoverStatusArgs args, InvokeOutputOptions options)
fn::invoke:
function: ibm:index/getBackupRecoveryVaultFailoverStatus:getBackupRecoveryVaultFailoverStatus
arguments:
# arguments dictionarydata "ibm_get_backup_recovery_vault_failover_status" "name" {
# arguments
}The following arguments are supported:
- Cloud
Type string - Specifies the cloud environment type where the Backup and Recovery instance is used. Currently, only 'ibm' is supported for failovers.
- Constraints: Allowable values are:
ibm.
- Constraints: Allowable values are:
- Vault
Ids List<double> - Specifies the unique ids of the Backup and Recovery instances i.e. vaults for which the latest failover status is to be fetched.
- XIbm
Tenant stringId - Id of the tenant accessing the cluster.
- Endpoint
Type string - Id string
- The unique identifier of the Get Batch Vault Failover Status.
- Instance
Id string - Region string
- Service
Name string
- Cloud
Type string - Specifies the cloud environment type where the Backup and Recovery instance is used. Currently, only 'ibm' is supported for failovers.
- Constraints: Allowable values are:
ibm.
- Constraints: Allowable values are:
- Vault
Ids []float64 - Specifies the unique ids of the Backup and Recovery instances i.e. vaults for which the latest failover status is to be fetched.
- XIbm
Tenant stringId - Id of the tenant accessing the cluster.
- Endpoint
Type string - Id string
- The unique identifier of the Get Batch Vault Failover Status.
- Instance
Id string - Region string
- Service
Name string
- cloud_
type string - Specifies the cloud environment type where the Backup and Recovery instance is used. Currently, only 'ibm' is supported for failovers.
- Constraints: Allowable values are:
ibm.
- Constraints: Allowable values are:
- vault_
ids list(number) - Specifies the unique ids of the Backup and Recovery instances i.e. vaults for which the latest failover status is to be fetched.
- x_
ibm_ stringtenant_ id - Id of the tenant accessing the cluster.
- endpoint_
type string - id string
- The unique identifier of the Get Batch Vault Failover Status.
- instance_
id string - region string
- service_
name string
- cloud
Type String - Specifies the cloud environment type where the Backup and Recovery instance is used. Currently, only 'ibm' is supported for failovers.
- Constraints: Allowable values are:
ibm.
- Constraints: Allowable values are:
- vault
Ids List<Double> - Specifies the unique ids of the Backup and Recovery instances i.e. vaults for which the latest failover status is to be fetched.
- x
Ibm StringTenant Id - Id of the tenant accessing the cluster.
- endpoint
Type String - id String
- The unique identifier of the Get Batch Vault Failover Status.
- instance
Id String - region String
- service
Name String
- cloud
Type string - Specifies the cloud environment type where the Backup and Recovery instance is used. Currently, only 'ibm' is supported for failovers.
- Constraints: Allowable values are:
ibm.
- Constraints: Allowable values are:
- vault
Ids number[] - Specifies the unique ids of the Backup and Recovery instances i.e. vaults for which the latest failover status is to be fetched.
- x
Ibm stringTenant Id - Id of the tenant accessing the cluster.
- endpoint
Type string - id string
- The unique identifier of the Get Batch Vault Failover Status.
- instance
Id string - region string
- service
Name string
- cloud_
type str - Specifies the cloud environment type where the Backup and Recovery instance is used. Currently, only 'ibm' is supported for failovers.
- Constraints: Allowable values are:
ibm.
- Constraints: Allowable values are:
- vault_
ids Sequence[float] - Specifies the unique ids of the Backup and Recovery instances i.e. vaults for which the latest failover status is to be fetched.
- x_
ibm_ strtenant_ id - Id of the tenant accessing the cluster.
- endpoint_
type str - id str
- The unique identifier of the Get Batch Vault Failover Status.
- instance_
id str - region str
- service_
name str
- cloud
Type String - Specifies the cloud environment type where the Backup and Recovery instance is used. Currently, only 'ibm' is supported for failovers.
- Constraints: Allowable values are:
ibm.
- Constraints: Allowable values are:
- vault
Ids List<Number> - Specifies the unique ids of the Backup and Recovery instances i.e. vaults for which the latest failover status is to be fetched.
- x
Ibm StringTenant Id - Id of the tenant accessing the cluster.
- endpoint
Type String - id String
- The unique identifier of the Get Batch Vault Failover Status.
- instance
Id String - region String
- service
Name String
getBackupRecoveryVaultFailoverStatus Result
The following output properties are available:
- Cloud
Type string - Error
Message string - (String) Specifies the error message if the vault failover failed.
- Failover
Statuses List<GetBackup Recovery Vault Failover Status Failover Status> - (List) Array of failover statuses for the specified Backup and Recovery instances. Nested schema for failover_statuses:
- Id string
- The unique identifier of the Get Batch Vault Failover Status.
- Region string
- Vault
Ids List<double> - XIbm
Tenant stringId - Endpoint
Type string - Instance
Id string - Service
Name string
- Cloud
Type string - Error
Message string - (String) Specifies the error message if the vault failover failed.
- Failover
Statuses []GetBackup Recovery Vault Failover Status Failover Status - (List) Array of failover statuses for the specified Backup and Recovery instances. Nested schema for failover_statuses:
- Id string
- The unique identifier of the Get Batch Vault Failover Status.
- Region string
- Vault
Ids []float64 - XIbm
Tenant stringId - Endpoint
Type string - Instance
Id string - Service
Name string
- cloud_
type string - error_
message string - (String) Specifies the error message if the vault failover failed.
- failover_
statuses list(object) - (List) Array of failover statuses for the specified Backup and Recovery instances. Nested schema for failover_statuses:
- id string
- The unique identifier of the Get Batch Vault Failover Status.
- region string
- vault_
ids list(number) - x_
ibm_ stringtenant_ id - endpoint_
type string - instance_
id string - service_
name string
- cloud
Type String - error
Message String - (String) Specifies the error message if the vault failover failed.
- failover
Statuses List<GetBackup Recovery Vault Failover Status Failover Status> - (List) Array of failover statuses for the specified Backup and Recovery instances. Nested schema for failover_statuses:
- id String
- The unique identifier of the Get Batch Vault Failover Status.
- region String
- vault
Ids List<Double> - x
Ibm StringTenant Id - endpoint
Type String - instance
Id String - service
Name String
- cloud
Type string - error
Message string - (String) Specifies the error message if the vault failover failed.
- failover
Statuses GetBackup Recovery Vault Failover Status Failover Status[] - (List) Array of failover statuses for the specified Backup and Recovery instances. Nested schema for failover_statuses:
- id string
- The unique identifier of the Get Batch Vault Failover Status.
- region string
- vault
Ids number[] - x
Ibm stringTenant Id - endpoint
Type string - instance
Id string - service
Name string
- cloud_
type str - error_
message str - (String) Specifies the error message if the vault failover failed.
- failover_
statuses Sequence[GetBackup Recovery Vault Failover Status Failover Status] - (List) Array of failover statuses for the specified Backup and Recovery instances. Nested schema for failover_statuses:
- id str
- The unique identifier of the Get Batch Vault Failover Status.
- region str
- vault_
ids Sequence[float] - x_
ibm_ strtenant_ id - endpoint_
type str - instance_
id str - service_
name str
- cloud
Type String - error
Message String - (String) Specifies the error message if the vault failover failed.
- failover
Statuses List<Property Map> - (List) Array of failover statuses for the specified Backup and Recovery instances. Nested schema for failover_statuses:
- id String
- The unique identifier of the Get Batch Vault Failover Status.
- region String
- vault
Ids List<Number> - x
Ibm StringTenant Id - endpoint
Type String - instance
Id String - service
Name String
Supporting Types
GetBackupRecoveryVaultFailoverStatusFailoverStatus
- Statuses
List<Get
Backup Recovery Vault Failover Status Failover Status Status> - (String) Specifies the current status of the failover.
- Constraints: Allowable values are:
Accepted,Running,Canceled,Canceling,Failed,Missed,Succeeded,SucceededWithWarning,OnHold,Finalizing,Skipped,LegalHold.
- Constraints: Allowable values are:
- Vault
Id double - (Integer) Specifies the unique id of the Backup and Recovery instance.
- Statuses
[]Get
Backup Recovery Vault Failover Status Failover Status Status - (String) Specifies the current status of the failover.
- Constraints: Allowable values are:
Accepted,Running,Canceled,Canceling,Failed,Missed,Succeeded,SucceededWithWarning,OnHold,Finalizing,Skipped,LegalHold.
- Constraints: Allowable values are:
- Vault
Id float64 - (Integer) Specifies the unique id of the Backup and Recovery instance.
- statuses list(object)
- (String) Specifies the current status of the failover.
- Constraints: Allowable values are:
Accepted,Running,Canceled,Canceling,Failed,Missed,Succeeded,SucceededWithWarning,OnHold,Finalizing,Skipped,LegalHold.
- Constraints: Allowable values are:
- vault_
id number - (Integer) Specifies the unique id of the Backup and Recovery instance.
- statuses
List<Get
Backup Recovery Vault Failover Status Failover Status Status> - (String) Specifies the current status of the failover.
- Constraints: Allowable values are:
Accepted,Running,Canceled,Canceling,Failed,Missed,Succeeded,SucceededWithWarning,OnHold,Finalizing,Skipped,LegalHold.
- Constraints: Allowable values are:
- vault
Id Double - (Integer) Specifies the unique id of the Backup and Recovery instance.
- statuses
Get
Backup Recovery Vault Failover Status Failover Status Status[] - (String) Specifies the current status of the failover.
- Constraints: Allowable values are:
Accepted,Running,Canceled,Canceling,Failed,Missed,Succeeded,SucceededWithWarning,OnHold,Finalizing,Skipped,LegalHold.
- Constraints: Allowable values are:
- vault
Id number - (Integer) Specifies the unique id of the Backup and Recovery instance.
- statuses
Sequence[Get
Backup Recovery Vault Failover Status Failover Status Status] - (String) Specifies the current status of the failover.
- Constraints: Allowable values are:
Accepted,Running,Canceled,Canceling,Failed,Missed,Succeeded,SucceededWithWarning,OnHold,Finalizing,Skipped,LegalHold.
- Constraints: Allowable values are:
- vault_
id float - (Integer) Specifies the unique id of the Backup and Recovery instance.
- statuses List<Property Map>
- (String) Specifies the current status of the failover.
- Constraints: Allowable values are:
Accepted,Running,Canceled,Canceling,Failed,Missed,Succeeded,SucceededWithWarning,OnHold,Finalizing,Skipped,LegalHold.
- Constraints: Allowable values are:
- vault
Id Number - (Integer) Specifies the unique id of the Backup and Recovery instance.
GetBackupRecoveryVaultFailoverStatusFailoverStatusStatus
- End
Time doubleUsecs - (Integer) Specifies the end time of the failover in microseconds since epoch.
- Error
Message string - (String) Specifies the error message if the vault failover failed.
- Start
Time doubleUsecs - (Integer) Specifies the start time of the failover in microseconds since epoch.
- Status string
- (String) Specifies the current status of the failover.
- Constraints: Allowable values are:
Accepted,Running,Canceled,Canceling,Failed,Missed,Succeeded,SucceededWithWarning,OnHold,Finalizing,Skipped,LegalHold.
- Constraints: Allowable values are:
- Uid string
- (String) Specifies the unique id of the failover.
- End
Time float64Usecs - (Integer) Specifies the end time of the failover in microseconds since epoch.
- Error
Message string - (String) Specifies the error message if the vault failover failed.
- Start
Time float64Usecs - (Integer) Specifies the start time of the failover in microseconds since epoch.
- Status string
- (String) Specifies the current status of the failover.
- Constraints: Allowable values are:
Accepted,Running,Canceled,Canceling,Failed,Missed,Succeeded,SucceededWithWarning,OnHold,Finalizing,Skipped,LegalHold.
- Constraints: Allowable values are:
- Uid string
- (String) Specifies the unique id of the failover.
- end_
time_ numberusecs - (Integer) Specifies the end time of the failover in microseconds since epoch.
- error_
message string - (String) Specifies the error message if the vault failover failed.
- start_
time_ numberusecs - (Integer) Specifies the start time of the failover in microseconds since epoch.
- status string
- (String) Specifies the current status of the failover.
- Constraints: Allowable values are:
Accepted,Running,Canceled,Canceling,Failed,Missed,Succeeded,SucceededWithWarning,OnHold,Finalizing,Skipped,LegalHold.
- Constraints: Allowable values are:
- uid string
- (String) Specifies the unique id of the failover.
- end
Time DoubleUsecs - (Integer) Specifies the end time of the failover in microseconds since epoch.
- error
Message String - (String) Specifies the error message if the vault failover failed.
- start
Time DoubleUsecs - (Integer) Specifies the start time of the failover in microseconds since epoch.
- status String
- (String) Specifies the current status of the failover.
- Constraints: Allowable values are:
Accepted,Running,Canceled,Canceling,Failed,Missed,Succeeded,SucceededWithWarning,OnHold,Finalizing,Skipped,LegalHold.
- Constraints: Allowable values are:
- uid String
- (String) Specifies the unique id of the failover.
- end
Time numberUsecs - (Integer) Specifies the end time of the failover in microseconds since epoch.
- error
Message string - (String) Specifies the error message if the vault failover failed.
- start
Time numberUsecs - (Integer) Specifies the start time of the failover in microseconds since epoch.
- status string
- (String) Specifies the current status of the failover.
- Constraints: Allowable values are:
Accepted,Running,Canceled,Canceling,Failed,Missed,Succeeded,SucceededWithWarning,OnHold,Finalizing,Skipped,LegalHold.
- Constraints: Allowable values are:
- uid string
- (String) Specifies the unique id of the failover.
- end_
time_ floatusecs - (Integer) Specifies the end time of the failover in microseconds since epoch.
- error_
message str - (String) Specifies the error message if the vault failover failed.
- start_
time_ floatusecs - (Integer) Specifies the start time of the failover in microseconds since epoch.
- status str
- (String) Specifies the current status of the failover.
- Constraints: Allowable values are:
Accepted,Running,Canceled,Canceling,Failed,Missed,Succeeded,SucceededWithWarning,OnHold,Finalizing,Skipped,LegalHold.
- Constraints: Allowable values are:
- uid str
- (String) Specifies the unique id of the failover.
- end
Time NumberUsecs - (Integer) Specifies the end time of the failover in microseconds since epoch.
- error
Message String - (String) Specifies the error message if the vault failover failed.
- start
Time NumberUsecs - (Integer) Specifies the start time of the failover in microseconds since epoch.
- status String
- (String) Specifies the current status of the failover.
- Constraints: Allowable values are:
Accepted,Running,Canceled,Canceling,Failed,Missed,Succeeded,SucceededWithWarning,OnHold,Finalizing,Skipped,LegalHold.
- Constraints: Allowable values are:
- uid String
- (String) Specifies the unique id of the failover.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
ibm
Viewing docs for ibm 2.9.0
published on Thursday, Nov 5, 2026 by ibm-cloud
published on Thursday, Nov 5, 2026 by ibm-cloud