@@ -276,18 +276,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
276276 /**
277277 *
278278 * @summary Returns the list of supported Kafka instance types and sizes filtered by cloud provider and region
279- * @param {string } cloudId ID of the supported cloud provider
279+ * @param {string } cloudProvider ID of the supported cloud provider
280280 * @param {string } cloudRegion Name of the supported cloud provider region
281281 * @param {* } [options] Override http request option.
282282 * @throws {RequiredError }
283283 */
284- getInstanceTypesByCloudProviderAndRegion : async ( cloudId : string , cloudRegion : string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
285- // verify required parameter 'cloudId ' is not null or undefined
286- assertParamExists ( 'getInstanceTypesByCloudProviderAndRegion' , 'cloudId ' , cloudId )
284+ getInstanceTypesByCloudProviderAndRegion : async ( cloudProvider : string , cloudRegion : string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
285+ // verify required parameter 'cloudProvider ' is not null or undefined
286+ assertParamExists ( 'getInstanceTypesByCloudProviderAndRegion' , 'cloudProvider ' , cloudProvider )
287287 // verify required parameter 'cloudRegion' is not null or undefined
288288 assertParamExists ( 'getInstanceTypesByCloudProviderAndRegion' , 'cloudRegion' , cloudRegion )
289- const localVarPath = `/api/kafkas_mgmt/v1/instance_types/{cloud_id }/{cloud_region}`
290- . replace ( `{${ "cloud_id " } }` , encodeURIComponent ( String ( cloudId ) ) )
289+ const localVarPath = `/api/kafkas_mgmt/v1/instance_types/{cloud_provider }/{cloud_region}`
290+ . replace ( `{${ "cloud_provider " } }` , encodeURIComponent ( String ( cloudProvider ) ) )
291291 . replace ( `{${ "cloud_region" } }` , encodeURIComponent ( String ( cloudRegion ) ) ) ;
292292 // use dummy base URL string because the URL constructor only accepts absolute URLs.
293293 const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
@@ -655,13 +655,13 @@ export const DefaultApiFp = function(configuration?: Configuration) {
655655 /**
656656 *
657657 * @summary Returns the list of supported Kafka instance types and sizes filtered by cloud provider and region
658- * @param {string } cloudId ID of the supported cloud provider
658+ * @param {string } cloudProvider ID of the supported cloud provider
659659 * @param {string } cloudRegion Name of the supported cloud provider region
660660 * @param {* } [options] Override http request option.
661661 * @throws {RequiredError }
662662 */
663- async getInstanceTypesByCloudProviderAndRegion ( cloudId : string , cloudRegion : string , options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < SupportedKafkaInstanceTypesList > > {
664- const localVarAxiosArgs = await localVarAxiosParamCreator . getInstanceTypesByCloudProviderAndRegion ( cloudId , cloudRegion , options ) ;
663+ async getInstanceTypesByCloudProviderAndRegion ( cloudProvider : string , cloudRegion : string , options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < SupportedKafkaInstanceTypesList > > {
664+ const localVarAxiosArgs = await localVarAxiosParamCreator . getInstanceTypesByCloudProviderAndRegion ( cloudProvider , cloudRegion , options ) ;
665665 return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
666666 } ,
667667 /**
@@ -806,13 +806,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
806806 /**
807807 *
808808 * @summary Returns the list of supported Kafka instance types and sizes filtered by cloud provider and region
809- * @param {string } cloudId ID of the supported cloud provider
809+ * @param {string } cloudProvider ID of the supported cloud provider
810810 * @param {string } cloudRegion Name of the supported cloud provider region
811811 * @param {* } [options] Override http request option.
812812 * @throws {RequiredError }
813813 */
814- getInstanceTypesByCloudProviderAndRegion ( cloudId : string , cloudRegion : string , options ?: any ) : AxiosPromise < SupportedKafkaInstanceTypesList > {
815- return localVarFp . getInstanceTypesByCloudProviderAndRegion ( cloudId , cloudRegion , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
814+ getInstanceTypesByCloudProviderAndRegion ( cloudProvider : string , cloudRegion : string , options ?: any ) : AxiosPromise < SupportedKafkaInstanceTypesList > {
815+ return localVarFp . getInstanceTypesByCloudProviderAndRegion ( cloudProvider , cloudRegion , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
816816 } ,
817817 /**
818818 *
@@ -949,13 +949,13 @@ export interface DefaultApiInterface {
949949 /**
950950 *
951951 * @summary Returns the list of supported Kafka instance types and sizes filtered by cloud provider and region
952- * @param {string } cloudId ID of the supported cloud provider
952+ * @param {string } cloudProvider ID of the supported cloud provider
953953 * @param {string } cloudRegion Name of the supported cloud provider region
954954 * @param {* } [options] Override http request option.
955955 * @throws {RequiredError }
956956 * @memberof DefaultApiInterface
957957 */
958- getInstanceTypesByCloudProviderAndRegion ( cloudId : string , cloudRegion : string , options ?: AxiosRequestConfig ) : AxiosPromise < SupportedKafkaInstanceTypesList > ;
958+ getInstanceTypesByCloudProviderAndRegion ( cloudProvider : string , cloudRegion : string , options ?: AxiosRequestConfig ) : AxiosPromise < SupportedKafkaInstanceTypesList > ;
959959
960960 /**
961961 *
@@ -1102,14 +1102,14 @@ export class DefaultApi extends BaseAPI implements DefaultApiInterface {
11021102 /**
11031103 *
11041104 * @summary Returns the list of supported Kafka instance types and sizes filtered by cloud provider and region
1105- * @param {string } cloudId ID of the supported cloud provider
1105+ * @param {string } cloudProvider ID of the supported cloud provider
11061106 * @param {string } cloudRegion Name of the supported cloud provider region
11071107 * @param {* } [options] Override http request option.
11081108 * @throws {RequiredError }
11091109 * @memberof DefaultApi
11101110 */
1111- public getInstanceTypesByCloudProviderAndRegion ( cloudId : string , cloudRegion : string , options ?: AxiosRequestConfig ) {
1112- return DefaultApiFp ( this . configuration ) . getInstanceTypesByCloudProviderAndRegion ( cloudId , cloudRegion , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
1111+ public getInstanceTypesByCloudProviderAndRegion ( cloudProvider : string , cloudRegion : string , options ?: AxiosRequestConfig ) {
1112+ return DefaultApiFp ( this . configuration ) . getInstanceTypesByCloudProviderAndRegion ( cloudProvider , cloudRegion , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
11131113 }
11141114
11151115 /**
0 commit comments