Source code for jdcloud_sdk.services.disk.models.DiskSpecification

# 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 DiskSpecification(object): def __init__(self, diskType=None, minSizeGB=None, maxSizeGB=None, stepSizeGB=None, description=None, diskTypeName=None, defaultIOPS=None, stepIOPS=None, maxIOPS=None, defaultThroughput=None, stepThroughput=None, maxThroughput=None, scalableIOPS=None, maxStepIOPS=None): """ :param diskType: (Optional) 云硬盘类型 :param minSizeGB: (Optional) 支持的最小尺寸,单位为 GiB :param maxSizeGB: (Optional) 支持的最大尺寸,单位为 GiB :param stepSizeGB: (Optional) 步长尺寸,单位为 GiB :param description: (Optional) 描述信息 :param diskTypeName: (Optional) 类型名称 :param defaultIOPS: (Optional) 默认的iops数量(基础iops数量) :param stepIOPS: (Optional) iops步长增量 :param maxIOPS: (Optional) 最大iops数量 :param defaultThroughput: (Optional) 默认的吞吐量 :param stepThroughput: (Optional) 吞吐量步长增量 :param maxThroughput: (Optional) 最大吞吐量 :param scalableIOPS: (Optional) 是否开启IOPS可调整 :param maxStepIOPS: (Optional) 最大iops步长 """ self.diskType = diskType self.minSizeGB = minSizeGB self.maxSizeGB = maxSizeGB self.stepSizeGB = stepSizeGB self.description = description self.diskTypeName = diskTypeName self.defaultIOPS = defaultIOPS self.stepIOPS = stepIOPS self.maxIOPS = maxIOPS self.defaultThroughput = defaultThroughput self.stepThroughput = stepThroughput self.maxThroughput = maxThroughput self.scalableIOPS = scalableIOPS self.maxStepIOPS = maxStepIOPS