maintenance

package
v6.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignmentDedicatedHost

type AssignmentDedicatedHost struct {
	pulumi.CustomResourceState

	// Specifies the Dedicated Host ID to which the Maintenance Configuration will be assigned. Changing this forces a new resource to be created.
	DedicatedHostId pulumi.StringOutput `pulumi:"dedicatedHostId"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the ID of the Maintenance Configuration Resource. Changing this forces a new resource to be created.
	MaintenanceConfigurationId pulumi.StringOutput `pulumi:"maintenanceConfigurationId"`
}

Manages a maintenance assignment to Dedicated Host.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/compute"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/maintenance"
"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-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleDedicatedHostGroup, err := compute.NewDedicatedHostGroup(ctx, "example", &compute.DedicatedHostGroupArgs{
			Name:                     pulumi.String("example-host-group"),
			ResourceGroupName:        example.Name,
			Location:                 example.Location,
			PlatformFaultDomainCount: pulumi.Int(2),
		})
		if err != nil {
			return err
		}
		exampleDedicatedHost, err := compute.NewDedicatedHost(ctx, "example", &compute.DedicatedHostArgs{
			Name:                 pulumi.String("example-host"),
			Location:             example.Location,
			DedicatedHostGroupId: exampleDedicatedHostGroup.ID(),
			SkuName:              pulumi.String("DSv3-Type3"),
			PlatformFaultDomain:  pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		exampleConfiguration, err := maintenance.NewConfiguration(ctx, "example", &maintenance.ConfigurationArgs{
			Name:              pulumi.String("example-mc"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			Scope:             pulumi.String("Host"),
		})
		if err != nil {
			return err
		}
		_, err = maintenance.NewAssignmentDedicatedHost(ctx, "example", &maintenance.AssignmentDedicatedHostArgs{
			Location:                   example.Location,
			MaintenanceConfigurationId: exampleConfiguration.ID(),
			DedicatedHostId:            exampleDedicatedHost.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Maintenance Assignment can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:maintenance/assignmentDedicatedHost:AssignmentDedicatedHost example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Compute/hostGroups/group1/hosts/host1/providers/Microsoft.Maintenance/configurationAssignments/assign1 ```

func GetAssignmentDedicatedHost

func GetAssignmentDedicatedHost(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AssignmentDedicatedHostState, opts ...pulumi.ResourceOption) (*AssignmentDedicatedHost, error)

GetAssignmentDedicatedHost gets an existing AssignmentDedicatedHost resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAssignmentDedicatedHost

func NewAssignmentDedicatedHost(ctx *pulumi.Context,
	name string, args *AssignmentDedicatedHostArgs, opts ...pulumi.ResourceOption) (*AssignmentDedicatedHost, error)

NewAssignmentDedicatedHost registers a new resource with the given unique name, arguments, and options.

func (*AssignmentDedicatedHost) ElementType

func (*AssignmentDedicatedHost) ElementType() reflect.Type

func (*AssignmentDedicatedHost) ToAssignmentDedicatedHostOutput

func (i *AssignmentDedicatedHost) ToAssignmentDedicatedHostOutput() AssignmentDedicatedHostOutput

func (*AssignmentDedicatedHost) ToAssignmentDedicatedHostOutputWithContext

func (i *AssignmentDedicatedHost) ToAssignmentDedicatedHostOutputWithContext(ctx context.Context) AssignmentDedicatedHostOutput

type AssignmentDedicatedHostArgs

type AssignmentDedicatedHostArgs struct {
	// Specifies the Dedicated Host ID to which the Maintenance Configuration will be assigned. Changing this forces a new resource to be created.
	DedicatedHostId pulumi.StringInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the ID of the Maintenance Configuration Resource. Changing this forces a new resource to be created.
	MaintenanceConfigurationId pulumi.StringInput
}

The set of arguments for constructing a AssignmentDedicatedHost resource.

func (AssignmentDedicatedHostArgs) ElementType

type AssignmentDedicatedHostArray

type AssignmentDedicatedHostArray []AssignmentDedicatedHostInput

func (AssignmentDedicatedHostArray) ElementType

func (AssignmentDedicatedHostArray) ToAssignmentDedicatedHostArrayOutput

func (i AssignmentDedicatedHostArray) ToAssignmentDedicatedHostArrayOutput() AssignmentDedicatedHostArrayOutput

func (AssignmentDedicatedHostArray) ToAssignmentDedicatedHostArrayOutputWithContext

func (i AssignmentDedicatedHostArray) ToAssignmentDedicatedHostArrayOutputWithContext(ctx context.Context) AssignmentDedicatedHostArrayOutput

type AssignmentDedicatedHostArrayInput

type AssignmentDedicatedHostArrayInput interface {
	pulumi.Input

	ToAssignmentDedicatedHostArrayOutput() AssignmentDedicatedHostArrayOutput
	ToAssignmentDedicatedHostArrayOutputWithContext(context.Context) AssignmentDedicatedHostArrayOutput
}

AssignmentDedicatedHostArrayInput is an input type that accepts AssignmentDedicatedHostArray and AssignmentDedicatedHostArrayOutput values. You can construct a concrete instance of `AssignmentDedicatedHostArrayInput` via:

AssignmentDedicatedHostArray{ AssignmentDedicatedHostArgs{...} }

type AssignmentDedicatedHostArrayOutput

type AssignmentDedicatedHostArrayOutput struct{ *pulumi.OutputState }

func (AssignmentDedicatedHostArrayOutput) ElementType

func (AssignmentDedicatedHostArrayOutput) Index

func (AssignmentDedicatedHostArrayOutput) ToAssignmentDedicatedHostArrayOutput

func (o AssignmentDedicatedHostArrayOutput) ToAssignmentDedicatedHostArrayOutput() AssignmentDedicatedHostArrayOutput

func (AssignmentDedicatedHostArrayOutput) ToAssignmentDedicatedHostArrayOutputWithContext

func (o AssignmentDedicatedHostArrayOutput) ToAssignmentDedicatedHostArrayOutputWithContext(ctx context.Context) AssignmentDedicatedHostArrayOutput

type AssignmentDedicatedHostInput

type AssignmentDedicatedHostInput interface {
	pulumi.Input

	ToAssignmentDedicatedHostOutput() AssignmentDedicatedHostOutput
	ToAssignmentDedicatedHostOutputWithContext(ctx context.Context) AssignmentDedicatedHostOutput
}

type AssignmentDedicatedHostMap

type AssignmentDedicatedHostMap map[string]AssignmentDedicatedHostInput

func (AssignmentDedicatedHostMap) ElementType

func (AssignmentDedicatedHostMap) ElementType() reflect.Type

func (AssignmentDedicatedHostMap) ToAssignmentDedicatedHostMapOutput

func (i AssignmentDedicatedHostMap) ToAssignmentDedicatedHostMapOutput() AssignmentDedicatedHostMapOutput

func (AssignmentDedicatedHostMap) ToAssignmentDedicatedHostMapOutputWithContext

func (i AssignmentDedicatedHostMap) ToAssignmentDedicatedHostMapOutputWithContext(ctx context.Context) AssignmentDedicatedHostMapOutput

type AssignmentDedicatedHostMapInput

type AssignmentDedicatedHostMapInput interface {
	pulumi.Input

	ToAssignmentDedicatedHostMapOutput() AssignmentDedicatedHostMapOutput
	ToAssignmentDedicatedHostMapOutputWithContext(context.Context) AssignmentDedicatedHostMapOutput
}

AssignmentDedicatedHostMapInput is an input type that accepts AssignmentDedicatedHostMap and AssignmentDedicatedHostMapOutput values. You can construct a concrete instance of `AssignmentDedicatedHostMapInput` via:

AssignmentDedicatedHostMap{ "key": AssignmentDedicatedHostArgs{...} }

type AssignmentDedicatedHostMapOutput

type AssignmentDedicatedHostMapOutput struct{ *pulumi.OutputState }

func (AssignmentDedicatedHostMapOutput) ElementType

func (AssignmentDedicatedHostMapOutput) MapIndex

func (AssignmentDedicatedHostMapOutput) ToAssignmentDedicatedHostMapOutput

func (o AssignmentDedicatedHostMapOutput) ToAssignmentDedicatedHostMapOutput() AssignmentDedicatedHostMapOutput

func (AssignmentDedicatedHostMapOutput) ToAssignmentDedicatedHostMapOutputWithContext

func (o AssignmentDedicatedHostMapOutput) ToAssignmentDedicatedHostMapOutputWithContext(ctx context.Context) AssignmentDedicatedHostMapOutput

type AssignmentDedicatedHostOutput

type AssignmentDedicatedHostOutput struct{ *pulumi.OutputState }

func (AssignmentDedicatedHostOutput) DedicatedHostId

Specifies the Dedicated Host ID to which the Maintenance Configuration will be assigned. Changing this forces a new resource to be created.

func (AssignmentDedicatedHostOutput) ElementType

func (AssignmentDedicatedHostOutput) Location

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (AssignmentDedicatedHostOutput) MaintenanceConfigurationId

func (o AssignmentDedicatedHostOutput) MaintenanceConfigurationId() pulumi.StringOutput

Specifies the ID of the Maintenance Configuration Resource. Changing this forces a new resource to be created.

func (AssignmentDedicatedHostOutput) ToAssignmentDedicatedHostOutput

func (o AssignmentDedicatedHostOutput) ToAssignmentDedicatedHostOutput() AssignmentDedicatedHostOutput

func (AssignmentDedicatedHostOutput) ToAssignmentDedicatedHostOutputWithContext

func (o AssignmentDedicatedHostOutput) ToAssignmentDedicatedHostOutputWithContext(ctx context.Context) AssignmentDedicatedHostOutput

type AssignmentDedicatedHostState

type AssignmentDedicatedHostState struct {
	// Specifies the Dedicated Host ID to which the Maintenance Configuration will be assigned. Changing this forces a new resource to be created.
	DedicatedHostId pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the ID of the Maintenance Configuration Resource. Changing this forces a new resource to be created.
	MaintenanceConfigurationId pulumi.StringPtrInput
}

func (AssignmentDedicatedHostState) ElementType

type AssignmentDynamicScope

type AssignmentDynamicScope struct {
	pulumi.CustomResourceState

	// A `filter` block as defined below.
	Filter AssignmentDynamicScopeFilterOutput `pulumi:"filter"`
	// The ID of the Maintenance Configuration Resource. Changing this forces a new Dynamic Maintenance Assignment to be created.
	MaintenanceConfigurationId pulumi.StringOutput `pulumi:"maintenanceConfigurationId"`
	// The name which should be used for this Dynamic Maintenance Assignment. Changing this forces a new Dynamic Maintenance Assignment to be created.
	//
	// > **Note:** The `name` must be unique per subscription.
	Name pulumi.StringOutput `pulumi:"name"`
}

Manages a Dynamic Maintenance Assignment.

> **Note:** Only valid for `InGuestPatch` Maintenance Configuration Scopes.

## Import

Dynamic Maintenance Assignments can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:maintenance/assignmentDynamicScope:AssignmentDynamicScope example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Maintenance/configurationAssignments/assignmentName ```

func GetAssignmentDynamicScope

func GetAssignmentDynamicScope(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AssignmentDynamicScopeState, opts ...pulumi.ResourceOption) (*AssignmentDynamicScope, error)

GetAssignmentDynamicScope gets an existing AssignmentDynamicScope resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAssignmentDynamicScope

func NewAssignmentDynamicScope(ctx *pulumi.Context,
	name string, args *AssignmentDynamicScopeArgs, opts ...pulumi.ResourceOption) (*AssignmentDynamicScope, error)

NewAssignmentDynamicScope registers a new resource with the given unique name, arguments, and options.

func (*AssignmentDynamicScope) ElementType

func (*AssignmentDynamicScope) ElementType() reflect.Type

func (*AssignmentDynamicScope) ToAssignmentDynamicScopeOutput

func (i *AssignmentDynamicScope) ToAssignmentDynamicScopeOutput() AssignmentDynamicScopeOutput

func (*AssignmentDynamicScope) ToAssignmentDynamicScopeOutputWithContext

func (i *AssignmentDynamicScope) ToAssignmentDynamicScopeOutputWithContext(ctx context.Context) AssignmentDynamicScopeOutput

type AssignmentDynamicScopeArgs

type AssignmentDynamicScopeArgs struct {
	// A `filter` block as defined below.
	Filter AssignmentDynamicScopeFilterInput
	// The ID of the Maintenance Configuration Resource. Changing this forces a new Dynamic Maintenance Assignment to be created.
	MaintenanceConfigurationId pulumi.StringInput
	// The name which should be used for this Dynamic Maintenance Assignment. Changing this forces a new Dynamic Maintenance Assignment to be created.
	//
	// > **Note:** The `name` must be unique per subscription.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a AssignmentDynamicScope resource.

func (AssignmentDynamicScopeArgs) ElementType

func (AssignmentDynamicScopeArgs) ElementType() reflect.Type

type AssignmentDynamicScopeArray

type AssignmentDynamicScopeArray []AssignmentDynamicScopeInput

func (AssignmentDynamicScopeArray) ElementType

func (AssignmentDynamicScopeArray) ToAssignmentDynamicScopeArrayOutput

func (i AssignmentDynamicScopeArray) ToAssignmentDynamicScopeArrayOutput() AssignmentDynamicScopeArrayOutput

func (AssignmentDynamicScopeArray) ToAssignmentDynamicScopeArrayOutputWithContext

func (i AssignmentDynamicScopeArray) ToAssignmentDynamicScopeArrayOutputWithContext(ctx context.Context) AssignmentDynamicScopeArrayOutput

type AssignmentDynamicScopeArrayInput

type AssignmentDynamicScopeArrayInput interface {
	pulumi.Input

	ToAssignmentDynamicScopeArrayOutput() AssignmentDynamicScopeArrayOutput
	ToAssignmentDynamicScopeArrayOutputWithContext(context.Context) AssignmentDynamicScopeArrayOutput
}

AssignmentDynamicScopeArrayInput is an input type that accepts AssignmentDynamicScopeArray and AssignmentDynamicScopeArrayOutput values. You can construct a concrete instance of `AssignmentDynamicScopeArrayInput` via:

AssignmentDynamicScopeArray{ AssignmentDynamicScopeArgs{...} }

type AssignmentDynamicScopeArrayOutput

type AssignmentDynamicScopeArrayOutput struct{ *pulumi.OutputState }

func (AssignmentDynamicScopeArrayOutput) ElementType

func (AssignmentDynamicScopeArrayOutput) Index

func (AssignmentDynamicScopeArrayOutput) ToAssignmentDynamicScopeArrayOutput

func (o AssignmentDynamicScopeArrayOutput) ToAssignmentDynamicScopeArrayOutput() AssignmentDynamicScopeArrayOutput

func (AssignmentDynamicScopeArrayOutput) ToAssignmentDynamicScopeArrayOutputWithContext

func (o AssignmentDynamicScopeArrayOutput) ToAssignmentDynamicScopeArrayOutputWithContext(ctx context.Context) AssignmentDynamicScopeArrayOutput

type AssignmentDynamicScopeFilter

type AssignmentDynamicScopeFilter struct {
	// Specifies a list of locations to scope the query to.
	Locations []string `pulumi:"locations"`
	// Specifies a list of allowed operating systems.
	OsTypes []string `pulumi:"osTypes"`
	// Specifies a list of allowed resource groups.
	ResourceGroups []string `pulumi:"resourceGroups"`
	// Specifies a list of allowed resources.
	ResourceTypes []string `pulumi:"resourceTypes"`
	// Filter VMs by `Any` or `All` specified tags. Defaults to `Any`.
	TagFilter *string `pulumi:"tagFilter"`
	// A mapping of tags for the VM
	Tags []AssignmentDynamicScopeFilterTag `pulumi:"tags"`
}

type AssignmentDynamicScopeFilterArgs

type AssignmentDynamicScopeFilterArgs struct {
	// Specifies a list of locations to scope the query to.
	Locations pulumi.StringArrayInput `pulumi:"locations"`
	// Specifies a list of allowed operating systems.
	OsTypes pulumi.StringArrayInput `pulumi:"osTypes"`
	// Specifies a list of allowed resource groups.
	ResourceGroups pulumi.StringArrayInput `pulumi:"resourceGroups"`
	// Specifies a list of allowed resources.
	ResourceTypes pulumi.StringArrayInput `pulumi:"resourceTypes"`
	// Filter VMs by `Any` or `All` specified tags. Defaults to `Any`.
	TagFilter pulumi.StringPtrInput `pulumi:"tagFilter"`
	// A mapping of tags for the VM
	Tags AssignmentDynamicScopeFilterTagArrayInput `pulumi:"tags"`
}

func (AssignmentDynamicScopeFilterArgs) ElementType

func (AssignmentDynamicScopeFilterArgs) ToAssignmentDynamicScopeFilterOutput

func (i AssignmentDynamicScopeFilterArgs) ToAssignmentDynamicScopeFilterOutput() AssignmentDynamicScopeFilterOutput

func (AssignmentDynamicScopeFilterArgs) ToAssignmentDynamicScopeFilterOutputWithContext

func (i AssignmentDynamicScopeFilterArgs) ToAssignmentDynamicScopeFilterOutputWithContext(ctx context.Context) AssignmentDynamicScopeFilterOutput

func (AssignmentDynamicScopeFilterArgs) ToAssignmentDynamicScopeFilterPtrOutput

func (i AssignmentDynamicScopeFilterArgs) ToAssignmentDynamicScopeFilterPtrOutput() AssignmentDynamicScopeFilterPtrOutput

func (AssignmentDynamicScopeFilterArgs) ToAssignmentDynamicScopeFilterPtrOutputWithContext

func (i AssignmentDynamicScopeFilterArgs) ToAssignmentDynamicScopeFilterPtrOutputWithContext(ctx context.Context) AssignmentDynamicScopeFilterPtrOutput

type AssignmentDynamicScopeFilterInput

type AssignmentDynamicScopeFilterInput interface {
	pulumi.Input

	ToAssignmentDynamicScopeFilterOutput() AssignmentDynamicScopeFilterOutput
	ToAssignmentDynamicScopeFilterOutputWithContext(context.Context) AssignmentDynamicScopeFilterOutput
}

AssignmentDynamicScopeFilterInput is an input type that accepts AssignmentDynamicScopeFilterArgs and AssignmentDynamicScopeFilterOutput values. You can construct a concrete instance of `AssignmentDynamicScopeFilterInput` via:

AssignmentDynamicScopeFilterArgs{...}

type AssignmentDynamicScopeFilterOutput

type AssignmentDynamicScopeFilterOutput struct{ *pulumi.OutputState }

func (AssignmentDynamicScopeFilterOutput) ElementType

func (AssignmentDynamicScopeFilterOutput) Locations

Specifies a list of locations to scope the query to.

func (AssignmentDynamicScopeFilterOutput) OsTypes

Specifies a list of allowed operating systems.

func (AssignmentDynamicScopeFilterOutput) ResourceGroups

Specifies a list of allowed resource groups.

func (AssignmentDynamicScopeFilterOutput) ResourceTypes

Specifies a list of allowed resources.

func (AssignmentDynamicScopeFilterOutput) TagFilter

Filter VMs by `Any` or `All` specified tags. Defaults to `Any`.

func (AssignmentDynamicScopeFilterOutput) Tags

A mapping of tags for the VM

func (AssignmentDynamicScopeFilterOutput) ToAssignmentDynamicScopeFilterOutput

func (o AssignmentDynamicScopeFilterOutput) ToAssignmentDynamicScopeFilterOutput() AssignmentDynamicScopeFilterOutput

func (AssignmentDynamicScopeFilterOutput) ToAssignmentDynamicScopeFilterOutputWithContext

func (o AssignmentDynamicScopeFilterOutput) ToAssignmentDynamicScopeFilterOutputWithContext(ctx context.Context) AssignmentDynamicScopeFilterOutput

func (AssignmentDynamicScopeFilterOutput) ToAssignmentDynamicScopeFilterPtrOutput

func (o AssignmentDynamicScopeFilterOutput) ToAssignmentDynamicScopeFilterPtrOutput() AssignmentDynamicScopeFilterPtrOutput

func (AssignmentDynamicScopeFilterOutput) ToAssignmentDynamicScopeFilterPtrOutputWithContext

func (o AssignmentDynamicScopeFilterOutput) ToAssignmentDynamicScopeFilterPtrOutputWithContext(ctx context.Context) AssignmentDynamicScopeFilterPtrOutput

type AssignmentDynamicScopeFilterPtrInput

type AssignmentDynamicScopeFilterPtrInput interface {
	pulumi.Input

	ToAssignmentDynamicScopeFilterPtrOutput() AssignmentDynamicScopeFilterPtrOutput
	ToAssignmentDynamicScopeFilterPtrOutputWithContext(context.Context) AssignmentDynamicScopeFilterPtrOutput
}

AssignmentDynamicScopeFilterPtrInput is an input type that accepts AssignmentDynamicScopeFilterArgs, AssignmentDynamicScopeFilterPtr and AssignmentDynamicScopeFilterPtrOutput values. You can construct a concrete instance of `AssignmentDynamicScopeFilterPtrInput` via:

        AssignmentDynamicScopeFilterArgs{...}

or:

        nil

type AssignmentDynamicScopeFilterPtrOutput

type AssignmentDynamicScopeFilterPtrOutput struct{ *pulumi.OutputState }

func (AssignmentDynamicScopeFilterPtrOutput) Elem

func (AssignmentDynamicScopeFilterPtrOutput) ElementType

func (AssignmentDynamicScopeFilterPtrOutput) Locations

Specifies a list of locations to scope the query to.

func (AssignmentDynamicScopeFilterPtrOutput) OsTypes

Specifies a list of allowed operating systems.

func (AssignmentDynamicScopeFilterPtrOutput) ResourceGroups

Specifies a list of allowed resource groups.

func (AssignmentDynamicScopeFilterPtrOutput) ResourceTypes

Specifies a list of allowed resources.

func (AssignmentDynamicScopeFilterPtrOutput) TagFilter

Filter VMs by `Any` or `All` specified tags. Defaults to `Any`.

func (AssignmentDynamicScopeFilterPtrOutput) Tags

A mapping of tags for the VM

func (AssignmentDynamicScopeFilterPtrOutput) ToAssignmentDynamicScopeFilterPtrOutput

func (o AssignmentDynamicScopeFilterPtrOutput) ToAssignmentDynamicScopeFilterPtrOutput() AssignmentDynamicScopeFilterPtrOutput

func (AssignmentDynamicScopeFilterPtrOutput) ToAssignmentDynamicScopeFilterPtrOutputWithContext

func (o AssignmentDynamicScopeFilterPtrOutput) ToAssignmentDynamicScopeFilterPtrOutputWithContext(ctx context.Context) AssignmentDynamicScopeFilterPtrOutput

type AssignmentDynamicScopeFilterTag

type AssignmentDynamicScopeFilterTag struct {
	// Specifies the tag to filter by.
	Tag string `pulumi:"tag"`
	// Specifies a list of values the defined tag can have.
	Values []string `pulumi:"values"`
}

type AssignmentDynamicScopeFilterTagArgs

type AssignmentDynamicScopeFilterTagArgs struct {
	// Specifies the tag to filter by.
	Tag pulumi.StringInput `pulumi:"tag"`
	// Specifies a list of values the defined tag can have.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (AssignmentDynamicScopeFilterTagArgs) ElementType

func (AssignmentDynamicScopeFilterTagArgs) ToAssignmentDynamicScopeFilterTagOutput

func (i AssignmentDynamicScopeFilterTagArgs) ToAssignmentDynamicScopeFilterTagOutput() AssignmentDynamicScopeFilterTagOutput

func (AssignmentDynamicScopeFilterTagArgs) ToAssignmentDynamicScopeFilterTagOutputWithContext

func (i AssignmentDynamicScopeFilterTagArgs) ToAssignmentDynamicScopeFilterTagOutputWithContext(ctx context.Context) AssignmentDynamicScopeFilterTagOutput

type AssignmentDynamicScopeFilterTagArray

type AssignmentDynamicScopeFilterTagArray []AssignmentDynamicScopeFilterTagInput

func (AssignmentDynamicScopeFilterTagArray) ElementType

func (AssignmentDynamicScopeFilterTagArray) ToAssignmentDynamicScopeFilterTagArrayOutput

func (i AssignmentDynamicScopeFilterTagArray) ToAssignmentDynamicScopeFilterTagArrayOutput() AssignmentDynamicScopeFilterTagArrayOutput

func (AssignmentDynamicScopeFilterTagArray) ToAssignmentDynamicScopeFilterTagArrayOutputWithContext

func (i AssignmentDynamicScopeFilterTagArray) ToAssignmentDynamicScopeFilterTagArrayOutputWithContext(ctx context.Context) AssignmentDynamicScopeFilterTagArrayOutput

type AssignmentDynamicScopeFilterTagArrayInput

type AssignmentDynamicScopeFilterTagArrayInput interface {
	pulumi.Input

	ToAssignmentDynamicScopeFilterTagArrayOutput() AssignmentDynamicScopeFilterTagArrayOutput
	ToAssignmentDynamicScopeFilterTagArrayOutputWithContext(context.Context) AssignmentDynamicScopeFilterTagArrayOutput
}

AssignmentDynamicScopeFilterTagArrayInput is an input type that accepts AssignmentDynamicScopeFilterTagArray and AssignmentDynamicScopeFilterTagArrayOutput values. You can construct a concrete instance of `AssignmentDynamicScopeFilterTagArrayInput` via:

AssignmentDynamicScopeFilterTagArray{ AssignmentDynamicScopeFilterTagArgs{...} }

type AssignmentDynamicScopeFilterTagArrayOutput

type AssignmentDynamicScopeFilterTagArrayOutput struct{ *pulumi.OutputState }

func (AssignmentDynamicScopeFilterTagArrayOutput) ElementType

func (AssignmentDynamicScopeFilterTagArrayOutput) Index

func (AssignmentDynamicScopeFilterTagArrayOutput) ToAssignmentDynamicScopeFilterTagArrayOutput

func (o AssignmentDynamicScopeFilterTagArrayOutput) ToAssignmentDynamicScopeFilterTagArrayOutput() AssignmentDynamicScopeFilterTagArrayOutput

func (AssignmentDynamicScopeFilterTagArrayOutput) ToAssignmentDynamicScopeFilterTagArrayOutputWithContext

func (o AssignmentDynamicScopeFilterTagArrayOutput) ToAssignmentDynamicScopeFilterTagArrayOutputWithContext(ctx context.Context) AssignmentDynamicScopeFilterTagArrayOutput

type AssignmentDynamicScopeFilterTagInput

type AssignmentDynamicScopeFilterTagInput interface {
	pulumi.Input

	ToAssignmentDynamicScopeFilterTagOutput() AssignmentDynamicScopeFilterTagOutput
	ToAssignmentDynamicScopeFilterTagOutputWithContext(context.Context) AssignmentDynamicScopeFilterTagOutput
}

AssignmentDynamicScopeFilterTagInput is an input type that accepts AssignmentDynamicScopeFilterTagArgs and AssignmentDynamicScopeFilterTagOutput values. You can construct a concrete instance of `AssignmentDynamicScopeFilterTagInput` via:

AssignmentDynamicScopeFilterTagArgs{...}

type AssignmentDynamicScopeFilterTagOutput

type AssignmentDynamicScopeFilterTagOutput struct{ *pulumi.OutputState }

func (AssignmentDynamicScopeFilterTagOutput) ElementType

func (AssignmentDynamicScopeFilterTagOutput) Tag

Specifies the tag to filter by.

func (AssignmentDynamicScopeFilterTagOutput) ToAssignmentDynamicScopeFilterTagOutput

func (o AssignmentDynamicScopeFilterTagOutput) ToAssignmentDynamicScopeFilterTagOutput() AssignmentDynamicScopeFilterTagOutput

func (AssignmentDynamicScopeFilterTagOutput) ToAssignmentDynamicScopeFilterTagOutputWithContext

func (o AssignmentDynamicScopeFilterTagOutput) ToAssignmentDynamicScopeFilterTagOutputWithContext(ctx context.Context) AssignmentDynamicScopeFilterTagOutput

func (AssignmentDynamicScopeFilterTagOutput) Values

Specifies a list of values the defined tag can have.

type AssignmentDynamicScopeInput

type AssignmentDynamicScopeInput interface {
	pulumi.Input

	ToAssignmentDynamicScopeOutput() AssignmentDynamicScopeOutput
	ToAssignmentDynamicScopeOutputWithContext(ctx context.Context) AssignmentDynamicScopeOutput
}

type AssignmentDynamicScopeMap

type AssignmentDynamicScopeMap map[string]AssignmentDynamicScopeInput

func (AssignmentDynamicScopeMap) ElementType

func (AssignmentDynamicScopeMap) ElementType() reflect.Type

func (AssignmentDynamicScopeMap) ToAssignmentDynamicScopeMapOutput

func (i AssignmentDynamicScopeMap) ToAssignmentDynamicScopeMapOutput() AssignmentDynamicScopeMapOutput

func (AssignmentDynamicScopeMap) ToAssignmentDynamicScopeMapOutputWithContext

func (i AssignmentDynamicScopeMap) ToAssignmentDynamicScopeMapOutputWithContext(ctx context.Context) AssignmentDynamicScopeMapOutput

type AssignmentDynamicScopeMapInput

type AssignmentDynamicScopeMapInput interface {
	pulumi.Input

	ToAssignmentDynamicScopeMapOutput() AssignmentDynamicScopeMapOutput
	ToAssignmentDynamicScopeMapOutputWithContext(context.Context) AssignmentDynamicScopeMapOutput
}

AssignmentDynamicScopeMapInput is an input type that accepts AssignmentDynamicScopeMap and AssignmentDynamicScopeMapOutput values. You can construct a concrete instance of `AssignmentDynamicScopeMapInput` via:

AssignmentDynamicScopeMap{ "key": AssignmentDynamicScopeArgs{...} }

type AssignmentDynamicScopeMapOutput

type AssignmentDynamicScopeMapOutput struct{ *pulumi.OutputState }

func (AssignmentDynamicScopeMapOutput) ElementType

func (AssignmentDynamicScopeMapOutput) MapIndex

func (AssignmentDynamicScopeMapOutput) ToAssignmentDynamicScopeMapOutput

func (o AssignmentDynamicScopeMapOutput) ToAssignmentDynamicScopeMapOutput() AssignmentDynamicScopeMapOutput

func (AssignmentDynamicScopeMapOutput) ToAssignmentDynamicScopeMapOutputWithContext

func (o AssignmentDynamicScopeMapOutput) ToAssignmentDynamicScopeMapOutputWithContext(ctx context.Context) AssignmentDynamicScopeMapOutput

type AssignmentDynamicScopeOutput

type AssignmentDynamicScopeOutput struct{ *pulumi.OutputState }

func (AssignmentDynamicScopeOutput) ElementType

func (AssignmentDynamicScopeOutput) Filter

A `filter` block as defined below.

func (AssignmentDynamicScopeOutput) MaintenanceConfigurationId

func (o AssignmentDynamicScopeOutput) MaintenanceConfigurationId() pulumi.StringOutput

The ID of the Maintenance Configuration Resource. Changing this forces a new Dynamic Maintenance Assignment to be created.

func (AssignmentDynamicScopeOutput) Name

The name which should be used for this Dynamic Maintenance Assignment. Changing this forces a new Dynamic Maintenance Assignment to be created.

> **Note:** The `name` must be unique per subscription.

func (AssignmentDynamicScopeOutput) ToAssignmentDynamicScopeOutput

func (o AssignmentDynamicScopeOutput) ToAssignmentDynamicScopeOutput() AssignmentDynamicScopeOutput

func (AssignmentDynamicScopeOutput) ToAssignmentDynamicScopeOutputWithContext

func (o AssignmentDynamicScopeOutput) ToAssignmentDynamicScopeOutputWithContext(ctx context.Context) AssignmentDynamicScopeOutput

type AssignmentDynamicScopeState

type AssignmentDynamicScopeState struct {
	// A `filter` block as defined below.
	Filter AssignmentDynamicScopeFilterPtrInput
	// The ID of the Maintenance Configuration Resource. Changing this forces a new Dynamic Maintenance Assignment to be created.
	MaintenanceConfigurationId pulumi.StringPtrInput
	// The name which should be used for this Dynamic Maintenance Assignment. Changing this forces a new Dynamic Maintenance Assignment to be created.
	//
	// > **Note:** The `name` must be unique per subscription.
	Name pulumi.StringPtrInput
}

func (AssignmentDynamicScopeState) ElementType

type AssignmentVirtualMachine

type AssignmentVirtualMachine struct {
	pulumi.CustomResourceState

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the ID of the Maintenance Configuration Resource. Changing this forces a new resource to be created.
	MaintenanceConfigurationId pulumi.StringOutput `pulumi:"maintenanceConfigurationId"`
	// Specifies the Virtual Machine ID to which the Maintenance Configuration will be assigned. Changing this forces a new resource to be created.
	VirtualMachineId pulumi.StringOutput `pulumi:"virtualMachineId"`
}

Manages a maintenance assignment to virtual machine.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/compute"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/maintenance"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi-std/sdk/go/std"
"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-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name: pulumi.String("example-network"),
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
			Location:          example.Location,
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("internal"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.2.0/24"),
			},
		})
		if err != nil {
			return err
		}
		exampleNetworkInterface, err := network.NewNetworkInterface(ctx, "example", &network.NetworkInterfaceArgs{
			Name:              pulumi.String("example-nic"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			IpConfigurations: network.NetworkInterfaceIpConfigurationArray{
				&network.NetworkInterfaceIpConfigurationArgs{
					Name:                       pulumi.String("internal"),
					SubnetId:                   exampleSubnet.ID(),
					PrivateIpAddressAllocation: pulumi.String("Dynamic"),
				},
			},
		})
		if err != nil {
			return err
		}
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "~/.ssh/id_rsa.pub",
		}, nil)
		if err != nil {
			return err
		}
		exampleLinuxVirtualMachine, err := compute.NewLinuxVirtualMachine(ctx, "example", &compute.LinuxVirtualMachineArgs{
			Name:              pulumi.String("example-machine"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			Size:              pulumi.String("Standard_F2"),
			AdminUsername:     pulumi.String("adminuser"),
			NetworkInterfaceIds: pulumi.StringArray{
				exampleNetworkInterface.ID(),
			},
			AdminSshKeys: compute.LinuxVirtualMachineAdminSshKeyArray{
				&compute.LinuxVirtualMachineAdminSshKeyArgs{
					Username:  pulumi.String("adminuser"),
					PublicKey: pulumi.String(invokeFile.Result),
				},
			},
			OsDisk: &compute.LinuxVirtualMachineOsDiskArgs{
				Caching:            pulumi.String("ReadWrite"),
				StorageAccountType: pulumi.String("Standard_LRS"),
			},
			SourceImageReference: &compute.LinuxVirtualMachineSourceImageReferenceArgs{
				Publisher: pulumi.String("Canonical"),
				Offer:     pulumi.String("0001-com-ubuntu-server-jammy"),
				Sku:       pulumi.String("22_04-lts"),
				Version:   pulumi.String("latest"),
			},
		})
		if err != nil {
			return err
		}
		exampleConfiguration, err := maintenance.NewConfiguration(ctx, "example", &maintenance.ConfigurationArgs{
			Name:              pulumi.String("example-mc"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			Scope:             pulumi.String("All"),
		})
		if err != nil {
			return err
		}
		_, err = maintenance.NewAssignmentVirtualMachine(ctx, "example", &maintenance.AssignmentVirtualMachineArgs{
			Location:                   example.Location,
			MaintenanceConfigurationId: exampleConfiguration.ID(),
			VirtualMachineId:           exampleLinuxVirtualMachine.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Maintenance Assignment can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:maintenance/assignmentVirtualMachine:AssignmentVirtualMachine example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Maintenance/configurationAssignments/assign1 ```

func GetAssignmentVirtualMachine

func GetAssignmentVirtualMachine(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AssignmentVirtualMachineState, opts ...pulumi.ResourceOption) (*AssignmentVirtualMachine, error)

GetAssignmentVirtualMachine gets an existing AssignmentVirtualMachine resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAssignmentVirtualMachine

func NewAssignmentVirtualMachine(ctx *pulumi.Context,
	name string, args *AssignmentVirtualMachineArgs, opts ...pulumi.ResourceOption) (*AssignmentVirtualMachine, error)

NewAssignmentVirtualMachine registers a new resource with the given unique name, arguments, and options.

func (*AssignmentVirtualMachine) ElementType

func (*AssignmentVirtualMachine) ElementType() reflect.Type

func (*AssignmentVirtualMachine) ToAssignmentVirtualMachineOutput

func (i *AssignmentVirtualMachine) ToAssignmentVirtualMachineOutput() AssignmentVirtualMachineOutput

func (*AssignmentVirtualMachine) ToAssignmentVirtualMachineOutputWithContext

func (i *AssignmentVirtualMachine) ToAssignmentVirtualMachineOutputWithContext(ctx context.Context) AssignmentVirtualMachineOutput

type AssignmentVirtualMachineArgs

type AssignmentVirtualMachineArgs struct {
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the ID of the Maintenance Configuration Resource. Changing this forces a new resource to be created.
	MaintenanceConfigurationId pulumi.StringInput
	// Specifies the Virtual Machine ID to which the Maintenance Configuration will be assigned. Changing this forces a new resource to be created.
	VirtualMachineId pulumi.StringInput
}

The set of arguments for constructing a AssignmentVirtualMachine resource.

func (AssignmentVirtualMachineArgs) ElementType

type AssignmentVirtualMachineArray

type AssignmentVirtualMachineArray []AssignmentVirtualMachineInput

func (AssignmentVirtualMachineArray) ElementType

func (AssignmentVirtualMachineArray) ToAssignmentVirtualMachineArrayOutput

func (i AssignmentVirtualMachineArray) ToAssignmentVirtualMachineArrayOutput() AssignmentVirtualMachineArrayOutput

func (AssignmentVirtualMachineArray) ToAssignmentVirtualMachineArrayOutputWithContext

func (i AssignmentVirtualMachineArray) ToAssignmentVirtualMachineArrayOutputWithContext(ctx context.Context) AssignmentVirtualMachineArrayOutput

type AssignmentVirtualMachineArrayInput

type AssignmentVirtualMachineArrayInput interface {
	pulumi.Input

	ToAssignmentVirtualMachineArrayOutput() AssignmentVirtualMachineArrayOutput
	ToAssignmentVirtualMachineArrayOutputWithContext(context.Context) AssignmentVirtualMachineArrayOutput
}

AssignmentVirtualMachineArrayInput is an input type that accepts AssignmentVirtualMachineArray and AssignmentVirtualMachineArrayOutput values. You can construct a concrete instance of `AssignmentVirtualMachineArrayInput` via:

AssignmentVirtualMachineArray{ AssignmentVirtualMachineArgs{...} }

type AssignmentVirtualMachineArrayOutput

type AssignmentVirtualMachineArrayOutput struct{ *pulumi.OutputState }

func (AssignmentVirtualMachineArrayOutput) ElementType

func (AssignmentVirtualMachineArrayOutput) Index

func (AssignmentVirtualMachineArrayOutput) ToAssignmentVirtualMachineArrayOutput

func (o AssignmentVirtualMachineArrayOutput) ToAssignmentVirtualMachineArrayOutput() AssignmentVirtualMachineArrayOutput

func (AssignmentVirtualMachineArrayOutput) ToAssignmentVirtualMachineArrayOutputWithContext

func (o AssignmentVirtualMachineArrayOutput) ToAssignmentVirtualMachineArrayOutputWithContext(ctx context.Context) AssignmentVirtualMachineArrayOutput

type AssignmentVirtualMachineInput

type AssignmentVirtualMachineInput interface {
	pulumi.Input

	ToAssignmentVirtualMachineOutput() AssignmentVirtualMachineOutput
	ToAssignmentVirtualMachineOutputWithContext(ctx context.Context) AssignmentVirtualMachineOutput
}

type AssignmentVirtualMachineMap

type AssignmentVirtualMachineMap map[string]AssignmentVirtualMachineInput

func (AssignmentVirtualMachineMap) ElementType

func (AssignmentVirtualMachineMap) ToAssignmentVirtualMachineMapOutput

func (i AssignmentVirtualMachineMap) ToAssignmentVirtualMachineMapOutput() AssignmentVirtualMachineMapOutput

func (AssignmentVirtualMachineMap) ToAssignmentVirtualMachineMapOutputWithContext

func (i AssignmentVirtualMachineMap) ToAssignmentVirtualMachineMapOutputWithContext(ctx context.Context) AssignmentVirtualMachineMapOutput

type AssignmentVirtualMachineMapInput

type AssignmentVirtualMachineMapInput interface {
	pulumi.Input

	ToAssignmentVirtualMachineMapOutput() AssignmentVirtualMachineMapOutput
	ToAssignmentVirtualMachineMapOutputWithContext(context.Context) AssignmentVirtualMachineMapOutput
}

AssignmentVirtualMachineMapInput is an input type that accepts AssignmentVirtualMachineMap and AssignmentVirtualMachineMapOutput values. You can construct a concrete instance of `AssignmentVirtualMachineMapInput` via:

AssignmentVirtualMachineMap{ "key": AssignmentVirtualMachineArgs{...} }

type AssignmentVirtualMachineMapOutput

type AssignmentVirtualMachineMapOutput struct{ *pulumi.OutputState }

func (AssignmentVirtualMachineMapOutput) ElementType

func (AssignmentVirtualMachineMapOutput) MapIndex

func (AssignmentVirtualMachineMapOutput) ToAssignmentVirtualMachineMapOutput

func (o AssignmentVirtualMachineMapOutput) ToAssignmentVirtualMachineMapOutput() AssignmentVirtualMachineMapOutput

func (AssignmentVirtualMachineMapOutput) ToAssignmentVirtualMachineMapOutputWithContext

func (o AssignmentVirtualMachineMapOutput) ToAssignmentVirtualMachineMapOutputWithContext(ctx context.Context) AssignmentVirtualMachineMapOutput

type AssignmentVirtualMachineOutput

type AssignmentVirtualMachineOutput struct{ *pulumi.OutputState }

func (AssignmentVirtualMachineOutput) ElementType

func (AssignmentVirtualMachineOutput) Location

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (AssignmentVirtualMachineOutput) MaintenanceConfigurationId

func (o AssignmentVirtualMachineOutput) MaintenanceConfigurationId() pulumi.StringOutput

Specifies the ID of the Maintenance Configuration Resource. Changing this forces a new resource to be created.

func (AssignmentVirtualMachineOutput) ToAssignmentVirtualMachineOutput

func (o AssignmentVirtualMachineOutput) ToAssignmentVirtualMachineOutput() AssignmentVirtualMachineOutput

func (AssignmentVirtualMachineOutput) ToAssignmentVirtualMachineOutputWithContext

func (o AssignmentVirtualMachineOutput) ToAssignmentVirtualMachineOutputWithContext(ctx context.Context) AssignmentVirtualMachineOutput

func (AssignmentVirtualMachineOutput) VirtualMachineId

func (o AssignmentVirtualMachineOutput) VirtualMachineId() pulumi.StringOutput

Specifies the Virtual Machine ID to which the Maintenance Configuration will be assigned. Changing this forces a new resource to be created.

type AssignmentVirtualMachineScaleSet

type AssignmentVirtualMachineScaleSet struct {
	pulumi.CustomResourceState

	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the ID of the Maintenance Configuration Resource. Changing this forces a new resource to be created.
	MaintenanceConfigurationId pulumi.StringOutput `pulumi:"maintenanceConfigurationId"`
	// Specifies the Virtual Machine Scale Set ID to which the Maintenance Configuration will be assigned. Changing this forces a new resource to be created.
	VirtualMachineScaleSetId pulumi.StringOutput `pulumi:"virtualMachineScaleSetId"`
}

Manages a maintenance assignment to a virtual machine scale set.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/compute"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/lb"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/maintenance"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"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-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name: pulumi.String("example-network"),
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
			Location:          example.Location,
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("internal"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.2.0/24"),
			},
		})
		if err != nil {
			return err
		}
		examplePublicIp, err := network.NewPublicIp(ctx, "example", &network.PublicIpArgs{
			Name:              example.Name,
			Location:          example.Location,
			ResourceGroupName: example.Name,
			AllocationMethod:  pulumi.String("Static"),
		})
		if err != nil {
			return err
		}
		exampleLoadBalancer, err := lb.NewLoadBalancer(ctx, "example", &lb.LoadBalancerArgs{
			Name:              example.Name,
			Location:          example.Location,
			ResourceGroupName: example.Name,
			FrontendIpConfigurations: lb.LoadBalancerFrontendIpConfigurationArray{
				&lb.LoadBalancerFrontendIpConfigurationArgs{
					Name:              pulumi.String("internal"),
					PublicIpAddressId: examplePublicIp.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleBackendAddressPool, err := lb.NewBackendAddressPool(ctx, "example", &lb.BackendAddressPoolArgs{
			Name:           pulumi.String("example"),
			LoadbalancerId: exampleLoadBalancer.ID(),
		})
		if err != nil {
			return err
		}
		exampleProbe, err := lb.NewProbe(ctx, "example", &lb.ProbeArgs{
			Name:           pulumi.String("example"),
			LoadbalancerId: exampleLoadBalancer.ID(),
			Port:           pulumi.Int(22),
			Protocol:       pulumi.String("Tcp"),
		})
		if err != nil {
			return err
		}
		exampleRule, err := lb.NewRule(ctx, "example", &lb.RuleArgs{
			Name:                        pulumi.String("example"),
			LoadbalancerId:              exampleLoadBalancer.ID(),
			ProbeId:                     exampleProbe.ID(),
			FrontendIpConfigurationName: pulumi.String("internal"),
			Protocol:                    pulumi.String("Tcp"),
			FrontendPort:                pulumi.Int(22),
			BackendPort:                 pulumi.Int(22),
		})
		if err != nil {
			return err
		}
		exampleConfiguration, err := maintenance.NewConfiguration(ctx, "example", &maintenance.ConfigurationArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			Scope:             pulumi.String("OSImage"),
			Visibility:        pulumi.String("Custom"),
			Window: &maintenance.ConfigurationWindowArgs{
				StartDateTime:      pulumi.String("2021-12-31 00:00"),
				ExpirationDateTime: pulumi.String("9999-12-31 00:00"),
				Duration:           pulumi.String("06:00"),
				TimeZone:           pulumi.String("Pacific Standard Time"),
				RecurEvery:         pulumi.String("1Days"),
			},
		})
		if err != nil {
			return err
		}
		exampleNetworkInterface, err := network.NewNetworkInterface(ctx, "example", &network.NetworkInterfaceArgs{
			Name:              pulumi.String("sample-nic"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			IpConfigurations: network.NetworkInterfaceIpConfigurationArray{
				&network.NetworkInterfaceIpConfigurationArgs{
					Name:                       pulumi.String("testconfiguration1"),
					PrivateIpAddressAllocation: pulumi.String("Dynamic"),
				},
			},
		})
		if err != nil {
			return err
		}
		exampleLinuxVirtualMachine, err := compute.NewLinuxVirtualMachine(ctx, "example", &compute.LinuxVirtualMachineArgs{
			Name:              pulumi.String("example-machine"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			Size:              pulumi.String("Standard_F2"),
			AdminUsername:     pulumi.String("adminuser"),
			NetworkInterfaceIds: pulumi.StringArray{
				exampleNetworkInterface.ID(),
			},
			OsDisk: &compute.LinuxVirtualMachineOsDiskArgs{
				Caching:            pulumi.String("ReadWrite"),
				StorageAccountType: pulumi.String("Standard_LRS"),
			},
		})
		if err != nil {
			return err
		}
		_, err = compute.NewLinuxVirtualMachineScaleSet(ctx, "example", &compute.LinuxVirtualMachineScaleSetArgs{
			Name:                          pulumi.String("example"),
			ResourceGroupName:             example.Name,
			Location:                      example.Location,
			Sku:                           pulumi.String("Standard_F2"),
			Instances:                     pulumi.Int(1),
			AdminUsername:                 pulumi.String("adminuser"),
			AdminPassword:                 pulumi.String("P@ssword1234!"),
			UpgradeMode:                   pulumi.String("Automatic"),
			HealthProbeId:                 exampleProbe.ID(),
			DisablePasswordAuthentication: pulumi.Bool(false),
			SourceImageReference: &compute.LinuxVirtualMachineScaleSetSourceImageReferenceArgs{
				Publisher: pulumi.String("Canonical"),
				Offer:     pulumi.String("0001-com-ubuntu-server-jammy"),
				Sku:       pulumi.String("22_04-lts"),
				Version:   pulumi.String("latest"),
			},
			OsDisk: &compute.LinuxVirtualMachineScaleSetOsDiskArgs{
				StorageAccountType: pulumi.String("Standard_LRS"),
				Caching:            pulumi.String("ReadWrite"),
			},
			NetworkInterfaces: compute.LinuxVirtualMachineScaleSetNetworkInterfaceArray{
				&compute.LinuxVirtualMachineScaleSetNetworkInterfaceArgs{
					Name:    pulumi.String("example"),
					Primary: pulumi.Bool(true),
					IpConfigurations: compute.LinuxVirtualMachineScaleSetNetworkInterfaceIpConfigurationArray{
						&compute.LinuxVirtualMachineScaleSetNetworkInterfaceIpConfigurationArgs{
							Name:     pulumi.String("internal"),
							Primary:  pulumi.Bool(true),
							SubnetId: exampleSubnet.ID(),
							LoadBalancerBackendAddressPoolIds: pulumi.StringArray{
								exampleBackendAddressPool.ID(),
							},
						},
					},
				},
			},
			AutomaticOsUpgradePolicy: &compute.LinuxVirtualMachineScaleSetAutomaticOsUpgradePolicyArgs{
				DisableAutomaticRollback: pulumi.Bool(true),
				EnableAutomaticOsUpgrade: pulumi.Bool(true),
			},
			RollingUpgradePolicy: &compute.LinuxVirtualMachineScaleSetRollingUpgradePolicyArgs{
				MaxBatchInstancePercent:             pulumi.Int(20),
				MaxUnhealthyInstancePercent:         pulumi.Int(20),
				MaxUnhealthyUpgradedInstancePercent: pulumi.Int(20),
				PauseTimeBetweenBatches:             pulumi.String("PT0S"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleRule,
		}))
		if err != nil {
			return err
		}
		_, err = maintenance.NewAssignmentVirtualMachineScaleSet(ctx, "example", &maintenance.AssignmentVirtualMachineScaleSetArgs{
			Location:                   example.Location,
			MaintenanceConfigurationId: exampleConfiguration.ID(),
			VirtualMachineScaleSetId:   exampleLinuxVirtualMachine.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Maintenance Assignment can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:maintenance/assignmentVirtualMachineScaleSet:AssignmentVirtualMachineScaleSet example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/providers/Microsoft.Maintenance/configurationAssignments/assign1 ```

func GetAssignmentVirtualMachineScaleSet

func GetAssignmentVirtualMachineScaleSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AssignmentVirtualMachineScaleSetState, opts ...pulumi.ResourceOption) (*AssignmentVirtualMachineScaleSet, error)

GetAssignmentVirtualMachineScaleSet gets an existing AssignmentVirtualMachineScaleSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAssignmentVirtualMachineScaleSet

func NewAssignmentVirtualMachineScaleSet(ctx *pulumi.Context,
	name string, args *AssignmentVirtualMachineScaleSetArgs, opts ...pulumi.ResourceOption) (*AssignmentVirtualMachineScaleSet, error)

NewAssignmentVirtualMachineScaleSet registers a new resource with the given unique name, arguments, and options.

func (*AssignmentVirtualMachineScaleSet) ElementType

func (*AssignmentVirtualMachineScaleSet) ToAssignmentVirtualMachineScaleSetOutput

func (i *AssignmentVirtualMachineScaleSet) ToAssignmentVirtualMachineScaleSetOutput() AssignmentVirtualMachineScaleSetOutput

func (*AssignmentVirtualMachineScaleSet) ToAssignmentVirtualMachineScaleSetOutputWithContext

func (i *AssignmentVirtualMachineScaleSet) ToAssignmentVirtualMachineScaleSetOutputWithContext(ctx context.Context) AssignmentVirtualMachineScaleSetOutput

type AssignmentVirtualMachineScaleSetArgs

type AssignmentVirtualMachineScaleSetArgs struct {
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the ID of the Maintenance Configuration Resource. Changing this forces a new resource to be created.
	MaintenanceConfigurationId pulumi.StringInput
	// Specifies the Virtual Machine Scale Set ID to which the Maintenance Configuration will be assigned. Changing this forces a new resource to be created.
	VirtualMachineScaleSetId pulumi.StringInput
}

The set of arguments for constructing a AssignmentVirtualMachineScaleSet resource.

func (AssignmentVirtualMachineScaleSetArgs) ElementType

type AssignmentVirtualMachineScaleSetArray

type AssignmentVirtualMachineScaleSetArray []AssignmentVirtualMachineScaleSetInput

func (AssignmentVirtualMachineScaleSetArray) ElementType

func (AssignmentVirtualMachineScaleSetArray) ToAssignmentVirtualMachineScaleSetArrayOutput

func (i AssignmentVirtualMachineScaleSetArray) ToAssignmentVirtualMachineScaleSetArrayOutput() AssignmentVirtualMachineScaleSetArrayOutput

func (AssignmentVirtualMachineScaleSetArray) ToAssignmentVirtualMachineScaleSetArrayOutputWithContext

func (i AssignmentVirtualMachineScaleSetArray) ToAssignmentVirtualMachineScaleSetArrayOutputWithContext(ctx context.Context) AssignmentVirtualMachineScaleSetArrayOutput

type AssignmentVirtualMachineScaleSetArrayInput

type AssignmentVirtualMachineScaleSetArrayInput interface {
	pulumi.Input

	ToAssignmentVirtualMachineScaleSetArrayOutput() AssignmentVirtualMachineScaleSetArrayOutput
	ToAssignmentVirtualMachineScaleSetArrayOutputWithContext(context.Context) AssignmentVirtualMachineScaleSetArrayOutput
}

AssignmentVirtualMachineScaleSetArrayInput is an input type that accepts AssignmentVirtualMachineScaleSetArray and AssignmentVirtualMachineScaleSetArrayOutput values. You can construct a concrete instance of `AssignmentVirtualMachineScaleSetArrayInput` via:

AssignmentVirtualMachineScaleSetArray{ AssignmentVirtualMachineScaleSetArgs{...} }

type AssignmentVirtualMachineScaleSetArrayOutput

type AssignmentVirtualMachineScaleSetArrayOutput struct{ *pulumi.OutputState }

func (AssignmentVirtualMachineScaleSetArrayOutput) ElementType

func (AssignmentVirtualMachineScaleSetArrayOutput) Index

func (AssignmentVirtualMachineScaleSetArrayOutput) ToAssignmentVirtualMachineScaleSetArrayOutput

func (o AssignmentVirtualMachineScaleSetArrayOutput) ToAssignmentVirtualMachineScaleSetArrayOutput() AssignmentVirtualMachineScaleSetArrayOutput

func (AssignmentVirtualMachineScaleSetArrayOutput) ToAssignmentVirtualMachineScaleSetArrayOutputWithContext

func (o AssignmentVirtualMachineScaleSetArrayOutput) ToAssignmentVirtualMachineScaleSetArrayOutputWithContext(ctx context.Context) AssignmentVirtualMachineScaleSetArrayOutput

type AssignmentVirtualMachineScaleSetInput

type AssignmentVirtualMachineScaleSetInput interface {
	pulumi.Input

	ToAssignmentVirtualMachineScaleSetOutput() AssignmentVirtualMachineScaleSetOutput
	ToAssignmentVirtualMachineScaleSetOutputWithContext(ctx context.Context) AssignmentVirtualMachineScaleSetOutput
}

type AssignmentVirtualMachineScaleSetMap

type AssignmentVirtualMachineScaleSetMap map[string]AssignmentVirtualMachineScaleSetInput

func (AssignmentVirtualMachineScaleSetMap) ElementType

func (AssignmentVirtualMachineScaleSetMap) ToAssignmentVirtualMachineScaleSetMapOutput

func (i AssignmentVirtualMachineScaleSetMap) ToAssignmentVirtualMachineScaleSetMapOutput() AssignmentVirtualMachineScaleSetMapOutput

func (AssignmentVirtualMachineScaleSetMap) ToAssignmentVirtualMachineScaleSetMapOutputWithContext

func (i AssignmentVirtualMachineScaleSetMap) ToAssignmentVirtualMachineScaleSetMapOutputWithContext(ctx context.Context) AssignmentVirtualMachineScaleSetMapOutput

type AssignmentVirtualMachineScaleSetMapInput

type AssignmentVirtualMachineScaleSetMapInput interface {
	pulumi.Input

	ToAssignmentVirtualMachineScaleSetMapOutput() AssignmentVirtualMachineScaleSetMapOutput
	ToAssignmentVirtualMachineScaleSetMapOutputWithContext(context.Context) AssignmentVirtualMachineScaleSetMapOutput
}

AssignmentVirtualMachineScaleSetMapInput is an input type that accepts AssignmentVirtualMachineScaleSetMap and AssignmentVirtualMachineScaleSetMapOutput values. You can construct a concrete instance of `AssignmentVirtualMachineScaleSetMapInput` via:

AssignmentVirtualMachineScaleSetMap{ "key": AssignmentVirtualMachineScaleSetArgs{...} }

type AssignmentVirtualMachineScaleSetMapOutput

type AssignmentVirtualMachineScaleSetMapOutput struct{ *pulumi.OutputState }

func (AssignmentVirtualMachineScaleSetMapOutput) ElementType

func (AssignmentVirtualMachineScaleSetMapOutput) MapIndex

func (AssignmentVirtualMachineScaleSetMapOutput) ToAssignmentVirtualMachineScaleSetMapOutput

func (o AssignmentVirtualMachineScaleSetMapOutput) ToAssignmentVirtualMachineScaleSetMapOutput() AssignmentVirtualMachineScaleSetMapOutput

func (AssignmentVirtualMachineScaleSetMapOutput) ToAssignmentVirtualMachineScaleSetMapOutputWithContext

func (o AssignmentVirtualMachineScaleSetMapOutput) ToAssignmentVirtualMachineScaleSetMapOutputWithContext(ctx context.Context) AssignmentVirtualMachineScaleSetMapOutput

type AssignmentVirtualMachineScaleSetOutput

type AssignmentVirtualMachineScaleSetOutput struct{ *pulumi.OutputState }

func (AssignmentVirtualMachineScaleSetOutput) ElementType

func (AssignmentVirtualMachineScaleSetOutput) Location

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (AssignmentVirtualMachineScaleSetOutput) MaintenanceConfigurationId

func (o AssignmentVirtualMachineScaleSetOutput) MaintenanceConfigurationId() pulumi.StringOutput

Specifies the ID of the Maintenance Configuration Resource. Changing this forces a new resource to be created.

func (AssignmentVirtualMachineScaleSetOutput) ToAssignmentVirtualMachineScaleSetOutput

func (o AssignmentVirtualMachineScaleSetOutput) ToAssignmentVirtualMachineScaleSetOutput() AssignmentVirtualMachineScaleSetOutput

func (AssignmentVirtualMachineScaleSetOutput) ToAssignmentVirtualMachineScaleSetOutputWithContext

func (o AssignmentVirtualMachineScaleSetOutput) ToAssignmentVirtualMachineScaleSetOutputWithContext(ctx context.Context) AssignmentVirtualMachineScaleSetOutput

func (AssignmentVirtualMachineScaleSetOutput) VirtualMachineScaleSetId

func (o AssignmentVirtualMachineScaleSetOutput) VirtualMachineScaleSetId() pulumi.StringOutput

Specifies the Virtual Machine Scale Set ID to which the Maintenance Configuration will be assigned. Changing this forces a new resource to be created.

type AssignmentVirtualMachineScaleSetState

type AssignmentVirtualMachineScaleSetState struct {
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the ID of the Maintenance Configuration Resource. Changing this forces a new resource to be created.
	MaintenanceConfigurationId pulumi.StringPtrInput
	// Specifies the Virtual Machine Scale Set ID to which the Maintenance Configuration will be assigned. Changing this forces a new resource to be created.
	VirtualMachineScaleSetId pulumi.StringPtrInput
}

func (AssignmentVirtualMachineScaleSetState) ElementType

type AssignmentVirtualMachineState

type AssignmentVirtualMachineState struct {
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the ID of the Maintenance Configuration Resource. Changing this forces a new resource to be created.
	MaintenanceConfigurationId pulumi.StringPtrInput
	// Specifies the Virtual Machine ID to which the Maintenance Configuration will be assigned. Changing this forces a new resource to be created.
	VirtualMachineId pulumi.StringPtrInput
}

func (AssignmentVirtualMachineState) ElementType

type Configuration

type Configuration struct {
	pulumi.CustomResourceState

	// The in guest user patch mode. Possible values are `Platform` or `User`. Must be specified when `scope` is `InGuestPatch`.
	InGuestUserPatchMode pulumi.StringPtrOutput `pulumi:"inGuestUserPatchMode"`
	// An `installPatches` block as defined below.
	//
	// > **NOTE:** `installPatches` must be specified when `scope` is `InGuestPatch`.
	InstallPatches ConfigurationInstallPatchesPtrOutput `pulumi:"installPatches"`
	// Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of the Maintenance Configuration. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// A mapping of properties to assign to the resource.
	Properties pulumi.StringMapOutput `pulumi:"properties"`
	// The name of the Resource Group where the Maintenance Configuration should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The scope of the Maintenance Configuration. Possible values are `Extension`, `Host`, `InGuestPatch`, `OSImage`, `SQLDB` or `SQLManagedInstance`.
	Scope pulumi.StringOutput `pulumi:"scope"`
	// A mapping of tags to assign to the resource. The key could not contain upper case letter.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The visibility of the Maintenance Configuration. The only allowable value is `Custom`. Defaults to `Custom`.
	Visibility pulumi.StringPtrOutput `pulumi:"visibility"`
	// A `window` block as defined below.
	Window ConfigurationWindowPtrOutput `pulumi:"window"`
}

Manages a maintenance configuration.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/maintenance"
"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-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = maintenance.NewConfiguration(ctx, "example", &maintenance.ConfigurationArgs{
			Name:              pulumi.String("example-mc"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			Scope:             pulumi.String("SQLDB"),
			Tags: pulumi.StringMap{
				"Env": pulumi.String("prod"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Maintenance Configuration can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:maintenance/configuration:Configuration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Maintenance/maintenanceConfigurations/example-mc ```

func GetConfiguration

func GetConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigurationState, opts ...pulumi.ResourceOption) (*Configuration, error)

GetConfiguration gets an existing Configuration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConfiguration

func NewConfiguration(ctx *pulumi.Context,
	name string, args *ConfigurationArgs, opts ...pulumi.ResourceOption) (*Configuration, error)

NewConfiguration registers a new resource with the given unique name, arguments, and options.

func (*Configuration) ElementType

func (*Configuration) ElementType() reflect.Type

func (*Configuration) ToConfigurationOutput

func (i *Configuration) ToConfigurationOutput() ConfigurationOutput

func (*Configuration) ToConfigurationOutputWithContext

func (i *Configuration) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput

type ConfigurationArgs

type ConfigurationArgs struct {
	// The in guest user patch mode. Possible values are `Platform` or `User`. Must be specified when `scope` is `InGuestPatch`.
	InGuestUserPatchMode pulumi.StringPtrInput
	// An `installPatches` block as defined below.
	//
	// > **NOTE:** `installPatches` must be specified when `scope` is `InGuestPatch`.
	InstallPatches ConfigurationInstallPatchesPtrInput
	// Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Maintenance Configuration. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A mapping of properties to assign to the resource.
	Properties pulumi.StringMapInput
	// The name of the Resource Group where the Maintenance Configuration should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The scope of the Maintenance Configuration. Possible values are `Extension`, `Host`, `InGuestPatch`, `OSImage`, `SQLDB` or `SQLManagedInstance`.
	Scope pulumi.StringInput
	// A mapping of tags to assign to the resource. The key could not contain upper case letter.
	Tags pulumi.StringMapInput
	// The visibility of the Maintenance Configuration. The only allowable value is `Custom`. Defaults to `Custom`.
	Visibility pulumi.StringPtrInput
	// A `window` block as defined below.
	Window ConfigurationWindowPtrInput
}

The set of arguments for constructing a Configuration resource.

func (ConfigurationArgs) ElementType

func (ConfigurationArgs) ElementType() reflect.Type

type ConfigurationArray

type ConfigurationArray []ConfigurationInput

func (ConfigurationArray) ElementType

func (ConfigurationArray) ElementType() reflect.Type

func (ConfigurationArray) ToConfigurationArrayOutput

func (i ConfigurationArray) ToConfigurationArrayOutput() ConfigurationArrayOutput

func (ConfigurationArray) ToConfigurationArrayOutputWithContext

func (i ConfigurationArray) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput

type ConfigurationArrayInput

type ConfigurationArrayInput interface {
	pulumi.Input

	ToConfigurationArrayOutput() ConfigurationArrayOutput
	ToConfigurationArrayOutputWithContext(context.Context) ConfigurationArrayOutput
}

ConfigurationArrayInput is an input type that accepts ConfigurationArray and ConfigurationArrayOutput values. You can construct a concrete instance of `ConfigurationArrayInput` via:

ConfigurationArray{ ConfigurationArgs{...} }

type ConfigurationArrayOutput

type ConfigurationArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationArrayOutput) ElementType

func (ConfigurationArrayOutput) ElementType() reflect.Type

func (ConfigurationArrayOutput) Index

func (ConfigurationArrayOutput) ToConfigurationArrayOutput

func (o ConfigurationArrayOutput) ToConfigurationArrayOutput() ConfigurationArrayOutput

func (ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext

func (o ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput

type ConfigurationInput

type ConfigurationInput interface {
	pulumi.Input

	ToConfigurationOutput() ConfigurationOutput
	ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
}

type ConfigurationInstallPatches

type ConfigurationInstallPatches struct {
	// A `linux` block as defined above. This property only applies when `scope` is set to `InGuestPatch`
	Linuxes []ConfigurationInstallPatchesLinux `pulumi:"linuxes"`
	// 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. Possible values are `Always`, `IfRequired` and `Never`. This property only applies when `scope` is set to `InGuestPatch`.
	Reboot *string `pulumi:"reboot"`
	// A `windows` block as defined above. This property only applies when `scope` is set to `InGuestPatch`
	Windows []ConfigurationInstallPatchesWindow `pulumi:"windows"`
}

type ConfigurationInstallPatchesArgs

type ConfigurationInstallPatchesArgs struct {
	// A `linux` block as defined above. This property only applies when `scope` is set to `InGuestPatch`
	Linuxes ConfigurationInstallPatchesLinuxArrayInput `pulumi:"linuxes"`
	// 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. Possible values are `Always`, `IfRequired` and `Never`. This property only applies when `scope` is set to `InGuestPatch`.
	Reboot pulumi.StringPtrInput `pulumi:"reboot"`
	// A `windows` block as defined above. This property only applies when `scope` is set to `InGuestPatch`
	Windows ConfigurationInstallPatchesWindowArrayInput `pulumi:"windows"`
}

func (ConfigurationInstallPatchesArgs) ElementType

func (ConfigurationInstallPatchesArgs) ToConfigurationInstallPatchesOutput

func (i ConfigurationInstallPatchesArgs) ToConfigurationInstallPatchesOutput() ConfigurationInstallPatchesOutput

func (ConfigurationInstallPatchesArgs) ToConfigurationInstallPatchesOutputWithContext

func (i ConfigurationInstallPatchesArgs) ToConfigurationInstallPatchesOutputWithContext(ctx context.Context) ConfigurationInstallPatchesOutput

func (ConfigurationInstallPatchesArgs) ToConfigurationInstallPatchesPtrOutput

func (i ConfigurationInstallPatchesArgs) ToConfigurationInstallPatchesPtrOutput() ConfigurationInstallPatchesPtrOutput

func (ConfigurationInstallPatchesArgs) ToConfigurationInstallPatchesPtrOutputWithContext

func (i ConfigurationInstallPatchesArgs) ToConfigurationInstallPatchesPtrOutputWithContext(ctx context.Context) ConfigurationInstallPatchesPtrOutput

type ConfigurationInstallPatchesInput

type ConfigurationInstallPatchesInput interface {
	pulumi.Input

	ToConfigurationInstallPatchesOutput() ConfigurationInstallPatchesOutput
	ToConfigurationInstallPatchesOutputWithContext(context.Context) ConfigurationInstallPatchesOutput
}

ConfigurationInstallPatchesInput is an input type that accepts ConfigurationInstallPatchesArgs and ConfigurationInstallPatchesOutput values. You can construct a concrete instance of `ConfigurationInstallPatchesInput` via:

ConfigurationInstallPatchesArgs{...}

type ConfigurationInstallPatchesLinux

type ConfigurationInstallPatchesLinux struct {
	// List of Classification category of patches to be patched. Possible values are `Critical`, `Security` and `Other`.
	ClassificationsToIncludes []string `pulumi:"classificationsToIncludes"`
	// List of package names to be excluded from patching.
	PackageNamesMaskToExcludes []string `pulumi:"packageNamesMaskToExcludes"`
	// List of package names to be included for patching.
	PackageNamesMaskToIncludes []string `pulumi:"packageNamesMaskToIncludes"`
}

type ConfigurationInstallPatchesLinuxArgs

type ConfigurationInstallPatchesLinuxArgs struct {
	// List of Classification category of patches to be patched. Possible values are `Critical`, `Security` and `Other`.
	ClassificationsToIncludes pulumi.StringArrayInput `pulumi:"classificationsToIncludes"`
	// List of package names to be excluded from patching.
	PackageNamesMaskToExcludes pulumi.StringArrayInput `pulumi:"packageNamesMaskToExcludes"`
	// List of package names to be included for patching.
	PackageNamesMaskToIncludes pulumi.StringArrayInput `pulumi:"packageNamesMaskToIncludes"`
}

func (ConfigurationInstallPatchesLinuxArgs) ElementType

func (ConfigurationInstallPatchesLinuxArgs) ToConfigurationInstallPatchesLinuxOutput

func (i ConfigurationInstallPatchesLinuxArgs) ToConfigurationInstallPatchesLinuxOutput() ConfigurationInstallPatchesLinuxOutput

func (ConfigurationInstallPatchesLinuxArgs) ToConfigurationInstallPatchesLinuxOutputWithContext

func (i ConfigurationInstallPatchesLinuxArgs) ToConfigurationInstallPatchesLinuxOutputWithContext(ctx context.Context) ConfigurationInstallPatchesLinuxOutput

type ConfigurationInstallPatchesLinuxArray

type ConfigurationInstallPatchesLinuxArray []ConfigurationInstallPatchesLinuxInput

func (ConfigurationInstallPatchesLinuxArray) ElementType

func (ConfigurationInstallPatchesLinuxArray) ToConfigurationInstallPatchesLinuxArrayOutput

func (i ConfigurationInstallPatchesLinuxArray) ToConfigurationInstallPatchesLinuxArrayOutput() ConfigurationInstallPatchesLinuxArrayOutput

func (ConfigurationInstallPatchesLinuxArray) ToConfigurationInstallPatchesLinuxArrayOutputWithContext

func (i ConfigurationInstallPatchesLinuxArray) ToConfigurationInstallPatchesLinuxArrayOutputWithContext(ctx context.Context) ConfigurationInstallPatchesLinuxArrayOutput

type ConfigurationInstallPatchesLinuxArrayInput

type ConfigurationInstallPatchesLinuxArrayInput interface {
	pulumi.Input

	ToConfigurationInstallPatchesLinuxArrayOutput() ConfigurationInstallPatchesLinuxArrayOutput
	ToConfigurationInstallPatchesLinuxArrayOutputWithContext(context.Context) ConfigurationInstallPatchesLinuxArrayOutput
}

ConfigurationInstallPatchesLinuxArrayInput is an input type that accepts ConfigurationInstallPatchesLinuxArray and ConfigurationInstallPatchesLinuxArrayOutput values. You can construct a concrete instance of `ConfigurationInstallPatchesLinuxArrayInput` via:

ConfigurationInstallPatchesLinuxArray{ ConfigurationInstallPatchesLinuxArgs{...} }

type ConfigurationInstallPatchesLinuxArrayOutput

type ConfigurationInstallPatchesLinuxArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationInstallPatchesLinuxArrayOutput) ElementType

func (ConfigurationInstallPatchesLinuxArrayOutput) Index

func (ConfigurationInstallPatchesLinuxArrayOutput) ToConfigurationInstallPatchesLinuxArrayOutput

func (o ConfigurationInstallPatchesLinuxArrayOutput) ToConfigurationInstallPatchesLinuxArrayOutput() ConfigurationInstallPatchesLinuxArrayOutput

func (ConfigurationInstallPatchesLinuxArrayOutput) ToConfigurationInstallPatchesLinuxArrayOutputWithContext

func (o ConfigurationInstallPatchesLinuxArrayOutput) ToConfigurationInstallPatchesLinuxArrayOutputWithContext(ctx context.Context) ConfigurationInstallPatchesLinuxArrayOutput

type ConfigurationInstallPatchesLinuxInput

type ConfigurationInstallPatchesLinuxInput interface {
	pulumi.Input

	ToConfigurationInstallPatchesLinuxOutput() ConfigurationInstallPatchesLinuxOutput
	ToConfigurationInstallPatchesLinuxOutputWithContext(context.Context) ConfigurationInstallPatchesLinuxOutput
}

ConfigurationInstallPatchesLinuxInput is an input type that accepts ConfigurationInstallPatchesLinuxArgs and ConfigurationInstallPatchesLinuxOutput values. You can construct a concrete instance of `ConfigurationInstallPatchesLinuxInput` via:

ConfigurationInstallPatchesLinuxArgs{...}

type ConfigurationInstallPatchesLinuxOutput

type ConfigurationInstallPatchesLinuxOutput struct{ *pulumi.OutputState }

func (ConfigurationInstallPatchesLinuxOutput) ClassificationsToIncludes

func (o ConfigurationInstallPatchesLinuxOutput) ClassificationsToIncludes() pulumi.StringArrayOutput

List of Classification category of patches to be patched. Possible values are `Critical`, `Security` and `Other`.

func (ConfigurationInstallPatchesLinuxOutput) ElementType

func (ConfigurationInstallPatchesLinuxOutput) PackageNamesMaskToExcludes

func (o ConfigurationInstallPatchesLinuxOutput) PackageNamesMaskToExcludes() pulumi.StringArrayOutput

List of package names to be excluded from patching.

func (ConfigurationInstallPatchesLinuxOutput) PackageNamesMaskToIncludes

func (o ConfigurationInstallPatchesLinuxOutput) PackageNamesMaskToIncludes() pulumi.StringArrayOutput

List of package names to be included for patching.

func (ConfigurationInstallPatchesLinuxOutput) ToConfigurationInstallPatchesLinuxOutput

func (o ConfigurationInstallPatchesLinuxOutput) ToConfigurationInstallPatchesLinuxOutput() ConfigurationInstallPatchesLinuxOutput

func (ConfigurationInstallPatchesLinuxOutput) ToConfigurationInstallPatchesLinuxOutputWithContext

func (o ConfigurationInstallPatchesLinuxOutput) ToConfigurationInstallPatchesLinuxOutputWithContext(ctx context.Context) ConfigurationInstallPatchesLinuxOutput

type ConfigurationInstallPatchesOutput

type ConfigurationInstallPatchesOutput struct{ *pulumi.OutputState }

func (ConfigurationInstallPatchesOutput) ElementType

func (ConfigurationInstallPatchesOutput) Linuxes

A `linux` block as defined above. This property only applies when `scope` is set to `InGuestPatch`

func (ConfigurationInstallPatchesOutput) Reboot

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. Possible values are `Always`, `IfRequired` and `Never`. This property only applies when `scope` is set to `InGuestPatch`.

func (ConfigurationInstallPatchesOutput) ToConfigurationInstallPatchesOutput

func (o ConfigurationInstallPatchesOutput) ToConfigurationInstallPatchesOutput() ConfigurationInstallPatchesOutput

func (ConfigurationInstallPatchesOutput) ToConfigurationInstallPatchesOutputWithContext

func (o ConfigurationInstallPatchesOutput) ToConfigurationInstallPatchesOutputWithContext(ctx context.Context) ConfigurationInstallPatchesOutput

func (ConfigurationInstallPatchesOutput) ToConfigurationInstallPatchesPtrOutput

func (o ConfigurationInstallPatchesOutput) ToConfigurationInstallPatchesPtrOutput() ConfigurationInstallPatchesPtrOutput

func (ConfigurationInstallPatchesOutput) ToConfigurationInstallPatchesPtrOutputWithContext

func (o ConfigurationInstallPatchesOutput) ToConfigurationInstallPatchesPtrOutputWithContext(ctx context.Context) ConfigurationInstallPatchesPtrOutput

func (ConfigurationInstallPatchesOutput) Windows

A `windows` block as defined above. This property only applies when `scope` is set to `InGuestPatch`

type ConfigurationInstallPatchesPtrInput

type ConfigurationInstallPatchesPtrInput interface {
	pulumi.Input

	ToConfigurationInstallPatchesPtrOutput() ConfigurationInstallPatchesPtrOutput
	ToConfigurationInstallPatchesPtrOutputWithContext(context.Context) ConfigurationInstallPatchesPtrOutput
}

ConfigurationInstallPatchesPtrInput is an input type that accepts ConfigurationInstallPatchesArgs, ConfigurationInstallPatchesPtr and ConfigurationInstallPatchesPtrOutput values. You can construct a concrete instance of `ConfigurationInstallPatchesPtrInput` via:

        ConfigurationInstallPatchesArgs{...}

or:

        nil

type ConfigurationInstallPatchesPtrOutput

type ConfigurationInstallPatchesPtrOutput struct{ *pulumi.OutputState }

func (ConfigurationInstallPatchesPtrOutput) Elem

func (ConfigurationInstallPatchesPtrOutput) ElementType

func (ConfigurationInstallPatchesPtrOutput) Linuxes

A `linux` block as defined above. This property only applies when `scope` is set to `InGuestPatch`

func (ConfigurationInstallPatchesPtrOutput) Reboot

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. Possible values are `Always`, `IfRequired` and `Never`. This property only applies when `scope` is set to `InGuestPatch`.

func (ConfigurationInstallPatchesPtrOutput) ToConfigurationInstallPatchesPtrOutput

func (o ConfigurationInstallPatchesPtrOutput) ToConfigurationInstallPatchesPtrOutput() ConfigurationInstallPatchesPtrOutput

func (ConfigurationInstallPatchesPtrOutput) ToConfigurationInstallPatchesPtrOutputWithContext

func (o ConfigurationInstallPatchesPtrOutput) ToConfigurationInstallPatchesPtrOutputWithContext(ctx context.Context) ConfigurationInstallPatchesPtrOutput

func (ConfigurationInstallPatchesPtrOutput) Windows

A `windows` block as defined above. This property only applies when `scope` is set to `InGuestPatch`

type ConfigurationInstallPatchesWindow

type ConfigurationInstallPatchesWindow struct {
	// List of Classification category of patches to be patched. Possible values are `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
	ClassificationsToIncludes []string `pulumi:"classificationsToIncludes"`
	// List of KB numbers to be excluded from patching.
	KbNumbersToExcludes []string `pulumi:"kbNumbersToExcludes"`
	// List of KB numbers to be included for patching.
	KbNumbersToIncludes []string `pulumi:"kbNumbersToIncludes"`
}

type ConfigurationInstallPatchesWindowArgs

type ConfigurationInstallPatchesWindowArgs struct {
	// List of Classification category of patches to be patched. Possible values are `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.
	ClassificationsToIncludes pulumi.StringArrayInput `pulumi:"classificationsToIncludes"`
	// List of KB numbers to be excluded from patching.
	KbNumbersToExcludes pulumi.StringArrayInput `pulumi:"kbNumbersToExcludes"`
	// List of KB numbers to be included for patching.
	KbNumbersToIncludes pulumi.StringArrayInput `pulumi:"kbNumbersToIncludes"`
}

func (ConfigurationInstallPatchesWindowArgs) ElementType

func (ConfigurationInstallPatchesWindowArgs) ToConfigurationInstallPatchesWindowOutput

func (i ConfigurationInstallPatchesWindowArgs) ToConfigurationInstallPatchesWindowOutput() ConfigurationInstallPatchesWindowOutput

func (ConfigurationInstallPatchesWindowArgs) ToConfigurationInstallPatchesWindowOutputWithContext

func (i ConfigurationInstallPatchesWindowArgs) ToConfigurationInstallPatchesWindowOutputWithContext(ctx context.Context) ConfigurationInstallPatchesWindowOutput

type ConfigurationInstallPatchesWindowArray

type ConfigurationInstallPatchesWindowArray []ConfigurationInstallPatchesWindowInput

func (ConfigurationInstallPatchesWindowArray) ElementType

func (ConfigurationInstallPatchesWindowArray) ToConfigurationInstallPatchesWindowArrayOutput

func (i ConfigurationInstallPatchesWindowArray) ToConfigurationInstallPatchesWindowArrayOutput() ConfigurationInstallPatchesWindowArrayOutput

func (ConfigurationInstallPatchesWindowArray) ToConfigurationInstallPatchesWindowArrayOutputWithContext

func (i ConfigurationInstallPatchesWindowArray) ToConfigurationInstallPatchesWindowArrayOutputWithContext(ctx context.Context) ConfigurationInstallPatchesWindowArrayOutput

type ConfigurationInstallPatchesWindowArrayInput

type ConfigurationInstallPatchesWindowArrayInput interface {
	pulumi.Input

	ToConfigurationInstallPatchesWindowArrayOutput() ConfigurationInstallPatchesWindowArrayOutput
	ToConfigurationInstallPatchesWindowArrayOutputWithContext(context.Context) ConfigurationInstallPatchesWindowArrayOutput
}

ConfigurationInstallPatchesWindowArrayInput is an input type that accepts ConfigurationInstallPatchesWindowArray and ConfigurationInstallPatchesWindowArrayOutput values. You can construct a concrete instance of `ConfigurationInstallPatchesWindowArrayInput` via:

ConfigurationInstallPatchesWindowArray{ ConfigurationInstallPatchesWindowArgs{...} }

type ConfigurationInstallPatchesWindowArrayOutput

type ConfigurationInstallPatchesWindowArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationInstallPatchesWindowArrayOutput) ElementType

func (ConfigurationInstallPatchesWindowArrayOutput) Index

func (ConfigurationInstallPatchesWindowArrayOutput) ToConfigurationInstallPatchesWindowArrayOutput

func (o ConfigurationInstallPatchesWindowArrayOutput) ToConfigurationInstallPatchesWindowArrayOutput() ConfigurationInstallPatchesWindowArrayOutput

func (ConfigurationInstallPatchesWindowArrayOutput) ToConfigurationInstallPatchesWindowArrayOutputWithContext

func (o ConfigurationInstallPatchesWindowArrayOutput) ToConfigurationInstallPatchesWindowArrayOutputWithContext(ctx context.Context) ConfigurationInstallPatchesWindowArrayOutput

type ConfigurationInstallPatchesWindowInput

type ConfigurationInstallPatchesWindowInput interface {
	pulumi.Input

	ToConfigurationInstallPatchesWindowOutput() ConfigurationInstallPatchesWindowOutput
	ToConfigurationInstallPatchesWindowOutputWithContext(context.Context) ConfigurationInstallPatchesWindowOutput
}

ConfigurationInstallPatchesWindowInput is an input type that accepts ConfigurationInstallPatchesWindowArgs and ConfigurationInstallPatchesWindowOutput values. You can construct a concrete instance of `ConfigurationInstallPatchesWindowInput` via:

ConfigurationInstallPatchesWindowArgs{...}

type ConfigurationInstallPatchesWindowOutput

type ConfigurationInstallPatchesWindowOutput struct{ *pulumi.OutputState }

func (ConfigurationInstallPatchesWindowOutput) ClassificationsToIncludes

List of Classification category of patches to be patched. Possible values are `Critical`, `Security`, `UpdateRollup`, `FeaturePack`, `ServicePack`, `Definition`, `Tools` and `Updates`.

func (ConfigurationInstallPatchesWindowOutput) ElementType

func (ConfigurationInstallPatchesWindowOutput) KbNumbersToExcludes

List of KB numbers to be excluded from patching.

func (ConfigurationInstallPatchesWindowOutput) KbNumbersToIncludes

List of KB numbers to be included for patching.

func (ConfigurationInstallPatchesWindowOutput) ToConfigurationInstallPatchesWindowOutput

func (o ConfigurationInstallPatchesWindowOutput) ToConfigurationInstallPatchesWindowOutput() ConfigurationInstallPatchesWindowOutput

func (ConfigurationInstallPatchesWindowOutput) ToConfigurationInstallPatchesWindowOutputWithContext

func (o ConfigurationInstallPatchesWindowOutput) ToConfigurationInstallPatchesWindowOutputWithContext(ctx context.Context) ConfigurationInstallPatchesWindowOutput

type ConfigurationMap

type ConfigurationMap map[string]ConfigurationInput

func (ConfigurationMap) ElementType

func (ConfigurationMap) ElementType() reflect.Type

func (ConfigurationMap) ToConfigurationMapOutput

func (i ConfigurationMap) ToConfigurationMapOutput() ConfigurationMapOutput

func (ConfigurationMap) ToConfigurationMapOutputWithContext

func (i ConfigurationMap) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput

type ConfigurationMapInput

type ConfigurationMapInput interface {
	pulumi.Input

	ToConfigurationMapOutput() ConfigurationMapOutput
	ToConfigurationMapOutputWithContext(context.Context) ConfigurationMapOutput
}

ConfigurationMapInput is an input type that accepts ConfigurationMap and ConfigurationMapOutput values. You can construct a concrete instance of `ConfigurationMapInput` via:

ConfigurationMap{ "key": ConfigurationArgs{...} }

type ConfigurationMapOutput

type ConfigurationMapOutput struct{ *pulumi.OutputState }

func (ConfigurationMapOutput) ElementType

func (ConfigurationMapOutput) ElementType() reflect.Type

func (ConfigurationMapOutput) MapIndex

func (ConfigurationMapOutput) ToConfigurationMapOutput

func (o ConfigurationMapOutput) ToConfigurationMapOutput() ConfigurationMapOutput

func (ConfigurationMapOutput) ToConfigurationMapOutputWithContext

func (o ConfigurationMapOutput) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput

type ConfigurationOutput

type ConfigurationOutput struct{ *pulumi.OutputState }

func (ConfigurationOutput) ElementType

func (ConfigurationOutput) ElementType() reflect.Type

func (ConfigurationOutput) InGuestUserPatchMode

func (o ConfigurationOutput) InGuestUserPatchMode() pulumi.StringPtrOutput

The in guest user patch mode. Possible values are `Platform` or `User`. Must be specified when `scope` is `InGuestPatch`.

func (ConfigurationOutput) InstallPatches

An `installPatches` block as defined below.

> **NOTE:** `installPatches` must be specified when `scope` is `InGuestPatch`.

func (ConfigurationOutput) Location

Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (ConfigurationOutput) Name

Specifies the name of the Maintenance Configuration. Changing this forces a new resource to be created.

func (ConfigurationOutput) Properties

A mapping of properties to assign to the resource.

func (ConfigurationOutput) ResourceGroupName

func (o ConfigurationOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the Maintenance Configuration should exist. Changing this forces a new resource to be created.

func (ConfigurationOutput) Scope

The scope of the Maintenance Configuration. Possible values are `Extension`, `Host`, `InGuestPatch`, `OSImage`, `SQLDB` or `SQLManagedInstance`.

func (ConfigurationOutput) Tags

A mapping of tags to assign to the resource. The key could not contain upper case letter.

func (ConfigurationOutput) ToConfigurationOutput

func (o ConfigurationOutput) ToConfigurationOutput() ConfigurationOutput

func (ConfigurationOutput) ToConfigurationOutputWithContext

func (o ConfigurationOutput) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput

func (ConfigurationOutput) Visibility

The visibility of the Maintenance Configuration. The only allowable value is `Custom`. Defaults to `Custom`.

func (ConfigurationOutput) Window

A `window` block as defined below.

type ConfigurationState

type ConfigurationState struct {
	// The in guest user patch mode. Possible values are `Platform` or `User`. Must be specified when `scope` is `InGuestPatch`.
	InGuestUserPatchMode pulumi.StringPtrInput
	// An `installPatches` block as defined below.
	//
	// > **NOTE:** `installPatches` must be specified when `scope` is `InGuestPatch`.
	InstallPatches ConfigurationInstallPatchesPtrInput
	// Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Maintenance Configuration. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// A mapping of properties to assign to the resource.
	Properties pulumi.StringMapInput
	// The name of the Resource Group where the Maintenance Configuration should exist. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The scope of the Maintenance Configuration. Possible values are `Extension`, `Host`, `InGuestPatch`, `OSImage`, `SQLDB` or `SQLManagedInstance`.
	Scope pulumi.StringPtrInput
	// A mapping of tags to assign to the resource. The key could not contain upper case letter.
	Tags pulumi.StringMapInput
	// The visibility of the Maintenance Configuration. The only allowable value is `Custom`. Defaults to `Custom`.
	Visibility pulumi.StringPtrInput
	// A `window` block as defined below.
	Window ConfigurationWindowPtrInput
}

func (ConfigurationState) ElementType

func (ConfigurationState) ElementType() reflect.Type

type ConfigurationWindow

type ConfigurationWindow struct {
	// The duration of the maintenance window in HH:mm format.
	Duration *string `pulumi:"duration"`
	// Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format.
	ExpirationDateTime *string `pulumi:"expirationDateTime"`
	// The rate at which a maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules.
	RecurEvery *string `pulumi:"recurEvery"`
	// Effective start date of the maintenance window in YYYY-MM-DD hh:mm format.
	StartDateTime string `pulumi:"startDateTime"`
	// The time zone for the maintenance window. A list of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell.
	TimeZone string `pulumi:"timeZone"`
}

type ConfigurationWindowArgs

type ConfigurationWindowArgs struct {
	// The duration of the maintenance window in HH:mm format.
	Duration pulumi.StringPtrInput `pulumi:"duration"`
	// Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format.
	ExpirationDateTime pulumi.StringPtrInput `pulumi:"expirationDateTime"`
	// The rate at which a maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules.
	RecurEvery pulumi.StringPtrInput `pulumi:"recurEvery"`
	// Effective start date of the maintenance window in YYYY-MM-DD hh:mm format.
	StartDateTime pulumi.StringInput `pulumi:"startDateTime"`
	// The time zone for the maintenance window. A list of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell.
	TimeZone pulumi.StringInput `pulumi:"timeZone"`
}

func (ConfigurationWindowArgs) ElementType

func (ConfigurationWindowArgs) ElementType() reflect.Type

func (ConfigurationWindowArgs) ToConfigurationWindowOutput

func (i ConfigurationWindowArgs) ToConfigurationWindowOutput() ConfigurationWindowOutput

func (ConfigurationWindowArgs) ToConfigurationWindowOutputWithContext

func (i ConfigurationWindowArgs) ToConfigurationWindowOutputWithContext(ctx context.Context) ConfigurationWindowOutput

func (ConfigurationWindowArgs) ToConfigurationWindowPtrOutput

func (i ConfigurationWindowArgs) ToConfigurationWindowPtrOutput() ConfigurationWindowPtrOutput

func (ConfigurationWindowArgs) ToConfigurationWindowPtrOutputWithContext

func (i ConfigurationWindowArgs) ToConfigurationWindowPtrOutputWithContext(ctx context.Context) ConfigurationWindowPtrOutput

type ConfigurationWindowInput

type ConfigurationWindowInput interface {
	pulumi.Input

	ToConfigurationWindowOutput() ConfigurationWindowOutput
	ToConfigurationWindowOutputWithContext(context.Context) ConfigurationWindowOutput
}

ConfigurationWindowInput is an input type that accepts ConfigurationWindowArgs and ConfigurationWindowOutput values. You can construct a concrete instance of `ConfigurationWindowInput` via:

ConfigurationWindowArgs{...}

type ConfigurationWindowOutput

type ConfigurationWindowOutput struct{ *pulumi.OutputState }

func (ConfigurationWindowOutput) Duration

The duration of the maintenance window in HH:mm format.

func (ConfigurationWindowOutput) ElementType

func (ConfigurationWindowOutput) ElementType() reflect.Type

func (ConfigurationWindowOutput) ExpirationDateTime

func (o ConfigurationWindowOutput) ExpirationDateTime() pulumi.StringPtrOutput

Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format.

func (ConfigurationWindowOutput) RecurEvery

The rate at which a maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules.

func (ConfigurationWindowOutput) StartDateTime

func (o ConfigurationWindowOutput) StartDateTime() pulumi.StringOutput

Effective start date of the maintenance window in YYYY-MM-DD hh:mm format.

func (ConfigurationWindowOutput) TimeZone

The time zone for the maintenance window. A list of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell.

func (ConfigurationWindowOutput) ToConfigurationWindowOutput

func (o ConfigurationWindowOutput) ToConfigurationWindowOutput() ConfigurationWindowOutput

func (ConfigurationWindowOutput) ToConfigurationWindowOutputWithContext

func (o ConfigurationWindowOutput) ToConfigurationWindowOutputWithContext(ctx context.Context) ConfigurationWindowOutput

func (ConfigurationWindowOutput) ToConfigurationWindowPtrOutput

func (o ConfigurationWindowOutput) ToConfigurationWindowPtrOutput() ConfigurationWindowPtrOutput

func (ConfigurationWindowOutput) ToConfigurationWindowPtrOutputWithContext

func (o ConfigurationWindowOutput) ToConfigurationWindowPtrOutputWithContext(ctx context.Context) ConfigurationWindowPtrOutput

type ConfigurationWindowPtrInput

type ConfigurationWindowPtrInput interface {
	pulumi.Input

	ToConfigurationWindowPtrOutput() ConfigurationWindowPtrOutput
	ToConfigurationWindowPtrOutputWithContext(context.Context) ConfigurationWindowPtrOutput
}

ConfigurationWindowPtrInput is an input type that accepts ConfigurationWindowArgs, ConfigurationWindowPtr and ConfigurationWindowPtrOutput values. You can construct a concrete instance of `ConfigurationWindowPtrInput` via:

        ConfigurationWindowArgs{...}

or:

        nil

type ConfigurationWindowPtrOutput

type ConfigurationWindowPtrOutput struct{ *pulumi.OutputState }

func (ConfigurationWindowPtrOutput) Duration

The duration of the maintenance window in HH:mm format.

func (ConfigurationWindowPtrOutput) Elem

func (ConfigurationWindowPtrOutput) ElementType

func (ConfigurationWindowPtrOutput) ExpirationDateTime

func (o ConfigurationWindowPtrOutput) ExpirationDateTime() pulumi.StringPtrOutput

Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format.

func (ConfigurationWindowPtrOutput) RecurEvery

The rate at which a maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules.

func (ConfigurationWindowPtrOutput) StartDateTime

Effective start date of the maintenance window in YYYY-MM-DD hh:mm format.

func (ConfigurationWindowPtrOutput) TimeZone

The time zone for the maintenance window. A list of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell.

func (ConfigurationWindowPtrOutput) ToConfigurationWindowPtrOutput

func (o ConfigurationWindowPtrOutput) ToConfigurationWindowPtrOutput() ConfigurationWindowPtrOutput

func (ConfigurationWindowPtrOutput) ToConfigurationWindowPtrOutputWithContext

func (o ConfigurationWindowPtrOutput) ToConfigurationWindowPtrOutputWithContext(ctx context.Context) ConfigurationWindowPtrOutput

type GetConfigurationInstallPatch

type GetConfigurationInstallPatch struct {
	// A `linux` block as defined below.
	Linuxes []GetConfigurationInstallPatchLinux `pulumi:"linuxes"`
	// 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.
	Reboot string `pulumi:"reboot"`
	// A `windows` block as defined below.
	Windows []GetConfigurationInstallPatchWindow `pulumi:"windows"`
}

type GetConfigurationInstallPatchArgs

type GetConfigurationInstallPatchArgs struct {
	// A `linux` block as defined below.
	Linuxes GetConfigurationInstallPatchLinuxArrayInput `pulumi:"linuxes"`
	// 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.
	Reboot pulumi.StringInput `pulumi:"reboot"`
	// A `windows` block as defined below.
	Windows GetConfigurationInstallPatchWindowArrayInput `pulumi:"windows"`
}

func (GetConfigurationInstallPatchArgs) ElementType

func (GetConfigurationInstallPatchArgs) ToGetConfigurationInstallPatchOutput

func (i GetConfigurationInstallPatchArgs) ToGetConfigurationInstallPatchOutput() GetConfigurationInstallPatchOutput

func (GetConfigurationInstallPatchArgs) ToGetConfigurationInstallPatchOutputWithContext

func (i GetConfigurationInstallPatchArgs) ToGetConfigurationInstallPatchOutputWithContext(ctx context.Context) GetConfigurationInstallPatchOutput

type GetConfigurationInstallPatchArray

type GetConfigurationInstallPatchArray []GetConfigurationInstallPatchInput

func (GetConfigurationInstallPatchArray) ElementType

func (GetConfigurationInstallPatchArray) ToGetConfigurationInstallPatchArrayOutput

func (i GetConfigurationInstallPatchArray) ToGetConfigurationInstallPatchArrayOutput() GetConfigurationInstallPatchArrayOutput

func (GetConfigurationInstallPatchArray) ToGetConfigurationInstallPatchArrayOutputWithContext

func (i GetConfigurationInstallPatchArray) ToGetConfigurationInstallPatchArrayOutputWithContext(ctx context.Context) GetConfigurationInstallPatchArrayOutput

type GetConfigurationInstallPatchArrayInput

type GetConfigurationInstallPatchArrayInput interface {
	pulumi.Input

	ToGetConfigurationInstallPatchArrayOutput() GetConfigurationInstallPatchArrayOutput
	ToGetConfigurationInstallPatchArrayOutputWithContext(context.Context) GetConfigurationInstallPatchArrayOutput
}

GetConfigurationInstallPatchArrayInput is an input type that accepts GetConfigurationInstallPatchArray and GetConfigurationInstallPatchArrayOutput values. You can construct a concrete instance of `GetConfigurationInstallPatchArrayInput` via:

GetConfigurationInstallPatchArray{ GetConfigurationInstallPatchArgs{...} }

type GetConfigurationInstallPatchArrayOutput

type GetConfigurationInstallPatchArrayOutput struct{ *pulumi.OutputState }

func (GetConfigurationInstallPatchArrayOutput) ElementType

func (GetConfigurationInstallPatchArrayOutput) Index

func (GetConfigurationInstallPatchArrayOutput) ToGetConfigurationInstallPatchArrayOutput

func (o GetConfigurationInstallPatchArrayOutput) ToGetConfigurationInstallPatchArrayOutput() GetConfigurationInstallPatchArrayOutput

func (GetConfigurationInstallPatchArrayOutput) ToGetConfigurationInstallPatchArrayOutputWithContext

func (o GetConfigurationInstallPatchArrayOutput) ToGetConfigurationInstallPatchArrayOutputWithContext(ctx context.Context) GetConfigurationInstallPatchArrayOutput

type GetConfigurationInstallPatchInput

type GetConfigurationInstallPatchInput interface {
	pulumi.Input

	ToGetConfigurationInstallPatchOutput() GetConfigurationInstallPatchOutput
	ToGetConfigurationInstallPatchOutputWithContext(context.Context) GetConfigurationInstallPatchOutput
}

GetConfigurationInstallPatchInput is an input type that accepts GetConfigurationInstallPatchArgs and GetConfigurationInstallPatchOutput values. You can construct a concrete instance of `GetConfigurationInstallPatchInput` via:

GetConfigurationInstallPatchArgs{...}

type GetConfigurationInstallPatchLinux

type GetConfigurationInstallPatchLinux struct {
	// List of Classification category of patches to be patched.
	ClassificationsToIncludes []string `pulumi:"classificationsToIncludes"`
	// List of package names to be excluded from patching.
	PackageNamesMaskToExcludes []string `pulumi:"packageNamesMaskToExcludes"`
	// List of package names to be included for patching.
	PackageNamesMaskToIncludes []string `pulumi:"packageNamesMaskToIncludes"`
}

type GetConfigurationInstallPatchLinuxArgs

type GetConfigurationInstallPatchLinuxArgs struct {
	// List of Classification category of patches to be patched.
	ClassificationsToIncludes pulumi.StringArrayInput `pulumi:"classificationsToIncludes"`
	// List of package names to be excluded from patching.
	PackageNamesMaskToExcludes pulumi.StringArrayInput `pulumi:"packageNamesMaskToExcludes"`
	// List of package names to be included for patching.
	PackageNamesMaskToIncludes pulumi.StringArrayInput `pulumi:"packageNamesMaskToIncludes"`
}

func (GetConfigurationInstallPatchLinuxArgs) ElementType

func (GetConfigurationInstallPatchLinuxArgs) ToGetConfigurationInstallPatchLinuxOutput

func (i GetConfigurationInstallPatchLinuxArgs) ToGetConfigurationInstallPatchLinuxOutput() GetConfigurationInstallPatchLinuxOutput

func (GetConfigurationInstallPatchLinuxArgs) ToGetConfigurationInstallPatchLinuxOutputWithContext

func (i GetConfigurationInstallPatchLinuxArgs) ToGetConfigurationInstallPatchLinuxOutputWithContext(ctx context.Context) GetConfigurationInstallPatchLinuxOutput

type GetConfigurationInstallPatchLinuxArray

type GetConfigurationInstallPatchLinuxArray []GetConfigurationInstallPatchLinuxInput

func (GetConfigurationInstallPatchLinuxArray) ElementType

func (GetConfigurationInstallPatchLinuxArray) ToGetConfigurationInstallPatchLinuxArrayOutput

func (i GetConfigurationInstallPatchLinuxArray) ToGetConfigurationInstallPatchLinuxArrayOutput() GetConfigurationInstallPatchLinuxArrayOutput

func (GetConfigurationInstallPatchLinuxArray) ToGetConfigurationInstallPatchLinuxArrayOutputWithContext

func (i GetConfigurationInstallPatchLinuxArray) ToGetConfigurationInstallPatchLinuxArrayOutputWithContext(ctx context.Context) GetConfigurationInstallPatchLinuxArrayOutput

type GetConfigurationInstallPatchLinuxArrayInput

type GetConfigurationInstallPatchLinuxArrayInput interface {
	pulumi.Input

	ToGetConfigurationInstallPatchLinuxArrayOutput() GetConfigurationInstallPatchLinuxArrayOutput
	ToGetConfigurationInstallPatchLinuxArrayOutputWithContext(context.Context) GetConfigurationInstallPatchLinuxArrayOutput
}

GetConfigurationInstallPatchLinuxArrayInput is an input type that accepts GetConfigurationInstallPatchLinuxArray and GetConfigurationInstallPatchLinuxArrayOutput values. You can construct a concrete instance of `GetConfigurationInstallPatchLinuxArrayInput` via:

GetConfigurationInstallPatchLinuxArray{ GetConfigurationInstallPatchLinuxArgs{...} }

type GetConfigurationInstallPatchLinuxArrayOutput

type GetConfigurationInstallPatchLinuxArrayOutput struct{ *pulumi.OutputState }

func (GetConfigurationInstallPatchLinuxArrayOutput) ElementType

func (GetConfigurationInstallPatchLinuxArrayOutput) Index

func (GetConfigurationInstallPatchLinuxArrayOutput) ToGetConfigurationInstallPatchLinuxArrayOutput

func (o GetConfigurationInstallPatchLinuxArrayOutput) ToGetConfigurationInstallPatchLinuxArrayOutput() GetConfigurationInstallPatchLinuxArrayOutput

func (GetConfigurationInstallPatchLinuxArrayOutput) ToGetConfigurationInstallPatchLinuxArrayOutputWithContext

func (o GetConfigurationInstallPatchLinuxArrayOutput) ToGetConfigurationInstallPatchLinuxArrayOutputWithContext(ctx context.Context) GetConfigurationInstallPatchLinuxArrayOutput

type GetConfigurationInstallPatchLinuxInput

type GetConfigurationInstallPatchLinuxInput interface {
	pulumi.Input

	ToGetConfigurationInstallPatchLinuxOutput() GetConfigurationInstallPatchLinuxOutput
	ToGetConfigurationInstallPatchLinuxOutputWithContext(context.Context) GetConfigurationInstallPatchLinuxOutput
}

GetConfigurationInstallPatchLinuxInput is an input type that accepts GetConfigurationInstallPatchLinuxArgs and GetConfigurationInstallPatchLinuxOutput values. You can construct a concrete instance of `GetConfigurationInstallPatchLinuxInput` via:

GetConfigurationInstallPatchLinuxArgs{...}

type GetConfigurationInstallPatchLinuxOutput

type GetConfigurationInstallPatchLinuxOutput struct{ *pulumi.OutputState }

func (GetConfigurationInstallPatchLinuxOutput) ClassificationsToIncludes

List of Classification category of patches to be patched.

func (GetConfigurationInstallPatchLinuxOutput) ElementType

func (GetConfigurationInstallPatchLinuxOutput) PackageNamesMaskToExcludes

func (o GetConfigurationInstallPatchLinuxOutput) PackageNamesMaskToExcludes() pulumi.StringArrayOutput

List of package names to be excluded from patching.

func (GetConfigurationInstallPatchLinuxOutput) PackageNamesMaskToIncludes

func (o GetConfigurationInstallPatchLinuxOutput) PackageNamesMaskToIncludes() pulumi.StringArrayOutput

List of package names to be included for patching.

func (GetConfigurationInstallPatchLinuxOutput) ToGetConfigurationInstallPatchLinuxOutput

func (o GetConfigurationInstallPatchLinuxOutput) ToGetConfigurationInstallPatchLinuxOutput() GetConfigurationInstallPatchLinuxOutput

func (GetConfigurationInstallPatchLinuxOutput) ToGetConfigurationInstallPatchLinuxOutputWithContext

func (o GetConfigurationInstallPatchLinuxOutput) ToGetConfigurationInstallPatchLinuxOutputWithContext(ctx context.Context) GetConfigurationInstallPatchLinuxOutput

type GetConfigurationInstallPatchOutput

type GetConfigurationInstallPatchOutput struct{ *pulumi.OutputState }

func (GetConfigurationInstallPatchOutput) ElementType

func (GetConfigurationInstallPatchOutput) Linuxes

A `linux` block as defined below.

func (GetConfigurationInstallPatchOutput) Reboot

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.

func (GetConfigurationInstallPatchOutput) ToGetConfigurationInstallPatchOutput

func (o GetConfigurationInstallPatchOutput) ToGetConfigurationInstallPatchOutput() GetConfigurationInstallPatchOutput

func (GetConfigurationInstallPatchOutput) ToGetConfigurationInstallPatchOutputWithContext

func (o GetConfigurationInstallPatchOutput) ToGetConfigurationInstallPatchOutputWithContext(ctx context.Context) GetConfigurationInstallPatchOutput

func (GetConfigurationInstallPatchOutput) Windows

A `windows` block as defined below.

type GetConfigurationInstallPatchWindow

type GetConfigurationInstallPatchWindow struct {
	// List of Classification category of patches to be patched.
	ClassificationsToIncludes []string `pulumi:"classificationsToIncludes"`
	// List of KB numbers to be excluded from patching.
	KbNumbersToExcludes []string `pulumi:"kbNumbersToExcludes"`
	// List of KB numbers to be included for patching.
	KbNumbersToIncludes []string `pulumi:"kbNumbersToIncludes"`
}

type GetConfigurationInstallPatchWindowArgs

type GetConfigurationInstallPatchWindowArgs struct {
	// List of Classification category of patches to be patched.
	ClassificationsToIncludes pulumi.StringArrayInput `pulumi:"classificationsToIncludes"`
	// List of KB numbers to be excluded from patching.
	KbNumbersToExcludes pulumi.StringArrayInput `pulumi:"kbNumbersToExcludes"`
	// List of KB numbers to be included for patching.
	KbNumbersToIncludes pulumi.StringArrayInput `pulumi:"kbNumbersToIncludes"`
}

func (GetConfigurationInstallPatchWindowArgs) ElementType

func (GetConfigurationInstallPatchWindowArgs) ToGetConfigurationInstallPatchWindowOutput

func (i GetConfigurationInstallPatchWindowArgs) ToGetConfigurationInstallPatchWindowOutput() GetConfigurationInstallPatchWindowOutput

func (GetConfigurationInstallPatchWindowArgs) ToGetConfigurationInstallPatchWindowOutputWithContext

func (i GetConfigurationInstallPatchWindowArgs) ToGetConfigurationInstallPatchWindowOutputWithContext(ctx context.Context) GetConfigurationInstallPatchWindowOutput

type GetConfigurationInstallPatchWindowArray

type GetConfigurationInstallPatchWindowArray []GetConfigurationInstallPatchWindowInput

func (GetConfigurationInstallPatchWindowArray) ElementType

func (GetConfigurationInstallPatchWindowArray) ToGetConfigurationInstallPatchWindowArrayOutput

func (i GetConfigurationInstallPatchWindowArray) ToGetConfigurationInstallPatchWindowArrayOutput() GetConfigurationInstallPatchWindowArrayOutput

func (GetConfigurationInstallPatchWindowArray) ToGetConfigurationInstallPatchWindowArrayOutputWithContext

func (i GetConfigurationInstallPatchWindowArray) ToGetConfigurationInstallPatchWindowArrayOutputWithContext(ctx context.Context) GetConfigurationInstallPatchWindowArrayOutput

type GetConfigurationInstallPatchWindowArrayInput

type GetConfigurationInstallPatchWindowArrayInput interface {
	pulumi.Input

	ToGetConfigurationInstallPatchWindowArrayOutput() GetConfigurationInstallPatchWindowArrayOutput
	ToGetConfigurationInstallPatchWindowArrayOutputWithContext(context.Context) GetConfigurationInstallPatchWindowArrayOutput
}

GetConfigurationInstallPatchWindowArrayInput is an input type that accepts GetConfigurationInstallPatchWindowArray and GetConfigurationInstallPatchWindowArrayOutput values. You can construct a concrete instance of `GetConfigurationInstallPatchWindowArrayInput` via:

GetConfigurationInstallPatchWindowArray{ GetConfigurationInstallPatchWindowArgs{...} }

type GetConfigurationInstallPatchWindowArrayOutput

type GetConfigurationInstallPatchWindowArrayOutput struct{ *pulumi.OutputState }

func (GetConfigurationInstallPatchWindowArrayOutput) ElementType

func (GetConfigurationInstallPatchWindowArrayOutput) Index

func (GetConfigurationInstallPatchWindowArrayOutput) ToGetConfigurationInstallPatchWindowArrayOutput

func (o GetConfigurationInstallPatchWindowArrayOutput) ToGetConfigurationInstallPatchWindowArrayOutput() GetConfigurationInstallPatchWindowArrayOutput

func (GetConfigurationInstallPatchWindowArrayOutput) ToGetConfigurationInstallPatchWindowArrayOutputWithContext

func (o GetConfigurationInstallPatchWindowArrayOutput) ToGetConfigurationInstallPatchWindowArrayOutputWithContext(ctx context.Context) GetConfigurationInstallPatchWindowArrayOutput

type GetConfigurationInstallPatchWindowInput

type GetConfigurationInstallPatchWindowInput interface {
	pulumi.Input

	ToGetConfigurationInstallPatchWindowOutput() GetConfigurationInstallPatchWindowOutput
	ToGetConfigurationInstallPatchWindowOutputWithContext(context.Context) GetConfigurationInstallPatchWindowOutput
}

GetConfigurationInstallPatchWindowInput is an input type that accepts GetConfigurationInstallPatchWindowArgs and GetConfigurationInstallPatchWindowOutput values. You can construct a concrete instance of `GetConfigurationInstallPatchWindowInput` via:

GetConfigurationInstallPatchWindowArgs{...}

type GetConfigurationInstallPatchWindowOutput

type GetConfigurationInstallPatchWindowOutput struct{ *pulumi.OutputState }

func (GetConfigurationInstallPatchWindowOutput) ClassificationsToIncludes

List of Classification category of patches to be patched.

func (GetConfigurationInstallPatchWindowOutput) ElementType

func (GetConfigurationInstallPatchWindowOutput) KbNumbersToExcludes

List of KB numbers to be excluded from patching.

func (GetConfigurationInstallPatchWindowOutput) KbNumbersToIncludes

List of KB numbers to be included for patching.

func (GetConfigurationInstallPatchWindowOutput) ToGetConfigurationInstallPatchWindowOutput

func (o GetConfigurationInstallPatchWindowOutput) ToGetConfigurationInstallPatchWindowOutput() GetConfigurationInstallPatchWindowOutput

func (GetConfigurationInstallPatchWindowOutput) ToGetConfigurationInstallPatchWindowOutputWithContext

func (o GetConfigurationInstallPatchWindowOutput) ToGetConfigurationInstallPatchWindowOutputWithContext(ctx context.Context) GetConfigurationInstallPatchWindowOutput

type GetConfigurationWindow

type GetConfigurationWindow struct {
	// The duration of the maintenance window.
	Duration string `pulumi:"duration"`
	// Effective expiration date of the maintenance window.
	ExpirationDateTime string `pulumi:"expirationDateTime"`
	// The rate at which a maintenance window is expected to recur.
	RecurEvery string `pulumi:"recurEvery"`
	// Effective start date of the maintenance window.
	StartDateTime string `pulumi:"startDateTime"`
	// The time zone for the maintenance window.
	TimeZone string `pulumi:"timeZone"`
}

type GetConfigurationWindowArgs

type GetConfigurationWindowArgs struct {
	// The duration of the maintenance window.
	Duration pulumi.StringInput `pulumi:"duration"`
	// Effective expiration date of the maintenance window.
	ExpirationDateTime pulumi.StringInput `pulumi:"expirationDateTime"`
	// The rate at which a maintenance window is expected to recur.
	RecurEvery pulumi.StringInput `pulumi:"recurEvery"`
	// Effective start date of the maintenance window.
	StartDateTime pulumi.StringInput `pulumi:"startDateTime"`
	// The time zone for the maintenance window.
	TimeZone pulumi.StringInput `pulumi:"timeZone"`
}

func (GetConfigurationWindowArgs) ElementType

func (GetConfigurationWindowArgs) ElementType() reflect.Type

func (GetConfigurationWindowArgs) ToGetConfigurationWindowOutput

func (i GetConfigurationWindowArgs) ToGetConfigurationWindowOutput() GetConfigurationWindowOutput

func (GetConfigurationWindowArgs) ToGetConfigurationWindowOutputWithContext

func (i GetConfigurationWindowArgs) ToGetConfigurationWindowOutputWithContext(ctx context.Context) GetConfigurationWindowOutput

type GetConfigurationWindowArray

type GetConfigurationWindowArray []GetConfigurationWindowInput

func (GetConfigurationWindowArray) ElementType

func (GetConfigurationWindowArray) ToGetConfigurationWindowArrayOutput

func (i GetConfigurationWindowArray) ToGetConfigurationWindowArrayOutput() GetConfigurationWindowArrayOutput

func (GetConfigurationWindowArray) ToGetConfigurationWindowArrayOutputWithContext

func (i GetConfigurationWindowArray) ToGetConfigurationWindowArrayOutputWithContext(ctx context.Context) GetConfigurationWindowArrayOutput

type GetConfigurationWindowArrayInput

type GetConfigurationWindowArrayInput interface {
	pulumi.Input

	ToGetConfigurationWindowArrayOutput() GetConfigurationWindowArrayOutput
	ToGetConfigurationWindowArrayOutputWithContext(context.Context) GetConfigurationWindowArrayOutput
}

GetConfigurationWindowArrayInput is an input type that accepts GetConfigurationWindowArray and GetConfigurationWindowArrayOutput values. You can construct a concrete instance of `GetConfigurationWindowArrayInput` via:

GetConfigurationWindowArray{ GetConfigurationWindowArgs{...} }

type GetConfigurationWindowArrayOutput

type GetConfigurationWindowArrayOutput struct{ *pulumi.OutputState }

func (GetConfigurationWindowArrayOutput) ElementType

func (GetConfigurationWindowArrayOutput) Index

func (GetConfigurationWindowArrayOutput) ToGetConfigurationWindowArrayOutput

func (o GetConfigurationWindowArrayOutput) ToGetConfigurationWindowArrayOutput() GetConfigurationWindowArrayOutput

func (GetConfigurationWindowArrayOutput) ToGetConfigurationWindowArrayOutputWithContext

func (o GetConfigurationWindowArrayOutput) ToGetConfigurationWindowArrayOutputWithContext(ctx context.Context) GetConfigurationWindowArrayOutput

type GetConfigurationWindowInput

type GetConfigurationWindowInput interface {
	pulumi.Input

	ToGetConfigurationWindowOutput() GetConfigurationWindowOutput
	ToGetConfigurationWindowOutputWithContext(context.Context) GetConfigurationWindowOutput
}

GetConfigurationWindowInput is an input type that accepts GetConfigurationWindowArgs and GetConfigurationWindowOutput values. You can construct a concrete instance of `GetConfigurationWindowInput` via:

GetConfigurationWindowArgs{...}

type GetConfigurationWindowOutput

type GetConfigurationWindowOutput struct{ *pulumi.OutputState }

func (GetConfigurationWindowOutput) Duration

The duration of the maintenance window.

func (GetConfigurationWindowOutput) ElementType

func (GetConfigurationWindowOutput) ExpirationDateTime

func (o GetConfigurationWindowOutput) ExpirationDateTime() pulumi.StringOutput

Effective expiration date of the maintenance window.

func (GetConfigurationWindowOutput) RecurEvery

The rate at which a maintenance window is expected to recur.

func (GetConfigurationWindowOutput) StartDateTime

Effective start date of the maintenance window.

func (GetConfigurationWindowOutput) TimeZone

The time zone for the maintenance window.

func (GetConfigurationWindowOutput) ToGetConfigurationWindowOutput

func (o GetConfigurationWindowOutput) ToGetConfigurationWindowOutput() GetConfigurationWindowOutput

func (GetConfigurationWindowOutput) ToGetConfigurationWindowOutputWithContext

func (o GetConfigurationWindowOutput) ToGetConfigurationWindowOutputWithContext(ctx context.Context) GetConfigurationWindowOutput

type GetPublicConfigurationsArgs

type GetPublicConfigurationsArgs struct {
	// The Azure location to filter the list of Public Maintenance Configurations against.
	Location *string `pulumi:"location"`
	// The recurring window to filter the list of Public Maintenance Configurations against. Possible values are `Monday-Thursday` and `Friday-Sunday`
	RecurEvery *string `pulumi:"recurEvery"`
	// The scope to filter the list of Public Maintenance Configurations against. Possible values are `Extension`, `Host`, `InGuestPatch`, `OSImage`, `SQLDB` and `SQLManagedInstance`.
	Scope *string `pulumi:"scope"`
}

A collection of arguments for invoking getPublicConfigurations.

type GetPublicConfigurationsConfig

type GetPublicConfigurationsConfig struct {
	// A description of the Public Maintenance Configuration.
	Description string `pulumi:"description"`
	// The duration of the Public Maintenance Configuration window.
	Duration string `pulumi:"duration"`
	// The id of the Public Maintenance Configuration.
	Id string `pulumi:"id"`
	// The Azure location to filter the list of Public Maintenance Configurations against.
	Location string `pulumi:"location"`
	// The scope of the Public Maintenance Configuration.
	MaintenanceScope string `pulumi:"maintenanceScope"`
	// The name of the Public Maintenance Configuration.
	Name string `pulumi:"name"`
	// The recurring window to filter the list of Public Maintenance Configurations against. Possible values are `Monday-Thursday` and `Friday-Sunday`
	RecurEvery string `pulumi:"recurEvery"`
	// The time zone for the maintenance window.
	TimeZone string `pulumi:"timeZone"`
}

type GetPublicConfigurationsConfigArgs

type GetPublicConfigurationsConfigArgs struct {
	// A description of the Public Maintenance Configuration.
	Description pulumi.StringInput `pulumi:"description"`
	// The duration of the Public Maintenance Configuration window.
	Duration pulumi.StringInput `pulumi:"duration"`
	// The id of the Public Maintenance Configuration.
	Id pulumi.StringInput `pulumi:"id"`
	// The Azure location to filter the list of Public Maintenance Configurations against.
	Location pulumi.StringInput `pulumi:"location"`
	// The scope of the Public Maintenance Configuration.
	MaintenanceScope pulumi.StringInput `pulumi:"maintenanceScope"`
	// The name of the Public Maintenance Configuration.
	Name pulumi.StringInput `pulumi:"name"`
	// The recurring window to filter the list of Public Maintenance Configurations against. Possible values are `Monday-Thursday` and `Friday-Sunday`
	RecurEvery pulumi.StringInput `pulumi:"recurEvery"`
	// The time zone for the maintenance window.
	TimeZone pulumi.StringInput `pulumi:"timeZone"`
}

func (GetPublicConfigurationsConfigArgs) ElementType

func (GetPublicConfigurationsConfigArgs) ToGetPublicConfigurationsConfigOutput

func (i GetPublicConfigurationsConfigArgs) ToGetPublicConfigurationsConfigOutput() GetPublicConfigurationsConfigOutput

func (GetPublicConfigurationsConfigArgs) ToGetPublicConfigurationsConfigOutputWithContext

func (i GetPublicConfigurationsConfigArgs) ToGetPublicConfigurationsConfigOutputWithContext(ctx context.Context) GetPublicConfigurationsConfigOutput

type GetPublicConfigurationsConfigArray

type GetPublicConfigurationsConfigArray []GetPublicConfigurationsConfigInput

func (GetPublicConfigurationsConfigArray) ElementType

func (GetPublicConfigurationsConfigArray) ToGetPublicConfigurationsConfigArrayOutput

func (i GetPublicConfigurationsConfigArray) ToGetPublicConfigurationsConfigArrayOutput() GetPublicConfigurationsConfigArrayOutput

func (GetPublicConfigurationsConfigArray) ToGetPublicConfigurationsConfigArrayOutputWithContext

func (i GetPublicConfigurationsConfigArray) ToGetPublicConfigurationsConfigArrayOutputWithContext(ctx context.Context) GetPublicConfigurationsConfigArrayOutput

type GetPublicConfigurationsConfigArrayInput

type GetPublicConfigurationsConfigArrayInput interface {
	pulumi.Input

	ToGetPublicConfigurationsConfigArrayOutput() GetPublicConfigurationsConfigArrayOutput
	ToGetPublicConfigurationsConfigArrayOutputWithContext(context.Context) GetPublicConfigurationsConfigArrayOutput
}

GetPublicConfigurationsConfigArrayInput is an input type that accepts GetPublicConfigurationsConfigArray and GetPublicConfigurationsConfigArrayOutput values. You can construct a concrete instance of `GetPublicConfigurationsConfigArrayInput` via:

GetPublicConfigurationsConfigArray{ GetPublicConfigurationsConfigArgs{...} }

type GetPublicConfigurationsConfigArrayOutput

type GetPublicConfigurationsConfigArrayOutput struct{ *pulumi.OutputState }

func (GetPublicConfigurationsConfigArrayOutput) ElementType

func (GetPublicConfigurationsConfigArrayOutput) Index

func (GetPublicConfigurationsConfigArrayOutput) ToGetPublicConfigurationsConfigArrayOutput

func (o GetPublicConfigurationsConfigArrayOutput) ToGetPublicConfigurationsConfigArrayOutput() GetPublicConfigurationsConfigArrayOutput

func (GetPublicConfigurationsConfigArrayOutput) ToGetPublicConfigurationsConfigArrayOutputWithContext

func (o GetPublicConfigurationsConfigArrayOutput) ToGetPublicConfigurationsConfigArrayOutputWithContext(ctx context.Context) GetPublicConfigurationsConfigArrayOutput

type GetPublicConfigurationsConfigInput

type GetPublicConfigurationsConfigInput interface {
	pulumi.Input

	ToGetPublicConfigurationsConfigOutput() GetPublicConfigurationsConfigOutput
	ToGetPublicConfigurationsConfigOutputWithContext(context.Context) GetPublicConfigurationsConfigOutput
}

GetPublicConfigurationsConfigInput is an input type that accepts GetPublicConfigurationsConfigArgs and GetPublicConfigurationsConfigOutput values. You can construct a concrete instance of `GetPublicConfigurationsConfigInput` via:

GetPublicConfigurationsConfigArgs{...}

type GetPublicConfigurationsConfigOutput

type GetPublicConfigurationsConfigOutput struct{ *pulumi.OutputState }

func (GetPublicConfigurationsConfigOutput) Description

A description of the Public Maintenance Configuration.

func (GetPublicConfigurationsConfigOutput) Duration

The duration of the Public Maintenance Configuration window.

func (GetPublicConfigurationsConfigOutput) ElementType

func (GetPublicConfigurationsConfigOutput) Id

The id of the Public Maintenance Configuration.

func (GetPublicConfigurationsConfigOutput) Location

The Azure location to filter the list of Public Maintenance Configurations against.

func (GetPublicConfigurationsConfigOutput) MaintenanceScope

The scope of the Public Maintenance Configuration.

func (GetPublicConfigurationsConfigOutput) Name

The name of the Public Maintenance Configuration.

func (GetPublicConfigurationsConfigOutput) RecurEvery

The recurring window to filter the list of Public Maintenance Configurations against. Possible values are `Monday-Thursday` and `Friday-Sunday`

func (GetPublicConfigurationsConfigOutput) TimeZone

The time zone for the maintenance window.

func (GetPublicConfigurationsConfigOutput) ToGetPublicConfigurationsConfigOutput

func (o GetPublicConfigurationsConfigOutput) ToGetPublicConfigurationsConfigOutput() GetPublicConfigurationsConfigOutput

func (GetPublicConfigurationsConfigOutput) ToGetPublicConfigurationsConfigOutputWithContext

func (o GetPublicConfigurationsConfigOutput) ToGetPublicConfigurationsConfigOutputWithContext(ctx context.Context) GetPublicConfigurationsConfigOutput

type GetPublicConfigurationsOutputArgs

type GetPublicConfigurationsOutputArgs struct {
	// The Azure location to filter the list of Public Maintenance Configurations against.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// The recurring window to filter the list of Public Maintenance Configurations against. Possible values are `Monday-Thursday` and `Friday-Sunday`
	RecurEvery pulumi.StringPtrInput `pulumi:"recurEvery"`
	// The scope to filter the list of Public Maintenance Configurations against. Possible values are `Extension`, `Host`, `InGuestPatch`, `OSImage`, `SQLDB` and `SQLManagedInstance`.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
}

A collection of arguments for invoking getPublicConfigurations.

func (GetPublicConfigurationsOutputArgs) ElementType

type GetPublicConfigurationsResult

type GetPublicConfigurationsResult struct {
	// A `configs` block as defined below.
	Configs []GetPublicConfigurationsConfig `pulumi:"configs"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Azure location of the Public Maintenance Configuration.
	Location *string `pulumi:"location"`
	// The rate at which a maintenance window is expected to recur.
	RecurEvery *string `pulumi:"recurEvery"`
	Scope      *string `pulumi:"scope"`
}

A collection of values returned by getPublicConfigurations.

func GetPublicConfigurations

func GetPublicConfigurations(ctx *pulumi.Context, args *GetPublicConfigurationsArgs, opts ...pulumi.InvokeOption) (*GetPublicConfigurationsResult, error)

Use this data source to access information about existing Public Maintenance Configurations.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/maintenance"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		existing, err := maintenance.GetPublicConfigurations(ctx, &maintenance.GetPublicConfigurationsArgs{
			Location:   pulumi.StringRef("West Europe"),
			Scope:      pulumi.StringRef("SQLManagedInstance"),
			RecurEvery: pulumi.StringRef("Monday-Thursday"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("name", existing.Configs[0].Name)
		return nil
	})
}

```

type GetPublicConfigurationsResultOutput

type GetPublicConfigurationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPublicConfigurations.

func (GetPublicConfigurationsResultOutput) Configs

A `configs` block as defined below.

func (GetPublicConfigurationsResultOutput) ElementType

func (GetPublicConfigurationsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPublicConfigurationsResultOutput) Location

The Azure location of the Public Maintenance Configuration.

func (GetPublicConfigurationsResultOutput) RecurEvery

The rate at which a maintenance window is expected to recur.

func (GetPublicConfigurationsResultOutput) Scope

func (GetPublicConfigurationsResultOutput) ToGetPublicConfigurationsResultOutput

func (o GetPublicConfigurationsResultOutput) ToGetPublicConfigurationsResultOutput() GetPublicConfigurationsResultOutput

func (GetPublicConfigurationsResultOutput) ToGetPublicConfigurationsResultOutputWithContext

func (o GetPublicConfigurationsResultOutput) ToGetPublicConfigurationsResultOutputWithContext(ctx context.Context) GetPublicConfigurationsResultOutput

type LookupConfigurationArgs

type LookupConfigurationArgs struct {
	// Specifies the name of the Maintenance Configuration.
	Name string `pulumi:"name"`
	// Specifies the name of the Resource Group where this Maintenance Configuration exists.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getConfiguration.

type LookupConfigurationOutputArgs

type LookupConfigurationOutputArgs struct {
	// Specifies the name of the Maintenance Configuration.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the name of the Resource Group where this Maintenance Configuration exists.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getConfiguration.

func (LookupConfigurationOutputArgs) ElementType

type LookupConfigurationResult

type LookupConfigurationResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The in guest user patch mode.
	InGuestUserPatchMode string `pulumi:"inGuestUserPatchMode"`
	// An `installPatches` block as defined below.
	InstallPatches []GetConfigurationInstallPatch `pulumi:"installPatches"`
	// The Azure location where the resource exists.
	Location string `pulumi:"location"`
	Name     string `pulumi:"name"`
	// The properties assigned to the resource.
	Properties        map[string]string `pulumi:"properties"`
	ResourceGroupName string            `pulumi:"resourceGroupName"`
	// The scope of the Maintenance Configuration.
	Scope string `pulumi:"scope"`
	// A mapping of tags assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
	// The visibility of the Maintenance Configuration.
	Visibility string `pulumi:"visibility"`
	// A `window` block as defined below.
	Windows []GetConfigurationWindow `pulumi:"windows"`
}

A collection of values returned by getConfiguration.

func LookupConfiguration

func LookupConfiguration(ctx *pulumi.Context, args *LookupConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupConfigurationResult, error)

Use this data source to access information about an existing Maintenance Configuration.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/maintenance"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := maintenance.LookupConfiguration(ctx, &maintenance.LookupConfigurationArgs{
			Name:              "example-mc",
			ResourceGroupName: "example-resources",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", existingAzurermMaintenanceConfiguration.Id)
		return nil
	})
}

```

type LookupConfigurationResultOutput

type LookupConfigurationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConfiguration.

func (LookupConfigurationResultOutput) ElementType

func (LookupConfigurationResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupConfigurationResultOutput) InGuestUserPatchMode

func (o LookupConfigurationResultOutput) InGuestUserPatchMode() pulumi.StringOutput

The in guest user patch mode.

func (LookupConfigurationResultOutput) InstallPatches

An `installPatches` block as defined below.

func (LookupConfigurationResultOutput) Location

The Azure location where the resource exists.

func (LookupConfigurationResultOutput) Name

func (LookupConfigurationResultOutput) Properties

The properties assigned to the resource.

func (LookupConfigurationResultOutput) ResourceGroupName

func (o LookupConfigurationResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupConfigurationResultOutput) Scope

The scope of the Maintenance Configuration.

func (LookupConfigurationResultOutput) Tags

A mapping of tags assigned to the resource.

func (LookupConfigurationResultOutput) ToLookupConfigurationResultOutput

func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutput() LookupConfigurationResultOutput

func (LookupConfigurationResultOutput) ToLookupConfigurationResultOutputWithContext

func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutputWithContext(ctx context.Context) LookupConfigurationResultOutput

func (LookupConfigurationResultOutput) Visibility

The visibility of the Maintenance Configuration.

func (LookupConfigurationResultOutput) Windows

A `window` block as defined below.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL