azurerm_mssql_virtual_machine

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 {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// RServicesEnabled: bool, optional
	RServicesEnabled terra.BoolValue `hcl:"r_services_enabled,attr"`
	// SqlConnectivityPort: number, optional
	SqlConnectivityPort terra.NumberValue `hcl:"sql_connectivity_port,attr"`
	// SqlConnectivityType: string, optional
	SqlConnectivityType terra.StringValue `hcl:"sql_connectivity_type,attr"`
	// SqlConnectivityUpdatePassword: string, optional
	SqlConnectivityUpdatePassword terra.StringValue `hcl:"sql_connectivity_update_password,attr"`
	// SqlConnectivityUpdateUsername: string, optional
	SqlConnectivityUpdateUsername terra.StringValue `hcl:"sql_connectivity_update_username,attr"`
	// SqlLicenseType: string, optional
	SqlLicenseType terra.StringValue `hcl:"sql_license_type,attr"`
	// SqlVirtualMachineGroupId: string, optional
	SqlVirtualMachineGroupId terra.StringValue `hcl:"sql_virtual_machine_group_id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// VirtualMachineId: string, required
	VirtualMachineId terra.StringValue `hcl:"virtual_machine_id,attr" validate:"required"`
	// Assessment: optional
	Assessment *Assessment `hcl:"assessment,block"`
	// AutoBackup: optional
	AutoBackup *AutoBackup `hcl:"auto_backup,block"`
	// AutoPatching: optional
	AutoPatching *AutoPatching `hcl:"auto_patching,block"`
	// KeyVaultCredential: optional
	KeyVaultCredential *KeyVaultCredential `hcl:"key_vault_credential,block"`
	// SqlInstance: optional
	SqlInstance *SqlInstance `hcl:"sql_instance,block"`
	// StorageConfiguration: optional
	StorageConfiguration *StorageConfiguration `hcl:"storage_configuration,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// WsfcDomainCredential: optional
	WsfcDomainCredential *WsfcDomainCredential `hcl:"wsfc_domain_credential,block"`
}

Args contains the configurations for azurerm_mssql_virtual_machine.

type Assessment

type Assessment struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// RunImmediately: bool, optional
	RunImmediately terra.BoolValue `hcl:"run_immediately,attr"`
	// AssessmentSchedule: optional
	Schedule *AssessmentSchedule `hcl:"schedule,block"`
}

type AssessmentAttributes

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

func (AssessmentAttributes) Enabled

func (a AssessmentAttributes) Enabled() terra.BoolValue

func (AssessmentAttributes) InternalRef

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

func (AssessmentAttributes) InternalTokens

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

func (AssessmentAttributes) InternalWithRef

func (AssessmentAttributes) RunImmediately

func (a AssessmentAttributes) RunImmediately() terra.BoolValue

func (AssessmentAttributes) Schedule

type AssessmentSchedule

type AssessmentSchedule struct {
	// DayOfWeek: string, required
	DayOfWeek terra.StringValue `hcl:"day_of_week,attr" validate:"required"`
	// MonthlyOccurrence: number, optional
	MonthlyOccurrence terra.NumberValue `hcl:"monthly_occurrence,attr"`
	// StartTime: string, required
	StartTime terra.StringValue `hcl:"start_time,attr" validate:"required"`
	// WeeklyInterval: number, optional
	WeeklyInterval terra.NumberValue `hcl:"weekly_interval,attr"`
}

type AssessmentScheduleAttributes

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

func (AssessmentScheduleAttributes) DayOfWeek

func (AssessmentScheduleAttributes) InternalRef

func (AssessmentScheduleAttributes) InternalTokens

func (s AssessmentScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AssessmentScheduleAttributes) InternalWithRef

func (AssessmentScheduleAttributes) MonthlyOccurrence

func (s AssessmentScheduleAttributes) MonthlyOccurrence() terra.NumberValue

func (AssessmentScheduleAttributes) StartTime

func (AssessmentScheduleAttributes) WeeklyInterval

func (s AssessmentScheduleAttributes) WeeklyInterval() terra.NumberValue

type AssessmentScheduleState

type AssessmentScheduleState struct {
	DayOfWeek         string  `json:"day_of_week"`
	MonthlyOccurrence float64 `json:"monthly_occurrence"`
	StartTime         string  `json:"start_time"`
	WeeklyInterval    float64 `json:"weekly_interval"`
}

type AssessmentState

type AssessmentState struct {
	Enabled        bool                      `json:"enabled"`
	RunImmediately bool                      `json:"run_immediately"`
	Schedule       []AssessmentScheduleState `json:"schedule"`
}

type AutoBackup

type AutoBackup struct {
	// EncryptionEnabled: bool, optional
	EncryptionEnabled terra.BoolValue `hcl:"encryption_enabled,attr"`
	// EncryptionPassword: string, optional
	EncryptionPassword terra.StringValue `hcl:"encryption_password,attr"`
	// RetentionPeriodInDays: number, required
	RetentionPeriodInDays terra.NumberValue `hcl:"retention_period_in_days,attr" validate:"required"`
	// StorageAccountAccessKey: string, required
	StorageAccountAccessKey terra.StringValue `hcl:"storage_account_access_key,attr" validate:"required"`
	// StorageBlobEndpoint: string, required
	StorageBlobEndpoint terra.StringValue `hcl:"storage_blob_endpoint,attr" validate:"required"`
	// SystemDatabasesBackupEnabled: bool, optional
	SystemDatabasesBackupEnabled terra.BoolValue `hcl:"system_databases_backup_enabled,attr"`
	// AutoBackupManualSchedule: optional
	ManualSchedule *AutoBackupManualSchedule `hcl:"manual_schedule,block"`
}

type AutoBackupAttributes

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

func (AutoBackupAttributes) EncryptionEnabled

func (ab AutoBackupAttributes) EncryptionEnabled() terra.BoolValue

func (AutoBackupAttributes) EncryptionPassword

func (ab AutoBackupAttributes) EncryptionPassword() terra.StringValue

func (AutoBackupAttributes) InternalRef

func (ab AutoBackupAttributes) InternalRef() (terra.Reference, error)

func (AutoBackupAttributes) InternalTokens

func (ab AutoBackupAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoBackupAttributes) InternalWithRef

func (ab AutoBackupAttributes) InternalWithRef(ref terra.Reference) AutoBackupAttributes

func (AutoBackupAttributes) ManualSchedule

func (AutoBackupAttributes) RetentionPeriodInDays

func (ab AutoBackupAttributes) RetentionPeriodInDays() terra.NumberValue

func (AutoBackupAttributes) StorageAccountAccessKey

func (ab AutoBackupAttributes) StorageAccountAccessKey() terra.StringValue

func (AutoBackupAttributes) StorageBlobEndpoint

func (ab AutoBackupAttributes) StorageBlobEndpoint() terra.StringValue

func (AutoBackupAttributes) SystemDatabasesBackupEnabled

func (ab AutoBackupAttributes) SystemDatabasesBackupEnabled() terra.BoolValue

type AutoBackupManualSchedule

type AutoBackupManualSchedule struct {
	// DaysOfWeek: set of string, optional
	DaysOfWeek terra.SetValue[terra.StringValue] `hcl:"days_of_week,attr"`
	// FullBackupFrequency: string, required
	FullBackupFrequency terra.StringValue `hcl:"full_backup_frequency,attr" validate:"required"`
	// FullBackupStartHour: number, required
	FullBackupStartHour terra.NumberValue `hcl:"full_backup_start_hour,attr" validate:"required"`
	// FullBackupWindowInHours: number, required
	FullBackupWindowInHours terra.NumberValue `hcl:"full_backup_window_in_hours,attr" validate:"required"`
	// LogBackupFrequencyInMinutes: number, required
	LogBackupFrequencyInMinutes terra.NumberValue `hcl:"log_backup_frequency_in_minutes,attr" validate:"required"`
}

type AutoBackupManualScheduleAttributes

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

func (AutoBackupManualScheduleAttributes) DaysOfWeek

func (AutoBackupManualScheduleAttributes) FullBackupFrequency

func (ms AutoBackupManualScheduleAttributes) FullBackupFrequency() terra.StringValue

func (AutoBackupManualScheduleAttributes) FullBackupStartHour

func (ms AutoBackupManualScheduleAttributes) FullBackupStartHour() terra.NumberValue

func (AutoBackupManualScheduleAttributes) FullBackupWindowInHours

