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

# 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 CloudDataDisk(object): def __init__(self, cloudID=None, id=None, name=None, description=None, diskSizeGB=None, attachments=None, az=None, diskType=None, snapshotId=None, status=None, tags=None, createdTime=None): """ :param cloudID: (Optional) 云注册信息ID :param id: (Optional) 云硬盘ID :param name: (Optional) 云硬盘名称 :param description: (Optional) 云硬盘描述 :param diskSizeGB: (Optional) 磁盘大小,单位为 GiB :param attachments: (Optional) 挂载信息 :param az: (Optional) 云硬盘所属AZ :param diskType: (Optional) 磁盘类型,取值为 ssd 或 premium-hdd :param snapshotId: (Optional) 创建该云硬盘的快照ID :param status: (Optional) 云硬盘状态 :param tags: (Optional) :param createdTime: (Optional) 创建时间 """ self.cloudID = cloudID self.id = id self.name = name self.description = description self.diskSizeGB = diskSizeGB self.attachments = attachments self.az = az self.diskType = diskType self.snapshotId = snapshotId self.status = status self.tags = tags self.createdTime = createdTime