@@ -6,7 +6,7 @@ x-form-factors: public
66x-cdp-releases : PUBLIC
77x-audit : true
88info :
9- version : 0.9.109
9+ version : 0.9.111
1010 title : Cloudera Data hub Service
1111 license :
1212 name : Apache 2.0
@@ -1221,6 +1221,28 @@ paths:
12211221 description : The default response on an error.
12221222 schema :
12231223 $ref : ' #/definitions/Error'
1224+ /api/v1/datahub/getVmTypes :
1225+ post :
1226+ summary : Creates a recommendation that advises virtual machine types for the given cluster template based on the given properties.
1227+ description : Creates a recommendation that advises virtual machine types for the given cluster template based on the given properties.
1228+ operationId : getVmTypes
1229+ x-mutating : false
1230+ x-no-compatibility-guarantee : true
1231+ parameters :
1232+ - name : input
1233+ in : body
1234+ required : true
1235+ schema :
1236+ $ref : ' #/definitions/GetVmTypesRequest'
1237+ responses :
1238+ 200 :
1239+ description : Expected response to a valid request.
1240+ schema :
1241+ $ref : ' #/definitions/GetVmTypesResponse'
1242+ default :
1243+ description : The default response on an error.
1244+ schema :
1245+ $ref : ' #/definitions/Error'
12241246 /api/v1/datahub/startInstances :
12251247 post :
12261248 summary : Starts instances of a particular host group in the Data Hub cluster.
@@ -4129,6 +4151,40 @@ definitions:
41294151 description : Array of log descriptors. (useful for diagnostics collection filtering)
41304152 items :
41314153 $ref : ' #/definitions/DatahubVmLogResponse'
4154+ GetVmTypesRequest :
4155+ x-no-compatibility-guarantee : true
4156+ type : object
4157+ description : Request object for fetching the available virtual machine types based on the given parameters.
4158+ required :
4159+ - clusterTemplate
4160+ - credential
4161+ - region
4162+ properties :
4163+ clusterTemplate :
4164+ type : string
4165+ description : The name of the given cluster template.
4166+ credential :
4167+ type : string
4168+ description : The name or CRN of the credential that is required to access the cloud provider.
4169+ region :
4170+ type : string
4171+ description : The region where we should look for the supported VM types.
4172+ availabilityZone :
4173+ type : string
4174+ description : The selected availability zone.
4175+ clusterDefinitionName :
4176+ type : string
4177+ description : The name of the cluster definition.
4178+ GetVmTypesResponse :
4179+ x-no-compatibility-guarantee : true
4180+ type : object
4181+ description : Response object from the VM type fetch operation.
4182+ properties :
4183+ vmTypes :
4184+ description : The supported VM types based on the given parameters.
4185+ type : array
4186+ items :
4187+ type : string
41324188 RotateAutoTlsCertificatesRequest :
41334189 type : object
41344190 description : Request object to rotate autotls certificates on datahub's hosts, deprecated.
0 commit comments