import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Cognitive Services Account Project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.cognitive.getAccountProject({ * name: "example-project", * cognitiveAccountName: "example-account", * resourceGroupName: "example-resources", * }); * export const id = example.then(example => example.id); * export const location = example.then(example => example.location); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.CognitiveServices` - 2025-06-01 */ export declare function getAccountProject(args: GetAccountProjectArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAccountProject. */ export interface GetAccountProjectArgs { /** * The name of the Cognitive Services Account in which the Project exists. */ cognitiveAccountName: string; /** * The name of the Cognitive Services Account Project. */ name: string; /** * The name of the Resource Group where the Cognitive Services Account exists. */ resourceGroupName: string; } /** * A collection of values returned by getAccountProject. */ export interface GetAccountProjectResult { readonly cognitiveAccountName: string; /** * Whether this is the default project for the Cognitive Services Account. */ readonly default: boolean; /** * The description of the Cognitive Services Account Project. */ readonly description: string; /** * The display name of the Cognitive Services Account Project. */ readonly displayName: string; /** * A mapping of endpoint names to endpoint URLs for the Cognitive Services Account Project. */ readonly endpoints: { [key: string]: string; }; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An `identity` block as defined below. */ readonly identities: outputs.cognitive.GetAccountProjectIdentity[]; /** * The Azure Region where the Cognitive Services Account Project exists. */ readonly location: string; readonly name: string; readonly resourceGroupName: string; /** * A mapping of tags assigned to the Cognitive Services Account Project. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to access information about an existing Cognitive Services Account Project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.cognitive.getAccountProject({ * name: "example-project", * cognitiveAccountName: "example-account", * resourceGroupName: "example-resources", * }); * export const id = example.then(example => example.id); * export const location = example.then(example => example.location); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.CognitiveServices` - 2025-06-01 */ export declare function getAccountProjectOutput(args: GetAccountProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAccountProject. */ export interface GetAccountProjectOutputArgs { /** * The name of the Cognitive Services Account in which the Project exists. */ cognitiveAccountName: pulumi.Input; /** * The name of the Cognitive Services Account Project. */ name: pulumi.Input; /** * The name of the Resource Group where the Cognitive Services Account exists. */ resourceGroupName: pulumi.Input; }