We recommend using Azure Native.
azure.automation.SoftwareUpdateConfiguration
Explore with Pulumi AI
Manages an Automation Software Update Configuration.
Example Usage
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",
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="example-rg",
    location="East US")
example_account = azure.automation.Account("example",
    name="example",
    location=example.location,
    resource_group_name=example.name,
    sku_name="Basic")
example_run_book = azure.automation.RunBook("example",
    name="Get-AzureVMTutorial",
    location=example.location,
    resource_group_name=example.name,
    automation_account_name=example_account.name,
    log_verbose=True,
    log_progress=True,
    description="This is a example runbook for terraform acceptance example",
    runbook_type="Python3",
    content="""# Some example content
# for Terraform acceptance example
""",
    tags={
        "ENV": "runbook_test",
    })
example_software_update_configuration = azure.automation.SoftwareUpdateConfiguration("example",
    name="example",
    automation_account_id=example_account.id,
    linux={
        "classifications_includeds": "Security",
        "excluded_packages": ["apt"],
        "included_packages": ["vim"],
        "reboot": "IfRequired",
    },
    pre_task={
        "source": example_run_book.name,
        "parameters": {
            "COMPUTER_NAME": "Foo",
        },
    },
    duration="PT2H2M2S")
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/automation"
	"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-rg"),
			Location: pulumi.String("East US"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := automation.NewAccount(ctx, "example", &automation.AccountArgs{
			Name:              pulumi.String("example"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		exampleRunBook, err := automation.NewRunBook(ctx, "example", &automation.RunBookArgs{
			Name:                  pulumi.String("Get-AzureVMTutorial"),
			Location:              example.Location,
			ResourceGroupName:     example.Name,
			AutomationAccountName: exampleAccount.Name,
			LogVerbose:            pulumi.Bool(true),
			LogProgress:           pulumi.Bool(true),
			Description:           pulumi.String("This is a example runbook for terraform acceptance example"),
			RunbookType:           pulumi.String("Python3"),
			Content:               pulumi.String("# Some example content\n# for Terraform acceptance example\n"),
			Tags: pulumi.StringMap{
				"ENV": pulumi.String("runbook_test"),
			},
		})
		if err != nil {
			return err
		}
		_, err = automation.NewSoftwareUpdateConfiguration(ctx, "example", &automation.SoftwareUpdateConfigurationArgs{
			Name:                pulumi.String("example"),
			AutomationAccountId: exampleAccount.ID(),
			Linux: &automation.SoftwareUpdateConfigurationLinuxArgs{
				ClassificationsIncludeds: pulumi.StringArray("Security"),
				ExcludedPackages: pulumi.StringArray{
					pulumi.String("apt"),
				},
				IncludedPackages: pulumi.StringArray{
					pulumi.String("vim"),
				},
				Reboot: pulumi.String("IfRequired"),
			},
			PreTask: &automation.SoftwareUpdateConfigurationPreTaskArgs{
				Source: exampleRunBook.Name,
				Parameters: pulumi.StringMap{
					"COMPUTER_NAME": pulumi.String("Foo"),
				},
			},
			Duration: pulumi.String("PT2H2M2S"),
		})
		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-rg",
        Location = "East US",
    });
    var exampleAccount = new Azure.Automation.Account("example", new()
    {
        Name = "example",
        Location = example.Location,
        ResourceGroupName = example.Name,
        SkuName = "Basic",
    });
    var exampleRunBook = new Azure.Automation.RunBook("example", new()
    {
        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" },
        },
    });
    var exampleSoftwareUpdateConfiguration = new Azure.Automation.SoftwareUpdateConfiguration("example", new()
    {
        Name = "example",
        AutomationAccountId = exampleAccount.Id,
        Linux = new Azure.Automation.Inputs.SoftwareUpdateConfigurationLinuxArgs
        {
            ClassificationsIncludeds = "Security",
            ExcludedPackages = new[]
            {
                "apt",
            },
            IncludedPackages = new[]
            {
                "vim",
            },
            Reboot = "IfRequired",
        },
        PreTask = new Azure.Automation.Inputs.SoftwareUpdateConfigurationPreTaskArgs
        {
            Source = exampleRunBook.Name,
            Parameters = 
            {
                { "COMPUTER_NAME", "Foo" },
            },
        },
        Duration = "PT2H2M2S",
    });
});
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.automation.Account;
import com.pulumi.azure.automation.AccountArgs;
import com.pulumi.azure.automation.RunBook;
import com.pulumi.azure.automation.RunBookArgs;
import com.pulumi.azure.automation.SoftwareUpdateConfiguration;
import com.pulumi.azure.automation.SoftwareUpdateConfigurationArgs;
import com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationLinuxArgs;
import com.pulumi.azure.automation.inputs.SoftwareUpdateConfigurationPreTaskArgs;
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-rg")
            .location("East US")
            .build());
        var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
            .name("example")
            .location(example.location())
            .resourceGroupName(example.name())
            .skuName("Basic")
            .build());
        var exampleRunBook = new RunBook("exampleRunBook", RunBookArgs.builder()
            .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(Map.of("ENV", "runbook_test"))
            .build());
        var exampleSoftwareUpdateConfiguration = new SoftwareUpdateConfiguration("exampleSoftwareUpdateConfiguration", SoftwareUpdateConfigurationArgs.builder()
            .name("example")
            .automationAccountId(exampleAccount.id())
            .linux(SoftwareUpdateConfigurationLinuxArgs.builder()
                .classificationsIncludeds("Security")
                .excludedPackages("apt")
                .includedPackages("vim")
                .reboot("IfRequired")
                .build())
            .preTask(SoftwareUpdateConfigurationPreTaskArgs.builder()
                .source(exampleRunBook.name())
                .parameters(Map.of("COMPUTER_NAME", "Foo"))
                .build())
            .duration("PT2H2M2S")
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-rg
      location: East US
  exampleAccount:
    type: azure:automation:Account
    name: example
    properties:
      name: example
      location: ${example.location}
      resourceGroupName: ${example.name}
      skuName: Basic
  exampleRunBook:
    type: azure:automation:RunBook
    name: example
    properties:
      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
  exampleSoftwareUpdateConfiguration:
    type: azure:automation:SoftwareUpdateConfiguration
    name: example
    properties:
      name: example
      automationAccountId: ${exampleAccount.id}
      linux:
        classificationsIncludeds: Security
        excludedPackages:
          - apt
        includedPackages:
          - vim
        reboot: IfRequired
      preTask:
        source: ${exampleRunBook.name}
        parameters:
          COMPUTER_NAME: Foo
      duration: PT2H2M2S
Create SoftwareUpdateConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SoftwareUpdateConfiguration(name: string, args: SoftwareUpdateConfigurationArgs, opts?: CustomResourceOptions);@overload
def SoftwareUpdateConfiguration(resource_name: str,
                                args: SoftwareUpdateConfigurationArgs,
                                opts: Optional[ResourceOptions] = None)
@overload
def SoftwareUpdateConfiguration(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                automation_account_id: Optional[str] = None,
                                schedule: Optional[SoftwareUpdateConfigurationScheduleArgs] = None,
                                duration: Optional[str] = None,
                                linux: Optional[SoftwareUpdateConfigurationLinuxArgs] = None,
                                name: Optional[str] = None,
                                non_azure_computer_names: Optional[Sequence[str]] = None,
                                post_task: Optional[SoftwareUpdateConfigurationPostTaskArgs] = None,
                                pre_task: Optional[SoftwareUpdateConfigurationPreTaskArgs] = None,
                                target: Optional[SoftwareUpdateConfigurationTargetArgs] = None,
                                virtual_machine_ids: Optional[Sequence[str]] = None,
                                windows: Optional[SoftwareUpdateConfigurationWindowsArgs] = None)func NewSoftwareUpdateConfiguration(ctx *Context, name string, args SoftwareUpdateConfigurationArgs, opts ...ResourceOption) (*SoftwareUpdateConfiguration, error)public SoftwareUpdateConfiguration(string name, SoftwareUpdateConfigurationArgs args, CustomResourceOptions? opts = null)
public SoftwareUpdateConfiguration(String name, SoftwareUpdateConfigurationArgs args)
public SoftwareUpdateConfiguration(String name, SoftwareUpdateConfigurationArgs args, CustomResourceOptions options)
type: azure:automation:SoftwareUpdateConfiguration
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 SoftwareUpdateConfigurationArgs
 - 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 SoftwareUpdateConfigurationArgs
 - 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 SoftwareUpdateConfigurationArgs
 - The arguments to resource properties.
 - opts ResourceOption
 - Bag of options to control resource's behavior.
 
- name string
 - The unique name of the resource.
 - args SoftwareUpdateConfigurationArgs
 - The arguments to resource properties.
 - opts CustomResourceOptions
 - Bag of options to control resource's behavior.
 
- name String
 - The unique name of the resource.
 - args SoftwareUpdateConfigurationArgs
 - 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 softwareUpdateConfigurationResource = new Azure.Automation.SoftwareUpdateConfiguration("softwareUpdateConfigurationResource", new()
{
    AutomationAccountId = "string",
    Schedule = new Azure.Automation.Inputs.SoftwareUpdateConfigurationScheduleArgs
    {
        Frequency = "string",
        IsEnabled = false,
        NextRun = "string",
        Description = "string",
        ExpiryTime = "string",
        ExpiryTimeOffsetMinutes = 0,
        AdvancedWeekDays = new[]
        {
            "string",
        },
        CreationTime = "string",
        LastModifiedTime = "string",
        Interval = 0,
        MonthlyOccurrence = new Azure.Automation.Inputs.SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs
        {
            Day = "string",
            Occurrence = 0,
        },
        AdvancedMonthDays = new[]
        {
            0,
        },
        NextRunOffsetMinutes = 0,
        StartTime = "string",
        StartTimeOffsetMinutes = 0,
        TimeZone = "string",
    },
    Duration = "string",
    Linux = new Azure.Automation.Inputs.SoftwareUpdateConfigurationLinuxArgs
    {
        ClassificationsIncludeds = new[]
        {
            "string",
        },
        ExcludedPackages = new[]
        {
            "string",
        },
        IncludedPackages = new[]
        {
            "string",
        },
        Reboot = "string",
    },
    Name = "string",
    NonAzureComputerNames = new[]
    {
        "string",
    },
    PostTask = new Azure.Automation.Inputs.SoftwareUpdateConfigurationPostTaskArgs
    {
        Parameters = 
        {
            { "string", "string" },
        },
        Source = "string",
    },
    PreTask = new Azure.Automation.Inputs.SoftwareUpdateConfigurationPreTaskArgs
    {
        Parameters = 
        {
            { "string", "string" },
        },
        Source = "string",
    },
    Target = new Azure.Automation.Inputs.SoftwareUpdateConfigurationTargetArgs
    {
        AzureQueries = new[]
        {
            new Azure.Automation.Inputs.SoftwareUpdateConfigurationTargetAzureQueryArgs
            {
                Locations = new[]
                {
                    "string",
                },
                Scopes = new[]
                {
                    "string",
                },
                TagFilter = "string",
                Tags = new[]
                {
                    new Azure.Automation.Inputs.SoftwareUpdateConfigurationTargetAzureQueryTagArgs
                    {
                        Tag = "string",
                        Values = new[]
                        {
                            "string",
                        },
                    },
                },
            },
        },
        NonAzureQueries = new[]
        {
            new Azure.Automation.Inputs.SoftwareUpdateConfigurationTargetNonAzureQueryArgs
            {
                FunctionAlias = "string",
                WorkspaceId = "string",
            },
        },
    },
    VirtualMachineIds = new[]
    {
        "string",
    },
    Windows = new Azure.Automation.Inputs.SoftwareUpdateConfigurationWindowsArgs
    {
        ClassificationsIncludeds = new[]
        {
            "string",
        },
        ExcludedKnowledgeBaseNumbers = new[]
        {
            "string",
        },
        IncludedKnowledgeBaseNumbers = new[]
        {
            "string",
        },
        Reboot = "string",
    },
});
example, err := automation.NewSoftwareUpdateConfiguration(ctx, "softwareUpdateConfigurationResource", &automation.SoftwareUpdateConfigurationArgs{
	AutomationAccountId: pulumi.String("string"),
	Schedule: &automation.SoftwareUpdateConfigurationScheduleArgs{
		Frequency:               pulumi.String("string"),
		IsEnabled:               pulumi.Bool(false),
		NextRun:                 pulumi.String("string"),
		Description:             pulumi.String("string"),
		ExpiryTime:              pulumi.String("string"),
		ExpiryTimeOffsetMinutes: pulumi.Float64(0),
		AdvancedWeekDays: pulumi.StringArray{
			pulumi.String("string"),
		},
		CreationTime:     pulumi.String("string"),
		LastModifiedTime: pulumi.String("string"),
		Interval:         pulumi.Int(0),
		MonthlyOccurrence: &automation.SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs{
			Day:        pulumi.String("string"),
			Occurrence: pulumi.Int(0),
		},
		AdvancedMonthDays: pulumi.IntArray{
			pulumi.Int(0),
		},
		NextRunOffsetMinutes:   pulumi.Float64(0),
		StartTime:              pulumi.String("string"),
		StartTimeOffsetMinutes: pulumi.Float64(0),
		TimeZone:               pulumi.String("string"),
	},
	Duration: pulumi.String("string"),
	Linux: &automation.SoftwareUpdateConfigurationLinuxArgs{
		ClassificationsIncludeds: pulumi.StringArray{
			pulumi.String("string"),
		},
		ExcludedPackages: pulumi.StringArray{
			pulumi.String("string"),
		},
		IncludedPackages: pulumi.StringArray{
			pulumi.String("string"),
		},
		Reboot: pulumi.String("string"),
	},
	Name: pulumi.String("string"),
	NonAzureComputerNames: pulumi.StringArray{
		pulumi.String("string"),
	},
	PostTask: &automation.SoftwareUpdateConfigurationPostTaskArgs{
		Parameters: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		Source: pulumi.String("string"),
	},
	PreTask: &automation.SoftwareUpdateConfigurationPreTaskArgs{
		Parameters: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		Source: pulumi.String("string"),
	},
	Target: &automation.SoftwareUpdateConfigurationTargetArgs{
		AzureQueries: automation.SoftwareUpdateConfigurationTargetAzureQueryArray{
			&automation.SoftwareUpdateConfigurationTargetAzureQueryArgs{
				Locations: pulumi.StringArray{
					pulumi.String("string"),
				},
				Scopes: pulumi.StringArray{
					pulumi.String("string"),
				},
				TagFilter: pulumi.String("string"),
				Tags: automation.SoftwareUpdateConfigurationTargetAzureQueryTagArray{
					&automation.SoftwareUpdateConfigurationTargetAzureQueryTagArgs{
						Tag: pulumi.String("string"),
						Values: pulumi.StringArray{
							pulumi.String("string"),
						},
					},
				},
			},
		},
		NonAzureQueries: automation.SoftwareUpdateConfigurationTargetNonAzureQueryArray{
			&automation.SoftwareUpdateConfigurationTargetNonAzureQueryArgs{
				FunctionAlias: pulumi.String("string"),
				WorkspaceId:   pulumi.String("string"),
			},
		},
	},
	VirtualMachineIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	Windows: &automation.SoftwareUpdateConfigurationWindowsArgs{
		ClassificationsIncludeds: pulumi.StringArray{
			pulumi.String("string"),
		},
		ExcludedKnowledgeBaseNumbers: pulumi.StringArray{
			pulumi.String("string"),
		},
		IncludedKnowledgeBaseNumbers: pulumi.StringArray{
			pulumi.String("string"),
		},
		Reboot: pulumi.String("string"),
	},
})
var softwareUpdateConfigurationResource = new SoftwareUpdateConfiguration("softwareUpdateConfigurationResource", SoftwareUpdateConfigurationArgs.builder()
    .automationAccountId("string")
    .schedule(SoftwareUpdateConfigurationScheduleArgs.builder()
        .frequency("string")
        .isEnabled(false)
        .nextRun("string")
        .description("string")
        .expiryTime("string")
        .expiryTimeOffsetMinutes(0)
        .advancedWeekDays("string")
        .creationTime("string")
        .lastModifiedTime("string")
        .interval(0)
        .monthlyOccurrence(SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs.builder()
            .day("string")
            .occurrence(0)
            .build())
        .advancedMonthDays(0)
        .nextRunOffsetMinutes(0)
        .startTime("string")
        .startTimeOffsetMinutes(0)
        .timeZone("string")
        .build())
    .duration("string")
    .linux(SoftwareUpdateConfigurationLinuxArgs.builder()
        .classificationsIncludeds("string")
        .excludedPackages("string")
        .includedPackages("string")
        .reboot("string")
        .build())
    .name("string")
    .nonAzureComputerNames("string")
    .postTask(SoftwareUpdateConfigurationPostTaskArgs.builder()
        .parameters(Map.of("string", "string"))
        .source("string")
        .build())
    .preTask(SoftwareUpdateConfigurationPreTaskArgs.builder()
        .parameters(Map.of("string", "string"))
        .source("string")
        .build())
    .target(SoftwareUpdateConfigurationTargetArgs.builder()
        .azureQueries(SoftwareUpdateConfigurationTargetAzureQueryArgs.builder()
            .locations("string")
            .scopes("string")
            .tagFilter("string")
            .tags(SoftwareUpdateConfigurationTargetAzureQueryTagArgs.builder()
                .tag("string")
                .values("string")
                .build())
            .build())
        .nonAzureQueries(SoftwareUpdateConfigurationTargetNonAzureQueryArgs.builder()
            .functionAlias("string")
            .workspaceId("string")
            .build())
        .build())
    .virtualMachineIds("string")
    .windows(SoftwareUpdateConfigurationWindowsArgs.builder()
        .classificationsIncludeds("string")
        .excludedKnowledgeBaseNumbers("string")
        .includedKnowledgeBaseNumbers("string")
        .reboot("string")
        .build())
    .build());
software_update_configuration_resource = azure.automation.SoftwareUpdateConfiguration("softwareUpdateConfigurationResource",
    automation_account_id="string",
    schedule={
        "frequency": "string",
        "is_enabled": False,
        "next_run": "string",
        "description": "string",
        "expiry_time": "string",
        "expiry_time_offset_minutes": 0,
        "advanced_week_days": ["string"],
        "creation_time": "string",
        "last_modified_time": "string",
        "interval": 0,
        "monthly_occurrence": {
            "day": "string",
            "occurrence": 0,
        },
        "advanced_month_days": [0],
        "next_run_offset_minutes": 0,
        "start_time": "string",
        "start_time_offset_minutes": 0,
        "time_zone": "string",
    },
    duration="string",
    linux={
        "classifications_includeds": ["string"],
        "excluded_packages": ["string"],
        "included_packages": ["string"],
        "reboot": "string",
    },
    name="string",
    non_azure_computer_names=["string"],
    post_task={
        "parameters": {
            "string": "string",
        },
        "source": "string",
    },
    pre_task={
        "parameters": {
            "string": "string",
        },
        "source": "string",
    },
    target={
        "azure_queries": [{
            "locations": ["string"],
            "scopes": ["string"],
            "tag_filter": "string",
            "tags": [{
                "tag": "string",
                "values": ["string"],
            }],
        }],
        "non_azure_queries": [{
            "function_alias": "string",
            "workspace_id": "string",
        }],
    },
    virtual_machine_ids=["string"],
    windows={
        "classifications_includeds": ["string"],
        "excluded_knowledge_base_numbers": ["string"],
        "included_knowledge_base_numbers": ["string"],
        "reboot": "string",
    })
const softwareUpdateConfigurationResource = new azure.automation.SoftwareUpdateConfiguration("softwareUpdateConfigurationResource", {
    automationAccountId: "string",
    schedule: {
        frequency: "string",
        isEnabled: false,
        nextRun: "string",
        description: "string",
        expiryTime: "string",
        expiryTimeOffsetMinutes: 0,
        advancedWeekDays: ["string"],
        creationTime: "string",
        lastModifiedTime: "string",
        interval: 0,
        monthlyOccurrence: {
            day: "string",
            occurrence: 0,
        },
        advancedMonthDays: [0],
        nextRunOffsetMinutes: 0,
        startTime: "string",
        startTimeOffsetMinutes: 0,
        timeZone: "string",
    },
    duration: "string",
    linux: {
        classificationsIncludeds: ["string"],
        excludedPackages: ["string"],
        includedPackages: ["string"],
        reboot: "string",
    },
    name: "string",
    nonAzureComputerNames: ["string"],
    postTask: {
        parameters: {
            string: "string",
        },
        source: "string",
    },
    preTask: {
        parameters: {
            string: "string",
        },
        source: "string",
    },
    target: {
        azureQueries: [{
            locations: ["string"],
            scopes: ["string"],
            tagFilter: "string",
            tags: [{
                tag: "string",
                values: ["string"],
            }],
        }],
        nonAzureQueries: [{
            functionAlias: "string",
            workspaceId: "string",
        }],
    },
    virtualMachineIds: ["string"],
    windows: {
        classificationsIncludeds: ["string"],
        excludedKnowledgeBaseNumbers: ["string"],
        includedKnowledgeBaseNumbers: ["string"],
        reboot: "string",
    },
});
type: azure:automation:SoftwareUpdateConfiguration
properties:
    automationAccountId: string
    duration: string
    linux:
        classificationsIncludeds:
            - string
        excludedPackages:
            - string
        includedPackages:
            - string
        reboot: string
    name: string
    nonAzureComputerNames:
        - string
    postTask:
        parameters:
            string: string
        source: string
    preTask:
        parameters:
            string: string
        source: string
    schedule:
        advancedMonthDays:
            - 0
        advancedWeekDays:
            - string
        creationTime: string
        description: string
        expiryTime: string
        expiryTimeOffsetMinutes: 0
        frequency: string
        interval: 0
        isEnabled: false
        lastModifiedTime: string
        monthlyOccurrence:
            day: string
            occurrence: 0
        nextRun: string
        nextRunOffsetMinutes: 0
        startTime: string
        startTimeOffsetMinutes: 0
        timeZone: string
    target:
        azureQueries:
            - locations:
                - string
              scopes:
                - string
              tagFilter: string
              tags:
                - tag: string
                  values:
                    - string
        nonAzureQueries:
            - functionAlias: string
              workspaceId: string
    virtualMachineIds:
        - string
    windows:
        classificationsIncludeds:
            - string
        excludedKnowledgeBaseNumbers:
            - string
        includedKnowledgeBaseNumbers:
            - string
        reboot: string
SoftwareUpdateConfiguration 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 SoftwareUpdateConfiguration resource accepts the following input properties:
- Automation
Account stringId  - The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
 - Schedule
Software
Update Configuration Schedule  - A 
scheduleblocks as defined below. - Duration string
 - Maximum time allowed for the software update configuration run. using format 
PT[n]H[n]M[n]Sas per ISO8601. Defaults toPT2H. - Linux
Software
Update Configuration Linux  - A 
linuxblock as defined below. - Name string
 - The name which should be used for this Automation. Changing this forces a new Automation to be created.
 - Non
Azure List<string>Computer Names  - Specifies a list of names of non-Azure machines for the software update configuration.
 - Post
Task SoftwareUpdate Configuration Post Task  - A 
post_taskblocks as defined below. - Pre
Task SoftwareUpdate Configuration Pre Task  - A 
pre_taskblocks as defined below. - Target
Software
Update Configuration Target  - A 
targetblocks as defined below. - Virtual
Machine List<string>Ids  - Specifies a list of Azure Resource IDs of azure virtual machines.
 - Windows
Software
Update Configuration Windows  A
windowsblock as defined below.NOTE: One of
linuxorwindowsmust be specified.
- Automation
Account stringId  - The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
 - Schedule
Software
Update Configuration Schedule Args  - A 
scheduleblocks as defined below. - Duration string
 - Maximum time allowed for the software update configuration run. using format 
PT[n]H[n]M[n]Sas per ISO8601. Defaults toPT2H. - Linux
Software
Update Configuration Linux Args  - A 
linuxblock as defined below. - Name string
 - The name which should be used for this Automation. Changing this forces a new Automation to be created.
 - Non
Azure []stringComputer Names  - Specifies a list of names of non-Azure machines for the software update configuration.
 - Post
Task SoftwareUpdate Configuration Post Task Args  - A 
post_taskblocks as defined below. - Pre
Task SoftwareUpdate Configuration Pre Task Args  - A 
pre_taskblocks as defined below. - Target
Software
Update Configuration Target Args  - A 
targetblocks as defined below. - Virtual
Machine []stringIds  - Specifies a list of Azure Resource IDs of azure virtual machines.
 - Windows
Software
Update Configuration Windows Args  A
windowsblock as defined below.NOTE: One of
linuxorwindowsmust be specified.
- automation
Account StringId  - The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
 - schedule
Software
Update Configuration Schedule  - A 
scheduleblocks as defined below. - duration String
 - Maximum time allowed for the software update configuration run. using format 
PT[n]H[n]M[n]Sas per ISO8601. Defaults toPT2H. - linux
Software
Update Configuration Linux  - A 
linuxblock as defined below. - name String
 - The name which should be used for this Automation. Changing this forces a new Automation to be created.
 - non
Azure List<String>Computer Names  - Specifies a list of names of non-Azure machines for the software update configuration.
 - post
Task SoftwareUpdate Configuration Post Task  - A 
post_taskblocks as defined below. - pre
Task SoftwareUpdate Configuration Pre Task  - A 
pre_taskblocks as defined below. - target
Software
Update Configuration Target  - A 
targetblocks as defined below. - virtual
Machine List<String>Ids  - Specifies a list of Azure Resource IDs of azure virtual machines.
 - windows
Software
Update Configuration Windows  A
windowsblock as defined below.NOTE: One of
linuxorwindowsmust be specified.
- automation
Account stringId  - The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
 - schedule
Software
Update Configuration Schedule  - A 
scheduleblocks as defined below. - duration string
 - Maximum time allowed for the software update configuration run. using format 
PT[n]H[n]M[n]Sas per ISO8601. Defaults toPT2H. - linux
Software
Update Configuration Linux  - A 
linuxblock as defined below. - name string
 - The name which should be used for this Automation. Changing this forces a new Automation to be created.
 - non
Azure string[]Computer Names  - Specifies a list of names of non-Azure machines for the software update configuration.
 - post
Task SoftwareUpdate Configuration Post Task  - A 
post_taskblocks as defined below. - pre
Task SoftwareUpdate Configuration Pre Task  - A 
pre_taskblocks as defined below. - target
Software
Update Configuration Target  - A 
targetblocks as defined below. - virtual
Machine string[]Ids  - Specifies a list of Azure Resource IDs of azure virtual machines.
 - windows
Software
Update Configuration Windows  A
windowsblock as defined below.NOTE: One of
linuxorwindowsmust be specified.
- automation_
account_ strid  - The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
 - schedule
Software
Update Configuration Schedule Args  - A 
scheduleblocks as defined below. - duration str
 - Maximum time allowed for the software update configuration run. using format 
PT[n]H[n]M[n]Sas per ISO8601. Defaults toPT2H. - linux
Software
Update Configuration Linux Args  - A 
linuxblock as defined below. - name str
 - The name which should be used for this Automation. Changing this forces a new Automation to be created.
 - non_
azure_ Sequence[str]computer_ names  - Specifies a list of names of non-Azure machines for the software update configuration.
 - post_
task SoftwareUpdate Configuration Post Task Args  - A 
post_taskblocks as defined below. - pre_
task SoftwareUpdate Configuration Pre Task Args  - A 
pre_taskblocks as defined below. - target
Software
Update Configuration Target Args  - A 
targetblocks as defined below. - virtual_
machine_ Sequence[str]ids  - Specifies a list of Azure Resource IDs of azure virtual machines.
 - windows
Software
Update Configuration Windows Args  A
windowsblock as defined below.NOTE: One of
linuxorwindowsmust be specified.
- automation
Account StringId  - The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
 - schedule Property Map
 - A 
scheduleblocks as defined below. - duration String
 - Maximum time allowed for the software update configuration run. using format 
PT[n]H[n]M[n]Sas per ISO8601. Defaults toPT2H. - linux Property Map
 - A 
linuxblock as defined below. - name String
 - The name which should be used for this Automation. Changing this forces a new Automation to be created.
 - non
Azure List<String>Computer Names  - Specifies a list of names of non-Azure machines for the software update configuration.
 - post
Task Property Map - A 
post_taskblocks as defined below. - pre
Task Property Map - A 
pre_taskblocks as defined below. - target Property Map
 - A 
targetblocks as defined below. - virtual
Machine List<String>Ids  - Specifies a list of Azure Resource IDs of azure virtual machines.
 - windows Property Map
 A
windowsblock as defined below.NOTE: One of
linuxorwindowsmust be specified.
Outputs
All input properties are implicitly available as output properties. Additionally, the SoftwareUpdateConfiguration resource produces the following output properties:
- Error
Code string - The Error code when failed.
 - Error
Message string - The Error message indicating why the operation failed.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 
- Error
Code string - The Error code when failed.
 - Error
Message string - The Error message indicating why the operation failed.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 
- error
Code String - The Error code when failed.
 - error
Message String - The Error message indicating why the operation failed.
 - id String
 - The provider-assigned unique ID for this managed resource.
 
- error
Code string - The Error code when failed.
 - error
Message string - The Error message indicating why the operation failed.
 - id string
 - The provider-assigned unique ID for this managed resource.
 
- error_
code str - The Error code when failed.
 - error_
message str - The Error message indicating why the operation failed.
 - id str
 - The provider-assigned unique ID for this managed resource.
 
- error
Code String - The Error code when failed.
 - error
Message String - The Error message indicating why the operation failed.
 - id String
 - The provider-assigned unique ID for this managed resource.
 
Look up Existing SoftwareUpdateConfiguration Resource
Get an existing SoftwareUpdateConfiguration 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?: SoftwareUpdateConfigurationState, opts?: CustomResourceOptions): SoftwareUpdateConfiguration@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        automation_account_id: Optional[str] = None,
        duration: Optional[str] = None,
        error_code: Optional[str] = None,
        error_message: Optional[str] = None,
        linux: Optional[SoftwareUpdateConfigurationLinuxArgs] = None,
        name: Optional[str] = None,
        non_azure_computer_names: Optional[Sequence[str]] = None,
        post_task: Optional[SoftwareUpdateConfigurationPostTaskArgs] = None,
        pre_task: Optional[SoftwareUpdateConfigurationPreTaskArgs] = None,
        schedule: Optional[SoftwareUpdateConfigurationScheduleArgs] = None,
        target: Optional[SoftwareUpdateConfigurationTargetArgs] = None,
        virtual_machine_ids: Optional[Sequence[str]] = None,
        windows: Optional[SoftwareUpdateConfigurationWindowsArgs] = None) -> SoftwareUpdateConfigurationfunc GetSoftwareUpdateConfiguration(ctx *Context, name string, id IDInput, state *SoftwareUpdateConfigurationState, opts ...ResourceOption) (*SoftwareUpdateConfiguration, error)public static SoftwareUpdateConfiguration Get(string name, Input<string> id, SoftwareUpdateConfigurationState? state, CustomResourceOptions? opts = null)public static SoftwareUpdateConfiguration get(String name, Output<String> id, SoftwareUpdateConfigurationState state, CustomResourceOptions options)resources:  _:    type: azure:automation:SoftwareUpdateConfiguration    get:      id: ${id}- 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.
 
