Sha256: 604de21f516599812bd8317a9b6b6c550dc72df2124d3d2510a035d752004099

Contents?: true

Size: 1.65 KB

Versions: 2

Compression:

Stored size: 1.65 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::MachineLearning::Mgmt::V2017_01_01
  module Models
    #
    # Diagnostics settings for an Azure ML web service.
    #
    class DiagnosticsConfiguration

      include MsRestAzure

      # @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'
      attr_accessor :level

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


      #
      # Mapper for DiagnosticsConfiguration class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'DiagnosticsConfiguration',
          type: {
            name: 'Composite',
            class_name: 'DiagnosticsConfiguration',
            model_properties: {
              level: {
                required: true,
                serialized_name: 'level',
                type: {
                  name: 'String'
                }
              },
              expiry: {
                required: false,
                serialized_name: 'expiry',
                type: {
                  name: 'DateTime'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_machine_learning-0.15.1 lib/2017-01-01/generated/azure_mgmt_machine_learning/models/diagnostics_configuration.rb
azure_mgmt_machine_learning-0.15.0 lib/2017-01-01/generated/azure_mgmt_machine_learning/models/diagnostics_configuration.rb