import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Channel resource in Oracle Cloud Infrastructure MySQL Database service. * * Gets the full details of the specified Channel, including the user-specified * configuration parameters (passwords are omitted), as well as information about * the state of the Channel, its sources and targets. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testChannel = oci.mysql.getChannel({ * channelId: testChannelOciMysqlChannel.id, * }); * ``` */ export declare function getChannel(args: GetChannelArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getChannel. */ export interface GetChannelArgs { /** * The Channel [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ channelId: string; } /** * A collection of values returned by getChannel. */ export interface GetChannelResult { readonly channelId: string; /** * The OCID of the compartment. */ readonly compartmentId: string; /** * Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * User provided description of the Channel. */ readonly description: string; /** * The user-friendly name for the Channel. It does not have to be unique. */ readonly displayName: string; /** * Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; readonly id: string; /** * Whether the Channel has been enabled by the user. */ readonly isEnabled: boolean; /** * A message describing the state of the Channel. */ readonly lifecycleDetails: string; /** * Parameters detailing how to provision the source for the given Channel. */ readonly sources: outputs.Mysql.GetChannelSource[]; /** * The state of the Channel. */ readonly state: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * Details about the Channel target. */ readonly targets: outputs.Mysql.GetChannelTarget[]; /** * The date and time the Channel was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). */ readonly timeCreated: string; /** * The time the Channel was last updated, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). */ readonly timeUpdated: string; } /** * This data source provides details about a specific Channel resource in Oracle Cloud Infrastructure MySQL Database service. * * Gets the full details of the specified Channel, including the user-specified * configuration parameters (passwords are omitted), as well as information about * the state of the Channel, its sources and targets. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testChannel = oci.mysql.getChannel({ * channelId: testChannelOciMysqlChannel.id, * }); * ``` */ export declare function getChannelOutput(args: GetChannelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getChannel. */ export interface GetChannelOutputArgs { /** * The Channel [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ channelId: pulumi.Input; } //# sourceMappingURL=getChannel.d.ts.map