Documentation ¶
Index ¶
- Constants
- Variables
- func DataSource() datasource.DataSource
- func NewSearchDeploymentReq(ctx context.Context, searchDeploymentPlan *TFSearchDeploymentRSModel) admin.ApiSearchDeploymentRequest
- func Resource() resource.Resource
- func ResourceSchema(ctx context.Context) schema.Schema
- func WaitSearchNodeDelete(ctx context.Context, projectID, clusterName string, ...) error
- func WaitSearchNodeStateTransition(ctx context.Context, projectID, clusterName string, ...) (*admin.ApiSearchDeploymentResponse, error)
- type TFSearchDeploymentDSModel
- type TFSearchDeploymentRSModel
- type TFSearchNodeSpecModel
Constants ¶
View Source
const SearchDeploymentDoesNotExistsError = "ATLAS_SEARCH_DEPLOYMENT_DOES_NOT_EXIST"
Variables ¶
View Source
var SpecObjectType = types.ObjectType{AttrTypes: map[string]attr.Type{ "instance_size": types.StringType, "node_count": types.Int64Type, }}
Functions ¶
func DataSource ¶
func DataSource() datasource.DataSource
func NewSearchDeploymentReq ¶
func NewSearchDeploymentReq(ctx context.Context, searchDeploymentPlan *TFSearchDeploymentRSModel) admin.ApiSearchDeploymentRequest
func WaitSearchNodeDelete ¶
func WaitSearchNodeDelete(ctx context.Context, projectID, clusterName string, client admin.AtlasSearchApi, timeConfig retrystrategy.TimeConfig) error
func WaitSearchNodeStateTransition ¶
func WaitSearchNodeStateTransition(ctx context.Context, projectID, clusterName string, client admin.AtlasSearchApi, timeConfig retrystrategy.TimeConfig) (*admin.ApiSearchDeploymentResponse, error)
Types ¶
type TFSearchDeploymentDSModel ¶ added in v1.15.0
type TFSearchDeploymentRSModel ¶
type TFSearchDeploymentRSModel struct { ID types.String `tfsdk:"id"` ClusterName types.String `tfsdk:"cluster_name"` ProjectID types.String `tfsdk:"project_id"` Specs types.List `tfsdk:"specs"` StateName types.String `tfsdk:"state_name"` Timeouts timeouts.Value `tfsdk:"timeouts"` }
func NewTFSearchDeployment ¶
func NewTFSearchDeployment(ctx context.Context, clusterName string, deployResp *admin.ApiSearchDeploymentResponse, timeout *timeouts.Value, allowMultipleSpecs bool) (*TFSearchDeploymentRSModel, diag.Diagnostics)
Click to show internal directories.
Click to hide internal directories.