Class: Azure::MachineLearningServices::Mgmt::V2019_05_01::Models::AmlComputeProperties

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#allocation_stateAllocationState

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’

Returns:



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_timeDateTime

the compute entered its current allocation state.

Returns:

  • (DateTime)

    Allocation state transition time. The time at which



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_countInteger

currently assigned to the compute.

Returns:

  • (Integer)

    Current node count. The number of compute nodes



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

#errorsArray<MachineLearningServiceError>

errors encountered by various compute nodes during node setup.

Returns:



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_countsNodeStateCounts

states on the compute.

Returns:



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_settingsScaleSettings

Returns Scale settings for AML Compute.

Returns:



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

#subnetResourceId

compute nodes belong to.

Returns:

  • (ResourceId)

    Subnet. Virtual network subnet resource ID the



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_countInteger

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.

Returns:

  • (Integer)

    Target node count. The target number of compute nodes



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_credentialsUserAccountCredentials

for an administrator user account that will be created on each compute node.

Returns:



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
end

#vm_priorityVmPriority

‘Dedicated’, ‘LowPriority’

Returns:

  • (VmPriority)

    Virtual Machine priority. Possible values include:



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_sizeString

Returns Virtual Machine Size.

Returns:

  • (String)

    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

.mapperObject

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