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

添加云物理机失败 #278

Open
seaurching opened this issue Aug 2, 2023 · 0 comments
Open

添加云物理机失败 #278

seaurching opened this issue Aug 2, 2023 · 0 comments

Comments

@seaurching
Copy link

seaurching commented Aug 2, 2023

创建云物理机参数

dddd = {'LineId': '5fc2595f-1bfd-481b-bf64-2d08f116d800',
                'SecurityGroupId.1': '5025f56axxxx', 'ChargeType': 'Daily',
                'SubnetId': '0ef2c6dcxxxxxx', 'AvailabilityZone': 'cn-beijing-6',
                'HostType': 'DB-I', 'ImageId': '3eecbe68-1bc6-45c0-88ed-8434ccb7b83b', 'NetworkInterfaceMode': 'bond4',
                'Password': '1521wjx7&'
}
client=session.create_client(service_name=ksc_service,region_name=ksc_region,ks_access_key_id=ACCESS_KEY,ks_secret_access_key=SECURITY_KEY)
epc_results=client.create_epc(**dddd)

执行以上脚本报错:

kscore.exceptions.ClientError: An error occurred (400001) when calling the CreateEpc operation: Price system-Invalid az param

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