import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Data Share Account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.datashare.getAccount({ * name: "example-account", * resourceGroupName: "example-resource-group", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.DataShare` - 2019-11-01 */ export declare function getAccount(args: GetAccountArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAccount. */ export interface GetAccountArgs { /** * The name of this Data Share Account. */ name: string; /** * The name of the Resource Group where the Data Share Account exists. */ resourceGroupName: string; } /** * A collection of values returned by getAccount. */ export interface GetAccountResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An `identity` block as defined below. */ readonly identities: outputs.datashare.GetAccountIdentity[]; readonly name: string; readonly resourceGroupName: string; /** * A mapping of tags assigned to the Data Share Account. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to access information about an existing Data Share Account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.datashare.getAccount({ * name: "example-account", * resourceGroupName: "example-resource-group", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.DataShare` - 2019-11-01 */ export declare function getAccountOutput(args: GetAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAccount. */ export interface GetAccountOutputArgs { /** * The name of this Data Share Account. */ name: pulumi.Input; /** * The name of the Resource Group where the Data Share Account exists. */ resourceGroupName: pulumi.Input; }