package common const ( // DefaultPasswordStr, DefaultPasswordNum and DefaultPasswordSpe are used to general default value of root password of UHost instance DefaultPasswordNum = "012346789" DefaultPasswordStr = "abcdefghijklmnopqrstuvwxyz" DefaultPasswordSpe = "-_" ) const ( InstanceStateRunning = "Running" InstanceStateStopped = "Stopped" ImageStateAvailable = "Available" ImageStateUnavailable = "Unavailable" BootDiskStateNormal = "Normal" OsTypeWindows = "Windows" SecurityGroupNonWeb = "recommend non web" IpTypePrivate = "Private" ) const ( DefaultCreateImageTimeout = 3600 ) var BootDiskTypeMap = NewStringConverter(map[string]string{ "cloud_ssd": "CLOUD_SSD", "local_normal": "LOCAL_NORMAL", "local_ssd": "LOCAL_SSD", "cloud_rssd": "CLOUD_RSSD", }) var ChargeModeMap = NewStringConverter(map[string]string{ "post_accurate_bandwidth": "PostAccurateBandwidth", "traffic": "Traffic", "bandwidth": "Bandwidth", })