oci.Mysql.Channel
Explore with Pulumi AI
This resource provides the Channel resource in Oracle Cloud Infrastructure MySQL Database service.
Creates a Channel to establish replication from a source to a target.
Create Channel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Channel(name: string, args: ChannelArgs, opts?: CustomResourceOptions);
@overload
def Channel(resource_name: str,
args: ChannelArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Channel(resource_name: str,
opts: Optional[ResourceOptions] = None,
source: Optional[_mysql.ChannelSourceArgs] = None,
target: Optional[_mysql.ChannelTargetArgs] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
is_enabled: Optional[bool] = None)
func NewChannel(ctx *Context, name string, args ChannelArgs, opts ...ResourceOption) (*Channel, error)
public Channel(string name, ChannelArgs args, CustomResourceOptions? opts = null)
public Channel(String name, ChannelArgs args)
public Channel(String name, ChannelArgs args, CustomResourceOptions options)
type: oci:Mysql:Channel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ChannelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ChannelArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ChannelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ChannelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ChannelArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var channelResource = new Oci.Mysql.Channel("channelResource", new()
{
Source = new Oci.Mysql.Inputs.ChannelSourceArgs
{
Hostname = "string",
Password = "string",
SourceType = "string",
SslMode = "string",
Username = "string",
AnonymousTransactionsHandling = new Oci.Mysql.Inputs.ChannelSourceAnonymousTransactionsHandlingArgs
{
Policy = "string",
LastConfiguredLogFilename = "string",
LastConfiguredLogOffset = "string",
Uuid = "string",
},
Port = 0,
SslCaCertificate = new Oci.Mysql.Inputs.ChannelSourceSslCaCertificateArgs
{
CertificateType = "string",
Contents = "string",
},
},
Target = new Oci.Mysql.Inputs.ChannelTargetArgs
{
DbSystemId = "string",
TargetType = "string",
ApplierUsername = "string",
ChannelName = "string",
DelayInSeconds = 0,
Filters = new[]
{
new Oci.Mysql.Inputs.ChannelTargetFilterArgs
{
Type = "string",
Value = "string",
},
},
TablesWithoutPrimaryKeyHandling = "string",
},
CompartmentId = "string",
DefinedTags =
{
{ "string", "any" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "any" },
},
IsEnabled = false,
});
example, err := Mysql.NewChannel(ctx, "channelResource", &Mysql.ChannelArgs{
Source: &mysql.ChannelSourceArgs{
Hostname: pulumi.String("string"),
Password: pulumi.String("string"),
SourceType: pulumi.String("string"),
SslMode: pulumi.String("string"),
Username: pulumi.String("string"),
AnonymousTransactionsHandling: &mysql.ChannelSourceAnonymousTransactionsHandlingArgs{
Policy: pulumi.String("string"),
LastConfiguredLogFilename: pulumi.String("string"),
LastConfiguredLogOffset: pulumi.String("string"),
Uuid: pulumi.String("string"),
},
Port: pulumi.Int(0),
SslCaCertificate: &mysql.ChannelSourceSslCaCertificateArgs{
CertificateType: pulumi.String("string"),
Contents: pulumi.String("string"),
},
},
Target: &mysql.ChannelTargetArgs{
DbSystemId: pulumi.String("string"),
TargetType: pulumi.String("string"),
ApplierUsername: pulumi.String("string"),
ChannelName: pulumi.String("string"),
DelayInSeconds: pulumi.Int(0),
Filters: mysql.ChannelTargetFilterArray{
&mysql.ChannelTargetFilterArgs{
Type: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
TablesWithoutPrimaryKeyHandling: pulumi.String("string"),
},
CompartmentId: pulumi.String("string"),
DefinedTags: pulumi.Map{
"string": pulumi.Any("any"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.Map{
"string": pulumi.Any("any"),
},
IsEnabled: pulumi.Bool(false),
})
var channelResource = new Channel("channelResource", ChannelArgs.builder()
.source(ChannelSourceArgs.builder()
.hostname("string")
.password("string")
.sourceType("string")
.sslMode("string")
.username("string")
.anonymousTransactionsHandling(ChannelSourceAnonymousTransactionsHandlingArgs.builder()
.policy("string")
.lastConfiguredLogFilename("string")
.lastConfiguredLogOffset("string")
.uuid("string")
.build())
.port(0)
.sslCaCertificate(ChannelSourceSslCaCertificateArgs.builder()
.certificateType("string")
.contents("string")
.build())
.build())
.target(ChannelTargetArgs.builder()
.dbSystemId("string")
.targetType("string")
.applierUsername("string")
.channelName("string")
.delayInSeconds(0)
.filters(ChannelTargetFilterArgs.builder()
.type("string")
.value("string")
.build())
.tablesWithoutPrimaryKeyHandling("string")
.build())
.compartmentId("string")
.definedTags(Map.of("string", "any"))
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "any"))
.isEnabled(false)
.build());
channel_resource = oci.mysql.Channel("channelResource",
source=oci.mysql.ChannelSourceArgs(
hostname="string",
password="string",
source_type="string",
ssl_mode="string",
username="string",
anonymous_transactions_handling=oci.mysql.ChannelSourceAnonymousTransactionsHandlingArgs(
policy="string",
last_configured_log_filename="string",
last_configured_log_offset="string",
uuid="string",
),
port=0,
ssl_ca_certificate=oci.mysql.ChannelSourceSslCaCertificateArgs(
certificate_type="string",
contents="string",
),
),
target=oci.mysql.ChannelTargetArgs(
db_system_id="string",
target_type="string",
applier_username="string",
channel_name="string",
delay_in_seconds=0,
filters=[oci.mysql.ChannelTargetFilterArgs(
type="string",
value="string",
)],
tables_without_primary_key_handling="string",
),
compartment_id="string",
defined_tags={
"string": "any",
},
description="string",
display_name="string",
freeform_tags={
"string": "any",
},
is_enabled=False)
const channelResource = new oci.mysql.Channel("channelResource", {
source: {
hostname: "string",
password: "string",
sourceType: "string",
sslMode: "string",
username: "string",
anonymousTransactionsHandling: {
policy: "string",
lastConfiguredLogFilename: "string",
lastConfiguredLogOffset: "string",
uuid: "string",
},
port: 0,
sslCaCertificate: {
certificateType: "string",
contents: "string",
},
},
target: {
dbSystemId: "string",
targetType: "string",
applierUsername: "string",
channelName: "string",
delayInSeconds: 0,
filters: [{
type: "string",
value: "string",
}],
tablesWithoutPrimaryKeyHandling: "string",
},
compartmentId: "string",
definedTags: {
string: "any",
},
description: "string",
displayName: "string",
freeformTags: {
string: "any",
},
isEnabled: false,
});
type: oci:Mysql:Channel
properties:
compartmentId: string
definedTags:
string: any
description: string
displayName: string
freeformTags:
string: any
isEnabled: false
source:
anonymousTransactionsHandling:
lastConfiguredLogFilename: string
lastConfiguredLogOffset: string
policy: string
uuid: string
hostname: string
password: string
port: 0
sourceType: string
sslCaCertificate:
certificateType: string
contents: string
sslMode: string
username: string
target:
applierUsername: string
channelName: string
dbSystemId: string
delayInSeconds: 0
filters:
- type: string
value: string
tablesWithoutPrimaryKeyHandling: string
targetType: string
Channel Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Channel resource accepts the following input properties:
- Source
Channel
Source - (Updatable) Parameters detailing how to provision the source for the given Channel.
- Target
Channel
Target - (Updatable) Parameters detailing how to provision the target for the given Channel.
- Compartment
Id string - The OCID of the compartment.
- Dictionary<string, object>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) User provided information about the Channel.
- Display
Name string - (Updatable) The user-friendly name for the Channel. It does not have to be unique.
- Dictionary<string, object>
- (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Enabled bool - (Updatable) Whether the Channel should be enabled upon creation. If set to true, the Channel will be asynchronously started as a result of the create Channel operation.
- Source
Channel
Source Args - (Updatable) Parameters detailing how to provision the source for the given Channel.
- Target
Channel
Target Args - (Updatable) Parameters detailing how to provision the target for the given Channel.
- Compartment
Id string - The OCID of the compartment.
- map[string]interface{}
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) User provided information about the Channel.
- Display
Name string - (Updatable) The user-friendly name for the Channel. It does not have to be unique.
- map[string]interface{}
- (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Enabled bool - (Updatable) Whether the Channel should be enabled upon creation. If set to true, the Channel will be asynchronously started as a result of the create Channel operation.
- source
Channel
Source - (Updatable) Parameters detailing how to provision the source for the given Channel.
- target
Channel
Target - (Updatable) Parameters detailing how to provision the target for the given Channel.
- compartment
Id String - The OCID of the compartment.
- Map<String,Object>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) User provided information about the Channel.
- display
Name String - (Updatable) The user-friendly name for the Channel. It does not have to be unique.
- Map<String,Object>
- (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Enabled Boolean - (Updatable) Whether the Channel should be enabled upon creation. If set to true, the Channel will be asynchronously started as a result of the create Channel operation.
- source
Channel
Source - (Updatable) Parameters detailing how to provision the source for the given Channel.
- target
Channel
Target - (Updatable) Parameters detailing how to provision the target for the given Channel.
- compartment
Id string - The OCID of the compartment.
- {[key: string]: any}
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) User provided information about the Channel.
- display
Name string - (Updatable) The user-friendly name for the Channel. It does not have to be unique.
- {[key: string]: any}
- (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Enabled boolean - (Updatable) Whether the Channel should be enabled upon creation. If set to true, the Channel will be asynchronously started as a result of the create Channel operation.
- source
mysql.
Channel Source Args - (Updatable) Parameters detailing how to provision the source for the given Channel.
- target
mysql.
Channel Target Args - (Updatable) Parameters detailing how to provision the target for the given Channel.
- compartment_
id str - The OCID of the compartment.
- Mapping[str, Any]
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) User provided information about the Channel.
- display_
name str - (Updatable) The user-friendly name for the Channel. It does not have to be unique.
- Mapping[str, Any]
- (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is_
enabled bool - (Updatable) Whether the Channel should be enabled upon creation. If set to true, the Channel will be asynchronously started as a result of the create Channel operation.
- source Property Map
- (Updatable) Parameters detailing how to provision the source for the given Channel.
- target Property Map
- (Updatable) Parameters detailing how to provision the target for the given Channel.
- compartment
Id String - The OCID of the compartment.
- Map<Any>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) User provided information about the Channel.
- display
Name String - (Updatable) The user-friendly name for the Channel. It does not have to be unique.
- Map<Any>
- (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Enabled Boolean - (Updatable) Whether the Channel should be enabled upon creation. If set to true, the Channel will be asynchronously started as a result of the create Channel operation.
Outputs
All input properties are implicitly available as output properties. Additionally, the Channel resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the state of the Channel.
- State string
- The state of the Channel.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the state of the Channel.
- State string
- The state of the Channel.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the state of the Channel.
- state String
- The state of the Channel.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message describing the state of the Channel.
- state string
- The state of the Channel.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A message describing the state of the Channel.
- state str
- The state of the Channel.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the state of the Channel.
- state String
- The state of the Channel.
- 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.
Look up Existing Channel Resource
Get an existing Channel resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ChannelState, opts?: CustomResourceOptions): Channel
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
is_enabled: Optional[bool] = None,
lifecycle_details: Optional[str] = None,
source: Optional[_mysql.ChannelSourceArgs] = None,
state: Optional[str] = None,
target: Optional[_mysql.ChannelTargetArgs] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> Channel
func GetChannel(ctx *Context, name string, id IDInput, state *ChannelState, opts ...ResourceOption) (*Channel, error)
public static Channel Get(string name, Input<string> id, ChannelState? state, CustomResourceOptions? opts = null)
public static Channel get(String name, Output<String> id, ChannelState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - The OCID of the compartment.
- Dictionary<string, object>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) User provided information about the Channel.
- Display
Name string - (Updatable) The user-friendly name for the Channel. It does not have to be unique.
- Dictionary<string, object>
- (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Enabled bool - (Updatable) Whether the Channel should be enabled upon creation. If set to true, the Channel will be asynchronously started as a result of the create Channel operation.
- Lifecycle
Details string - A message describing the state of the Channel.
- Source
Channel
Source - (Updatable) Parameters detailing how to provision the source for the given Channel.
- State string
- The state of the Channel.
- Target
Channel
Target - (Updatable) Parameters detailing how to provision the target for the given Channel.
- 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 OCID of the compartment.
- map[string]interface{}
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) User provided information about the Channel.
- Display
Name string - (Updatable) The user-friendly name for the Channel. It does not have to be unique.
- map[string]interface{}
- (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Enabled bool - (Updatable) Whether the Channel should be enabled upon creation. If set to true, the Channel will be asynchronously started as a result of the create Channel operation.
- Lifecycle
Details string - A message describing the state of the Channel.
- Source
Channel
Source Args - (Updatable) Parameters detailing how to provision the source for the given Channel.
- State string
- The state of the Channel.
- Target
Channel
Target Args - (Updatable) Parameters detailing how to provision the target for the given Channel.
- 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 OCID of the compartment.
- Map<String,Object>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) User provided information about the Channel.
- display
Name String - (Updatable) The user-friendly name for the Channel. It does not have to be unique.
- Map<String,Object>
- (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Enabled Boolean - (Updatable) Whether the Channel should be enabled upon creation. If set to true, the Channel will be asynchronously started as a result of the create Channel operation.
- lifecycle
Details String - A message describing the state of the Channel.
- source
Channel
Source - (Updatable) Parameters detailing how to provision the source for the given Channel.
- state String
- The state of the Channel.
- target
Channel
Target - (Updatable) Parameters detailing how to provision the target for the given Channel.
- 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 OCID of the compartment.
- {[key: string]: any}
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) User provided information about the Channel.
- display
Name string - (Updatable) The user-friendly name for the Channel. It does not have to be unique.
- {[key: string]: any}
- (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Enabled boolean - (Updatable) Whether the Channel should be enabled upon creation. If set to true, the Channel will be asynchronously started as a result of the create Channel operation.
- lifecycle
Details string - A message describing the state of the Channel.
- source
Channel
Source - (Updatable) Parameters detailing how to provision the source for the given Channel.
- state string
- The state of the Channel.
- target
Channel
Target - (Updatable) Parameters detailing how to provision the target for the given Channel.
- 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 OCID of the compartment.
- Mapping[str, Any]
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) User provided information about the Channel.
- display_
name str - (Updatable) The user-friendly name for the Channel. It does not have to be unique.
- Mapping[str, Any]
- (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is_
enabled bool - (Updatable) Whether the Channel should be enabled upon creation. If set to true, the Channel will be asynchronously started as a result of the create Channel operation.
- lifecycle_
details str - A message describing the state of the Channel.
- source
mysql.
Channel Source Args - (Updatable) Parameters detailing how to provision the source for the given Channel.
- state str
- The state of the Channel.
- target
mysql.
Channel Target Args - (Updatable) Parameters detailing how to provision the target for the given Channel.
- 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 OCID of the compartment.
- Map<Any>
- (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) User provided information about the Channel.
- display
Name String - (Updatable) The user-friendly name for the Channel. It does not have to be unique.
- Map<Any>
- (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Enabled Boolean - (Updatable) Whether the Channel should be enabled upon creation. If set to true, the Channel will be asynchronously started as a result of the create Channel operation.
- lifecycle
Details String - A message describing the state of the Channel.
- source Property Map
- (Updatable) Parameters detailing how to provision the source for the given Channel.
- state String
- The state of the Channel.
- target Property Map
- (Updatable) Parameters detailing how to provision the target for the given Channel.
- 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.
Supporting Types
ChannelSource, ChannelSourceArgs
- Hostname string
- (Updatable) The network address of the MySQL instance.
- Password string
- (Updatable) The password for the replication user. The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.
- Source
Type string - (Updatable) The specific source identifier.
- Ssl
Mode string - (Updatable) The SSL mode of the Channel.
- Username string
- (Updatable) 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 ChannelHandling Source Anonymous Transactions Handling - (Updatable) 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.
- Port int
- (Updatable) The port the source MySQL instance listens on.
- Ssl
Ca ChannelCertificate Source Ssl Ca Certificate - (Updatable) The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes.
- Hostname string
- (Updatable) The network address of the MySQL instance.
- Password string
- (Updatable) The password for the replication user. The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.
- Source
Type string - (Updatable) The specific source identifier.
- Ssl
Mode string - (Updatable) The SSL mode of the Channel.
- Username string
- (Updatable) 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 ChannelHandling Source Anonymous Transactions Handling - (Updatable) 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.
- Port int
- (Updatable) The port the source MySQL instance listens on.
- Ssl
Ca ChannelCertificate Source Ssl Ca Certificate - (Updatable) The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes.
- hostname String
- (Updatable) The network address of the MySQL instance.
- password String
- (Updatable) The password for the replication user. The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.
- source
Type String - (Updatable) The specific source identifier.
- ssl
Mode String - (Updatable) The SSL mode of the Channel.
- username String
- (Updatable) 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 ChannelHandling Source Anonymous Transactions Handling - (Updatable) 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.
- port Integer
- (Updatable) The port the source MySQL instance listens on.
- ssl
Ca ChannelCertificate Source Ssl Ca Certificate - (Updatable) The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes.
- hostname string
- (Updatable) The network address of the MySQL instance.
- password string
- (Updatable) The password for the replication user. The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.
- source
Type string - (Updatable) The specific source identifier.
- ssl
Mode string - (Updatable) The SSL mode of the Channel.
- username string
- (Updatable) 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 ChannelHandling Source Anonymous Transactions Handling - (Updatable) 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.
- port number
- (Updatable) The port the source MySQL instance listens on.
- ssl
Ca ChannelCertificate Source Ssl Ca Certificate - (Updatable) The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes.
- hostname str
- (Updatable) The network address of the MySQL instance.
- password str
- (Updatable) The password for the replication user. The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.
- source_
type str - (Updatable) The specific source identifier.
- ssl_
mode str - (Updatable) The SSL mode of the Channel.
- username str
- (Updatable) 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_ mysql.handling Channel Source Anonymous Transactions Handling - (Updatable) 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.
- port int
- (Updatable) The port the source MySQL instance listens on.
- ssl_
ca_ mysql.certificate Channel Source Ssl Ca Certificate - (Updatable) The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes.
- hostname String
- (Updatable) The network address of the MySQL instance.
- password String
- (Updatable) The password for the replication user. The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.
- source
Type String - (Updatable) The specific source identifier.
- ssl
Mode String - (Updatable) The SSL mode of the Channel.
- username String
- (Updatable) 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 Property MapHandling - (Updatable) 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.
- port Number
- (Updatable) The port the source MySQL instance listens on.
- ssl
Ca Property MapCertificate - (Updatable) The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes.
ChannelSourceAnonymousTransactionsHandling, ChannelSourceAnonymousTransactionsHandlingArgs
- Policy string
- (Updatable) Specifies how the replication channel handles anonymous transactions.
- Last
Configured stringLog Filename - (Updatable) 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 - (Updatable) 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.
- Uuid string
- (Updatable) 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.
- Policy string
- (Updatable) Specifies how the replication channel handles anonymous transactions.
- Last
Configured stringLog Filename - (Updatable) 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 - (Updatable) 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.
- Uuid string
- (Updatable) 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.
- policy String
- (Updatable) Specifies how the replication channel handles anonymous transactions.
- last
Configured StringLog Filename - (Updatable) 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 - (Updatable) 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.
- uuid String
- (Updatable) 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.
- policy string
- (Updatable) Specifies how the replication channel handles anonymous transactions.
- last
Configured stringLog Filename - (Updatable) 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 - (Updatable) 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.
- uuid string
- (Updatable) 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.
- policy str
- (Updatable) Specifies how the replication channel handles anonymous transactions.
- last_
configured_ strlog_ filename - (Updatable) 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 - (Updatable) 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.
- uuid str
- (Updatable) 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.
- policy String
- (Updatable) Specifies how the replication channel handles anonymous transactions.
- last
Configured StringLog Filename - (Updatable) 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 - (Updatable) 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.
- uuid String
- (Updatable) 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.
ChannelSourceSslCaCertificate, ChannelSourceSslCaCertificateArgs
- Certificate
Type string - (Updatable) The type of CA certificate.
- Contents string
- (Updatable) The string containing the CA certificate in PEM format.
- Certificate
Type string - (Updatable) The type of CA certificate.
- Contents string
- (Updatable) The string containing the CA certificate in PEM format.
- certificate
Type String - (Updatable) The type of CA certificate.
- contents String
- (Updatable) The string containing the CA certificate in PEM format.
- certificate
Type string - (Updatable) The type of CA certificate.
- contents string
- (Updatable) The string containing the CA certificate in PEM format.
- certificate_
type str - (Updatable) The type of CA certificate.
- contents str
- (Updatable) The string containing the CA certificate in PEM format.
- certificate
Type String - (Updatable) The type of CA certificate.
- contents String
- (Updatable) The string containing the CA certificate in PEM format.
ChannelTarget, ChannelTargetArgs
- Db
System stringId - The OCID of the target DB System.
- Target
Type string (Updatable) The specific target identifier.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Applier
Username string - (Updatable) The username for the replication applier of the target MySQL DB System.
- Channel
Name string - (Updatable) 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.
- Delay
In intSeconds - (Updatable) Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.
- Filters
List<Channel
Target Filter> - (Updatable) Replication filter rules to be applied at the DB System Channel target.
- Tables
Without stringPrimary Key Handling - (Updatable) Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. The default value is set to ALLOW.
- Db
System stringId - The OCID of the target DB System.
- Target
Type string (Updatable) The specific target identifier.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Applier
Username string - (Updatable) The username for the replication applier of the target MySQL DB System.
- Channel
Name string - (Updatable) 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.
- Delay
In intSeconds - (Updatable) Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.
- Filters
[]Channel
Target Filter - (Updatable) Replication filter rules to be applied at the DB System Channel target.
- Tables
Without stringPrimary Key Handling - (Updatable) Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. The default value is set to ALLOW.
- db
System StringId - The OCID of the target DB System.
- target
Type String (Updatable) The specific target identifier.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- applier
Username String - (Updatable) The username for the replication applier of the target MySQL DB System.
- channel
Name String - (Updatable) 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.
- delay
In IntegerSeconds - (Updatable) Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.
- filters
List<Channel
Target Filter> - (Updatable) Replication filter rules to be applied at the DB System Channel target.
- tables
Without StringPrimary Key Handling - (Updatable) Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. The default value is set to ALLOW.
- db
System stringId - The OCID of the target DB System.
- target
Type string (Updatable) The specific target identifier.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- applier
Username string - (Updatable) The username for the replication applier of the target MySQL DB System.
- channel
Name string - (Updatable) 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.
- delay
In numberSeconds - (Updatable) Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.
- filters
Channel
Target Filter[] - (Updatable) Replication filter rules to be applied at the DB System Channel target.
- tables
Without stringPrimary Key Handling - (Updatable) Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. The default value is set to ALLOW.
- db_
system_ strid - The OCID of the target DB System.
- target_
type str (Updatable) The specific target identifier.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- applier_
username str - (Updatable) The username for the replication applier of the target MySQL DB System.
- channel_
name str - (Updatable) 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.
- delay_
in_ intseconds - (Updatable) Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.
- filters
Sequence[mysql.
Channel Target Filter] - (Updatable) Replication filter rules to be applied at the DB System Channel target.
- tables_
without_ strprimary_ key_ handling - (Updatable) Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. The default value is set to ALLOW.
- db
System StringId - The OCID of the target DB System.
- target
Type String (Updatable) The specific target identifier.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- applier
Username String - (Updatable) The username for the replication applier of the target MySQL DB System.
- channel
Name String - (Updatable) 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.
- delay
In NumberSeconds - (Updatable) Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.
- filters List<Property Map>
- (Updatable) Replication filter rules to be applied at the DB System Channel target.
- tables
Without StringPrimary Key Handling - (Updatable) Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. The default value is set to ALLOW.
ChannelTargetFilter, ChannelTargetFilterArgs
- Type string
(Updatable) The type of the filter rule.
For details on each type, see Replication Filtering Rules
- Value string
- (Updatable) 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
(Updatable) The type of the filter rule.
For details on each type, see Replication Filtering Rules
- Value string
- (Updatable) 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
(Updatable) The type of the filter rule.
For details on each type, see Replication Filtering Rules
- value String
- (Updatable) 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
(Updatable) The type of the filter rule.
For details on each type, see Replication Filtering Rules
- value string
- (Updatable) 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
(Updatable) The type of the filter rule.
For details on each type, see Replication Filtering Rules
- value str
- (Updatable) 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
(Updatable) The type of the filter rule.
For details on each type, see Replication Filtering Rules
- value String
- (Updatable) 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.
Import
Channels can be imported using the id
, e.g.
$ pulumi import oci:Mysql/channel:Channel test_channel "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.