Git Product home page Git Product logo

Comments (4)

gaort avatar gaort commented on May 20, 2024

@jliu666 请问您说的CreateClusterRequest具体的package是什么?

from aliyun-openapi-java-sdk.

gaort avatar gaort commented on May 20, 2024

@jliu666
因为没能得到您的回复,我们先暂时关闭此issue了。
目前的确有部分产品的Request是无法设置相关参数的,这种情况,建议您使用CommonAPI泛化调用接口。
您可以在 https://help.aliyun.com/document_detail/61469.html 得到具体的使用方法

from aliyun-openapi-java-sdk.

jliuold avatar jliuold commented on May 20, 2024

https://github.com/aliyun/aliyun-openapi-java-sdk/blob/master/aliyun-java-sdk-cs/src/main/java/com/aliyuncs/cs/model/v20151215/CreateClusterRequest.java
这个类
CommonAPI能自动判断url和content-type吗?
要是都像ossClient好用就行了 @gaort

from aliyun-openapi-java-sdk.

gaort avatar gaort commented on May 20, 2024

@jliu666
十分感谢您的反馈!
目前容器服务因为缺失api相关定义,所以自动生成的sdk不够友好,建议您参照api文档使用commonApi的调用方式
CommonApi是需要您手动指定域名和每个接口的url的,content-type会自动判断,您也可以手动指定。
我们会尽快与容器服务团队进行沟通,尽快推动这个问题

from aliyun-openapi-java-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.