 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func DataSource() datasource.DataSource
- func DataSourceSchema(ctx context.Context) schema.Schema
- func ListFlexSnapshots(ctx context.Context, projectID, name string, client admin.FlexSnapshotsApi) (*[]admin.FlexBackupSnapshot20241113, error)
- func PluralDataSource() datasource.DataSource
- type TFFlexSnapshotsDSModel
- type TFModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSource ¶
func DataSource() datasource.DataSource
func ListFlexSnapshots ¶
func ListFlexSnapshots(ctx context.Context, projectID, name string, client admin.FlexSnapshotsApi) (*[]admin.FlexBackupSnapshot20241113, error)
func PluralDataSource ¶
func PluralDataSource() datasource.DataSource
Types ¶
type TFFlexSnapshotsDSModel ¶
type TFFlexSnapshotsDSModel struct {
	ProjectId types.String `tfsdk:"project_id"`
	Name      types.String `tfsdk:"name"`
	Results   []TFModel    `tfsdk:"results"`
}
    func NewTFModelPluralDS ¶
func NewTFModelPluralDS(projectID, name string, apiResp *[]admin.FlexBackupSnapshot20241113) *TFFlexSnapshotsDSModel
type TFModel ¶
type TFModel struct {
	Expiration     types.String `tfsdk:"expiration"`
	FinishTime     types.String `tfsdk:"finish_time"`
	ProjectId      types.String `tfsdk:"project_id"`
	MongoDBVersion types.String `tfsdk:"mongo_db_version"`
	Name           types.String `tfsdk:"name"`
	ScheduledTime  types.String `tfsdk:"scheduled_time"`
	SnapshotId     types.String `tfsdk:"snapshot_id"`
	StartTime      types.String `tfsdk:"start_time"`
	Status         types.String `tfsdk:"status"`
}
    func NewTFModel ¶
func NewTFModel(projectID, name string, apiResp *admin.FlexBackupSnapshot20241113) *TFModel
 Click to show internal directories. 
   Click to hide internal directories.