resources

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BrowserConfigSemanticEqual added in v0.3.0

func BrowserConfigSemanticEqual() planmodifier.String

func NewAccountAPIKeyResource

func NewAccountAPIKeyResource() resource.Resource

func NewAlertChannelResource

func NewAlertChannelResource() resource.Resource

func NewEnvVarResource added in v0.3.0

func NewEnvVarResource() resource.Resource

func NewExternalLinkResource

func NewExternalLinkResource() resource.Resource

func NewMonitorAlertChannelLinkResource

func NewMonitorAlertChannelLinkResource() resource.Resource

func NewMonitorResource

func NewMonitorResource() resource.Resource

func NewPagerDutyIntegrationResource

func NewPagerDutyIntegrationResource() resource.Resource

func NewStatusPageComponentGroupResource

func NewStatusPageComponentGroupResource() resource.Resource

func NewStatusPageComponentResource

func NewStatusPageComponentResource() resource.Resource

func NewStatusPageResource

func NewStatusPageResource() resource.Resource

func NewStatusPageWatchdogResource

func NewStatusPageWatchdogResource() resource.Resource

func NewTeamAPIKeyResource

func NewTeamAPIKeyResource() resource.Resource

func NewTeamResource

func NewTeamResource() resource.Resource

Types

type AccountAPIKeyResource

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

func (*AccountAPIKeyResource) Configure

func (*AccountAPIKeyResource) Create

func (*AccountAPIKeyResource) Delete

func (*AccountAPIKeyResource) ImportState

func (*AccountAPIKeyResource) Metadata

func (*AccountAPIKeyResource) Read

func (*AccountAPIKeyResource) Schema

func (*AccountAPIKeyResource) Update

type AccountAPIKeyResourceModel

type AccountAPIKeyResourceModel struct {
	ID        types.String `tfsdk:"id"`
	AccountID types.String `tfsdk:"account_id"`
	Name      types.String `tfsdk:"name"`
	ExpiresAt types.String `tfsdk:"expires_at"`
	Key       types.String `tfsdk:"key"`
	KeyPrefix types.String `tfsdk:"key_prefix"`
	CreatedAt types.String `tfsdk:"created_at"`
}

type AlertChannelResource

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

func (*AlertChannelResource) Configure

func (*AlertChannelResource) Create

func (*AlertChannelResource) Delete

func (*AlertChannelResource) ImportState

func (*AlertChannelResource) Metadata

func (*AlertChannelResource) Read

func (*AlertChannelResource) Schema

func (*AlertChannelResource) Update

type AlertChannelResourceModel

type AlertChannelResourceModel struct {
	ID            types.String `tfsdk:"id"`
	TeamID        types.String `tfsdk:"team_id"`
	Name          types.String `tfsdk:"name"`
	Type          types.String `tfsdk:"type"`
	Config        types.Map    `tfsdk:"config"`
	Enabled       types.Bool   `tfsdk:"enabled"`
	EmailVerified types.Bool   `tfsdk:"email_verified"`
	CreatedAt     types.String `tfsdk:"created_at"`
	UpdatedAt     types.String `tfsdk:"updated_at"`
}

type EnvVarResource added in v0.3.0

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

func (*EnvVarResource) Configure added in v0.3.0

func (*EnvVarResource) Create added in v0.3.0

func (*EnvVarResource) Delete added in v0.3.0

func (*EnvVarResource) ImportState added in v0.3.0

func (*EnvVarResource) Metadata added in v0.3.0

func (*EnvVarResource) Read added in v0.3.0

func (*EnvVarResource) Schema added in v0.3.0

func (*EnvVarResource) Update added in v0.3.0

type EnvVarResourceModel added in v0.3.0

type EnvVarResourceModel struct {
	ID        types.String `tfsdk:"id"`
	TeamID    types.String `tfsdk:"team_id"`
	Key       types.String `tfsdk:"key"`
	Value     types.String `tfsdk:"value"`
	IsSecret  types.Bool   `tfsdk:"is_secret"`
	CreatedAt types.String `tfsdk:"created_at"`
	UpdatedAt types.String `tfsdk:"updated_at"`
}

