Documentation
¶
Index ¶
- type Args
- type Assessment
- type AssessmentAttributes
- func (a AssessmentAttributes) Enabled() terra.BoolValue
- func (a AssessmentAttributes) InternalRef() (terra.Reference, error)
- func (a AssessmentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AssessmentAttributes) InternalWithRef(ref terra.Reference) AssessmentAttributes
- func (a AssessmentAttributes) RunImmediately() terra.BoolValue
- func (a AssessmentAttributes) Schedule() terra.ListValue[AssessmentScheduleAttributes]
- type AssessmentSchedule
- type AssessmentScheduleAttributes
- func (s AssessmentScheduleAttributes) DayOfWeek() terra.StringValue
- func (s AssessmentScheduleAttributes) InternalRef() (terra.Reference, error)
- func (s AssessmentScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s AssessmentScheduleAttributes) InternalWithRef(ref terra.Reference) AssessmentScheduleAttributes
- func (s AssessmentScheduleAttributes) MonthlyOccurrence() terra.NumberValue
- func (s AssessmentScheduleAttributes) StartTime() terra.StringValue
- func (s AssessmentScheduleAttributes) WeeklyInterval() terra.NumberValue
- type AssessmentScheduleState
- type AssessmentState
- type AutoBackup
- type AutoBackupAttributes
- func (ab AutoBackupAttributes) EncryptionEnabled() terra.BoolValue
- func (ab AutoBackupAttributes) EncryptionPassword() terra.StringValue
- func (ab AutoBackupAttributes) InternalRef() (terra.Reference, error)
- func (ab AutoBackupAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ab AutoBackupAttributes) InternalWithRef(ref terra.Reference) AutoBackupAttributes
- func (ab AutoBackupAttributes) ManualSchedule() terra.ListValue[AutoBackupManualScheduleAttributes]
- func (ab AutoBackupAttributes) RetentionPeriodInDays() terra.NumberValue
- func (ab AutoBackupAttributes) StorageAccountAccessKey() terra.StringValue
- func (ab AutoBackupAttributes) StorageBlobEndpoint() terra.StringValue
- func (ab AutoBackupAttributes) SystemDatabasesBackupEnabled() terra.BoolValue
- type AutoBackupManualSchedule
- type AutoBackupManualScheduleAttributes
- func (ms AutoBackupManualScheduleAttributes) DaysOfWeek() terra.SetValue[terra.StringValue]
- func (ms AutoBackupManualScheduleAttributes) FullBackupFrequency() terra.StringValue
- func (ms AutoBackupManualScheduleAttributes) FullBackupStartHour() terra.NumberValue
- func (ms AutoBackupManualScheduleAttributes) FullBackupWindowInHours() terra.NumberValue
- func (ms AutoBackupManualScheduleAttributes) InternalRef() (terra.Reference, error)
- func (ms AutoBackupManualScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ms AutoBackupManualScheduleAttributes) InternalWithRef(ref terra.Reference) AutoBackupManualScheduleAttributes
- func (ms AutoBackupManualScheduleAttributes) LogBackupFrequencyInMinutes() terra.NumberValue
- type AutoBackupManualScheduleState
- type AutoBackupState
- type AutoPatching
- type AutoPatchingAttributes
- func (ap AutoPatchingAttributes) DayOfWeek() terra.StringValue
- func (ap AutoPatchingAttributes) InternalRef() (terra.Reference, error)
- func (ap AutoPatchingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ap AutoPatchingAttributes) InternalWithRef(ref terra.Reference) AutoPatchingAttributes
- func (ap AutoPatchingAttributes) MaintenanceWindowDurationInMinutes() terra.NumberValue
- func (ap AutoPatchingAttributes) MaintenanceWindowStartingHour() terra.NumberValue
- type AutoPatchingState
- type KeyVaultCredential
- type KeyVaultCredentialAttributes
- func (kvc KeyVaultCredentialAttributes) InternalRef() (terra.Reference, error)
- func (kvc KeyVaultCredentialAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (kvc KeyVaultCredentialAttributes) InternalWithRef(ref terra.Reference) KeyVaultCredentialAttributes
- func (kvc KeyVaultCredentialAttributes) KeyVaultUrl() terra.StringValue
- func (kvc KeyVaultCredentialAttributes) Name() terra.StringValue
- func (kvc KeyVaultCredentialAttributes) ServicePrincipalName() terra.StringValue
- func (kvc KeyVaultCredentialAttributes) ServicePrincipalSecret() terra.StringValue
- type KeyVaultCredentialState
- type Resource
- func (amvm *Resource) Attributes() azurermMssqlVirtualMachineAttributes
- func (amvm *Resource) Configuration() interface{}
- func (amvm *Resource) DependOn() terra.Reference
- func (amvm *Resource) Dependencies() terra.Dependencies
- func (amvm *Resource) ImportState(state io.Reader) error
- func (amvm *Resource) LifecycleManagement() *terra.Lifecycle
- func (amvm *Resource) LocalName() string
- func (amvm *Resource) State() (*azurermMssqlVirtualMachineState, bool)
- func (amvm *Resource) StateMust() *azurermMssqlVirtualMachineState
- func (amvm *Resource) Type() string
- type SqlInstance
- type SqlInstanceAttributes
- func (si SqlInstanceAttributes) AdhocWorkloadsOptimizationEnabled() terra.BoolValue
- func (si SqlInstanceAttributes) Collation() terra.StringValue
- func (si SqlInstanceAttributes) InstantFileInitializationEnabled() terra.BoolValue
- func (si SqlInstanceAttributes) InternalRef() (terra.Reference, error)
- func (si SqlInstanceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (si SqlInstanceAttributes) InternalWithRef(ref terra.Reference) SqlInstanceAttributes
- func (si SqlInstanceAttributes) LockPagesInMemoryEnabled() terra.BoolValue
- func (si SqlInstanceAttributes) MaxDop() terra.NumberValue
- func (si SqlInstanceAttributes) MaxServerMemoryMb() terra.NumberValue
- func (si SqlInstanceAttributes) MinServerMemoryMb() terra.NumberValue
- type SqlInstanceState
- type StorageConfiguration
- type StorageConfigurationAttributes
- func (sc StorageConfigurationAttributes) DataSettings() terra.ListValue[StorageConfigurationDataSettingsAttributes]
- func (sc StorageConfigurationAttributes) DiskType() terra.StringValue
- func (sc StorageConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (sc StorageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc StorageConfigurationAttributes) InternalWithRef(ref terra.Reference) StorageConfigurationAttributes
- func (sc StorageConfigurationAttributes) LogSettings() terra.ListValue[StorageConfigurationLogSettingsAttributes]
- func (sc StorageConfigurationAttributes) StorageWorkloadType() terra.StringValue
- func (sc StorageConfigurationAttributes) SystemDbOnDataDiskEnabled() terra.BoolValue
- func (sc StorageConfigurationAttributes) TempDbSettings() terra.ListValue[StorageConfigurationTempDbSettingsAttributes]
- type StorageConfigurationDataSettings
- type StorageConfigurationDataSettingsAttributes
- func (ds StorageConfigurationDataSettingsAttributes) DefaultFilePath() terra.StringValue
- func (ds StorageConfigurationDataSettingsAttributes) InternalRef() (terra.Reference, error)
- func (ds StorageConfigurationDataSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ds StorageConfigurationDataSettingsAttributes) InternalWithRef(ref terra.Reference) StorageConfigurationDataSettingsAttributes
- func (ds StorageConfigurationDataSettingsAttributes) Luns() terra.ListValue[terra.NumberValue]
- type StorageConfigurationDataSettingsState
- type StorageConfigurationLogSettings
- type StorageConfigurationLogSettingsAttributes
- func (ls StorageConfigurationLogSettingsAttributes) DefaultFilePath() terra.StringValue
- func (ls StorageConfigurationLogSettingsAttributes) InternalRef() (terra.Reference, error)
- func (ls StorageConfigurationLogSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ls StorageConfigurationLogSettingsAttributes) InternalWithRef(ref terra.Reference) StorageConfigurationLogSettingsAttributes
- func (ls StorageConfigurationLogSettingsAttributes) Luns() terra.ListValue[terra.NumberValue]
- type StorageConfigurationLogSettingsState
- type StorageConfigurationState
- type StorageConfigurationTempDbSettings
- type StorageConfigurationTempDbSettingsAttributes
- func (tds StorageConfigurationTempDbSettingsAttributes) DataFileCount() terra.NumberValue
- func (tds StorageConfigurationTempDbSettingsAttributes) DataFileGrowthInMb() terra.NumberValue
- func (tds StorageConfigurationTempDbSettingsAttributes) DataFileSizeMb() terra.NumberValue
- func (tds StorageConfigurationTempDbSettingsAttributes) DefaultFilePath() terra.StringValue
- func (tds StorageConfigurationTempDbSettingsAttributes) InternalRef() (terra.Reference, error)
- func (tds StorageConfigurationTempDbSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tds StorageConfigurationTempDbSettingsAttributes) InternalWithRef(ref terra.Reference) StorageConfigurationTempDbSettingsAttributes
- func (tds StorageConfigurationTempDbSettingsAttributes) LogFileGrowthMb() terra.NumberValue
- func (tds StorageConfigurationTempDbSettingsAttributes) LogFileSizeMb() terra.NumberValue
- func (tds StorageConfigurationTempDbSettingsAttributes) Luns() terra.ListValue[terra.NumberValue]
- type StorageConfigurationTempDbSettingsState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type WsfcDomainCredential
- type WsfcDomainCredentialAttributes
- func (wdc WsfcDomainCredentialAttributes) ClusterBootstrapAccountPassword() terra.StringValue
- func (wdc WsfcDomainCredentialAttributes) ClusterOperatorAccountPassword() terra.StringValue
- func (wdc WsfcDomainCredentialAttributes) InternalRef() (terra.Reference, error)
- func (wdc WsfcDomainCredentialAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wdc WsfcDomainCredentialAttributes) InternalWithRef(ref terra.Reference) WsfcDomainCredentialAttributes
- func (wdc WsfcDomainCredentialAttributes) SqlServiceAccountPassword() terra.StringValue
- type WsfcDomainCredentialState
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 (a AssessmentAttributes) InternalWithRef(ref terra.Reference) AssessmentAttributes
func (AssessmentAttributes) RunImmediately ¶
func (a AssessmentAttributes) RunImmediately() terra.BoolValue
func (AssessmentAttributes) Schedule ¶
func (a AssessmentAttributes) Schedule() terra.ListValue[AssessmentScheduleAttributes]
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 (s AssessmentScheduleAttributes) DayOfWeek() terra.StringValue
func (AssessmentScheduleAttributes) InternalRef ¶
func (s AssessmentScheduleAttributes) InternalRef() (terra.Reference, error)
func (AssessmentScheduleAttributes) InternalTokens ¶
func (s AssessmentScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AssessmentScheduleAttributes) InternalWithRef ¶
func (s AssessmentScheduleAttributes) InternalWithRef(ref terra.Reference) AssessmentScheduleAttributes
func (AssessmentScheduleAttributes) MonthlyOccurrence ¶
func (s AssessmentScheduleAttributes) MonthlyOccurrence() terra.NumberValue
func (AssessmentScheduleAttributes) StartTime ¶
func (s AssessmentScheduleAttributes) StartTime() terra.StringValue
func (AssessmentScheduleAttributes) WeeklyInterval ¶
func (s AssessmentScheduleAttributes) WeeklyInterval() terra.NumberValue
type AssessmentScheduleState ¶
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 (ab AutoBackupAttributes) ManualSchedule() terra.ListValue[AutoBackupManualScheduleAttributes]
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 (ms AutoBackupManualScheduleAttributes) DaysOfWeek() terra.SetValue[terra.StringValue]
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 (ms AutoBackupManualScheduleAttributes) InternalRef() (terra.Reference, error)
func (AutoBackupManualScheduleAttributes) InternalTokens ¶
func (ms AutoBackupManualScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoBackupManualScheduleAttributes) InternalWithRef ¶
func (ms AutoBackupManualScheduleAttributes) InternalWithRef(ref terra.Reference) AutoBackupManualScheduleAttributes
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 (ap AutoPatchingAttributes) InternalWithRef(ref terra.Reference) AutoPatchingAttributes
func (AutoPatchingAttributes) MaintenanceWindowDurationInMinutes ¶
func (ap AutoPatchingAttributes) MaintenanceWindowDurationInMinutes() terra.NumberValue
func (AutoPatchingAttributes) MaintenanceWindowStartingHour ¶
func (ap AutoPatchingAttributes) MaintenanceWindowStartingHour() terra.NumberValue
type AutoPatchingState ¶
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 (kvc KeyVaultCredentialAttributes) InternalWithRef(ref terra.Reference) KeyVaultCredentialAttributes
func (KeyVaultCredentialAttributes) KeyVaultUrl ¶
func (kvc KeyVaultCredentialAttributes) KeyVaultUrl() terra.StringValue
func (KeyVaultCredentialAttributes) Name ¶
func (kvc KeyVaultCredentialAttributes) Name() terra.StringValue
func (KeyVaultCredentialAttributes) ServicePrincipalName ¶
func (kvc KeyVaultCredentialAttributes) ServicePrincipalName() terra.StringValue
func (KeyVaultCredentialAttributes) ServicePrincipalSecret ¶
func (kvc KeyVaultCredentialAttributes) ServicePrincipalSecret() terra.StringValue
type KeyVaultCredentialState ¶
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 (*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) Dependencies ¶
func (amvm *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block 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 (si SqlInstanceAttributes) InternalWithRef(ref terra.Reference) SqlInstanceAttributes
func (SqlInstanceAttributes) LockPagesInMemoryEnabled ¶
func (si SqlInstanceAttributes) LockPagesInMemoryEnabled() terra.BoolValue
func (SqlInstanceAttributes) MaxDop ¶
func (si SqlInstanceAttributes) MaxDop() terra.NumberValue
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 (sc StorageConfigurationAttributes) DataSettings() terra.ListValue[StorageConfigurationDataSettingsAttributes]
func (StorageConfigurationAttributes) DiskType ¶
func (sc StorageConfigurationAttributes) DiskType() terra.StringValue
func (StorageConfigurationAttributes) InternalRef ¶
func (sc StorageConfigurationAttributes) InternalRef() (terra.Reference, error)
func (StorageConfigurationAttributes) InternalTokens ¶
func (sc StorageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageConfigurationAttributes) InternalWithRef ¶
func (sc StorageConfigurationAttributes) InternalWithRef(ref terra.Reference) StorageConfigurationAttributes
func (StorageConfigurationAttributes) LogSettings ¶
func (sc StorageConfigurationAttributes) LogSettings() terra.ListValue[StorageConfigurationLogSettingsAttributes]
func (StorageConfigurationAttributes) StorageWorkloadType ¶
func (sc StorageConfigurationAttributes) StorageWorkloadType() terra.StringValue
func (StorageConfigurationAttributes) SystemDbOnDataDiskEnabled ¶
func (sc StorageConfigurationAttributes) SystemDbOnDataDiskEnabled() terra.BoolValue
func (StorageConfigurationAttributes) TempDbSettings ¶
func (sc StorageConfigurationAttributes) TempDbSettings() terra.ListValue[StorageConfigurationTempDbSettingsAttributes]
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 (ds StorageConfigurationDataSettingsAttributes) DefaultFilePath() terra.StringValue
func (StorageConfigurationDataSettingsAttributes) InternalRef ¶
func (ds StorageConfigurationDataSettingsAttributes) InternalRef() (terra.Reference, error)
func (StorageConfigurationDataSettingsAttributes) InternalTokens ¶
func (ds StorageConfigurationDataSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageConfigurationDataSettingsAttributes) InternalWithRef ¶
func (ds StorageConfigurationDataSettingsAttributes) InternalWithRef(ref terra.Reference) StorageConfigurationDataSettingsAttributes
func (StorageConfigurationDataSettingsAttributes) Luns ¶
func (ds StorageConfigurationDataSettingsAttributes) Luns() terra.ListValue[terra.NumberValue]
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 (ls StorageConfigurationLogSettingsAttributes) DefaultFilePath() terra.StringValue
func (StorageConfigurationLogSettingsAttributes) InternalRef ¶
func (ls StorageConfigurationLogSettingsAttributes) InternalRef() (terra.Reference, error)
func (StorageConfigurationLogSettingsAttributes) InternalTokens ¶
func (ls StorageConfigurationLogSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageConfigurationLogSettingsAttributes) InternalWithRef ¶
func (ls StorageConfigurationLogSettingsAttributes) InternalWithRef(ref terra.Reference) StorageConfigurationLogSettingsAttributes
func (StorageConfigurationLogSettingsAttributes) Luns ¶
func (ls StorageConfigurationLogSettingsAttributes) Luns() terra.ListValue[terra.NumberValue]
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 (tds StorageConfigurationTempDbSettingsAttributes) DataFileCount() terra.NumberValue
func (StorageConfigurationTempDbSettingsAttributes) DataFileGrowthInMb ¶
func (tds StorageConfigurationTempDbSettingsAttributes) DataFileGrowthInMb() terra.NumberValue
func (StorageConfigurationTempDbSettingsAttributes) DataFileSizeMb ¶
func (tds StorageConfigurationTempDbSettingsAttributes) DataFileSizeMb() terra.NumberValue
func (StorageConfigurationTempDbSettingsAttributes) DefaultFilePath ¶
func (tds StorageConfigurationTempDbSettingsAttributes) DefaultFilePath() terra.StringValue
func (StorageConfigurationTempDbSettingsAttributes) InternalRef ¶
func (tds StorageConfigurationTempDbSettingsAttributes) InternalRef() (terra.Reference, error)
func (StorageConfigurationTempDbSettingsAttributes) InternalTokens ¶
func (tds StorageConfigurationTempDbSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageConfigurationTempDbSettingsAttributes) InternalWithRef ¶
func (tds StorageConfigurationTempDbSettingsAttributes) InternalWithRef(ref terra.Reference) StorageConfigurationTempDbSettingsAttributes
func (StorageConfigurationTempDbSettingsAttributes) LogFileGrowthMb ¶
func (tds StorageConfigurationTempDbSettingsAttributes) LogFileGrowthMb() terra.NumberValue
func (StorageConfigurationTempDbSettingsAttributes) LogFileSizeMb ¶
func (tds StorageConfigurationTempDbSettingsAttributes) LogFileSizeMb() terra.NumberValue
func (StorageConfigurationTempDbSettingsAttributes) Luns ¶
func (tds StorageConfigurationTempDbSettingsAttributes) Luns() terra.ListValue[terra.NumberValue]
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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
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 (wdc WsfcDomainCredentialAttributes) InternalWithRef(ref terra.Reference) WsfcDomainCredentialAttributes
func (WsfcDomainCredentialAttributes) SqlServiceAccountPassword ¶
func (wdc WsfcDomainCredentialAttributes) SqlServiceAccountPassword() terra.StringValue
Click to show internal directories.
Click to hide internal directories.