Documentation ¶
Index ¶
- func CheckAvailableMigration(ctx context.Context, plan types.Object, state types.Object) (bool, diag.Diagnostics)
- func EnterpriseSearchSchema() schema.Attribute
- func EnterpriseSearchesPayload(ctx context.Context, esObj types.Object, ...) (*models.EnterpriseSearchPayload, diag.Diagnostics)
- func IsEnterpriseSearchStopped(res *models.EnterpriseSearchResourceInfo) bool
- func SetLatestInstanceConfigInfo(currentTopology *EnterpriseSearch, ...)
- func SetLatestInstanceConfigInfoToCurrent(topology *EnterpriseSearch)
- type EnterpriseSearch
- type EnterpriseSearchConfig
- type EnterpriseSearchTF
- type EnterpriseSearches
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAvailableMigration ¶ added in v0.10.0
func EnterpriseSearchSchema ¶
func EnterpriseSearchesPayload ¶
func EnterpriseSearchesPayload(ctx context.Context, esObj types.Object, updateResources *models.DeploymentUpdateResources) (*models.EnterpriseSearchPayload, diag.Diagnostics)
func IsEnterpriseSearchStopped ¶
func IsEnterpriseSearchStopped(res *models.EnterpriseSearchResourceInfo) bool
IsEnterpriseSearchStopped returns true if the resource is stopped.
func SetLatestInstanceConfigInfo ¶ added in v0.10.0
func SetLatestInstanceConfigInfo(currentTopology *EnterpriseSearch, latestTopology *models.EnterpriseSearchTopologyElement)
func SetLatestInstanceConfigInfoToCurrent ¶ added in v0.10.0
func SetLatestInstanceConfigInfoToCurrent(topology *EnterpriseSearch)
Types ¶
type EnterpriseSearch ¶
type EnterpriseSearch struct { ElasticsearchClusterRefId *string `tfsdk:"elasticsearch_cluster_ref_id"` RefId *string `tfsdk:"ref_id"` ResourceId *string `tfsdk:"resource_id"` Region *string `tfsdk:"region"` HttpEndpoint *string `tfsdk:"http_endpoint"` HttpsEndpoint *string `tfsdk:"https_endpoint"` InstanceConfigurationId *string `tfsdk:"instance_configuration_id"` LatestInstanceConfigurationId *string `tfsdk:"latest_instance_configuration_id"` InstanceConfigurationVersion *int `tfsdk:"instance_configuration_version"` LatestInstanceConfigurationVersion *int `tfsdk:"latest_instance_configuration_version"` Size *string `tfsdk:"size"` SizeResource *string `tfsdk:"size_resource"` ZoneCount int `tfsdk:"zone_count"` NodeTypeAppserver *bool `tfsdk:"node_type_appserver"` NodeTypeConnector *bool `tfsdk:"node_type_connector"` NodeTypeWorker *bool `tfsdk:"node_type_worker"` Config *EnterpriseSearchConfig `tfsdk:"config"` }
func ReadEnterpriseSearch ¶
func ReadEnterpriseSearch(in *models.EnterpriseSearchResourceInfo) (*EnterpriseSearch, error)
func ReadEnterpriseSearches ¶
func ReadEnterpriseSearches(in []*models.EnterpriseSearchResourceInfo) (*EnterpriseSearch, error)
type EnterpriseSearchConfig ¶
type EnterpriseSearchConfig v1.EnterpriseSearchConfig
type EnterpriseSearchTF ¶
type EnterpriseSearchTF struct { ElasticsearchClusterRefId types.String `tfsdk:"elasticsearch_cluster_ref_id"` RefId types.String `tfsdk:"ref_id"` ResourceId types.String `tfsdk:"resource_id"` Region types.String `tfsdk:"region"` HttpEndpoint types.String `tfsdk:"http_endpoint"` HttpsEndpoint types.String `tfsdk:"https_endpoint"` InstanceConfigurationId types.String `tfsdk:"instance_configuration_id"` LatestInstanceConfigurationId types.String `tfsdk:"latest_instance_configuration_id"` InstanceConfigurationVersion types.Int64 `tfsdk:"instance_configuration_version"` LatestInstanceConfigurationVersion types.Int64 `tfsdk:"latest_instance_configuration_version"` Size types.String `tfsdk:"size"` SizeResource types.String `tfsdk:"size_resource"` ZoneCount types.Int64 `tfsdk:"zone_count"` NodeTypeAppserver types.Bool `tfsdk:"node_type_appserver"` NodeTypeConnector types.Bool `tfsdk:"node_type_connector"` NodeTypeWorker types.Bool `tfsdk:"node_type_worker"` Config types.Object `tfsdk:"config"` }
type EnterpriseSearches ¶
type EnterpriseSearches []EnterpriseSearch
Click to show internal directories.
Click to hide internal directories.