Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant set "Name" of Eip address via API #445

Open
BarRozner opened this issue Apr 27, 2021 · 0 comments
Open

Cant set "Name" of Eip address via API #445

BarRozner opened this issue Apr 27, 2021 · 0 comments

Comments

@BarRozner
Copy link

  • Python Version: Python 3.7.7
  • aliyunsdkcore Version: 2.13.28
  • API: AllocateEipAddressRequest and ModifyEipAddressAttributeRequest

It seems its not possible to set a name for Eip.
It is ignored.

Additionally, although it is documented, the SDK does't support the "Name" field and i used add_query_params function as such:
request = AllocateEipAddressRequest()
request.set_Bandwidth('200')
request.set_InternetChargeType('PayByTraffic')
request.set_ISP('BGP')
request.add_query_param('Name', name)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant