Source code for vas.tc_server.Logs

# vFabric Administration Server API
# Copyright (c) 2012 VMware, Inc. All Rights Reserved.
#
# 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.


import vas.shared.Logs

[docs]class Logs(vas.shared.Logs.Logs): """Used to enumerate a tc Server node instance's logs :ivar `vas.shared.Security.Security` security: The resource's security """ def __init__(self, client, location): super(Logs, self).__init__(client, location, Log)
[docs]class Log(vas.shared.Logs.Log): """A log file in a tc Server node instance :ivar `vas.tc_server.NodeInstances.NodeInstance` instance: The node instance that the log belongs to :ivar `datetime.datetime` last_modified: The last modified stamp of the log :ivar str name: The name of the log :ivar `vas.shared.Security.Security` security: The resource's security :ivar int size: The size of the log """ def __init__(self, client, location): super(Log, self).__init__(client, location, 'node-instance', NodeInstance)
from vas.tc_server.NodeInstances import NodeInstance