diff --git a/packages/kafka-management-sdk/src/generated/api.ts b/packages/kafka-management-sdk/src/generated/api.ts index 2e728d19..07eb0fca 100644 --- a/packages/kafka-management-sdk/src/generated/api.ts +++ b/packages/kafka-management-sdk/src/generated/api.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/api/default-api.ts b/packages/kafka-management-sdk/src/generated/api/default-api.ts index 601e1057..110db4a5 100644 --- a/packages/kafka-management-sdk/src/generated/api/default-api.ts +++ b/packages/kafka-management-sdk/src/generated/api/default-api.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -37,6 +37,8 @@ import { MetricsInstantQueryList } from '../model'; // @ts-ignore import { MetricsRangeQueryList } from '../model'; // @ts-ignore +import { SupportedKafkaInstanceTypesList } from '../model'; +// @ts-ignore import { VersionMetadata } from '../model'; /** * DefaultApi - axios parameter creator @@ -262,6 +264,48 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Returns the list of supported Kafka instance types and sizes filtered by cloud provider and region + * @param {string} cloudProvider ID of the supported cloud provider + * @param {string} cloudRegion Name of the supported cloud provider region + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getInstanceTypesByCloudProviderAndRegion: async (cloudProvider: string, cloudRegion: string, options: AxiosRequestConfig = {}): Promise => { + // verify required parameter 'cloudProvider' is not null or undefined + assertParamExists('getInstanceTypesByCloudProviderAndRegion', 'cloudProvider', cloudProvider) + // verify required parameter 'cloudRegion' is not null or undefined + assertParamExists('getInstanceTypesByCloudProviderAndRegion', 'cloudRegion', cloudRegion) + const localVarPath = `/api/kafkas_mgmt/v1/instance_types/{cloud_provider}/{cloud_region}` + .replace(`{${"cloud_provider"}}`, encodeURIComponent(String(cloudProvider))) + .replace(`{${"cloud_region"}}`, encodeURIComponent(String(cloudRegion))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication Bearer required + // http bearer authentication required + await setBearerAuthToObject(localVarHeaderParameter, configuration) + + + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -608,6 +652,18 @@ export const DefaultApiFp = function(configuration?: Configuration) { const localVarAxiosArgs = await localVarAxiosParamCreator.getCloudProviders(page, size, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, + /** + * + * @summary Returns the list of supported Kafka instance types and sizes filtered by cloud provider and region + * @param {string} cloudProvider ID of the supported cloud provider + * @param {string} cloudRegion Name of the supported cloud provider region + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async getInstanceTypesByCloudProviderAndRegion(cloudProvider: string, cloudRegion: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.getInstanceTypesByCloudProviderAndRegion(cloudProvider, cloudRegion, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, /** * * @summary Returns a Kafka request by ID @@ -747,6 +803,17 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa getCloudProviders(page?: string, size?: string, options?: any): AxiosPromise { return localVarFp.getCloudProviders(page, size, options).then((request) => request(axios, basePath)); }, + /** + * + * @summary Returns the list of supported Kafka instance types and sizes filtered by cloud provider and region + * @param {string} cloudProvider ID of the supported cloud provider + * @param {string} cloudRegion Name of the supported cloud provider region + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + getInstanceTypesByCloudProviderAndRegion(cloudProvider: string, cloudRegion: string, options?: any): AxiosPromise { + return localVarFp.getInstanceTypesByCloudProviderAndRegion(cloudProvider, cloudRegion, options).then((request) => request(axios, basePath)); + }, /** * * @summary Returns a Kafka request by ID @@ -879,6 +946,17 @@ export interface DefaultApiInterface { */ getCloudProviders(page?: string, size?: string, options?: AxiosRequestConfig): AxiosPromise; + /** + * + * @summary Returns the list of supported Kafka instance types and sizes filtered by cloud provider and region + * @param {string} cloudProvider ID of the supported cloud provider + * @param {string} cloudRegion Name of the supported cloud provider region + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof DefaultApiInterface + */ + getInstanceTypesByCloudProviderAndRegion(cloudProvider: string, cloudRegion: string, options?: AxiosRequestConfig): AxiosPromise; + /** * * @summary Returns a Kafka request by ID @@ -1021,6 +1099,19 @@ export class DefaultApi extends BaseAPI implements DefaultApiInterface { return DefaultApiFp(this.configuration).getCloudProviders(page, size, options).then((request) => request(this.axios, this.basePath)); } + /** + * + * @summary Returns the list of supported Kafka instance types and sizes filtered by cloud provider and region + * @param {string} cloudProvider ID of the supported cloud provider + * @param {string} cloudRegion Name of the supported cloud provider region + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof DefaultApi + */ + public getInstanceTypesByCloudProviderAndRegion(cloudProvider: string, cloudRegion: string, options?: AxiosRequestConfig) { + return DefaultApiFp(this.configuration).getInstanceTypesByCloudProviderAndRegion(cloudProvider, cloudRegion, options).then((request) => request(this.axios, this.basePath)); + } + /** * * @summary Returns a Kafka request by ID diff --git a/packages/kafka-management-sdk/src/generated/api/errors-api.ts b/packages/kafka-management-sdk/src/generated/api/errors-api.ts index d1636189..4a17534d 100644 --- a/packages/kafka-management-sdk/src/generated/api/errors-api.ts +++ b/packages/kafka-management-sdk/src/generated/api/errors-api.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/api/security-api.ts b/packages/kafka-management-sdk/src/generated/api/security-api.ts index 8ea29add..aac60d51 100644 --- a/packages/kafka-management-sdk/src/generated/api/security-api.ts +++ b/packages/kafka-management-sdk/src/generated/api/security-api.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/base.ts b/packages/kafka-management-sdk/src/generated/base.ts index 48823c53..33bc8b02 100644 --- a/packages/kafka-management-sdk/src/generated/base.ts +++ b/packages/kafka-management-sdk/src/generated/base.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/common.ts b/packages/kafka-management-sdk/src/generated/common.ts index 8a51ec71..0d485423 100644 --- a/packages/kafka-management-sdk/src/generated/common.ts +++ b/packages/kafka-management-sdk/src/generated/common.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/configuration.ts b/packages/kafka-management-sdk/src/generated/configuration.ts index 5146c2e1..91f3163b 100644 --- a/packages/kafka-management-sdk/src/generated/configuration.ts +++ b/packages/kafka-management-sdk/src/generated/configuration.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/index.ts b/packages/kafka-management-sdk/src/generated/index.ts index 9d19c032..38fe56fe 100644 --- a/packages/kafka-management-sdk/src/generated/index.ts +++ b/packages/kafka-management-sdk/src/generated/index.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/cloud-provider-list-all-of.ts b/packages/kafka-management-sdk/src/generated/model/cloud-provider-list-all-of.ts index 72361a7c..69ed26ad 100644 --- a/packages/kafka-management-sdk/src/generated/model/cloud-provider-list-all-of.ts +++ b/packages/kafka-management-sdk/src/generated/model/cloud-provider-list-all-of.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/cloud-provider-list.ts b/packages/kafka-management-sdk/src/generated/model/cloud-provider-list.ts index bac29593..4a1dc3f9 100644 --- a/packages/kafka-management-sdk/src/generated/model/cloud-provider-list.ts +++ b/packages/kafka-management-sdk/src/generated/model/cloud-provider-list.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/cloud-provider.ts b/packages/kafka-management-sdk/src/generated/model/cloud-provider.ts index 2f4392ad..1a6b4229 100644 --- a/packages/kafka-management-sdk/src/generated/model/cloud-provider.ts +++ b/packages/kafka-management-sdk/src/generated/model/cloud-provider.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/cloud-region-list-all-of.ts b/packages/kafka-management-sdk/src/generated/model/cloud-region-list-all-of.ts index f9b96ac6..11aca57a 100644 --- a/packages/kafka-management-sdk/src/generated/model/cloud-region-list-all-of.ts +++ b/packages/kafka-management-sdk/src/generated/model/cloud-region-list-all-of.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/cloud-region-list.ts b/packages/kafka-management-sdk/src/generated/model/cloud-region-list.ts index feae0ec7..c8e733a0 100644 --- a/packages/kafka-management-sdk/src/generated/model/cloud-region-list.ts +++ b/packages/kafka-management-sdk/src/generated/model/cloud-region-list.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/cloud-region.ts b/packages/kafka-management-sdk/src/generated/model/cloud-region.ts index 06f0162c..7856395d 100644 --- a/packages/kafka-management-sdk/src/generated/model/cloud-region.ts +++ b/packages/kafka-management-sdk/src/generated/model/cloud-region.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/error-all-of.ts b/packages/kafka-management-sdk/src/generated/model/error-all-of.ts index 0e56d6f5..9cff0ba9 100644 --- a/packages/kafka-management-sdk/src/generated/model/error-all-of.ts +++ b/packages/kafka-management-sdk/src/generated/model/error-all-of.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/error-list-all-of.ts b/packages/kafka-management-sdk/src/generated/model/error-list-all-of.ts index a784d942..f8bae01a 100644 --- a/packages/kafka-management-sdk/src/generated/model/error-list-all-of.ts +++ b/packages/kafka-management-sdk/src/generated/model/error-list-all-of.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/error-list.ts b/packages/kafka-management-sdk/src/generated/model/error-list.ts index 9554ef00..a2a40b2f 100644 --- a/packages/kafka-management-sdk/src/generated/model/error-list.ts +++ b/packages/kafka-management-sdk/src/generated/model/error-list.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/index.ts b/packages/kafka-management-sdk/src/generated/model/index.ts index 8f0b0ab8..51190556 100644 --- a/packages/kafka-management-sdk/src/generated/model/index.ts +++ b/packages/kafka-management-sdk/src/generated/model/index.ts @@ -32,6 +32,11 @@ export * from './service-account-list-item-all-of'; export * from './service-account-request'; export * from './sso-provider'; export * from './sso-provider-all-of'; +export * from './supported-kafka-instance-type'; +export * from './supported-kafka-instance-types-list'; +export * from './supported-kafka-instance-types-list-all-of'; +export * from './supported-kafka-size'; +export * from './supported-kafka-size-bytes-value-item'; export * from './values'; export * from './version-metadata'; export * from './version-metadata-all-of'; diff --git a/packages/kafka-management-sdk/src/generated/model/instant-query.ts b/packages/kafka-management-sdk/src/generated/model/instant-query.ts index 54f81487..b95c6187 100644 --- a/packages/kafka-management-sdk/src/generated/model/instant-query.ts +++ b/packages/kafka-management-sdk/src/generated/model/instant-query.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/kafka-request-all-of.ts b/packages/kafka-management-sdk/src/generated/model/kafka-request-all-of.ts index f4a15cdb..e912e2fa 100644 --- a/packages/kafka-management-sdk/src/generated/model/kafka-request-all-of.ts +++ b/packages/kafka-management-sdk/src/generated/model/kafka-request-all-of.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -92,6 +92,12 @@ export interface KafkaRequestAllOf { * @memberof KafkaRequestAllOf */ 'instance_type'?: string; + /** + * + * @type {string} + * @memberof KafkaRequestAllOf + */ + 'instance_type_name'?: string; /** * * @type {boolean} @@ -110,5 +116,47 @@ export interface KafkaRequestAllOf { * @memberof KafkaRequestAllOf */ 'browser_url'?: string; + /** + * + * @type {string} + * @memberof KafkaRequestAllOf + */ + 'size_id'?: string; + /** + * + * @type {string} + * @memberof KafkaRequestAllOf + */ + 'ingress_throughput_per_sec'?: string; + /** + * + * @type {string} + * @memberof KafkaRequestAllOf + */ + 'egress_throughput_per_sec'?: string; + /** + * + * @type {number} + * @memberof KafkaRequestAllOf + */ + 'total_max_connections'?: number; + /** + * + * @type {number} + * @memberof KafkaRequestAllOf + */ + 'max_partitions'?: number; + /** + * + * @type {string} + * @memberof KafkaRequestAllOf + */ + 'max_data_retention_period'?: string; + /** + * + * @type {number} + * @memberof KafkaRequestAllOf + */ + 'max_connection_attempts_per_sec'?: number; } diff --git a/packages/kafka-management-sdk/src/generated/model/kafka-request-list-all-of.ts b/packages/kafka-management-sdk/src/generated/model/kafka-request-list-all-of.ts index f572a5da..532755b1 100644 --- a/packages/kafka-management-sdk/src/generated/model/kafka-request-list-all-of.ts +++ b/packages/kafka-management-sdk/src/generated/model/kafka-request-list-all-of.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/kafka-request-list.ts b/packages/kafka-management-sdk/src/generated/model/kafka-request-list.ts index aa339d02..6e264798 100644 --- a/packages/kafka-management-sdk/src/generated/model/kafka-request-list.ts +++ b/packages/kafka-management-sdk/src/generated/model/kafka-request-list.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/kafka-request-payload.ts b/packages/kafka-management-sdk/src/generated/model/kafka-request-payload.ts index 4408daef..13d06a91 100644 --- a/packages/kafka-management-sdk/src/generated/model/kafka-request-payload.ts +++ b/packages/kafka-management-sdk/src/generated/model/kafka-request-payload.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,9 +27,10 @@ export interface KafkaRequestPayload { */ 'cloud_provider'?: string; /** - * Set this to true to configure the Kafka cluster to be multiAZ + * Deprecated. If it is specified, the value will be ignored. The API automatically determines this value from the \'plan\' attribute\" * @type {boolean} * @memberof KafkaRequestPayload + * @deprecated */ 'multi_az'?: boolean; /** @@ -50,5 +51,11 @@ export interface KafkaRequestPayload { * @memberof KafkaRequestPayload */ 'reauthentication_enabled'?: boolean | null; + /** + * kafka plan in a format of . + * @type {string} + * @memberof KafkaRequestPayload + */ + 'plan'?: string; } diff --git a/packages/kafka-management-sdk/src/generated/model/kafka-request.ts b/packages/kafka-management-sdk/src/generated/model/kafka-request.ts index ed4b630f..8378d6d1 100644 --- a/packages/kafka-management-sdk/src/generated/model/kafka-request.ts +++ b/packages/kafka-management-sdk/src/generated/model/kafka-request.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/kafka-update-request.ts b/packages/kafka-management-sdk/src/generated/model/kafka-update-request.ts index 8eba591c..7c00a4f3 100644 --- a/packages/kafka-management-sdk/src/generated/model/kafka-update-request.ts +++ b/packages/kafka-management-sdk/src/generated/model/kafka-update-request.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/list.ts b/packages/kafka-management-sdk/src/generated/model/list.ts index 2705e60c..4cdf2775 100644 --- a/packages/kafka-management-sdk/src/generated/model/list.ts +++ b/packages/kafka-management-sdk/src/generated/model/list.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/metrics-instant-query-list-all-of.ts b/packages/kafka-management-sdk/src/generated/model/metrics-instant-query-list-all-of.ts index 064b6970..5d460709 100644 --- a/packages/kafka-management-sdk/src/generated/model/metrics-instant-query-list-all-of.ts +++ b/packages/kafka-management-sdk/src/generated/model/metrics-instant-query-list-all-of.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/metrics-instant-query-list.ts b/packages/kafka-management-sdk/src/generated/model/metrics-instant-query-list.ts index b855b5d1..83622e22 100644 --- a/packages/kafka-management-sdk/src/generated/model/metrics-instant-query-list.ts +++ b/packages/kafka-management-sdk/src/generated/model/metrics-instant-query-list.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/metrics-range-query-list-all-of.ts b/packages/kafka-management-sdk/src/generated/model/metrics-range-query-list-all-of.ts index 94d0e0fb..c34532ab 100644 --- a/packages/kafka-management-sdk/src/generated/model/metrics-range-query-list-all-of.ts +++ b/packages/kafka-management-sdk/src/generated/model/metrics-range-query-list-all-of.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/metrics-range-query-list.ts b/packages/kafka-management-sdk/src/generated/model/metrics-range-query-list.ts index 867a65b3..f840d3ef 100644 --- a/packages/kafka-management-sdk/src/generated/model/metrics-range-query-list.ts +++ b/packages/kafka-management-sdk/src/generated/model/metrics-range-query-list.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/model-error.ts b/packages/kafka-management-sdk/src/generated/model/model-error.ts index ea74011b..a6a99d08 100644 --- a/packages/kafka-management-sdk/src/generated/model/model-error.ts +++ b/packages/kafka-management-sdk/src/generated/model/model-error.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/object-reference.ts b/packages/kafka-management-sdk/src/generated/model/object-reference.ts index 48751b74..4e73fcc8 100644 --- a/packages/kafka-management-sdk/src/generated/model/object-reference.ts +++ b/packages/kafka-management-sdk/src/generated/model/object-reference.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/range-query.ts b/packages/kafka-management-sdk/src/generated/model/range-query.ts index 8780c8d6..b104c2a9 100644 --- a/packages/kafka-management-sdk/src/generated/model/range-query.ts +++ b/packages/kafka-management-sdk/src/generated/model/range-query.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/region-capacity-list-item.ts b/packages/kafka-management-sdk/src/generated/model/region-capacity-list-item.ts index 68a4d99b..ce88eb02 100644 --- a/packages/kafka-management-sdk/src/generated/model/region-capacity-list-item.ts +++ b/packages/kafka-management-sdk/src/generated/model/region-capacity-list-item.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,12 +25,19 @@ export interface RegionCapacityListItem { * @type {string} * @memberof RegionCapacityListItem */ - 'instance_type'?: string; + 'instance_type': string; /** * flag indicating whether the capacity for the instance type in the region is reached * @type {boolean} * @memberof RegionCapacityListItem + * @deprecated */ - 'max_capacity_reached': boolean; + 'max_capacity_reached'?: boolean; + /** + * list of available Kafka instance sizes that can be created in this region when taking account current capacity and regional limits + * @type {Array} + * @memberof RegionCapacityListItem + */ + 'available_sizes': Array; } diff --git a/packages/kafka-management-sdk/src/generated/model/service-account-all-of.ts b/packages/kafka-management-sdk/src/generated/model/service-account-all-of.ts index 0c6dd707..2a24f268 100644 --- a/packages/kafka-management-sdk/src/generated/model/service-account-all-of.ts +++ b/packages/kafka-management-sdk/src/generated/model/service-account-all-of.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/service-account-list-all-of.ts b/packages/kafka-management-sdk/src/generated/model/service-account-list-all-of.ts index 1e054f2c..32661933 100644 --- a/packages/kafka-management-sdk/src/generated/model/service-account-list-all-of.ts +++ b/packages/kafka-management-sdk/src/generated/model/service-account-list-all-of.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/service-account-list-item-all-of.ts b/packages/kafka-management-sdk/src/generated/model/service-account-list-item-all-of.ts index 48b49ba2..3d74325f 100644 --- a/packages/kafka-management-sdk/src/generated/model/service-account-list-item-all-of.ts +++ b/packages/kafka-management-sdk/src/generated/model/service-account-list-item-all-of.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/service-account-list-item.ts b/packages/kafka-management-sdk/src/generated/model/service-account-list-item.ts index a0bbec6d..59de76cc 100644 --- a/packages/kafka-management-sdk/src/generated/model/service-account-list-item.ts +++ b/packages/kafka-management-sdk/src/generated/model/service-account-list-item.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/service-account-list.ts b/packages/kafka-management-sdk/src/generated/model/service-account-list.ts index f49dd274..41348b55 100644 --- a/packages/kafka-management-sdk/src/generated/model/service-account-list.ts +++ b/packages/kafka-management-sdk/src/generated/model/service-account-list.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/service-account-request.ts b/packages/kafka-management-sdk/src/generated/model/service-account-request.ts index 68c34183..6027184c 100644 --- a/packages/kafka-management-sdk/src/generated/model/service-account-request.ts +++ b/packages/kafka-management-sdk/src/generated/model/service-account-request.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/service-account.ts b/packages/kafka-management-sdk/src/generated/model/service-account.ts index 8e31beff..35f73182 100644 --- a/packages/kafka-management-sdk/src/generated/model/service-account.ts +++ b/packages/kafka-management-sdk/src/generated/model/service-account.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/sso-provider-all-of.ts b/packages/kafka-management-sdk/src/generated/model/sso-provider-all-of.ts index 19605810..613845e8 100644 --- a/packages/kafka-management-sdk/src/generated/model/sso-provider-all-of.ts +++ b/packages/kafka-management-sdk/src/generated/model/sso-provider-all-of.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/sso-provider.ts b/packages/kafka-management-sdk/src/generated/model/sso-provider.ts index cb007750..f3996a41 100644 --- a/packages/kafka-management-sdk/src/generated/model/sso-provider.ts +++ b/packages/kafka-management-sdk/src/generated/model/sso-provider.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/supported-kafka-instance-type.ts b/packages/kafka-management-sdk/src/generated/model/supported-kafka-instance-type.ts new file mode 100644 index 00000000..55cda62e --- /dev/null +++ b/packages/kafka-management-sdk/src/generated/model/supported-kafka-instance-type.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Kafka Service Fleet Manager + * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. + * + * The version of the OpenAPI document: 1.5.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import { SupportedKafkaSize } from './supported-kafka-size'; + +/** + * Supported Kafka instance type + * @export + * @interface SupportedKafkaInstanceType + */ +export interface SupportedKafkaInstanceType { + /** + * Unique identifier of the Kafka instance type. + * @type {string} + * @memberof SupportedKafkaInstanceType + */ + 'id'?: string; + /** + * Human readable name of the supported Kafka instance type + * @type {string} + * @memberof SupportedKafkaInstanceType + */ + 'display_name'?: string; + /** + * A list of Kafka instance sizes available for this instance type + * @type {Array} + * @memberof SupportedKafkaInstanceType + */ + 'sizes'?: Array; +} + diff --git a/packages/kafka-management-sdk/src/generated/model/supported-kafka-instance-types-list-all-of.ts b/packages/kafka-management-sdk/src/generated/model/supported-kafka-instance-types-list-all-of.ts new file mode 100644 index 00000000..291ee573 --- /dev/null +++ b/packages/kafka-management-sdk/src/generated/model/supported-kafka-instance-types-list-all-of.ts @@ -0,0 +1,31 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Kafka Service Fleet Manager + * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. + * + * The version of the OpenAPI document: 1.5.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import { SupportedKafkaInstanceType } from './supported-kafka-instance-type'; + +/** + * + * @export + * @interface SupportedKafkaInstanceTypesListAllOf + */ +export interface SupportedKafkaInstanceTypesListAllOf { + /** + * + * @type {Array} + * @memberof SupportedKafkaInstanceTypesListAllOf + */ + 'instance_types'?: Array; +} + diff --git a/packages/kafka-management-sdk/src/generated/model/supported-kafka-instance-types-list.ts b/packages/kafka-management-sdk/src/generated/model/supported-kafka-instance-types-list.ts new file mode 100644 index 00000000..29c95553 --- /dev/null +++ b/packages/kafka-management-sdk/src/generated/model/supported-kafka-instance-types-list.ts @@ -0,0 +1,25 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Kafka Service Fleet Manager + * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. + * + * The version of the OpenAPI document: 1.5.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import { SupportedKafkaInstanceType } from './supported-kafka-instance-type'; +import { SupportedKafkaInstanceTypesListAllOf } from './supported-kafka-instance-types-list-all-of'; + +/** + * @type SupportedKafkaInstanceTypesList + * @export + */ +export type SupportedKafkaInstanceTypesList = SupportedKafkaInstanceTypesListAllOf; + + diff --git a/packages/kafka-management-sdk/src/generated/model/supported-kafka-size-bytes-value-item.ts b/packages/kafka-management-sdk/src/generated/model/supported-kafka-size-bytes-value-item.ts new file mode 100644 index 00000000..3365fef5 --- /dev/null +++ b/packages/kafka-management-sdk/src/generated/model/supported-kafka-size-bytes-value-item.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Kafka Service Fleet Manager + * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. + * + * The version of the OpenAPI document: 1.5.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SupportedKafkaSizeBytesValueItem + */ +export interface SupportedKafkaSizeBytesValueItem { + /** + * + * @type {number} + * @memberof SupportedKafkaSizeBytesValueItem + */ + 'bytes'?: number; +} + diff --git a/packages/kafka-management-sdk/src/generated/model/supported-kafka-size.ts b/packages/kafka-management-sdk/src/generated/model/supported-kafka-size.ts new file mode 100644 index 00000000..6a1a155c --- /dev/null +++ b/packages/kafka-management-sdk/src/generated/model/supported-kafka-size.ts @@ -0,0 +1,91 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Kafka Service Fleet Manager + * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. + * + * The version of the OpenAPI document: 1.5.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import { SupportedKafkaSizeBytesValueItem } from './supported-kafka-size-bytes-value-item'; + +/** + * Supported Kafka Size + * @export + * @interface SupportedKafkaSize + */ +export interface SupportedKafkaSize { + /** + * Unique identifier of this Kafka instance size. + * @type {string} + * @memberof SupportedKafkaSize + */ + 'id'?: string; + /** + * + * @type {SupportedKafkaSizeBytesValueItem} + * @memberof SupportedKafkaSize + */ + 'ingress_throughput_per_sec'?: SupportedKafkaSizeBytesValueItem; + /** + * + * @type {SupportedKafkaSizeBytesValueItem} + * @memberof SupportedKafkaSize + */ + 'egress_throughput_per_sec'?: SupportedKafkaSizeBytesValueItem; + /** + * Maximum amount of total connections available to this Kafka instance size. + * @type {number} + * @memberof SupportedKafkaSize + */ + 'total_max_connections'?: number; + /** + * + * @type {SupportedKafkaSizeBytesValueItem} + * @memberof SupportedKafkaSize + */ + 'max_data_retention_size'?: SupportedKafkaSizeBytesValueItem; + /** + * Maximum amount of total partitions available to this Kafka instance size. + * @type {number} + * @memberof SupportedKafkaSize + */ + 'max_partitions'?: number; + /** + * Maximum data retention period available to this Kafka instance size. + * @type {string} + * @memberof SupportedKafkaSize + */ + 'max_data_retention_period'?: string; + /** + * Maximium connection attempts per second available to this Kafka instance size. + * @type {number} + * @memberof SupportedKafkaSize + */ + 'max_connection_attempts_per_sec'?: number; + /** + * Quota consumed by this Kafka instance size. + * @type {number} + * @memberof SupportedKafkaSize + */ + 'quota_consumed'?: number; + /** + * Quota type used by this Kafka instance size. + * @type {string} + * @memberof SupportedKafkaSize + */ + 'quota_type'?: string; + /** + * Data plane cluster capacity consumed by this Kafka instance size. + * @type {number} + * @memberof SupportedKafkaSize + */ + 'capacity_consumed'?: number; +} + diff --git a/packages/kafka-management-sdk/src/generated/model/values.ts b/packages/kafka-management-sdk/src/generated/model/values.ts index 0ecf3b3b..b8604118 100644 --- a/packages/kafka-management-sdk/src/generated/model/values.ts +++ b/packages/kafka-management-sdk/src/generated/model/values.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/version-metadata-all-of.ts b/packages/kafka-management-sdk/src/generated/model/version-metadata-all-of.ts index 11ca6173..6d402d04 100644 --- a/packages/kafka-management-sdk/src/generated/model/version-metadata-all-of.ts +++ b/packages/kafka-management-sdk/src/generated/model/version-metadata-all-of.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/packages/kafka-management-sdk/src/generated/model/version-metadata.ts b/packages/kafka-management-sdk/src/generated/model/version-metadata.ts index 14ac5df3..c727ca3c 100644 --- a/packages/kafka-management-sdk/src/generated/model/version-metadata.ts +++ b/packages/kafka-management-sdk/src/generated/model/version-metadata.ts @@ -4,7 +4,7 @@ * Kafka Service Fleet Manager * Kafka Service Fleet Manager is a Rest API to manage Kafka instances. * - * The version of the OpenAPI document: 1.4.0 + * The version of the OpenAPI document: 1.5.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).