# 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 ResourceOut(object):
def __init__(self, action=None, createTime=None, deletePolicy=None, deleteTime=None, logicId=None, physicalId=None, region=None, snapshot=None, stackId=None, status=None, statusReason=None, type=None, updateTime=None):
"""
:param action: (Optional) 资源运行操作
:param createTime: (Optional) 创建时间
:param deletePolicy: (Optional) 删除策略
:param deleteTime: (Optional) 删除时间
:param logicId: (Optional) 资源逻辑ID
:param physicalId: (Optional) 资源ID
:param region: (Optional) 地域信息
:param snapshot: (Optional) Snapshot信息,仅针对磁盘资源类型
:param stackId: (Optional) 资源栈ID
:param status: (Optional) 资源运行状态
:param statusReason: (Optional) 资源运行状态原因
:param type: (Optional) 资源类型
:param updateTime: (Optional) 更新时间
"""
self.action = action
self.createTime = createTime
self.deletePolicy = deletePolicy
self.deleteTime = deleteTime
self.logicId = logicId
self.physicalId = physicalId
self.region = region
self.snapshot = snapshot
self.stackId = stackId
self.status = status
self.statusReason = statusReason
self.type = type
self.updateTime = updateTime