Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.GoldenGate.getDatabaseRegistration
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 Database Registration resource in Oracle Cloud Infrastructure Golden Gate service.
Note: Deprecated. Use the /connections API instead. Retrieves a DatabaseRegistration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDatabaseRegistration = oci.GoldenGate.getDatabaseRegistration({
databaseRegistrationId: testDatabaseRegistrationOciGoldenGateDatabaseRegistration.id,
});
import pulumi
import pulumi_oci as oci
test_database_registration = oci.GoldenGate.get_database_registration(database_registration_id=test_database_registration_oci_golden_gate_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: testDatabaseRegistrationOciGoldenGateDatabaseRegistration.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 testDatabaseRegistration = Oci.GoldenGate.GetDatabaseRegistration.Invoke(new()
{
DatabaseRegistrationId = testDatabaseRegistrationOciGoldenGateDatabaseRegistration.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.GetDatabaseRegistrationArgs;
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 testDatabaseRegistration = GoldenGateFunctions.getDatabaseRegistration(GetDatabaseRegistrationArgs.builder()
.databaseRegistrationId(testDatabaseRegistrationOciGoldenGateDatabaseRegistration.id())
.build());
}
}
variables:
testDatabaseRegistration:
fn::invoke:
Function: oci:GoldenGate:getDatabaseRegistration
Arguments:
databaseRegistrationId: ${testDatabaseRegistrationOciGoldenGateDatabaseRegistration.id}
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 used 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 - Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.
- 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 GoldenGate Service from this IP address. It can also send network traffic to this IP address, typically in response to requests from GoldenGate Service. The customer may use this IP address in Security Lists or Network Security Groups (NSG) as needed.
- Secret
Compartment stringId - The OCID of the compartment where the GoldenGate Secret will be created. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.
- Secret
Id string - The OCID of the customer's GoldenGate Service Secret. If provided, it references a key that customers will be required to ensure the policies are established to permit GoldenGate to use 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 target subnet of the dedicated connection.
- 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 system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it.
- Vault
Id string - Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate 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 used 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 - Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.
- 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 GoldenGate Service from this IP address. It can also send network traffic to this IP address, typically in response to requests from GoldenGate Service. The customer may use this IP address in Security Lists or Network Security Groups (NSG) as needed.
- Secret
Compartment stringId - The OCID of the compartment where the GoldenGate Secret will be created. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.
- Secret
Id string - The OCID of the customer's GoldenGate Service Secret. If provided, it references a key that customers will be required to ensure the policies are established to permit GoldenGate to use 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 target subnet of the dedicated connection.
- 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 system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it.
- Vault
Id string - Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate 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 used 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 - Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.
- 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 GoldenGate Service from this IP address. It can also send network traffic to this IP address, typically in response to requests from GoldenGate Service. The customer may use this IP address in Security Lists or Network Security Groups (NSG) as needed.
- secret
Compartment StringId - The OCID of the compartment where the GoldenGate Secret will be created. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.
- secret
Id String - The OCID of the customer's GoldenGate Service Secret. If provided, it references a key that customers will be required to ensure the policies are established to permit GoldenGate to use 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 target subnet of the dedicated connection.
- 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 system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it.
- vault
Id String - Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate 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 used 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 - Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.
- 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 GoldenGate Service from this IP address. It can also send network traffic to this IP address, typically in response to requests from GoldenGate Service. The customer may use this IP address in Security Lists or Network Security Groups (NSG) as needed.
- secret
Compartment stringId - The OCID of the compartment where the GoldenGate Secret will be created. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.
- secret
Id string - The OCID of the customer's GoldenGate Service Secret. If provided, it references a key that customers will be required to ensure the policies are established to permit GoldenGate to use 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 target subnet of the dedicated connection.
- {[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 system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it.
- vault
Id string - Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate 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 used 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 - Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.
- 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 GoldenGate Service from this IP address. It can also send network traffic to this IP address, typically in response to requests from GoldenGate Service. The customer may use this IP address in Security Lists or Network Security Groups (NSG) as needed.
- secret_
compartment_ strid - The OCID of the compartment where the GoldenGate Secret will be created. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.
- secret_
id str - The OCID of the customer's GoldenGate Service Secret. If provided, it references a key that customers will be required to ensure the policies are established to permit GoldenGate to use 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 target subnet of the dedicated connection.
- 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 system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it.
- vault_
id str - Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate 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 used 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 - Refers to the customer's master key OCID. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.
- 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 GoldenGate Service from this IP address. It can also send network traffic to this IP address, typically in response to requests from GoldenGate Service. The customer may use this IP address in Security Lists or Network Security Groups (NSG) as needed.
- secret
Compartment StringId - The OCID of the compartment where the GoldenGate Secret will be created. If provided, it references a key to manage secrets. Customers must add policies to permit GoldenGate to use this key.
- secret
Id String - The OCID of the customer's GoldenGate Service Secret. If provided, it references a key that customers will be required to ensure the policies are established to permit GoldenGate to use 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 target subnet of the dedicated connection.
- 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 system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it.
- vault
Id String - Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault.
- wallet String
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