Source code for azure.mgmt.datalake.analytics.job.models.resource_usage_statistics_py3

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class ResourceUsageStatistics(Model): """The statistics information for resource usage. Variables are only populated by the server, and will be ignored when sending a request. :ivar average: The average value. :vartype average: float :ivar minimum: The minimum value. :vartype minimum: long :ivar maximum: The maximum value. :vartype maximum: long """ _validation = { 'average': {'readonly': True}, 'minimum': {'readonly': True}, 'maximum': {'readonly': True}, } _attribute_map = { 'average': {'key': 'average', 'type': 'float'}, 'minimum': {'key': 'minimum', 'type': 'long'}, 'maximum': {'key': 'maximum', 'type': 'long'}, } def __init__(self, **kwargs) -> None: super(ResourceUsageStatistics, self).__init__(**kwargs) self.average = None self.minimum = None self.maximum = None