type ExternalLinkResource

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

func (*ExternalLinkResource) Configure

func (*ExternalLinkResource) Create

func (*ExternalLinkResource) Delete

func (*ExternalLinkResource) ImportState

func (*ExternalLinkResource) Metadata

func (*ExternalLinkResource) Read

func (*ExternalLinkResource) Schema

func (*ExternalLinkResource) Update

type ExternalLinkResourceModel

type ExternalLinkResourceModel struct {
	ID                types.String `tfsdk:"id"`
	TeamID            types.String `tfsdk:"team_id"`
	Name              types.String `tfsdk:"name"`
	URLTemplate       types.String `tfsdk:"url_template"`
	IconURL           types.String `tfsdk:"icon_url"`
	TimeWindowMinutes types.Int64  `tfsdk:"time_window_minutes"`
	CreatedAt         types.String `tfsdk:"created_at"`
	UpdatedAt         types.String `tfsdk:"updated_at"`
}

type MonitorAlertChannelLinkModel

type MonitorAlertChannelLinkModel struct {
	TeamID    types.String `tfsdk:"team_id"`
	MonitorID types.String `tfsdk:"monitor_id"`
	ChannelID types.String `tfsdk:"channel_id"`
}

type MonitorAlertChannelLinkResource

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

func (*MonitorAlertChannelLinkResource) Configure

func (*MonitorAlertChannelLinkResource) Create

func (*MonitorAlertChannelLinkResource) Delete

func (*MonitorAlertChannelLinkResource) ImportState

func (*MonitorAlertChannelLinkResource) Metadata

func (*MonitorAlertChannelLinkResource) Read

func (*MonitorAlertChannelLinkResource) Schema

func (*MonitorAlertChannelLinkResource) Update

type MonitorResource

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

func (*MonitorResource) Configure

func (*MonitorResource) Create

func (*MonitorResource) Delete

func (*MonitorResource) ImportState

func (*MonitorResource) Metadata

func (*MonitorResource) Read

func (*MonitorResource) Schema

func (*MonitorResource) Update

type MonitorResourceModel

type MonitorResourceModel struct {
	ID                      types.String  `tfsdk:"id"`
	TeamID                  types.String  `tfsdk:"team_id"`
	Name                    types.String  `tfsdk:"name"`
	URL                     types.String  `tfsdk:"url"`
	Status                  types.String  `tfsdk:"status"`
	CheckIntervalMs         types.Int64   `tfsdk:"check_interval_ms"`
	TimeoutMs               types.Int64   `tfsdk:"timeout_ms"`
	HTTPMethod              types.String  `tfsdk:"http_method"`
	HTTPVersion             types.String  `tfsdk:"http_version"`
	Headers                 types.Map     `tfsdk:"headers"`
	FollowRedirects         types.Bool    `tfsdk:"follow_redirects"`
	AllowedStatusCodes      types.List    `tfsdk:"allowed_status_codes"`
	FailureThreshold        types.Int64   `tfsdk:"failure_threshold"`
	LatencyThresholdMs      types.Int64   `tfsdk:"latency_threshold_ms"`
	SSLExpiryEnabled        types.Bool    `tfsdk:"ssl_expiry_enabled"`
	SSLExpiryThresholds     types.List    `tfsdk:"ssl_expiry_thresholds"`
	DomainExpiryEnabled     types.Bool    `tfsdk:"domain_expiry_enabled"`
	DomainExpiryThresholds  types.List    `tfsdk:"domain_expiry_thresholds"`
	UptimeThresholdGood     types.Float64 `tfsdk:"uptime_threshold_good"`
	UptimeThresholdDegraded types.Float64 `tfsdk:"uptime_threshold_degraded"`
	UptimeThresholdCritical types.Float64 `tfsdk:"uptime_threshold_critical"`
	CheckerRegion           types.String  `tfsdk:"checker_region"`
	CheckerCountry          types.String  `tfsdk:"checker_country"`
	ResolveOverrideIP       types.String  `tfsdk:"resolve_override_ip"`
	HealthStatus            types.String  `tfsdk:"health_status"`
	Type                    types.String  `tfsdk:"type"`
	BrowserConfigJSON       types.String  `tfsdk:"browser_config_json"`
	CreatedAt               types.String  `tfsdk:"created_at"`
	UpdatedAt               types.String  `tfsdk:"updated_at"`
}

