common

package
v1.0.81 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ScheduleMaintenanceSchema = map[string]*schema.Schema{
	"display_name": {
		Type:        schema.TypeString,
		Required:    true,
		Description: "Display name for the maintenance.",
	},
	"description": {
		Type:        schema.TypeString,
		Optional:    true,
		Description: "Description for the maintenance.",
	},

	"start_date": {
		Type:        schema.TypeString,
		Required:    true,
		Description: "Mandatory, if the maintenance_type chosen is Once. Maintenance start date. Format - yyyy-mm-dd.",
	},
	"start_time": {
		Type:        schema.TypeString,
		Required:    true,
		Description: "Maintenance start time. Format - hh:mm",
	},
	"time_zone": {
		Type:        schema.TypeString,
		Optional:    true,
		Description: "Time zone for your scheduled maintenance. Default value is your account timezone.",
	},
	"end_date": {
		Type:        schema.TypeString,
		Required:    true,
		Description: "Mandatory, if the maintenance_type chosen is Once. Maintenance end date. Format - yyyy-mm-dd.",
	},
	"end_time": {
		Type:        schema.TypeString,
		Required:    true,
		Description: "Maintenance end time. Format - hh:mm",
	},
	"selection_type": {
		Type:        schema.TypeInt,
		Optional:    true,
		Default:     2,
		Description: "Resource Type associated with this integration. Default value is '0'. Can take values 1|2|3. '1' denotes 'Monitor Group', '2' denotes 'Monitors', '3' denotes 'Tags'",
	},
	"monitors": {
		Type: schema.TypeList,
		Elem: &schema.Schema{
			Type: schema.TypeString,
		},
		Optional:    true,
		Description: "Monitors that need to be associated with the maintenance window when the selection_type = 2.",
	},
	"monitor_groups": {
		Type: schema.TypeList,
		Elem: &schema.Schema{
			Type: schema.TypeString,
		},
		Optional:    true,
		Description: "Monitor Groups that need to be associated with the maintenance window when the selection_type = 1.",
	},
	"tags": {
		Type: schema.TypeList,
		Elem: &schema.Schema{
			Type: schema.TypeString,
		},
		Optional:    true,
		Description: "Tags that need to be associated with the maintenance window when the selection_type = 3.",
	},
	"perform_monitoring": {
		Type:        schema.TypeBool,
		Optional:    true,
		Default:     true,
		Description: "Enable this to perform uptime monitoring of the resource during the maintenance window.",
	},
}

Functions

func DataSourceSite24x7CredentialProfile added in v1.0.63

func DataSourceSite24x7CredentialProfile() *schema.Resource

func DataSourceSite24x7DeviceKey added in v1.0.54

func DataSourceSite24x7DeviceKey() *schema.Resource

func ResourceSite24x7CredentialProfile added in v1.0.63

func ResourceSite24x7CredentialProfile() *schema.Resource

func ResourceSite24x7ScheduleMaintenance

func ResourceSite24x7ScheduleMaintenance() *schema.Resource

Types

This section is empty.

Jump to

Keyboard shortcuts

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