Class: Azure::MachineLearningServices::Mgmt::V2019_05_01::Models::AmlComputeProperties
- Inherits:
-
Object
- Object
- Azure::MachineLearningServices::Mgmt::V2019_05_01::Models::AmlComputeProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_properties.rb
Overview
AML Compute properties
Instance Attribute Summary collapse
-
#allocation_state ⇒ AllocationState
compute.
-
#allocation_state_transition_time ⇒ DateTime
the compute entered its current allocation state.
-
#current_node_count ⇒ Integer
currently assigned to the compute.
-
#errors ⇒ Array<MachineLearningServiceError>
errors encountered by various compute nodes during node setup.
-
#node_state_counts ⇒ NodeStateCounts
states on the compute.
-
#scale_settings ⇒ ScaleSettings
Scale settings for AML Compute.
-
#subnet ⇒ ResourceId
compute nodes belong to.
-
#target_node_count ⇒ Integer
for the compute.
-
#user_account_credentials ⇒ UserAccountCredentials
for an administrator user account that will be created on each compute node.
-
#vm_priority ⇒ VmPriority
‘Dedicated’, ‘LowPriority’.
-
#vm_size ⇒ String
Virtual Machine Size.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AmlComputeProperties class as Ruby Hash.
Instance Attribute Details
#allocation_state ⇒ AllocationState
compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute. Possible values include: ‘Steady’, ‘Resizing’
42 43 44 |
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_properties.rb', line 42 def allocation_state @allocation_state end |
#allocation_state_transition_time ⇒ DateTime
the compute entered its current allocation state.
46 47 48 |
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_properties.rb', line 46 def allocation_state_transition_time @allocation_state_transition_time end |
#current_node_count ⇒ Integer
currently assigned to the compute.
54 55 56 |
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_properties.rb', line 54 def current_node_count @current_node_count end |
#errors ⇒ Array<MachineLearningServiceError>
errors encountered by various compute nodes during node setup.
50 51 52 |
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_properties.rb', line 50 def errors @errors end |
#node_state_counts ⇒ NodeStateCounts
states on the compute.
65 66 67 |
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_properties.rb', line 65 def node_state_counts @node_state_counts end |
#scale_settings ⇒ ScaleSettings
Returns Scale settings for AML Compute.
23 24 25 |
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_properties.rb', line 23 def scale_settings @scale_settings end |
#subnet ⇒ ResourceId
compute nodes belong to.
32 33 34 |
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_properties.rb', line 32 def subnet @subnet end |
#target_node_count ⇒ Integer
for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation.
61 62 63 |
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_properties.rb', line 61 def target_node_count @target_node_count end |
#user_account_credentials ⇒ UserAccountCredentials
for an administrator user account that will be created on each compute node.
28 29 30 |
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_properties.rb', line 28 def user_account_credentials @user_account_credentials end |
#vm_priority ⇒ VmPriority
‘Dedicated’, ‘LowPriority’
20 21 22 |
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_properties.rb', line 20 def vm_priority @vm_priority end |
#vm_size ⇒ String
Returns Virtual Machine Size.
16 17 18 |
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_properties.rb', line 16 def vm_size @vm_size end |
Class Method Details
.mapper ⇒ Object
Mapper for AmlComputeProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/aml_compute_properties.rb', line 72 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AmlCompute_properties', type: { name: 'Composite', class_name: 'AmlComputeProperties', model_properties: { vm_size: { client_side_validation: true, required: false, serialized_name: 'vmSize', type: { name: 'String' } }, vm_priority: { client_side_validation: true, required: false, serialized_name: 'vmPriority', type: { name: 'String' } }, scale_settings: { client_side_validation: true, required: false, serialized_name: 'scaleSettings', type: { name: 'Composite', class_name: 'ScaleSettings' } }, user_account_credentials: { client_side_validation: true, required: false, serialized_name: 'userAccountCredentials', type: { name: 'Composite', class_name: 'UserAccountCredentials' } }, subnet: { client_side_validation: true, required: false, serialized_name: 'subnet', type: { name: 'Composite', class_name: 'ResourceId' } }, allocation_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'allocationState', type: { name: 'String' } }, allocation_state_transition_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'allocationStateTransitionTime', type: { name: 'DateTime' } }, errors: { client_side_validation: true, required: false, read_only: true, serialized_name: 'errors', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'MachineLearningServiceErrorElementType', type: { name: 'Composite', class_name: 'MachineLearningServiceError' } } } }, current_node_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'currentNodeCount', type: { name: 'Number' } }, target_node_count: { client_side_validation: true, required: false, read_only: true, serialized_name: 'targetNodeCount', type: { name: 'Number' } }, node_state_counts: { client_side_validation: true, required: false, read_only: true, serialized_name: 'nodeStateCounts', type: { name: 'Composite', class_name: 'NodeStateCounts' } } } } } end |