database

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	MSSQLServers      []MSSQLServer
	MariaDBServers    []MariaDBServer
	MySQLServers      []MySQLServer
	PostgreSQLServers []PostgreSQLServer
}

type ExtendedAuditingPolicy

type ExtendedAuditingPolicy struct {
	RetentionInDays types.IntValue
}

type FirewallRule

type FirewallRule struct {
	StartIP types.StringValue
	EndIP   types.StringValue
}

type MSSQLServer

type MSSQLServer struct {
	Server
	ExtendedAuditingPolicies []ExtendedAuditingPolicy
	SecurityAlertPolicies    []SecurityAlertPolicy
}

type MariaDBServer

type MariaDBServer struct {
	Server
}

type MySQLServer

type MySQLServer struct {
	Server
}

type PostgreSQLServer

type PostgreSQLServer struct {
	Server
	Config PostgresSQLConfig
}

type PostgresSQLConfig

type PostgresSQLConfig struct {
	LogCheckpoints       types.BoolValue
	ConnectionThrottling types.BoolValue
	LogConnections       types.BoolValue
}

type SecurityAlertPolicy

type SecurityAlertPolicy struct {
	types.Metadata
	EmailAddresses     []types.StringValue
	DisabledAlerts     []types.StringValue
	EmailAccountAdmins types.BoolValue
}

func (SecurityAlertPolicy) GetMetadata

func (p SecurityAlertPolicy) GetMetadata() *types.Metadata

func (SecurityAlertPolicy) GetRawValue

func (p SecurityAlertPolicy) GetRawValue() interface{}

type Server

type Server struct {
	types.Metadata
	EnableSSLEnforcement      types.BoolValue
	MinimumTLSVersion         types.StringValue
	EnablePublicNetworkAccess types.BoolValue
	FirewallRules             []FirewallRule
}

func (Server) GetMetadata

func (s Server) GetMetadata() *types.Metadata

func (Server) GetRawValue

func (s Server) GetRawValue() interface{}

Jump to

Keyboard shortcuts

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