type PagerDutyIntegrationResource

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

func (*PagerDutyIntegrationResource) Configure

func (*PagerDutyIntegrationResource) Create

func (*PagerDutyIntegrationResource) Delete

func (*PagerDutyIntegrationResource) ImportState

func (*PagerDutyIntegrationResource) Metadata

func (*PagerDutyIntegrationResource) Read

func (*PagerDutyIntegrationResource) Schema

func (*PagerDutyIntegrationResource) Update

type PagerDutyIntegrationResourceModel

type PagerDutyIntegrationResourceModel struct {
	ID           types.String `tfsdk:"id"`
	APIKey       types.String `tfsdk:"api_key"`
	Region       types.String `tfsdk:"region"`
	ServiceIDs   types.List   `tfsdk:"service_ids"`
	SyncEnabled  types.Bool   `tfsdk:"sync_enabled"`
	SyncError    types.String `tfsdk:"sync_error"`
	LastSyncedAt types.String `tfsdk:"last_synced_at"`
	CreatedAt    types.String `tfsdk:"created_at"`
	UpdatedAt    types.String `tfsdk:"updated_at"`
}

type StatusPageComponentGroupResource

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

func (*StatusPageComponentGroupResource) Configure

func (*StatusPageComponentGroupResource) Create

func (*StatusPageComponentGroupResource) Delete

func (*StatusPageComponentGroupResource) ImportState

func (*StatusPageComponentGroupResource) Metadata

func (*StatusPageComponentGroupResource) Read

func (*StatusPageComponentGroupResource) Schema

func (*StatusPageComponentGroupResource) Update

type StatusPageComponentGroupResourceModel

type StatusPageComponentGroupResourceModel struct {
	ID           types.String `tfsdk:"id"`
	StatusPageID types.String `tfsdk:"status_page_id"`
	Name         types.String `tfsdk:"name"`
	Description  types.String `tfsdk:"description"`
	Position     types.Int64  `tfsdk:"position"`
	Collapsed    types.Bool   `tfsdk:"collapsed"`
	CreatedAt    types.String `tfsdk:"created_at"`
	UpdatedAt    types.String `tfsdk:"updated_at"`
}

type StatusPageComponentResource

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

func (*StatusPageComponentResource) Configure

func (*StatusPageComponentResource) Create

func (*StatusPageComponentResource) Delete

func (*StatusPageComponentResource) ImportState

func (*StatusPageComponentResource) Metadata

func (*StatusPageComponentResource) Read

func (*StatusPageComponentResource) Schema

func (*StatusPageComponentResource) Update

type StatusPageComponentResourceModel

type StatusPageComponentResourceModel struct {
	ID            types.String `tfsdk:"id"`
	StatusPageID  types.String `tfsdk:"status_page_id"`
	GroupID       types.String `tfsdk:"group_id"`
	Name          types.String `tfsdk:"name"`
	Description   types.String `tfsdk:"description"`
	DisplayUptime types.Bool   `tfsdk:"display_uptime"`
	Position      types.Int64  `tfsdk:"position"`
	Status        types.String `tfsdk:"status"`
	CreatedAt     types.String `tfsdk:"created_at"`
	UpdatedAt     types.String `tfsdk:"updated_at"`
}

type StatusPageResource

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

func (*StatusPageResource) Configure

func (*StatusPageResource) Create

