Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.GoldenGate.getDeploymentBackup
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Deployment Backup resource in Oracle Cloud Infrastructure Golden Gate service.
Retrieves a DeploymentBackup.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDeploymentBackup = oci.GoldenGate.getDeploymentBackup({
deploymentBackupId: testDeploymentBackupOciGoldenGateDeploymentBackup.id,
});
import pulumi
import pulumi_oci as oci
test_deployment_backup = oci.GoldenGate.get_deployment_backup(deployment_backup_id=test_deployment_backup_oci_golden_gate_deployment_backup["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/GoldenGate"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := GoldenGate.GetDeploymentBackup(ctx, &goldengate.GetDeploymentBackupArgs{
DeploymentBackupId: testDeploymentBackupOciGoldenGateDeploymentBackup.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDeploymentBackup = Oci.GoldenGate.GetDeploymentBackup.Invoke(new()
{
DeploymentBackupId = testDeploymentBackupOciGoldenGateDeploymentBackup.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.GoldenGate.GoldenGateFunctions;
import com.pulumi.oci.GoldenGate.inputs.GetDeploymentBackupArgs;
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 testDeploymentBackup = GoldenGateFunctions.getDeploymentBackup(GetDeploymentBackupArgs.builder()
.deploymentBackupId(testDeploymentBackupOciGoldenGateDeploymentBackup.id())
.build());
}
}
variables:
testDeploymentBackup:
fn::invoke:
Function: oci:GoldenGate:getDeploymentBackup
Arguments:
deploymentBackupId: ${testDeploymentBackupOciGoldenGateDeploymentBackup.id}
Using getDeploymentBackup
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 getDeploymentBackup(args: GetDeploymentBackupArgs, opts?: InvokeOptions): Promise<GetDeploymentBackupResult>
function getDeploymentBackupOutput(args: GetDeploymentBackupOutputArgs, opts?: InvokeOptions): Output<GetDeploymentBackupResult>
def get_deployment_backup(deployment_backup_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDeploymentBackupResult
def get_deployment_backup_output(deployment_backup_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentBackupResult]
func GetDeploymentBackup(ctx *Context, args *GetDeploymentBackupArgs, opts ...InvokeOption) (*GetDeploymentBackupResult, error)
func GetDeploymentBackupOutput(ctx *Context, args *GetDeploymentBackupOutputArgs, opts ...InvokeOption) GetDeploymentBackupResultOutput
> Note: This function is named GetDeploymentBackup
in the Go SDK.
public static class GetDeploymentBackup
{
public static Task<GetDeploymentBackupResult> InvokeAsync(GetDeploymentBackupArgs args, InvokeOptions? opts = null)
public static Output<GetDeploymentBackupResult> Invoke(GetDeploymentBackupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDeploymentBackupResult> getDeploymentBackup(GetDeploymentBackupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:GoldenGate/getDeploymentBackup:getDeploymentBackup
arguments:
# arguments dictionary
The following arguments are supported:
- Deployment
Backup stringId - A unique DeploymentBackup identifier.
- Deployment
Backup stringId - A unique DeploymentBackup identifier.
- deployment
Backup StringId - A unique DeploymentBackup identifier.
- deployment
Backup stringId - A unique DeploymentBackup identifier.
- deployment_
backup_ strid - A unique DeploymentBackup identifier.
- deployment
Backup StringId - A unique DeploymentBackup identifier.
getDeploymentBackup Result
The following output properties are available:
- Backup
Type string - Possible Deployment backup types.
- Bucket string
- Name of the bucket where the object is to be uploaded in the object storage
- Compartment
Id string - The OCID of the compartment being referenced.
- Dictionary<string, object>
- Tags defined for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Deployment
Backup stringId - Deployment
Id string - The OCID of the deployment being referenced.
- Deployment
Type string - The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'.
- Display
Name string - An object's Display Name.
- Dictionary<string, object>
- A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- The OCID of the backup being referenced.
- Is
Automatic bool - True if this object is automatically created
- Is
Lock boolOverride - Lifecycle
Details string - Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.
- Locks
List<Get
Deployment Backup Lock> - Locks associated with this resource.
- Namespace string
- Name of namespace that serves as a container for all of your buckets
- Object string
- Name of the object to be uploaded to object storage
- Ogg
Version string - Version of OGG
- Size
In doubleBytes - The size of the backup stored in object storage (in bytes)
- State string
- Possible lifecycle states.
- Dictionary<string, object>
- The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- Time
Backup stringFinished - The time of the resource backup finish. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - Time
Created string - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - Time
Of stringBackup - The time of the resource backup. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - Time
Updated string - The time the resource was last updated. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
.
- Backup
Type string - Possible Deployment backup types.
- Bucket string
- Name of the bucket where the object is to be uploaded in the object storage
- Compartment
Id string - The OCID of the compartment being referenced.
- map[string]interface{}
- Tags defined for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Deployment
Backup stringId - Deployment
Id string - The OCID of the deployment being referenced.
- Deployment
Type string - The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'.
- Display
Name string - An object's Display Name.
- map[string]interface{}
- A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- The OCID of the backup being referenced.
- Is
Automatic bool - True if this object is automatically created
- Is
Lock boolOverride - Lifecycle
Details string - Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.
- Locks
[]Get
Deployment Backup Lock - Locks associated with this resource.
- Namespace string
- Name of namespace that serves as a container for all of your buckets
- Object string
- Name of the object to be uploaded to object storage
- Ogg
Version string - Version of OGG
- Size
In float64Bytes - The size of the backup stored in object storage (in bytes)
- State string
- Possible lifecycle states.
- map[string]interface{}
- The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- Time
Backup stringFinished - The time of the resource backup finish. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - Time
Created string - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - Time
Of stringBackup - The time of the resource backup. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - Time
Updated string - The time the resource was last updated. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
.
- backup
Type String - Possible Deployment backup types.
- bucket String
- Name of the bucket where the object is to be uploaded in the object storage
- compartment
Id String - The OCID of the compartment being referenced.
- Map<String,Object>
- Tags defined for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- deployment
Backup StringId - deployment
Id String - The OCID of the deployment being referenced.
- deployment
Type String - The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'.
- display
Name String - An object's Display Name.
- Map<String,Object>
- A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- The OCID of the backup being referenced.
- is
Automatic Boolean - True if this object is automatically created
- is
Lock BooleanOverride - lifecycle
Details String - Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.
- locks
List<Get
Deployment Backup Lock> - Locks associated with this resource.
- namespace String
- Name of namespace that serves as a container for all of your buckets
- object String
- Name of the object to be uploaded to object storage
- ogg
Version String - Version of OGG
- size
In DoubleBytes - The size of the backup stored in object storage (in bytes)
- state String
- Possible lifecycle states.
- Map<String,Object>
- The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- time
Backup StringFinished - The time of the resource backup finish. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time
Created String - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time
Of StringBackup - The time of the resource backup. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time
Updated String - The time the resource was last updated. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
.
- backup
Type string - Possible Deployment backup types.
- bucket string
- Name of the bucket where the object is to be uploaded in the object storage
- compartment
Id string - The OCID of the compartment being referenced.
- {[key: string]: any}
- Tags defined for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- deployment
Backup stringId - deployment
Id string - The OCID of the deployment being referenced.
- deployment
Type string - The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'.
- display
Name string - An object's Display Name.
- {[key: string]: any}
- A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id string
- The OCID of the backup being referenced.
- is
Automatic boolean - True if this object is automatically created
- is
Lock booleanOverride - lifecycle
Details string - Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.
- locks
Get
Deployment Backup Lock[] - Locks associated with this resource.
- namespace string
- Name of namespace that serves as a container for all of your buckets
- object string
- Name of the object to be uploaded to object storage
- ogg
Version string - Version of OGG
- size
In numberBytes - The size of the backup stored in object storage (in bytes)
- state string
- Possible lifecycle states.
- {[key: string]: any}
- The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- time
Backup stringFinished - The time of the resource backup finish. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time
Created string - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time
Of stringBackup - The time of the resource backup. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time
Updated string - The time the resource was last updated. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
.
- backup_
type str - Possible Deployment backup types.
- bucket str
- Name of the bucket where the object is to be uploaded in the object storage
- compartment_
id str - The OCID of the compartment being referenced.
- Mapping[str, Any]
- Tags defined for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- deployment_
backup_ strid - deployment_
id str - The OCID of the deployment being referenced.
- deployment_
type str - The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'.
- display_
name str - An object's Display Name.
- Mapping[str, Any]
- A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id str
- The OCID of the backup being referenced.
- is_
automatic bool - True if this object is automatically created
- is_
lock_ booloverride - lifecycle_
details str - Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.
- locks
Sequence[goldengate.
Get Deployment Backup Lock] - Locks associated with this resource.
- namespace str
- Name of namespace that serves as a container for all of your buckets
- object str
- Name of the object to be uploaded to object storage
- ogg_
version str - Version of OGG
- size_
in_ floatbytes - The size of the backup stored in object storage (in bytes)
- state str
- Possible lifecycle states.
- Mapping[str, Any]
- The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- time_
backup_ strfinished - The time of the resource backup finish. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time_
created str - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time_
of_ strbackup - The time of the resource backup. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time_
updated str - The time the resource was last updated. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
.
- backup
Type String - Possible Deployment backup types.
- bucket String
- Name of the bucket where the object is to be uploaded in the object storage
- compartment
Id String - The OCID of the compartment being referenced.
- Map<Any>
- Tags defined for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- deployment
Backup StringId - deployment
Id String - The OCID of the deployment being referenced.
- deployment
Type String - The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'.
- display
Name String - An object's Display Name.
- Map<Any>
- A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- The OCID of the backup being referenced.
- is
Automatic Boolean - True if this object is automatically created
- is
Lock BooleanOverride - lifecycle
Details String - Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.
- locks List<Property Map>
- Locks associated with this resource.
- namespace String
- Name of namespace that serves as a container for all of your buckets
- object String
- Name of the object to be uploaded to object storage
- ogg
Version String - Version of OGG
- size
In NumberBytes - The size of the backup stored in object storage (in bytes)
- state String
- Possible lifecycle states.
- Map<Any>
- The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}}
- time
Backup StringFinished - The time of the resource backup finish. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time
Created String - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time
Of StringBackup - The time of the resource backup. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - time
Updated String - The time the resource was last updated. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
.
Supporting Types
GetDeploymentBackupLock
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created string - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - Type string
- Type of the lock.
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created string - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - Type string
- Type of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created String - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - type String
- Type of the lock.
- message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created string - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - type string
- Type of the lock.
- message str
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- str
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time_
created str - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - type str
- Type of the lock.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created String - The time the resource was created. The format is defined by RFC3339, such as
2016-08-25T21:10:29.600Z
. - type String
- Type of the lock.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi