Skip to content

添加云物理机失败 #278

Description

@seaurching

创建云物理机参数

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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