maintenance_window

package
v0.11.18 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() resource.Resource

NewResource is a helper function to simplify the provider implementation.

Types

type MaintenanceWindowAlertingScope

type MaintenanceWindowAlertingScope struct {
	Kql types.String `tfsdk:"kql"`
}

type MaintenanceWindowModel

type MaintenanceWindowModel struct {
	ID             types.String              `tfsdk:"id"`
	SpaceID        types.String              `tfsdk:"space_id"`
	Title          types.String              `tfsdk:"title"`
	Enabled        types.Bool                `tfsdk:"enabled"`
	CustomSchedule MaintenanceWindowSchedule `tfsdk:"custom_schedule"`
	Scope          *MaintenanceWindowScope   `tfsdk:"scope"`
}

type MaintenanceWindowResource

type MaintenanceWindowResource struct {
	// contains filtered or unexported fields
}

func (*MaintenanceWindowResource) Configure

func (*MaintenanceWindowResource) Create

func (*MaintenanceWindowResource) Delete

func (*MaintenanceWindowResource) ImportState

func (*MaintenanceWindowResource) Metadata

Metadata returns the provider type name.

func (*MaintenanceWindowResource) Read

func (*MaintenanceWindowResource) Schema

func (*MaintenanceWindowResource) Update

type MaintenanceWindowSchedule

type MaintenanceWindowSchedule struct {
	Start     types.String                        `tfsdk:"start"`
	Duration  types.String                        `tfsdk:"duration"`
	Timezone  types.String                        `tfsdk:"timezone"`
	Recurring *MaintenanceWindowScheduleRecurring `tfsdk:"recurring"`
}

type MaintenanceWindowScheduleRecurring

type MaintenanceWindowScheduleRecurring struct {
	End         types.String `tfsdk:"end"`
	Every       types.String `tfsdk:"every"`
	Occurrences types.Int32  `tfsdk:"occurrences"`
	OnWeekDay   types.List   `tfsdk:"on_week_day"`
	OnMonthDay  types.List   `tfsdk:"on_month_day"`
	OnMonth     types.List   `tfsdk:"on_month"`
}

type MaintenanceWindowScope

type MaintenanceWindowScope struct {
	Alerting MaintenanceWindowAlertingScope `tfsdk:"alerting"`
}

type ResponseJson

type ResponseJson struct {
	CreatedAt string               `json:"created_at"`
	CreatedBy *string              `json:"created_by"`
	Enabled   bool                 `json:"enabled"`
	Id        string               `json:"id"`
	Schedule  ResponseJsonSchedule `json:"schedule"`
	Scope     *ResponseJsonScope   `json:"scope,omitempty"`
	Title     string               `json:"title"`
}

type ResponseJsonAlerting

type ResponseJsonAlerting struct {
	Query ResponseJsonAlertingQuery `json:"query"`
}

type ResponseJsonAlertingQuery

type ResponseJsonAlertingQuery struct {
	Kql string `json:"kql"`
}

type ResponseJsonCustomSchedule

type ResponseJsonCustomSchedule struct {
	Duration  string                 `json:"duration"`
	Recurring *ResponseJsonRecurring `json:"recurring,omitempty"`
	Start     string                 `json:"start"`
	Timezone  *string                `json:"timezone,omitempty"`
}

type ResponseJsonRecurring

type ResponseJsonRecurring struct {
	End         *string    `json:"end,omitempty"`
	Every       *string    `json:"every,omitempty"`
	Occurrences *float32   `json:"occurrences,omitempty"`
	OnMonth     *[]float32 `json:"onMonth,omitempty"`
	OnMonthDay  *[]float32 `json:"onMonthDay,omitempty"`
	OnWeekDay   *[]string  `json:"onWeekDay,omitempty"`
}

type ResponseJsonSchedule

type ResponseJsonSchedule struct {
	Custom ResponseJsonCustomSchedule `json:"custom"`
}

type ResponseJsonScope

type ResponseJsonScope struct {
	Alerting ResponseJsonAlerting `json:"alerting"`
}

Jump to

Keyboard shortcuts

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