Source code for jdcloud_sdk.services.jmr.models.Cluster

# 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 Cluster(object): def __init__(self, id=None, name=None, dataCenter=None, clusterPrimaryId=None, monitorResourceId=None, status=None, softwareStack=None, createTime=None, haFlag=None, jssFlag=None, payPrice=None, payType=None, duration=None, nodeCount=None, hardware=None): """ :param id: (Optional) 集群ID :param name: (Optional) 集群名称 :param dataCenter: (Optional) 集群所属地域 :param clusterPrimaryId: (Optional) 集群ID :param monitorResourceId: (Optional) 监控ID :param status: (Optional) 集群状态 :param softwareStack: (Optional) 软件信息 :param createTime: (Optional) 集群创建时间 :param haFlag: (Optional) 集群是否高可用 :param jssFlag: (Optional) 集群是否使用OSS :param payPrice: (Optional) 集群费用 :param payType: (Optional) 集群收费类型 :param duration: (Optional) 集群运行时间 :param nodeCount: (Optional) 集群节点个数 :param hardware: (Optional) 集群节点信息 """ self.id = id self.name = name self.dataCenter = dataCenter self.clusterPrimaryId = clusterPrimaryId self.monitorResourceId = monitorResourceId self.status = status self.softwareStack = softwareStack self.createTime = createTime self.haFlag = haFlag self.jssFlag = jssFlag self.payPrice = payPrice self.payType = payType self.duration = duration self.nodeCount = nodeCount self.hardware = hardware