azure-native.maintenance.MaintenanceConfiguration
Explore with Pulumi AI
Maintenance configuration record type Azure REST API version: 2022-11-01-preview. Prior API version in Azure Native 1.x: 2020-04-01.
Other available API versions: 2023-04-01, 2023-09-01-preview, 2023-10-01-preview.
Example Usage
MaintenanceConfigurations_CreateOrUpdateForResource
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var maintenanceConfiguration = new AzureNative.Maintenance.MaintenanceConfiguration("maintenanceConfiguration", new()
{
Duration = "05:00",
ExpirationDateTime = "9999-12-31 00:00",
Location = "westus2",
MaintenanceScope = AzureNative.Maintenance.MaintenanceScope.OSImage,
Namespace = "Microsoft.Maintenance",
RecurEvery = "Day",
ResourceGroupName = "examplerg",
ResourceName = "configuration1",
StartDateTime = "2020-04-30 08:00",
TimeZone = "Pacific Standard Time",
Visibility = AzureNative.Maintenance.Visibility.Custom,
});
});
package main
import (
maintenance "github.com/pulumi/pulumi-azure-native-sdk/maintenance/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := maintenance.NewMaintenanceConfiguration(ctx, "maintenanceConfiguration", &maintenance.MaintenanceConfigurationArgs{
Duration: pulumi.String("05:00"),
ExpirationDateTime: pulumi.String("9999-12-31 00:00"),
Location: pulumi.String("westus2"),
MaintenanceScope: pulumi.String(maintenance.MaintenanceScopeOSImage),
Namespace: pulumi.String("Microsoft.Maintenance"),
RecurEvery: pulumi.String("Day"),
ResourceGroupName: pulumi.String("examplerg"),
ResourceName: pulumi.String("configuration1"),
StartDateTime: pulumi.String("2020-04-30 08:00"),
TimeZone: pulumi.String("Pacific Standard Time"),
Visibility: pulumi.String(maintenance.VisibilityCustom),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.maintenance.MaintenanceConfiguration;
import com.pulumi.azurenative.maintenance.MaintenanceConfigurationArgs;
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 maintenanceConfiguration = new MaintenanceConfiguration("maintenanceConfiguration", MaintenanceConfigurationArgs.builder()
.duration("05:00")
.expirationDateTime("9999-12-31 00:00")
.location("westus2")
.maintenanceScope("OSImage")
.namespace("Microsoft.Maintenance")
.recurEvery("Day")
.resourceGroupName("examplerg")
.resourceName("configuration1")
.startDateTime("2020-04-30 08:00")
.timeZone("Pacific Standard Time")
.visibility("Custom")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
maintenance_configuration = azure_native.maintenance.MaintenanceConfiguration("maintenanceConfiguration",
duration="05:00",
expiration_date_time="9999-12-31 00:00",
location="westus2",
maintenance_scope=azure_native.maintenance.MaintenanceScope.OS_IMAGE,
namespace="Microsoft.Maintenance",
recur_every="Day",
resource_group_name="examplerg",
resource_name_="configuration1",
start_date_time="2020-04-30 08:00",
time_zone="Pacific Standard Time",
visibility=azure_native.maintenance.Visibility.CUSTOM)
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const maintenanceConfiguration = new azure_native.maintenance.MaintenanceConfiguration("maintenanceConfiguration", {
duration: "05:00",
expirationDateTime: "9999-12-31 00:00",
location: "westus2",
maintenanceScope: azure_native.maintenance.MaintenanceScope.OSImage,
namespace: "Microsoft.Maintenance",
recurEvery: "Day",
resourceGroupName: "examplerg",
resourceName: "configuration1",
startDateTime: "2020-04-30 08:00",
timeZone: "Pacific Standard Time",
visibility: azure_native.maintenance.Visibility.Custom,
});
resources:
maintenanceConfiguration:
type: azure-native:maintenance:MaintenanceConfiguration
properties:
duration: 05:00
expirationDateTime: 9999-12-31 00:00
location: westus2
maintenanceScope: OSImage
namespace: Microsoft.Maintenance
recurEvery: Day
resourceGroupName: examplerg
resourceName: configuration1
startDateTime: 2020-04-30 08:00
timeZone: Pacific Standard Time
visibility: Custom
Create MaintenanceConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MaintenanceConfiguration(name: string, args: MaintenanceConfigurationArgs, opts?: CustomResourceOptions);
@overload
def MaintenanceConfiguration(resource_name: str,
args: MaintenanceConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MaintenanceConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
install_patches: Optional[InputPatchConfigurationArgs] = None,
recur_every: Optional[str] = None,
duration: Optional[str] = None,
location: Optional[str] = None,
maintenance_scope: Optional[Union[str, MaintenanceScope]] = None,
namespace: Optional[str] = None,
overrides: Optional[Sequence[MaintenanceOverridePropertiesArgs]] = None,
extension_properties: Optional[Mapping[str, str]] = None,
expiration_date_time: Optional[str] = None,
resource_name_: Optional[str] = None,
start_date_time: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
time_zone: Optional[str] = None,
visibility: Optional[Union[str, Visibility]] = None)
func NewMaintenanceConfiguration(ctx *Context, name string, args MaintenanceConfigurationArgs, opts ...ResourceOption) (*MaintenanceConfiguration, error)
public MaintenanceConfiguration(string name, MaintenanceConfigurationArgs args, CustomResourceOptions? opts = null)
public MaintenanceConfiguration(String name, MaintenanceConfigurationArgs args)
public MaintenanceConfiguration(String name, MaintenanceConfigurationArgs args, CustomResourceOptions options)
type: azure-native:maintenance:MaintenanceConfiguration
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 MaintenanceConfigurationArgs
- 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 MaintenanceConfigurationArgs
- 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 MaintenanceConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MaintenanceConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MaintenanceConfigurationArgs
- 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 azure_nativeMaintenanceConfigurationResource = new AzureNative.Maintenance.MaintenanceConfiguration("azure-nativeMaintenanceConfigurationResource", new()
{
ResourceGroupName = "string",
InstallPatches = new AzureNative.Maintenance.Inputs.InputPatchConfigurationArgs
{
LinuxParameters = new AzureNative.Maintenance.Inputs.InputLinuxParametersArgs
{
ClassificationsToInclude = new[]
{
"string",
},
PackageNameMasksToExclude = new[]
{
"string",
},
PackageNameMasksToInclude = new[]
{
"string",
},
},
PostTasks = new[]
{
new AzureNative.Maintenance.Inputs.TaskPropertiesArgs
{
Parameters =
{
{ "string", "string" },
},
Source = "string",
TaskScope = "string",
},
},
PreTasks = new[]
{
new AzureNative.Maintenance.Inputs.TaskPropertiesArgs
{
Parameters =
{
{ "string", "string" },
},
Source = "string",
TaskScope = "string",
},
},
RebootSetting = "string",
WindowsParameters = new AzureNative.Maintenance.Inputs.InputWindowsParametersArgs
{
ClassificationsToInclude = new[]
{
"string",
},
ExcludeKbsRequiringReboot = false,
KbNumbersToExclude = new[]
{
"string",
},
KbNumbersToInclude = new[]
{
"string",
},
},
},
RecurEvery = "string",
Duration = "string",
Location = "string",
MaintenanceScope = "string",
Namespace = "string",
Overrides = new[]
{
new AzureNative.Maintenance.Inputs.MaintenanceOverridePropertiesArgs
{
EndDateTime = "string",
OverrideProperties =
{
{ "string", "string" },
},
StartDateTime = "string",
TimeZone = "string",
},
},
ExtensionProperties =
{
{ "string", "string" },
},
ExpirationDateTime = "string",
ResourceName = "string",
StartDateTime = "string",
Tags =
{
{ "string", "string" },
},
TimeZone = "string",
Visibility = "string",
});
example, err := maintenance.NewMaintenanceConfiguration(ctx, "azure-nativeMaintenanceConfigurationResource", &maintenance.MaintenanceConfigurationArgs{
ResourceGroupName: pulumi.String("string"),
InstallPatches: &maintenance.InputPatchConfigurationArgs{
LinuxParameters: &maintenance.InputLinuxParametersArgs{
ClassificationsToInclude: pulumi.StringArray{
pulumi.String("string"),
},
PackageNameMasksToExclude: pulumi.StringArray{
pulumi.String("string"),
},
PackageNameMasksToInclude: pulumi.StringArray{
pulumi.String("string"),
},
},
PostTasks: maintenance.TaskPropertiesArray{
&maintenance.TaskPropertiesArgs{
Parameters: pulumi.StringMap{
"string": pulumi.String("string"),
},
Source: pulumi.String("string"),
TaskScope: pulumi.String("string"),
},
},
PreTasks: maintenance.TaskPropertiesArray{
&maintenance.TaskPropertiesArgs{
Parameters: pulumi.StringMap{
"string": pulumi.String("string"),
},
Source: pulumi.String("string"),
TaskScope: pulumi.String("string"),
},
},
RebootSetting: pulumi.String("string"),
WindowsParameters: &maintenance.InputWindowsParametersArgs{
ClassificationsToInclude: pulumi.StringArray{
pulumi.String("string"),
},
ExcludeKbsRequiringReboot: pulumi.Bool(false),
KbNumbersToExclude: pulumi.StringArray{
pulumi.String("string"),
},
KbNumbersToInclude: pulumi.StringArray{
pulumi.String("string"),
},
},
},
RecurEvery: pulumi.String("string"),
Duration: pulumi.String("string"),
Location: pulumi.String("string"),
MaintenanceScope: pulumi.String("string"),
Namespace: pulumi.String("string"),
Overrides: maintenance.MaintenanceOverridePropertiesArray{
&maintenance.MaintenanceOverridePropertiesArgs{
EndDateTime: pulumi.String("string"),
OverrideProperties: pulumi.StringMap{
"string": pulumi.String("string"),
},
StartDateTime: pulumi.String("string"),
TimeZone: pulumi.String("string"),
},
},
ExtensionProperties: pulumi.StringMap{
"string": pulumi.String("string"),
},
ExpirationDateTime: pulumi.String("string"),
ResourceName: pulumi.String("string"),
StartDateTime: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TimeZone: pulumi.String("string"),
Visibility: pulumi.String("string"),
})
var azure_nativeMaintenanceConfigurationResource = new MaintenanceConfiguration("azure-nativeMaintenanceConfigurationResource", MaintenanceConfigurationArgs.builder()
.resourceGroupName("string")
.installPatches(InputPatchConfigurationArgs.builder()
.linuxParameters(InputLinuxParametersArgs.builder()
.classificationsToInclude("string")
.packageNameMasksToExclude("string")
.packageNameMasksToInclude("string")
.build())
.postTasks(TaskPropertiesArgs.builder()
.parameters(Map.of("string", "string"))
.source("string")
.taskScope("string")
.build())
.preTasks(TaskPropertiesArgs.builder()
.parameters(Map.of("string", "string"))
.source("string")
.taskScope("string")
.build())
.rebootSetting("string")
.windowsParameters(InputWindowsParametersArgs.builder()
.classificationsToInclude("string")
.excludeKbsRequiringReboot(false)
.kbNumbersToExclude("string")
.kbNumbersToInclude("string")
.build())
.build())
.recurEvery("string")
.duration("string")
.location("string")
.maintenanceScope("string")
.namespace("string")
.overrides(MaintenanceOverridePropertiesArgs.builder()
.endDateTime("string")
.overrideProperties(Map.of("string", "string"))
.startDateTime("string")
.timeZone("string")
.build())
.extensionProperties(Map.of("string", "string"))
.expirationDateTime("string")
.resourceName("string")
.startDateTime("string")
.tags(Map.of("string", "string"))
.timeZone("string")
.visibility("string")
.build());
azure_native_maintenance_configuration_resource = azure_native.maintenance.MaintenanceConfiguration("azure-nativeMaintenanceConfigurationResource",
resource_group_name="string",
install_patches=azure_native.maintenance.InputPatchConfigurationArgs(
linux_parameters=azure_native.maintenance.InputLinuxParametersArgs(
classifications_to_include=["string"],
package_name_masks_to_exclude=["string"],
package_name_masks_to_include=["string"],
),
post_tasks=[azure_native.maintenance.TaskPropertiesArgs(
parameters={
"string": "string",
},
source="string",
task_scope="string",
)],
pre_tasks=[azure_native.maintenance.TaskPropertiesArgs(
parameters={
"string": "string",
},
source="string",
task_scope="string",
)],
reboot_setting="string",
windows_parameters=azure_native.maintenance.InputWindowsParametersArgs(
classifications_to_include=["string"],
exclude_kbs_requiring_reboot=False,
kb_numbers_to_exclude=["string"],
kb_numbers_to_include=["string"],
),
),
recur_every="string",
duration="string",
location="string",
maintenance_scope="string",
namespace="string",
overrides=[azure_native.maintenance.MaintenanceOverridePropertiesArgs(
end_date_time="string",
override_properties={
"string": "string",
},
start_date_time="string",
time_zone="string",
)],
extension_properties={
"string": "string",
},
expiration_date_time="string",
resource_name_="string",
start_date_time="string",
tags={
"string": "string",
},
time_zone="string",
visibility="string")
const azure_nativeMaintenanceConfigurationResource = new azure_native.maintenance.MaintenanceConfiguration("azure-nativeMaintenanceConfigurationResource", {
resourceGroupName: "string",
installPatches: {
linuxParameters: {
classificationsToInclude: ["string"],
packageNameMasksToExclude: ["string"],
packageNameMasksToInclude: ["string"],
},
postTasks: [{
parameters: {
string: "string",
},
source: "string",
taskScope: "string",
}],
preTasks: [{
parameters: {
string: "string",
},
source: "string",
taskScope: "string",
}],
rebootSetting: "string",
windowsParameters: {
classificationsToInclude: ["string"],
excludeKbsRequiringReboot: false,
kbNumbersToExclude: ["string"],
kbNumbersToInclude: ["string"],
},
},
recurEvery: "string",
duration: "string",
location: "string",
maintenanceScope: "string",
namespace: "string",
overrides: [{
endDateTime: "string",
overrideProperties: {
string: "string",
},
startDateTime: "string",
timeZone: "string",
}],
extensionProperties: {
string: "string",
},
expirationDateTime: "string",
resourceName: "string",
startDateTime: "string",
tags: {
string: "string",
},
timeZone: "string",
visibility: "string",
});
type: azure-native:maintenance:MaintenanceConfiguration
properties:
duration: string
expirationDateTime: string
extensionProperties:
string: string
installPatches:
linuxParameters:
classificationsToInclude:
- string
packageNameMasksToExclude:
- string
packageNameMasksToInclude:
- string
postTasks:
- parameters:
string: string
source: string
taskScope: string
preTasks:
- parameters:
string: string
source: string
taskScope: string
rebootSetting: string
windowsParameters:
classificationsToInclude:
- string
excludeKbsRequiringReboot: false
kbNumbersToExclude:
- string
kbNumbersToInclude:
- string
location: string
maintenanceScope: string
namespace: string
overrides:
- endDateTime: string
overrideProperties:
string: string
startDateTime: string
timeZone: string
recurEvery: string
resourceGroupName: string
resourceName: string
startDateTime: string
tags:
string: string
timeZone: string
visibility: string
MaintenanceConfiguration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The MaintenanceConfiguration resource accepts the following input properties:
- Resource
Group stringName - Resource Group Name
- Duration string
- Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00.
- Expiration
Date stringTime - Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- Extension
Properties Dictionary<string, string> - Gets or sets extensionProperties of the maintenanceConfiguration
- Install
Patches Pulumi.Azure Native. Maintenance. Inputs. Input Patch Configuration - The input parameters to be passed to the patch run operation.
- Location string
- Gets or sets location of the resource
- Maintenance
Scope string | Pulumi.Azure Native. Maintenance. Maintenance Scope - Gets or sets maintenanceScope of the configuration
- Namespace string
- Gets or sets namespace of the resource
- Overrides
List<Pulumi.
Azure Native. Maintenance. Inputs. Maintenance Override Properties> - Override Properties for the maintenance Configuration.
- Recur
Every string - Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday] [Optional Offset(No. of days)]. Offset value must be between -6 to 6 inclusive. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday, recurEvery: Month Last Sunday Offset-3, recurEvery: Month Third Sunday Offset6.
- Resource
Name string - Maintenance Configuration Name
- Start
Date stringTime - Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- Dictionary<string, string>
- Gets or sets tags of the resource
- Time
Zone string - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- Visibility
string | Pulumi.
Azure Native. Maintenance. Visibility - Gets or sets the visibility of the configuration. The default value is 'Custom'
- Resource
Group stringName - Resource Group Name
- Duration string
- Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00.
- Expiration
Date stringTime - Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- Extension
Properties map[string]string - Gets or sets extensionProperties of the maintenanceConfiguration
- Install
Patches InputPatch Configuration Args - The input parameters to be passed to the patch run operation.
- Location string
- Gets or sets location of the resource
- Maintenance
Scope string | MaintenanceScope - Gets or sets maintenanceScope of the configuration
- Namespace string
- Gets or sets namespace of the resource
- Overrides
[]Maintenance
Override Properties Args - Override Properties for the maintenance Configuration.
- Recur
Every string - Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday] [Optional Offset(No. of days)]. Offset value must be between -6 to 6 inclusive. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday, recurEvery: Month Last Sunday Offset-3, recurEvery: Month Third Sunday Offset6.
- Resource
Name string - Maintenance Configuration Name
- Start
Date stringTime - Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- map[string]string
- Gets or sets tags of the resource
- Time
Zone string - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- Visibility string | Visibility
- Gets or sets the visibility of the configuration. The default value is 'Custom'
- resource
Group StringName - Resource Group Name
- duration String
- Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00.
- expiration
Date StringTime - Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- extension
Properties Map<String,String> - Gets or sets extensionProperties of the maintenanceConfiguration
- install
Patches InputPatch Configuration - The input parameters to be passed to the patch run operation.
- location String
- Gets or sets location of the resource
- maintenance
Scope String | MaintenanceScope - Gets or sets maintenanceScope of the configuration
- namespace String
- Gets or sets namespace of the resource
- overrides
List<Maintenance
Override Properties> - Override Properties for the maintenance Configuration.
- recur
Every String - Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday] [Optional Offset(No. of days)]. Offset value must be between -6 to 6 inclusive. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday, recurEvery: Month Last Sunday Offset-3, recurEvery: Month Third Sunday Offset6.
- resource
Name String - Maintenance Configuration Name
- start
Date StringTime - Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- Map<String,String>
- Gets or sets tags of the resource
- time
Zone String - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- visibility String | Visibility
- Gets or sets the visibility of the configuration. The default value is 'Custom'
- resource
Group stringName - Resource Group Name
- duration string
- Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00.
- expiration
Date stringTime - Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- extension
Properties {[key: string]: string} - Gets or sets extensionProperties of the maintenanceConfiguration
- install
Patches InputPatch Configuration - The input parameters to be passed to the patch run operation.
- location string
- Gets or sets location of the resource
- maintenance
Scope string | MaintenanceScope - Gets or sets maintenanceScope of the configuration
- namespace string
- Gets or sets namespace of the resource
- overrides
Maintenance
Override Properties[] - Override Properties for the maintenance Configuration.
- recur
Every string - Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday] [Optional Offset(No. of days)]. Offset value must be between -6 to 6 inclusive. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday, recurEvery: Month Last Sunday Offset-3, recurEvery: Month Third Sunday Offset6.
- resource
Name string - Maintenance Configuration Name
- start
Date stringTime - Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- {[key: string]: string}
- Gets or sets tags of the resource
- time
Zone string - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- visibility string | Visibility
- Gets or sets the visibility of the configuration. The default value is 'Custom'
- resource_
group_ strname - Resource Group Name
- duration str
- Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00.
- expiration_
date_ strtime - Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- extension_
properties Mapping[str, str] - Gets or sets extensionProperties of the maintenanceConfiguration
- install_
patches InputPatch Configuration Args - The input parameters to be passed to the patch run operation.
- location str
- Gets or sets location of the resource
- maintenance_
scope str | MaintenanceScope - Gets or sets maintenanceScope of the configuration
- namespace str
- Gets or sets namespace of the resource
- overrides
Sequence[Maintenance
Override Properties Args] - Override Properties for the maintenance Configuration.
- recur_
every str - Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday] [Optional Offset(No. of days)]. Offset value must be between -6 to 6 inclusive. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday, recurEvery: Month Last Sunday Offset-3, recurEvery: Month Third Sunday Offset6.
- resource_
name str - Maintenance Configuration Name
- start_
date_ strtime - Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- Mapping[str, str]
- Gets or sets tags of the resource
- time_
zone str - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- visibility str | Visibility
- Gets or sets the visibility of the configuration. The default value is 'Custom'
- resource
Group StringName - Resource Group Name
- duration String
- Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00.
- expiration
Date StringTime - Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- extension
Properties Map<String> - Gets or sets extensionProperties of the maintenanceConfiguration
- install
Patches Property Map - The input parameters to be passed to the patch run operation.
- location String
- Gets or sets location of the resource
- maintenance
Scope String | "Host" | "Resource" | "OSImage" | "Extension" | "InGuest Patch" | "SQLDB" | "SQLManaged Instance" - Gets or sets maintenanceScope of the configuration
- namespace String
- Gets or sets namespace of the resource
- overrides List<Property Map>
- Override Properties for the maintenance Configuration.
- recur
Every String - Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday] [Optional Offset(No. of days)]. Offset value must be between -6 to 6 inclusive. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday, recurEvery: Month Last Sunday Offset-3, recurEvery: Month Third Sunday Offset6.
- resource
Name String - Maintenance Configuration Name
- start
Date StringTime - Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- Map<String>
- Gets or sets tags of the resource
- time
Zone String - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- visibility String | "Custom" | "Public"
- Gets or sets the visibility of the configuration. The default value is 'Custom'
Outputs
All input properties are implicitly available as output properties. Additionally, the MaintenanceConfiguration resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the resource
- System
Data Pulumi.Azure Native. Maintenance. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- Type of the resource
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the resource
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- Type of the resource
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- Type of the resource
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the resource
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- Type of the resource
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the resource
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- Type of the resource
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the resource
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- Type of the resource
Supporting Types
InputLinuxParameters, InputLinuxParametersArgs
- Classifications
To List<string>Include - Classification category of patches to be patched
- Package
Name List<string>Masks To Exclude - Package names to be excluded for patching.
- Package
Name List<string>Masks To Include - Package names to be included for patching.
- Classifications
To []stringInclude - Classification category of patches to be patched
- Package
Name []stringMasks To Exclude - Package names to be excluded for patching.
- Package
Name []stringMasks To Include - Package names to be included for patching.
- classifications
To List<String>Include - Classification category of patches to be patched
- package
Name List<String>Masks To Exclude - Package names to be excluded for patching.
- package
Name List<String>Masks To Include - Package names to be included for patching.
- classifications
To string[]Include - Classification category of patches to be patched
- package
Name string[]Masks To Exclude - Package names to be excluded for patching.
- package
Name string[]Masks To Include - Package names to be included for patching.
- classifications_
to_ Sequence[str]include - Classification category of patches to be patched
- package_
name_ Sequence[str]masks_ to_ exclude - Package names to be excluded for patching.
- package_
name_ Sequence[str]masks_ to_ include - Package names to be included for patching.
- classifications
To List<String>Include - Classification category of patches to be patched
- package
Name List<String>Masks To Exclude - Package names to be excluded for patching.
- package
Name List<String>Masks To Include - Package names to be included for patching.
InputLinuxParametersResponse, InputLinuxParametersResponseArgs
- Classifications
To List<string>Include - Classification category of patches to be patched
- Package
Name List<string>Masks To Exclude - Package names to be excluded for patching.
- Package
Name List<string>Masks To Include - Package names to be included for patching.
- Classifications
To []stringInclude - Classification category of patches to be patched
- Package
Name []stringMasks To Exclude - Package names to be excluded for patching.
- Package
Name []stringMasks To Include - Package names to be included for patching.
- classifications
To List<String>Include - Classification category of patches to be patched
- package
Name List<String>Masks To Exclude - Package names to be excluded for patching.
- package
Name List<String>Masks To Include - Package names to be included for patching.
- classifications
To string[]Include - Classification category of patches to be patched
- package
Name string[]Masks To Exclude - Package names to be excluded for patching.
- package
Name string[]Masks To Include - Package names to be included for patching.
- classifications_
to_ Sequence[str]include - Classification category of patches to be patched
- package_
name_ Sequence[str]masks_ to_ exclude - Package names to be excluded for patching.
- package_
name_ Sequence[str]masks_ to_ include - Package names to be included for patching.
- classifications
To List<String>Include - Classification category of patches to be patched
- package
Name List<String>Masks To Exclude - Package names to be excluded for patching.
- package
Name List<String>Masks To Include - Package names to be included for patching.
InputPatchConfiguration, InputPatchConfigurationArgs
- Linux
Parameters Pulumi.Azure Native. Maintenance. Inputs. Input Linux Parameters - Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.
- Post
Tasks List<Pulumi.Azure Native. Maintenance. Inputs. Task Properties> - List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]
- Pre
Tasks List<Pulumi.Azure Native. Maintenance. Inputs. Task Properties> - List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]
- Reboot
Setting string | Pulumi.Azure Native. Maintenance. Reboot Options - Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
- Windows
Parameters Pulumi.Azure Native. Maintenance. Inputs. Input Windows Parameters - Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.
- Linux
Parameters InputLinux Parameters - Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.
- Post
Tasks []TaskProperties - List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]
- Pre
Tasks []TaskProperties - List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]
- Reboot
Setting string | RebootOptions - Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
- Windows
Parameters InputWindows Parameters - Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.
- linux
Parameters InputLinux Parameters - Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.
- post
Tasks List<TaskProperties> - List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]
- pre
Tasks List<TaskProperties> - List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]
- reboot
Setting String | RebootOptions - Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
- windows
Parameters InputWindows Parameters - Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.
- linux
Parameters InputLinux Parameters - Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.
- post
Tasks TaskProperties[] - List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]
- pre
Tasks TaskProperties[] - List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]
- reboot
Setting string | RebootOptions - Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
- windows
Parameters InputWindows Parameters - Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.
- linux_
parameters InputLinux Parameters - Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.
- post_
tasks Sequence[TaskProperties] - List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]
- pre_
tasks Sequence[TaskProperties] - List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]
- reboot_
setting str | RebootOptions - Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
- windows_
parameters InputWindows Parameters - Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.
- linux
Parameters Property Map - Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.
- post
Tasks List<Property Map> - List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]
- pre
Tasks List<Property Map> - List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]
- reboot
Setting String | "IfRequired" | "Never" | "Always" - Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
- windows
Parameters Property Map - Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.
InputPatchConfigurationResponse, InputPatchConfigurationResponseArgs
- Linux
Parameters Pulumi.Azure Native. Maintenance. Inputs. Input Linux Parameters Response - Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.
- Post
Tasks List<Pulumi.Azure Native. Maintenance. Inputs. Task Properties Response> - List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]
- Pre
Tasks List<Pulumi.Azure Native. Maintenance. Inputs. Task Properties Response> - List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]
- Reboot
Setting string - Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
- Windows
Parameters Pulumi.Azure Native. Maintenance. Inputs. Input Windows Parameters Response - Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.
- Linux
Parameters InputLinux Parameters Response - Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.
- Post
Tasks []TaskProperties Response - List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]
- Pre
Tasks []TaskProperties Response - List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]
- Reboot
Setting string - Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
- Windows
Parameters InputWindows Parameters Response - Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.
- linux
Parameters InputLinux Parameters Response - Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.
- post
Tasks List<TaskProperties Response> - List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]
- pre
Tasks List<TaskProperties Response> - List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]
- reboot
Setting String - Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
- windows
Parameters InputWindows Parameters Response - Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.
- linux
Parameters InputLinux Parameters Response - Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.
- post
Tasks TaskProperties Response[] - List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]
- pre
Tasks TaskProperties Response[] - List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]
- reboot
Setting string - Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
- windows
Parameters InputWindows Parameters Response - Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.
- linux_
parameters InputLinux Parameters Response - Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.
- post_
tasks Sequence[TaskProperties Response] - List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]
- pre_
tasks Sequence[TaskProperties Response] - List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]
- reboot_
setting str - Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
- windows_
parameters InputWindows Parameters Response - Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.
- linux
Parameters Property Map - Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.
- post
Tasks List<Property Map> - List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]
- pre
Tasks List<Property Map> - List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]
- reboot
Setting String - Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
- windows
Parameters Property Map - Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.
InputWindowsParameters, InputWindowsParametersArgs
- Classifications
To List<string>Include - Classification category of patches to be patched
- Exclude
Kbs boolRequiring Reboot - Exclude patches which need reboot
- Kb
Numbers List<string>To Exclude - Windows KBID to be excluded for patching.
- Kb
Numbers List<string>To Include - Windows KBID to be included for patching.
- Classifications
To []stringInclude - Classification category of patches to be patched
- Exclude
Kbs boolRequiring Reboot - Exclude patches which need reboot
- Kb
Numbers []stringTo Exclude - Windows KBID to be excluded for patching.
- Kb
Numbers []stringTo Include - Windows KBID to be included for patching.
- classifications
To List<String>Include - Classification category of patches to be patched
- exclude
Kbs BooleanRequiring Reboot - Exclude patches which need reboot
- kb
Numbers List<String>To Exclude - Windows KBID to be excluded for patching.
- kb
Numbers List<String>To Include - Windows KBID to be included for patching.
- classifications
To string[]Include - Classification category of patches to be patched
- exclude
Kbs booleanRequiring Reboot - Exclude patches which need reboot
- kb
Numbers string[]To Exclude - Windows KBID to be excluded for patching.
- kb
Numbers string[]To Include - Windows KBID to be included for patching.
- classifications_
to_ Sequence[str]include - Classification category of patches to be patched
- exclude_
kbs_ boolrequiring_ reboot - Exclude patches which need reboot
- kb_
numbers_ Sequence[str]to_ exclude - Windows KBID to be excluded for patching.
- kb_
numbers_ Sequence[str]to_ include - Windows KBID to be included for patching.
- classifications
To List<String>Include - Classification category of patches to be patched
- exclude
Kbs BooleanRequiring Reboot - Exclude patches which need reboot
- kb
Numbers List<String>To Exclude - Windows KBID to be excluded for patching.
- kb
Numbers List<String>To Include - Windows KBID to be included for patching.
InputWindowsParametersResponse, InputWindowsParametersResponseArgs
- Classifications
To List<string>Include - Classification category of patches to be patched
- Exclude
Kbs boolRequiring Reboot - Exclude patches which need reboot
- Kb
Numbers List<string>To Exclude - Windows KBID to be excluded for patching.
- Kb
Numbers List<string>To Include - Windows KBID to be included for patching.
- Classifications
To []stringInclude - Classification category of patches to be patched
- Exclude
Kbs boolRequiring Reboot - Exclude patches which need reboot
- Kb
Numbers []stringTo Exclude - Windows KBID to be excluded for patching.
- Kb
Numbers []stringTo Include - Windows KBID to be included for patching.
- classifications
To List<String>Include - Classification category of patches to be patched
- exclude
Kbs BooleanRequiring Reboot - Exclude patches which need reboot
- kb
Numbers List<String>To Exclude - Windows KBID to be excluded for patching.
- kb
Numbers List<String>To Include - Windows KBID to be included for patching.
- classifications
To string[]Include - Classification category of patches to be patched
- exclude
Kbs booleanRequiring Reboot - Exclude patches which need reboot
- kb
Numbers string[]To Exclude - Windows KBID to be excluded for patching.
- kb
Numbers string[]To Include - Windows KBID to be included for patching.
- classifications_
to_ Sequence[str]include - Classification category of patches to be patched
- exclude_
kbs_ boolrequiring_ reboot - Exclude patches which need reboot
- kb_
numbers_ Sequence[str]to_ exclude - Windows KBID to be excluded for patching.
- kb_
numbers_ Sequence[str]to_ include - Windows KBID to be included for patching.
- classifications
To List<String>Include - Classification category of patches to be patched
- exclude
Kbs BooleanRequiring Reboot - Exclude patches which need reboot
- kb
Numbers List<String>To Exclude - Windows KBID to be excluded for patching.
- kb
Numbers List<String>To Include - Windows KBID to be included for patching.
MaintenanceOverrideProperties, MaintenanceOverridePropertiesArgs
- End
Date stringTime - Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- Override
Properties Dictionary<string, string> - Gets or sets overrideProperties of the maintenanceConfiguration
- Start
Date stringTime - Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- Time
Zone string - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- End
Date stringTime - Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- Override
Properties map[string]string - Gets or sets overrideProperties of the maintenanceConfiguration
- Start
Date stringTime - Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- Time
Zone string - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- end
Date StringTime - Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- override
Properties Map<String,String> - Gets or sets overrideProperties of the maintenanceConfiguration
- start
Date StringTime - Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- time
Zone String - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- end
Date stringTime - Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- override
Properties {[key: string]: string} - Gets or sets overrideProperties of the maintenanceConfiguration
- start
Date stringTime - Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- time
Zone string - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- end_
date_ strtime - Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- override_
properties Mapping[str, str] - Gets or sets overrideProperties of the maintenanceConfiguration
- start_
date_ strtime - Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- time_
zone str - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- end
Date StringTime - Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- override
Properties Map<String> - Gets or sets overrideProperties of the maintenanceConfiguration
- start
Date StringTime - Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- time
Zone String - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
MaintenanceOverridePropertiesResponse, MaintenanceOverridePropertiesResponseArgs
- End
Date stringTime - Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- Override
Properties Dictionary<string, string> - Gets or sets overrideProperties of the maintenanceConfiguration
- Start
Date stringTime - Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- Time
Zone string - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- End
Date stringTime - Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- Override
Properties map[string]string - Gets or sets overrideProperties of the maintenanceConfiguration
- Start
Date stringTime - Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- Time
Zone string - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- end
Date StringTime - Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- override
Properties Map<String,String> - Gets or sets overrideProperties of the maintenanceConfiguration
- start
Date StringTime - Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- time
Zone String - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- end
Date stringTime - Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- override
Properties {[key: string]: string} - Gets or sets overrideProperties of the maintenanceConfiguration
- start
Date stringTime - Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- time
Zone string - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- end_
date_ strtime - Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- override_
properties Mapping[str, str] - Gets or sets overrideProperties of the maintenanceConfiguration
- start_
date_ strtime - Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- time_
zone str - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
- end
Date StringTime - Effective end date of the maintenance override window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
- override
Properties Map<String> - Gets or sets overrideProperties of the maintenanceConfiguration
- start
Date StringTime - Effective start date of the maintenance override window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
- time
Zone String - Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
MaintenanceScope, MaintenanceScopeArgs
- Host
- HostThis maintenance scope controls installation of azure platform updates i.e. services on physical nodes hosting customer VMs.
- Resource
- ResourceThis maintenance scope controls the default update maintenance of the Azure Resource
- OSImage
- OSImageThis maintenance scope controls os image installation on VM/VMSS
- Extension
- ExtensionThis maintenance scope controls extension installation on VM/VMSS
- In
Guest Patch - InGuestPatchThis maintenance scope controls installation of windows and linux packages on VM/VMSS
- SQLDB
- SQLDBThis maintenance scope controls installation of SQL server platform updates.
- SQLManaged
Instance - SQLManagedInstanceThis maintenance scope controls installation of SQL managed instance platform update.
- Maintenance
Scope Host - HostThis maintenance scope controls installation of azure platform updates i.e. services on physical nodes hosting customer VMs.
- Maintenance
Scope Resource - ResourceThis maintenance scope controls the default update maintenance of the Azure Resource
- Maintenance
Scope OSImage - OSImageThis maintenance scope controls os image installation on VM/VMSS
- Maintenance
Scope Extension - ExtensionThis maintenance scope controls extension installation on VM/VMSS
- Maintenance
Scope In Guest Patch - InGuestPatchThis maintenance scope controls installation of windows and linux packages on VM/VMSS
- Maintenance
Scope SQLDB - SQLDBThis maintenance scope controls installation of SQL server platform updates.
- Maintenance
Scope SQLManaged Instance - SQLManagedInstanceThis maintenance scope controls installation of SQL managed instance platform update.
- Host
- HostThis maintenance scope controls installation of azure platform updates i.e. services on physical nodes hosting customer VMs.
- Resource
- ResourceThis maintenance scope controls the default update maintenance of the Azure Resource
- OSImage
- OSImageThis maintenance scope controls os image installation on VM/VMSS
- Extension
- ExtensionThis maintenance scope controls extension installation on VM/VMSS
- In
Guest Patch - InGuestPatchThis maintenance scope controls installation of windows and linux packages on VM/VMSS
- SQLDB
- SQLDBThis maintenance scope controls installation of SQL server platform updates.
- SQLManaged
Instance - SQLManagedInstanceThis maintenance scope controls installation of SQL managed instance platform update.
- Host
- HostThis maintenance scope controls installation of azure platform updates i.e. services on physical nodes hosting customer VMs.
- Resource
- ResourceThis maintenance scope controls the default update maintenance of the Azure Resource
- OSImage
- OSImageThis maintenance scope controls os image installation on VM/VMSS
- Extension
- ExtensionThis maintenance scope controls extension installation on VM/VMSS
- In
Guest Patch - InGuestPatchThis maintenance scope controls installation of windows and linux packages on VM/VMSS
- SQLDB
- SQLDBThis maintenance scope controls installation of SQL server platform updates.
- SQLManaged
Instance - SQLManagedInstanceThis maintenance scope controls installation of SQL managed instance platform update.
- HOST
- HostThis maintenance scope controls installation of azure platform updates i.e. services on physical nodes hosting customer VMs.
- RESOURCE
- ResourceThis maintenance scope controls the default update maintenance of the Azure Resource
- OS_IMAGE
- OSImageThis maintenance scope controls os image installation on VM/VMSS
- EXTENSION
- ExtensionThis maintenance scope controls extension installation on VM/VMSS
- IN_GUEST_PATCH
- InGuestPatchThis maintenance scope controls installation of windows and linux packages on VM/VMSS
- SQLDB
- SQLDBThis maintenance scope controls installation of SQL server platform updates.
- SQL_MANAGED_INSTANCE
- SQLManagedInstanceThis maintenance scope controls installation of SQL managed instance platform update.
- "Host"
- HostThis maintenance scope controls installation of azure platform updates i.e. services on physical nodes hosting customer VMs.
- "Resource"
- ResourceThis maintenance scope controls the default update maintenance of the Azure Resource
- "OSImage"
- OSImageThis maintenance scope controls os image installation on VM/VMSS
- "Extension"
- ExtensionThis maintenance scope controls extension installation on VM/VMSS
- "In
Guest Patch" - InGuestPatchThis maintenance scope controls installation of windows and linux packages on VM/VMSS
- "SQLDB"
- SQLDBThis maintenance scope controls installation of SQL server platform updates.
- "SQLManaged
Instance" - SQLManagedInstanceThis maintenance scope controls installation of SQL managed instance platform update.
RebootOptions, RebootOptionsArgs
- If
Required - IfRequired
- Never
- Never
- Always
- Always
- Reboot
Options If Required - IfRequired
- Reboot
Options Never - Never
- Reboot
Options Always - Always
- If
Required - IfRequired
- Never
- Never
- Always
- Always
- If
Required - IfRequired
- Never
- Never
- Always
- Always
- IF_REQUIRED
- IfRequired
- NEVER
- Never
- ALWAYS
- Always
- "If
Required" - IfRequired
- "Never"
- Never
- "Always"
- Always
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
TaskProperties, TaskPropertiesArgs
- Parameters Dictionary<string, string>
- Gets or sets the parameters of the task.
- Source string
- Gets or sets the name of the runbook.
- Task
Scope string | Pulumi.Azure Native. Maintenance. Task Scope - Global Task execute once when schedule trigger. Resource task execute for each VM.
- Parameters map[string]string
- Gets or sets the parameters of the task.
- Source string
- Gets or sets the name of the runbook.
- Task
Scope string | TaskScope - Global Task execute once when schedule trigger. Resource task execute for each VM.
- parameters Map<String,String>
- Gets or sets the parameters of the task.
- source String
- Gets or sets the name of the runbook.
- task
Scope String | TaskScope - Global Task execute once when schedule trigger. Resource task execute for each VM.
- parameters {[key: string]: string}
- Gets or sets the parameters of the task.
- source string
- Gets or sets the name of the runbook.
- task
Scope string | TaskScope - Global Task execute once when schedule trigger. Resource task execute for each VM.
- parameters Mapping[str, str]
- Gets or sets the parameters of the task.
- source str
- Gets or sets the name of the runbook.
- task_
scope str | TaskScope - Global Task execute once when schedule trigger. Resource task execute for each VM.
- parameters Map<String>
- Gets or sets the parameters of the task.
- source String
- Gets or sets the name of the runbook.
- task
Scope String | "Global" | "Resource" - Global Task execute once when schedule trigger. Resource task execute for each VM.
TaskPropertiesResponse, TaskPropertiesResponseArgs
- Parameters Dictionary<string, string>
- Gets or sets the parameters of the task.
- Source string
- Gets or sets the name of the runbook.
- Task
Scope string - Global Task execute once when schedule trigger. Resource task execute for each VM.
- Parameters map[string]string
- Gets or sets the parameters of the task.
- Source string
- Gets or sets the name of the runbook.
- Task
Scope string - Global Task execute once when schedule trigger. Resource task execute for each VM.
- parameters Map<String,String>
- Gets or sets the parameters of the task.
- source String
- Gets or sets the name of the runbook.
- task
Scope String - Global Task execute once when schedule trigger. Resource task execute for each VM.
- parameters {[key: string]: string}
- Gets or sets the parameters of the task.
- source string
- Gets or sets the name of the runbook.
- task
Scope string - Global Task execute once when schedule trigger. Resource task execute for each VM.
- parameters Mapping[str, str]
- Gets or sets the parameters of the task.
- source str
- Gets or sets the name of the runbook.
- task_
scope str - Global Task execute once when schedule trigger. Resource task execute for each VM.
- parameters Map<String>
- Gets or sets the parameters of the task.
- source String
- Gets or sets the name of the runbook.
- task
Scope String - Global Task execute once when schedule trigger. Resource task execute for each VM.
TaskScope, TaskScopeArgs
- Global
- Global
- Resource
- Resource
- Task
Scope Global - Global
- Task
Scope Resource - Resource
- Global
- Global
- Resource
- Resource
- Global
- Global
- Resource
- Resource
- GLOBAL_
- Global
- RESOURCE
- Resource
- "Global"
- Global
- "Resource"
- Resource
Visibility, VisibilityArgs
- Custom
- CustomOnly visible to users with permissions.
- Public
- PublicVisible to all users.
- Visibility
Custom - CustomOnly visible to users with permissions.
- Visibility
Public - PublicVisible to all users.
- Custom
- CustomOnly visible to users with permissions.
- Public
- PublicVisible to all users.
- Custom
- CustomOnly visible to users with permissions.
- Public
- PublicVisible to all users.
- CUSTOM
- CustomOnly visible to users with permissions.
- PUBLIC
- PublicVisible to all users.
- "Custom"
- CustomOnly visible to users with permissions.
- "Public"
- PublicVisible to all users.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:maintenance:MaintenanceConfiguration configuration1 /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0