@@ -297,6 +297,61 @@ public CreateAlertStrategyResponse createAlertStrategy(CreateAlertStrategyReques
297297 return this .createAlertStrategyWithOptions (request , headers , runtime );
298298 }
299299
300+ /**
301+ * <b>summary</b> :
302+ * <p>创建集群Vpc端点连接</p>
303+ *
304+ * @param request CreateClusterVpcEndpointConnectionRequest
305+ * @param headers map
306+ * @param runtime runtime options for this request RuntimeOptions
307+ * @return CreateClusterVpcEndpointConnectionResponse
308+ */
309+ public CreateClusterVpcEndpointConnectionResponse createClusterVpcEndpointConnectionWithOptions (CreateClusterVpcEndpointConnectionRequest request , java .util .Map <String , String > headers , com .aliyun .teautil .models .RuntimeOptions runtime ) throws Exception {
310+ com .aliyun .teautil .Common .validateModel (request );
311+ java .util .Map <String , Object > body = new java .util .HashMap <>();
312+ if (!com .aliyun .teautil .Common .isUnset (request .clusterId )) {
313+ body .put ("clusterId" , request .clusterId );
314+ }
315+
316+ if (!com .aliyun .teautil .Common .isUnset (request .dryRun )) {
317+ body .put ("dryRun" , request .dryRun );
318+ }
319+
320+ if (!com .aliyun .teautil .Common .isUnset (request .region )) {
321+ body .put ("region" , request .region );
322+ }
323+
324+ com .aliyun .teaopenapi .models .OpenApiRequest req = com .aliyun .teaopenapi .models .OpenApiRequest .build (TeaConverter .buildMap (
325+ new TeaPair ("headers" , headers ),
326+ new TeaPair ("body" , com .aliyun .openapiutil .Client .parseToMap (body ))
327+ ));
328+ com .aliyun .teaopenapi .models .Params params = com .aliyun .teaopenapi .models .Params .build (TeaConverter .buildMap (
329+ new TeaPair ("action" , "CreateClusterVpcEndpointConnection" ),
330+ new TeaPair ("version" , "2023-12-30" ),
331+ new TeaPair ("protocol" , "HTTPS" ),
332+ new TeaPair ("pathname" , "/api/v1/k8sProxy/access/createClusterVpcEndpointConnection" ),
333+ new TeaPair ("method" , "POST" ),
334+ new TeaPair ("authType" , "AK" ),
335+ new TeaPair ("style" , "ROA" ),
336+ new TeaPair ("reqBodyType" , "json" ),
337+ new TeaPair ("bodyType" , "json" )
338+ ));
339+ return TeaModel .toModel (this .callApi (params , req , runtime ), new CreateClusterVpcEndpointConnectionResponse ());
340+ }
341+
342+ /**
343+ * <b>summary</b> :
344+ * <p>创建集群Vpc端点连接</p>
345+ *
346+ * @param request CreateClusterVpcEndpointConnectionRequest
347+ * @return CreateClusterVpcEndpointConnectionResponse
348+ */
349+ public CreateClusterVpcEndpointConnectionResponse createClusterVpcEndpointConnection (CreateClusterVpcEndpointConnectionRequest request ) throws Exception {
350+ com .aliyun .teautil .models .RuntimeOptions runtime = new com .aliyun .teautil .models .RuntimeOptions ();
351+ java .util .Map <String , String > headers = new java .util .HashMap <>();
352+ return this .createClusterVpcEndpointConnectionWithOptions (request , headers , runtime );
353+ }
354+
300355 /**
301356 * <b>summary</b> :
302357 * <p>创建实例巡检</p>
0 commit comments