Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RegionalQuotaCapability
- Inherits:
-
Object
- Object
- Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RegionalQuotaCapability
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/regional_quota_capability.rb
Overview
The regional quota capacity.
Instance Attribute Summary collapse
-
#cores_available ⇒ Integer
The number of cores available in the region.
-
#cores_used ⇒ Integer
The number of cores used in the region.
-
#region_name ⇒ String
The region name.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RegionalQuotaCapability class as Ruby Hash.
Instance Attribute Details
#cores_available ⇒ Integer
Returns The number of cores available in the region.
22 23 24 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/regional_quota_capability.rb', line 22 def cores_available @cores_available end |
#cores_used ⇒ Integer
Returns The number of cores used in the region.
19 20 21 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/regional_quota_capability.rb', line 19 def cores_used @cores_used end |
#region_name ⇒ String
Returns The region name.
16 17 18 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/regional_quota_capability.rb', line 16 def region_name @region_name end |
Class Method Details
.mapper ⇒ Object
Mapper for RegionalQuotaCapability class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/regional_quota_capability.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RegionalQuotaCapability', type: { name: 'Composite', class_name: 'RegionalQuotaCapability', model_properties: { region_name: { client_side_validation: true, required: false, serialized_name: 'region_name', type: { name: 'String' } }, cores_used: { client_side_validation: true, required: false, serialized_name: 'cores_used', type: { name: 'Number' } }, cores_available: { client_side_validation: true, required: false, serialized_name: 'cores_available', type: { name: 'Number' } } } } } end |