Skip to content

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

@BarRozner

Description

@BarRozner
  • 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions