<template>
  <div class="">
    <cb-form label-width="140px">
      <h3>确认信息</h3>
      <cb-form-item label="地域">重庆</cb-form-item>
      <cb-form-item label="可用区">yfm14</cb-form-item>
      <cb-form-item label="机型">{{ addData.selectComboData.flavorName }},{{ addData.selectComboData.cpu }},{{ addData.selectComboData.memory }},{{ addData.selectComboData.systemDisk }}</cb-form-item>
      <cb-form-item label="操作系统">{{ addData.data.operatingSystemType }} | {{ addData.data.operatingSystem }}</cb-form-item>
      <cb-form-item label="RAID类型">{{ addData.data.raidType }}</cb-form-item>
      <cb-form-item label="私有网络">{{ addData.data.virtualPrivateCloud.vpcId }}</cb-form-item>
      <cb-form-item label="子网">{{ addData.data.virtualPrivateCloud.subnetId }}</cb-form-item>
      <cb-form-item label="服务器数量">{{ addData.data.instanceCount }}台</cb-form-item>
      <cb-form-item v-if="addData.data.internetAccessible.publicIpAssigned" label="弹性公网IP">{{ addData.data.internetAccessible.publicIpAssigned }}Mpbs</cb-form-item>
      <cb-form-item v-else label="弹性公网IP">不分配</cb-form-item>
      <cb-form-item v-if="addData.data.virtualPrivateCloud.privateIpAddresses.length > 0" label="服务器内网IP">{{ addData.data.virtualPrivateCloud.privateIpAddresses }}</cb-form-item>
      <cb-form-item v-else label="服务器内网IP">自动分配</cb-form-item>
      <cb-form-item label="实例名称">{{ addData.data.instanceName }}</cb-form-item>
      <cb-form-item label="登录方式">密码登陆（自定义密码)</cb-form-item>
    </cb-form>
  </div>
</template>

<script>
export default {
  props: ['vendorId', 'addData']
}
</script>
