# 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 ModifyGroup(object):
def __init__(self, desc=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, jdsfRegisterId=None):
"""
:param desc: (Optional) 描述
: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 jdsfRegisterId: (Optional) 分布式服务框架ID
"""
self.desc = desc
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.jdsfRegisterId = jdsfRegisterId