Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getAutonomousDatabaseBackup

This data source provides details about a specific Autonomous Database Backup resource in Oracle Cloud Infrastructure Database service.

Gets information about the specified Autonomous Database backup.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testAutonomousDatabaseBackup = Output.Create(Oci.Database.GetAutonomousDatabaseBackup.InvokeAsync(new Oci.Database.GetAutonomousDatabaseBackupArgs
        {
            AutonomousDatabaseBackupId = oci_database_autonomous_database_backup.Test_autonomous_database_backup.Id,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Database.GetAutonomousDatabaseBackup(ctx, &database.GetAutonomousDatabaseBackupArgs{
			AutonomousDatabaseBackupId: oci_database_autonomous_database_backup.Test_autonomous_database_backup.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_autonomous_database_backup = oci.Database.get_autonomous_database_backup(autonomous_database_backup_id=oci_database_autonomous_database_backup["test_autonomous_database_backup"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAutonomousDatabaseBackup = oci.Database.getAutonomousDatabaseBackup({
    autonomousDatabaseBackupId: oci_database_autonomous_database_backup.test_autonomous_database_backup.id,
});

Coming soon!

Using getAutonomousDatabaseBackup

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 getAutonomousDatabaseBackup(args: GetAutonomousDatabaseBackupArgs, opts?: InvokeOptions): Promise<GetAutonomousDatabaseBackupResult>
function getAutonomousDatabaseBackupOutput(args: GetAutonomousDatabaseBackupOutputArgs, opts?: InvokeOptions): Output<GetAutonomousDatabaseBackupResult>
def get_autonomous_database_backup(autonomous_database_backup_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetAutonomousDatabaseBackupResult
def get_autonomous_database_backup_output(autonomous_database_backup_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousDatabaseBackupResult]
func GetAutonomousDatabaseBackup(ctx *Context, args *GetAutonomousDatabaseBackupArgs, opts ...InvokeOption) (*GetAutonomousDatabaseBackupResult, error)
func GetAutonomousDatabaseBackupOutput(ctx *Context, args *GetAutonomousDatabaseBackupOutputArgs, opts ...InvokeOption) GetAutonomousDatabaseBackupResultOutput

> Note: This function is named GetAutonomousDatabaseBackup in the Go SDK.

public static class GetAutonomousDatabaseBackup 
{
    public static Task<GetAutonomousDatabaseBackupResult> InvokeAsync(GetAutonomousDatabaseBackupArgs args, InvokeOptions? opts = null)
    public static Output<GetAutonomousDatabaseBackupResult> Invoke(GetAutonomousDatabaseBackupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAutonomousDatabaseBackupResult> getAutonomousDatabaseBackup(GetAutonomousDatabaseBackupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Database/getAutonomousDatabaseBackup:getAutonomousDatabaseBackup
  Arguments:
    # Arguments dictionary

The following arguments are supported:

AutonomousDatabaseBackupId string

The OCID of the Autonomous Database backup.

AutonomousDatabaseBackupId string

The OCID of the Autonomous Database backup.

autonomousDatabaseBackupId String

The OCID of the Autonomous Database backup.

autonomousDatabaseBackupId string

The OCID of the Autonomous Database backup.

autonomous_database_backup_id str

The OCID of the Autonomous Database backup.

autonomousDatabaseBackupId String

The OCID of the Autonomous Database backup.

getAutonomousDatabaseBackup Result

The following output properties are available:

AutonomousDatabaseBackupId string
AutonomousDatabaseId string

The OCID of the Autonomous Database.

CompartmentId string

The OCID of the compartment.

DatabaseSizeInTbs double

The size of the database in terabytes at the time the backup was taken.

DisplayName string

The user-friendly name for the backup. The name does not have to be unique.

Id string

The OCID of the Autonomous Database backup.

IsAutomatic bool

Indicates whether the backup is user-initiated or automatic.

IsRestorable bool

Indicates whether the backup can be used to restore the associated Autonomous Database.

KeyStoreId string

The OCID of the key store.

KeyStoreWalletName string

The wallet name for Oracle Key Vault.

KmsKeyId string

The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

KmsKeyVersionId string

The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation.

LifecycleDetails string

Additional information about the current lifecycle state.

State string

The current state of the backup.

TimeEnded string

The date and time the backup completed.

TimeStarted string

The date and time the backup started.

Type string

The type of backup.

VaultId string

The OCID of the Oracle Cloud Infrastructure vault.

AutonomousDatabaseBackupId string
AutonomousDatabaseId string

The OCID of the Autonomous Database.

CompartmentId string

The OCID of the compartment.

DatabaseSizeInTbs float64

The size of the database in terabytes at the time the backup was taken.

DisplayName string

The user-friendly name for the backup. The name does not have to be unique.

Id string

The OCID of the Autonomous Database backup.

IsAutomatic bool

Indicates whether the backup is user-initiated or automatic.

IsRestorable bool

Indicates whether the backup can be used to restore the associated Autonomous Database.

KeyStoreId string

The OCID of the key store.

KeyStoreWalletName string

The wallet name for Oracle Key Vault.

KmsKeyId string

The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

KmsKeyVersionId string

The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation.

LifecycleDetails string

Additional information about the current lifecycle state.

State string

The current state of the backup.

TimeEnded string

The date and time the backup completed.

TimeStarted string

The date and time the backup started.

Type string

The type of backup.

VaultId string

The OCID of the Oracle Cloud Infrastructure vault.

autonomousDatabaseBackupId String
autonomousDatabaseId String

The OCID of the Autonomous Database.

compartmentId String

The OCID of the compartment.

databaseSizeInTbs Double

The size of the database in terabytes at the time the backup was taken.

displayName String

The user-friendly name for the backup. The name does not have to be unique.

id String

The OCID of the Autonomous Database backup.

isAutomatic Boolean

Indicates whether the backup is user-initiated or automatic.

isRestorable Boolean

Indicates whether the backup can be used to restore the associated Autonomous Database.

keyStoreId String

The OCID of the key store.

keyStoreWalletName String

The wallet name for Oracle Key Vault.

kmsKeyId String

The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

kmsKeyVersionId String

The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation.

lifecycleDetails String

Additional information about the current lifecycle state.

state String

The current state of the backup.

timeEnded String

The date and time the backup completed.

timeStarted String

The date and time the backup started.

type String

The type of backup.

vaultId String

The OCID of the Oracle Cloud Infrastructure vault.

autonomousDatabaseBackupId string
autonomousDatabaseId string

The OCID of the Autonomous Database.

compartmentId string

The OCID of the compartment.

databaseSizeInTbs number

The size of the database in terabytes at the time the backup was taken.

displayName string

The user-friendly name for the backup. The name does not have to be unique.

id string

The OCID of the Autonomous Database backup.

isAutomatic boolean

Indicates whether the backup is user-initiated or automatic.

isRestorable boolean

Indicates whether the backup can be used to restore the associated Autonomous Database.

keyStoreId string

The OCID of the key store.

keyStoreWalletName string

The wallet name for Oracle Key Vault.

kmsKeyId string

The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

kmsKeyVersionId string

The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation.

lifecycleDetails string

Additional information about the current lifecycle state.

state string

The current state of the backup.

timeEnded string

The date and time the backup completed.

timeStarted string

The date and time the backup started.

type string

The type of backup.

vaultId string

The OCID of the Oracle Cloud Infrastructure vault.

autonomous_database_backup_id str
autonomous_database_id str

The OCID of the Autonomous Database.

compartment_id str

The OCID of the compartment.

database_size_in_tbs float

The size of the database in terabytes at the time the backup was taken.

display_name str

The user-friendly name for the backup. The name does not have to be unique.

id str

The OCID of the Autonomous Database backup.

is_automatic bool

Indicates whether the backup is user-initiated or automatic.

is_restorable bool

Indicates whether the backup can be used to restore the associated Autonomous Database.

key_store_id str

The OCID of the key store.

key_store_wallet_name str

The wallet name for Oracle Key Vault.

kms_key_id str

The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

kms_key_version_id str

The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation.

lifecycle_details str

Additional information about the current lifecycle state.

state str

The current state of the backup.

time_ended str

The date and time the backup completed.

time_started str

The date and time the backup started.

type str

The type of backup.

vault_id str

The OCID of the Oracle Cloud Infrastructure vault.

autonomousDatabaseBackupId String
autonomousDatabaseId String

The OCID of the Autonomous Database.

compartmentId String

The OCID of the compartment.

databaseSizeInTbs Number

The size of the database in terabytes at the time the backup was taken.

displayName String

The user-friendly name for the backup. The name does not have to be unique.

id String

The OCID of the Autonomous Database backup.

isAutomatic Boolean

Indicates whether the backup is user-initiated or automatic.

isRestorable Boolean

Indicates whether the backup can be used to restore the associated Autonomous Database.

keyStoreId String

The OCID of the key store.

keyStoreWalletName String

The wallet name for Oracle Key Vault.

kmsKeyId String

The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

kmsKeyVersionId String

The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation.

lifecycleDetails String

Additional information about the current lifecycle state.

state String

The current state of the backup.

timeEnded String

The date and time the backup completed.

timeStarted String

The date and time the backup started.

type String

The type of backup.

vaultId String

The OCID of the Oracle Cloud Infrastructure vault.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.