Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ComputeProfile
- Inherits:
-
Object
- Object
- Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ComputeProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/compute_profile.rb
Overview
Describes the compute profile.
Instance Attribute Summary collapse
-
#roles ⇒ Array<Role>
The list of roles in the cluster.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ComputeProfile class as Ruby Hash.
Instance Attribute Details
#roles ⇒ Array<Role>
16 17 18 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/compute_profile.rb', line 16 def roles @roles end |
Class Method Details
.mapper ⇒ Object
Mapper for ComputeProfile class as Ruby Hash. This will be used for serialization/deserialization.
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 49 50 51 52 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/compute_profile.rb', line 23 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ComputeProfile', type: { name: 'Composite', class_name: 'ComputeProfile', model_properties: { roles: { client_side_validation: true, required: false, serialized_name: 'roles', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RoleElementType', type: { name: 'Composite', class_name: 'Role' } } } } } } } end |