func (*StatusPageResource) Delete

func (*StatusPageResource) ImportState

func (*StatusPageResource) Metadata

func (*StatusPageResource) Read

func (*StatusPageResource) Schema

func (*StatusPageResource) Update

type StatusPageResourceModel

type StatusPageResourceModel struct {
	ID                   types.String `tfsdk:"id"`
	Name                 types.String `tfsdk:"name"`
	Slug                 types.String `tfsdk:"slug"`
	Description          types.String `tfsdk:"description"`
	CustomDomain         types.String `tfsdk:"custom_domain"`
	Password             types.String `tfsdk:"password"`
	HasPassword          types.Bool   `tfsdk:"has_password"`
	AllowIframe          types.Bool   `tfsdk:"allow_iframe"`
	ShowHistoricalUptime types.Bool   `tfsdk:"show_historical_uptime"`
	BrandingLogoURL      types.String `tfsdk:"branding_logo_url"`
	BrandingFaviconURL   types.String `tfsdk:"branding_favicon_url"`
	BrandingPrimaryColor types.String `tfsdk:"branding_primary_color"`
	CreatedAt            types.String `tfsdk:"created_at"`
	UpdatedAt            types.String `tfsdk:"updated_at"`
}

type StatusPageWatchdogResource

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

func (*StatusPageWatchdogResource) Configure

func (*StatusPageWatchdogResource) Create

func (*StatusPageWatchdogResource) Delete

func (*StatusPageWatchdogResource) ImportState

func (*StatusPageWatchdogResource) Metadata

func (*StatusPageWatchdogResource) Read

func (*StatusPageWatchdogResource) Schema

func (*StatusPageWatchdogResource) Update

type StatusPageWatchdogResourceModel

type StatusPageWatchdogResourceModel struct {
	ID                types.String `tfsdk:"id"`
	StatusPageID      types.String `tfsdk:"status_page_id"`
	ComponentID       types.String `tfsdk:"component_id"`
	MonitorID         types.String `tfsdk:"monitor_id"`
	Severity          types.String `tfsdk:"severity"`
	AutoCreate        types.Bool   `tfsdk:"auto_create"`
	AutoResolve       types.Bool   `tfsdk:"auto_resolve"`
	NotifySubscribers types.Bool   `tfsdk:"notify_subscribers"`
	TemplateID        types.String `tfsdk:"template_id"`
	CreatedAt         types.String `tfsdk:"created_at"`
}

type TeamAPIKeyResource

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

func (*TeamAPIKeyResource) Configure

func (*TeamAPIKeyResource) Create

func (*TeamAPIKeyResource) Delete

func (*TeamAPIKeyResource) ImportState

func (*TeamAPIKeyResource) Metadata

func (*TeamAPIKeyResource) Read

func (*TeamAPIKeyResource) Schema

func (*TeamAPIKeyResource) Update

type TeamAPIKeyResourceModel

type TeamAPIKeyResourceModel struct {
	ID        types.String `tfsdk:"id"`
	TeamID    types.String `tfsdk:"team_id"`
	Name      types.String `tfsdk:"name"`
	ExpiresAt types.String `tfsdk:"expires_at"`
	Key       types.String `tfsdk:"key"`
	KeyPrefix types.String `tfsdk:"key_prefix"`
	CreatedAt types.String `tfsdk:"created_at"`
}

type TeamResource

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

func (*TeamResource) Configure

func (*TeamResource) Create

func (*TeamResource) Delete

func (*TeamResource) ImportState

func (*TeamResource) Metadata

func (*TeamResource) Read

func (*TeamResource) Schema

func (*TeamResource) Update

type TeamResourceModel

type TeamResourceModel struct {
	ID        types.String `tfsdk:"id"`
	Name      types.String `tfsdk:"name"`
	CreatedAt types.String `tfsdk:"created_at"`
	UpdatedAt types.String `tfsdk:"updated_at"`
}

Jump to

Keyboard shortcuts

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