diff --git a/CHANGELOG.md b/CHANGELOG.md index 47becdabb..eadb9cf67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,35 @@ ## Release (2024-04-XX) +- `core`: [v0.11.0](core/CHANGELOG.md#v0110-2024-04-09) + - **Feature:** Add method `WithCaptureHTTPRequest` to package `runtime`, which allows capture of HTTP requests for debugging purposes. +- `core`: [v0.12.0](core/CHANGELOG.md#v0120-2024-04-11) + - **Feature:** Add `Middleware` type, `WithMiddleware` and `ChainMiddleware` methods to package `config`, this allows clients to chain and add Middlewares to the transport layer of the HTTP client. - `loadbalancer`: [v0.10.0](services/loadbalancer/CHANGELOG.md#v0100-2024-04-08) - **Deprecation:** Mark methods `EnableService` and `DisableService` as deprecated. Enablement and disablement of the load balancer functionality is now automaticly handled by the service. +- `logme`: [v0.13.0](services/logme/CHANGELOG.md#v0130-2024-04-11) + - **Breaking change**: Fields removed from `RawCredentials`: `RouteServiceUrl`, `SyslogDrainUrl`, `VolumeMounts`. + - **Breaking change**: Fields removed from `Credentials`: `Hosts`, `HttpApiUri`, `Name`, `Protocols` + - **Feature**: `Credentials` has a new field `SyslogDrainUrl` +- `mariadb`: [v0.13.0](services/mariadb/CHANGELOG.md#v0130-2024-04-11) + - **Breaking change**: Fields removed from `RawCredentials`: `RouteServiceUrl`, `SyslogDrainUrl`, `VolumeMounts`. + - **Breaking change**: Fields removed from `Credentials`: `HttpApiUri`, `Protocols` +- `opensearch`: [v0.13.0](services/opensearch/CHANGELOG.md#v0130-2024-04-11) + - **Breaking change**: Fields removed from `RawCredentials`: `RouteServiceUrl`, `SyslogDrainUrl`, `VolumeMounts`. + - **Breaking change**: Fields removed from `Credentials`: `HttpApiUri`, `Name`, `Protocols` + - **Feature**: `Credentials` has a new field `Scheme` +- `postgresflex`: [v0.12.0](services/postgresflex/CHANGELOG.md#v0120-2024-04-03) + - **Improvement**: Update `DeleteInstanceWaitHandler` to support new deletion method. + - **Feature**: New waiter `ForceDeleteInstanceWaitHandler` for async operation `ForceDeleteInstance` +- `rabbitmq`: [v0.13.0](services/rabbitmq/CHANGELOG.md#v0130-2024-04-11) + - **Breaking change**: Fields removed from `RawCredentials`: `RouteServiceUrl`, `SyslogDrainUrl`, `VolumeMounts`. + - **Breaking change**: Fields removed from `Credentials`: `Name`, `Protocols` + - **Feature**: `Credentials` has new fields `HttpApiUris`, `Management`, `Uris` +- `redis`: [v0.13.0](services/redis/CHANGELOG.md#v0130-2024-04-11) + - **Breaking change**: Fields removed from `RawCredentials`: `RouteServiceUrl`, `SyslogDrainUrl`, `VolumeMounts`. + - **Breaking change**: Fields removed from `Credentials`: `HttpApiUri`, `Name`, `Protocols` + - **Feature**: `Credentials` has new fields `LoadBalancedHost` +- `ske`: [v0.11.0](services/ske/CHANGELOG.md#v0110-2024-03-28) + - **Feature**: Waiters for async operation `StartCredentialsRotationWaitHandler` and `CompleteCredentialsRotationWaitHandler` ## Release (2024-03-20) diff --git a/services/loadbalancer/CHANGELOG.md b/services/loadbalancer/CHANGELOG.md index de2f1bedf..ad004e3b8 100644 --- a/services/loadbalancer/CHANGELOG.md +++ b/services/loadbalancer/CHANGELOG.md @@ -5,7 +5,7 @@ ## v0.10.1 (2024-04-09) -- Remove unused model data types.. +- Remove unused model data types. ## v0.10.0 (2024-04-08) diff --git a/services/logme/CHANGELOG.md b/services/logme/CHANGELOG.md index 61a827d51..416b7f0c3 100644 --- a/services/logme/CHANGELOG.md +++ b/services/logme/CHANGELOG.md @@ -1,3 +1,9 @@ +## v0.13.0 (2024-04-11) + +- **Breaking change**: Fields removed from `RawCredentials`: `RouteServiceUrl`, `SyslogDrainUrl`, `VolumeMounts`. +- **Breaking change**: Fields removed from `Credentials`: `Hosts`, `HttpApiUri`, `Name`, `Protocols` +- **Feature**: `Credentials` has a new field `SyslogDrainUrl` + ## v0.12.0 (2024-04-11) - Set config.ContextHTTPRequest in Execute method diff --git a/services/logme/model_credentials.go b/services/logme/model_credentials.go index fbd2605f0..f18a627d3 100644 --- a/services/logme/model_credentials.go +++ b/services/logme/model_credentials.go @@ -12,16 +12,12 @@ package logme type Credentials struct { // REQUIRED - Host *string `json:"host"` - Hosts *[]string `json:"hosts,omitempty"` - // for rabbitmq only - HttpApiUri *string `json:"http_api_uri,omitempty"` - Name *string `json:"name,omitempty"` + Host *string `json:"host"` // REQUIRED - Password *string `json:"password"` - Port *int64 `json:"port,omitempty"` - Protocols *map[string]interface{} `json:"protocols,omitempty"` - Uri *string `json:"uri,omitempty"` + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + SyslogDrainUrl *string `json:"syslog_drain_url,omitempty"` + Uri *string `json:"uri,omitempty"` // REQUIRED Username *string `json:"username"` } diff --git a/services/logme/model_instance_base_parameters.go b/services/logme/model_instance_base_parameters.go deleted file mode 100644 index 13ac830b9..000000000 --- a/services/logme/model_instance_base_parameters.go +++ /dev/null @@ -1,27 +0,0 @@ -/* -STACKIT LogMe API - -The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. - -API version: 1.1.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package logme - -type InstanceBaseParameters struct { - 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. - MaxDiskThreshold *int64 `json:"max_disk_threshold,omitempty"` - // Frequency of metrics being emitted in seconds - 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"` - MonitoringInstanceId *string `json:"monitoring_instance_id,omitempty"` - // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - SgwAcl *string `json:"sgw_acl,omitempty"` - Syslog *[]string `json:"syslog,omitempty"` -} diff --git a/services/logme/model_maria_db_credentials.go b/services/logme/model_maria_db_credentials.go new file mode 100644 index 000000000..bc5a51791 --- /dev/null +++ b/services/logme/model_maria_db_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT LogMe API + +The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package logme + +type MariaDBCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + Name *string `json:"name,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/logme/model_metrics.go b/services/logme/model_metrics.go new file mode 100644 index 000000000..01b91f88d --- /dev/null +++ b/services/logme/model_metrics.go @@ -0,0 +1,16 @@ +/* +STACKIT LogMe API + +The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package logme + +type Metrics struct { + // REQUIRED + Metrics *[]ListMetricsResponse `json:"metrics"` +} diff --git a/services/logme/model_open_search_credentials.go b/services/logme/model_open_search_credentials.go new file mode 100644 index 000000000..b762db090 --- /dev/null +++ b/services/logme/model_open_search_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT LogMe API + +The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package logme + +type OpenSearchCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Scheme *string `json:"scheme,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/logme/model_postgres_ql_credentials.go b/services/logme/model_postgres_ql_credentials.go new file mode 100644 index 000000000..b46cbcb71 --- /dev/null +++ b/services/logme/model_postgres_ql_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT LogMe API + +The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package logme + +type PostgresQLCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + Name *string `json:"name,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/logme/model_rabbit_mq_credentials.go b/services/logme/model_rabbit_mq_credentials.go new file mode 100644 index 000000000..6e638ad1f --- /dev/null +++ b/services/logme/model_rabbit_mq_credentials.go @@ -0,0 +1,28 @@ +/* +STACKIT LogMe API + +The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package logme + +type RabbitMQCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + // for rabbitmq only + HttpApiUri *string `json:"http_api_uri,omitempty"` + HttpApiUris *[]string `json:"http_api_uris,omitempty"` + Management *string `json:"management,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + Uris *[]string `json:"uris,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/logme/model_raw_credentials.go b/services/logme/model_raw_credentials.go index 33d3201b2..23f9dfffa 100644 --- a/services/logme/model_raw_credentials.go +++ b/services/logme/model_raw_credentials.go @@ -13,9 +13,4 @@ package logme type RawCredentials struct { // REQUIRED Credentials *Credentials `json:"credentials"` - // REQUIRED - RouteServiceUrl *string `json:"routeServiceUrl"` - // REQUIRED - SyslogDrainUrl *string `json:"syslogDrainUrl"` - VolumeMounts *[]map[string]interface{} `json:"volumeMounts,omitempty"` } diff --git a/services/logme/model_redis_credentials.go b/services/logme/model_redis_credentials.go new file mode 100644 index 000000000..0220528aa --- /dev/null +++ b/services/logme/model_redis_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT LogMe API + +The STACKIT LogMe API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package logme + +type RedisCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + LoadBalancedHost *string `json:"load_balanced_host,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/mariadb/CHANGELOG.md b/services/mariadb/CHANGELOG.md index d083031a6..26812cb1e 100644 --- a/services/mariadb/CHANGELOG.md +++ b/services/mariadb/CHANGELOG.md @@ -1,3 +1,8 @@ +## v0.13.0 (2024-04-11) + +- **Breaking change**: Fields removed from `RawCredentials`: `RouteServiceUrl`, `SyslogDrainUrl`, `VolumeMounts`. +- **Breaking change**: Fields removed from `Credentials`: `HttpApiUri`, `Protocols` + ## v0.12.0 (2024-04-11) - Set config.ContextHTTPRequest in Execute method diff --git a/services/mariadb/model_credentials.go b/services/mariadb/model_credentials.go index 792bf94a1..2965a89a3 100644 --- a/services/mariadb/model_credentials.go +++ b/services/mariadb/model_credentials.go @@ -14,14 +14,11 @@ type Credentials struct { // REQUIRED Host *string `json:"host"` Hosts *[]string `json:"hosts,omitempty"` - // for rabbitmq only - HttpApiUri *string `json:"http_api_uri,omitempty"` - Name *string `json:"name,omitempty"` + Name *string `json:"name,omitempty"` // REQUIRED - Password *string `json:"password"` - Port *int64 `json:"port,omitempty"` - Protocols *map[string]interface{} `json:"protocols,omitempty"` - Uri *string `json:"uri,omitempty"` + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` // REQUIRED Username *string `json:"username"` } diff --git a/services/mariadb/model_instance_base_parameters.go b/services/mariadb/model_instance_base_parameters.go deleted file mode 100644 index 13236dce0..000000000 --- a/services/mariadb/model_instance_base_parameters.go +++ /dev/null @@ -1,27 +0,0 @@ -/* -STACKIT MariaDB API - -The STACKIT MariaDB API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. - -API version: 1.1.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package mariadb - -type InstanceBaseParameters struct { - 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. - MaxDiskThreshold *int64 `json:"max_disk_threshold,omitempty"` - // Frequency of metrics being emitted in seconds - 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"` - MonitoringInstanceId *string `json:"monitoring_instance_id,omitempty"` - // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - SgwAcl *string `json:"sgw_acl,omitempty"` - Syslog *[]string `json:"syslog,omitempty"` -} diff --git a/services/mariadb/model_log_me_credentials.go b/services/mariadb/model_log_me_credentials.go new file mode 100644 index 000000000..53a67f503 --- /dev/null +++ b/services/mariadb/model_log_me_credentials.go @@ -0,0 +1,23 @@ +/* +STACKIT MariaDB API + +The STACKIT MariaDB API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package mariadb + +type LogMeCredentials struct { + // REQUIRED + Host *string `json:"host"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + SyslogDrainUrl *string `json:"syslog_drain_url,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/mariadb/model_metrics.go b/services/mariadb/model_metrics.go new file mode 100644 index 000000000..3062c14f3 --- /dev/null +++ b/services/mariadb/model_metrics.go @@ -0,0 +1,16 @@ +/* +STACKIT MariaDB API + +The STACKIT MariaDB API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package mariadb + +type Metrics struct { + // REQUIRED + Metrics *[]ListMetricsResponse `json:"metrics"` +} diff --git a/services/mariadb/model_open_search_credentials.go b/services/mariadb/model_open_search_credentials.go new file mode 100644 index 000000000..78ed075f3 --- /dev/null +++ b/services/mariadb/model_open_search_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT MariaDB API + +The STACKIT MariaDB API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package mariadb + +type OpenSearchCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Scheme *string `json:"scheme,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/mariadb/model_postgres_ql_credentials.go b/services/mariadb/model_postgres_ql_credentials.go new file mode 100644 index 000000000..c38a96e29 --- /dev/null +++ b/services/mariadb/model_postgres_ql_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT MariaDB API + +The STACKIT MariaDB API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package mariadb + +type PostgresQLCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + Name *string `json:"name,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/mariadb/model_rabbit_mq_credentials.go b/services/mariadb/model_rabbit_mq_credentials.go new file mode 100644 index 000000000..88f9c9930 --- /dev/null +++ b/services/mariadb/model_rabbit_mq_credentials.go @@ -0,0 +1,28 @@ +/* +STACKIT MariaDB API + +The STACKIT MariaDB API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package mariadb + +type RabbitMQCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + // for rabbitmq only + HttpApiUri *string `json:"http_api_uri,omitempty"` + HttpApiUris *[]string `json:"http_api_uris,omitempty"` + Management *string `json:"management,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + Uris *[]string `json:"uris,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/mariadb/model_raw_credentials.go b/services/mariadb/model_raw_credentials.go index 860401cf8..5c7bc0ae0 100644 --- a/services/mariadb/model_raw_credentials.go +++ b/services/mariadb/model_raw_credentials.go @@ -13,9 +13,4 @@ package mariadb type RawCredentials struct { // REQUIRED Credentials *Credentials `json:"credentials"` - // REQUIRED - RouteServiceUrl *string `json:"routeServiceUrl"` - // REQUIRED - SyslogDrainUrl *string `json:"syslogDrainUrl"` - VolumeMounts *[]map[string]interface{} `json:"volumeMounts,omitempty"` } diff --git a/services/mariadb/model_redis_credentials.go b/services/mariadb/model_redis_credentials.go new file mode 100644 index 000000000..4de6eb6b7 --- /dev/null +++ b/services/mariadb/model_redis_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT MariaDB API + +The STACKIT MariaDB API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package mariadb + +type RedisCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + LoadBalancedHost *string `json:"load_balanced_host,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/objectstorage/CHANGELOG.md b/services/objectstorage/CHANGELOG.md index bc5da90f5..c398b7976 100644 --- a/services/objectstorage/CHANGELOG.md +++ b/services/objectstorage/CHANGELOG.md @@ -6,7 +6,7 @@ ## v0.8.7 (2024-04-09) -- Remove unused model data types.. +- Remove unused model data types. ## v0.8.6 (2024-02-28) diff --git a/services/opensearch/CHANGELOG.md b/services/opensearch/CHANGELOG.md index d5c77a8b6..9e6a9d1a9 100644 --- a/services/opensearch/CHANGELOG.md +++ b/services/opensearch/CHANGELOG.md @@ -1,3 +1,9 @@ +## v0.13.0 (2024-04-11) + +- **Breaking change**: Fields removed from `RawCredentials`: `RouteServiceUrl`, `SyslogDrainUrl`, `VolumeMounts`. +- **Breaking change**: Fields removed from `Credentials`: `HttpApiUri`, `Name`, `Protocols` +- **Feature**: `Credentials` has a new field `Scheme` + ## v0.12.0 (2024-04-11) - Set config.ContextHTTPRequest in Execute method diff --git a/services/opensearch/model_credentials.go b/services/opensearch/model_credentials.go index b464d4b27..7538628ea 100644 --- a/services/opensearch/model_credentials.go +++ b/services/opensearch/model_credentials.go @@ -14,14 +14,11 @@ type Credentials struct { // REQUIRED Host *string `json:"host"` Hosts *[]string `json:"hosts,omitempty"` - // for rabbitmq only - HttpApiUri *string `json:"http_api_uri,omitempty"` - Name *string `json:"name,omitempty"` // REQUIRED - Password *string `json:"password"` - Port *int64 `json:"port,omitempty"` - Protocols *map[string]interface{} `json:"protocols,omitempty"` - Uri *string `json:"uri,omitempty"` + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Scheme *string `json:"scheme,omitempty"` + Uri *string `json:"uri,omitempty"` // REQUIRED Username *string `json:"username"` } diff --git a/services/opensearch/model_instance_base_parameters.go b/services/opensearch/model_instance_base_parameters.go deleted file mode 100644 index 00bc22552..000000000 --- a/services/opensearch/model_instance_base_parameters.go +++ /dev/null @@ -1,27 +0,0 @@ -/* -STACKIT Opensearch API - -The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. - -API version: 1.1.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package opensearch - -type InstanceBaseParameters struct { - 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. - MaxDiskThreshold *int64 `json:"max_disk_threshold,omitempty"` - // Frequency of metrics being emitted in seconds - 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"` - MonitoringInstanceId *string `json:"monitoring_instance_id,omitempty"` - // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - SgwAcl *string `json:"sgw_acl,omitempty"` - Syslog *[]string `json:"syslog,omitempty"` -} diff --git a/services/opensearch/model_log_me_credentials.go b/services/opensearch/model_log_me_credentials.go new file mode 100644 index 000000000..090e9c24b --- /dev/null +++ b/services/opensearch/model_log_me_credentials.go @@ -0,0 +1,23 @@ +/* +STACKIT Opensearch API + +The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package opensearch + +type LogMeCredentials struct { + // REQUIRED + Host *string `json:"host"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + SyslogDrainUrl *string `json:"syslog_drain_url,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/opensearch/model_maria_db_credentials.go b/services/opensearch/model_maria_db_credentials.go new file mode 100644 index 000000000..8dd1ecfe8 --- /dev/null +++ b/services/opensearch/model_maria_db_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT Opensearch API + +The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package opensearch + +type MariaDBCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + Name *string `json:"name,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/opensearch/model_metrics.go b/services/opensearch/model_metrics.go new file mode 100644 index 000000000..1c5c6b050 --- /dev/null +++ b/services/opensearch/model_metrics.go @@ -0,0 +1,16 @@ +/* +STACKIT Opensearch API + +The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package opensearch + +type Metrics struct { + // REQUIRED + Metrics *[]ListMetricsResponse `json:"metrics"` +} diff --git a/services/opensearch/model_postgres_ql_credentials.go b/services/opensearch/model_postgres_ql_credentials.go new file mode 100644 index 000000000..682593a0b --- /dev/null +++ b/services/opensearch/model_postgres_ql_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT Opensearch API + +The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package opensearch + +type PostgresQLCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + Name *string `json:"name,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/opensearch/model_rabbit_mq_credentials.go b/services/opensearch/model_rabbit_mq_credentials.go new file mode 100644 index 000000000..8bdc90262 --- /dev/null +++ b/services/opensearch/model_rabbit_mq_credentials.go @@ -0,0 +1,28 @@ +/* +STACKIT Opensearch API + +The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package opensearch + +type RabbitMQCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + // for rabbitmq only + HttpApiUri *string `json:"http_api_uri,omitempty"` + HttpApiUris *[]string `json:"http_api_uris,omitempty"` + Management *string `json:"management,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + Uris *[]string `json:"uris,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/opensearch/model_raw_credentials.go b/services/opensearch/model_raw_credentials.go index c559b41f6..b0639865d 100644 --- a/services/opensearch/model_raw_credentials.go +++ b/services/opensearch/model_raw_credentials.go @@ -13,9 +13,4 @@ package opensearch type RawCredentials struct { // REQUIRED Credentials *Credentials `json:"credentials"` - // REQUIRED - RouteServiceUrl *string `json:"routeServiceUrl"` - // REQUIRED - SyslogDrainUrl *string `json:"syslogDrainUrl"` - VolumeMounts *[]map[string]interface{} `json:"volumeMounts,omitempty"` } diff --git a/services/opensearch/model_redis_credentials.go b/services/opensearch/model_redis_credentials.go new file mode 100644 index 000000000..ec7926e18 --- /dev/null +++ b/services/opensearch/model_redis_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT Opensearch API + +The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package opensearch + +type RedisCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + LoadBalancedHost *string `json:"load_balanced_host,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/postgresql/model_instance_base_parameters.go b/services/postgresql/model_instance_base_parameters.go deleted file mode 100644 index f7b57e8f2..000000000 --- a/services/postgresql/model_instance_base_parameters.go +++ /dev/null @@ -1,27 +0,0 @@ -/* -STACKIT PostgreSQL API - -The STACKIT PostgreSQL API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. - -API version: 1.1.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package postgresql - -type InstanceBaseParameters struct { - 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. - MaxDiskThreshold *int64 `json:"max_disk_threshold,omitempty"` - // Frequency of metrics being emitted in seconds - 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"` - MonitoringInstanceId *string `json:"monitoring_instance_id,omitempty"` - // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - SgwAcl *string `json:"sgw_acl,omitempty"` - Syslog *[]string `json:"syslog,omitempty"` -} diff --git a/services/postgresql/model_log_me_credentials.go b/services/postgresql/model_log_me_credentials.go new file mode 100644 index 000000000..68f20b1bc --- /dev/null +++ b/services/postgresql/model_log_me_credentials.go @@ -0,0 +1,23 @@ +/* +STACKIT PostgreSQL API + +The STACKIT PostgreSQL API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package postgresql + +type LogMeCredentials struct { + // REQUIRED + Host *string `json:"host"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + SyslogDrainUrl *string `json:"syslog_drain_url,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/postgresql/model_maria_db_credentials.go b/services/postgresql/model_maria_db_credentials.go new file mode 100644 index 000000000..f9ea7d355 --- /dev/null +++ b/services/postgresql/model_maria_db_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT PostgreSQL API + +The STACKIT PostgreSQL API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package postgresql + +type MariaDBCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + Name *string `json:"name,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/postgresql/model_metrics.go b/services/postgresql/model_metrics.go new file mode 100644 index 000000000..9af80cd5c --- /dev/null +++ b/services/postgresql/model_metrics.go @@ -0,0 +1,16 @@ +/* +STACKIT PostgreSQL API + +The STACKIT PostgreSQL API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package postgresql + +type Metrics struct { + // REQUIRED + Metrics *[]ListMetricsResponse `json:"metrics"` +} diff --git a/services/postgresql/model_open_search_credentials.go b/services/postgresql/model_open_search_credentials.go new file mode 100644 index 000000000..9f5b3d876 --- /dev/null +++ b/services/postgresql/model_open_search_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT PostgreSQL API + +The STACKIT PostgreSQL API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package postgresql + +type OpenSearchCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Scheme *string `json:"scheme,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/postgresql/model_postgres_ql_credentials.go b/services/postgresql/model_postgres_ql_credentials.go new file mode 100644 index 000000000..5353de8b1 --- /dev/null +++ b/services/postgresql/model_postgres_ql_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT PostgreSQL API + +The STACKIT PostgreSQL API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package postgresql + +type PostgresQLCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + Name *string `json:"name,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/postgresql/model_credentials.go b/services/postgresql/model_rabbit_mq_credentials.go similarity index 56% rename from services/postgresql/model_credentials.go rename to services/postgresql/model_rabbit_mq_credentials.go index 49952099c..708541d58 100644 --- a/services/postgresql/model_credentials.go +++ b/services/postgresql/model_rabbit_mq_credentials.go @@ -10,18 +10,19 @@ API version: 1.1.0 package postgresql -type Credentials struct { +type RabbitMQCredentials struct { // REQUIRED Host *string `json:"host"` Hosts *[]string `json:"hosts,omitempty"` // for rabbitmq only - HttpApiUri *string `json:"http_api_uri,omitempty"` - Name *string `json:"name,omitempty"` + HttpApiUri *string `json:"http_api_uri,omitempty"` + HttpApiUris *[]string `json:"http_api_uris,omitempty"` + Management *string `json:"management,omitempty"` // REQUIRED - Password *string `json:"password"` - Port *int64 `json:"port,omitempty"` - Protocols *map[string]interface{} `json:"protocols,omitempty"` - Uri *string `json:"uri,omitempty"` + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + Uris *[]string `json:"uris,omitempty"` // REQUIRED Username *string `json:"username"` } diff --git a/services/postgresql/model_raw_credentials.go b/services/postgresql/model_raw_credentials.go index dd6aee195..cf2396eeb 100644 --- a/services/postgresql/model_raw_credentials.go +++ b/services/postgresql/model_raw_credentials.go @@ -12,10 +12,5 @@ package postgresql type RawCredentials struct { // REQUIRED - Credentials *Credentials `json:"credentials"` - // REQUIRED - RouteServiceUrl *string `json:"routeServiceUrl"` - // REQUIRED - SyslogDrainUrl *string `json:"syslogDrainUrl"` - VolumeMounts *[]map[string]interface{} `json:"volumeMounts,omitempty"` + Credentials *PostgresQLCredentials `json:"credentials"` } diff --git a/services/postgresql/model_redis_credentials.go b/services/postgresql/model_redis_credentials.go new file mode 100644 index 000000000..a74d84a83 --- /dev/null +++ b/services/postgresql/model_redis_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT PostgreSQL API + +The STACKIT PostgreSQL API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package postgresql + +type RedisCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + LoadBalancedHost *string `json:"load_balanced_host,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/rabbitmq/CHANGELOG.md b/services/rabbitmq/CHANGELOG.md index df65ecb43..6f5cbcb99 100644 --- a/services/rabbitmq/CHANGELOG.md +++ b/services/rabbitmq/CHANGELOG.md @@ -1,3 +1,9 @@ +## v0.13.0 (2024-04-11) + +- **Breaking change**: Fields removed from `RawCredentials`: `RouteServiceUrl`, `SyslogDrainUrl`, `VolumeMounts`. +- **Breaking change**: Fields removed from `Credentials`: `Name`, `Protocols` +- **Feature**: `Credentials` has new fields `HttpApiUris`, `Management`, `Uris` + ## v0.12.0 (2024-04-11) - Set config.ContextHTTPRequest in Execute method diff --git a/services/rabbitmq/model_credentials.go b/services/rabbitmq/model_credentials.go index 2c00db95a..72582bba3 100644 --- a/services/rabbitmq/model_credentials.go +++ b/services/rabbitmq/model_credentials.go @@ -15,13 +15,14 @@ type Credentials struct { Host *string `json:"host"` Hosts *[]string `json:"hosts,omitempty"` // for rabbitmq only - HttpApiUri *string `json:"http_api_uri,omitempty"` - Name *string `json:"name,omitempty"` + HttpApiUri *string `json:"http_api_uri,omitempty"` + HttpApiUris *[]string `json:"http_api_uris,omitempty"` + Management *string `json:"management,omitempty"` // REQUIRED - Password *string `json:"password"` - Port *int64 `json:"port,omitempty"` - Protocols *map[string]interface{} `json:"protocols,omitempty"` - Uri *string `json:"uri,omitempty"` + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + Uris *[]string `json:"uris,omitempty"` // REQUIRED Username *string `json:"username"` } diff --git a/services/rabbitmq/model_instance_base_parameters.go b/services/rabbitmq/model_instance_base_parameters.go deleted file mode 100644 index 26bdd4559..000000000 --- a/services/rabbitmq/model_instance_base_parameters.go +++ /dev/null @@ -1,27 +0,0 @@ -/* -STACKIT RabbitMQ API - -The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. - -API version: 1.1.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package rabbitmq - -type InstanceBaseParameters struct { - 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. - MaxDiskThreshold *int64 `json:"max_disk_threshold,omitempty"` - // Frequency of metrics being emitted in seconds - 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"` - MonitoringInstanceId *string `json:"monitoring_instance_id,omitempty"` - // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - SgwAcl *string `json:"sgw_acl,omitempty"` - Syslog *[]string `json:"syslog,omitempty"` -} diff --git a/services/rabbitmq/model_log_me_credentials.go b/services/rabbitmq/model_log_me_credentials.go new file mode 100644 index 000000000..a408fd0d9 --- /dev/null +++ b/services/rabbitmq/model_log_me_credentials.go @@ -0,0 +1,23 @@ +/* +STACKIT RabbitMQ API + +The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package rabbitmq + +type LogMeCredentials struct { + // REQUIRED + Host *string `json:"host"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + SyslogDrainUrl *string `json:"syslog_drain_url,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/rabbitmq/model_maria_db_credentials.go b/services/rabbitmq/model_maria_db_credentials.go new file mode 100644 index 000000000..b1049b805 --- /dev/null +++ b/services/rabbitmq/model_maria_db_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT RabbitMQ API + +The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package rabbitmq + +type MariaDBCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + Name *string `json:"name,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/rabbitmq/model_metrics.go b/services/rabbitmq/model_metrics.go new file mode 100644 index 000000000..747437a3a --- /dev/null +++ b/services/rabbitmq/model_metrics.go @@ -0,0 +1,16 @@ +/* +STACKIT RabbitMQ API + +The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package rabbitmq + +type Metrics struct { + // REQUIRED + Metrics *[]ListMetricsResponse `json:"metrics"` +} diff --git a/services/rabbitmq/model_open_search_credentials.go b/services/rabbitmq/model_open_search_credentials.go new file mode 100644 index 000000000..f394ba0b6 --- /dev/null +++ b/services/rabbitmq/model_open_search_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT RabbitMQ API + +The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package rabbitmq + +type OpenSearchCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Scheme *string `json:"scheme,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/rabbitmq/model_postgres_ql_credentials.go b/services/rabbitmq/model_postgres_ql_credentials.go new file mode 100644 index 000000000..f03f3ad5d --- /dev/null +++ b/services/rabbitmq/model_postgres_ql_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT RabbitMQ API + +The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package rabbitmq + +type PostgresQLCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + Name *string `json:"name,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/rabbitmq/model_raw_credentials.go b/services/rabbitmq/model_raw_credentials.go index d385a8584..4a2b20639 100644 --- a/services/rabbitmq/model_raw_credentials.go +++ b/services/rabbitmq/model_raw_credentials.go @@ -13,9 +13,4 @@ package rabbitmq type RawCredentials struct { // REQUIRED Credentials *Credentials `json:"credentials"` - // REQUIRED - RouteServiceUrl *string `json:"routeServiceUrl"` - // REQUIRED - SyslogDrainUrl *string `json:"syslogDrainUrl"` - VolumeMounts *[]map[string]interface{} `json:"volumeMounts,omitempty"` } diff --git a/services/rabbitmq/model_redis_credentials.go b/services/rabbitmq/model_redis_credentials.go new file mode 100644 index 000000000..17066aa5b --- /dev/null +++ b/services/rabbitmq/model_redis_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT RabbitMQ API + +The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package rabbitmq + +type RedisCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + LoadBalancedHost *string `json:"load_balanced_host,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/redis/CHANGELOG.md b/services/redis/CHANGELOG.md index 21418e677..9425f658f 100644 --- a/services/redis/CHANGELOG.md +++ b/services/redis/CHANGELOG.md @@ -1,3 +1,9 @@ +## v0.13.0 (2024-04-11) + +- **Breaking change**: Fields removed from `RawCredentials`: `RouteServiceUrl`, `SyslogDrainUrl`, `VolumeMounts`. +- **Breaking change**: Fields removed from `Credentials`: `HttpApiUri`, `Name`, `Protocols` +- **Feature**: `Credentials` has new fields `LoadBalancedHost` + ## v0.12.0 (2024-04-11) - Set config.ContextHTTPRequest in Execute method diff --git a/services/redis/model_credentials.go b/services/redis/model_credentials.go index 7096d6905..a3c697e17 100644 --- a/services/redis/model_credentials.go +++ b/services/redis/model_credentials.go @@ -12,16 +12,13 @@ package redis type Credentials struct { // REQUIRED - Host *string `json:"host"` - Hosts *[]string `json:"hosts,omitempty"` - // for rabbitmq only - HttpApiUri *string `json:"http_api_uri,omitempty"` - Name *string `json:"name,omitempty"` + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + LoadBalancedHost *string `json:"load_balanced_host,omitempty"` // REQUIRED - Password *string `json:"password"` - Port *int64 `json:"port,omitempty"` - Protocols *map[string]interface{} `json:"protocols,omitempty"` - Uri *string `json:"uri,omitempty"` + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` // REQUIRED Username *string `json:"username"` } diff --git a/services/redis/model_instance_base_parameters.go b/services/redis/model_instance_base_parameters.go deleted file mode 100644 index b64214605..000000000 --- a/services/redis/model_instance_base_parameters.go +++ /dev/null @@ -1,27 +0,0 @@ -/* -STACKIT Redis API - -The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. - -API version: 1.1.0 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package redis - -type InstanceBaseParameters struct { - 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. - MaxDiskThreshold *int64 `json:"max_disk_threshold,omitempty"` - // Frequency of metrics being emitted in seconds - 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"` - MonitoringInstanceId *string `json:"monitoring_instance_id,omitempty"` - // Comma separated list of IP networks in CIDR notation which are allowed to access this instance. - SgwAcl *string `json:"sgw_acl,omitempty"` - Syslog *[]string `json:"syslog,omitempty"` -} diff --git a/services/redis/model_log_me_credentials.go b/services/redis/model_log_me_credentials.go new file mode 100644 index 000000000..c75f1c40e --- /dev/null +++ b/services/redis/model_log_me_credentials.go @@ -0,0 +1,23 @@ +/* +STACKIT Redis API + +The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package redis + +type LogMeCredentials struct { + // REQUIRED + Host *string `json:"host"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + SyslogDrainUrl *string `json:"syslog_drain_url,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/redis/model_maria_db_credentials.go b/services/redis/model_maria_db_credentials.go new file mode 100644 index 000000000..e807987da --- /dev/null +++ b/services/redis/model_maria_db_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT Redis API + +The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package redis + +type MariaDBCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + Name *string `json:"name,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/redis/model_metrics.go b/services/redis/model_metrics.go new file mode 100644 index 000000000..303a1f760 --- /dev/null +++ b/services/redis/model_metrics.go @@ -0,0 +1,16 @@ +/* +STACKIT Redis API + +The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package redis + +type Metrics struct { + // REQUIRED + Metrics *[]ListMetricsResponse `json:"metrics"` +} diff --git a/services/redis/model_open_search_credentials.go b/services/redis/model_open_search_credentials.go new file mode 100644 index 000000000..a4372e7db --- /dev/null +++ b/services/redis/model_open_search_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT Redis API + +The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package redis + +type OpenSearchCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Scheme *string `json:"scheme,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/redis/model_postgres_ql_credentials.go b/services/redis/model_postgres_ql_credentials.go new file mode 100644 index 000000000..d9d1bc860 --- /dev/null +++ b/services/redis/model_postgres_ql_credentials.go @@ -0,0 +1,24 @@ +/* +STACKIT Redis API + +The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package redis + +type PostgresQLCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + Name *string `json:"name,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/redis/model_rabbit_mq_credentials.go b/services/redis/model_rabbit_mq_credentials.go new file mode 100644 index 000000000..851b2f448 --- /dev/null +++ b/services/redis/model_rabbit_mq_credentials.go @@ -0,0 +1,28 @@ +/* +STACKIT Redis API + +The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects. + +API version: 1.1.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package redis + +type RabbitMQCredentials struct { + // REQUIRED + Host *string `json:"host"` + Hosts *[]string `json:"hosts,omitempty"` + // for rabbitmq only + HttpApiUri *string `json:"http_api_uri,omitempty"` + HttpApiUris *[]string `json:"http_api_uris,omitempty"` + Management *string `json:"management,omitempty"` + // REQUIRED + Password *string `json:"password"` + Port *int64 `json:"port,omitempty"` + Uri *string `json:"uri,omitempty"` + Uris *[]string `json:"uris,omitempty"` + // REQUIRED + Username *string `json:"username"` +} diff --git a/services/redis/model_raw_credentials.go b/services/redis/model_raw_credentials.go index f7fbb6e29..9754064c0 100644 --- a/services/redis/model_raw_credentials.go +++ b/services/redis/model_raw_credentials.go @@ -13,9 +13,4 @@ package redis type RawCredentials struct { // REQUIRED Credentials *Credentials `json:"credentials"` - // REQUIRED - RouteServiceUrl *string `json:"routeServiceUrl"` - // REQUIRED - SyslogDrainUrl *string `json:"syslogDrainUrl"` - VolumeMounts *[]map[string]interface{} `json:"volumeMounts,omitempty"` } diff --git a/services/serviceaccount/CHANGELOG.md b/services/serviceaccount/CHANGELOG.md index ac2ee34d4..4f4ef63d6 100644 --- a/services/serviceaccount/CHANGELOG.md +++ b/services/serviceaccount/CHANGELOG.md @@ -6,7 +6,7 @@ ## v0.3.7 (2024-04-09) -- Remove unused model data types.. +- Remove unused model data types. ## v0.3.6 (2024-02-28) diff --git a/services/ske/CHANGELOG.md b/services/ske/CHANGELOG.md index 7be94116e..7fd0e339a 100644 --- a/services/ske/CHANGELOG.md +++ b/services/ske/CHANGELOG.md @@ -6,7 +6,7 @@ ## v0.11.1 (2024-04-09) -- Remove unused model data types.. +- Remove unused model data types. ## v0.11.0 (2024-03-28)