import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get all variables in an 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", * }); * const exampleGetVariables = example.then(example => azure.automation.getVariables({ * automationAccountId: example.id, * })); * export const stringVars = exampleAzurermAutomationVariableString.string; * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Automation` - 2024-10-23 */ export declare function getVariables(args: GetVariablesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVariables. */ export interface GetVariablesArgs { /** * The resource ID of the automation account. */ automationAccountId: string; } /** * A collection of values returned by getVariables. */ export interface GetVariablesResult { readonly automationAccountId: string; /** * One or more `variable` blocks as defined below for each boolean variable. */ readonly bools: outputs.automation.GetVariablesBool[]; /** * One or more `variable` blocks as defined below for each datetime variable. */ readonly datetimes: outputs.automation.GetVariablesDatetime[]; /** * Specifies if the Automation Variable is encrypted. */ readonly encrypteds: outputs.automation.GetVariablesEncrypted[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * One or more `variable` blocks as defined below for each int variable. */ readonly ints: outputs.automation.GetVariablesInt[]; /** * One or more `variable` blocks as defined below for each null variable. */ readonly nulls: outputs.automation.GetVariablesNull[]; readonly objects: outputs.automation.GetVariablesObject[]; /** * One or more `variable` blocks as defined below for each string variable. */ readonly strings: outputs.automation.GetVariablesString[]; } /** * Use this data source to get all variables in an 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", * }); * const exampleGetVariables = example.then(example => azure.automation.getVariables({ * automationAccountId: example.id, * })); * export const stringVars = exampleAzurermAutomationVariableString.string; * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Automation` - 2024-10-23 */ export declare function getVariablesOutput(args: GetVariablesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVariables. */ export interface GetVariablesOutputArgs { /** * The resource ID of the automation account. */ automationAccountId: pulumi.Input; }