Source code for azure.mgmt.hdinsight.models.regional_quota_capability_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 RegionalQuotaCapability(Model): """The regional quota capacity. :param region_name: The region name. :type region_name: str :param cores_used: The number of cores used in the region. :type cores_used: long :param cores_available: The number of courses available in the region. :type cores_available: long """ _attribute_map = { 'region_name': {'key': 'region_name', 'type': 'str'}, 'cores_used': {'key': 'cores_used', 'type': 'long'}, 'cores_available': {'key': 'cores_available', 'type': 'long'}, } def __init__(self, *, region_name: str=None, cores_used: int=None, cores_available: int=None, **kwargs) -> None: super(RegionalQuotaCapability, self).__init__(**kwargs) self.region_name = region_name self.cores_used = cores_used self.cores_available = cores_available