1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
# 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
class EventsPerformanceCounterInfo(Model):
"""The performance counter info.
:param value: The value of the performance counter
:type value: float
:param name: The name of the performance counter
:type name: str
:param category: The category of the performance counter
:type category: str
:param counter: The counter of the performance counter
:type counter: str
:param instance_name: The instance name of the performance counter
:type instance_name: str
:param instance: The instance of the performance counter
:type instance: str
"""
_attribute_map = {
'value': {'key': 'value', 'type': 'float'},
'name': {'key': 'name', 'type': 'str'},
'category': {'key': 'category', 'type': 'str'},
'counter': {'key': 'counter', 'type': 'str'},
'instance_name': {'key': 'instanceName', 'type': 'str'},
'instance': {'key': 'instance', 'type': 'str'},
}
def __init__(self, **kwargs):
super(EventsPerformanceCounterInfo, self).__init__(**kwargs)
self.value = kwargs.get('value', None)
self.name = kwargs.get('name', None)
self.category = kwargs.get('category', None)
self.counter = kwargs.get('counter', None)
self.instance_name = kwargs.get('instance_name', None)
self.instance = kwargs.get('instance', None)
|