- Automation
Account stringId  - The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
 - Duration string
 - Maximum time allowed for the software update configuration run. using format 
PT[n]H[n]M[n]Sas per ISO8601. Defaults toPT2H. - Error
Code string - The Error code when failed.
 - Error
Message string - The Error message indicating why the operation failed.
 - Linux
Software
Update Configuration Linux  - A 
linuxblock as defined below. - Name string
 - The name which should be used for this Automation. Changing this forces a new Automation to be created.
 - Non
Azure List<string>Computer Names  - Specifies a list of names of non-Azure machines for the software update configuration.
 - Post
Task SoftwareUpdate Configuration Post Task  - A 
post_taskblocks as defined below. - Pre
Task SoftwareUpdate Configuration Pre Task  - A 
pre_taskblocks as defined below. - Schedule
Software
Update Configuration Schedule  - A 
scheduleblocks as defined below. - Target
Software
Update Configuration Target  - A 
targetblocks as defined below. - Virtual
Machine List<string>Ids  - Specifies a list of Azure Resource IDs of azure virtual machines.
 - Windows
Software
Update Configuration Windows  A
windowsblock as defined below.NOTE: One of
linuxorwindowsmust be specified.
- Automation
Account stringId  - The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
 - Duration string
 - Maximum time allowed for the software update configuration run. using format 
