From 1360e45eb94d1893a39b7c941c5c03f9c3c3c4a7 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Mon, 24 Feb 2025 16:46:45 +0000 Subject: [PATCH] Generate mariadb --- services/mariadb/model_credentials.go | 5 +++-- services/mariadb/model_instance_parameters.go | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/services/mariadb/model_credentials.go b/services/mariadb/model_credentials.go index 43e0c10b8..408348375 100644 --- a/services/mariadb/model_credentials.go +++ b/services/mariadb/model_credentials.go @@ -25,8 +25,9 @@ type Credentials struct { Name *string `json:"name,omitempty"` // REQUIRED Password *string `json:"password"` - Port *int64 `json:"port,omitempty"` - Uri *string `json:"uri,omitempty"` + // Can be cast to int32 without loss of precision. + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` // REQUIRED Username *string `json:"username"` } diff --git a/services/mariadb/model_instance_parameters.go b/services/mariadb/model_instance_parameters.go index 2e9edbd27..0a00daeba 100644 --- a/services/mariadb/model_instance_parameters.go +++ b/services/mariadb/model_instance_parameters.go @@ -23,8 +23,10 @@ type InstanceParameters struct { // 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"` // 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"`