import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Channel resource in Oracle Cloud Infrastructure MySQL Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/mysql/latest/Channel * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/mysql * * Creates a Channel to establish replication from a source to a target. * * ## Import * * Channels can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Mysql/channel:Channel test_channel "id" * ``` */ export declare class Channel extends pulumi.CustomResource { /** * Get an existing Channel resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ChannelState, opts?: pulumi.CustomResourceOptions): Channel; /** * Returns true if the given object is an instance of Channel. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Channel; /** * The OCID of the compartment. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) User provided information about the Channel. */ readonly description: pulumi.Output; /** * (Updatable) The user-friendly name for the Channel. It does not have to be unique. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (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. */ readonly isEnabled: pulumi.Output; /** * A message describing the state of the Channel. */ readonly lifecycleDetails: pulumi.Output; /** * (Updatable) Parameters detailing how to provision the source for the given Channel. */ readonly source: pulumi.Output; /** * The state of the Channel. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) Parameters detailing how to provision the target for the given Channel. */ readonly target: pulumi.Output; /** * The date and time the Channel was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). */ readonly timeCreated: pulumi.Output; /** * The time the Channel was last updated, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). */ readonly timeUpdated: pulumi.Output; /** * Create a Channel resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ChannelArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Channel resources. */ export interface ChannelState { /** * The OCID of the compartment. */ compartmentId?: pulumi.Input; /** * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) User provided information about the Channel. */ description?: pulumi.Input; /** * (Updatable) The user-friendly name for the Channel. It does not have to be unique. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (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. */ isEnabled?: pulumi.Input; /** * A message describing the state of the Channel. */ lifecycleDetails?: pulumi.Input; /** * (Updatable) Parameters detailing how to provision the source for the given Channel. */ source?: pulumi.Input; /** * The state of the Channel. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Parameters detailing how to provision the target for the given Channel. */ target?: pulumi.Input; /** * The date and time the Channel was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). */ timeCreated?: pulumi.Input; /** * The time the Channel was last updated, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a Channel resource. */ export interface ChannelArgs { /** * The OCID of the compartment. */ compartmentId?: pulumi.Input; /** * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) User provided information about the Channel. */ description?: pulumi.Input; /** * (Updatable) The user-friendly name for the Channel. It does not have to be unique. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (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. */ isEnabled?: pulumi.Input; /** * (Updatable) Parameters detailing how to provision the source for the given Channel. */ source: pulumi.Input; /** * (Updatable) Parameters detailing how to provision the target for the given Channel. */ target: pulumi.Input; } //# sourceMappingURL=channel.d.ts.map