v20200701preview

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")
	MaintenanceScopeOSImage            = MaintenanceScope("OSImage")
	MaintenanceScopeExtension          = MaintenanceScope("Extension")
	MaintenanceScopeInGuestPatch       = MaintenanceScope("InGuestPatch")
	MaintenanceScopeSQLDB              = MaintenanceScope("SQLDB")
	MaintenanceScopeSQLManagedInstance = MaintenanceScope("SQLManagedInstance")
)
View Source
const (
	VisibilityCustom = Visibility("Custom")
	VisibilityPublic = Visibility("Public")
)

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 {
	// Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00.
	Duration *string `pulumi:"duration"`
	// Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
	ExpirationDateTime *string `pulumi:"expirationDateTime"`
	// Gets or sets extensionProperties of the maintenanceConfiguration
	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
	MaintenanceScope *string `pulumi:"maintenanceScope"`
	// Name of the resource
	Name string `pulumi:"name"`
	// Gets or sets namespace of the resource
	Namespace *string `pulumi:"namespace"`
	// Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days.  Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday]. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday.
	RecurEvery *string `pulumi:"recurEvery"`
	// Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
	StartDateTime *string `pulumi:"startDateTime"`
	// Gets or sets tags of the resource
	Tags map[string]string `pulumi:"tags"`
	// Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
	TimeZone *string `pulumi:"timeZone"`
	// Type of the resource
	Type string `pulumi:"type"`
	// Gets or sets the visibility of the configuration
	Visibility *string `pulumi:"visibility"`
}

Maintenance configuration record type

type MaintenanceConfiguration

type MaintenanceConfiguration struct {
	pulumi.CustomResourceState

	// Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00.
	Duration pulumi.StringPtrOutput `pulumi:"duration"`
	// Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
	ExpirationDateTime pulumi.StringPtrOutput `pulumi:"expirationDateTime"`
	// Gets or sets extensionProperties of the maintenanceConfiguration
	ExtensionProperties pulumi.StringMapOutput `pulumi:"extensionProperties"`
	// Gets or sets location of the resource
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// Gets or sets maintenanceScope of the configuration
	MaintenanceScope pulumi.StringPtrOutput `pulumi:"maintenanceScope"`
	// Name of the resource
	Name pulumi.StringOutput `pulumi:"name"`
	// Gets or sets namespace of the resource
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days.  Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday]. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday.
	RecurEvery pulumi.StringPtrOutput `pulumi:"recurEvery"`
	// Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
	StartDateTime pulumi.StringPtrOutput `pulumi:"startDateTime"`
	// Gets or sets tags of the resource
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
	TimeZone pulumi.StringPtrOutput `pulumi:"timeZone"`
	// Type of the resource
	Type pulumi.StringOutput `pulumi:"type"`
	// Gets or sets the visibility of the configuration
	Visibility pulumi.StringPtrOutput `pulumi:"visibility"`
}

Maintenance configuration record type

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 {
	// Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00.
	Duration pulumi.StringPtrInput
	// Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
	ExpirationDateTime pulumi.StringPtrInput
	// Gets or sets extensionProperties of the maintenanceConfiguration
	ExtensionProperties pulumi.StringMapInput
	// Gets or sets location of the resource
	Location pulumi.StringPtrInput
	// Gets or sets maintenanceScope of the configuration
	MaintenanceScope pulumi.StringPtrInput
	// Gets or sets namespace of the resource
	Namespace pulumi.StringPtrInput
	// Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days.  Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday]. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday.
	RecurEvery pulumi.StringPtrInput
	// Resource Group Name
	ResourceGroupName pulumi.StringInput
	// Resource Identifier
	ResourceName pulumi.StringInput
	// Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
	StartDateTime pulumi.StringPtrInput
	// Gets or sets tags of the resource
	Tags pulumi.StringMapInput
	// Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
	TimeZone pulumi.StringPtrInput
	// Gets or sets the visibility of the configuration
	Visibility pulumi.StringPtrInput
}

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 {
	// Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00.
	Duration pulumi.StringPtrInput
	// Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.
	ExpirationDateTime pulumi.StringPtrInput
	// Gets or sets extensionProperties of the maintenanceConfiguration
	ExtensionProperties pulumi.StringMapInput
	// Gets or sets location of the resource
	Location pulumi.StringPtrInput
	// Gets or sets maintenanceScope of the configuration
	MaintenanceScope pulumi.StringPtrInput
	// Name of the resource
	Name pulumi.StringPtrInput
	// Gets or sets namespace of the resource
	Namespace pulumi.StringPtrInput
	// Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days.  Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday]. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday.
	RecurEvery pulumi.StringPtrInput
	// Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.
	StartDateTime pulumi.StringPtrInput
	// Gets or sets tags of the resource
	Tags pulumi.StringMapInput
	// Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.
	TimeZone pulumi.StringPtrInput
	// Type of the resource
	Type pulumi.StringPtrInput
	// Gets or sets the visibility of the configuration
	Visibility pulumi.StringPtrInput
}

func (MaintenanceConfigurationState) ElementType

type MaintenanceScope added in v0.3.1

type MaintenanceScope pulumi.String

Gets or sets maintenanceScope of the configuration

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

type Visibility added in v0.3.1

type Visibility pulumi.String

Gets or sets the visibility of the configuration

func (Visibility) ElementType added in v0.3.1

func (Visibility) ElementType() reflect.Type

func (Visibility) ToStringOutput added in v0.3.1

func (e Visibility) ToStringOutput() pulumi.StringOutput

func (Visibility) ToStringOutputWithContext added in v0.3.1

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

func (Visibility) ToStringPtrOutput added in v0.3.1

func (e Visibility) ToStringPtrOutput() pulumi.StringPtrOutput

func (Visibility) ToStringPtrOutputWithContext added in v0.3.1

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

Jump to

Keyboard shortcuts

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