Oracle Cloud Infrastructure
getDatabaseRegistration
This data source provides details about a specific Database Registration resource in Oracle Cloud Infrastructure Golden Gate service.
Retrieves a DatabaseRegistration.
Example Usage
using Pulumi;
using Oci = Pulumi.Oci;
class MyStack : Stack
{
public MyStack()
{
var testDatabaseRegistration = Output.Create(Oci.GoldenGate.GetDatabaseRegistration.InvokeAsync(new Oci.GoldenGate.GetDatabaseRegistrationArgs
{
DatabaseRegistrationId = oci_golden_gate_database_registration.Test_database_registration.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.GetDatabaseRegistration(ctx, &goldengate.GetDatabaseRegistrationArgs{
DatabaseRegistrationId: oci_golden_gate_database_registration.Test_database_registration.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_oci as oci
test_database_registration = oci.GoldenGate.get_database_registration(database_registration_id=oci_golden_gate_database_registration["test_database_registration"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDatabaseRegistration = oci.GoldenGate.getDatabaseRegistration({
databaseRegistrationId: oci_golden_gate_database_registration.test_database_registration.id,
});
Coming soon!
Using getDatabaseRegistration
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 getDatabaseRegistration(args: GetDatabaseRegistrationArgs, opts?: InvokeOptions): Promise<GetDatabaseRegistrationResult>
function getDatabaseRegistrationOutput(args: GetDatabaseRegistrationOutputArgs, opts?: InvokeOptions): Output<GetDatabaseRegistrationResult>
def get_database_registration(database_registration_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseRegistrationResult
def get_database_registration_output(database_registration_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseRegistrationResult]
func GetDatabaseRegistration(ctx *Context, args *GetDatabaseRegistrationArgs, opts ...InvokeOption) (*GetDatabaseRegistrationResult, error)
func GetDatabaseRegistrationOutput(ctx *Context, args *GetDatabaseRegistrationOutputArgs, opts ...InvokeOption) GetDatabaseRegistrationResultOutput
> Note: This function is named GetDatabaseRegistration
in the Go SDK.
public static class GetDatabaseRegistration
{
public static Task<GetDatabaseRegistrationResult> InvokeAsync(GetDatabaseRegistrationArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseRegistrationResult> Invoke(GetDatabaseRegistrationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseRegistrationResult> getDatabaseRegistration(GetDatabaseRegistrationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: oci:GoldenGate/getDatabaseRegistration:getDatabaseRegistration
Arguments:
# Arguments dictionary
The following arguments are supported:
- Database
Registration stringId A unique DatabaseRegistration identifier.
- Database
Registration stringId A unique DatabaseRegistration identifier.
- database
Registration StringId A unique DatabaseRegistration identifier.
- database
Registration stringId A unique DatabaseRegistration identifier.
- database_
registration_ strid A unique DatabaseRegistration identifier.
- database
Registration StringId A unique DatabaseRegistration identifier.
getDatabaseRegistration Result
The following output properties are available:
- Alias
Name string Credential store alias.
- Compartment
Id string The OCID of the compartment being referenced.
- Connection
String string Connect descriptor or Easy Connect Naming method that Oracle GoldenGate uses to connect to a database.
- Database
Id string The OCID of the database being referenced.
- Database
Registration stringId - Dictionary<string, object>
Tags defined for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
Metadata about this specific object.
- Display
Name string An object's Display Name.
- Fqdn string
A three-label Fully Qualified Domain Name (FQDN) for a resource.
- 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 databaseRegistration being referenced.
- Ip
Address string The private IP address in the customer's VCN of the customer's endpoint, typically a database.
- Key
Id string The OCID of the customer "Master" key being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this key to manage secrets.
- 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.
- Password string
- Rce
Private stringIp A Private Endpoint IP Address created in the customer's subnet. A customer database can expect network traffic initiated by GGS from this IP address and send network traffic to this IP address, typically in response to requests from GGS (OGG). The customer may utilize this IP address in Security Lists or Network Security Groups (NSG) as needed.
- Secret
Compartment stringId The OCID of the compartment where the the GGS Secret will be created. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Compartment in which to create a Secret.
- Secret
Id string The OCID of the customer GGS Secret being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Secret
- Session
Mode string The mode of the database connection session to be established by the data client. REDIRECT - for a RAC database, DIRECT - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT.
- State string
Possible lifecycle states.
- Subnet
Id string The OCID of the subnet being referenced.
- 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
Created string The time the resource was created. 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
.- Username string
The username Oracle GoldenGate uses to connect the associated RDBMS. This username must already exist and be available for use by the database. It must conform to the security requirements implemented by the database including length, case sensitivity, and so on.
- Vault
Id string The OCID of the customer vault being referenced. If provided, this will reference a vault which the customer will be required to ensure the policies are established to permit the GoldenGate Service to manage secrets contained within this vault.
- Wallet string
- Alias
Name string Credential store alias.
- Compartment
Id string The OCID of the compartment being referenced.
- Connection
String string Connect descriptor or Easy Connect Naming method that Oracle GoldenGate uses to connect to a database.
- Database
Id string The OCID of the database being referenced.
- Database
Registration stringId - map[string]interface{}
Tags defined for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
Metadata about this specific object.
- Display
Name string An object's Display Name.
- Fqdn string
A three-label Fully Qualified Domain Name (FQDN) for a resource.
- 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 databaseRegistration being referenced.
- Ip
Address string The private IP address in the customer's VCN of the customer's endpoint, typically a database.
- Key
Id string The OCID of the customer "Master" key being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this key to manage secrets.
- 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.
- Password string
- Rce
Private stringIp A Private Endpoint IP Address created in the customer's subnet. A customer database can expect network traffic initiated by GGS from this IP address and send network traffic to this IP address, typically in response to requests from GGS (OGG). The customer may utilize this IP address in Security Lists or Network Security Groups (NSG) as needed.
- Secret
Compartment stringId The OCID of the compartment where the the GGS Secret will be created. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Compartment in which to create a Secret.
- Secret
Id string The OCID of the customer GGS Secret being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Secret
- Session
Mode string The mode of the database connection session to be established by the data client. REDIRECT - for a RAC database, DIRECT - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT.
- State string
Possible lifecycle states.
- Subnet
Id string The OCID of the subnet being referenced.
- 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
Created string The time the resource was created. 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
.- Username string
The username Oracle GoldenGate uses to connect the associated RDBMS. This username must already exist and be available for use by the database. It must conform to the security requirements implemented by the database including length, case sensitivity, and so on.
- Vault
Id string The OCID of the customer vault being referenced. If provided, this will reference a vault which the customer will be required to ensure the policies are established to permit the GoldenGate Service to manage secrets contained within this vault.
- Wallet string
- alias
Name String Credential store alias.
- compartment
Id String The OCID of the compartment being referenced.
- connection
String String Connect descriptor or Easy Connect Naming method that Oracle GoldenGate uses to connect to a database.
- database
Id String The OCID of the database being referenced.
- database
Registration StringId - Map<String,Object>
Tags defined for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
Metadata about this specific object.
- display
Name String An object's Display Name.
- fqdn String
A three-label Fully Qualified Domain Name (FQDN) for a resource.
- 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 databaseRegistration being referenced.
- ip
Address String The private IP address in the customer's VCN of the customer's endpoint, typically a database.
- key
Id String The OCID of the customer "Master" key being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this key to manage secrets.
- 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.
- password String
- rce
Private StringIp A Private Endpoint IP Address created in the customer's subnet. A customer database can expect network traffic initiated by GGS from this IP address and send network traffic to this IP address, typically in response to requests from GGS (OGG). The customer may utilize this IP address in Security Lists or Network Security Groups (NSG) as needed.
- secret
Compartment StringId The OCID of the compartment where the the GGS Secret will be created. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Compartment in which to create a Secret.
- secret
Id String The OCID of the customer GGS Secret being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Secret
- session
Mode String The mode of the database connection session to be established by the data client. REDIRECT - for a RAC database, DIRECT - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT.
- state String
Possible lifecycle states.
- subnet
Id String The OCID of the subnet being referenced.
- 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
Created String The time the resource was created. 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
.- username String
The username Oracle GoldenGate uses to connect the associated RDBMS. This username must already exist and be available for use by the database. It must conform to the security requirements implemented by the database including length, case sensitivity, and so on.
- vault
Id String The OCID of the customer vault being referenced. If provided, this will reference a vault which the customer will be required to ensure the policies are established to permit the GoldenGate Service to manage secrets contained within this vault.
- wallet String
- alias
Name string Credential store alias.
- compartment
Id string The OCID of the compartment being referenced.
- connection
String string Connect descriptor or Easy Connect Naming method that Oracle GoldenGate uses to connect to a database.
- database
Id string The OCID of the database being referenced.
- database
Registration stringId - {[key: string]: any}
Tags defined for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
Metadata about this specific object.
- display
Name string An object's Display Name.
- fqdn string
A three-label Fully Qualified Domain Name (FQDN) for a resource.
- {[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 databaseRegistration being referenced.
- ip
Address string The private IP address in the customer's VCN of the customer's endpoint, typically a database.
- key
Id string The OCID of the customer "Master" key being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this key to manage secrets.
- 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.
- password string
- rce
Private stringIp A Private Endpoint IP Address created in the customer's subnet. A customer database can expect network traffic initiated by GGS from this IP address and send network traffic to this IP address, typically in response to requests from GGS (OGG). The customer may utilize this IP address in Security Lists or Network Security Groups (NSG) as needed.
- secret
Compartment stringId The OCID of the compartment where the the GGS Secret will be created. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Compartment in which to create a Secret.
- secret
Id string The OCID of the customer GGS Secret being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Secret
- session
Mode string The mode of the database connection session to be established by the data client. REDIRECT - for a RAC database, DIRECT - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT.
- state string
Possible lifecycle states.
- subnet
Id string The OCID of the subnet being referenced.
- {[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
Created string The time the resource was created. 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
.- username string
The username Oracle GoldenGate uses to connect the associated RDBMS. This username must already exist and be available for use by the database. It must conform to the security requirements implemented by the database including length, case sensitivity, and so on.
- vault
Id string The OCID of the customer vault being referenced. If provided, this will reference a vault which the customer will be required to ensure the policies are established to permit the GoldenGate Service to manage secrets contained within this vault.
- wallet string
- alias_
name str Credential store alias.
- compartment_
id str The OCID of the compartment being referenced.
- connection_
string str Connect descriptor or Easy Connect Naming method that Oracle GoldenGate uses to connect to a database.
- database_
id str The OCID of the database being referenced.
- database_
registration_ strid - Mapping[str, Any]
Tags defined for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
Metadata about this specific object.
- display_
name str An object's Display Name.
- fqdn str
A three-label Fully Qualified Domain Name (FQDN) for a resource.
- 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 databaseRegistration being referenced.
- ip_
address str The private IP address in the customer's VCN of the customer's endpoint, typically a database.
- key_
id str The OCID of the customer "Master" key being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this key to manage secrets.
- 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.
- password str
- rce_
private_ strip A Private Endpoint IP Address created in the customer's subnet. A customer database can expect network traffic initiated by GGS from this IP address and send network traffic to this IP address, typically in response to requests from GGS (OGG). The customer may utilize this IP address in Security Lists or Network Security Groups (NSG) as needed.
- secret_
compartment_ strid The OCID of the compartment where the the GGS Secret will be created. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Compartment in which to create a Secret.
- secret_
id str The OCID of the customer GGS Secret being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Secret
- session_
mode str The mode of the database connection session to be established by the data client. REDIRECT - for a RAC database, DIRECT - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT.
- state str
Possible lifecycle states.
- subnet_
id str The OCID of the subnet being referenced.
- 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_
created str The time the resource was created. 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
.- username str
The username Oracle GoldenGate uses to connect the associated RDBMS. This username must already exist and be available for use by the database. It must conform to the security requirements implemented by the database including length, case sensitivity, and so on.
- vault_
id str The OCID of the customer vault being referenced. If provided, this will reference a vault which the customer will be required to ensure the policies are established to permit the GoldenGate Service to manage secrets contained within this vault.
- wallet str
- alias
Name String Credential store alias.
- compartment
Id String The OCID of the compartment being referenced.
- connection
String String Connect descriptor or Easy Connect Naming method that Oracle GoldenGate uses to connect to a database.
- database
Id String The OCID of the database being referenced.
- database
Registration StringId - Map<Any>
Tags defined for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
Metadata about this specific object.
- display
Name String An object's Display Name.
- fqdn String
A three-label Fully Qualified Domain Name (FQDN) for a resource.
- 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 databaseRegistration being referenced.
- ip
Address String The private IP address in the customer's VCN of the customer's endpoint, typically a database.
- key
Id String The OCID of the customer "Master" key being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this key to manage secrets.
- 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.
- password String
- rce
Private StringIp A Private Endpoint IP Address created in the customer's subnet. A customer database can expect network traffic initiated by GGS from this IP address and send network traffic to this IP address, typically in response to requests from GGS (OGG). The customer may utilize this IP address in Security Lists or Network Security Groups (NSG) as needed.
- secret
Compartment StringId The OCID of the compartment where the the GGS Secret will be created. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Compartment in which to create a Secret.
- secret
Id String The OCID of the customer GGS Secret being referenced. If provided, this will reference a key which the customer will be required to ensure the policies are established to permit the GoldenGate Service to utilize this Secret
- session
Mode String The mode of the database connection session to be established by the data client. REDIRECT - for a RAC database, DIRECT - for a non-RAC database. Connection to a RAC database involves a redirection received from the SCAN listeners to the database node to connect to. By default the mode would be DIRECT.
- state String
Possible lifecycle states.
- subnet
Id String The OCID of the subnet being referenced.
- 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
Created String The time the resource was created. 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
.- username String
The username Oracle GoldenGate uses to connect the associated RDBMS. This username must already exist and be available for use by the database. It must conform to the security requirements implemented by the database including length, case sensitivity, and so on.
- vault
Id String The OCID of the customer vault being referenced. If provided, this will reference a vault which the customer will be required to ensure the policies are established to permit the GoldenGate Service to manage secrets contained within this vault.
- wallet String
Package Details
- Repository
- https://github.com/pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.