From ec4ce1d716f37d55aa33b7195b61467113e24450 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Mon, 24 Feb 2025 16:46:38 +0000 Subject: [PATCH] Generate logme --- services/logme/model_credentials.go | 3 ++- services/logme/model_instance_parameters.go | 16 ++++++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/services/logme/model_credentials.go b/services/logme/model_credentials.go index 0361dd5bb..0929d36c9 100644 --- a/services/logme/model_credentials.go +++ b/services/logme/model_credentials.go @@ -22,7 +22,8 @@ type Credentials struct { // REQUIRED Host *string `json:"host"` // REQUIRED - Password *string `json:"password"` + Password *string `json:"password"` + // Can be cast to int32 without loss of precision. Port *int64 `json:"port,omitempty"` SyslogDrainUrl *string `json:"syslog_drain_url,omitempty"` Uri *string `json:"uri,omitempty"` diff --git a/services/logme/model_instance_parameters.go b/services/logme/model_instance_parameters.go index ca89650b9..c89b1b6f2 100644 --- a/services/logme/model_instance_parameters.go +++ b/services/logme/model_instance_parameters.go @@ -19,28 +19,36 @@ var _ MappedNullable = &InstanceParameters{} // InstanceParameters struct for InstanceParameters type InstanceParameters struct { - EnableMonitoring *bool `json:"enable_monitoring,omitempty"` - FluentdTcp *int64 `json:"fluentd-tcp,omitempty"` + EnableMonitoring *bool `json:"enable_monitoring,omitempty"` + // Can be cast to int32 without loss of precision. + FluentdTcp *int64 `json:"fluentd-tcp,omitempty"` + // Can be cast to int32 without loss of precision. FluentdTls *int64 `json:"fluentd-tls,omitempty"` FluentdTlsCiphers *string `json:"fluentd-tls-ciphers,omitempty"` FluentdTlsMaxVersion *string `json:"fluentd-tls-max-version,omitempty"` FluentdTlsMinVersion *string `json:"fluentd-tls-min-version,omitempty"` FluentdTlsVersion *string `json:"fluentd-tls-version,omitempty"` - FluentdUdp *int64 `json:"fluentd-udp,omitempty"` + // Can be cast to int32 without loss of precision. + FluentdUdp *int64 `json:"fluentd-udp,omitempty"` // If you want to monitor your service with Graphite, you can set the custom parameter graphite. It expects the host and port where the Graphite metrics should be sent to. Graphite *string `json:"graphite,omitempty"` Groks *[]InstanceParametersGroksInner `json:"groks,omitempty"` // Combination of an integer and a timerange when an index will be considered 'd' and can be deleted from OpenSearch. Possible values for the timerange are s, m, h and d. IsmDeletionAfter *string `json:"ism_deletion_after,omitempty"` IsmJitter *float64 `json:"ism_jitter,omitempty"` - IsmJobInterval *int64 `json:"ism_job_interval,omitempty"` + // Can be cast to int32 without loss of precision. + IsmJobInterval *int64 `json:"ism_job_interval,omitempty"` // Default: not set, 46% of available memory will be used. The amount of memory (in MB) allocated as heap by the JVM for OpenSearch. + // Can be cast to int32 without loss of precision. JavaHeapspace *int64 `json:"java_heapspace,omitempty"` // The amount of memory (in MB) used by the JVM to store metadata for OpenSearch. + // Can be cast to int32 without loss of precision. JavaMaxmetaspace *int64 `json:"java_maxmetaspace,omitempty"` // This component monitors ephemeral and persistent disk usage. If one of these disk usages reaches the default configured threshold of 80%, the a9s Parachute stops all processes on that node. + // Can be cast to int32 without loss of precision. MaxDiskThreshold *int64 `json:"max_disk_threshold,omitempty"` // Frequency of metrics being emitted in seconds + // Can be cast to int32 without loss of precision. MetricsFrequency *int64 `json:"metrics_frequency,omitempty"` // Depending on your graphite provider, you might need to prefix the metrics with a certain value, like an API key for example. MetricsPrefix *string `json:"metrics_prefix,omitempty"`