Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.Mysql.getChannels
Explore with Pulumi AI
This data source provides the list of Channels in Oracle Cloud Infrastructure MySQL Database service.
Lists all the Channels that match the specified filters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testChannels = oci.Mysql.getChannels({
compartmentId: compartmentId,
channelId: testChannel.id,
dbSystemId: testDbSystem.id,
displayName: channelDisplayName,
isEnabled: channelIsEnabled,
state: channelState,
});
import pulumi
import pulumi_oci as oci
test_channels = oci.Mysql.get_channels(compartment_id=compartment_id,
channel_id=test_channel["id"],
db_system_id=test_db_system["id"],
display_name=channel_display_name,
is_enabled=channel_is_enabled,
state=channel_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Mysql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Mysql.GetChannels(ctx, &mysql.GetChannelsArgs{
CompartmentId: compartmentId,
ChannelId: pulumi.StringRef(testChannel.Id),
DbSystemId: pulumi.StringRef(testDbSystem.Id),
DisplayName: pulumi.StringRef(channelDisplayName),
IsEnabled: pulumi.BoolRef(channelIsEnabled),
State: pulumi.StringRef(channelState),
}, 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 testChannels = Oci.Mysql.GetChannels.Invoke(new()
{
CompartmentId = compartmentId,
ChannelId = testChannel.Id,
DbSystemId = testDbSystem.Id,
DisplayName = channelDisplayName,
IsEnabled = channelIsEnabled,
State = channelState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Mysql.MysqlFunctions;
import com.pulumi.oci.Mysql.inputs.GetChannelsArgs;
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 testChannels = MysqlFunctions.getChannels(GetChannelsArgs.builder()
.compartmentId(compartmentId)
.channelId(testChannel.id())
.dbSystemId(testDbSystem.id())
.displayName(channelDisplayName)
.isEnabled(channelIsEnabled)
.state(channelState)
.build());
}
}
variables:
testChannels:
fn::invoke:
Function: oci:Mysql:getChannels
Arguments:
compartmentId: ${compartmentId}
channelId: ${testChannel.id}
dbSystemId: ${testDbSystem.id}
displayName: ${channelDisplayName}
isEnabled: ${channelIsEnabled}
state: ${channelState}
Using getChannels
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 getChannels(args: GetChannelsArgs, opts?: InvokeOptions): Promise<GetChannelsResult>
function getChannelsOutput(args: GetChannelsOutputArgs, opts?: InvokeOptions): Output<GetChannelsResult>
def get_channels(channel_id: Optional[str] = None,
compartment_id: Optional[str] = None,
db_system_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_mysql.GetChannelsFilter]] = None,
is_enabled: Optional[bool] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetChannelsResult
def get_channels_output(channel_id: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
db_system_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_mysql.GetChannelsFilterArgs]]]] = None,
is_enabled: Optional[pulumi.Input[bool]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetChannelsResult]
func GetChannels(ctx *Context, args *GetChannelsArgs, opts ...InvokeOption) (*GetChannelsResult, error)
func GetChannelsOutput(ctx *Context, args *GetChannelsOutputArgs, opts ...InvokeOption) GetChannelsResultOutput
> Note: This function is named GetChannels
in the Go SDK.
public static class GetChannels
{
public static Task<GetChannelsResult> InvokeAsync(GetChannelsArgs args, InvokeOptions? opts = null)
public static Output<GetChannelsResult> Invoke(GetChannelsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetChannelsResult> getChannels(GetChannelsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Mysql/getChannels:getChannels
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The compartment OCID.
- Channel
Id string - The OCID of the Channel.
- Db
System stringId - The DB System OCID.
- Display
Name string - A filter to return only the resource matching the given display name exactly.
- Filters
List<Get
Channels Filter> - Is
Enabled bool - If true, returns only Channels that are enabled. If false, returns only Channels that are disabled.
- State string
- The LifecycleState of the Channel.
- Compartment
Id string - The compartment OCID.
- Channel
Id string - The OCID of the Channel.
- Db
System stringId - The DB System OCID.
- Display
Name string - A filter to return only the resource matching the given display name exactly.
- Filters
[]Get
Channels Filter - Is
Enabled bool - If true, returns only Channels that are enabled. If false, returns only Channels that are disabled.
- State string
- The LifecycleState of the Channel.
- compartment
Id String - The compartment OCID.
- channel
Id String - The OCID of the Channel.
- db
System StringId - The DB System OCID.
- display
Name String - A filter to return only the resource matching the given display name exactly.
- filters
List<Get
Channels Filter> - is
Enabled Boolean - If true, returns only Channels that are enabled. If false, returns only Channels that are disabled.
- state String
- The LifecycleState of the Channel.
- compartment
Id string - The compartment OCID.
- channel
Id string - The OCID of the Channel.
- db
System stringId - The DB System OCID.
- display
Name string - A filter to return only the resource matching the given display name exactly.
- filters
Get
Channels Filter[] - is
Enabled boolean - If true, returns only Channels that are enabled. If false, returns only Channels that are disabled.
- state string
- The LifecycleState of the Channel.
- compartment_
id str - The compartment OCID.
- channel_
id str - The OCID of the Channel.
- db_
system_ strid - The DB System OCID.
- display_
name str - A filter to return only the resource matching the given display name exactly.
- filters
Sequence[mysql.
Get Channels Filter] - is_
enabled bool - If true, returns only Channels that are enabled. If false, returns only Channels that are disabled.
- state str
- The LifecycleState of the Channel.
- compartment
Id String - The compartment OCID.
- channel
Id String - The OCID of the Channel.
- db
System StringId - The DB System OCID.
- display
Name String - A filter to return only the resource matching the given display name exactly.
- filters List<Property Map>
- is
Enabled Boolean - If true, returns only Channels that are enabled. If false, returns only Channels that are disabled.
- state String
- The LifecycleState of the Channel.
getChannels Result
The following output properties are available:
- Channels
List<Get
Channels Channel> - The list of channels.
- Compartment
Id string - The OCID of the compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Channel
Id string - Db
System stringId - The OCID of the source DB System.
- Display
Name string - The user-friendly name for the Channel. It does not have to be unique.
- Filters
List<Get
Channels Filter> - Is
Enabled bool - Whether the Channel has been enabled by the user.
- State string
- The state of the Channel.
- Channels
[]Get
Channels Channel - The list of channels.
- Compartment
Id string - The OCID of the compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Channel
Id string - Db
System stringId - The OCID of the source DB System.
- Display
Name string - The user-friendly name for the Channel. It does not have to be unique.
- Filters
[]Get
Channels Filter - Is
Enabled bool - Whether the Channel has been enabled by the user.
- State string
- The state of the Channel.
- channels
List<Get
Channels Channel> - The list of channels.
- compartment
Id String - The OCID of the compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- channel
Id String - db
System StringId - The OCID of the source DB System.
- display
Name String - The user-friendly name for the Channel. It does not have to be unique.
- filters
List<Get
Channels Filter> - is
Enabled Boolean - Whether the Channel has been enabled by the user.
- state String
- The state of the Channel.
- channels
Get
Channels Channel[] - The list of channels.
- compartment
Id string - The OCID of the compartment.
- id string
- The provider-assigned unique ID for this managed resource.
- channel
Id string - db
System stringId - The OCID of the source DB System.
- display
Name string - The user-friendly name for the Channel. It does not have to be unique.
- filters
Get
Channels Filter[] - is
Enabled boolean - Whether the Channel has been enabled by the user.
- state string
- The state of the Channel.
- channels
Sequence[mysql.
Get Channels Channel] - The list of channels.
- compartment_
id str - The OCID of the compartment.
- id str
- The provider-assigned unique ID for this managed resource.
- channel_
id str - db_
system_ strid - The OCID of the source DB System.
- display_
name str - The user-friendly name for the Channel. It does not have to be unique.
- filters
Sequence[mysql.
Get Channels Filter] - is_
enabled bool - Whether the Channel has been enabled by the user.
- state str
- The state of the Channel.
- channels List<Property Map>
- The list of channels.
- compartment
Id String - The OCID of the compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- channel
Id String - db
System StringId - The OCID of the source DB System.
- display
Name String - The user-friendly name for the Channel. It does not have to be unique.
- filters List<Property Map>
- is
Enabled Boolean - Whether the Channel has been enabled by the user.
- state String
- The state of the Channel.
Supporting Types
GetChannelsChannel
- Compartment
Id string - The compartment OCID.
- Dictionary<string, string>
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- User provided description of the Channel.
- Display
Name string - A filter to return only the resource matching the given display name exactly.
- Dictionary<string, string>
- Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- The OCID of the Channel.
- Is
Enabled bool - If true, returns only Channels that are enabled. If false, returns only Channels that are disabled.
- Lifecycle
Details string - A message describing the state of the Channel.
- Sources
List<Get
Channels Channel Source> - Parameters detailing how to provision the source for the given Channel.
- State string
- The LifecycleState of the Channel.
- Targets
List<Get
Channels Channel Target> - Details about the Channel target.
- Time
Created string - The date and time the Channel was created, as described by RFC 3339.
- Time
Updated string - The time the Channel was last updated, as described by RFC 3339.
- Compartment
Id string - The compartment OCID.
- map[string]string
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- User provided description of the Channel.
- Display
Name string - A filter to return only the resource matching the given display name exactly.
- map[string]string
- Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- The OCID of the Channel.
- Is
Enabled bool - If true, returns only Channels that are enabled. If false, returns only Channels that are disabled.
- Lifecycle
Details string - A message describing the state of the Channel.
- Sources
[]Get
Channels Channel Source - Parameters detailing how to provision the source for the given Channel.
- State string
- The LifecycleState of the Channel.
- Targets
[]Get
Channels Channel Target - Details about the Channel target.
- Time
Created string - The date and time the Channel was created, as described by RFC 3339.
- Time
Updated string - The time the Channel was last updated, as described by RFC 3339.
- compartment
Id String - The compartment OCID.
- Map<String,String>
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description String
- User provided description of the Channel.
- display
Name String - A filter to return only the resource matching the given display name exactly.
- Map<String,String>
- Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- The OCID of the Channel.
- is
Enabled Boolean - If true, returns only Channels that are enabled. If false, returns only Channels that are disabled.
- lifecycle
Details String - A message describing the state of the Channel.
- sources
List<Get
Channels Channel Source> - Parameters detailing how to provision the source for the given Channel.
- state String
- The LifecycleState of the Channel.
- targets
List<Get
Channels Channel Target> - Details about the Channel target.
- time
Created String - The date and time the Channel was created, as described by RFC 3339.
- time
Updated String - The time the Channel was last updated, as described by RFC 3339.
- compartment
Id string - The compartment OCID.
- {[key: string]: string}
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description string
- User provided description of the Channel.
- display
Name string - A filter to return only the resource matching the given display name exactly.
- {[key: string]: string}
- Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id string
- The OCID of the Channel.
- is
Enabled boolean - If true, returns only Channels that are enabled. If false, returns only Channels that are disabled.
- lifecycle
Details string - A message describing the state of the Channel.
- sources
Get
Channels Channel Source[] - Parameters detailing how to provision the source for the given Channel.
- state string
- The LifecycleState of the Channel.
- targets
Get
Channels Channel Target[] - Details about the Channel target.
- time
Created string - The date and time the Channel was created, as described by RFC 3339.
- time
Updated string - The time the Channel was last updated, as described by RFC 3339.
- compartment_
id str - The compartment OCID.
- Mapping[str, str]
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description str
- User provided description of the Channel.
- display_
name str - A filter to return only the resource matching the given display name exactly.
- Mapping[str, str]
- Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id str
- The OCID of the Channel.
- is_
enabled bool - If true, returns only Channels that are enabled. If false, returns only Channels that are disabled.
- lifecycle_
details str - A message describing the state of the Channel.
- sources
Sequence[mysql.
Get Channels Channel Source] - Parameters detailing how to provision the source for the given Channel.
- state str
- The LifecycleState of the Channel.
- targets
Sequence[mysql.
Get Channels Channel Target] - Details about the Channel target.
- time_
created str - The date and time the Channel was created, as described by RFC 3339.
- time_
updated str - The time the Channel was last updated, as described by RFC 3339.
- compartment
Id String - The compartment OCID.
- Map<String>
- Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description String
- User provided description of the Channel.
- display
Name String - A filter to return only the resource matching the given display name exactly.
- Map<String>
- Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- The OCID of the Channel.
- is
Enabled Boolean - If true, returns only Channels that are enabled. If false, returns only Channels that are disabled.
- lifecycle
Details String - A message describing the state of the Channel.
- sources List<Property Map>
- Parameters detailing how to provision the source for the given Channel.
- state String
- The LifecycleState of the Channel.
- targets List<Property Map>
- Details about the Channel target.
- time
Created String - The date and time the Channel was created, as described by RFC 3339.
- time
Updated String - The time the Channel was last updated, as described by RFC 3339.
GetChannelsChannelSource
- Anonymous
Transactions List<GetHandlings Channels Channel Source Anonymous Transactions Handling> - Specifies how the replication channel handles replicated transactions without an identifier, enabling replication from a source that does not use transaction-id-based replication to a replica that does.
- Hostname string
- The network address of the MySQL instance.
- Password string
- Port int
- The port the source MySQL instance listens on.
- Source
Type string - The specific source identifier.
- Ssl
Ca List<GetCertificates Channels Channel Source Ssl Ca Certificate> - The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes.
- Ssl
Mode string - The SSL mode of the Channel.
- Username string
- The name of the replication user on the source MySQL instance. The username has a maximum length of 96 characters. For more information, please see the MySQL documentation
- Anonymous
Transactions []GetHandlings Channels Channel Source Anonymous Transactions Handling - Specifies how the replication channel handles replicated transactions without an identifier, enabling replication from a source that does not use transaction-id-based replication to a replica that does.
- Hostname string
- The network address of the MySQL instance.
- Password string
- Port int
- The port the source MySQL instance listens on.
- Source
Type string - The specific source identifier.
- Ssl
Ca []GetCertificates Channels Channel Source Ssl Ca Certificate - The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes.
- Ssl
Mode string - The SSL mode of the Channel.
- Username string
- The name of the replication user on the source MySQL instance. The username has a maximum length of 96 characters. For more information, please see the MySQL documentation
- anonymous
Transactions List<GetHandlings Channels Channel Source Anonymous Transactions Handling> - Specifies how the replication channel handles replicated transactions without an identifier, enabling replication from a source that does not use transaction-id-based replication to a replica that does.
- hostname String
- The network address of the MySQL instance.
- password String
- port Integer
- The port the source MySQL instance listens on.
- source
Type String - The specific source identifier.
- ssl
Ca List<GetCertificates Channels Channel Source Ssl Ca Certificate> - The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes.
- ssl
Mode String - The SSL mode of the Channel.
- username String
- The name of the replication user on the source MySQL instance. The username has a maximum length of 96 characters. For more information, please see the MySQL documentation
- anonymous
Transactions GetHandlings Channels Channel Source Anonymous Transactions Handling[] - Specifies how the replication channel handles replicated transactions without an identifier, enabling replication from a source that does not use transaction-id-based replication to a replica that does.
- hostname string
- The network address of the MySQL instance.
- password string
- port number
- The port the source MySQL instance listens on.
- source
Type string - The specific source identifier.
- ssl
Ca GetCertificates Channels Channel Source Ssl Ca Certificate[] - The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes.
- ssl
Mode string - The SSL mode of the Channel.
- username string
- The name of the replication user on the source MySQL instance. The username has a maximum length of 96 characters. For more information, please see the MySQL documentation
- anonymous_
transactions_ Sequence[mysql.handlings Get Channels Channel Source Anonymous Transactions Handling] - Specifies how the replication channel handles replicated transactions without an identifier, enabling replication from a source that does not use transaction-id-based replication to a replica that does.
- hostname str
- The network address of the MySQL instance.
- password str
- port int
- The port the source MySQL instance listens on.
- source_
type str - The specific source identifier.
- ssl_
ca_ Sequence[mysql.certificates Get Channels Channel Source Ssl Ca Certificate] - The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes.
- ssl_
mode str - The SSL mode of the Channel.
- username str
- The name of the replication user on the source MySQL instance. The username has a maximum length of 96 characters. For more information, please see the MySQL documentation
- anonymous
Transactions List<Property Map>Handlings - Specifies how the replication channel handles replicated transactions without an identifier, enabling replication from a source that does not use transaction-id-based replication to a replica that does.
- hostname String
- The network address of the MySQL instance.
- password String
- port Number
- The port the source MySQL instance listens on.
- source
Type String - The specific source identifier.
- ssl
Ca List<Property Map>Certificates - The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes.
- ssl
Mode String - The SSL mode of the Channel.
- username String
- The name of the replication user on the source MySQL instance. The username has a maximum length of 96 characters. For more information, please see the MySQL documentation
GetChannelsChannelSourceAnonymousTransactionsHandling
- Last
Configured stringLog Filename - Specifies one of the coordinates (file) at which the replica should begin reading the source's log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it.
- Last
Configured stringLog Offset - Specifies one of the coordinates (offset) at which the replica should begin reading the source's log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it.
- Policy string
- Specifies how the replication channel handles anonymous transactions.
- Uuid string
- The UUID that is used as a prefix when generating transaction identifiers for anonymous transactions coming from the source. You can change the UUID later.
- Last
Configured stringLog Filename - Specifies one of the coordinates (file) at which the replica should begin reading the source's log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it.
- Last
Configured stringLog Offset - Specifies one of the coordinates (offset) at which the replica should begin reading the source's log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it.
- Policy string
- Specifies how the replication channel handles anonymous transactions.
- Uuid string
- The UUID that is used as a prefix when generating transaction identifiers for anonymous transactions coming from the source. You can change the UUID later.
- last
Configured StringLog Filename - Specifies one of the coordinates (file) at which the replica should begin reading the source's log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it.
- last
Configured StringLog Offset - Specifies one of the coordinates (offset) at which the replica should begin reading the source's log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it.
- policy String
- Specifies how the replication channel handles anonymous transactions.
- uuid String
- The UUID that is used as a prefix when generating transaction identifiers for anonymous transactions coming from the source. You can change the UUID later.
- last
Configured stringLog Filename - Specifies one of the coordinates (file) at which the replica should begin reading the source's log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it.
- last
Configured stringLog Offset - Specifies one of the coordinates (offset) at which the replica should begin reading the source's log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it.
- policy string
- Specifies how the replication channel handles anonymous transactions.
- uuid string
- The UUID that is used as a prefix when generating transaction identifiers for anonymous transactions coming from the source. You can change the UUID later.
- last_
configured_ strlog_ filename - Specifies one of the coordinates (file) at which the replica should begin reading the source's log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it.
- last_
configured_ strlog_ offset - Specifies one of the coordinates (offset) at which the replica should begin reading the source's log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it.
- policy str
- Specifies how the replication channel handles anonymous transactions.
- uuid str
- The UUID that is used as a prefix when generating transaction identifiers for anonymous transactions coming from the source. You can change the UUID later.
- last
Configured StringLog Filename - Specifies one of the coordinates (file) at which the replica should begin reading the source's log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it.
- last
Configured StringLog Offset - Specifies one of the coordinates (offset) at which the replica should begin reading the source's log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it.
- policy String
- Specifies how the replication channel handles anonymous transactions.
- uuid String
- The UUID that is used as a prefix when generating transaction identifiers for anonymous transactions coming from the source. You can change the UUID later.
GetChannelsChannelSourceSslCaCertificate
- Certificate
Type string - The type of CA certificate.
- Contents string
- The string containing the CA certificate in PEM format.
- Certificate
Type string - The type of CA certificate.
- Contents string
- The string containing the CA certificate in PEM format.
- certificate
Type String - The type of CA certificate.
- contents String
- The string containing the CA certificate in PEM format.
- certificate
Type string - The type of CA certificate.
- contents string
- The string containing the CA certificate in PEM format.
- certificate_
type str - The type of CA certificate.
- contents str
- The string containing the CA certificate in PEM format.
- certificate
Type String - The type of CA certificate.
- contents String
- The string containing the CA certificate in PEM format.
GetChannelsChannelTarget
- Applier
Username string - The username for the replication applier of the target MySQL DB System.
- Channel
Name string - The case-insensitive name that identifies the replication channel. Channel names must follow the rules defined for MySQL identifiers. The names of non-Deleted Channels must be unique for each DB System.
- Db
System stringId - The DB System OCID.
- Delay
In intSeconds - Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.
- Filters
List<Get
Channels Channel Target Filter> - Replication filter rules to be applied at the DB System Channel target.
- Tables
Without stringPrimary Key Handling - Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.
- Target
Type string - The specific target identifier.
- Applier
Username string - The username for the replication applier of the target MySQL DB System.
- Channel
Name string - The case-insensitive name that identifies the replication channel. Channel names must follow the rules defined for MySQL identifiers. The names of non-Deleted Channels must be unique for each DB System.
- Db
System stringId - The DB System OCID.
- Delay
In intSeconds - Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.
- Filters
[]Get
Channels Channel Target Filter - Replication filter rules to be applied at the DB System Channel target.
- Tables
Without stringPrimary Key Handling - Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.
- Target
Type string - The specific target identifier.
- applier
Username String - The username for the replication applier of the target MySQL DB System.
- channel
Name String - The case-insensitive name that identifies the replication channel. Channel names must follow the rules defined for MySQL identifiers. The names of non-Deleted Channels must be unique for each DB System.
- db
System StringId - The DB System OCID.
- delay
In IntegerSeconds - Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.
- filters
List<Get
Channels Channel Target Filter> - Replication filter rules to be applied at the DB System Channel target.
- tables
Without StringPrimary Key Handling - Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.
- target
Type String - The specific target identifier.
- applier
Username string - The username for the replication applier of the target MySQL DB System.
- channel
Name string - The case-insensitive name that identifies the replication channel. Channel names must follow the rules defined for MySQL identifiers. The names of non-Deleted Channels must be unique for each DB System.
- db
System stringId - The DB System OCID.
- delay
In numberSeconds - Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.
- filters
Get
Channels Channel Target Filter[] - Replication filter rules to be applied at the DB System Channel target.
- tables
Without stringPrimary Key Handling - Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.
- target
Type string - The specific target identifier.
- applier_
username str - The username for the replication applier of the target MySQL DB System.
- channel_
name str - The case-insensitive name that identifies the replication channel. Channel names must follow the rules defined for MySQL identifiers. The names of non-Deleted Channels must be unique for each DB System.
- db_
system_ strid - The DB System OCID.
- delay_
in_ intseconds - Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.
- filters
Sequence[mysql.
Get Channels Channel Target Filter] - Replication filter rules to be applied at the DB System Channel target.
- tables_
without_ strprimary_ key_ handling - Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.
- target_
type str - The specific target identifier.
- applier
Username String - The username for the replication applier of the target MySQL DB System.
- channel
Name String - The case-insensitive name that identifies the replication channel. Channel names must follow the rules defined for MySQL identifiers. The names of non-Deleted Channels must be unique for each DB System.
- db
System StringId - The DB System OCID.
- delay
In NumberSeconds - Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.
- filters List<Property Map>
- Replication filter rules to be applied at the DB System Channel target.
- tables
Without StringPrimary Key Handling - Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.
- target
Type String - The specific target identifier.
GetChannelsChannelTargetFilter
- Type string
- The type of the filter rule.
- Value string
- The body of the filter rule. This can represent a database, a table, or a database pair (represented as "db1->db2"). For more information, see Replication Filtering Rules.
- Type string
- The type of the filter rule.
- Value string
- The body of the filter rule. This can represent a database, a table, or a database pair (represented as "db1->db2"). For more information, see Replication Filtering Rules.
- type String
- The type of the filter rule.
- value String
- The body of the filter rule. This can represent a database, a table, or a database pair (represented as "db1->db2"). For more information, see Replication Filtering Rules.
- type string
- The type of the filter rule.
- value string
- The body of the filter rule. This can represent a database, a table, or a database pair (represented as "db1->db2"). For more information, see Replication Filtering Rules.
- type str
- The type of the filter rule.
- value str
- The body of the filter rule. This can represent a database, a table, or a database pair (represented as "db1->db2"). For more information, see Replication Filtering Rules.
- type String
- The type of the filter rule.
- value String
- The body of the filter rule. This can represent a database, a table, or a database pair (represented as "db1->db2"). For more information, see Replication Filtering Rules.
GetChannelsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.