Documentation ¶
Index ¶
- type Args
- type Authentication
- type AuthenticationAttributes
- func (a AuthenticationAttributes) ActiveDirectoryAuthEnabled() terra.BoolValue
- func (a AuthenticationAttributes) InternalRef() (terra.Reference, error)
- func (a AuthenticationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AuthenticationAttributes) InternalWithRef(ref terra.Reference) AuthenticationAttributes
- func (a AuthenticationAttributes) PasswordAuthEnabled() terra.BoolValue
- func (a AuthenticationAttributes) TenantId() terra.StringValue
- type AuthenticationState
- type CustomerManagedKey
- type CustomerManagedKeyAttributes
- func (cmk CustomerManagedKeyAttributes) GeoBackupKeyVaultKeyId() terra.StringValue
- func (cmk CustomerManagedKeyAttributes) GeoBackupUserAssignedIdentityId() terra.StringValue
- func (cmk CustomerManagedKeyAttributes) InternalRef() (terra.Reference, error)
- func (cmk CustomerManagedKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cmk CustomerManagedKeyAttributes) InternalWithRef(ref terra.Reference) CustomerManagedKeyAttributes
- func (cmk CustomerManagedKeyAttributes) KeyVaultKeyId() terra.StringValue
- func (cmk CustomerManagedKeyAttributes) PrimaryUserAssignedIdentityId() terra.StringValue
- type CustomerManagedKeyState
- type DataArgs
- type DataSource
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type HighAvailability
- type HighAvailabilityAttributes
- func (ha HighAvailabilityAttributes) InternalRef() (terra.Reference, error)
- func (ha HighAvailabilityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ha HighAvailabilityAttributes) InternalWithRef(ref terra.Reference) HighAvailabilityAttributes
- func (ha HighAvailabilityAttributes) Mode() terra.StringValue
- func (ha HighAvailabilityAttributes) StandbyAvailabilityZone() terra.StringValue
- type HighAvailabilityState
- type Identity
- type IdentityAttributes
- func (i IdentityAttributes) IdentityIds() terra.SetValue[terra.StringValue]
- func (i IdentityAttributes) InternalRef() (terra.Reference, error)
- func (i IdentityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i IdentityAttributes) InternalWithRef(ref terra.Reference) IdentityAttributes
- func (i IdentityAttributes) Type() terra.StringValue
- type IdentityState
- type MaintenanceWindow
- type MaintenanceWindowAttributes
- func (mw MaintenanceWindowAttributes) DayOfWeek() terra.NumberValue
- func (mw MaintenanceWindowAttributes) InternalRef() (terra.Reference, error)
- func (mw MaintenanceWindowAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mw MaintenanceWindowAttributes) InternalWithRef(ref terra.Reference) MaintenanceWindowAttributes
- func (mw MaintenanceWindowAttributes) StartHour() terra.NumberValue
- func (mw MaintenanceWindowAttributes) StartMinute() terra.NumberValue
- type MaintenanceWindowState
- type Resource
- func (apfs *Resource) Attributes() azurermPostgresqlFlexibleServerAttributes
- func (apfs *Resource) Configuration() interface{}
- func (apfs *Resource) DependOn() terra.Reference
- func (apfs *Resource) Dependencies() terra.Dependencies
- func (apfs *Resource) ImportState(state io.Reader) error
- func (apfs *Resource) LifecycleManagement() *terra.Lifecycle
- func (apfs *Resource) LocalName() string
- func (apfs *Resource) State() (*azurermPostgresqlFlexibleServerState, bool)
- func (apfs *Resource) StateMust() *azurermPostgresqlFlexibleServerState
- func (apfs *Resource) Type() string
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AdministratorLogin: string, optional AdministratorLogin terra.StringValue `hcl:"administrator_login,attr"` // AdministratorPassword: string, optional AdministratorPassword terra.StringValue `hcl:"administrator_password,attr"` // AutoGrowEnabled: bool, optional AutoGrowEnabled terra.BoolValue `hcl:"auto_grow_enabled,attr"` // BackupRetentionDays: number, optional BackupRetentionDays terra.NumberValue `hcl:"backup_retention_days,attr"` // CreateMode: string, optional CreateMode terra.StringValue `hcl:"create_mode,attr"` // DelegatedSubnetId: string, optional DelegatedSubnetId terra.StringValue `hcl:"delegated_subnet_id,attr"` // GeoRedundantBackupEnabled: bool, optional GeoRedundantBackupEnabled terra.BoolValue `hcl:"geo_redundant_backup_enabled,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PointInTimeRestoreTimeInUtc: string, optional PointInTimeRestoreTimeInUtc terra.StringValue `hcl:"point_in_time_restore_time_in_utc,attr"` // PrivateDnsZoneId: string, optional PrivateDnsZoneId terra.StringValue `hcl:"private_dns_zone_id,attr"` // ReplicationRole: string, optional ReplicationRole terra.StringValue `hcl:"replication_role,attr"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // SkuName: string, optional SkuName terra.StringValue `hcl:"sku_name,attr"` // SourceServerId: string, optional SourceServerId terra.StringValue `hcl:"source_server_id,attr"` // StorageMb: number, optional StorageMb terra.NumberValue `hcl:"storage_mb,attr"` // StorageTier: string, optional StorageTier terra.StringValue `hcl:"storage_tier,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // Version: string, optional Version terra.StringValue `hcl:"version,attr"` // Zone: string, optional Zone terra.StringValue `hcl:"zone,attr"` // Authentication: optional Authentication *Authentication `hcl:"authentication,block"` // CustomerManagedKey: optional CustomerManagedKey *CustomerManagedKey `hcl:"customer_managed_key,block"` // HighAvailability: optional HighAvailability *HighAvailability `hcl:"high_availability,block"` // Identity: optional Identity *Identity `hcl:"identity,block"` // MaintenanceWindow: optional MaintenanceWindow *MaintenanceWindow `hcl:"maintenance_window,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_postgresql_flexible_server.
type Authentication ¶
type Authentication struct { // ActiveDirectoryAuthEnabled: bool, optional ActiveDirectoryAuthEnabled terra.BoolValue `hcl:"active_directory_auth_enabled,attr"` // PasswordAuthEnabled: bool, optional PasswordAuthEnabled terra.BoolValue `hcl:"password_auth_enabled,attr"` // TenantId: string, optional TenantId terra.StringValue `hcl:"tenant_id,attr"` }
type AuthenticationAttributes ¶
type AuthenticationAttributes struct {
// contains filtered or unexported fields
}
func (AuthenticationAttributes) ActiveDirectoryAuthEnabled ¶
func (a AuthenticationAttributes) ActiveDirectoryAuthEnabled() terra.BoolValue
func (AuthenticationAttributes) InternalRef ¶
func (a AuthenticationAttributes) InternalRef() (terra.Reference, error)
func (AuthenticationAttributes) InternalTokens ¶
func (a AuthenticationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuthenticationAttributes) InternalWithRef ¶
func (a AuthenticationAttributes) InternalWithRef(ref terra.Reference) AuthenticationAttributes
func (AuthenticationAttributes) PasswordAuthEnabled ¶
func (a AuthenticationAttributes) PasswordAuthEnabled() terra.BoolValue
func (AuthenticationAttributes) TenantId ¶
func (a AuthenticationAttributes) TenantId() terra.StringValue
type AuthenticationState ¶
type CustomerManagedKey ¶
type CustomerManagedKey struct { // GeoBackupKeyVaultKeyId: string, optional GeoBackupKeyVaultKeyId terra.StringValue `hcl:"geo_backup_key_vault_key_id,attr"` // GeoBackupUserAssignedIdentityId: string, optional GeoBackupUserAssignedIdentityId terra.StringValue `hcl:"geo_backup_user_assigned_identity_id,attr"` // KeyVaultKeyId: string, required KeyVaultKeyId terra.StringValue `hcl:"key_vault_key_id,attr" validate:"required"` // PrimaryUserAssignedIdentityId: string, optional PrimaryUserAssignedIdentityId terra.StringValue `hcl:"primary_user_assigned_identity_id,attr"` }
type CustomerManagedKeyAttributes ¶
type CustomerManagedKeyAttributes struct {
// contains filtered or unexported fields
}
func (CustomerManagedKeyAttributes) GeoBackupKeyVaultKeyId ¶
func (cmk CustomerManagedKeyAttributes) GeoBackupKeyVaultKeyId() terra.StringValue
func (CustomerManagedKeyAttributes) GeoBackupUserAssignedIdentityId ¶
func (cmk CustomerManagedKeyAttributes) GeoBackupUserAssignedIdentityId() terra.StringValue
func (CustomerManagedKeyAttributes) InternalRef ¶
func (cmk CustomerManagedKeyAttributes) InternalRef() (terra.Reference, error)
func (CustomerManagedKeyAttributes) InternalTokens ¶
func (cmk CustomerManagedKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomerManagedKeyAttributes) InternalWithRef ¶
func (cmk CustomerManagedKeyAttributes) InternalWithRef(ref terra.Reference) CustomerManagedKeyAttributes
func (CustomerManagedKeyAttributes) KeyVaultKeyId ¶
func (cmk CustomerManagedKeyAttributes) KeyVaultKeyId() terra.StringValue
func (CustomerManagedKeyAttributes) PrimaryUserAssignedIdentityId ¶
func (cmk CustomerManagedKeyAttributes) PrimaryUserAssignedIdentityId() terra.StringValue
type CustomerManagedKeyState ¶
type CustomerManagedKeyState struct { GeoBackupKeyVaultKeyId string `json:"geo_backup_key_vault_key_id"` GeoBackupUserAssignedIdentityId string `json:"geo_backup_user_assigned_identity_id"` KeyVaultKeyId string `json:"key_vault_key_id"` PrimaryUserAssignedIdentityId string `json:"primary_user_assigned_identity_id"` }
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,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"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for azurerm_postgresql_flexible_server.
type DataSource ¶
DataSource represents the Terraform data resource azurerm_postgresql_flexible_server.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (apfs *DataSource) Attributes() dataAzurermPostgresqlFlexibleServerAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (apfs *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (apfs *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (apfs *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTimeouts ¶
type DataTimeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type DataTimeoutsAttributes ¶
type DataTimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (DataTimeoutsAttributes) InternalRef ¶
func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)
func (DataTimeoutsAttributes) InternalTokens ¶
func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTimeoutsAttributes) InternalWithRef ¶
func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
type HighAvailability ¶
type HighAvailability struct { // Mode: string, required Mode terra.StringValue `hcl:"mode,attr" validate:"required"` // StandbyAvailabilityZone: string, optional StandbyAvailabilityZone terra.StringValue `hcl:"standby_availability_zone,attr"` }
type HighAvailabilityAttributes ¶
type HighAvailabilityAttributes struct {
// contains filtered or unexported fields
}
func (HighAvailabilityAttributes) InternalRef ¶
func (ha HighAvailabilityAttributes) InternalRef() (terra.Reference, error)
func (HighAvailabilityAttributes) InternalTokens ¶
func (ha HighAvailabilityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HighAvailabilityAttributes) InternalWithRef ¶
func (ha HighAvailabilityAttributes) InternalWithRef(ref terra.Reference) HighAvailabilityAttributes
func (HighAvailabilityAttributes) Mode ¶
func (ha HighAvailabilityAttributes) Mode() terra.StringValue
func (HighAvailabilityAttributes) StandbyAvailabilityZone ¶
func (ha HighAvailabilityAttributes) StandbyAvailabilityZone() terra.StringValue
type HighAvailabilityState ¶
type Identity ¶
type Identity struct { // IdentityIds: set of string, required IdentityIds terra.SetValue[terra.StringValue] `hcl:"identity_ids,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type IdentityAttributes ¶
type IdentityAttributes struct {
// contains filtered or unexported fields
}
func (IdentityAttributes) IdentityIds ¶
func (i IdentityAttributes) IdentityIds() terra.SetValue[terra.StringValue]
func (IdentityAttributes) InternalRef ¶
func (i IdentityAttributes) InternalRef() (terra.Reference, error)
func (IdentityAttributes) InternalTokens ¶
func (i IdentityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IdentityAttributes) InternalWithRef ¶
func (i IdentityAttributes) InternalWithRef(ref terra.Reference) IdentityAttributes
func (IdentityAttributes) Type ¶
func (i IdentityAttributes) Type() terra.StringValue
type IdentityState ¶
type MaintenanceWindow ¶
type MaintenanceWindow struct { // DayOfWeek: number, optional DayOfWeek terra.NumberValue `hcl:"day_of_week,attr"` // StartHour: number, optional StartHour terra.NumberValue `hcl:"start_hour,attr"` // StartMinute: number, optional StartMinute terra.NumberValue `hcl:"start_minute,attr"` }
type MaintenanceWindowAttributes ¶
type MaintenanceWindowAttributes struct {
// contains filtered or unexported fields
}
func (MaintenanceWindowAttributes) DayOfWeek ¶
func (mw MaintenanceWindowAttributes) DayOfWeek() terra.NumberValue
func (MaintenanceWindowAttributes) InternalRef ¶
func (mw MaintenanceWindowAttributes) InternalRef() (terra.Reference, error)
func (MaintenanceWindowAttributes) InternalTokens ¶
func (mw MaintenanceWindowAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaintenanceWindowAttributes) InternalWithRef ¶
func (mw MaintenanceWindowAttributes) InternalWithRef(ref terra.Reference) MaintenanceWindowAttributes
func (MaintenanceWindowAttributes) StartHour ¶
func (mw MaintenanceWindowAttributes) StartHour() terra.NumberValue
func (MaintenanceWindowAttributes) StartMinute ¶
func (mw MaintenanceWindowAttributes) StartMinute() terra.NumberValue
type MaintenanceWindowState ¶
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_postgresql_flexible_server.
func (*Resource) Attributes ¶
func (apfs *Resource) Attributes() azurermPostgresqlFlexibleServerAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (apfs *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (apfs *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 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