import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Automation Account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.automation.getAccount({ * name: "example-account", * resourceGroupName: "example-resources", * }); * export const automationAccountId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Automation` - 2024-10-23, 2019-06-01 */ export declare function getAccount(args: GetAccountArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAccount. */ export interface GetAccountArgs { /** * The name of the Automation Account. */ name: string; /** * Specifies the name of the Resource Group where the Automation Account exists. */ resourceGroupName: string; } /** * A collection of values returned by getAccount. */ export interface GetAccountResult { /** * The Endpoint for this Automation Account. */ readonly endpoint: string; /** * The URL of automation hybrid service which is used for hybrid worker on-boarding With this Automation Account. */ readonly hybridServiceUrl: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * (Optional) An `identity` block as defined below. */ readonly identities: outputs.automation.GetAccountIdentity[]; readonly name: string; /** * The Primary Access Key for the Automation Account. */ readonly primaryKey: string; readonly privateEndpointConnections: outputs.automation.GetAccountPrivateEndpointConnection[]; readonly resourceGroupName: string; /** * The Secondary Access Key for the Automation Account. */ readonly secondaryKey: string; } /** * Use this data source to access information about an existing Automation Account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.automation.getAccount({ * name: "example-account", * resourceGroupName: "example-resources", * }); * export const automationAccountId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Automation` - 2024-10-23, 2019-06-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 the Automation Account. */ name: pulumi.Input; /** * Specifies the name of the Resource Group where the Automation Account exists. */ resourceGroupName: pulumi.Input; }