Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterDefinition
- Inherits:
-
Object
- Object
- Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ClusterDefinition
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_definition.rb
Overview
The cluster definition.
Instance Attribute Summary collapse
-
#blueprint ⇒ String
The link to the blueprint.
-
#component_version ⇒ Hash{String => String}
the cluster.
-
#configurations ⇒ Object
The cluster configurations.
-
#kind ⇒ String
The type of cluster.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ClusterDefinition class as Ruby Hash.
Instance Attribute Details
#blueprint ⇒ String
Returns The link to the blueprint.
16 17 18 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_definition.rb', line 16 def blueprint @blueprint end |
#component_version ⇒ Hash{String => String}
the cluster.
23 24 25 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_definition.rb', line 23 def component_version @component_version end |
#configurations ⇒ Object
Returns The cluster configurations.
26 27 28 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_definition.rb', line 26 def configurations @configurations end |
#kind ⇒ String
Returns The type of cluster.
19 20 21 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_definition.rb', line 19 def kind @kind end |
Class Method Details
.mapper ⇒ Object
Mapper for ClusterDefinition class as Ruby Hash. This will be used for serialization/deserialization.
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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/cluster_definition.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ClusterDefinition', type: { name: 'Composite', class_name: 'ClusterDefinition', model_properties: { blueprint: { client_side_validation: true, required: false, serialized_name: 'blueprint', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'String' } }, component_version: { client_side_validation: true, required: false, serialized_name: 'componentVersion', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, configurations: { client_side_validation: true, required: false, serialized_name: 'configurations', type: { name: 'Object' } } } } } end |