Source code for jdcloud_sdk.services.jdfusion.models.CreateNetInterface

# 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 CreateNetInterface(object): def __init__(self, subnetId, securityGroupId, id=None, name=None, description=None, vpcId=None, type=None, az=None, associatedPublicIp=None, privateIpAddress=None, macAddress=None, instanceId=None, createdTime=None, cloudID=None): """ :param id: (Optional) 网卡的Id :param name: (Optional) 网卡名称 :param description: (Optional) 网卡描述信息 :param vpcId: (Optional) VPC的Id :param type: (Optional) 网卡类型 :param subnetId: 子网id :param az: (Optional) 可用区的 ID :param associatedPublicIp: (Optional) 弹性网卡关联的公网 IP :param privateIpAddress: (Optional) 弹性网卡主私有 IP 地址 :param macAddress: (Optional) 弹性网卡的 MAC 地址 :param instanceId: (Optional) 弹性网卡附加的实例 ID :param createdTime: (Optional) 创建时间 :param cloudID: (Optional) 所属云提供商ID :param securityGroupId: 安全组 """ self.id = id self.name = name self.description = description self.vpcId = vpcId self.type = type self.subnetId = subnetId self.az = az self.associatedPublicIp = associatedPublicIp self.privateIpAddress = privateIpAddress self.macAddress = macAddress self.instanceId = instanceId self.createdTime = createdTime self.cloudID = cloudID self.securityGroupId = securityGroupId