logmeinstance

package
v0.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

README

stackit_logme_instance

Refer to the Terraform Registry for docs: stackit_logme_instance.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogmeInstance_GenerateConfigForImport

func LogmeInstance_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource

Generates CDKTF code for importing a LogmeInstance resource upon running "cdktf plan <stack-name>".

func LogmeInstance_IsConstruct

func LogmeInstance_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func LogmeInstance_IsTerraformElement

func LogmeInstance_IsTerraformElement(x interface{}) *bool

Experimental.

func LogmeInstance_IsTerraformResource

func LogmeInstance_IsTerraformResource(x interface{}) *bool

Experimental.

func LogmeInstance_TfResourceType

func LogmeInstance_TfResourceType() *string

func NewLogmeInstanceParametersOutputReference_Override

func NewLogmeInstanceParametersOutputReference_Override(l LogmeInstanceParametersOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)

func NewLogmeInstance_Override

func NewLogmeInstance_Override(l LogmeInstance, scope constructs.Construct, id *string, config *LogmeInstanceConfig)

Create a new {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance stackit_logme_instance} Resource.

Types

type LogmeInstance

type LogmeInstance interface {
	cdktf.TerraformResource
	// Experimental.
	CdktfStack() cdktf.TerraformStack
	CfGuid() *string
	CfOrganizationGuid() *string
	CfSpaceGuid() *string
	// Experimental.
	Connection() interface{}
	// Experimental.
	SetConnection(val interface{})
	// Experimental.
	ConstructNodeMetadata() *map[string]interface{}
	// Experimental.
	Count() interface{}
	// Experimental.
	SetCount(val interface{})
	DashboardUrl() *string
	// Experimental.
	DependsOn() *[]*string
	// Experimental.
	SetDependsOn(val *[]*string)
	// Experimental.
	ForEach() cdktf.ITerraformIterator
	// Experimental.
	SetForEach(val cdktf.ITerraformIterator)
	// Experimental.
	Fqn() *string
	// Experimental.
	FriendlyUniqueId() *string
	Id() *string
	ImageUrl() *string
	InstanceId() *string
	// Experimental.
	Lifecycle() *cdktf.TerraformResourceLifecycle
	// Experimental.
	SetLifecycle(val *cdktf.TerraformResourceLifecycle)
	Name() *string
	SetName(val *string)
	NameInput() *string
	// The tree node.
	Node() constructs.Node
	Parameters() LogmeInstanceParametersOutputReference
	ParametersInput() interface{}
	PlanId() *string
	PlanName() *string
	SetPlanName(val *string)
	PlanNameInput() *string
	ProjectId() *string
	SetProjectId(val *string)
	ProjectIdInput() *string
	// Experimental.
	Provider() cdktf.TerraformProvider
	// Experimental.
	SetProvider(val cdktf.TerraformProvider)
	// Experimental.
	Provisioners() *[]interface{}
	// Experimental.
	SetProvisioners(val *[]interface{})
	// Experimental.
	RawOverrides() interface{}
	// Experimental.
	TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
	// Experimental.
	TerraformMetaArguments() *map[string]interface{}
	// Experimental.
	TerraformResourceType() *string
	Version() *string
	SetVersion(val *string)
	VersionInput() *string
	// Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
	// Experimental.
	AddMoveTarget(moveTarget *string)
	// Experimental.
	AddOverride(path *string, value interface{})
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	HasResourceMove() interface{}
	// Experimental.
	ImportFrom(id *string, provider cdktf.TerraformProvider)
	// Experimental.
	InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
	// Move the resource corresponding to "id" to this resource.
	//
	// Note that the resource being moved from must be marked as moved using it's instance function.
	// Experimental.
	MoveFromId(id *string)
	// Moves this resource to the target resource given by moveTarget.
	// Experimental.
	MoveTo(moveTarget *string, index interface{})
	// Moves this resource to the resource corresponding to "id".
	// Experimental.
	MoveToId(id *string)
	// Overrides the auto-generated logical ID with a specific ID.
	// Experimental.
	OverrideLogicalId(newLogicalId *string)
	PutParameters(value *LogmeInstanceParameters)
	// Resets a previously passed logical Id to use the auto-generated logical id again.
	// Experimental.
	ResetOverrideLogicalId()
	ResetParameters()
	SynthesizeAttributes() *map[string]interface{}
	SynthesizeHclAttributes() *map[string]interface{}
	// Experimental.
	ToHclTerraform() interface{}
	// Experimental.
	ToMetadata() interface{}
	// Returns a string representation of this construct.
	ToString() *string
	// Adds this resource to the terraform JSON output.
	// Experimental.
	ToTerraform() interface{}
}

