class Azure::MachineLearningServices::Mgmt::V2018_11_19::Models::Compute
Machine Learning compute object.
Attributes
@return [String] Location for the underlying compute
@return [DateTime] The date and time when the compute was created.
@return [String] The description of the Machine Learning compute.
@return [Boolean] Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.
@return [DateTime] The date and time when the compute was last modified.
@return [Array<MachineLearningServiceError>] Errors during provisioning
@return [ProvisioningState] The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed. Possible values include: 'Unknown', 'Updating', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
@return [String] ARM resource id of the underlying compute
Public Class Methods
Mapper for Compute
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/compute.rb, line 65 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Compute', type: { name: 'Composite', polymorphic_discriminator: 'computeType', uber_parent: 'Compute', class_name: 'Compute', model_properties: { compute_location: { client_side_validation: true, required: false, serialized_name: 'computeLocation', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'provisioningState', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'description', type: { name: 'String' } }, created_on: { client_side_validation: true, required: false, read_only: true, serialized_name: 'createdOn', type: { name: 'DateTime' } }, modified_on: { client_side_validation: true, required: false, read_only: true, serialized_name: 'modifiedOn', type: { name: 'DateTime' } }, resource_id: { client_side_validation: true, required: false, serialized_name: 'resourceId', type: { name: 'String' } }, provisioning_errors: { client_side_validation: true, required: false, read_only: true, serialized_name: 'provisioningErrors', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'MachineLearningServiceErrorElementType', type: { name: 'Composite', class_name: 'MachineLearningServiceError' } } } }, is_attached_compute: { client_side_validation: true, required: false, read_only: true, serialized_name: 'isAttachedCompute', type: { name: 'Boolean' } } } } } end
# File lib/2018-11-19/generated/azure_mgmt_machine_learning_services/models/compute.rb, line 24 def initialize @computeType = "Compute" end