import * as pulumi from "@pulumi/pulumi"; /** * Manages an object 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 exampleVariableObject = new azure.automation.VariableObject("example", { * name: "tfex-example-var", * resourceGroupName: example.name, * automationAccountName: exampleAccount.name, * value: JSON.stringify({ * greeting: "Hello, Terraform Basic Test.", * language: "en", * }), * }); * ``` * * ## Import * * Automation Object Variable can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:automation/variableObject:VariableObject 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 VariableObject extends pulumi.CustomResource { /** * Get an existing VariableObject 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?: VariableObjectState, opts?: pulumi.CustomResourceOptions): VariableObject; /** * Returns true if the given object is an instance of VariableObject. 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 VariableObject; /** * 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 `jsonencode()` string. */ readonly value: pulumi.Output; /** * Create a VariableObject 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: VariableObjectArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VariableObject resources. */ export interface VariableObjectState { /** * 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 `jsonencode()` string. */ value?: pulumi.Input; } /** * The set of arguments for constructing a VariableObject resource. */ export interface VariableObjectArgs { /** * 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 `jsonencode()` string. */ value?: pulumi.Input; }