Documentation ¶
Index ¶
- type Args
- 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 (acpc *Resource) Attributes() azurermCosmosdbPostgresqlClusterAttributes
- func (acpc *Resource) Configuration() interface{}
- func (acpc *Resource) DependOn() terra.Reference
- func (acpc *Resource) Dependencies() terra.Dependencies
- func (acpc *Resource) ImportState(state io.Reader) error
- func (acpc *Resource) LifecycleManagement() *terra.Lifecycle
- func (acpc *Resource) LocalName() string
- func (acpc *Resource) State() (*azurermCosmosdbPostgresqlClusterState, bool)
- func (acpc *Resource) StateMust() *azurermCosmosdbPostgresqlClusterState
- func (acpc *Resource) Type() string
- type ServersAttributes
- func (s ServersAttributes) Fqdn() terra.StringValue
- func (s ServersAttributes) InternalRef() (terra.Reference, error)
- func (s ServersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s ServersAttributes) InternalWithRef(ref terra.Reference) ServersAttributes
- func (s ServersAttributes) Name() terra.StringValue
- type ServersState
- 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 { // AdministratorLoginPassword: string, optional AdministratorLoginPassword terra.StringValue `hcl:"administrator_login_password,attr"` // CitusVersion: string, optional CitusVersion terra.StringValue `hcl:"citus_version,attr"` // CoordinatorPublicIpAccessEnabled: bool, optional CoordinatorPublicIpAccessEnabled terra.BoolValue `hcl:"coordinator_public_ip_access_enabled,attr"` // CoordinatorServerEdition: string, optional CoordinatorServerEdition terra.StringValue `hcl:"coordinator_server_edition,attr"` // CoordinatorStorageQuotaInMb: number, optional CoordinatorStorageQuotaInMb terra.NumberValue `hcl:"coordinator_storage_quota_in_mb,attr"` // CoordinatorVcoreCount: number, optional CoordinatorVcoreCount terra.NumberValue `hcl:"coordinator_vcore_count,attr"` // HaEnabled: bool, optional HaEnabled terra.BoolValue `hcl:"ha_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"` // NodeCount: number, required NodeCount terra.NumberValue `hcl:"node_count,attr" validate:"required"` // NodePublicIpAccessEnabled: bool, optional NodePublicIpAccessEnabled terra.BoolValue `hcl:"node_public_ip_access_enabled,attr"` // NodeServerEdition: string, optional NodeServerEdition terra.StringValue `hcl:"node_server_edition,attr"` // NodeStorageQuotaInMb: number, optional NodeStorageQuotaInMb terra.NumberValue `hcl:"node_storage_quota_in_mb,attr"` // NodeVcores: number, optional NodeVcores terra.NumberValue `hcl:"node_vcores,attr"` // PointInTimeInUtc: string, optional PointInTimeInUtc terra.StringValue `hcl:"point_in_time_in_utc,attr"` // PreferredPrimaryZone: string, optional PreferredPrimaryZone terra.StringValue `hcl:"preferred_primary_zone,attr"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // ShardsOnCoordinatorEnabled: bool, optional ShardsOnCoordinatorEnabled terra.BoolValue `hcl:"shards_on_coordinator_enabled,attr"` // SourceLocation: string, optional SourceLocation terra.StringValue `hcl:"source_location,attr"` // SourceResourceId: string, optional SourceResourceId terra.StringValue `hcl:"source_resource_id,attr"` // SqlVersion: string, optional SqlVersion terra.StringValue `hcl:"sql_version,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // MaintenanceWindow: optional MaintenanceWindow *MaintenanceWindow `hcl:"maintenance_window,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_cosmosdb_postgresql_cluster.
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_cosmosdb_postgresql_cluster.
func (*Resource) Attributes ¶
func (acpc *Resource) Attributes() azurermCosmosdbPostgresqlClusterAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (acpc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (acpc *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 ServersAttributes ¶
type ServersAttributes struct {
// contains filtered or unexported fields
}
func (ServersAttributes) Fqdn ¶
func (s ServersAttributes) Fqdn() terra.StringValue
func (ServersAttributes) InternalRef ¶
func (s ServersAttributes) InternalRef() (terra.Reference, error)
func (ServersAttributes) InternalTokens ¶
func (s ServersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServersAttributes) InternalWithRef ¶
func (s ServersAttributes) InternalWithRef(ref terra.Reference) ServersAttributes
func (ServersAttributes) Name ¶
func (s ServersAttributes) Name() terra.StringValue
type ServersState ¶
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
Click to show internal directories.
Click to hide internal directories.