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,
        LastModifiedTime = "string",
        Description = "string",
        ExpiryTime = "string",
        ExpiryTimeOffsetMinutes = 0,
        AdvancedWeekDays = new[]
        {
            "string",
        },
        CreationTime = "string",
        AdvancedMonthDays = new[]
        {
            0,
        },
        Interval = 0,
        MonthlyOccurrence = new Azure.Automation.Inputs.SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs
        {
            Day = "string",
            Occurrence = 0,
        },
        NextRun = "string",
        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),
		LastModifiedTime:        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"),
		AdvancedMonthDays: pulumi.IntArray{
			pulumi.Int(0),
		},
		Interval: pulumi.Int(0),
		MonthlyOccurrence: &automation.SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs{
			Day:        pulumi.String("string"),
			Occurrence: pulumi.Int(0),
		},
		NextRun:                pulumi.String("string"),
		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)
        .lastModifiedTime("string")
        .description("string")
        .expiryTime("string")
        .expiryTimeOffsetMinutes(0)
        .advancedWeekDays("string")
        .creationTime("string")
        .advancedMonthDays(0)
        .interval(0)
        .monthlyOccurrence(SoftwareUpdateConfigurationScheduleMonthlyOccurrenceArgs.builder()
            .day("string")
            .occurrence(0)
            .build())
        .nextRun("string")
        .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,
        "last_modified_time": "string",
        "description": "string",
        "expiry_time": "string",
        "expiry_time_offset_minutes": 0,
        "advanced_week_days": ["string"],
        "creation_time": "string",
        "advanced_month_days": [0],
        "interval": 0,
        "monthly_occurrence": {
            "day": "string",
            "occurrence": 0,
        },
        "next_run": "string",
        "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,
        lastModifiedTime: "string",
        description: "string",
        expiryTime: "string",
        expiryTimeOffsetMinutes: 0,
        advancedWeekDays: ["string"],
        creationTime: "string",
        advancedMonthDays: [0],
        interval: 0,
        monthlyOccurrence: {
            day: "string",
            occurrence: 0,
        },
        nextRun: "string",
        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:
