import * as pulumi from "@pulumi/pulumi"; /** * Create a new ChannelConnection in a particular project and location. */ export declare class ChannelConnection extends pulumi.CustomResource { /** * Get an existing ChannelConnection 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ChannelConnection; /** * Returns true if the given object is an instance of ChannelConnection. 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 ChannelConnection; /** * Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource. */ readonly activationToken: pulumi.Output; /** * The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in `projects/{project}/location/{location}/channels/{channel_id}` format. */ readonly channel: pulumi.Output; /** * Required. The user-provided ID to be assigned to the channel connection. */ readonly channelConnectionId: pulumi.Output; /** * The creation time. */ readonly createTime: pulumi.Output; readonly location: pulumi.Output; /** * The name of the connection. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted. */ readonly uid: pulumi.Output; /** * The last-modified time. */ readonly updateTime: pulumi.Output; /** * Create a ChannelConnection 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: ChannelConnectionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ChannelConnection resource. */ export interface ChannelConnectionArgs { /** * Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource. */ activationToken?: pulumi.Input; /** * The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in `projects/{project}/location/{location}/channels/{channel_id}` format. */ channel: pulumi.Input; /** * Required. The user-provided ID to be assigned to the channel connection. */ channelConnectionId: pulumi.Input; location?: pulumi.Input; /** * The name of the connection. */ name?: pulumi.Input; project?: pulumi.Input; }