PT[n]H[n]M[n]Sas per ISO8601. Defaults toPT2H. - Error
Code string - The Error code when failed.
 - Error
Message string - The Error message indicating why the operation failed.
 - Linux
Software
Update Configuration Linux Args  - A 
linuxblock as defined below. - Name string
 - The name which should be used for this Automation. Changing this forces a new Automation to be created.
 - Non
Azure []stringComputer Names  - Specifies a list of names of non-Azure machines for the software update configuration.
 - Post
Task SoftwareUpdate Configuration Post Task Args  - A 
post_taskblocks as defined below. - Pre
Task SoftwareUpdate Configuration Pre Task Args  - A 
pre_taskblocks as defined below. - Schedule
Software
Update Configuration Schedule Args  - A 
scheduleblocks as defined below. - Target
Software
Update Configuration Target Args  - A 
targetblocks as defined below. - Virtual
Machine []stringIds  - Specifies a list of Azure Resource IDs of azure virtual machines.
 - Windows
Software
Update Configuration Windows Args  A
windowsblock as defined below.NOTE: One of
linuxorwindowsmust be specified.
- automation
Account StringId  - The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
 - duration String
 - Maximum time allowed for the software update configuration run. using format 
PT[n]H[n]M[n]Sas per ISO8601. Defaults toPT2H. - error
Code String - The Error code when failed.
 - error
