import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new data exchange. * Auto-naming is currently not supported for this resource. */ export declare class DataExchange extends pulumi.CustomResource { /** * Get an existing DataExchange 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): DataExchange; /** * Returns true if the given object is an instance of DataExchange. 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 DataExchange; /** * Required. The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes. */ readonly dataExchangeId: pulumi.Output; /** * Optional. Description of the data exchange. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes. */ readonly description: pulumi.Output; /** * Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and must not start or end with spaces. Default value is an empty string. Max length: 63 bytes. */ readonly displayName: pulumi.Output; /** * Optional. Documentation describing the data exchange. */ readonly documentation: pulumi.Output; /** * Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire. */ readonly icon: pulumi.Output; /** * Number of listings contained in the data exchange. */ readonly listingCount: pulumi.Output; readonly location: pulumi.Output; /** * The resource name of the data exchange. e.g. `projects/myproject/locations/US/dataExchanges/123`. */ readonly name: pulumi.Output; /** * Optional. Email or URL of the primary point of contact of the data exchange. Max Length: 1000 bytes. */ readonly primaryContact: pulumi.Output; readonly project: pulumi.Output; /** * Optional. Configurable data sharing environment option for a data exchange. */ readonly sharingEnvironmentConfig: pulumi.Output; /** * Create a DataExchange 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: DataExchangeArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DataExchange resource. */ export interface DataExchangeArgs { /** * Required. The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes. */ dataExchangeId: pulumi.Input; /** * Optional. Description of the data exchange. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes. */ description?: pulumi.Input; /** * Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and must not start or end with spaces. Default value is an empty string. Max length: 63 bytes. */ displayName: pulumi.Input; /** * Optional. Documentation describing the data exchange. */ documentation?: pulumi.Input; /** * Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire. */ icon?: pulumi.Input; location?: pulumi.Input; /** * Optional. Email or URL of the primary point of contact of the data exchange. Max Length: 1000 bytes. */ primaryContact?: pulumi.Input; project?: pulumi.Input; /** * Optional. Configurable data sharing environment option for a data exchange. */ sharingEnvironmentConfig?: pulumi.Input; }