azurerm_automanage_configuration

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 Antimalware

type Antimalware struct {
	// RealTimeProtectionEnabled: bool, optional
	RealTimeProtectionEnabled terra.BoolValue `hcl:"real_time_protection_enabled,attr"`
	// ScheduledScanDay: number, optional
	ScheduledScanDay terra.NumberValue `hcl:"scheduled_scan_day,attr"`
	// ScheduledScanEnabled: bool, optional
	ScheduledScanEnabled terra.BoolValue `hcl:"scheduled_scan_enabled,attr"`
	// ScheduledScanTimeInMinutes: number, optional
	ScheduledScanTimeInMinutes terra.NumberValue `hcl:"scheduled_scan_time_in_minutes,attr"`
	// ScheduledScanType: string, optional
	ScheduledScanType terra.StringValue `hcl:"scheduled_scan_type,attr"`
	// AntimalwareExclusions: optional
	Exclusions *AntimalwareExclusions `hcl:"exclusions,block"`
}

type AntimalwareAttributes

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

func (AntimalwareAttributes) Exclusions

func (AntimalwareAttributes) InternalRef

func (a AntimalwareAttributes) InternalRef() (terra.Reference, error)

func (AntimalwareAttributes) InternalTokens

func (a AntimalwareAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AntimalwareAttributes) InternalWithRef

func (AntimalwareAttributes) RealTimeProtectionEnabled

func (a AntimalwareAttributes) RealTimeProtectionEnabled() terra.BoolValue

func (AntimalwareAttributes) ScheduledScanDay

func (a AntimalwareAttributes) ScheduledScanDay() terra.NumberValue

func (AntimalwareAttributes) ScheduledScanEnabled

func (a AntimalwareAttributes) ScheduledScanEnabled() terra.BoolValue

func (AntimalwareAttributes) ScheduledScanTimeInMinutes

func (a AntimalwareAttributes) ScheduledScanTimeInMinutes() terra.NumberValue

func (AntimalwareAttributes) ScheduledScanType

func (a AntimalwareAttributes) ScheduledScanType() terra.StringValue

type AntimalwareExclusions

type AntimalwareExclusions struct {
	// Extensions: string, optional
	Extensions terra.StringValue `hcl:"extensions,attr"`
	// Paths: string, optional
	Paths terra.StringValue `hcl:"paths,attr"`
	// Processes: string, optional
	Processes terra.StringValue `hcl:"processes,attr"`
}

type AntimalwareExclusionsAttributes

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

func (AntimalwareExclusionsAttributes) Extensions

func (AntimalwareExclusionsAttributes) InternalRef

func (AntimalwareExclusionsAttributes) InternalTokens

func (e AntimalwareExclusionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AntimalwareExclusionsAttributes) InternalWithRef

func (AntimalwareExclusionsAttributes) Paths

func (AntimalwareExclusionsAttributes) Processes

type AntimalwareExclusionsState

type AntimalwareExclusionsState struct {
	Extensions string `json:"extensions"`
	Paths      string `json:"paths"`
	Processes  string `json:"processes"`
}

type AntimalwareState

type AntimalwareState struct {
	RealTimeProtectionEnabled  bool                         `json:"real_time_protection_enabled"`
	ScheduledScanDay           float64                      `json:"scheduled_scan_day"`
	ScheduledScanEnabled       bool                         `json:"scheduled_scan_enabled"`
	ScheduledScanTimeInMinutes float64                      `json:"scheduled_scan_time_in_minutes"`
	ScheduledScanType          string                       `json:"scheduled_scan_type"`
	Exclusions                 []AntimalwareExclusionsState `json:"exclusions"`
}

type Args

