# 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 Group(object):
def __init__(self, groupId=None, groupName=None, appId=None, appName=None, regionId=None, status=None, platform=None, desc=None, deployMethod=None, instances=None, blueInstances=None, greenInstances=None, concurrencyUnit=None, concurrencyNum=None, concurrencyPct=None, lbStatus=None, lbInstance=None, lbBackend=None, repeatPolicy=None, noticeTrigger=None, noticeMethod=None, rollback=None, jdsfEnabled=None, jdsfRegisterId=None, lastDeployTime=None):
"""
:param groupId: (Optional) 部署组ID
:param groupName: (Optional) 部署组名称
:param appId: (Optional) 应用ID
:param appName: (Optional) 应用名称
:param regionId: (Optional) 地域
:param status: (Optional) 状态
:param platform: (Optional) 部署平台:1云主机,2原生容器
:param desc: (Optional) 描述
:param deployMethod: (Optional) 部署方式:1滚动部署,2蓝绿部署
:param instances: (Optional) 部署实例(滚动)
:param blueInstances: (Optional) 部署实例(蓝)
:param greenInstances: (Optional) 部署实例(绿)
:param concurrencyUnit: (Optional) 并发单位
:param concurrencyNum: (Optional) 并发机器数
:param concurrencyPct: (Optional) 并发度
:param lbStatus: (Optional) 负载均衡:1启动,2禁用
:param lbInstance: (Optional) lb实例
:param lbBackend: (Optional) lb lb_backend
:param repeatPolicy: (Optional) 同名文件处理方式:1部署失败,2覆盖,3保留
:param noticeTrigger: (Optional) 通知频率:1异常发送,2每次发送
:param noticeMethod: (Optional) 通知方式:1消息,2邮件,3短信
:param rollback: (Optional) 自动回滚:1开启,2禁用
:param jdsfEnabled: (Optional) 使用分布式服务框架:0不使用,1使用
:param jdsfRegisterId: (Optional) 分布式服务框架ID
:param lastDeployTime: (Optional) 上次部署时间
"""
self.groupId = groupId
self.groupName = groupName
self.appId = appId
self.appName = appName
self.regionId = regionId
self.status = status
self.platform = platform
self.desc = desc
self.deployMethod = deployMethod
self.instances = instances
self.blueInstances = blueInstances
self.greenInstances = greenInstances
self.concurrencyUnit = concurrencyUnit
self.concurrencyNum = concurrencyNum
self.concurrencyPct = concurrencyPct
self.lbStatus = lbStatus
self.lbInstance = lbInstance
self.lbBackend = lbBackend
self.repeatPolicy = repeatPolicy
self.noticeTrigger = noticeTrigger
self.noticeMethod = noticeMethod
self.rollback = rollback
self.jdsfEnabled = jdsfEnabled
self.jdsfRegisterId = jdsfRegisterId
self.lastDeployTime = lastDeployTime