We recommend using Azure Native.
azure.automanage.Configuration
Explore with Pulumi AI
Manages an Automanage Configuration.
Example Usage
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",
},
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-automanage",
location="West Europe")
example_configuration = azure.automanage.Configuration("example",
name="example-acmp",
resource_group_name=example.name,
location=example.location,
antimalware={
"exclusions": {
"extensions": "exe;dll",
"paths": "C:\\Windows\\Temp;D:\\Temp",
"processes": "svchost.exe;notepad.exe",
},
"real_time_protection_enabled": True,
"scheduled_scan_enabled": True,
"scheduled_scan_type": "Quick",
"scheduled_scan_day": 1,
"scheduled_scan_time_in_minutes": 1339,
},
azure_security_baseline={
"assignment_type": "ApplyAndAutoCorrect",
},
automation_account_enabled=True,
backup={
"policy_name": "acctest-backup-policy-%d",
"time_zone": "UTC",
"instant_rp_retention_range_in_days": 2,
"schedule_policy": {
"schedule_run_frequency": "Daily",
"schedule_run_days": [
"Monday",
"Tuesday",
],
"schedule_run_times": ["12:00"],
"schedule_policy_type": "SimpleSchedulePolicy",
},
"retention_policy": {
"retention_policy_type": "LongTermRetentionPolicy",
"daily_schedule": {
"retention_times": ["12:00"],
"retention_duration": {
"count": 7,
"duration_type": "Days",
},
},
"weekly_schedule": {
"retention_times": ["14:00"],
"retention_duration": {
"count": 4,
"duration_type": "Weeks",
},
},
},
},
boot_diagnostics_enabled=True,
defender_for_cloud_enabled=True,
guest_configuration_enabled=True,
log_analytics_enabled=True,
status_change_alert_enabled=True,
tags={
"env": "test",
})
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/automanage"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-automanage"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = automanage.NewConfiguration(ctx, "example", &automanage.ConfigurationArgs{
Name: pulumi.String("example-acmp"),
ResourceGroupName: example.Name,
Location: example.Location,
Antimalware: &automanage.ConfigurationAntimalwareArgs{
Exclusions: &automanage.ConfigurationAntimalwareExclusionsArgs{
Extensions: pulumi.String("exe;dll"),
Paths: pulumi.String("C:\\Windows\\Temp;D:\\Temp"),
Processes: pulumi.String("svchost.exe;notepad.exe"),
},
RealTimeProtectionEnabled: pulumi.Bool(true),
ScheduledScanEnabled: pulumi.Bool(true),
ScheduledScanType: pulumi.String("Quick"),
ScheduledScanDay: pulumi.Int(1),
ScheduledScanTimeInMinutes: pulumi.Int(1339),
},
AzureSecurityBaseline: &automanage.ConfigurationAzureSecurityBaselineArgs{
AssignmentType: pulumi.String("ApplyAndAutoCorrect"),
},
AutomationAccountEnabled: pulumi.Bool(true),
Backup: &automanage.ConfigurationBackupArgs{
PolicyName: pulumi.String("acctest-backup-policy-%d"),
TimeZone: pulumi.String("UTC"),
InstantRpRetentionRangeInDays: pulumi.Int(2),
SchedulePolicy: &automanage.ConfigurationBackupSchedulePolicyArgs{
ScheduleRunFrequency: pulumi.String("Daily"),
ScheduleRunDays: pulumi.StringArray{
pulumi.String("Monday"),
pulumi.String("Tuesday"),
},
ScheduleRunTimes: pulumi.StringArray{
pulumi.String("12:00"),
},
SchedulePolicyType: pulumi.String("SimpleSchedulePolicy"),
},
RetentionPolicy: &automanage.ConfigurationBackupRetentionPolicyArgs{
RetentionPolicyType: pulumi.String("LongTermRetentionPolicy"),
DailySchedule: &automanage.ConfigurationBackupRetentionPolicyDailyScheduleArgs{
RetentionTimes: pulumi.StringArray{
pulumi.String("12:00"),
},
RetentionDuration: &automanage.ConfigurationBackupRetentionPolicyDailyScheduleRetentionDurationArgs{
Count: pulumi.Int(7),
DurationType: pulumi.String("Days"),
},
},
WeeklySchedule: &automanage.ConfigurationBackupRetentionPolicyWeeklyScheduleArgs{
RetentionTimes: pulumi.StringArray{
pulumi.String("14:00"),
},
RetentionDuration: &automanage.ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDurationArgs{
Count: pulumi.Int(4),
DurationType: pulumi.String("Weeks"),
},
},
},
},
BootDiagnosticsEnabled: pulumi.Bool(true),
DefenderForCloudEnabled: pulumi.Bool(true),
GuestConfigurationEnabled: pulumi.Bool(true),
LogAnalyticsEnabled: pulumi.Bool(true),
StatusChangeAlertEnabled: pulumi.Bool(true),
Tags: pulumi.StringMap{
"env": pulumi.String("test"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-automanage",
Location = "West Europe",
});
var exampleConfiguration = new Azure.Automanage.Configuration("example", new()
{
Name = "example-acmp",
ResourceGroupName = example.Name,
Location = example.Location,
Antimalware = new Azure.Automanage.Inputs.ConfigurationAntimalwareArgs
{
Exclusions = new Azure.Automanage.Inputs.ConfigurationAntimalwareExclusionsArgs
{
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 = new Azure.Automanage.Inputs.ConfigurationAzureSecurityBaselineArgs
{
AssignmentType = "ApplyAndAutoCorrect",
},
AutomationAccountEnabled = true,
Backup = new Azure.Automanage.Inputs.ConfigurationBackupArgs
{
PolicyName = "acctest-backup-policy-%d",
TimeZone = "UTC",
InstantRpRetentionRangeInDays = 2,
SchedulePolicy = new Azure.Automanage.Inputs.ConfigurationBackupSchedulePolicyArgs
{
ScheduleRunFrequency = "Daily",
ScheduleRunDays = new[]
{
"Monday",
"Tuesday",
},
ScheduleRunTimes = new[]
{
"12:00",
},
SchedulePolicyType = "SimpleSchedulePolicy",
},
RetentionPolicy = new Azure.Automanage.Inputs.ConfigurationBackupRetentionPolicyArgs
{
RetentionPolicyType = "LongTermRetentionPolicy",
DailySchedule = new Azure.Automanage.Inputs.ConfigurationBackupRetentionPolicyDailyScheduleArgs
{
RetentionTimes = new[]
{
"12:00",
},
RetentionDuration = new Azure.Automanage.Inputs.ConfigurationBackupRetentionPolicyDailyScheduleRetentionDurationArgs
{
Count = 7,
DurationType = "Days",
},
},
WeeklySchedule = new Azure.Automanage.Inputs.ConfigurationBackupRetentionPolicyWeeklyScheduleArgs
{
RetentionTimes = new[]
{
"14:00",
},
RetentionDuration = new Azure.Automanage.Inputs.ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDurationArgs
{
Count = 4,
DurationType = "Weeks",
},
},
},
},
BootDiagnosticsEnabled = true,
DefenderForCloudEnabled = true,
GuestConfigurationEnabled = true,
LogAnalyticsEnabled = true,
StatusChangeAlertEnabled = true,
Tags =
{
{ "env", "test" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.automanage.Configuration;
import com.pulumi.azure.automanage.ConfigurationArgs;
import com.pulumi.azure.automanage.inputs.ConfigurationAntimalwareArgs;
import com.pulumi.azure.automanage.inputs.ConfigurationAntimalwareExclusionsArgs;
import com.pulumi.azure.automanage.inputs.ConfigurationAzureSecurityBaselineArgs;
import com.pulumi.azure.automanage.inputs.ConfigurationBackupArgs;
import com.pulumi.azure.automanage.inputs.ConfigurationBackupSchedulePolicyArgs;
import com.pulumi.azure.automanage.inputs.ConfigurationBackupRetentionPolicyArgs;
import com.pulumi.azure.automanage.inputs.ConfigurationBackupRetentionPolicyDailyScheduleArgs;
import com.pulumi.azure.automanage.inputs.ConfigurationBackupRetentionPolicyDailyScheduleRetentionDurationArgs;
import com.pulumi.azure.automanage.inputs.ConfigurationBackupRetentionPolicyWeeklyScheduleArgs;
import com.pulumi.azure.automanage.inputs.ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-automanage")
.location("West Europe")
.build());
var exampleConfiguration = new Configuration("exampleConfiguration", ConfigurationArgs.builder()
.name("example-acmp")
.resourceGroupName(example.name())
.location(example.location())
.antimalware(ConfigurationAntimalwareArgs.builder()
.exclusions(ConfigurationAntimalwareExclusionsArgs.builder()
.extensions("exe;dll")
.paths("C:\\Windows\\Temp;D:\\Temp")
.processes("svchost.exe;notepad.exe")
.build())
.realTimeProtectionEnabled(true)
.scheduledScanEnabled(true)
.scheduledScanType("Quick")
.scheduledScanDay(1)
.scheduledScanTimeInMinutes(1339)
.build())
.azureSecurityBaseline(ConfigurationAzureSecurityBaselineArgs.builder()
.assignmentType("ApplyAndAutoCorrect")
.build())
.automationAccountEnabled(true)
.backup(ConfigurationBackupArgs.builder()
.policyName("acctest-backup-policy-%d")
.timeZone("UTC")
.instantRpRetentionRangeInDays(2)
.schedulePolicy(ConfigurationBackupSchedulePolicyArgs.builder()
.scheduleRunFrequency("Daily")
.scheduleRunDays(
"Monday",
"Tuesday")
.scheduleRunTimes("12:00")
.schedulePolicyType("SimpleSchedulePolicy")
.build())
.retentionPolicy(ConfigurationBackupRetentionPolicyArgs.builder()
.retentionPolicyType("LongTermRetentionPolicy")
.dailySchedule(ConfigurationBackupRetentionPolicyDailyScheduleArgs.builder()
.retentionTimes("12:00")
.retentionDuration(ConfigurationBackupRetentionPolicyDailyScheduleRetentionDurationArgs.builder()
.count(7)
.durationType("Days")
.build())
.build())
.weeklySchedule(ConfigurationBackupRetentionPolicyWeeklyScheduleArgs.builder()
.retentionTimes("14:00")
.retentionDuration(ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDurationArgs.builder()
.count(4)
.durationType("Weeks")
.build())
.build())
.build())
.build())
.bootDiagnosticsEnabled(true)
.defenderForCloudEnabled(true)
.guestConfigurationEnabled(true)
.logAnalyticsEnabled(true)
.statusChangeAlertEnabled(true)
.tags(Map.of("env", "test"))
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-automanage
location: West Europe
exampleConfiguration:
type: azure:automanage:Configuration
name: example
properties:
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
Create Configuration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Configuration(name: string, args: ConfigurationArgs, opts?: CustomResourceOptions);
@overload
def Configuration(resource_name: str,
args: ConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Configuration(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
guest_configuration_enabled: Optional[bool] = None,
azure_security_baseline: Optional[ConfigurationAzureSecurityBaselineArgs] = None,
backup: Optional[ConfigurationBackupArgs] = None,
boot_diagnostics_enabled: Optional[bool] = None,
defender_for_cloud_enabled: Optional[bool] = None,
antimalware: Optional[ConfigurationAntimalwareArgs] = None,
location: Optional[str] = None,
log_analytics_enabled: Optional[bool] = None,
name: Optional[str] = None,
automation_account_enabled: Optional[bool] = None,
status_change_alert_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None)
func NewConfiguration(ctx *Context, name string, args ConfigurationArgs, opts ...ResourceOption) (*Configuration, error)
public Configuration(string name, ConfigurationArgs args, CustomResourceOptions? opts = null)
public Configuration(String name, ConfigurationArgs args)
public Configuration(String name, ConfigurationArgs args, CustomResourceOptions options)
type: azure:automanage:Configuration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConfigurationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var configurationResource = new Azure.Automanage.Configuration("configurationResource", new()
{
ResourceGroupName = "string",
GuestConfigurationEnabled = false,
AzureSecurityBaseline = new Azure.Automanage.Inputs.ConfigurationAzureSecurityBaselineArgs
{
AssignmentType = "string",
},
Backup = new Azure.Automanage.Inputs.ConfigurationBackupArgs
{
InstantRpRetentionRangeInDays = 0,
PolicyName = "string",
RetentionPolicy = new Azure.Automanage.Inputs.ConfigurationBackupRetentionPolicyArgs
{
DailySchedule = new Azure.Automanage.Inputs.ConfigurationBackupRetentionPolicyDailyScheduleArgs
{
RetentionDuration = new Azure.Automanage.Inputs.ConfigurationBackupRetentionPolicyDailyScheduleRetentionDurationArgs
{
Count = 0,
DurationType = "string",
},
RetentionTimes = new[]
{
"string",
},
},
RetentionPolicyType = "string",
WeeklySchedule = new Azure.Automanage.Inputs.ConfigurationBackupRetentionPolicyWeeklyScheduleArgs
{
RetentionDuration = new Azure.Automanage.Inputs.ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDurationArgs
{
Count = 0,
DurationType = "string",
},
RetentionTimes = new[]
{
"string",
},
},
},
SchedulePolicy = new Azure.Automanage.Inputs.ConfigurationBackupSchedulePolicyArgs
{
SchedulePolicyType = "string",
ScheduleRunDays = new[]
{
"string",
},
ScheduleRunFrequency = "string",
ScheduleRunTimes = new[]
{
"string",
},
},
TimeZone = "string",
},
BootDiagnosticsEnabled = false,
DefenderForCloudEnabled = false,
Antimalware = new Azure.Automanage.Inputs.ConfigurationAntimalwareArgs
{
Exclusions = new Azure.Automanage.Inputs.ConfigurationAntimalwareExclusionsArgs
{
Extensions = "string",
Paths = "string",
Processes = "string",
},
RealTimeProtectionEnabled = false,
ScheduledScanDay = 0,
ScheduledScanEnabled = false,
ScheduledScanTimeInMinutes = 0,
ScheduledScanType = "string",
},
Location = "string",
LogAnalyticsEnabled = false,
Name = "string",
AutomationAccountEnabled = false,
StatusChangeAlertEnabled = false,
Tags =
{
{ "string", "string" },
},
});
example, err := automanage.NewConfiguration(ctx, "configurationResource", &automanage.ConfigurationArgs{
ResourceGroupName: pulumi.String("string"),
GuestConfigurationEnabled: pulumi.Bool(false),
AzureSecurityBaseline: &automanage.ConfigurationAzureSecurityBaselineArgs{
AssignmentType: pulumi.String("string"),
},
Backup: &automanage.ConfigurationBackupArgs{
InstantRpRetentionRangeInDays: pulumi.Int(0),
PolicyName: pulumi.String("string"),
RetentionPolicy: &automanage.ConfigurationBackupRetentionPolicyArgs{
DailySchedule: &automanage.ConfigurationBackupRetentionPolicyDailyScheduleArgs{
RetentionDuration: &automanage.ConfigurationBackupRetentionPolicyDailyScheduleRetentionDurationArgs{
Count: pulumi.Int(0),
DurationType: pulumi.String("string"),
},
RetentionTimes: pulumi.StringArray{
pulumi.String("string"),
},
},
RetentionPolicyType: pulumi.String("string"),
WeeklySchedule: &automanage.ConfigurationBackupRetentionPolicyWeeklyScheduleArgs{
RetentionDuration: &automanage.ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDurationArgs{
Count: pulumi.Int(0),
DurationType: pulumi.String("string"),
},
RetentionTimes: pulumi.StringArray{
pulumi.String("string"),
},
},
},
SchedulePolicy: &automanage.ConfigurationBackupSchedulePolicyArgs{
SchedulePolicyType: pulumi.String("string"),
ScheduleRunDays: pulumi.StringArray{
pulumi.String("string"),
},
ScheduleRunFrequency: pulumi.String("string"),
ScheduleRunTimes: pulumi.StringArray{
pulumi.String("string"),
},
},
TimeZone: pulumi.String("string"),
},
BootDiagnosticsEnabled: pulumi.Bool(false),
DefenderForCloudEnabled: pulumi.Bool(false),
Antimalware: &automanage.ConfigurationAntimalwareArgs{
Exclusions: &automanage.ConfigurationAntimalwareExclusionsArgs{
Extensions: pulumi.String("string"),
Paths: pulumi.String("string"),
Processes: pulumi.String("string"),
},
RealTimeProtectionEnabled: pulumi.Bool(false),
ScheduledScanDay: pulumi.Int(0),
ScheduledScanEnabled: pulumi.Bool(false),
ScheduledScanTimeInMinutes: pulumi.Int(0),
ScheduledScanType: pulumi.String("string"),
},
Location: pulumi.String("string"),
LogAnalyticsEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
AutomationAccountEnabled: pulumi.Bool(false),
StatusChangeAlertEnabled: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var configurationResource = new Configuration("configurationResource", ConfigurationArgs.builder()
.resourceGroupName("string")
.guestConfigurationEnabled(false)
.azureSecurityBaseline(ConfigurationAzureSecurityBaselineArgs.builder()
.assignmentType("string")
.build())
.backup(ConfigurationBackupArgs.builder()
.instantRpRetentionRangeInDays(0)
.policyName("string")
.retentionPolicy(ConfigurationBackupRetentionPolicyArgs.builder()
.dailySchedule(ConfigurationBackupRetentionPolicyDailyScheduleArgs.builder()
.retentionDuration(ConfigurationBackupRetentionPolicyDailyScheduleRetentionDurationArgs.builder()
.count(0)
.durationType("string")
.build())
.retentionTimes("string")
.build())
.retentionPolicyType("string")
.weeklySchedule(ConfigurationBackupRetentionPolicyWeeklyScheduleArgs.builder()
.retentionDuration(ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDurationArgs.builder()
.count(0)
.durationType("string")
.build())
.retentionTimes("string")
.build())
.build())
.schedulePolicy(ConfigurationBackupSchedulePolicyArgs.builder()
.schedulePolicyType("string")
.scheduleRunDays("string")
.scheduleRunFrequency("string")
.scheduleRunTimes("string")
.build())
.timeZone("string")
.build())
.bootDiagnosticsEnabled(false)
.defenderForCloudEnabled(false)
.antimalware(ConfigurationAntimalwareArgs.builder()
.exclusions(ConfigurationAntimalwareExclusionsArgs.builder()
.extensions("string")
.paths("string")
.processes("string")
.build())
.realTimeProtectionEnabled(false)
.scheduledScanDay(0)
.scheduledScanEnabled(false)
.scheduledScanTimeInMinutes(0)
.scheduledScanType("string")
.build())
.location("string")
.logAnalyticsEnabled(false)
.name("string")
.automationAccountEnabled(false)
.statusChangeAlertEnabled(false)
.tags(Map.of("string", "string"))
.build());
configuration_resource = azure.automanage.Configuration("configurationResource",
resource_group_name="string",
guest_configuration_enabled=False,
azure_security_baseline={
"assignment_type": "string",
},
backup={
"instant_rp_retention_range_in_days": 0,
"policy_name": "string",
"retention_policy": {
"daily_schedule": {
"retention_duration": {
"count": 0,
"duration_type": "string",
},
"retention_times": ["string"],
},
"retention_policy_type": "string",
"weekly_schedule": {
"retention_duration": {
"count": 0,
"duration_type": "string",
},
"retention_times": ["string"],
},
},
"schedule_policy": {
"schedule_policy_type": "string",
"schedule_run_days": ["string"],
"schedule_run_frequency": "string",
"schedule_run_times": ["string"],
},
"time_zone": "string",
},
boot_diagnostics_enabled=False,
defender_for_cloud_enabled=False,
antimalware={
"exclusions": {
"extensions": "string",
"paths": "string",
"processes": "string",
},
"real_time_protection_enabled": False,
"scheduled_scan_day": 0,
"scheduled_scan_enabled": False,
"scheduled_scan_time_in_minutes": 0,
"scheduled_scan_type": "string",
},
location="string",
log_analytics_enabled=False,
name="string",
automation_account_enabled=False,
status_change_alert_enabled=False,
tags={
"string": "string",
})
const configurationResource = new azure.automanage.Configuration("configurationResource", {
resourceGroupName: "string",
guestConfigurationEnabled: false,
azureSecurityBaseline: {
assignmentType: "string",
},
backup: {
instantRpRetentionRangeInDays: 0,
policyName: "string",
retentionPolicy: {
dailySchedule: {
retentionDuration: {
count: 0,
durationType: "string",
},
retentionTimes: ["string"],
},
retentionPolicyType: "string",
weeklySchedule: {
retentionDuration: {
count: 0,
durationType: "string",
},
retentionTimes: ["string"],
},
},
schedulePolicy: {
schedulePolicyType: "string",
scheduleRunDays: ["string"],
scheduleRunFrequency: "string",
scheduleRunTimes: ["string"],
},
timeZone: "string",
},
bootDiagnosticsEnabled: false,
defenderForCloudEnabled: false,
antimalware: {
exclusions: {
extensions: "string",
paths: "string",
processes: "string",
},
realTimeProtectionEnabled: false,
scheduledScanDay: 0,
scheduledScanEnabled: false,
scheduledScanTimeInMinutes: 0,
scheduledScanType: "string",
},
location: "string",
logAnalyticsEnabled: false,
name: "string",
automationAccountEnabled: false,
statusChangeAlertEnabled: false,
tags: {
string: "string",
},
});
type: azure:automanage:Configuration
properties:
antimalware:
exclusions:
extensions: string
paths: string
processes: string
realTimeProtectionEnabled: false
scheduledScanDay: 0
scheduledScanEnabled: false
scheduledScanTimeInMinutes: 0
scheduledScanType: string
automationAccountEnabled: false
azureSecurityBaseline:
assignmentType: string
backup:
instantRpRetentionRangeInDays: 0
policyName: string
retentionPolicy:
dailySchedule:
retentionDuration:
count: 0
durationType: string
retentionTimes:
- string
retentionPolicyType: string
weeklySchedule:
retentionDuration:
count: 0
durationType: string
retentionTimes:
- string
schedulePolicy:
schedulePolicyType: string
scheduleRunDays:
- string
scheduleRunFrequency: string
scheduleRunTimes:
- string
timeZone: string
bootDiagnosticsEnabled: false
defenderForCloudEnabled: false
guestConfigurationEnabled: false
location: string
logAnalyticsEnabled: false
name: string
resourceGroupName: string
statusChangeAlertEnabled: false
tags:
string: string
Configuration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Configuration resource accepts the following input properties:
- Resource
Group stringName - The name of the Resource Group where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- Antimalware
Configuration
Antimalware - A
antimalware
block as defined below. - Automation
Account boolEnabled - Whether the automation account is enabled. Defaults to
false
. - Azure
Security ConfigurationBaseline Azure Security Baseline - A
azure_security_baseline
block as defined below. - Backup
Configuration
Backup - A
backup
block as defined below. - Boot
Diagnostics boolEnabled - Whether the boot diagnostics are enabled. Defaults to
false
. - Defender
For boolCloud Enabled - Whether the defender for cloud is enabled. Defaults to
false
. - Guest
Configuration boolEnabled - Whether the guest configuration is enabled. Defaults to
false
. - Location string
- The Azure Region where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- Log
Analytics boolEnabled - Whether log analytics are enabled. Defaults to
false
. - Name string
- The name which should be used for this Automanage Configuration. Changing this forces a new Automanage Configuration to be created.
- Status
Change boolAlert Enabled - Whether the status change alert is enabled. Defaults to
false
. - Dictionary<string, string>
- Resource
Group stringName - The name of the Resource Group where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- Antimalware
Configuration
Antimalware Args - A
antimalware
block as defined below. - Automation
Account boolEnabled - Whether the automation account is enabled. Defaults to
false
. - Azure
Security ConfigurationBaseline Azure Security Baseline Args - A
azure_security_baseline
block as defined below. - Backup
Configuration
Backup Args - A
backup
block as defined below. - Boot
Diagnostics boolEnabled - Whether the boot diagnostics are enabled. Defaults to
false
. - Defender
For boolCloud Enabled - Whether the defender for cloud is enabled. Defaults to
false
. - Guest
Configuration boolEnabled - Whether the guest configuration is enabled. Defaults to
false
. - Location string
- The Azure Region where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- Log
Analytics boolEnabled - Whether log analytics are enabled. Defaults to
false
. - Name string
- The name which should be used for this Automanage Configuration. Changing this forces a new Automanage Configuration to be created.
- Status
Change boolAlert Enabled - Whether the status change alert is enabled. Defaults to
false
. - map[string]string
- resource
Group StringName - The name of the Resource Group where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- antimalware
Configuration
Antimalware - A
antimalware
block as defined below. - automation
Account BooleanEnabled - Whether the automation account is enabled. Defaults to
false
. - azure
Security ConfigurationBaseline Azure Security Baseline - A
azure_security_baseline
block as defined below. - backup
Configuration
Backup - A
backup
block as defined below. - boot
Diagnostics BooleanEnabled - Whether the boot diagnostics are enabled. Defaults to
false
. - defender
For BooleanCloud Enabled - Whether the defender for cloud is enabled. Defaults to
false
. - guest
Configuration BooleanEnabled - Whether the guest configuration is enabled. Defaults to
false
. - location String
- The Azure Region where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- log
Analytics BooleanEnabled - Whether log analytics are enabled. Defaults to
false
. - name String
- The name which should be used for this Automanage Configuration. Changing this forces a new Automanage Configuration to be created.
- status
Change BooleanAlert Enabled - Whether the status change alert is enabled. Defaults to
false
. - Map<String,String>
- resource
Group stringName - The name of the Resource Group where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- antimalware
Configuration
Antimalware - A
antimalware
block as defined below. - automation
Account booleanEnabled - Whether the automation account is enabled. Defaults to
false
. - azure
Security ConfigurationBaseline Azure Security Baseline - A
azure_security_baseline
block as defined below. - backup
Configuration
Backup - A
backup
block as defined below. - boot
Diagnostics booleanEnabled - Whether the boot diagnostics are enabled. Defaults to
false
. - defender
For booleanCloud Enabled - Whether the defender for cloud is enabled. Defaults to
false
. - guest
Configuration booleanEnabled - Whether the guest configuration is enabled. Defaults to
false
. - location string
- The Azure Region where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- log
Analytics booleanEnabled - Whether log analytics are enabled. Defaults to
false
. - name string
- The name which should be used for this Automanage Configuration. Changing this forces a new Automanage Configuration to be created.
- status
Change booleanAlert Enabled - Whether the status change alert is enabled. Defaults to
false
. - {[key: string]: string}
- resource_
group_ strname - The name of the Resource Group where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- antimalware
Configuration
Antimalware Args - A
antimalware
block as defined below. - automation_
account_ boolenabled - Whether the automation account is enabled. Defaults to
false
. - azure_
security_ Configurationbaseline Azure Security Baseline Args - A
azure_security_baseline
block as defined below. - backup
Configuration
Backup Args - A
backup
block as defined below. - boot_
diagnostics_ boolenabled - Whether the boot diagnostics are enabled. Defaults to
false
. - defender_
for_ boolcloud_ enabled - Whether the defender for cloud is enabled. Defaults to
false
. - guest_
configuration_ boolenabled - Whether the guest configuration is enabled. Defaults to
false
. - location str
- The Azure Region where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- log_
analytics_ boolenabled - Whether log analytics are enabled. Defaults to
false
. - name str
- The name which should be used for this Automanage Configuration. Changing this forces a new Automanage Configuration to be created.
- status_
change_ boolalert_ enabled - Whether the status change alert is enabled. Defaults to
false
. - Mapping[str, str]
- resource
Group StringName - The name of the Resource Group where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- antimalware Property Map
- A
antimalware
block as defined below. - automation
Account BooleanEnabled - Whether the automation account is enabled. Defaults to
false
. - azure
Security Property MapBaseline - A
azure_security_baseline
block as defined below. - backup Property Map
- A
backup
block as defined below. - boot
Diagnostics BooleanEnabled - Whether the boot diagnostics are enabled. Defaults to
false
. - defender
For BooleanCloud Enabled - Whether the defender for cloud is enabled. Defaults to
false
. - guest
Configuration BooleanEnabled - Whether the guest configuration is enabled. Defaults to
false
. - location String
- The Azure Region where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- log
Analytics BooleanEnabled - Whether log analytics are enabled. Defaults to
false
. - name String
- The name which should be used for this Automanage Configuration. Changing this forces a new Automanage Configuration to be created.
- status
Change BooleanAlert Enabled - Whether the status change alert is enabled. Defaults to
false
. - Map<String>
Outputs
All input properties are implicitly available as output properties. Additionally, the Configuration resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Configuration Resource
Get an existing Configuration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ConfigurationState, opts?: CustomResourceOptions): Configuration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
antimalware: Optional[ConfigurationAntimalwareArgs] = None,
automation_account_enabled: Optional[bool] = None,
azure_security_baseline: Optional[ConfigurationAzureSecurityBaselineArgs] = None,
backup: Optional[ConfigurationBackupArgs] = None,
boot_diagnostics_enabled: Optional[bool] = None,
defender_for_cloud_enabled: Optional[bool] = None,
guest_configuration_enabled: Optional[bool] = None,
location: Optional[str] = None,
log_analytics_enabled: Optional[bool] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
status_change_alert_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None) -> Configuration
func GetConfiguration(ctx *Context, name string, id IDInput, state *ConfigurationState, opts ...ResourceOption) (*Configuration, error)
public static Configuration Get(string name, Input<string> id, ConfigurationState? state, CustomResourceOptions? opts = null)
public static Configuration get(String name, Output<String> id, ConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Antimalware
Configuration
Antimalware - A
antimalware
block as defined below. - Automation
Account boolEnabled - Whether the automation account is enabled. Defaults to
false
. - Azure
Security ConfigurationBaseline Azure Security Baseline - A
azure_security_baseline
block as defined below. - Backup
Configuration
Backup - A
backup
block as defined below. - Boot
Diagnostics boolEnabled - Whether the boot diagnostics are enabled. Defaults to
false
. - Defender
For boolCloud Enabled - Whether the defender for cloud is enabled. Defaults to
false
. - Guest
Configuration boolEnabled - Whether the guest configuration is enabled. Defaults to
false
. - Location string
- The Azure Region where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- Log
Analytics boolEnabled - Whether log analytics are enabled. Defaults to
false
. - Name string
- The name which should be used for this Automanage Configuration. Changing this forces a new Automanage Configuration to be created.
- Resource
Group stringName - The name of the Resource Group where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- Status
Change boolAlert Enabled - Whether the status change alert is enabled. Defaults to
false
. - Dictionary<string, string>
- Antimalware
Configuration
Antimalware Args - A
antimalware
block as defined below. - Automation
Account boolEnabled - Whether the automation account is enabled. Defaults to
false
. - Azure
Security ConfigurationBaseline Azure Security Baseline Args - A
azure_security_baseline
block as defined below. - Backup
Configuration
Backup Args - A
backup
block as defined below. - Boot
Diagnostics boolEnabled - Whether the boot diagnostics are enabled. Defaults to
false
. - Defender
For boolCloud Enabled - Whether the defender for cloud is enabled. Defaults to
false
. - Guest
Configuration boolEnabled - Whether the guest configuration is enabled. Defaults to
false
. - Location string
- The Azure Region where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- Log
Analytics boolEnabled - Whether log analytics are enabled. Defaults to
false
. - Name string
- The name which should be used for this Automanage Configuration. Changing this forces a new Automanage Configuration to be created.
- Resource
Group stringName - The name of the Resource Group where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- Status
Change boolAlert Enabled - Whether the status change alert is enabled. Defaults to
false
. - map[string]string
- antimalware
Configuration
Antimalware - A
antimalware
block as defined below. - automation
Account BooleanEnabled - Whether the automation account is enabled. Defaults to
false
. - azure
Security ConfigurationBaseline Azure Security Baseline - A
azure_security_baseline
block as defined below. - backup
Configuration
Backup - A
backup
block as defined below. - boot
Diagnostics BooleanEnabled - Whether the boot diagnostics are enabled. Defaults to
false
. - defender
For BooleanCloud Enabled - Whether the defender for cloud is enabled. Defaults to
false
. - guest
Configuration BooleanEnabled - Whether the guest configuration is enabled. Defaults to
false
. - location String
- The Azure Region where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- log
Analytics BooleanEnabled - Whether log analytics are enabled. Defaults to
false
. - name String
- The name which should be used for this Automanage Configuration. Changing this forces a new Automanage Configuration to be created.
- resource
Group StringName - The name of the Resource Group where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- status
Change BooleanAlert Enabled - Whether the status change alert is enabled. Defaults to
false
. - Map<String,String>
- antimalware
Configuration
Antimalware - A
antimalware
block as defined below. - automation
Account booleanEnabled - Whether the automation account is enabled. Defaults to
false
. - azure
Security ConfigurationBaseline Azure Security Baseline - A
azure_security_baseline
block as defined below. - backup
Configuration
Backup - A
backup
block as defined below. - boot
Diagnostics booleanEnabled - Whether the boot diagnostics are enabled. Defaults to
false
. - defender
For booleanCloud Enabled - Whether the defender for cloud is enabled. Defaults to
false
. - guest
Configuration booleanEnabled - Whether the guest configuration is enabled. Defaults to
false
. - location string
- The Azure Region where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- log
Analytics booleanEnabled - Whether log analytics are enabled. Defaults to
false
. - name string
- The name which should be used for this Automanage Configuration. Changing this forces a new Automanage Configuration to be created.
- resource
Group stringName - The name of the Resource Group where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- status
Change booleanAlert Enabled - Whether the status change alert is enabled. Defaults to
false
. - {[key: string]: string}
- antimalware
Configuration
Antimalware Args - A
antimalware
block as defined below. - automation_
account_ boolenabled - Whether the automation account is enabled. Defaults to
false
. - azure_
security_ Configurationbaseline Azure Security Baseline Args - A
azure_security_baseline
block as defined below. - backup
Configuration
Backup Args - A
backup
block as defined below. - boot_
diagnostics_ boolenabled - Whether the boot diagnostics are enabled. Defaults to
false
. - defender_
for_ boolcloud_ enabled - Whether the defender for cloud is enabled. Defaults to
false
. - guest_
configuration_ boolenabled - Whether the guest configuration is enabled. Defaults to
false
. - location str
- The Azure Region where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- log_
analytics_ boolenabled - Whether log analytics are enabled. Defaults to
false
. - name str
- The name which should be used for this Automanage Configuration. Changing this forces a new Automanage Configuration to be created.
- resource_
group_ strname - The name of the Resource Group where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- status_
change_ boolalert_ enabled - Whether the status change alert is enabled. Defaults to
false
. - Mapping[str, str]
- antimalware Property Map
- A
antimalware
block as defined below. - automation
Account BooleanEnabled - Whether the automation account is enabled. Defaults to
false
. - azure
Security Property MapBaseline - A
azure_security_baseline
block as defined below. - backup Property Map
- A
backup
block as defined below. - boot
Diagnostics BooleanEnabled - Whether the boot diagnostics are enabled. Defaults to
false
. - defender
For BooleanCloud Enabled - Whether the defender for cloud is enabled. Defaults to
false
. - guest
Configuration BooleanEnabled - Whether the guest configuration is enabled. Defaults to
false
. - location String
- The Azure Region where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- log
Analytics BooleanEnabled - Whether log analytics are enabled. Defaults to
false
. - name String
- The name which should be used for this Automanage Configuration. Changing this forces a new Automanage Configuration to be created.
- resource
Group StringName - The name of the Resource Group where the Automanage Configuration should exist. Changing this forces a new Automanage Configuration to be created.
- status
Change BooleanAlert Enabled - Whether the status change alert is enabled. Defaults to
false
. - Map<String>
Supporting Types
ConfigurationAntimalware, ConfigurationAntimalwareArgs
- Exclusions
Configuration
Antimalware Exclusions - A
exclusions
block as defined below. - Real
Time boolProtection Enabled - Whether the real time protection is enabled. Defaults to
false
. - Scheduled
Scan intDay - The day of the scheduled scan. Possible values are
0
to8
where0
is daily,1
to7
are the days of the week and8
is Disabled. Defaults to8
. - Scheduled
Scan boolEnabled - Whether the scheduled scan is enabled. Defaults to
false
. - Scheduled
Scan intTime In Minutes - The time of the scheduled scan in minutes. Possible values are
0
to1439
where0
is 12:00 AM and1439
is 11:59 PM. - Scheduled
Scan stringType - The type of the scheduled scan. Possible values are
Quick
andFull
. Defaults toQuick
.
- Exclusions
Configuration
Antimalware Exclusions - A
exclusions
block as defined below. - Real
Time boolProtection Enabled - Whether the real time protection is enabled. Defaults to
false
. - Scheduled
Scan intDay - The day of the scheduled scan. Possible values are
0
to8
where0
is daily,1
to7
are the days of the week and8
is Disabled. Defaults to8
. - Scheduled
Scan boolEnabled - Whether the scheduled scan is enabled. Defaults to
false
. - Scheduled
Scan intTime In Minutes - The time of the scheduled scan in minutes. Possible values are
0
to1439
where0
is 12:00 AM and1439
is 11:59 PM. - Scheduled
Scan stringType - The type of the scheduled scan. Possible values are
Quick
andFull
. Defaults toQuick
.
- exclusions
Configuration
Antimalware Exclusions - A
exclusions
block as defined below. - real
Time BooleanProtection Enabled - Whether the real time protection is enabled. Defaults to
false
. - scheduled
Scan IntegerDay - The day of the scheduled scan. Possible values are
0
to8
where0
is daily,1
to7
are the days of the week and8
is Disabled. Defaults to8
. - scheduled
Scan BooleanEnabled - Whether the scheduled scan is enabled. Defaults to
false
. - scheduled
Scan IntegerTime In Minutes - The time of the scheduled scan in minutes. Possible values are
0
to1439
where0
is 12:00 AM and1439
is 11:59 PM. - scheduled
Scan StringType - The type of the scheduled scan. Possible values are
Quick
andFull
. Defaults toQuick
.
- exclusions
Configuration
Antimalware Exclusions - A
exclusions
block as defined below. - real
Time booleanProtection Enabled - Whether the real time protection is enabled. Defaults to
false
. - scheduled
Scan numberDay - The day of the scheduled scan. Possible values are
0
to8
where0
is daily,1
to7
are the days of the week and8
is Disabled. Defaults to8
. - scheduled
Scan booleanEnabled - Whether the scheduled scan is enabled. Defaults to
false
. - scheduled
Scan numberTime In Minutes - The time of the scheduled scan in minutes. Possible values are
0
to1439
where0
is 12:00 AM and1439
is 11:59 PM. - scheduled
Scan stringType - The type of the scheduled scan. Possible values are
Quick
andFull
. Defaults toQuick
.
- exclusions
Configuration
Antimalware Exclusions - A
exclusions
block as defined below. - real_
time_ boolprotection_ enabled - Whether the real time protection is enabled. Defaults to
false
. - scheduled_
scan_ intday - The day of the scheduled scan. Possible values are
0
to8
where0
is daily,1
to7
are the days of the week and8
is Disabled. Defaults to8
. - scheduled_
scan_ boolenabled - Whether the scheduled scan is enabled. Defaults to
false
. - scheduled_
scan_ inttime_ in_ minutes - The time of the scheduled scan in minutes. Possible values are
0
to1439
where0
is 12:00 AM and1439
is 11:59 PM. - scheduled_
scan_ strtype - The type of the scheduled scan. Possible values are
Quick
andFull
. Defaults toQuick
.
- exclusions Property Map
- A
exclusions
block as defined below. - real
Time BooleanProtection Enabled - Whether the real time protection is enabled. Defaults to
false
. - scheduled
Scan NumberDay - The day of the scheduled scan. Possible values are
0
to8
where0
is daily,1
to7
are the days of the week and8
is Disabled. Defaults to8
. - scheduled
Scan BooleanEnabled - Whether the scheduled scan is enabled. Defaults to
false
. - scheduled
Scan NumberTime In Minutes - The time of the scheduled scan in minutes. Possible values are
0
to1439
where0
is 12:00 AM and1439
is 11:59 PM. - scheduled
Scan StringType - The type of the scheduled scan. Possible values are
Quick
andFull
. Defaults toQuick
.
ConfigurationAntimalwareExclusions, ConfigurationAntimalwareExclusionsArgs
- Extensions string
- The extensions to exclude from the antimalware scan, separated by
;
. For example.ext1;.ext2
. - Paths string
- The paths to exclude from the antimalware scan, separated by
;
. For exampleC:\\Windows\\Temp;D:\\Temp
. - Processes string
- The processes to exclude from the antimalware scan, separated by
;
. For examplesvchost.exe;notepad.exe
.
- Extensions string
- The extensions to exclude from the antimalware scan, separated by
;
. For example.ext1;.ext2
. - Paths string
- The paths to exclude from the antimalware scan, separated by
;
. For exampleC:\\Windows\\Temp;D:\\Temp
. - Processes string
- The processes to exclude from the antimalware scan, separated by
;
. For examplesvchost.exe;notepad.exe
.
- extensions String
- The extensions to exclude from the antimalware scan, separated by
;
. For example.ext1;.ext2
. - paths String
- The paths to exclude from the antimalware scan, separated by
;
. For exampleC:\\Windows\\Temp;D:\\Temp
. - processes String
- The processes to exclude from the antimalware scan, separated by
;
. For examplesvchost.exe;notepad.exe
.
- extensions string
- The extensions to exclude from the antimalware scan, separated by
;
. For example.ext1;.ext2
. - paths string
- The paths to exclude from the antimalware scan, separated by
;
. For exampleC:\\Windows\\Temp;D:\\Temp
. - processes string
- The processes to exclude from the antimalware scan, separated by
;
. For examplesvchost.exe;notepad.exe
.
- extensions str
- The extensions to exclude from the antimalware scan, separated by
;
. For example.ext1;.ext2
. - paths str
- The paths to exclude from the antimalware scan, separated by
;
. For exampleC:\\Windows\\Temp;D:\\Temp
. - processes str
- The processes to exclude from the antimalware scan, separated by
;
. For examplesvchost.exe;notepad.exe
.
- extensions String
- The extensions to exclude from the antimalware scan, separated by
;
. For example.ext1;.ext2
. - paths String
- The paths to exclude from the antimalware scan, separated by
;
. For exampleC:\\Windows\\Temp;D:\\Temp
. - processes String
- The processes to exclude from the antimalware scan, separated by
;
. For examplesvchost.exe;notepad.exe
.
ConfigurationAzureSecurityBaseline, ConfigurationAzureSecurityBaselineArgs
- Assignment
Type string - The assignment type of the azure security baseline. Possible values are
ApplyAndAutoCorrect
,ApplyAndMonitor
,Audit
andDeployAndAutoCorrect
. Defaults toApplyAndAutoCorrect
.
- Assignment
Type string - The assignment type of the azure security baseline. Possible values are
ApplyAndAutoCorrect
,ApplyAndMonitor
,Audit
andDeployAndAutoCorrect
. Defaults toApplyAndAutoCorrect
.
- assignment
Type String - The assignment type of the azure security baseline. Possible values are
ApplyAndAutoCorrect
,ApplyAndMonitor
,Audit
andDeployAndAutoCorrect
. Defaults toApplyAndAutoCorrect
.
- assignment
Type string - The assignment type of the azure security baseline. Possible values are
ApplyAndAutoCorrect
,ApplyAndMonitor
,Audit
andDeployAndAutoCorrect
. Defaults toApplyAndAutoCorrect
.
- assignment_
type str - The assignment type of the azure security baseline. Possible values are
ApplyAndAutoCorrect
,ApplyAndMonitor
,Audit
andDeployAndAutoCorrect
. Defaults toApplyAndAutoCorrect
.
- assignment
Type String - The assignment type of the azure security baseline. Possible values are
ApplyAndAutoCorrect
,ApplyAndMonitor
,Audit
andDeployAndAutoCorrect
. Defaults toApplyAndAutoCorrect
.
ConfigurationBackup, ConfigurationBackupArgs
- Instant
Rp intRetention Range In Days - The retention range in days of the backup policy. Defaults to
5
. - Policy
Name string - The name of the backup policy.
- Retention
Policy ConfigurationBackup Retention Policy - A
retention_policy
block as defined below. - Schedule
Policy ConfigurationBackup Schedule Policy - A
schedule_policy
block as defined below. - Time
Zone string - The timezone of the backup policy. Defaults to
UTC
.
- Instant
Rp intRetention Range In Days - The retention range in days of the backup policy. Defaults to
5
. - Policy
Name string - The name of the backup policy.
- Retention
Policy ConfigurationBackup Retention Policy - A
retention_policy
block as defined below. - Schedule
Policy ConfigurationBackup Schedule Policy - A
schedule_policy
block as defined below. - Time
Zone string - The timezone of the backup policy. Defaults to
UTC
.
- instant
Rp IntegerRetention Range In Days - The retention range in days of the backup policy. Defaults to
5
. - policy
Name String - The name of the backup policy.
- retention
Policy ConfigurationBackup Retention Policy - A
retention_policy
block as defined below. - schedule
Policy ConfigurationBackup Schedule Policy - A
schedule_policy
block as defined below. - time
Zone String - The timezone of the backup policy. Defaults to
UTC
.
- instant
Rp numberRetention Range In Days - The retention range in days of the backup policy. Defaults to
5
. - policy
Name string - The name of the backup policy.
- retention
Policy ConfigurationBackup Retention Policy - A
retention_policy
block as defined below. - schedule
Policy ConfigurationBackup Schedule Policy - A
schedule_policy
block as defined below. - time
Zone string - The timezone of the backup policy. Defaults to
UTC
.
- instant_
rp_ intretention_ range_ in_ days - The retention range in days of the backup policy. Defaults to
5
. - policy_
name str - The name of the backup policy.
- retention_
policy ConfigurationBackup Retention Policy - A
retention_policy
block as defined below. - schedule_
policy ConfigurationBackup Schedule Policy - A
schedule_policy
block as defined below. - time_
zone str - The timezone of the backup policy. Defaults to
UTC
.
- instant
Rp NumberRetention Range In Days - The retention range in days of the backup policy. Defaults to
5
. - policy
Name String - The name of the backup policy.
- retention
Policy Property Map - A
retention_policy
block as defined below. - schedule
Policy Property Map - A
schedule_policy
block as defined below. - time
Zone String - The timezone of the backup policy. Defaults to
UTC
.
ConfigurationBackupRetentionPolicy, ConfigurationBackupRetentionPolicyArgs
- Daily
Schedule ConfigurationBackup Retention Policy Daily Schedule - A
daily_schedule
block as defined below. - Retention
Policy stringType - The retention policy type of the backup policy. Possible value is
LongTermRetentionPolicy
. Defaults toLongTermRetentionPolicy
. - Weekly
Schedule ConfigurationBackup Retention Policy Weekly Schedule - A
weekly_schedule
block as defined below.
- Daily
Schedule ConfigurationBackup Retention Policy Daily Schedule - A
daily_schedule
block as defined below. - Retention
Policy stringType - The retention policy type of the backup policy. Possible value is
LongTermRetentionPolicy
. Defaults toLongTermRetentionPolicy
. - Weekly
Schedule ConfigurationBackup Retention Policy Weekly Schedule - A
weekly_schedule
block as defined below.
- daily
Schedule ConfigurationBackup Retention Policy Daily Schedule - A
daily_schedule
block as defined below. - retention
Policy StringType - The retention policy type of the backup policy. Possible value is
LongTermRetentionPolicy
. Defaults toLongTermRetentionPolicy
. - weekly
Schedule ConfigurationBackup Retention Policy Weekly Schedule - A
weekly_schedule
block as defined below.
- daily
Schedule ConfigurationBackup Retention Policy Daily Schedule - A
daily_schedule
block as defined below. - retention
Policy stringType - The retention policy type of the backup policy. Possible value is
LongTermRetentionPolicy
. Defaults toLongTermRetentionPolicy
. - weekly
Schedule ConfigurationBackup Retention Policy Weekly Schedule - A
weekly_schedule
block as defined below.
- daily_
schedule ConfigurationBackup Retention Policy Daily Schedule - A
daily_schedule
block as defined below. - retention_
policy_ strtype - The retention policy type of the backup policy. Possible value is
LongTermRetentionPolicy
. Defaults toLongTermRetentionPolicy
. - weekly_
schedule ConfigurationBackup Retention Policy Weekly Schedule - A
weekly_schedule
block as defined below.
- daily
Schedule Property Map - A
daily_schedule
block as defined below. - retention
Policy StringType - The retention policy type of the backup policy. Possible value is
LongTermRetentionPolicy
. Defaults toLongTermRetentionPolicy
. - weekly
Schedule Property Map - A
weekly_schedule
block as defined below.
ConfigurationBackupRetentionPolicyDailySchedule, ConfigurationBackupRetentionPolicyDailyScheduleArgs
- Retention
Duration ConfigurationBackup Retention Policy Daily Schedule Retention Duration - A
retention_duration
block as defined below. - Retention
Times List<string> - The retention times of the backup policy.
- Retention
Duration ConfigurationBackup Retention Policy Daily Schedule Retention Duration - A
retention_duration
block as defined below. - Retention
Times []string - The retention times of the backup policy.
- retention
Duration ConfigurationBackup Retention Policy Daily Schedule Retention Duration - A
retention_duration
block as defined below. - retention
Times List<String> - The retention times of the backup policy.
- retention
Duration ConfigurationBackup Retention Policy Daily Schedule Retention Duration - A
retention_duration
block as defined below. - retention
Times string[] - The retention times of the backup policy.
- retention_
duration ConfigurationBackup Retention Policy Daily Schedule Retention Duration - A
retention_duration
block as defined below. - retention_
times Sequence[str] - The retention times of the backup policy.
- retention
Duration Property Map - A
retention_duration
block as defined below. - retention
Times List<String> - The retention times of the backup policy.
ConfigurationBackupRetentionPolicyDailyScheduleRetentionDuration, ConfigurationBackupRetentionPolicyDailyScheduleRetentionDurationArgs
- Count int
- The count of the retention duration of the backup policy. Valid value inside
daily_schedule
is7
to9999
and insideweekly_schedule
is1
to5163
. - Duration
Type string - The duration type of the retention duration of the backup policy. Valid value inside
daily_schedule
isDays
and insideweekly_schedule
isWeeks
. Defaults toDays
.
- Count int
- The count of the retention duration of the backup policy. Valid value inside
daily_schedule
is7
to9999
and insideweekly_schedule
is1
to5163
. - Duration
Type string - The duration type of the retention duration of the backup policy. Valid value inside
daily_schedule
isDays
and insideweekly_schedule
isWeeks
. Defaults toDays
.
- count Integer
- The count of the retention duration of the backup policy. Valid value inside
daily_schedule
is7
to9999
and insideweekly_schedule
is1
to5163
. - duration
Type String - The duration type of the retention duration of the backup policy. Valid value inside
daily_schedule
isDays
and insideweekly_schedule
isWeeks
. Defaults toDays
.
- count number
- The count of the retention duration of the backup policy. Valid value inside
daily_schedule
is7
to9999
and insideweekly_schedule
is1
to5163
. - duration
Type string - The duration type of the retention duration of the backup policy. Valid value inside
daily_schedule
isDays
and insideweekly_schedule
isWeeks
. Defaults toDays
.
- count int
- The count of the retention duration of the backup policy. Valid value inside
daily_schedule
is7
to9999
and insideweekly_schedule
is1
to5163
. - duration_
type str - The duration type of the retention duration of the backup policy. Valid value inside
daily_schedule
isDays
and insideweekly_schedule
isWeeks
. Defaults toDays
.
- count Number
- The count of the retention duration of the backup policy. Valid value inside
daily_schedule
is7
to9999
and insideweekly_schedule
is1
to5163
. - duration
Type String - The duration type of the retention duration of the backup policy. Valid value inside
daily_schedule
isDays
and insideweekly_schedule
isWeeks
. Defaults toDays
.
ConfigurationBackupRetentionPolicyWeeklySchedule, ConfigurationBackupRetentionPolicyWeeklyScheduleArgs
- Retention
Duration ConfigurationBackup Retention Policy Weekly Schedule Retention Duration - A
retention_duration
block as defined below. - Retention
Times List<string> - The retention times of the backup policy.
- Retention
Duration ConfigurationBackup Retention Policy Weekly Schedule Retention Duration - A
retention_duration
block as defined below. - Retention
Times []string - The retention times of the backup policy.
- retention
Duration ConfigurationBackup Retention Policy Weekly Schedule Retention Duration - A
retention_duration
block as defined below. - retention
Times List<String> - The retention times of the backup policy.
- retention
Duration ConfigurationBackup Retention Policy Weekly Schedule Retention Duration - A
retention_duration
block as defined below. - retention
Times string[] - The retention times of the backup policy.
- retention_
duration ConfigurationBackup Retention Policy Weekly Schedule Retention Duration - A
retention_duration
block as defined below. - retention_
times Sequence[str] - The retention times of the backup policy.
- retention
Duration Property Map - A
retention_duration
block as defined below. - retention
Times List<String> - The retention times of the backup policy.
ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDuration, ConfigurationBackupRetentionPolicyWeeklyScheduleRetentionDurationArgs
- Count int
- The count of the retention duration of the backup policy. Valid value inside
daily_schedule
is7
to9999
and insideweekly_schedule
is1
to5163
. - Duration
Type string - The duration type of the retention duration of the backup policy. Valid value inside
daily_schedule
isDays
and insideweekly_schedule
isWeeks
. Defaults toDays
.
- Count int
- The count of the retention duration of the backup policy. Valid value inside
daily_schedule
is7
to9999
and insideweekly_schedule
is1
to5163
. - Duration
Type string - The duration type of the retention duration of the backup policy. Valid value inside
daily_schedule
isDays
and insideweekly_schedule
isWeeks
. Defaults toDays
.
- count Integer
- The count of the retention duration of the backup policy. Valid value inside
daily_schedule
is7
to9999
and insideweekly_schedule
is1
to5163
. - duration
Type String - The duration type of the retention duration of the backup policy. Valid value inside
daily_schedule
isDays
and insideweekly_schedule
isWeeks
. Defaults toDays
.
- count number
- The count of the retention duration of the backup policy. Valid value inside
daily_schedule
is7
to9999
and insideweekly_schedule
is1
to5163
. - duration
Type string - The duration type of the retention duration of the backup policy. Valid value inside
daily_schedule
isDays
and insideweekly_schedule
isWeeks
. Defaults toDays
.
- count int
- The count of the retention duration of the backup policy. Valid value inside
daily_schedule
is7
to9999
and insideweekly_schedule
is1
to5163
. - duration_
type str - The duration type of the retention duration of the backup policy. Valid value inside
daily_schedule
isDays
and insideweekly_schedule
isWeeks
. Defaults toDays
.
- count Number
- The count of the retention duration of the backup policy. Valid value inside
daily_schedule
is7
to9999
and insideweekly_schedule
is1
to5163
. - duration
Type String - The duration type of the retention duration of the backup policy. Valid value inside
daily_schedule
isDays
and insideweekly_schedule
isWeeks
. Defaults toDays
.
ConfigurationBackupSchedulePolicy, ConfigurationBackupSchedulePolicyArgs
- Schedule
Policy stringType - The schedule policy type of the backup policy. Possible value is
SimpleSchedulePolicy
. Defaults toSimpleSchedulePolicy
. - Schedule
Run List<string>Days - The schedule run days of the backup policy. Possible values are
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
andSaturday
. - Schedule
Run stringFrequency - The schedule run frequency of the backup policy. Possible values are
Daily
andWeekly
. Defaults toDaily
. - Schedule
Run List<string>Times - The schedule run times of the backup policy.
- Schedule
Policy stringType - The schedule policy type of the backup policy. Possible value is
SimpleSchedulePolicy
. Defaults toSimpleSchedulePolicy
. - Schedule
Run []stringDays - The schedule run days of the backup policy. Possible values are
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
andSaturday
. - Schedule
Run stringFrequency - The schedule run frequency of the backup policy. Possible values are
Daily
andWeekly
. Defaults toDaily
. - Schedule
Run []stringTimes - The schedule run times of the backup policy.
- schedule
Policy StringType - The schedule policy type of the backup policy. Possible value is
SimpleSchedulePolicy
. Defaults toSimpleSchedulePolicy
. - schedule
Run List<String>Days - The schedule run days of the backup policy. Possible values are
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
andSaturday
. - schedule
Run StringFrequency - The schedule run frequency of the backup policy. Possible values are
Daily
andWeekly
. Defaults toDaily
. - schedule
Run List<String>Times - The schedule run times of the backup policy.
- schedule
Policy stringType - The schedule policy type of the backup policy. Possible value is
SimpleSchedulePolicy
. Defaults toSimpleSchedulePolicy
. - schedule
Run string[]Days - The schedule run days of the backup policy. Possible values are
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
andSaturday
. - schedule
Run stringFrequency - The schedule run frequency of the backup policy. Possible values are
Daily
andWeekly
. Defaults toDaily
. - schedule
Run string[]Times - The schedule run times of the backup policy.
- schedule_
policy_ strtype - The schedule policy type of the backup policy. Possible value is
SimpleSchedulePolicy
. Defaults toSimpleSchedulePolicy
. - schedule_
run_ Sequence[str]days - The schedule run days of the backup policy. Possible values are
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
andSaturday
. - schedule_
run_ strfrequency - The schedule run frequency of the backup policy. Possible values are
Daily
andWeekly
. Defaults toDaily
. - schedule_
run_ Sequence[str]times - The schedule run times of the backup policy.
- schedule
Policy StringType - The schedule policy type of the backup policy. Possible value is
SimpleSchedulePolicy
. Defaults toSimpleSchedulePolicy
. - schedule
Run List<String>Days - The schedule run days of the backup policy. Possible values are
Sunday
,Monday
,Tuesday
,Wednesday
,Thursday
,Friday
andSaturday
. - schedule
Run StringFrequency - The schedule run frequency of the backup policy. Possible values are
Daily
andWeekly
. Defaults toDaily
. - schedule
Run List<String>Times - The schedule run times of the backup policy.
Import
Automanage Configuration can be imported using the resource id
, e.g.
$ pulumi import azure:automanage/configuration:Configuration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AutoManage/configurationProfiles/configurationProfile1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.