Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Role
- Inherits:
-
Object
- Object
- Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::Role
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb
Overview
Describes a role on the cluster.
Instance Attribute Summary collapse
-
#autoscale_configuration ⇒ Autoscale
The autoscale configurations.
-
#data_disks_groups ⇒ Array<DataDisksGroups>
The data disks groups for the role.
-
#encrypt_data_disks ⇒ Boolean
Indicates whether encrypt the data disks.
-
#hardware_profile ⇒ HardwareProfile
The hardware profile.
-
#min_instance_count ⇒ Integer
The minimum instance count of the cluster.
-
#name ⇒ String
The name of the role.
-
#os_profile ⇒ OsProfile
The operating system profile.
-
#script_actions ⇒ Array<ScriptAction>
The list of script actions on the role.
-
#target_instance_count ⇒ Integer
The instance count of the cluster.
-
#virtual_network_profile ⇒ VirtualNetworkProfile
The virtual network profile.
-
#vmgroup_name ⇒ String
The name of the virtual machine group.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Role class as Ruby Hash.
Instance Attribute Details
#autoscale_configuration ⇒ Autoscale
Returns The autoscale configurations.
28 29 30 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb', line 28 def autoscale_configuration @autoscale_configuration end |
#data_disks_groups ⇒ Array<DataDisksGroups>
Returns The data disks groups for the role.
40 41 42 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb', line 40 def data_disks_groups @data_disks_groups end |
#encrypt_data_disks ⇒ Boolean
Returns Indicates whether encrypt the data disks.
46 47 48 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb', line 46 def encrypt_data_disks @encrypt_data_disks end |
#hardware_profile ⇒ HardwareProfile
Returns The hardware profile.
31 32 33 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb', line 31 def hardware_profile @hardware_profile end |
#min_instance_count ⇒ Integer
Returns The minimum instance count of the cluster.
19 20 21 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb', line 19 def min_instance_count @min_instance_count end |
#name ⇒ String
Returns The name of the role.
16 17 18 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb', line 16 def name @name end |
#os_profile ⇒ OsProfile
Returns The operating system profile.
34 35 36 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb', line 34 def os_profile @os_profile end |
#script_actions ⇒ Array<ScriptAction>
Returns The list of script actions on the role.
43 44 45 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb', line 43 def script_actions @script_actions end |
#target_instance_count ⇒ Integer
Returns The instance count of the cluster.
22 23 24 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb', line 22 def target_instance_count @target_instance_count end |
#virtual_network_profile ⇒ VirtualNetworkProfile
Returns The virtual network profile.
37 38 39 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb', line 37 def virtual_network_profile @virtual_network_profile end |
#vmgroup_name ⇒ String
Returns The name of the virtual machine group.
25 26 27 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb', line 25 def vmgroup_name @vmgroup_name end |
Class Method Details
.mapper ⇒ Object
Mapper for Role class as Ruby Hash. This will be used for serialization/deserialization.
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 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/role.rb', line 53 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Role', type: { name: 'Composite', class_name: 'Role', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, min_instance_count: { client_side_validation: true, required: false, serialized_name: 'minInstanceCount', type: { name: 'Number' } }, target_instance_count: { client_side_validation: true, required: false, serialized_name: 'targetInstanceCount', type: { name: 'Number' } }, vmgroup_name: { client_side_validation: true, required: false, serialized_name: 'VMGroupName', type: { name: 'String' } }, autoscale_configuration: { client_side_validation: true, required: false, serialized_name: 'autoscale', type: { name: 'Composite', class_name: 'Autoscale' } }, hardware_profile: { client_side_validation: true, required: false, serialized_name: 'hardwareProfile', type: { name: 'Composite', class_name: 'HardwareProfile' } }, os_profile: { client_side_validation: true, required: false, serialized_name: 'osProfile', type: { name: 'Composite', class_name: 'OsProfile' } }, virtual_network_profile: { client_side_validation: true, required: false, serialized_name: 'virtualNetworkProfile', type: { name: 'Composite', class_name: 'VirtualNetworkProfile' } }, data_disks_groups: { client_side_validation: true, required: false, serialized_name: 'dataDisksGroups', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'DataDisksGroupsElementType', type: { name: 'Composite', class_name: 'DataDisksGroups' } } } }, script_actions: { client_side_validation: true, required: false, serialized_name: 'scriptActions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ScriptActionElementType', type: { name: 'Composite', class_name: 'ScriptAction' } } } }, encrypt_data_disks: { client_side_validation: true, required: false, serialized_name: 'encryptDataDisks', type: { name: 'Boolean' } } } } } end |