import * as pulumi from "@pulumi/pulumi"; /** * Create a new channel in a particular project and location. */ 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, 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 activation token for the channel. The token must be used by the provider to register the channel for publishing. */ readonly activationToken: pulumi.Output; /** * Required. The user-provided ID to be assigned to the channel. */ readonly channelId: pulumi.Output; /** * The creation time. */ readonly createTime: pulumi.Output; /** * Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`. */ readonly cryptoKeyName: pulumi.Output; readonly location: pulumi.Output; /** * The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`. */ readonly provider: pulumi.Output; /** * The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`. */ readonly pubsubTopic: pulumi.Output; /** * The state of a Channel. */ readonly state: pulumi.Output; /** * Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. */ readonly uid: pulumi.Output; /** * The last-modified time. */ readonly updateTime: 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); } /** * The set of arguments for constructing a Channel resource. */ export interface ChannelArgs { /** * Required. The user-provided ID to be assigned to the channel. */ channelId: pulumi.Input; /** * Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`. */ cryptoKeyName?: pulumi.Input; location?: pulumi.Input; /** * The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format. */ name?: pulumi.Input; project?: pulumi.Input; /** * The name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`. */ provider?: pulumi.Input; }