Documentation ¶
Overview ¶
Manage license in elasticsearch API documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/update-license.html Supported version:
- v6
- v7
Manage the role in elasticsearch API documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html Supported version:
- v6
- v7
Manage the role mapping in Elasticsearch API documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html Supported version:
- v6
- v7
Manage the user in elasticsearch API documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html Supported version:
- v6
- v7
Manage snapshot lifecycle policy in elasticsearch API documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-put.html Supported version:
- v7
Manage snapshot repository in elasticsearch API documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html Supported version:
- v6
- v7
Manage the watcher in elasticsearch API documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html Supported version:
- v6
- v7
Index ¶
- func Provider() terraform.ResourceProvider
- type License
- type LicenseSpec
- type Role
- type RoleApplicationPrivileges
- type RoleIndicesPermissions
- type RoleMapping
- type RoleMappingSpec
- type RoleSpec
- type SnapshotLifecyclePolicy
- type SnapshotLifecyclePolicyGet
- type SnapshotLifecyclePolicySpec
- type SnapshotRepository
- type SnapshotRepositorySpec
- type User
- type UserSpec
- type Watcher
- type WatcherSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Provider ¶
func Provider() terraform.ResourceProvider
Types ¶
type LicenseSpec ¶ added in v1.0.4
type LicenseSpec struct { UID string `json:"uid"` Type string `json:"type"` IssueDateInMillis float64 `json:"issue_date_in_millis"` ExpiryDateInMillis float64 `json:"expiry_date_in_millis"` MaxNodes float64 `json:"max_nodes"` IssuedTo string `json:"issued_to"` Issuer string `json:"issuer"` Signature string `json:"signature,omitempty"` StartDateInMillis float64 `json:"start_date_in_millis"` }
func (*LicenseSpec) String ¶ added in v1.0.4
func (r *LicenseSpec) String() string
Print License object as Json string
type RoleIndicesPermissions ¶
type RoleMappingSpec ¶
type RoleMappingSpec struct { Roles []string `json:"roles"` Enabled bool `json:"enabled"` Rules interface{} `json:"rules,omitempty"` Metadata interface{} `json:"metadata,omitempty"` }
func (*RoleMappingSpec) String ¶
func (r *RoleMappingSpec) String() string
Print role mapping as Json string
type RoleSpec ¶
type RoleSpec struct { Cluster []string `json:"cluster"` Applications []RoleApplicationPrivileges `json:"applications,omitempty"` Indices []RoleIndicesPermissions `json:"indices,omitempty"` RunAs []string `json:"run_as,omitempty"` Global interface{} `json:"global,omitempty"` Metadata interface{} `json:"metadata,omitempty"` }
type SnapshotLifecyclePolicy ¶
type SnapshotLifecyclePolicy map[string]*SnapshotLifecyclePolicyGet
Snapshot repository object
type SnapshotLifecyclePolicyGet ¶
type SnapshotLifecyclePolicyGet struct {
Policy *SnapshotLifecyclePolicySpec `json:"policy"`
}
type SnapshotLifecyclePolicySpec ¶
type SnapshotLifecyclePolicySpec struct { Schedule string `json:"schedule"` Name string `json:"name"` Repository string `json:"repository"` Configs interface{} `json:"config,omitempty"` }
func (*SnapshotLifecyclePolicySpec) String ¶
func (r *SnapshotLifecyclePolicySpec) String() string
Print snapshot lifecycle policy object as Json string
type SnapshotRepository ¶
type SnapshotRepository map[string]*SnapshotRepositorySpec
Snapshot repository object
type SnapshotRepositorySpec ¶
type SnapshotRepositorySpec struct { Type string `json:"type"` Settings map[string]string `json:"settings"` }
func (*SnapshotRepositorySpec) String ¶
func (r *SnapshotRepositorySpec) String() string
Print snapshot repository object as Json string
type UserSpec ¶
type WatcherSpec ¶
type WatcherSpec struct { Trigger interface{} `json:"trigger,omitempty"` Input interface{} `json:"input,omitempty"` Condition interface{} `json:"condition,omitempty"` Actions interface{} `json:"actions,omitempty"` Metadata interface{} `json:"metadata,omitempty"` ThrottlePeriod string `json:"throttle_period,omitempty"` }
func (*WatcherSpec) String ¶
func (r *WatcherSpec) String() string
Print Watcher object as Json string
Source Files ¶
- diff_suppress_funcs.go
- provider.go
- resource_elasticsearch_index_lifecycle_policy.go
- resource_elasticsearch_index_template.go
- resource_elasticsearch_license.go
- resource_elasticsearch_security_role.go
- resource_elasticsearch_security_role_mapping.go
- resource_elasticsearch_security_user.go
- resource_elasticsearch_snapshot_lifecycle_policy.go
- resource_elasticsearch_snapshot_repository.go
- resource_elasticsearch_watcher.go
- util.go