type Args struct {
	// AutomationAccountEnabled: bool, optional
	AutomationAccountEnabled terra.BoolValue `hcl:"automation_account_enabled,attr"`
	// BootDiagnosticsEnabled: bool, optional
	BootDiagnosticsEnabled terra.BoolValue `hcl:"boot_diagnostics_enabled,attr"`
	// DefenderForCloudEnabled: bool, optional
	DefenderForCloudEnabled terra.BoolValue `hcl:"defender_for_cloud_enabled,attr"`
	// GuestConfigurationEnabled: bool, optional
	GuestConfigurationEnabled terra.BoolValue `hcl:"guest_configuration_enabled,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// LogAnalyticsEnabled: bool, optional
	LogAnalyticsEnabled terra.BoolValue `hcl:"log_analytics_enabled,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// StatusChangeAlertEnabled: bool, optional
	StatusChangeAlertEnabled terra.BoolValue `hcl:"status_change_alert_enabled,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// Antimalware: optional
	Antimalware *Antimalware `hcl:"antimalware,block"`
	// AzureSecurityBaseline: optional
	AzureSecurityBaseline *AzureSecurityBaseline `hcl:"azure_security_baseline,block"`
	// Backup: optional
	Backup *Backup `hcl:"backup,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for azurerm_automanage_configuration.

type AzureSecurityBaseline

type AzureSecurityBaseline struct {
	// AssignmentType: string, optional
	AssignmentType terra.StringValue `hcl:"assignment_type,attr"`
}

type AzureSecurityBaselineAttributes

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

func (AzureSecurityBaselineAttributes) AssignmentType

func (asb AzureSecurityBaselineAttributes) AssignmentType() terra.StringValue

func (AzureSecurityBaselineAttributes) InternalRef

func (AzureSecurityBaselineAttributes) InternalTokens

func (asb AzureSecurityBaselineAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AzureSecurityBaselineAttributes) InternalWithRef

type AzureSecurityBaselineState

type AzureSecurityBaselineState struct {
	AssignmentType string `json:"assignment_type"`
}

type Backup

type Backup struct {
	// InstantRpRetentionRangeInDays: number, optional
	InstantRpRetentionRangeInDays terra.NumberValue `hcl:"instant_rp_retention_range_in_days,attr"`
	// PolicyName: string, optional
	PolicyName terra.StringValue `hcl:"policy_name,attr"`
	// TimeZone: string, optional
	TimeZone terra.StringValue `hcl:"time_zone,attr"`
	// BackupRetentionPolicy: optional
	RetentionPolicy *BackupRetentionPolicy `hcl:"retention_policy,block"`
	// BackupSchedulePolicy: optional
	SchedulePolicy *BackupSchedulePolicy `hcl:"schedule_policy,block"`
}

type BackupAttributes

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

func (BackupAttributes) InstantRpRetentionRangeInDays

func (b BackupAttributes) InstantRpRetentionRangeInDays() terra.NumberValue

func (BackupAttributes) InternalRef

func (b BackupAttributes) InternalRef() (terra.Reference, error)

func (BackupAttributes) InternalTokens

func (b BackupAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BackupAttributes) InternalWithRef

func (b BackupAttributes) InternalWithRef(ref terra.Reference) BackupAttributes

func (BackupAttributes) PolicyName

func (b BackupAttributes) PolicyName() terra.StringValue

func (BackupAttributes) RetentionPolicy

func (BackupAttributes) SchedulePolicy

func (BackupAttributes) TimeZone

func (b BackupAttributes) TimeZone() terra.StringValue

type BackupRetentionPolicy

type BackupRetentionPolicy struct {
	// RetentionPolicyType: string, optional
	RetentionPolicyType terra.StringValue `hcl:"retention_policy_type,attr"`
	// BackupRetentionPolicyDailySchedule: optional
	DailySchedule *BackupRetentionPolicyDailySchedule `hcl:"daily_schedule,block"`
	// BackupRetentionPolicyWeeklySchedule: optional
	WeeklySchedule *BackupRetentionPolicyWeeklySchedule `hcl:"weekly_schedule,block"`
}

type BackupRetentionPolicyAttributes

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

func (BackupRetentionPolicyAttributes) DailySchedule

func (BackupRetentionPolicyAttributes) InternalRef

func (BackupRetentionPolicyAttributes) InternalTokens

func (rp BackupRetentionPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BackupRetentionPolicyAttributes) InternalWithRef

func (BackupRetentionPolicyAttributes) RetentionPolicyType

func (rp BackupRetentionPolicyAttributes) RetentionPolicyType() terra.StringValue

func (BackupRetentionPolicyAttributes) WeeklySchedule

type BackupRetentionPolicyDailySchedule

type BackupRetentionPolicyDailySchedule struct {
	// RetentionTimes: list of string, optional
	RetentionTimes terra.ListValue[terra.StringValue] `hcl:"retention_times,attr"`
	// BackupRetentionPolicyDailyScheduleRetentionDuration: optional
	RetentionDuration *BackupRetentionPolicyDailyScheduleRetentionDuration `hcl:"retention_duration,block"`
}

type BackupRetentionPolicyDailyScheduleAttributes

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

func (BackupRetentionPolicyDailyScheduleAttributes) InternalRef

func (BackupRetentionPolicyDailyScheduleAttributes) InternalTokens

func (BackupRetentionPolicyDailyScheduleAttributes) InternalWithRef

func (BackupRetentionPolicyDailyScheduleAttributes) RetentionTimes

type BackupRetentionPolicyDailyScheduleRetentionDuration

type BackupRetentionPolicyDailyScheduleRetentionDuration struct {
	// Count: number, optional
	Count terra.NumberValue `hcl:"count,attr"`
	// DurationType: string, optional
	DurationType terra.StringValue `hcl:"duration_type,attr"`
}

type BackupRetentionPolicyDailyScheduleRetentionDurationAttributes

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

func (BackupRetentionPolicyDailyScheduleRetentionDurationAttributes) Count

func (BackupRetentionPolicyDailyScheduleRetentionDurationAttributes) DurationType

func (BackupRetentionPolicyDailyScheduleRetentionDurationAttributes) InternalRef

func (BackupRetentionPolicyDailyScheduleRetentionDurationAttributes) InternalTokens

func (BackupRetentionPolicyDailyScheduleRetentionDurationAttributes) InternalWithRef

type BackupRetentionPolicyDailyScheduleRetentionDurationState

type BackupRetentionPolicyDailyScheduleRetentionDurationState struct {
	Count        float64 `json:"count"`
	DurationType string  `json:"duration_type"`
}

type BackupRetentionPolicyDailyScheduleState

type BackupRetentionPolicyDailyScheduleState struct {
	RetentionTimes    []string                                                   `json:"retention_times"`
	RetentionDuration []BackupRetentionPolicyDailyScheduleRetentionDurationState `json:"retention_duration"`
}

type BackupRetentionPolicyState

type BackupRetentionPolicyState struct {
	RetentionPolicyType string                                     `json:"retention_policy_type"`
	DailySchedule       []BackupRetentionPolicyDailyScheduleState  `json:"daily_schedule"`
	WeeklySchedule      []BackupRetentionPolicyWeeklyScheduleState `json:"weekly_schedule"`
}

type BackupRetentionPolicyWeeklySchedule

type BackupRetentionPolicyWeeklySchedule struct {
	// RetentionTimes: list of string, optional
	RetentionTimes terra.ListValue[terra.StringValue] `hcl:"retention_times,attr"`
	// BackupRetentionPolicyWeeklyScheduleRetentionDuration: optional
	RetentionDuration *BackupRetentionPolicyWeeklyScheduleRetentionDuration `hcl:"retention_duration,block"`
}

type BackupRetentionPolicyWeeklyScheduleAttributes

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

func (BackupRetentionPolicyWeeklyScheduleAttributes) InternalRef

func (BackupRetentionPolicyWeeklyScheduleAttributes) InternalTokens

func (BackupRetentionPolicyWeeklyScheduleAttributes) InternalWithRef

func (BackupRetentionPolicyWeeklyScheduleAttributes) RetentionTimes

type BackupRetentionPolicyWeeklyScheduleRetentionDuration

type BackupRetentionPolicyWeeklyScheduleRetentionDuration struct {
	// Count: number, optional
	Count terra.NumberValue `hcl:"count,attr"`
	// DurationType: string, optional
	DurationType terra.StringValue `hcl:"duration_type,attr"`
}

type BackupRetentionPolicyWeeklyScheduleRetentionDurationAttributes

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

func (BackupRetentionPolicyWeeklyScheduleRetentionDurationAttributes) Count

func (BackupRetentionPolicyWeeklyScheduleRetentionDurationAttributes) DurationType

func (BackupRetentionPolicyWeeklyScheduleRetentionDurationAttributes) InternalRef

func (BackupRetentionPolicyWeeklyScheduleRetentionDurationAttributes) InternalTokens

func (BackupRetentionPolicyWeeklyScheduleRetentionDurationAttributes) InternalWithRef

type BackupRetentionPolicyWeeklyScheduleRetentionDurationState

type BackupRetentionPolicyWeeklyScheduleRetentionDurationState struct {
	Count        float64 `json:"count"`
	DurationType string  `json:"duration_type"`
}

type BackupRetentionPolicyWeeklyScheduleState

type BackupRetentionPolicyWeeklyScheduleState struct {
	RetentionTimes    []string                                                    `json:"retention_times"`
	RetentionDuration []BackupRetentionPolicyWeeklyScheduleRetentionDurationState `json:"retention_duration"`
}

type BackupSchedulePolicy

type BackupSchedulePolicy struct {
	// SchedulePolicyType: string, optional
	SchedulePolicyType terra.StringValue `hcl:"schedule_policy_type,attr"`
	// ScheduleRunDays: list of string, optional
	ScheduleRunDays terra.ListValue[terra.StringValue] `hcl:"schedule_run_days,attr"`
	// ScheduleRunFrequency: string, optional
	ScheduleRunFrequency terra.StringValue `hcl:"schedule_run_frequency,attr"`
	// ScheduleRunTimes: list of string, optional
	ScheduleRunTimes terra.ListValue[terra.StringValue] `hcl:"schedule_run_times,attr"`
}

type BackupSchedulePolicyAttributes

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

func (BackupSchedulePolicyAttributes) InternalRef

func (BackupSchedulePolicyAttributes) InternalTokens

func (sp BackupSchedulePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BackupSchedulePolicyAttributes) InternalWithRef

func (BackupSchedulePolicyAttributes) SchedulePolicyType

func (sp BackupSchedulePolicyAttributes) SchedulePolicyType() terra.StringValue

func (BackupSchedulePolicyAttributes) ScheduleRunDays

func (BackupSchedulePolicyAttributes) ScheduleRunFrequency

func (sp BackupSchedulePolicyAttributes) ScheduleRunFrequency() terra.StringValue

func (BackupSchedulePolicyAttributes) ScheduleRunTimes

type BackupSchedulePolicyState

type BackupSchedulePolicyState struct {
	SchedulePolicyType   string   `json:"schedule_policy_type"`
	ScheduleRunDays      []string `json:"schedule_run_days"`
	ScheduleRunFrequency string   `json:"schedule_run_frequency"`
	ScheduleRunTimes     []string `json:"schedule_run_times"`
}

type BackupState

type BackupState struct {
	InstantRpRetentionRangeInDays float64                      `json:"instant_rp_retention_range_in_days"`
	PolicyName                    string                       `json:"policy_name"`
	TimeZone                      string                       `json:"time_zone"`
	RetentionPolicy               []BackupRetentionPolicyState `json:"retention_policy"`
	SchedulePolicy                []BackupSchedulePolicyState  `json:"schedule_policy"`
}

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_automanage_configuration.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aac *Resource) Attributes() azurermAutomanageConfigurationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aac *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aac *Resource) State() (*azurermAutomanageConfigurationState, bool)

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

func (*Resource) StateMust

func (aac *Resource) StateMust() *azurermAutomanageConfigurationState

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

func (*Resource) Type

func (aac *Resource) Type() string

Type returns the Terraform object type for Resource.

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