@@ -903,8 +903,8 @@ func (a *AuthApiClient) GetCdcStreamIDByStreamName(cdcStreamName string) (string
903
903
return "" , fmt .Errorf ("couldn't find any cdcStream with the given name" )
904
904
}
905
905
906
- func (a * AuthApiClient ) GetSupportedNodeConfigurations (cloud string , tier string , region string ) ybmclient.ApiGetSupportedNodeConfigurationsRequest {
907
- return a .ApiClient .ClusterApi .GetSupportedNodeConfigurations (a .ctx ). AccountId ( a .AccountID ).Cloud (cloud ).Tier (tier ).Regions ([]string {region })
906
+ func (a * AuthApiClient ) GetSupportedNodeConfigurations (cloud string , tier string , region string ) ybmclient.ApiGetSupportedNodeConfigurationsByAccountRequest {
907
+ return a .ApiClient .ClusterApi .GetSupportedNodeConfigurationsByAccount (a .ctx , a .AccountID ).Cloud (cloud ).Tier (tier ).Regions ([]string {region })
908
908
}
909
909
910
910
func (a * AuthApiClient ) GetSupportedNodeConfigurationsV2 (cloud string , tier string , regions []string , geoPartitioned bool ) map [string ][]ybmclient.NodeConfigurationResponseItem {
@@ -916,7 +916,7 @@ func (a *AuthApiClient) GetSupportedNodeConfigurationsV2(cloud string, tier stri
916
916
if len (regions ) == 1 || cloud == "AZURE" || (geoPartitioned ) {
917
917
isMultiRegion = false
918
918
}
919
- instanceResp , resp , err := a .ApiClient .ClusterApi .GetSupportedNodeConfigurations (a .ctx ). AccountId ( a .AccountID ).Cloud (cloud ).Tier (tier ).Regions (regions ).IsMultiRegion (isMultiRegion ).Execute ()
919
+ instanceResp , resp , err := a .ApiClient .ClusterApi .GetSupportedNodeConfigurationsByAccount (a .ctx , a .AccountID ).Cloud (cloud ).Tier (tier ).Regions (regions ).IsMultiRegion (isMultiRegion ).Execute ()
920
920
if err != nil {
921
921
b , _ := httputil .DumpResponse (resp , true )
922
922
logrus .Debug (b )
@@ -995,8 +995,8 @@ func (a *AuthApiClient) PerformNodeOperation(clusterId string) ybmclient.ApiPerf
995
995
return a .ApiClient .ClusterApi .PerformNodeOperation (a .ctx , a .AccountID , a .ProjectID , clusterId )
996
996
}
997
997
998
- func (a * AuthApiClient ) GetSupportedCloudRegions () ybmclient.ApiGetSupportedCloudRegionsRequest {
999
- return a .ApiClient .ClusterApi .GetSupportedCloudRegions (a .ctx )
998
+ func (a * AuthApiClient ) GetSupportedCloudRegions () ybmclient.ApiGetSupportedCloudRegionsByAccountRequest {
999
+ return a .ApiClient .ClusterApi .GetSupportedCloudRegionsByAccount (a .ctx , a . AccountID )
1000
1000
}
1001
1001
func (a * AuthApiClient ) ListTasks () ybmclient.ApiListTasksRequest {
1002
1002
return a .ApiClient .TaskApi .ListTasks (a .ctx , a .AccountID )
0 commit comments