func (ms AutoBackupManualScheduleAttributes) FullBackupWindowInHours() terra.NumberValue

func (AutoBackupManualScheduleAttributes) InternalRef

func (AutoBackupManualScheduleAttributes) InternalTokens

func (AutoBackupManualScheduleAttributes) InternalWithRef

func (AutoBackupManualScheduleAttributes) LogBackupFrequencyInMinutes

func (ms AutoBackupManualScheduleAttributes) LogBackupFrequencyInMinutes() terra.NumberValue

type AutoBackupManualScheduleState

type AutoBackupManualScheduleState struct {
	DaysOfWeek                  []string `json:"days_of_week"`
	FullBackupFrequency         string   `json:"full_backup_frequency"`
	FullBackupStartHour         float64  `json:"full_backup_start_hour"`
	FullBackupWindowInHours     float64  `json:"full_backup_window_in_hours"`
	LogBackupFrequencyInMinutes float64  `json:"log_backup_frequency_in_minutes"`
}

type AutoBackupState

type AutoBackupState struct {
	EncryptionEnabled            bool                            `json:"encryption_enabled"`
	EncryptionPassword           string                          `json:"encryption_password"`
	RetentionPeriodInDays        float64                         `json:"retention_period_in_days"`
	StorageAccountAccessKey      string                          `json:"storage_account_access_key"`
	StorageBlobEndpoint          string                          `json:"storage_blob_endpoint"`
	SystemDatabasesBackupEnabled bool                            `json:"system_databases_backup_enabled"`
	ManualSchedule               []AutoBackupManualScheduleState `json:"manual_schedule"`
}

type AutoPatching

type AutoPatching struct {
	// DayOfWeek: string, required
	DayOfWeek terra.StringValue `hcl:"day_of_week,attr" validate:"required"`
	// MaintenanceWindowDurationInMinutes: number, required
	MaintenanceWindowDurationInMinutes terra.NumberValue `hcl:"maintenance_window_duration_in_minutes,attr" validate:"required"`
	// MaintenanceWindowStartingHour: number, required
	MaintenanceWindowStartingHour terra.NumberValue `hcl:"maintenance_window_starting_hour,attr" validate:"required"`
}

type AutoPatchingAttributes

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

func (AutoPatchingAttributes) DayOfWeek

func (ap AutoPatchingAttributes) DayOfWeek() terra.StringValue

func (AutoPatchingAttributes) InternalRef

func (ap AutoPatchingAttributes) InternalRef() (terra.Reference, error)

func (AutoPatchingAttributes) InternalTokens

func (ap AutoPatchingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoPatchingAttributes) InternalWithRef

func (AutoPatchingAttributes) MaintenanceWindowDurationInMinutes

func (ap AutoPatchingAttributes) MaintenanceWindowDurationInMinutes() terra.NumberValue

func (AutoPatchingAttributes) MaintenanceWindowStartingHour

func (ap AutoPatchingAttributes) MaintenanceWindowStartingHour() terra.NumberValue

type AutoPatchingState

type AutoPatchingState struct {
	DayOfWeek                          string  `json:"day_of_week"`
	MaintenanceWindowDurationInMinutes float64 `json:"maintenance_window_duration_in_minutes"`
	MaintenanceWindowStartingHour      float64 `json:"maintenance_window_starting_hour"`
}

type KeyVaultCredential