Message String - The Error message indicating why the operation failed.
 - linux
Software
Update Configuration Linux  - A 
linuxblock as defined below. - name String
 - The name which should be used for this Automation. Changing this forces a new Automation to be created.
 - non
Azure List<String>Computer Names  - Specifies a list of names of non-Azure machines for the software update configuration.
 - post
Task SoftwareUpdate Configuration Post Task  - A 
post_taskblocks as defined below. - pre
Task SoftwareUpdate Configuration Pre Task  - A 
pre_taskblocks as defined below. - schedule
Software
Update Configuration Schedule  - A 
scheduleblocks as defined below. - target
Software
Update Configuration Target  - A 
targetblocks as defined below. - virtual
Machine List<String>Ids  - Specifies a list of Azure Resource IDs of azure virtual machines.
 - windows
Software
Update Configuration Windows  A
windowsblock as defined below.NOTE: One of
linuxorwindowsmust be specified.
- automation
Account stringId  - The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
 - duration string
 - Maximum time allowed for the software update configuration run. using format 
PT[n]H[n]M[n]Sas per ISO8601. Defaults toPT2H. - error
Code string - The Error code when failed.
 - error
Message string - The Error message indicating why the operation failed.
 - linux
Software
Update Configuration Linux  - A 
linuxblock as defined below. - name string
 - The name which should be used for this Automation. Changing this forces a new Automation to be created.
 - non
