diff --git a/services/rabbitmq/model_credentials.go b/services/rabbitmq/model_credentials.go index ea885fdcf..da4eb89f5 100644 --- a/services/rabbitmq/model_credentials.go +++ b/services/rabbitmq/model_credentials.go @@ -28,11 +28,12 @@ type Credentials struct { Management *string `json:"management,omitempty"` Mqtt *string `json:"mqtt,omitempty"` // REQUIRED - Password *string `json:"password"` - Port *int64 `json:"port,omitempty"` - Stomp *string `json:"stomp,omitempty"` - Uri *string `json:"uri,omitempty"` - Uris *[]string `json:"uris,omitempty"` + Password *string `json:"password"` + // Can be cast to int32 without loss of precision. + Port *int64 `json:"port,omitempty"` + Stomp *string `json:"stomp,omitempty"` + Uri *string `json:"uri,omitempty"` + Uris *[]string `json:"uris,omitempty"` // REQUIRED Username *string `json:"username"` } diff --git a/services/rabbitmq/model_instance_parameters.go b/services/rabbitmq/model_instance_parameters.go index c1fc1cff2..f7ac1beba 100644 --- a/services/rabbitmq/model_instance_parameters.go +++ b/services/rabbitmq/model_instance_parameters.go @@ -20,13 +20,16 @@ var _ MappedNullable = &InstanceParameters{} // InstanceParameters struct for InstanceParameters type InstanceParameters struct { // The unit is milliseconds. + // Can be cast to int32 without loss of precision. ConsumerTimeout *int64 `json:"consumer_timeout,omitempty"` EnableMonitoring *bool `json:"enable_monitoring,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"` // 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"`