// Copyright 2018 JDCLOUD.COM // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // // NOTE: This class is auto generated by the jdcloud code generator program. package models type InternalInstance struct { /* 云主机ID (Optional) */ InstanceId string `json:"instanceId"` /* 云主机名称 (Optional) */ InstanceName string `json:"instanceName"` /* 实例规格 (Optional) */ InstanceType string `json:"instanceType"` /* 主网卡所属VPC的ID (Optional) */ VpcId string `json:"vpcId"` /* 主网卡所属子网的ID (Optional) */ SubnetId string `json:"subnetId"` /* 主网卡主IP地址 (Optional) */ PrivateIpAddress string `json:"privateIpAddress"` /* 云主机状态,参考云主机状态 (Optional) */ Status string `json:"status"` /* 云主机描述 (Optional) */ Description string `json:"description"` /* 镜像ID (Optional) */ ImageId string `json:"imageId"` /* 系统盘配置 (Optional) */ SystemDisk BriefInstanceDiskAttachment `json:"systemDisk"` /* 数据盘配置 (Optional) */ DataDisks []BriefInstanceDiskAttachment `json:"dataDisks"` /* 主网卡配置 (Optional) */ PrimaryNetworkInterface BriefInstanceNetworkInterfaceAttachment `json:"primaryNetworkInterface"` /* 辅助网卡配置 (Optional) */ SecondaryNetworkInterfaces []BriefInstanceNetworkInterfaceAttachment `json:"secondaryNetworkInterfaces"` /* 创建时间 (Optional) */ LaunchTime string `json:"launchTime"` /* 云主机所在可用区 (Optional) */ Az string `json:"az"` /* 密钥对名称 (Optional) */ KeyNames []string `json:"keyNames"` /* 高可用组中的错误域 (Optional) */ FaultDomain string `json:"faultDomain"` /* 关机模式,只支持云盘做系统盘的按配置计费云主机。KeepCharging:关机后继续计费;StopCharging:关机后停止计费。 (Optional) */ ChargeOnStopped string `json:"chargeOnStopped"` /* 实例所属的专有宿主机池 (Optional) */ DedicatedPoolId string `json:"dedicatedPoolId"` /* 专有宿主机ID (Optional) */ DedicatedHostId string `json:"dedicatedHostId"` /* 实例的物理机 IP (Optional) */ HostIp string `json:"hostIp"` /* 机架信息 (Optional) */ Rack string `json:"rack"` }