Azure string[]Computer Names  - Specifies a list of names of non-Azure machines for the software update configuration.
 - post
Task SoftwareUpdate Configuration Post Task  - A 
post_taskblocks as defined below. - pre
Task SoftwareUpdate Configuration Pre Task  - A 
pre_taskblocks as defined below. - schedule
Software
Update Configuration Schedule  - A 
scheduleblocks as defined below. - target
Software
Update Configuration Target  - A 
targetblocks as defined below. - virtual
Machine string[]Ids  - Specifies a list of Azure Resource IDs of azure virtual machines.
 - windows
Software
Update Configuration Windows  A
windowsblock as defined below.NOTE: One of
linuxorwindowsmust be specified.
- automation_
account_ strid  - The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
 - duration str
 - Maximum time allowed for the software update configuration run. using format 
PT[n]H[n]M[n]Sas per ISO8601. Defaults toPT2H. - error_
code str - The Error code when failed.
 - error_
message str - The Error message indicating why the operation failed.
 - linux
Software
Update Configuration Linux Args  - A 
linuxblock as defined below. - name str
 - The name which should be used for this Automation. Changing this forces a new Automation to be created.
 - non_
azure_ Sequence[str]computer_ names  - Specifies a list of names of non-Azure machines for the software update configuration.
 - post_
task SoftwareUpdate Configuration Post Task Args  - A 
post_taskblocks as defined below. - pre_
task SoftwareUpdate Configuration Pre Task Args  - A 
pre_taskblocks as defined below. - schedule
Software
Update Configuration Schedule Args  - A 
scheduleblocks as defined below. - target
Software
Update Configuration Target Args  - A 
targetblocks as defined below. - virtual_
machine_ Sequence[str]ids  - Specifies a list of Azure Resource IDs of azure virtual machines.
 - windows
Software
Update Configuration Windows Args  A
windowsblock as defined below.NOTE: One of
linuxorwindowsmust be specified.
- automation
Account StringId  - The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
 - duration String
 - Maximum time allowed for the software update configuration run. using format 
PT[n]H[n]M[n]Sas per ISO8601. Defaults toPT2H. - error
Code String - The Error code when failed.
 - error
Message String - The Error message indicating why the operation failed.
 - linux Property Map
 - A 
linuxblock as defined below. - name String
 - The name which should be used for this Automation. Changing this forces a new Automation to be created.
 - non
Azure List<String>Computer Names  - Specifies a list of names of non-Azure machines for the software update configuration.
 - post
Task Property Map - A 
post_taskblocks as defined below. - pre
Task Property Map - A 
pre_taskblocks as defined below. - schedule Property Map
 - A 
scheduleblocks as defined below. - target Property Map
 - A 
targetblocks as defined below. - virtual
Machine List<String>Ids  - Specifies a list of Azure Resource IDs of azure virtual machines.
 - windows Property Map
 A
windowsblock as defined below.NOTE: One of
linuxorwindowsmust be specified.
Supporting Types
SoftwareUpdateConfigurationLinux, SoftwareUpdateConfigurationLinuxArgs        
- Classifications
Includeds List<string> - Specifies the list of update classifications included in the Software Update Configuration. Possible values are 
Unclassified,Critical,SecurityandOther. - Excluded
Packages List<string> - Specifies a list of packages to excluded from the Software Update Configuration.
 - Included
