class Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsConfiguration

Diagnostics settings for an Azure ML web service.

Attributes

expiry[RW]

@return [DateTime] Specifies the date and time when the logging will cease. If null, diagnostic collection is not time limited.

level[RW]

@return [DiagnosticsLevel] Specifies the verbosity of the diagnostic output. Valid values are: None - disables tracing; Error - collects only error (stderr) traces; All - collects all traces (stdout and stderr). Possible values include: 'None', 'Error', 'All'

Private Class Methods

mapper() click to toggle source

Mapper for DiagnosticsConfiguration class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-01-01/generated/azure_mgmt_machine_learning/models/diagnostics_configuration.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DiagnosticsConfiguration',
    type: {
      name: 'Composite',
      class_name: 'DiagnosticsConfiguration',
      model_properties: {
        level: {
          client_side_validation: true,
          required: true,
          serialized_name: 'level',
          type: {
            name: 'String'
          }
        },
        expiry: {
          client_side_validation: true,
          required: false,
          serialized_name: 'expiry',
          type: {
            name: 'DateTime'
          }
        }
      }
    }
  }
end