azurerm_sentinel_alert_rule_anomaly_built_in

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// LogAnalyticsWorkspaceId: string, required
	LogAnalyticsWorkspaceId terra.StringValue `hcl:"log_analytics_workspace_id,attr" validate:"required"`
	// Mode: string, required
	Mode terra.StringValue `hcl:"mode,attr" validate:"required"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for azurerm_sentinel_alert_rule_anomaly_built_in.

type MultiSelectObservationAttributes

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

func (MultiSelectObservationAttributes) Description

func (MultiSelectObservationAttributes) InternalRef

func (MultiSelectObservationAttributes) InternalTokens

func (mso MultiSelectObservationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MultiSelectObservationAttributes) InternalWithRef

func (MultiSelectObservationAttributes) Name

func (MultiSelectObservationAttributes) SupportedValues

func (MultiSelectObservationAttributes) Values

type MultiSelectObservationState

type MultiSelectObservationState struct {
	Description     string   `json:"description"`
	Name            string   `json:"name"`
	SupportedValues []string `json:"supported_values"`
	Values          []string `json:"values"`
}

type PrioritizedExcludeObservationAttributes

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

func (PrioritizedExcludeObservationAttributes) Description

func (PrioritizedExcludeObservationAttributes) Exclude

func (PrioritizedExcludeObservationAttributes) InternalRef

func (PrioritizedExcludeObservationAttributes) InternalTokens

func (PrioritizedExcludeObservationAttributes) InternalWithRef

func (PrioritizedExcludeObservationAttributes) Name

func (PrioritizedExcludeObservationAttributes) Prioritize

type PrioritizedExcludeObservationState

type PrioritizedExcludeObservationState struct {
	Description string `json:"description"`
	Exclude     string `json:"exclude"`
	Name        string `json:"name"`
	Prioritize  string `json:"prioritize"`
}

type RequiredDataConnectorAttributes

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

func (RequiredDataConnectorAttributes) ConnectorId

func (RequiredDataConnectorAttributes) DataTypes

func (RequiredDataConnectorAttributes) InternalRef

func (RequiredDataConnectorAttributes) InternalTokens

func (rdc RequiredDataConnectorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RequiredDataConnectorAttributes) InternalWithRef

type RequiredDataConnectorState

type RequiredDataConnectorState struct {
	ConnectorId string   `json:"connector_id"`
	DataTypes   []string `json:"data_types"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource azurerm_sentinel_alert_rule_anomaly_built_in.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (asarabi *Resource) Attributes() azurermSentinelAlertRuleAnomalyBuiltInAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (asarabi *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (asarabi *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (asarabi *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (asarabi *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (asarabi *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (asarabi *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (asarabi *Resource) State() (*azurermSentinelAlertRuleAnomalyBuiltInState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (asarabi *Resource) StateMust() *azurermSentinelAlertRuleAnomalyBuiltInState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (asarabi *Resource) Type() string

Type returns the Terraform object type for Resource.

type SingleSelectObservationAttributes

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

func (SingleSelectObservationAttributes) Description

func (SingleSelectObservationAttributes) InternalRef

func (SingleSelectObservationAttributes) InternalTokens

func (sso SingleSelectObservationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SingleSelectObservationAttributes) InternalWithRef

func (SingleSelectObservationAttributes) Name

func (SingleSelectObservationAttributes) SupportedValues

func (SingleSelectObservationAttributes) Value

type SingleSelectObservationState

type SingleSelectObservationState struct {
	Description     string   `json:"description"`
	Name            string   `json:"name"`
	SupportedValues []string `json:"supported_values"`
	Value           string   `json:"value"`
}

type ThresholdObservationAttributes

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

func (ThresholdObservationAttributes) Description

func (ThresholdObservationAttributes) InternalRef

func (ThresholdObservationAttributes) InternalTokens

func (to ThresholdObservationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ThresholdObservationAttributes) InternalWithRef

func (ThresholdObservationAttributes) Max

func (ThresholdObservationAttributes) Min

func (ThresholdObservationAttributes) Name

func (ThresholdObservationAttributes) Value

type ThresholdObservationState

type ThresholdObservationState struct {
	Description string `json:"description"`
	Max         string `json:"max"`
	Min         string `json:"min"`
	Name        string `json:"name"`
	Value       string `json:"value"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Read

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Read   string `json:"read"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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