natgateway.go 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Copyright 2019 Yunion
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. package compute
  15. const (
  16. NAT_STAUTS_AVAILABLE = "available" // 可用
  17. NAT_STATUS_ALLOCATE = "allocate" // 创建中
  18. NAT_STATUS_DEPLOYING = "deploying" // 配置中
  19. NAT_STATUS_UNKNOWN = "unknown" // 未知状态
  20. NAT_STATUS_CREATE_FAILED = "create_failed" // 创建失败
  21. NAT_STATUS_DELETING = "deleting" // 删除中
  22. NAT_SPEC_SMALL = "small" //小型
  23. NAT_SPEC_MIDDLE = "middle" //中型
  24. NAT_SPEC_LARGE = "large" //大型
  25. NAT_SPEC_XLARGE = "xlarge" //超大型
  26. QCLOUD_NAT_SPEC_SMALL = "small"
  27. QCLOUD_NAT_SPEC_MIDDLE = "middle"
  28. QCLOUD_NAT_SPEC_LARGE = "large"
  29. // 公网
  30. NAT_NETWORK_TYPE_INTERNET = "internet"
  31. // VPC
  32. NAT_NETWORK_TYPE_INTRANET = "intranet"
  33. )