import * as pulumi from "@pulumi/pulumi"; /** * Manages a DateTime 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 exampleDateTimeVariable = new azure.automation.DateTimeVariable("example", { * name: "tfex-example-var", * resourceGroupName: example.name, * automationAccountName: exampleAccount.name, * value: "2019-04-24T21:40:54.074Z", * }); * ``` * * ## Import * * Automation DateTime Variable can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:automation/dateTimeVariable:DateTimeVariable 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 DateTimeVariable extends pulumi.CustomResource { /** * Get an existing DateTimeVariable 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?: DateTimeVariableState, opts?: pulumi.CustomResourceOptions): DateTimeVariable; /** * Returns true if the given object is an instance of DateTimeVariable. 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 DateTimeVariable; /** * 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 in the [RFC3339 Section 5.6 Internet Date/Time Format](https://tools.ietf.org/html/rfc3339#section-5.6). */ readonly value: pulumi.Output; /** * Create a DateTimeVariable 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: DateTimeVariableArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DateTimeVariable resources. */ export interface DateTimeVariableState { /** * 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 in the [RFC3339 Section 5.6 Internet Date/Time Format](https://tools.ietf.org/html/rfc3339#section-5.6). */ value?: pulumi.Input; } /** * The set of arguments for constructing a DateTimeVariable resource. */ export interface DateTimeVariableArgs { /** * 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 in the [RFC3339 Section 5.6 Internet Date/Time Format](https://tools.ietf.org/html/rfc3339#section-5.6). */ value?: pulumi.Input; }