Packages List<string> - Specifies a list of packages to included from the Software Update Configuration.
 - Reboot string
 - Specifies the reboot settings after software update, possible values are 
IfRequired,Never,RebootOnlyandAlways. Defaults toIfRequired. 
- Classifications
Includeds []string - Specifies the list of update classifications included in the Software Update Configuration. Possible values are 
Unclassified,Critical,SecurityandOther. - Excluded
Packages []string - Specifies a list of packages to excluded from the Software Update Configuration.
 - Included
Packages []string - Specifies a list of packages to included from the Software Update Configuration.
 - Reboot string
 - Specifies the reboot settings after software update, possible values are 
IfRequired,Never,RebootOnlyandAlways. Defaults toIfRequired. 
- classifications
Includeds List<String> - Specifies the list of update classifications included in the Software Update Configuration. Possible values are 
Unclassified,Critical,SecurityandOther. - excluded
Packages List<String> - Specifies a list of packages to excluded from the Software Update Configuration.
 - included
Packages List<String> - Specifies a list of packages to included from the Software Update Configuration.
 - reboot String
 - Specifies the reboot settings after software update, possible values are 
IfRequired,Never,RebootOnlyandAlways. Defaults toIfRequired. 
- classifications
Includeds string[] - Specifies the list of update classifications included in the Software Update Configuration. Possible values are 
Unclassified,Critical,SecurityandOther. - excluded
Packages string[] - Specifies a list of packages to excluded from the Software Update Configuration.
 - included
Packages string[] - Specifies a list of packages to included from the Software Update Configuration.
 - reboot string
 - Specifies the reboot settings after software update, possible values are 
IfRequired,Never,RebootOnlyandAlways. Defaults toIfRequired. 
- classifications_
includeds Sequence[str] - Specifies the list of update classifications included in the Software Update Configuration. Possible values are 
Unclassified,Critical,SecurityandOther. - excluded_
packages Sequence[str] - Specifies a list of packages to excluded from the Software Update Configuration.
 - included_
packages Sequence[str] - Specifies a list of packages to included from the Software Update Configuration.
 - reboot str
 - Specifies the reboot settings after software update, possible values are 
IfRequired,Never,RebootOnlyandAlways. Defaults toIfRequired. 
- classifications
Includeds List<String> - Specifies the list of update classifications included in the Software Update Configuration. Possible values are 
Unclassified,Critical,SecurityandOther. - excluded
Packages List<String> - Specifies a list of packages to excluded from the Software Update Configuration.
 - included
Packages List<String> - Specifies a list of packages to included from the Software Update Configuration.
 - reboot String
 - Specifies the reboot settings after software update, possible values are 
IfRequired,Never,RebootOnlyandAlways. Defaults toIfRequired. 
SoftwareUpdateConfigurationPostTask, SoftwareUpdateConfigurationPostTaskArgs          
- Parameters Dictionary<string, string>
 - Specifies a map of parameters for the task.
 - Source string
 - The name of the runbook for the post task.
 
- Parameters map[string]string
 - Specifies a map of parameters for the task.
 - Source string
 - The name of the runbook for the post task.
 
- parameters Map<String,String>
 - Specifies a map of parameters for the task.
 - source String
 - The name of the runbook for the post task.
 
- parameters {[key: string]: string}
 - Specifies a map of parameters for the task.
 - source string
 - The name of the runbook for the post task.
 
- parameters Mapping[str, str]
 - Specifies a map of parameters for the task.
 - source str
 - The name of the runbook for the post task.
 
- parameters Map<String>
 - Specifies a map of parameters for the task.
 - source String
 - The name of the runbook for the post task.
 
SoftwareUpdateConfigurationPreTask, SoftwareUpdateConfigurationPreTaskArgs          
- Parameters Dictionary<string, string>
 - Specifies a map of parameters for the task.
 - Source string
 - The name of the runbook for the pre task.
 
- Parameters map[string]string
 - Specifies a map of parameters for the task.
 - Source string
 - The name of the runbook for the pre task.
 
- parameters Map<String,String>
 - Specifies a map of parameters for the task.
 - source String
 - The name of the runbook for the pre task.
 
- parameters {[key: string]: string}
 - Specifies a map of parameters for the task.
 - source string
 - The name of the runbook for the pre task.
 
- parameters Mapping[str, str]
 - Specifies a map of parameters for the task.
 - source str
 - The name of the runbook for the pre task.
 
- parameters Map<String>
 - Specifies a map of parameters for the task.
 - source String
 - The name of the runbook for the pre task.
 
SoftwareUpdateConfigurationSchedule, SoftwareUpdateConfigurationScheduleArgs        
- Frequency string
 - The frequency of the schedule. - can be either 
OneTime,Day,Hour,Week, orMonth. - Advanced
Month List<int>Days  - List of days of the month that the job should execute on. Must be between 
1and31.-1for last day of the month. Only valid when frequency isMonth. - Advanced
Week List<string>Days  - List of days of the week that the job should execute on. Only valid when frequency is 
Week. Possible values includeMonday,Tuesday,Wednesday,Thursday,Friday,Saturday, andSunday. - Creation
Time string - Description string
 - A description for this Schedule.
 - Expiry
Time string - The end time of the schedule.
 - Expiry
Time doubleOffset Minutes  - Interval int
 - The number of 
frequencys between runs. Only valid when frequency isDay,Hour,Week, orMonth. - Is
Enabled bool - Whether the schedule is enabled. Defaults to 
true. - Last
Modified stringTime  - Monthly
Occurrence SoftwareUpdate Configuration Schedule Monthly Occurrence  - List of 
monthly_occurrenceblocks as defined below to specifies occurrences of days within a month. Only valid when frequency isMonth. Themonthly_occurrenceblock supports fields as defined below. - Next
Run string - Next
Run doubleOffset Minutes  - Start
Time string - Start time of the schedule. Must be at least five minutes in the future. Defaults to seven minutes in the future from the time the resource is created.
 - Start
Time doubleOffset Minutes  - Time
Zone string - The timezone of the start time. Defaults to 
Etc/UTC. For possible values see: https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows 
- Frequency string
 - The frequency of the schedule. - can be either 
OneTime,Day,Hour,Week, orMonth. - Advanced
Month []intDays  - List of days of the month that the job should execute on. Must be between 
1and31.-1for last day of the month. Only valid when frequency isMonth. - Advanced
Week []stringDays  - List of days of the week that the job should execute on. Only valid when frequency is 
Week. Possible values includeMonday,Tuesday,Wednesday,Thursday,Friday,Saturday, andSunday. - Creation
Time string - Description string
 - A description for this Schedule.
 - Expiry
Time string - The end time of the schedule.
 - Expiry
Time float64Offset Minutes  - Interval int
 - The number of 
frequencys between runs. Only valid when frequency isDay,Hour,Week, orMonth. - Is
Enabled bool - Whether the schedule is enabled. Defaults to 
true. - Last
Modified stringTime  - Monthly
Occurrence SoftwareUpdate Configuration Schedule Monthly Occurrence  - List of 
monthly_occurrenceblocks as defined below to specifies occurrences of days within a month. Only valid when frequency isMonth. Themonthly_occurrenceblock supports fields as defined below. - Next
Run string - Next
Run float64Offset Minutes  - Start
Time string - Start time of the schedule. Must be at least five minutes in the future. Defaults to seven minutes in the future from the time the resource is created.
 - Start
Time float64Offset Minutes  - Time
Zone string - The timezone of the start time. Defaults to 
Etc/UTC. For possible values see: https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows 
- frequency String
 - The frequency of the schedule. - can be either 