type KeyVaultCredential struct {
	// KeyVaultUrl: string, required
	KeyVaultUrl terra.StringValue `hcl:"key_vault_url,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ServicePrincipalName: string, required
	ServicePrincipalName terra.StringValue `hcl:"service_principal_name,attr" validate:"required"`
	// ServicePrincipalSecret: string, required
	ServicePrincipalSecret terra.StringValue `hcl:"service_principal_secret,attr" validate:"required"`
}

type KeyVaultCredentialAttributes

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

func (KeyVaultCredentialAttributes) InternalRef

func (kvc KeyVaultCredentialAttributes) InternalRef() (terra.Reference, error)

func (KeyVaultCredentialAttributes) InternalTokens

func (kvc KeyVaultCredentialAttributes) InternalTokens() (hclwrite.Tokens, error)

func (KeyVaultCredentialAttributes) InternalWithRef

func (KeyVaultCredentialAttributes) KeyVaultUrl

func (KeyVaultCredentialAttributes) Name

func (KeyVaultCredentialAttributes) ServicePrincipalName

func (kvc KeyVaultCredentialAttributes) ServicePrincipalName() terra.StringValue

func (KeyVaultCredentialAttributes) ServicePrincipalSecret

func (kvc KeyVaultCredentialAttributes) ServicePrincipalSecret() terra.StringValue

type KeyVaultCredentialState

type KeyVaultCredentialState struct {
	KeyVaultUrl            string `json:"key_vault_url"`
	Name                   string `json:"name"`
	ServicePrincipalName   string `json:"service_principal_name"`
	ServicePrincipalSecret string `json:"service_principal_secret"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (amvm *Resource) Attributes() azurermMssqlVirtualMachineAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (amvm *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (amvm *Resource) State() (*azurermMssqlVirtualMachineState, bool)

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

func (*Resource) StateMust

func (amvm *Resource) StateMust() *azurermMssqlVirtualMachineState

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

func (*Resource) Type

func (amvm *Resource) Type() string

Type returns the Terraform object type for Resource.

type SqlInstance

type SqlInstance struct {
	// AdhocWorkloadsOptimizationEnabled: bool, optional
	AdhocWorkloadsOptimizationEnabled terra.BoolValue `hcl:"adhoc_workloads_optimization_enabled,attr"`
	// Collation: string, optional
	Collation terra.StringValue `hcl:"collation,attr"`
	// InstantFileInitializationEnabled: bool, optional
	InstantFileInitializationEnabled terra.BoolValue `hcl:"instant_file_initialization_enabled,attr"`
	// LockPagesInMemoryEnabled: bool, optional
	LockPagesInMemoryEnabled terra.BoolValue `hcl:"lock_pages_in_memory_enabled,attr"`
	// MaxDop: number, optional
	MaxDop terra.NumberValue `hcl:"max_dop,attr"`
	// MaxServerMemoryMb: number, optional
	MaxServerMemoryMb terra.NumberValue `hcl:"max_server_memory_mb,attr"`
	// MinServerMemoryMb: number, optional
	MinServerMemoryMb terra.NumberValue `hcl:"min_server_memory_mb,attr"`
}

type SqlInstanceAttributes

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

func (SqlInstanceAttributes) AdhocWorkloadsOptimizationEnabled

func (si SqlInstanceAttributes) AdhocWorkloadsOptimizationEnabled() terra.BoolValue

func (SqlInstanceAttributes) Collation

func (si SqlInstanceAttributes) Collation() terra.StringValue

func (SqlInstanceAttributes) InstantFileInitializationEnabled

func (si SqlInstanceAttributes) InstantFileInitializationEnabled() terra.BoolValue

func (SqlInstanceAttributes) InternalRef

func (si SqlInstanceAttributes) InternalRef() (terra.Reference, error)

func (SqlInstanceAttributes) InternalTokens

func (si SqlInstanceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SqlInstanceAttributes) InternalWithRef

func (SqlInstanceAttributes) LockPagesInMemoryEnabled

func (si SqlInstanceAttributes) LockPagesInMemoryEnabled() terra.BoolValue

func (SqlInstanceAttributes) MaxDop

func (SqlInstanceAttributes) MaxServerMemoryMb

func (si SqlInstanceAttributes) MaxServerMemoryMb() terra.NumberValue

func (SqlInstanceAttributes) MinServerMemoryMb

func (si SqlInstanceAttributes) MinServerMemoryMb() terra.NumberValue

type SqlInstanceState

type SqlInstanceState struct {
	AdhocWorkloadsOptimizationEnabled bool    `json:"adhoc_workloads_optimization_enabled"`
	Collation                         string  `json:"collation"`
	InstantFileInitializationEnabled  bool    `json:"instant_file_initialization_enabled"`
	LockPagesInMemoryEnabled          bool    `json:"lock_pages_in_memory_enabled"`
	MaxDop                            float64 `json:"max_dop"`
	MaxServerMemoryMb                 float64 `json:"max_server_memory_mb"`
	MinServerMemoryMb                 float64 `json:"min_server_memory_mb"`
}

type StorageConfiguration

type StorageConfiguration struct {
	// DiskType: string, required
	DiskType terra.StringValue `hcl:"disk_type,attr" validate:"required"`
	// StorageWorkloadType: string, required
	StorageWorkloadType terra.StringValue `hcl:"storage_workload_type,attr" validate:"required"`
	// SystemDbOnDataDiskEnabled: bool, optional
	SystemDbOnDataDiskEnabled terra.BoolValue `hcl:"system_db_on_data_disk_enabled,attr"`
	// StorageConfigurationDataSettings: optional
	DataSettings *StorageConfigurationDataSettings `hcl:"data_settings,block"`
	// StorageConfigurationLogSettings: optional
	LogSettings *StorageConfigurationLogSettings `hcl:"log_settings,block"`
	// StorageConfigurationTempDbSettings: optional
	TempDbSettings *StorageConfigurationTempDbSettings `hcl:"temp_db_settings,block"`
}

type StorageConfigurationAttributes

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

func (StorageConfigurationAttributes) DataSettings

func (StorageConfigurationAttributes) DiskType

func (StorageConfigurationAttributes) InternalRef

func (StorageConfigurationAttributes) InternalTokens

func (sc StorageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageConfigurationAttributes) InternalWithRef

func (StorageConfigurationAttributes) LogSettings

func (StorageConfigurationAttributes) StorageWorkloadType

func (sc StorageConfigurationAttributes) StorageWorkloadType() terra.StringValue

func (StorageConfigurationAttributes) SystemDbOnDataDiskEnabled

func (sc StorageConfigurationAttributes) SystemDbOnDataDiskEnabled() terra.BoolValue

func (StorageConfigurationAttributes) TempDbSettings

type StorageConfigurationDataSettings

type StorageConfigurationDataSettings struct {
	// DefaultFilePath: string, required
	DefaultFilePath terra.StringValue `hcl:"default_file_path,attr" validate:"required"`
	// Luns: list of number, required
	Luns terra.ListValue[terra.NumberValue] `hcl:"luns,attr" validate:"required"`
}

type StorageConfigurationDataSettingsAttributes

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

func (StorageConfigurationDataSettingsAttributes) DefaultFilePath

func (StorageConfigurationDataSettingsAttributes) InternalRef

func (StorageConfigurationDataSettingsAttributes) InternalTokens

func (StorageConfigurationDataSettingsAttributes) InternalWithRef

func (StorageConfigurationDataSettingsAttributes) Luns

type StorageConfigurationDataSettingsState

type StorageConfigurationDataSettingsState struct {
	DefaultFilePath string    `json:"default_file_path"`
	Luns            []float64 `json:"luns"`
}

type StorageConfigurationLogSettings

type StorageConfigurationLogSettings struct {
	// DefaultFilePath: string, required
	DefaultFilePath terra.StringValue `hcl:"default_file_path,attr" validate:"required"`
	// Luns: list of number, required
	Luns terra.ListValue[terra.NumberValue] `hcl:"luns,attr" validate:"required"`
}

type StorageConfigurationLogSettingsAttributes

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

func (StorageConfigurationLogSettingsAttributes) DefaultFilePath

func (StorageConfigurationLogSettingsAttributes) InternalRef

func (StorageConfigurationLogSettingsAttributes) InternalTokens

func (StorageConfigurationLogSettingsAttributes) InternalWithRef

func (StorageConfigurationLogSettingsAttributes) Luns

type StorageConfigurationLogSettingsState

type StorageConfigurationLogSettingsState struct {
	DefaultFilePath string    `json:"default_file_path"`
	Luns            []float64 `json:"luns"`
}

type StorageConfigurationState

type StorageConfigurationState struct {
	DiskType                  string                                    `json:"disk_type"`
	StorageWorkloadType       string                                    `json:"storage_workload_type"`
	SystemDbOnDataDiskEnabled bool                                      `json:"system_db_on_data_disk_enabled"`
	DataSettings              []StorageConfigurationDataSettingsState   `json:"data_settings"`
	LogSettings               []StorageConfigurationLogSettingsState    `json:"log_settings"`
	TempDbSettings            []StorageConfigurationTempDbSettingsState `json:"temp_db_settings"`
}

type StorageConfigurationTempDbSettings

type StorageConfigurationTempDbSettings struct {
	// DataFileCount: number, optional
	DataFileCount terra.NumberValue `hcl:"data_file_count,attr"`
	// DataFileGrowthInMb: number, optional
	DataFileGrowthInMb terra.NumberValue `hcl:"data_file_growth_in_mb,attr"`
	// DataFileSizeMb: number, optional
	DataFileSizeMb terra.NumberValue `hcl:"data_file_size_mb,attr"`
	// DefaultFilePath: string, required
	DefaultFilePath terra.StringValue `hcl:"default_file_path,attr" validate:"required"`
	// LogFileGrowthMb: number, optional
	LogFileGrowthMb terra.NumberValue `hcl:"log_file_growth_mb,attr"`
	// LogFileSizeMb: number, optional
	LogFileSizeMb terra.NumberValue `hcl:"log_file_size_mb,attr"`
	// Luns: list of number, required
	Luns terra.ListValue[terra.NumberValue] `hcl:"luns,attr" validate:"required"`
}

type StorageConfigurationTempDbSettingsAttributes

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

func (StorageConfigurationTempDbSettingsAttributes) DataFileCount

func (StorageConfigurationTempDbSettingsAttributes) DataFileGrowthInMb

func (StorageConfigurationTempDbSettingsAttributes) DataFileSizeMb

func (StorageConfigurationTempDbSettingsAttributes) DefaultFilePath

func (StorageConfigurationTempDbSettingsAttributes) InternalRef

func (StorageConfigurationTempDbSettingsAttributes) InternalTokens

func (StorageConfigurationTempDbSettingsAttributes) InternalWithRef

func (StorageConfigurationTempDbSettingsAttributes) LogFileGrowthMb

func (StorageConfigurationTempDbSettingsAttributes) LogFileSizeMb

func (StorageConfigurationTempDbSettingsAttributes) Luns

type StorageConfigurationTempDbSettingsState

type StorageConfigurationTempDbSettingsState struct {
	DataFileCount      float64   `json:"data_file_count"`
	DataFileGrowthInMb float64   `json:"data_file_growth_in_mb"`
	DataFileSizeMb     float64   `json:"data_file_size_mb"`
	DefaultFilePath    string    `json:"default_file_path"`
	LogFileGrowthMb    float64   `json:"log_file_growth_mb"`
	LogFileSizeMb      float64   `json:"log_file_size_mb"`
	Luns               []float64 `json:"luns"`
}

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"`
}

type WsfcDomainCredential

type WsfcDomainCredential struct {
	// ClusterBootstrapAccountPassword: string, required
	ClusterBootstrapAccountPassword terra.StringValue `hcl:"cluster_bootstrap_account_password,attr" validate:"required"`
	// ClusterOperatorAccountPassword: string, required
	ClusterOperatorAccountPassword terra.StringValue `hcl:"cluster_operator_account_password,attr" validate:"required"`
	// SqlServiceAccountPassword: string, required
	SqlServiceAccountPassword terra.StringValue `hcl:"sql_service_account_password,attr" validate:"required"`
}

type WsfcDomainCredentialAttributes

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

func (WsfcDomainCredentialAttributes) ClusterBootstrapAccountPassword

func (wdc WsfcDomainCredentialAttributes) ClusterBootstrapAccountPassword() terra.StringValue

func (WsfcDomainCredentialAttributes) ClusterOperatorAccountPassword

func (wdc WsfcDomainCredentialAttributes) ClusterOperatorAccountPassword() terra.StringValue

func (WsfcDomainCredentialAttributes) InternalRef

func (wdc WsfcDomainCredentialAttributes) InternalRef() (terra.Reference, error)

func (WsfcDomainCredentialAttributes) InternalTokens

func (wdc WsfcDomainCredentialAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WsfcDomainCredentialAttributes) InternalWithRef

func (WsfcDomainCredentialAttributes) SqlServiceAccountPassword

func (wdc WsfcDomainCredentialAttributes) SqlServiceAccountPassword() terra.StringValue

type WsfcDomainCredentialState

type WsfcDomainCredentialState struct {
	ClusterBootstrapAccountPassword string `json:"cluster_bootstrap_account_password"`
	ClusterOperatorAccountPassword  string `json:"cluster_operator_account_password"`
	SqlServiceAccountPassword       string `json:"sql_service_account_password"`
}

Jump to

Keyboard shortcuts

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