Documentation ¶
Index ¶
- Constants
- func DataSourceDatabaseBackup() *schema.Resource
- func DataSourceDatabaseConfigGroup() *schema.Resource
- func DataSourceDatabaseDatabase() *schema.Resource
- func DataSourceDatabaseInstance() *schema.Resource
- func DataSourceDatabaseUser() *schema.Resource
- func DatastoreCapabilitiesParamSchema() schema.NestedAttributeObject
- func NewDatastoreCapabilitiesDataSource() datasource.DataSource
- func NewDatastoreDataSource() datasource.DataSource
- func NewDatastoreParametersDataSource() datasource.DataSource
- func NewDatastoresDataSource() datasource.DataSource
- func ResourceDatabaseBackup() *schema.Resource
- func ResourceDatabaseCluster() *schema.Resource
- func ResourceDatabaseClusterWithShards() *schema.Resource
- func ResourceDatabaseConfigGroup() *schema.Resource
- func ResourceDatabaseDatabase() *schema.Resource
- func ResourceDatabaseInstance() *schema.Resource
- func ResourceDatabaseUser() *schema.Resource
- type DatastoreCapabilitiesDataSource
- func (d *DatastoreCapabilitiesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DatastoreCapabilitiesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DatastoreCapabilitiesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DatastoreCapabilitiesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DatastoreCapabilitiesDataSourceModel
- type DatastoreCapabilityItemModel
- type DatastoreCapabilityParamsModel
- type DatastoreDataSource
- func (d *DatastoreDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DatastoreDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DatastoreDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DatastoreDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DatastoreDataSourceModel
- type DatastoreModel
- type DatastoreParameterModel
- type DatastoreParametersDataSource
- func (d *DatastoreParametersDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DatastoreParametersDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DatastoreParametersDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DatastoreParametersDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DatastoreParametersDataSourceModel
- type DatastoreVersionModel
- type DatastoresDataSource
- func (d *DatastoresDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DatastoresDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DatastoresDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DatastoresDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DatastoresDataSourceModel
Constants ¶
View Source
const ( Redis = "redis" MongoDB = "mongodb" PostgresPro = "postgrespro" Galera = "galera_mysql" Postgres = "postgresql" Clickhouse = "clickhouse" MySQL = "mysql" Tarantool = "tarantool" )
Datastore names
View Source
const (
DBClusterInstanceRoleLeader string = "leader"
)
Variables ¶
This section is empty.
Functions ¶
func DataSourceDatabaseUser ¶
func DatastoreCapabilitiesParamSchema ¶ added in v0.3.0
func DatastoreCapabilitiesParamSchema() schema.NestedAttributeObject
func NewDatastoreCapabilitiesDataSource ¶ added in v0.3.0
func NewDatastoreCapabilitiesDataSource() datasource.DataSource
func NewDatastoreDataSource ¶ added in v0.3.0
func NewDatastoreDataSource() datasource.DataSource
func NewDatastoreParametersDataSource ¶ added in v0.3.0
func NewDatastoreParametersDataSource() datasource.DataSource
func NewDatastoresDataSource ¶ added in v0.3.0
func NewDatastoresDataSource() datasource.DataSource
func ResourceDatabaseBackup ¶
func ResourceDatabaseCluster ¶
func ResourceDatabaseUser ¶
Types ¶
type DatastoreCapabilitiesDataSource ¶ added in v0.3.0
type DatastoreCapabilitiesDataSource struct {
// contains filtered or unexported fields
}
func (*DatastoreCapabilitiesDataSource) Configure ¶ added in v0.3.0
func (d *DatastoreCapabilitiesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DatastoreCapabilitiesDataSource) Metadata ¶ added in v0.3.0
func (d *DatastoreCapabilitiesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DatastoreCapabilitiesDataSource) Read ¶ added in v0.3.0
func (d *DatastoreCapabilitiesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DatastoreCapabilitiesDataSource) Schema ¶ added in v0.3.0
func (d *DatastoreCapabilitiesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DatastoreCapabilitiesDataSourceModel ¶ added in v0.3.0
type DatastoreCapabilitiesDataSourceModel struct { ID types.String `tfsdk:"id"` DatastoreName types.String `tfsdk:"datastore_name"` DatastoreVersionID types.String `tfsdk:"datastore_version_id"` Capabilities []DatastoreCapabilityItemModel `tfsdk:"capabilities"` Region types.String `tfsdk:"region"` }
type DatastoreCapabilityItemModel ¶ added in v0.3.0
type DatastoreCapabilityItemModel struct { Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Params []DatastoreCapabilityParamsModel `tfsdk:"params"` ShouldBeOnMaster types.Bool `tfsdk:"should_be_on_master"` AllowMajorUpgrade types.Bool `tfsdk:"allow_major_upgrade"` AllowUpgradeFromBackup types.Bool `tfsdk:"allow_upgrade_from_backup"` }
type DatastoreCapabilityParamsModel ¶ added in v0.3.0
type DatastoreCapabilityParamsModel struct { Name types.String `tfsdk:"name"` Required types.Bool `tfsdk:"required"` Type types.String `tfsdk:"type"` ElementType types.String `tfsdk:"element_type"` EnumValues types.List `tfsdk:"enum_values"` DefaultValue types.String `tfsdk:"default_value"` Min types.Float64 `tfsdk:"min"` Max types.Float64 `tfsdk:"max"` Regex types.String `tfsdk:"regex"` Masked types.Bool `tfsdk:"masked"` }
type DatastoreDataSource ¶ added in v0.3.0
type DatastoreDataSource struct {
// contains filtered or unexported fields
}
func (*DatastoreDataSource) Configure ¶ added in v0.3.0
func (d *DatastoreDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DatastoreDataSource) Metadata ¶ added in v0.3.0
func (d *DatastoreDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DatastoreDataSource) Read ¶ added in v0.3.0
func (d *DatastoreDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DatastoreDataSource) Schema ¶ added in v0.3.0
func (d *DatastoreDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DatastoreDataSourceModel ¶ added in v0.3.0
type DatastoreDataSourceModel struct { Region types.String `tfsdk:"region"` ClusterVolumeTypes types.List `tfsdk:"cluster_volume_types"` ID types.String `tfsdk:"id"` MinimumCPU types.Int64 `tfsdk:"minimum_cpu"` MinimumRAM types.Int64 `tfsdk:"minimum_ram"` Name types.String `tfsdk:"name"` Versions []DatastoreVersionModel `tfsdk:"versions"` VolumeTypes types.List `tfsdk:"volume_types"` }
type DatastoreModel ¶ added in v0.3.0
type DatastoreParameterModel ¶ added in v0.3.0
type DatastoreParametersDataSource ¶ added in v0.3.0
type DatastoreParametersDataSource struct {
// contains filtered or unexported fields
}
func (*DatastoreParametersDataSource) Configure ¶ added in v0.3.0
func (d *DatastoreParametersDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DatastoreParametersDataSource) Metadata ¶ added in v0.3.0
func (d *DatastoreParametersDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DatastoreParametersDataSource) Read ¶ added in v0.3.0
func (d *DatastoreParametersDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DatastoreParametersDataSource) Schema ¶ added in v0.3.0
func (d *DatastoreParametersDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DatastoreParametersDataSourceModel ¶ added in v0.3.0
type DatastoreVersionModel ¶ added in v0.3.0
type DatastoresDataSource ¶ added in v0.3.0
type DatastoresDataSource struct {
// contains filtered or unexported fields
}
func (*DatastoresDataSource) Configure ¶ added in v0.3.0
func (d *DatastoresDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DatastoresDataSource) Metadata ¶ added in v0.3.0
func (d *DatastoresDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DatastoresDataSource) Read ¶ added in v0.3.0
func (d *DatastoresDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DatastoresDataSource) Schema ¶ added in v0.3.0
func (d *DatastoresDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DatastoresDataSourceModel ¶ added in v0.3.0
type DatastoresDataSourceModel struct { ID types.String `tfsdk:"id"` Region types.String `tfsdk:"region"` Datastores []DatastoreModel `tfsdk:"datastores"` }
Source Files ¶
- data_source_vkcs_db_backup.go
- data_source_vkcs_db_config_group.go
- data_source_vkcs_db_database.go
- data_source_vkcs_db_datastore.go
- data_source_vkcs_db_datastore_capabilities.go
- data_source_vkcs_db_datastore_parameters.go
- data_source_vkcs_db_datastores.go
- data_source_vkcs_db_instance.go
- data_source_vkcs_db_user.go
- db_backup.go
- db_cluster.go
- db_config_group.go
- db_database.go
- db_instance.go
- db_shared.go
- db_user.go
- resource_vkcs_db_backup.go
- resource_vkcs_db_cluster.go
- resource_vkcs_db_cluster_with_shards.go
- resource_vkcs_db_config_group.go
- resource_vkcs_db_database.go
- resource_vkcs_db_instance.go
- resource_vkcs_db_user.go
Click to show internal directories.
Click to hide internal directories.