- AutomationAccount stringId 
- The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
- Schedule
SoftwareUpdate 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
SoftwareUpdate 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.
- NonAzure List<string>Computer Names 
- Specifies a list of names of non-Azure machines for the software update configuration.
- PostTask SoftwareUpdate Configuration Post Task 
- A post_taskblocks as defined below.
- PreTask SoftwareUpdate Configuration Pre Task 
- A pre_taskblocks as defined below.
- Target
SoftwareUpdate Configuration Target 
- A targetblocks as defined below.
- VirtualMachine List<string>Ids 
- Specifies a list of Azure Resource IDs of azure virtual machines.
- Windows
SoftwareUpdate Configuration Windows 
- A - windowsblock as defined below.- NOTE: One of - linuxor- windowsmust be specified.
- AutomationAccount stringId 
- The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
- Schedule
SoftwareUpdate 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
SoftwareUpdate 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.
- NonAzure []stringComputer Names 
- Specifies a list of names of non-Azure machines for the software update configuration.
- PostTask SoftwareUpdate Configuration Post Task Args 
- A post_taskblocks as defined below.
- PreTask SoftwareUpdate Configuration Pre Task Args 
- A pre_taskblocks as defined below.
- Target
SoftwareUpdate Configuration Target Args 
- A targetblocks as defined below.
- VirtualMachine []stringIds 
- Specifies a list of Azure Resource IDs of azure virtual machines.
- Windows
SoftwareUpdate Configuration Windows Args 
- A - windowsblock as defined below.- NOTE: One of - linuxor- windowsmust be specified.
- automationAccount StringId 
- The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
- schedule
SoftwareUpdate 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
SoftwareUpdate 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.
- nonAzure List<String>Computer Names 
- Specifies a list of names of non-Azure machines for the software update configuration.
- postTask SoftwareUpdate Configuration Post Task 
- A post_taskblocks as defined below.
- preTask SoftwareUpdate Configuration Pre Task 
- A pre_taskblocks as defined below.
- target
SoftwareUpdate Configuration Target 
- A targetblocks as defined below.
- virtualMachine List<String>Ids 
- Specifies a list of Azure Resource IDs of azure virtual machines.
- windows
SoftwareUpdate Configuration Windows 
- A - windowsblock as defined below.- NOTE: One of - linuxor- windowsmust be specified.
- automationAccount stringId 
- The ID of Automation Account to manage this Source Control. Changing this forces a new Automation Source Control to be created.
- schedule
SoftwareUpdate 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
SoftwareUpdate 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.
- nonAzure string[]Computer Names 
- Specifies a list of names of non-Azure machines for the software update configuration.
- postTask SoftwareUpdate Configuration Post Task 
- A post_taskblocks as defined below.
- preTask SoftwareUpdate Configuration Pre Task 
- A pre_taskblocks as defined below.
- target
SoftwareUpdate Configuration Target 
- A targetblocks as defined below.
- virtualMachine string[]Ids 
- Specifies a list of Azure Resource IDs of azure virtual machines.
- windows
SoftwareUpdate Configuration Windows 
- A - windowsblock as defined below.- NOTE: One of - linuxor- windowsmust 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
SoftwareUpdate 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
SoftwareUpdate 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
SoftwareUpdate 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
SoftwareUpdate Configuration Windows Args 
- A - windowsblock as defined below.- NOTE: One of - linuxor- windowsmust be specified.
- automationAccount 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.
- nonAzure List<String>Computer Names 
- Specifies a list of names of non-Azure machines for the software update configuration.
- postTask Property Map
- A post_taskblocks as defined below.
- preTask Property Map
- A pre_taskblocks as defined below.
- target Property Map
- A targetblocks as defined below.
- virtualMachine 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 - linuxor- windowsmust be specified.
Outputs
All input properties are implicitly available as output properties. Additionally, the SoftwareUpdateConfiguration resource produces the following output properties:
- ErrorCode string
- The Error code when failed.
- ErrorMessage string
- The Error message indicating why the operation failed.
- Id string
- The provider-assigned unique ID for this managed resource.
- ErrorCode string
- The Error code when failed.
- ErrorMessage string
- The Error message indicating why the operation failed.
- Id string
- The provider-assigned unique ID for this managed resource.
- errorCode String
- The Error code when failed.
- errorMessage String
- The Error message indicating why the operation failed.
- id String
- The provider-assigned unique ID for this managed resource.
- errorCode string
- The Error code when failed.
- errorMessage 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.
- errorCode String
- The Error code when failed.
- errorMessage 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.
- AutomationAccount 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.
- ErrorCode string
- The Error code when failed.
- ErrorMessage string
- The Error message indicating why the operation failed.
- Linux
SoftwareUpdate 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.
- NonAzure List<string>Computer Names 
- Specifies a list of names of non-Azure machines for the software update configuration.
- PostTask SoftwareUpdate Configuration Post Task 
- A post_taskblocks as defined below.
- PreTask SoftwareUpdate Configuration Pre Task 
- A pre_taskblocks as defined below.
- Schedule
SoftwareUpdate Configuration Schedule 
- A scheduleblocks as defined below.
- Target
SoftwareUpdate Configuration Target 
- A targetblocks as defined below.
- VirtualMachine List<string>Ids 
- Specifies a list of Azure Resource IDs of azure virtual machines.
- Windows
SoftwareUpdate Configuration Windows 
- A - windowsblock as defined below.- NOTE: One of - linuxor- windowsmust be specified.
- AutomationAccount 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.
- ErrorCode string
- The Error code when failed.
- ErrorMessage string
- The Error message indicating why the operation failed.
- Linux
SoftwareUpdate 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.
- NonAzure []stringComputer Names 
- Specifies a list of names of non-Azure machines for the software update configuration.
- PostTask SoftwareUpdate Configuration Post Task Args 
- A post_taskblocks as defined below.
- PreTask SoftwareUpdate Configuration Pre Task Args 
- A pre_taskblocks as defined below.
- Schedule
SoftwareUpdate Configuration Schedule Args 
- A scheduleblocks as defined below.
- Target
SoftwareUpdate Configuration Target Args 
- A targetblocks as defined below.
- VirtualMachine []stringIds 
- Specifies a list of Azure Resource IDs of azure virtual machines.
- Windows
SoftwareUpdate Configuration Windows Args 
- A - windowsblock as defined below.- NOTE: One of - linuxor- windowsmust be specified.
- automationAccount 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.
- errorCode String
- The Error code when failed.
- errorMessage String
- The Error message indicating why the operation failed.
- linux
SoftwareUpdate 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.
- nonAzure List<String>Computer Names 
- Specifies a list of names of non-Azure machines for the software update configuration.
- postTask SoftwareUpdate Configuration Post Task 
- A post_taskblocks as defined below.
- preTask SoftwareUpdate Configuration Pre Task 
- A pre_taskblocks as defined below.
- schedule
SoftwareUpdate Configuration Schedule 
- A scheduleblocks as defined below.
- target
SoftwareUpdate Configuration Target 
- A targetblocks as defined below.
- virtualMachine List<String>Ids 
- Specifies a list of Azure Resource IDs of azure virtual machines.
- windows
SoftwareUpdate Configuration Windows 
- A - windowsblock as defined below.- NOTE: One of - linuxor- windowsmust be specified.
- automationAccount 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.
- errorCode string
- The Error code when failed.
- errorMessage string
- The Error message indicating why the operation failed.
- linux
SoftwareUpdate 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.
- nonAzure string[]Computer Names 
- Specifies a list of names of non-Azure machines for the software update configuration.
- postTask SoftwareUpdate Configuration Post Task 
- A post_taskblocks as defined below.
- preTask SoftwareUpdate Configuration Pre Task 
- A pre_taskblocks as defined below.
- schedule
SoftwareUpdate Configuration Schedule 
- A scheduleblocks as defined below.
- target
SoftwareUpdate Configuration Target 
- A targetblocks as defined below.
- virtualMachine string[]Ids 
- Specifies a list of Azure Resource IDs of azure virtual machines.
- windows
SoftwareUpdate Configuration Windows 
- A - windowsblock as defined below.- NOTE: One of - linuxor- windowsmust 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
SoftwareUpdate 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
SoftwareUpdate Configuration Schedule Args 
- A scheduleblocks as defined below.
- target
SoftwareUpdate 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
SoftwareUpdate Configuration Windows Args 
- A - windowsblock as defined below.- NOTE: One of - linuxor- windowsmust be specified.
- automationAccount 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.
- errorCode String
- The Error code when failed.
- errorMessage 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.
- nonAzure List<String>Computer Names 
- Specifies a list of names of non-Azure machines for the software update configuration.
- postTask Property Map
- A post_taskblocks as defined below.
- preTask Property Map
- A pre_taskblocks as defined below.
- schedule Property Map
- A scheduleblocks as defined below.
- target Property Map
- A targetblocks as defined below.
- virtualMachine 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 - linuxor- windowsmust be specified.
Supporting Types
SoftwareUpdateConfigurationLinux, SoftwareUpdateConfigurationLinuxArgs        
- ClassificationsIncludeds List<string>
- Specifies the list of update classifications included in the Software Update Configuration. Possible values are - Unclassified,- Critical,- Securityand- Other.- NOTE: The - classifications_includedproperty will become- Requiredin version 4.0 of the Provider.
- ExcludedPackages List<string>
- Specifies a list of packages to excluded from the Software Update Configuration.
- IncludedPackages 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.
- ClassificationsIncludeds []string
- Specifies the list of update classifications included in the Software Update Configuration. Possible values are - Unclassified,- Critical,- Securityand- Other.- NOTE: The - classifications_includedproperty will become- Requiredin version 4.0 of the Provider.
- ExcludedPackages []string
- Specifies a list of packages to excluded from the Software Update Configuration.
- IncludedPackages []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.
- classificationsIncludeds List<String>
- Specifies the list of update classifications included in the Software Update Configuration. Possible values are - Unclassified,- Critical,- Securityand- Other.- NOTE: The - classifications_includedproperty will become- Requiredin version 4.0 of the Provider.
- excludedPackages List<String>
- Specifies a list of packages to excluded from the Software Update Configuration.
- includedPackages 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.
- classificationsIncludeds string[]
- Specifies the list of update classifications included in the Software Update Configuration. Possible values are - Unclassified,- Critical,- Securityand- Other.- NOTE: The - classifications_includedproperty will become- Requiredin version 4.0 of the Provider.
- excludedPackages string[]
- Specifies a list of packages to excluded from the Software Update Configuration.
- includedPackages 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,- Securityand- Other.- NOTE: The - classifications_includedproperty will become- Requiredin version 4.0 of the Provider.
- 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.
- classificationsIncludeds List<String>
- Specifies the list of update classifications included in the Software Update Configuration. Possible values are - Unclassified,- Critical,- Securityand- Other.- NOTE: The - classifications_includedproperty will become- Requiredin version 4.0 of the Provider.
- excludedPackages List<String>
- Specifies a list of packages to excluded from the Software Update Configuration.
- includedPackages 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.
- AdvancedMonth 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.
- AdvancedWeek 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.
- CreationTime string
- Description string
- A description for this Schedule.
- ExpiryTime string
- The end time of the schedule.
- ExpiryTime doubleOffset Minutes 
- Interval int
- The number of frequencys between runs. Only valid when frequency isDay,Hour,Week, orMonth.
- IsEnabled bool
- Whether the schedule is enabled. Defaults to true.
- LastModified stringTime 
- MonthlyOccurrence 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.
- NextRun string
- NextRun doubleOffset Minutes 
- StartTime 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.
- StartTime doubleOffset Minutes 
- TimeZone 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.
- AdvancedMonth []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.
- AdvancedWeek []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.
- CreationTime string
- Description string
- A description for this Schedule.
- ExpiryTime string
- The end time of the schedule.
- ExpiryTime float64Offset Minutes 
- Interval int
- The number of frequencys between runs. Only valid when frequency isDay,Hour,Week, orMonth.
- IsEnabled bool
- Whether the schedule is enabled. Defaults to true.
- LastModified stringTime 
- MonthlyOccurrence 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.
- NextRun string
- NextRun float64Offset Minutes 
- StartTime 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.
- StartTime float64Offset Minutes 
- TimeZone 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.
- advancedMonth 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.
- advancedWeek 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.
- creationTime String
- description String
- A description for this Schedule.
- expiryTime String
- The end time of the schedule.
- expiryTime DoubleOffset Minutes 
- interval Integer
- The number of frequencys between runs. Only valid when frequency isDay,Hour,Week, orMonth.
- isEnabled Boolean
- Whether the schedule is enabled. Defaults to true.
- lastModified StringTime 
- monthlyOccurrence 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.
- nextRun String
- nextRun DoubleOffset Minutes 
- startTime 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.
- startTime DoubleOffset Minutes 
- timeZone 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.
- advancedMonth 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.
- advancedWeek 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.
- creationTime string
- description string
- A description for this Schedule.
- expiryTime string
- The end time of the schedule.
- expiryTime numberOffset Minutes 
- interval number
- The number of frequencys between runs. Only valid when frequency isDay,Hour,Week, orMonth.
- isEnabled boolean
- Whether the schedule is enabled. Defaults to true.
- lastModified stringTime 
- monthlyOccurrence 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.
- nextRun string
- nextRun numberOffset Minutes 
- startTime 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.
- startTime numberOffset Minutes 
- timeZone 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.
- advancedMonth 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.
- advancedWeek 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.
- creationTime String
- description String
- A description for this Schedule.
- expiryTime String
- The end time of the schedule.
- expiryTime NumberOffset Minutes 
- interval Number
- The number of frequencys between runs. Only valid when frequency isDay,Hour,Week, orMonth.
- isEnabled Boolean
- Whether the schedule is enabled. Defaults to true.
- lastModified StringTime 
- monthlyOccurrence 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.
- nextRun String
- nextRun NumberOffset Minutes 
- startTime 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.
- startTime NumberOffset Minutes 
- timeZone 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        
- AzureQueries List<SoftwareUpdate Configuration Target Azure Query> 
- One or more azure_queryblocks as defined above.
- NonAzure List<SoftwareQueries Update Configuration Target Non Azure Query> 
- One or more non_azure_queryblocks as defined above.
- AzureQueries []SoftwareUpdate Configuration Target Azure Query 
- One or more azure_queryblocks as defined above.
- NonAzure []SoftwareQueries Update Configuration Target Non Azure Query 
- One or more non_azure_queryblocks as defined above.
- azureQueries List<SoftwareUpdate Configuration Target Azure Query> 
- One or more azure_queryblocks as defined above.
- nonAzure List<SoftwareQueries Update Configuration Target Non Azure Query> 
- One or more non_azure_queryblocks as defined above.
- azureQueries SoftwareUpdate Configuration Target Azure Query[] 
- One or more azure_queryblocks as defined above.
- nonAzure 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.
- azureQueries List<Property Map>
- One or more azure_queryblocks as defined above.
- nonAzure 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.
- TagFilter string
- Specifies how the specified tags to filter VMs. Possible values are AnyandAll.
- 
List<SoftwareUpdate 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.
- TagFilter string
- Specifies how the specified tags to filter VMs. Possible values are AnyandAll.
- 
[]SoftwareUpdate 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.
- tagFilter String
- Specifies how the specified tags to filter VMs. Possible values are AnyandAll.
- 
List<SoftwareUpdate 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.
- tagFilter string
- Specifies how the specified tags to filter VMs. Possible values are AnyandAll.
- 
SoftwareUpdate 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[SoftwareUpdate 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.
- tagFilter 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              
- FunctionAlias string
- Specifies the Log Analytics save search name.
- WorkspaceId string
- The workspace id for Log Analytics in which the saved search in.
- FunctionAlias string
- Specifies the Log Analytics save search name.
- WorkspaceId string
- The workspace id for Log Analytics in which the saved search in.
- functionAlias String
- Specifies the Log Analytics save search name.
- workspaceId String
- The workspace id for Log Analytics in which the saved search in.
- functionAlias string
- Specifies the Log Analytics save search name.
- workspaceId 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.
- functionAlias String
- Specifies the Log Analytics save search name.
- workspaceId String
- The workspace id for Log Analytics in which the saved search in.
SoftwareUpdateConfigurationWindows, SoftwareUpdateConfigurationWindowsArgs        
- ClassificationsIncludeds List<string>
- Specifies the list of update classification. Possible values are - Unclassified,- Critical,- Security,- UpdateRollup,- FeaturePack,- ServicePack,- Definition,- Toolsand- Updates.- NOTE: The - classifications_includedproperty will become- Requiredin version 4.0 of the Provider.
- ExcludedKnowledge List<string>Base Numbers 
- Specifies a list of knowledge base numbers excluded.
- IncludedKnowledge 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.
- ClassificationsIncludeds []string
- Specifies the list of update classification. Possible values are - Unclassified,- Critical,- Security,- UpdateRollup,- FeaturePack,- ServicePack,- Definition,- Toolsand- Updates.- NOTE: The - classifications_includedproperty will become- Requiredin version 4.0 of the Provider.
- ExcludedKnowledge []stringBase Numbers 
- Specifies a list of knowledge base numbers excluded.
- IncludedKnowledge []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.
- classificationsIncludeds List<String>
- Specifies the list of update classification. Possible values are - Unclassified,- Critical,- Security,- UpdateRollup,- FeaturePack,- ServicePack,- Definition,- Toolsand- Updates.- NOTE: The - classifications_includedproperty will become- Requiredin version 4.0 of the Provider.
- excludedKnowledge List<String>Base Numbers 
- Specifies a list of knowledge base numbers excluded.
- includedKnowledge 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.
- classificationsIncludeds string[]
- Specifies the list of update classification. Possible values are - Unclassified,- Critical,- Security,- UpdateRollup,- FeaturePack,- ServicePack,- Definition,- Toolsand- Updates.- NOTE: The - classifications_includedproperty will become- Requiredin version 4.0 of the Provider.
- excludedKnowledge string[]Base Numbers 
- Specifies a list of knowledge base numbers excluded.
- includedKnowledge 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,- Toolsand- Updates.- NOTE: The - classifications_includedproperty will become- Requiredin version 4.0 of the Provider.
- 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.
- classificationsIncludeds List<String>
- Specifies the list of update classification. Possible values are - Unclassified,- Critical,- Security,- UpdateRollup,- FeaturePack,- ServicePack,- Definition,- Toolsand- Updates.- NOTE: The - classifications_includedproperty will become- Requiredin version 4.0 of the Provider.
- excludedKnowledge List<String>Base Numbers 
- Specifies a list of knowledge base numbers excluded.
- includedKnowledge 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.