latest

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaintenanceScopeAll        = MaintenanceScope("All")
	MaintenanceScopeHost       = MaintenanceScope("Host")
	MaintenanceScopeResource   = MaintenanceScope("Resource")
	MaintenanceScopeInResource = MaintenanceScope("InResource")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupMaintenanceConfigurationArgs

type LookupMaintenanceConfigurationArgs struct {
	// Resource Group Name
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// Resource Identifier
	ResourceName string `pulumi:"resourceName"`
}

type LookupMaintenanceConfigurationResult

type LookupMaintenanceConfigurationResult struct {
	// Gets or sets extensionProperties of the maintenanceConfiguration. This is for future use only and would be a set of key value pairs for additional information e.g. whether to follow SDP etc.
	ExtensionProperties map[string]string `pulumi:"extensionProperties"`
	// Fully qualified identifier of the resource
	Id string `pulumi:"id"`
	// Gets or sets location of the resource
	Location *string `pulumi:"location"`
	// Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance
	MaintenanceScope *string `pulumi:"maintenanceScope"`
	// Name of the resource
	Name string `pulumi:"name"`
	// Gets or sets namespace of the resource e.g. Microsoft.Maintenance or Microsoft.Sql
	Namespace *string `pulumi:"namespace"`
	// Gets or sets tags of the resource
	Tags map[string]string `pulumi:"tags"`
	// Type of the resource
	Type string `pulumi:"type"`
}

Maintenance configuration record type

type MaintenanceConfiguration

type MaintenanceConfiguration struct {
	pulumi.CustomResourceState

	// Gets or sets extensionProperties of the maintenanceConfiguration. This is for future use only and would be a set of key value pairs for additional information e.g. whether to follow SDP etc.
	ExtensionProperties pulumi.StringMapOutput `pulumi:"extensionProperties"`
	// Gets or sets location of the resource
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance
	MaintenanceScope pulumi.StringPtrOutput `pulumi:"maintenanceScope"`
	// Name of the resource
	Name pulumi.StringOutput `pulumi:"name"`
	// Gets or sets namespace of the resource e.g. Microsoft.Maintenance or Microsoft.Sql
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// Gets or sets tags of the resource
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Type of the resource
	Type pulumi.StringOutput `pulumi:"type"`
}

Maintenance configuration record type Latest API Version: 2020-04-01.

func GetMaintenanceConfiguration

func GetMaintenanceConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MaintenanceConfigurationState, opts ...pulumi.ResourceOption) (*MaintenanceConfiguration, error)

GetMaintenanceConfiguration gets an existing MaintenanceConfiguration 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 NewMaintenanceConfiguration

func NewMaintenanceConfiguration(ctx *pulumi.Context,
	name string, args *MaintenanceConfigurationArgs, opts ...pulumi.ResourceOption) (*MaintenanceConfiguration, error)

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

func (*MaintenanceConfiguration) ElementType added in v0.2.6

func (*MaintenanceConfiguration) ElementType() reflect.Type

func (*MaintenanceConfiguration) ToMaintenanceConfigurationOutput added in v0.2.6

func (i *MaintenanceConfiguration) ToMaintenanceConfigurationOutput() MaintenanceConfigurationOutput

func (*MaintenanceConfiguration) ToMaintenanceConfigurationOutputWithContext added in v0.2.6

func (i *MaintenanceConfiguration) ToMaintenanceConfigurationOutputWithContext(ctx context.Context) MaintenanceConfigurationOutput

type MaintenanceConfigurationArgs

type MaintenanceConfigurationArgs struct {
	// Gets or sets extensionProperties of the maintenanceConfiguration. This is for future use only and would be a set of key value pairs for additional information e.g. whether to follow SDP etc.
	ExtensionProperties pulumi.StringMapInput
	// Gets or sets location of the resource
	Location pulumi.StringPtrInput
	// Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance
	MaintenanceScope pulumi.StringPtrInput
	// Gets or sets namespace of the resource e.g. Microsoft.Maintenance or Microsoft.Sql
	Namespace pulumi.StringPtrInput
	// Resource Group Name
	ResourceGroupName pulumi.StringInput
	// Resource Identifier
	ResourceName pulumi.StringInput
	// Gets or sets tags of the resource
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a MaintenanceConfiguration resource.

func (MaintenanceConfigurationArgs) ElementType

type MaintenanceConfigurationInput added in v0.2.6

type MaintenanceConfigurationInput interface {
	pulumi.Input

	ToMaintenanceConfigurationOutput() MaintenanceConfigurationOutput
	ToMaintenanceConfigurationOutputWithContext(ctx context.Context) MaintenanceConfigurationOutput
}

type MaintenanceConfigurationOutput added in v0.2.6

type MaintenanceConfigurationOutput struct {
	*pulumi.OutputState
}

func (MaintenanceConfigurationOutput) ElementType added in v0.2.6

func (MaintenanceConfigurationOutput) ToMaintenanceConfigurationOutput added in v0.2.6

func (o MaintenanceConfigurationOutput) ToMaintenanceConfigurationOutput() MaintenanceConfigurationOutput

func (MaintenanceConfigurationOutput) ToMaintenanceConfigurationOutputWithContext added in v0.2.6

func (o MaintenanceConfigurationOutput) ToMaintenanceConfigurationOutputWithContext(ctx context.Context) MaintenanceConfigurationOutput

type MaintenanceConfigurationState

type MaintenanceConfigurationState struct {
	// Gets or sets extensionProperties of the maintenanceConfiguration. This is for future use only and would be a set of key value pairs for additional information e.g. whether to follow SDP etc.
	ExtensionProperties pulumi.StringMapInput
	// Gets or sets location of the resource
	Location pulumi.StringPtrInput
	// Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance
	MaintenanceScope pulumi.StringPtrInput
	// Name of the resource
	Name pulumi.StringPtrInput
	// Gets or sets namespace of the resource e.g. Microsoft.Maintenance or Microsoft.Sql
	Namespace pulumi.StringPtrInput
	// Gets or sets tags of the resource
	Tags pulumi.StringMapInput
	// Type of the resource
	Type pulumi.StringPtrInput
}

func (MaintenanceConfigurationState) ElementType

type MaintenanceScope added in v0.3.1

type MaintenanceScope pulumi.String

Gets or sets maintenanceScope of the configuration. It represent the impact area of the maintenance

func (MaintenanceScope) ElementType added in v0.3.1

func (MaintenanceScope) ElementType() reflect.Type

func (MaintenanceScope) ToStringOutput added in v0.3.1

func (e MaintenanceScope) ToStringOutput() pulumi.StringOutput

func (MaintenanceScope) ToStringOutputWithContext added in v0.3.1

func (e MaintenanceScope) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (MaintenanceScope) ToStringPtrOutput added in v0.3.1

func (e MaintenanceScope) ToStringPtrOutput() pulumi.StringPtrOutput

func (MaintenanceScope) ToStringPtrOutputWithContext added in v0.3.1

func (e MaintenanceScope) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

Jump to

Keyboard shortcuts

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