import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages an Automation Software Update Configuration.
 *
 * !> **Note:** The `azure.automation.SoftwareUpdateConfiguration` resource has been deprecated because the Azure Automation Update Management was retired on 2024-08-31 and has been shutdown on 2025-02-28. This resource will be removed in v5.0 of the AzureRM Provider. Please migrate to Azure Update Manager, and use the `azure.maintenance.Configuration` resource combined with the appropriate assignment resources instead. See https://techcommunity.microsoft.com/blog/azuregovernanceandmanagementblog/log-analytics-agent-based-azure-management-services-shut-down-starting-28-februa/4381853 for more information.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-rg",
 *     location: "East US",
 * });
 * const exampleAccount = new azure.automation.Account("example", {
 *     name: "example",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     skuName: "Basic",
 * });
 * const exampleRunBook = new azure.automation.RunBook("example", {
 *     name: "Get-AzureVMTutorial",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     automationAccountName: exampleAccount.name,
 *     logVerbose: true,
 *     logProgress: true,
 *     description: "This is a example runbook for terraform acceptance example",
 *     runbookType: "Python3",
 *     content: `# Some example content
 * # for Terraform acceptance example
 * `,
 *     tags: {
 *         ENV: "runbook_test",
 *     },
 * });
 * const exampleSoftwareUpdateConfiguration = new azure.automation.SoftwareUpdateConfiguration("example", {
 *     name: "example",
 *     automationAccountId: exampleAccount.id,
 *     linux: {
 *         classificationsIncludeds: "Security",
 *         excludedPackages: ["apt"],
 *         includedPackages: ["vim"],
 *         reboot: "IfRequired",
 *     },
 *     preTask: {
 *         source: exampleRunBook.name,
 *         parameters: {
 *             COMPUTER_NAME: "Foo",
 *         },
 *     },
 *     duration: "PT2H2M2S",
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.Automation` - 2019-06-01
 *
 * ## Import
 *
 * Automations Software Update Configuration can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:automation/softwareUpdateConfiguration:SoftwareUpdateConfiguration example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/softwareUpdateConfigurations/suc1
 * ```
 */
export declare class SoftwareUpdateConfiguration extends pulumi.CustomResource {
    /**
     * Get an existing SoftwareUpdateConfiguration 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<pulumi.ID>, state?: SoftwareUpdateConfigurationState, opts?: pulumi.CustomResourceOptions): SoftwareUpdateConfiguration;
    /**
     * Returns true if the given object is an instance of SoftwareUpdateConfiguration.  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 SoftwareUpdateConfiguration;
    /**
     * The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
     */
    readonly automationAccountId: pulumi.Output<string>;
    /**
     * Maximum time allowed for the software update configuration run. using format `PT[n]H[n]M[n]S` as per ISO8601. Defaults to `PT2H`.
     */
    readonly duration: pulumi.Output<string | undefined>;
    /**
     * The Error code when failed.
     */
    readonly errorCode: pulumi.Output<string>;
    /**
     * The Error message indicating why the operation failed.
     */
    readonly errorMessage: pulumi.Output<string>;
    /**
     * A `linux` block as defined below.
     */
    readonly linux: pulumi.Output<outputs.automation.SoftwareUpdateConfigurationLinux | undefined>;
    /**
     * The name which should be used for this Automation. Changing this forces a new Automation to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Specifies a list of names of non-Azure machines for the software update configuration.
     */
    readonly nonAzureComputerNames: pulumi.Output<string[] | undefined>;
    /**
     * A `postTask` blocks as defined below.
     */
    readonly postTask: pulumi.Output<outputs.automation.SoftwareUpdateConfigurationPostTask | undefined>;
    /**
     * A `preTask` blocks as defined below.
     */
    readonly preTask: pulumi.Output<outputs.automation.SoftwareUpdateConfigurationPreTask | undefined>;
    /**
     * A `schedule` blocks as defined below.
     */
    readonly schedule: pulumi.Output<outputs.automation.SoftwareUpdateConfigurationSchedule>;
    /**
     * A `target` blocks as defined below.
     */
    readonly target: pulumi.Output<outputs.automation.SoftwareUpdateConfigurationTarget | undefined>;
    /**
     * Specifies a list of Azure Resource IDs of azure virtual machines.
     */
    readonly virtualMachineIds: pulumi.Output<string[] | undefined>;
    /**
     * A `windows` block as defined below.
     *
     * > **Note:** One of `linux` or `windows` must be specified.
     */
    readonly windows: pulumi.Output<outputs.automation.SoftwareUpdateConfigurationWindows | undefined>;
    /**
     * Create a SoftwareUpdateConfiguration 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: SoftwareUpdateConfigurationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering SoftwareUpdateConfiguration resources.
 */
export interface SoftwareUpdateConfigurationState {
    /**
     * The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
     */
    automationAccountId?: pulumi.Input<string | undefined>;
    /**
     * Maximum time allowed for the software update configuration run. using format `PT[n]H[n]M[n]S` as per ISO8601. Defaults to `PT2H`.
     */
    duration?: pulumi.Input<string | undefined>;
    /**
     * The Error code when failed.
     */
    errorCode?: pulumi.Input<string | undefined>;
    /**
     * The Error message indicating why the operation failed.
     */
    errorMessage?: pulumi.Input<string | undefined>;
    /**
     * A `linux` block as defined below.
     */
    linux?: pulumi.Input<inputs.automation.SoftwareUpdateConfigurationLinux | undefined>;
    /**
     * The name which should be used for this Automation. Changing this forces a new Automation to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Specifies a list of names of non-Azure machines for the software update configuration.
     */
    nonAzureComputerNames?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * A `postTask` blocks as defined below.
     */
    postTask?: pulumi.Input<inputs.automation.SoftwareUpdateConfigurationPostTask | undefined>;
    /**
     * A `preTask` blocks as defined below.
     */
    preTask?: pulumi.Input<inputs.automation.SoftwareUpdateConfigurationPreTask | undefined>;
    /**
     * A `schedule` blocks as defined below.
     */
    schedule?: pulumi.Input<inputs.automation.SoftwareUpdateConfigurationSchedule | undefined>;
    /**
     * A `target` blocks as defined below.
     */
    target?: pulumi.Input<inputs.automation.SoftwareUpdateConfigurationTarget | undefined>;
    /**
     * Specifies a list of Azure Resource IDs of azure virtual machines.
     */
    virtualMachineIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * A `windows` block as defined below.
     *
     * > **Note:** One of `linux` or `windows` must be specified.
     */
    windows?: pulumi.Input<inputs.automation.SoftwareUpdateConfigurationWindows | undefined>;
}
/**
 * The set of arguments for constructing a SoftwareUpdateConfiguration resource.
 */
export interface SoftwareUpdateConfigurationArgs {
    /**
     * The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
     */
    automationAccountId: pulumi.Input<string>;
    /**
     * Maximum time allowed for the software update configuration run. using format `PT[n]H[n]M[n]S` as per ISO8601. Defaults to `PT2H`.
     */
    duration?: pulumi.Input<string | undefined>;
    /**
     * A `linux` block as defined below.
     */
    linux?: pulumi.Input<inputs.automation.SoftwareUpdateConfigurationLinux | undefined>;
    /**
     * The name which should be used for this Automation. Changing this forces a new Automation to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Specifies a list of names of non-Azure machines for the software update configuration.
     */
    nonAzureComputerNames?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * A `postTask` blocks as defined below.
     */
    postTask?: pulumi.Input<inputs.automation.SoftwareUpdateConfigurationPostTask | undefined>;
    /**
     * A `preTask` blocks as defined below.
     */
    preTask?: pulumi.Input<inputs.automation.SoftwareUpdateConfigurationPreTask | undefined>;
    /**
     * A `schedule` blocks as defined below.
     */
    schedule: pulumi.Input<inputs.automation.SoftwareUpdateConfigurationSchedule>;
    /**
     * A `target` blocks as defined below.
     */
    target?: pulumi.Input<inputs.automation.SoftwareUpdateConfigurationTarget | undefined>;
    /**
     * Specifies a list of Azure Resource IDs of azure virtual machines.
     */
    virtualMachineIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * A `windows` block as defined below.
     *
     * > **Note:** One of `linux` or `windows` must be specified.
     */
    windows?: pulumi.Input<inputs.automation.SoftwareUpdateConfigurationWindows | undefined>;
}
//# sourceMappingURL=softwareUpdateConfiguration.d.ts.map