Source code for azure.mgmt.devtestlabs.models.target_cost_properties

# 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 TargetCostProperties(Model): """Properties of a cost target. :param status: Target cost status. Possible values include: 'Enabled', 'Disabled' :type status: str or ~azure.mgmt.devtestlabs.models.TargetCostStatus :param target: Lab target cost :type target: int :param cost_thresholds: Cost thresholds. :type cost_thresholds: list[~azure.mgmt.devtestlabs.models.CostThresholdProperties] :param cycle_start_date_time: Reporting cycle start date. :type cycle_start_date_time: datetime :param cycle_end_date_time: Reporting cycle end date. :type cycle_end_date_time: datetime :param cycle_type: Reporting cycle type. Possible values include: 'CalendarMonth', 'Custom' :type cycle_type: str or ~azure.mgmt.devtestlabs.models.ReportingCycleType """ _attribute_map = { 'status': {'key': 'status', 'type': 'str'}, 'target': {'key': 'target', 'type': 'int'}, 'cost_thresholds': {'key': 'costThresholds', 'type': '[CostThresholdProperties]'}, 'cycle_start_date_time': {'key': 'cycleStartDateTime', 'type': 'iso-8601'}, 'cycle_end_date_time': {'key': 'cycleEndDateTime', 'type': 'iso-8601'}, 'cycle_type': {'key': 'cycleType', 'type': 'str'}, } def __init__(self, status=None, target=None, cost_thresholds=None, cycle_start_date_time=None, cycle_end_date_time=None, cycle_type=None): super(TargetCostProperties, self).__init__() self.status = status self.target = target self.cost_thresholds = cost_thresholds self.cycle_start_date_time = cycle_start_date_time self.cycle_end_date_time = cycle_end_date_time self.cycle_type = cycle_type