import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an Automanage Configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-automanage", * location: "West Europe", * }); * const exampleConfiguration = new azure.automanage.Configuration("example", { * name: "example-acmp", * resourceGroupName: example.name, * location: example.location, * antimalware: { * exclusions: { * extensions: "exe;dll", * paths: "C:\\Windows\\Temp;D:\\Temp", * processes: "svchost.exe;notepad.exe", * }, * realTimeProtectionEnabled: true, * scheduledScanEnabled: true, * scheduledScanType: "Quick", * scheduledScanDay: 1, * scheduledScanTimeInMinutes: 1339, * }, * azureSecurityBaseline: { * assignmentType: "ApplyAndAutoCorrect", * }, * automationAccountEnabled: true, * backup: { * policyName: "acctest-backup-policy-%d", * timeZone: "UTC", * instantRpRetentionRangeInDays: 2, * schedulePolicy: { * scheduleRunFrequency: "Daily", * scheduleRunDays: [ * "Monday", * "Tuesday", * ], * scheduleRunTimes: ["12:00"], * schedulePolicyType: "SimpleSchedulePolicy", * }, * retentionPolicy: { * retentionPolicyType: "LongTermRetentionPolicy", * dailySchedule: { * retentionTimes: ["12:00"], * retentionDuration: { * count: 7, * durationType: "Days", * }, * }, * weeklySchedule: { * retentionTimes: ["14:00"], * retentionDuration: { * count: 4, * durationType: "Weeks", * }, * }, * }, * }, * bootDiagnosticsEnabled: true, * defenderForCloudEnabled: true, * guestConfigurationEnabled: true, * logAnalyticsEnabled: true, * statusChangeAlertEnabled: true, * tags: { * env: "test", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.AutoManage` - 2022-05-04 * * ## Import * * Automanage Configuration can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:automanage/configuration:Configuration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AutoManage/configurationProfiles/configurationProfile1 * ``` */ export declare class Configuration extends pulumi.CustomResource { /** * Get an existing Configuration 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?: ConfigurationState, opts?: pulumi.CustomResourceOptions): Configuration; /** * Returns true if the given object is an instance of Configuration. 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 Configuration; /** * A `antimalware` block as defined below. */ readonly antimalware: pulumi.Output; /** * Whether the automation account is enabled. Defaults to `false`. */ readonly automationAccountEnabled: pulumi.Output; /** * A `azureSecurityBaseline` block as defined below. */ readonly azureSecurityBaseline: pulumi.Output; /** * A `backup` block as defined below. */ readonly backup: pulumi.Output; /** * Whether the boot diagnostics are enabled. Defaults to `false`. */ readonly bootDiagnosticsEnabled: pulumi.Output; /** * Whether the defender for cloud is enabled. Defaults to `false`. */ readonly defenderForCloudEnabled: pulumi.Output; /** * Whether the guest configuration is enabled. Defaults to `false`. */ readonly guestConfigurationEnabled: pulumi.Output; /** * The Azure Region where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created. */ readonly location: pulumi.Output; /** * Whether log analytics are enabled. Defaults to `false`. */ readonly logAnalyticsEnabled: pulumi.Output; /** * The name which should be used for this Automanage Configuration. Changing this forces a new Automanage Configuration to be created. */ readonly name: pulumi.Output; /** * The name of the Resource Group where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created. */ readonly resourceGroupName: pulumi.Output; /** * Whether the status change alert is enabled. Defaults to `false`. */ readonly statusChangeAlertEnabled: pulumi.Output; readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a Configuration 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: ConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Configuration resources. */ export interface ConfigurationState { /** * A `antimalware` block as defined below. */ antimalware?: pulumi.Input; /** * Whether the automation account is enabled. Defaults to `false`. */ automationAccountEnabled?: pulumi.Input; /** * A `azureSecurityBaseline` block as defined below. */ azureSecurityBaseline?: pulumi.Input; /** * A `backup` block as defined below. */ backup?: pulumi.Input; /** * Whether the boot diagnostics are enabled. Defaults to `false`. */ bootDiagnosticsEnabled?: pulumi.Input; /** * Whether the defender for cloud is enabled. Defaults to `false`. */ defenderForCloudEnabled?: pulumi.Input; /** * Whether the guest configuration is enabled. Defaults to `false`. */ guestConfigurationEnabled?: pulumi.Input; /** * The Azure Region where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created. */ location?: pulumi.Input; /** * Whether log analytics are enabled. Defaults to `false`. */ logAnalyticsEnabled?: pulumi.Input; /** * The name which should be used for this Automanage Configuration. Changing this forces a new Automanage Configuration to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created. */ resourceGroupName?: pulumi.Input; /** * Whether the status change alert is enabled. Defaults to `false`. */ statusChangeAlertEnabled?: pulumi.Input; tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a Configuration resource. */ export interface ConfigurationArgs { /** * A `antimalware` block as defined below. */ antimalware?: pulumi.Input; /** * Whether the automation account is enabled. Defaults to `false`. */ automationAccountEnabled?: pulumi.Input; /** * A `azureSecurityBaseline` block as defined below. */ azureSecurityBaseline?: pulumi.Input; /** * A `backup` block as defined below. */ backup?: pulumi.Input; /** * Whether the boot diagnostics are enabled. Defaults to `false`. */ bootDiagnosticsEnabled?: pulumi.Input; /** * Whether the defender for cloud is enabled. Defaults to `false`. */ defenderForCloudEnabled?: pulumi.Input; /** * Whether the guest configuration is enabled. Defaults to `false`. */ guestConfigurationEnabled?: pulumi.Input; /** * The Azure Region where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created. */ location?: pulumi.Input; /** * Whether log analytics are enabled. Defaults to `false`. */ logAnalyticsEnabled?: pulumi.Input; /** * The name which should be used for this Automanage Configuration. Changing this forces a new Automanage Configuration to be created. */ name?: pulumi.Input; /** * The name of the Resource Group where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created. */ resourceGroupName: pulumi.Input; /** * Whether the status change alert is enabled. Defaults to `false`. */ statusChangeAlertEnabled?: pulumi.Input; tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }