# coding=utf8
# 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.
[docs]class VmInfoDetail(object):
def __init__(self, id=None, region=None, az=None, name=None, hostName=None, imageId=None, imageType=None, instanceType=None, description=None, subnetId=None, tags=None, cloudID=None, keyNames=None, elasticIpAddress=None, privateIpAddress=None, securityGroupIds=None, status=None, createdTime=None, sysDiskInfo=None, dataDiskAttachments=None, primaryNetworkInterface=None, secondaryNetworkInterfaces=None, metadata=None):
"""
:param id: (Optional) 资源ID,如果为空,则执行创建操作,否则执行修改操作
:param region: (Optional) 可用区,根据各云平台规范填写
:param az: (Optional) 云主机所属的可用区
:param name: (Optional) 云主机名称
:param hostName: (Optional) 云主机
:param imageId: (Optional) 镜像ID
:param imageType: (Optional)
:param instanceType: (Optional)
:param description: (Optional) 云主机描述
:param subnetId: (Optional) 子网ID
:param tags: (Optional)
:param cloudID: (Optional) 所属云提供商ID
:param keyNames: (Optional) 密钥对名称,jd当前只支持传入一个
:param elasticIpAddress: (Optional) 主网卡主IP绑定弹性IP的地址
:param privateIpAddress: (Optional) 私有ip地址
:param securityGroupIds: (Optional) 安全组ID
:param status: (Optional) 云主机状态
:param createdTime: (Optional) 创建时间
:param sysDiskInfo: (Optional)
:param dataDiskAttachments: (Optional) 数据盘配置信息
:param primaryNetworkInterface: (Optional)
:param secondaryNetworkInterfaces: (Optional) 辅助网卡配置
:param metadata: (Optional) 扩展信息
"""
self.id = id
self.region = region
self.az = az
self.name = name
self.hostName = hostName
self.imageId = imageId
self.imageType = imageType
self.instanceType = instanceType
self.description = description
self.subnetId = subnetId
self.tags = tags
self.cloudID = cloudID
self.keyNames = keyNames
self.elasticIpAddress = elasticIpAddress
self.privateIpAddress = privateIpAddress
self.securityGroupIds = securityGroupIds
self.status = status
self.createdTime = createdTime
self.sysDiskInfo = sysDiskInfo
self.dataDiskAttachments = dataDiskAttachments
self.primaryNetworkInterface = primaryNetworkInterface
self.secondaryNetworkInterfaces = secondaryNetworkInterfaces
self.metadata = metadata