Represents a {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance stackit_logme_instance}.

type LogmeInstanceConfig

type LogmeInstanceConfig struct {
	// Experimental.
	Connection interface{} `field:"optional" json:"connection" yaml:"connection"`
	// Experimental.
	Count interface{} `field:"optional" json:"count" yaml:"count"`
	// Experimental.
	DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
	// Experimental.
	ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"`
	// Experimental.
	Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"`
	// Experimental.
	Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"`
	// Experimental.
	Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"`
	// Instance name.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#name LogmeInstance#name}
	Name *string `field:"required" json:"name" yaml:"name"`
	// The selected plan name.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#plan_name LogmeInstance#plan_name}
	PlanName *string `field:"required" json:"planName" yaml:"planName"`
	// STACKIT project ID to which the instance is associated.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#project_id LogmeInstance#project_id}
	ProjectId *string `field:"required" json:"projectId" yaml:"projectId"`
	// The service version.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#version LogmeInstance#version}
	Version *string `field:"required" json:"version" yaml:"version"`
	// Configuration parameters.
	//
	// Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#parameters LogmeInstance#parameters}
	Parameters *LogmeInstanceParameters `field:"optional" json:"parameters" yaml:"parameters"`
}

type LogmeInstanceParameters

type LogmeInstanceParameters struct {
	// Enable monitoring.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#enable_monitoring LogmeInstance#enable_monitoring}
	EnableMonitoring interface{} `field:"optional" json:"enableMonitoring" yaml:"enableMonitoring"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#fluentd_tcp LogmeInstance#fluentd_tcp}.
	FluentdTcp *float64 `field:"optional" json:"fluentdTcp" yaml:"fluentdTcp"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#fluentd_tls LogmeInstance#fluentd_tls}.
	FluentdTls *float64 `field:"optional" json:"fluentdTls" yaml:"fluentdTls"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#fluentd_tls_ciphers LogmeInstance#fluentd_tls_ciphers}.
	FluentdTlsCiphers *string `field:"optional" json:"fluentdTlsCiphers" yaml:"fluentdTlsCiphers"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#fluentd_tls_max_version LogmeInstance#fluentd_tls_max_version}.
	FluentdTlsMaxVersion *string `field:"optional" json:"fluentdTlsMaxVersion" yaml:"fluentdTlsMaxVersion"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#fluentd_tls_min_version LogmeInstance#fluentd_tls_min_version}.
	FluentdTlsMinVersion *string `field:"optional" json:"fluentdTlsMinVersion" yaml:"fluentdTlsMinVersion"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#fluentd_tls_version LogmeInstance#fluentd_tls_version}.
	FluentdTlsVersion *string `field:"optional" json:"fluentdTlsVersion" yaml:"fluentdTlsVersion"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#fluentd_udp LogmeInstance#fluentd_udp}.
	FluentdUdp *float64 `field:"optional" json:"fluentdUdp" yaml:"fluentdUdp"`
	// If set, monitoring with Graphite will be enabled.
	//
	// Expects the host and port where the Graphite metrics should be sent to (host:port).
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#graphite LogmeInstance#graphite}
	Graphite *string `field:"optional" json:"graphite" yaml:"graphite"`
	// Combination of an integer and a timerange when an index will be considered "old" and can be deleted.
	//
	// Possible values for the timerange are `s`, `m`, `h` and `d`.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#ism_deletion_after LogmeInstance#ism_deletion_after}
	IsmDeletionAfter *string `field:"optional" json:"ismDeletionAfter" yaml:"ismDeletionAfter"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#ism_jitter LogmeInstance#ism_jitter}.
	IsmJitter *float64 `field:"optional" json:"ismJitter" yaml:"ismJitter"`
	// Jitter of the execution time.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#ism_job_interval LogmeInstance#ism_job_interval}
	IsmJobInterval *float64 `field:"optional" json:"ismJobInterval" yaml:"ismJobInterval"`
	// The amount of memory (in MB) allocated as heap by the JVM for OpenSearch.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#java_heapspace LogmeInstance#java_heapspace}
	JavaHeapspace *float64 `field:"optional" json:"javaHeapspace" yaml:"javaHeapspace"`
	// The amount of memory (in MB) used by the JVM to store metadata for OpenSearch.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#java_maxmetaspace LogmeInstance#java_maxmetaspace}
	JavaMaxmetaspace *float64 `field:"optional" json:"javaMaxmetaspace" yaml:"javaMaxmetaspace"`
	// The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#max_disk_threshold LogmeInstance#max_disk_threshold}
	MaxDiskThreshold *float64 `field:"optional" json:"maxDiskThreshold" yaml:"maxDiskThreshold"`
	// The frequency in seconds at which metrics are emitted (in seconds).
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#metrics_frequency LogmeInstance#metrics_frequency}
	MetricsFrequency *float64 `field:"optional" json:"metricsFrequency" yaml:"metricsFrequency"`
	// The prefix for the metrics.
	//
	// Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#metrics_prefix LogmeInstance#metrics_prefix}
	MetricsPrefix *string `field:"optional" json:"metricsPrefix" yaml:"metricsPrefix"`
	// The ID of the STACKIT monitoring instance.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#monitoring_instance_id LogmeInstance#monitoring_instance_id}
	MonitoringInstanceId *string `field:"optional" json:"monitoringInstanceId" yaml:"monitoringInstanceId"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#opensearch_tls_ciphers LogmeInstance#opensearch_tls_ciphers}.
	OpensearchTlsCiphers *[]*string `field:"optional" json:"opensearchTlsCiphers" yaml:"opensearchTlsCiphers"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#opensearch_tls_protocols LogmeInstance#opensearch_tls_protocols}.
	OpensearchTlsProtocols *[]*string `field:"optional" json:"opensearchTlsProtocols" yaml:"opensearchTlsProtocols"`
	// Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#sgw_acl LogmeInstance#sgw_acl}
	SgwAcl *string `field:"optional" json:"sgwAcl" yaml:"sgwAcl"`
	// List of syslog servers to send logs to.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#syslog LogmeInstance#syslog}
	Syslog *[]*string `field:"optional" json:"syslog" yaml:"syslog"`
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.30.0/docs/resources/logme_instance#syslog_use_udp LogmeInstance#syslog_use_udp}.
	SyslogUseUdp *string `field:"optional" json:"syslogUseUdp" yaml:"syslogUseUdp"`
}

