Source code for jdcloud_sdk.services.jdro.models.Environment

# 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 Environment(object): def __init__(self, name, timeout, disableRollback=None, params=None): """ :param disableRollback: (Optional) 禁止回滚,默认false,即创建资源栈失败时回滚 :param name: 资源栈名称 :param params: (Optional) 自定义参数值map, 内容为键值对形式,key为参数,value为自定义参数值。Params中的参数值会覆盖模板文件中参数的默认值。 :param timeout: 超时时间,单位分钟,范围10-180 """ self.disableRollback = disableRollback self.name = name self.params = params self.timeout = timeout