Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) Forcible *bool `json:"forcible,omitempty"` // Activate this feature also in OneAgents only fulfilling the minimum Opt-In version Instrumentation *bool `json:"instrumentation,omitempty"` // Instrumentation enabled (change needs a process restart) Key string `json:"key"` // Feature Scope *string `json:"-" scope:"scope"` // The scope of this setting (PROCESS_GROUP_INSTANCE, PROCESS_GROUP). Omit this property if you want to cover the whole environment. // OneAgent Features cannot get deleted if their scope is the environment // Settings with this exact Property are being treated special by the provider // Upon Create the current state of the setting is getting stored within the state file // Upon Delete instead of deleting the setting, that stored state is getting reconstructed // Also the method `Match` needs to be present in order for that functionality to kick in RestoreOnDelete *string `json:"-"` // For Terraform internal use. Do not populate. }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.