type LogmeInstanceParametersOutputReference

type LogmeInstanceParametersOutputReference interface {
	cdktf.ComplexObject
	// the index of the complex object in a list.
	// Experimental.
	ComplexObjectIndex() interface{}
	// Experimental.
	SetComplexObjectIndex(val interface{})
	// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
	// Experimental.
	ComplexObjectIsFromSet() *bool
	// Experimental.
	SetComplexObjectIsFromSet(val *bool)
	// The creation stack of this resolvable which will be appended to errors thrown during resolution.
	//
	// If this returns an empty array the stack will not be attached.
	// Experimental.
	CreationStack() *[]*string
	EnableMonitoring() interface{}
	SetEnableMonitoring(val interface{})
	EnableMonitoringInput() interface{}
	FluentdTcp() *float64
	SetFluentdTcp(val *float64)
	FluentdTcpInput() *float64
	FluentdTls() *float64
	SetFluentdTls(val *float64)
	FluentdTlsCiphers() *string
	SetFluentdTlsCiphers(val *string)
	FluentdTlsCiphersInput() *string
	FluentdTlsInput() *float64
	FluentdTlsMaxVersion() *string
	SetFluentdTlsMaxVersion(val *string)
	FluentdTlsMaxVersionInput() *string
	FluentdTlsMinVersion() *string
	SetFluentdTlsMinVersion(val *string)
	FluentdTlsMinVersionInput() *string
	FluentdTlsVersion() *string
	SetFluentdTlsVersion(val *string)
	FluentdTlsVersionInput() *string
	FluentdUdp() *float64
	SetFluentdUdp(val *float64)
	FluentdUdpInput() *float64
	// Experimental.
	Fqn() *string
	Graphite() *string
	SetGraphite(val *string)
	GraphiteInput() *string
	InternalValue() interface{}
	SetInternalValue(val interface{})
	IsmDeletionAfter() *string
	SetIsmDeletionAfter(val *string)
	IsmDeletionAfterInput() *string
	IsmJitter() *float64
	SetIsmJitter(val *float64)
	IsmJitterInput() *float64
	IsmJobInterval() *float64
	SetIsmJobInterval(val *float64)
	IsmJobIntervalInput() *float64
	JavaHeapspace() *float64
	SetJavaHeapspace(val *float64)
	JavaHeapspaceInput() *float64
	JavaMaxmetaspace() *float64
	SetJavaMaxmetaspace(val *float64)
	JavaMaxmetaspaceInput() *float64
	MaxDiskThreshold() *float64
	SetMaxDiskThreshold(val *float64)
	MaxDiskThresholdInput() *float64
	MetricsFrequency() *float64
	SetMetricsFrequency(val *float64)
	MetricsFrequencyInput() *float64
	MetricsPrefix() *string
	SetMetricsPrefix(val *string)
	MetricsPrefixInput() *string
	MonitoringInstanceId() *string
	SetMonitoringInstanceId(val *string)
	MonitoringInstanceIdInput() *string
	OpensearchTlsCiphers() *[]*string
	SetOpensearchTlsCiphers(val *[]*string)
	OpensearchTlsCiphersInput() *[]*string
	OpensearchTlsProtocols() *[]*string
	SetOpensearchTlsProtocols(val *[]*string)
	OpensearchTlsProtocolsInput() *[]*string
	SgwAcl() *string
	SetSgwAcl(val *string)
	SgwAclInput() *string
	Syslog() *[]*string
	SetSyslog(val *[]*string)
	SyslogInput() *[]*string
	SyslogUseUdp() *string
	SetSyslogUseUdp(val *string)
	SyslogUseUdpInput() *string
	// Experimental.
	TerraformAttribute() *string
	// Experimental.
	SetTerraformAttribute(val *string)
	// Experimental.
	TerraformResource() cdktf.IInterpolatingParent
	// Experimental.
	SetTerraformResource(val cdktf.IInterpolatingParent)
	// Experimental.
	ComputeFqn() *string
	// Experimental.
	GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
	// Experimental.
	GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
	// Experimental.
	GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
	// Experimental.
	GetListAttribute(terraformAttribute *string) *[]*string
	// Experimental.
	GetNumberAttribute(terraformAttribute *string) *float64
	// Experimental.
	GetNumberListAttribute(terraformAttribute *string) *[]*float64
	// Experimental.
	GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
	// Experimental.
	GetStringAttribute(terraformAttribute *string) *string
	// Experimental.
	GetStringMapAttribute(terraformAttribute *string) *map[string]*string
	// Experimental.
	InterpolationAsList() cdktf.IResolvable
	// Experimental.
	InterpolationForAttribute(property *string) cdktf.IResolvable
	ResetEnableMonitoring()
	ResetFluentdTcp()
	ResetFluentdTls()
	ResetFluentdTlsCiphers()
	ResetFluentdTlsMaxVersion()
	ResetFluentdTlsMinVersion()
	ResetFluentdTlsVersion()
	ResetFluentdUdp()
	ResetGraphite()
	ResetIsmDeletionAfter()
	ResetIsmJitter()
	ResetIsmJobInterval()
	ResetJavaHeapspace()
	ResetJavaMaxmetaspace()
	ResetMaxDiskThreshold()
	ResetMetricsFrequency()
	ResetMetricsPrefix()
	ResetMonitoringInstanceId()
	ResetOpensearchTlsCiphers()
	ResetOpensearchTlsProtocols()
	ResetSgwAcl()
	ResetSyslog()
	ResetSyslogUseUdp()
	// Produce the Token's value at resolution time.
	// Experimental.
	Resolve(_context cdktf.IResolveContext) interface{}
	// Return a string representation of this resolvable object.
	//
	// Returns a reversible string representation.
	// Experimental.
	ToString() *string
}

func NewLogmeInstanceParametersOutputReference

func NewLogmeInstanceParametersOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) LogmeInstanceParametersOutputReference

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL