import * as pulumi from "@pulumi/pulumi"; /** * Manages a integer variable in Azure Automation * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "tfex-example-rg", * location: "West Europe", * }); * const exampleAccount = new azure.automation.Account("example", { * name: "tfex-example-account", * location: example.location, * resourceGroupName: example.name, * skuName: "Basic", * }); * const exampleIntVariable = new azure.automation.IntVariable("example", { * name: "tfex-example-var", * resourceGroupName: example.name, * automationAccountName: exampleAccount.name, * value: 1234, * }); * ``` * * ## Import * * Automation Int Variable can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:automation/intVariable:IntVariable example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tfex-example-rg/providers/Microsoft.Automation/automationAccounts/tfex-example-account/variables/tfex-example-var * ``` */ export declare class IntVariable extends pulumi.CustomResource { /** * Get an existing IntVariable resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: IntVariableState, opts?: pulumi.CustomResourceOptions): IntVariable; /** * Returns true if the given object is an instance of IntVariable. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is IntVariable; /** * The name of the automation account in which the Variable is created. Changing this forces a new resource to be created. */ readonly automationAccountName: pulumi.Output; /** * The description of the Automation Variable. */ readonly description: pulumi.Output; /** * Specifies if the Automation Variable is encrypted. Defaults to `false`. */ readonly encrypted: pulumi.Output; /** * The name of the Automation Variable. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * The value of the Automation Variable as a `integer`. */ readonly value: pulumi.Output; /** * Create a IntVariable resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: IntVariableArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IntVariable resources. */ export interface IntVariableState { /** * The name of the automation account in which the Variable is created. Changing this forces a new resource to be created. */ automationAccountName?: pulumi.Input; /** * The description of the Automation Variable. */ description?: pulumi.Input; /** * Specifies if the Automation Variable is encrypted. Defaults to `false`. */ encrypted?: pulumi.Input; /** * The name of the Automation Variable. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * The value of the Automation Variable as a `integer`. */ value?: pulumi.Input; } /** * The set of arguments for constructing a IntVariable resource. */ export interface IntVariableArgs { /** * The name of the automation account in which the Variable is created. Changing this forces a new resource to be created. */ automationAccountName: pulumi.Input; /** * The description of the Automation Variable. */ description?: pulumi.Input; /** * Specifies if the Automation Variable is encrypted. Defaults to `false`. */ encrypted?: pulumi.Input; /** * The name of the Automation Variable. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * The value of the Automation Variable as a `integer`. */ value?: pulumi.Input; }