OneTime,Day,Hour,Week, orMonth. - advanced
Month List<Integer>Days  - List of days of the month that the job should execute on. Must be between 
1and31.-1for last day of the month. Only valid when frequency isMonth. - advanced
Week List<String>Days  - List of days of the week that the job should execute on. Only valid when frequency is 
Week. Possible values includeMonday,Tuesday,Wednesday,Thursday,Friday,Saturday, andSunday. - creation
Time String - description String
 - A description for this Schedule.
 - expiry
Time String - The end time of the schedule.
 - expiry
Time DoubleOffset Minutes  - interval Integer
 - The number of 
frequencys between runs. Only valid when frequency isDay,Hour,Week, orMonth. - is
Enabled Boolean - Whether the schedule is enabled. Defaults to 
true. - last
Modified StringTime  - monthly
Occurrence SoftwareUpdate Configuration Schedule Monthly Occurrence  - List of 
monthly_occurrenceblocks as defined below to specifies occurrences of days within a month. Only valid when frequency isMonth. Themonthly_occurrenceblock supports fields as defined below. - next
Run String - next
Run DoubleOffset Minutes  - start
Time String - Start time of the schedule. Must be at least five minutes in the future. Defaults to seven minutes in the future from the time the resource is created.
 - start
Time DoubleOffset Minutes  - time
Zone String - The timezone of the start time. Defaults to 
Etc/UTC. For possible values see: https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows 
- frequency string
 - The frequency of the schedule. - can be either 
OneTime,Day,Hour,Week, orMonth. - advanced
Month number[]Days  - List of days of the month that the job should execute on. Must be between 
1and31.-1for last day of the month. Only valid when frequency isMonth. - advanced
Week string[]Days  - List of days of the week that the job should execute on. Only valid when frequency is 
Week. Possible values includeMonday,Tuesday,Wednesday,Thursday,Friday,Saturday, andSunday. - creation
Time string - description string
 - A description for this Schedule.
 - expiry
Time string - The end time of the schedule.
 - expiry
Time numberOffset Minutes  - interval number
 - The number of 
frequencys between runs. Only valid when frequency isDay,Hour,Week, orMonth. - is
Enabled boolean - Whether the schedule is enabled. Defaults to 
true. - last
Modified stringTime  - monthly
Occurrence SoftwareUpdate Configuration Schedule Monthly Occurrence  - List of 
monthly_occurrenceblocks as defined below to specifies occurrences of days within a month. Only valid when frequency isMonth. Themonthly_occurrenceblock supports fields as defined below. - next
Run string - next
Run numberOffset Minutes  - start
Time string - Start time of the schedule. Must be at least five minutes in the future. Defaults to seven minutes in the future from the time the resource is created.
 - start
Time numberOffset Minutes  - time
Zone string - The timezone of the start time. Defaults to 
Etc/UTC. For possible values see: https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows 
- frequency str
 - The frequency of the schedule. - can be either 
OneTime,Day,Hour,Week, orMonth. - advanced_
month_ Sequence[int]days  - List of days of the month that the job should execute on. Must be between 
1and31.-1for last day of the month. Only valid when frequency isMonth. - advanced_
week_ Sequence[str]days  - List of days of the week that the job should execute on. Only valid when frequency is 
Week. Possible values includeMonday,Tuesday,Wednesday,Thursday,Friday,Saturday, andSunday. - creation_
time str - description str
 - A description for this Schedule.
 - expiry_
time str - The end time of the schedule.
 - expiry_
time_ floatoffset_ minutes  - interval int
 - The number of 
frequencys between runs. Only valid when frequency isDay,Hour,Week, orMonth. - is_
enabled bool - Whether the schedule is enabled. Defaults to 
true. - last_
modified_ strtime  - monthly_
occurrence SoftwareUpdate Configuration Schedule Monthly Occurrence  - List of 
monthly_occurrenceblocks as defined below to specifies occurrences of days within a month. Only valid when frequency isMonth. Themonthly_occurrenceblock supports fields as defined below. - next_
run str - next_
run_ floatoffset_ minutes  - start_
time str - Start time of the schedule. Must be at least five minutes in the future. Defaults to seven minutes in the future from the time the resource is created.
 - start_
time_ floatoffset_ minutes  - time_
zone str - The timezone of the start time. Defaults to 
Etc/UTC. For possible values see: https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows 
- frequency String
 - The frequency of the schedule. - can be either 
OneTime,Day,Hour,Week, orMonth. - advanced
Month List<Number>Days  - List of days of the month that the job should execute on. Must be between 
1and31.-1for last day of the month. Only valid when frequency isMonth. - advanced
Week List<String>Days  - List of days of the week that the job should execute on. Only valid when frequency is 
Week. Possible values includeMonday,Tuesday,Wednesday,Thursday,Friday,Saturday, andSunday. - creation
Time String - description String
 - A description for this Schedule.
 - expiry
Time String - The end time of the schedule.
 - expiry
Time NumberOffset Minutes  - interval Number
 - The number of 
frequencys between runs. Only valid when frequency isDay,Hour,Week, orMonth. - is
Enabled Boolean - Whether the schedule is enabled. Defaults to 
true. - last
Modified StringTime  - monthly
Occurrence Property Map - List of 
monthly_occurrenceblocks as defined below to specifies occurrences of days within a month. Only valid when frequency isMonth. Themonthly_occurrenceblock supports fields as defined below. - next
Run String - next
Run NumberOffset Minutes  - start
Time String - Start time of the schedule. Must be at least five minutes in the future. Defaults to seven minutes in the future from the time the resource is created.
 - start
Time NumberOffset Minutes  - time
Zone String - The timezone of the start time. Defaults to 
Etc/UTC. For possible values see: https://docs.microsoft.com/en-us/rest/api/maps/timezone/gettimezoneenumwindows 
SoftwareUpdateConfigurationScheduleMonthlyOccurrence, SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs            
- Day string
 - Day of the occurrence. Must be one of 
Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday. - Occurrence int
 - Occurrence of the week within the month. Must be between 
1and4.-1for last week within the month. 
- Day string
 - Day of the occurrence. Must be one of 
Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday. - Occurrence int
 - Occurrence of the week within the month. Must be between 
1and4.-1for last week within the month. 
- day String
 - Day of the occurrence. Must be one of 
Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday. - occurrence Integer
 - Occurrence of the week within the month. Must be between 
1and4.-1for last week within the month. 
- day string
 - Day of the occurrence. Must be one of 
Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday. - occurrence number
 - Occurrence of the week within the month. Must be between 
1and4.-1for last week within the month. 
- day str
 - Day of the occurrence. Must be one of 
Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday. - occurrence int
 - Occurrence of the week within the month. Must be between 
1and4.-1for last week within the month. 
- day String
 - Day of the occurrence. Must be one of 
Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday. - occurrence Number
 - Occurrence of the week within the month. Must be between 
1and4.-1for last week within the month. 
SoftwareUpdateConfigurationTarget, SoftwareUpdateConfigurationTargetArgs        
- Azure
Queries List<SoftwareUpdate Configuration Target Azure Query>  - One or more 
azure_queryblocks as defined above. - Non
Azure List<SoftwareQueries Update Configuration Target Non Azure Query>  - One or more 
non_azure_queryblocks as defined above. 
- Azure
Queries []SoftwareUpdate Configuration Target Azure Query  - One or more 
azure_queryblocks as defined above. - Non
Azure []SoftwareQueries Update Configuration Target Non Azure Query  - One or more 
non_azure_queryblocks as defined above. 
- azure
Queries List<SoftwareUpdate Configuration Target Azure Query>  - One or more 
azure_queryblocks as defined above. - non
Azure List<SoftwareQueries Update Configuration Target Non Azure Query>  - One or more 
non_azure_queryblocks as defined above. 
- azure
Queries SoftwareUpdate Configuration Target Azure Query[]  - One or more 
azure_queryblocks as defined above. - non
Azure SoftwareQueries Update Configuration Target Non Azure Query[]  - One or more 
non_azure_queryblocks as defined above. 
- azure_
queries Sequence[SoftwareUpdate Configuration Target Azure Query]  - One or more 
azure_queryblocks as defined above. - non_
azure_ Sequence[Softwarequeries Update Configuration Target Non Azure Query]  - One or more 
non_azure_queryblocks as defined above. 
- azure
Queries List<Property Map> - One or more 
azure_queryblocks as defined above. - non
Azure List<Property Map>Queries  - One or more 
non_azure_queryblocks as defined above. 
SoftwareUpdateConfigurationTargetAzureQuery, SoftwareUpdateConfigurationTargetAzureQueryArgs            
- Locations List<string>
 - Specifies a list of locations to scope the query to.
 - Scopes List<string>
 - Specifies a list of Subscription or Resource Group ARM Ids to query.
 - Tag
Filter string - Specifies how the specified tags to filter VMs. Possible values are 
AnyandAll. - 
List<Software
Update Configuration Target Azure Query Tag>  - A mapping of tags used for query filter. One or more 
tagsblock as defined below. 
- Locations []string
 - Specifies a list of locations to scope the query to.
 - Scopes []string
 - Specifies a list of Subscription or Resource Group ARM Ids to query.
 - Tag
Filter string - Specifies how the specified tags to filter VMs. Possible values are 
AnyandAll. - 
[]Software
Update Configuration Target Azure Query Tag  - A mapping of tags used for query filter. One or more 
tagsblock as defined below. 
- locations List<String>
 - Specifies a list of locations to scope the query to.
 - scopes List<String>
 - Specifies a list of Subscription or Resource Group ARM Ids to query.
 - tag
Filter String - Specifies how the specified tags to filter VMs. Possible values are 
AnyandAll. - 
List<Software
Update Configuration Target Azure Query Tag>  - A mapping of tags used for query filter. One or more 
tagsblock as defined below. 
- locations string[]
 - Specifies a list of locations to scope the query to.
 - scopes string[]
 - Specifies a list of Subscription or Resource Group ARM Ids to query.
 - tag
Filter string - Specifies how the specified tags to filter VMs. Possible values are 
AnyandAll. - 
Software
Update Configuration Target Azure Query Tag[]  - A mapping of tags used for query filter. One or more 
tagsblock as defined below. 
- locations Sequence[str]
 - Specifies a list of locations to scope the query to.
 - scopes Sequence[str]
 - Specifies a list of Subscription or Resource Group ARM Ids to query.
 - tag_
filter str - Specifies how the specified tags to filter VMs. Possible values are 
AnyandAll. - 
Sequence[Software
Update Configuration Target Azure Query Tag]  - A mapping of tags used for query filter. One or more 
tagsblock as defined below. 
- locations List<String>
 - Specifies a list of locations to scope the query to.
 - scopes List<String>
 - Specifies a list of Subscription or Resource Group ARM Ids to query.
 - tag
Filter String - Specifies how the specified tags to filter VMs. Possible values are 
AnyandAll. - List<Property Map>
 - A mapping of tags used for query filter. One or more 
tagsblock as defined below. 
SoftwareUpdateConfigurationTargetAzureQueryTag, SoftwareUpdateConfigurationTargetAzureQueryTagArgs              
SoftwareUpdateConfigurationTargetNonAzureQuery, SoftwareUpdateConfigurationTargetNonAzureQueryArgs              
- Function
Alias string - Specifies the Log Analytics save search name.
 - Workspace
Id string - The workspace id for Log Analytics in which the saved search in.
 
- Function
Alias string - Specifies the Log Analytics save search name.
 - Workspace
Id string - The workspace id for Log Analytics in which the saved search in.
 
- function
Alias String - Specifies the Log Analytics save search name.
 - workspace
Id String - The workspace id for Log Analytics in which the saved search in.
 
- function
Alias string - Specifies the Log Analytics save search name.
 - workspace
Id string - The workspace id for Log Analytics in which the saved search in.
 
- function_
alias str - Specifies the Log Analytics save search name.
 - workspace_
id str - The workspace id for Log Analytics in which the saved search in.
 
- function
Alias String - Specifies the Log Analytics save search name.
 - workspace
Id String - The workspace id for Log Analytics in which the saved search in.
 
SoftwareUpdateConfigurationWindows, SoftwareUpdateConfigurationWindowsArgs        
- Classifications
Includeds List<string> - Specifies the list of update classification. Possible values are 
Unclassified,Critical,Security,UpdateRollup,FeaturePack,ServicePack,Definition,ToolsandUpdates. - Excluded
Knowledge List<string>Base Numbers  - Specifies a list of knowledge base numbers excluded.
 - Included
Knowledge List<string>Base Numbers  - Specifies a list of knowledge base numbers included.
 - Reboot string
 - Specifies the reboot settings after software update, possible values are 
IfRequired,Never,RebootOnlyandAlways. Defaults toIfRequired. 
- Classifications
Includeds []string - Specifies the list of update classification. Possible values are 
Unclassified,Critical,Security,UpdateRollup,FeaturePack,ServicePack,Definition,ToolsandUpdates. - Excluded
Knowledge []stringBase Numbers  - Specifies a list of knowledge base numbers excluded.
 - Included
Knowledge []stringBase Numbers  - Specifies a list of knowledge base numbers included.
 - Reboot string
 - Specifies the reboot settings after software update, possible values are 
IfRequired,Never,RebootOnlyandAlways. Defaults toIfRequired. 
- classifications
Includeds List<String> - Specifies the list of update classification. Possible values are 
Unclassified,Critical,Security,UpdateRollup,FeaturePack,ServicePack,Definition,ToolsandUpdates. - excluded
Knowledge List<String>Base Numbers  - Specifies a list of knowledge base numbers excluded.
 - included
Knowledge List<String>Base Numbers  - Specifies a list of knowledge base numbers included.
 - reboot String
 - Specifies the reboot settings after software update, possible values are 
IfRequired,Never,RebootOnlyandAlways. Defaults toIfRequired. 
- classifications
Includeds string[] - Specifies the list of update classification. Possible values are 
Unclassified,Critical,Security,UpdateRollup,FeaturePack,ServicePack,Definition,ToolsandUpdates. - excluded
Knowledge string[]Base Numbers  - Specifies a list of knowledge base numbers excluded.
 - included
Knowledge string[]Base Numbers  - Specifies a list of knowledge base numbers included.
 - reboot string
 - Specifies the reboot settings after software update, possible values are 
IfRequired,Never,RebootOnlyandAlways. Defaults toIfRequired. 
- classifications_
includeds Sequence[str] - Specifies the list of update classification. Possible values are 
Unclassified,Critical,Security,UpdateRollup,FeaturePack,ServicePack,Definition,ToolsandUpdates. - excluded_
knowledge_ Sequence[str]base_ numbers  - Specifies a list of knowledge base numbers excluded.
 - included_
knowledge_ Sequence[str]base_ numbers  - Specifies a list of knowledge base numbers included.
 - reboot str
 - Specifies the reboot settings after software update, possible values are 
IfRequired,Never,RebootOnlyandAlways. Defaults toIfRequired. 
- classifications
Includeds List<String> - Specifies the list of update classification. Possible values are 
Unclassified,Critical,Security,UpdateRollup,FeaturePack,ServicePack,Definition,ToolsandUpdates. - excluded
Knowledge List<String>Base Numbers  - Specifies a list of knowledge base numbers excluded.
 - included
Knowledge List<String>Base Numbers  - Specifies a list of knowledge base numbers included.
 - reboot String
 - Specifies the reboot settings after software update, possible values are 
IfRequired,Never,RebootOnlyandAlways. Defaults toIfRequired. 
Import
Automations Software Update Configuration can be imported using the resource id, e.g.
$ pulumi import azure:automation/softwareUpdateConfiguration:SoftwareUpdateConfiguration example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/softwareUpdateConfigurations/suc1
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 
azurermTerraform Provider.