import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets the details of a data exchange. */ export declare function getDataExchange(args: GetDataExchangeArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetDataExchangeArgs { dataExchangeId: string; location: string; project?: string; } export interface GetDataExchangeResult { /** * 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: string; /** * 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: string; /** * Optional. Documentation describing the data exchange. */ readonly documentation: string; /** * 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: string; /** * Number of listings contained in the data exchange. */ readonly listingCount: number; /** * The resource name of the data exchange. e.g. `projects/myproject/locations/US/dataExchanges/123`. */ readonly name: string; /** * Optional. Email or URL of the primary point of contact of the data exchange. Max Length: 1000 bytes. */ readonly primaryContact: string; /** * Optional. Configurable data sharing environment option for a data exchange. */ readonly sharingEnvironmentConfig: outputs.analyticshub.v1.SharingEnvironmentConfigResponse; } /** * Gets the details of a data exchange. */ export declare function getDataExchangeOutput(args: GetDataExchangeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetDataExchangeOutputArgs { dataExchangeId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }