Sha256: 89534fd4ab7d0667a16e3cc6765d773e2c39d367bdb136568918168eca794e3b

Contents?: true

Size: 1.61 KB

Versions: 4

Compression:

Stored size: 1.61 KB

Contents

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

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

      include MsRestAzure

      # @return [DiagnosticsLevel] Level of tracing to be used: 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] Moment of time after which diagnostics are no
      # longer collected. 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

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_machine_learning-0.7.0 lib/generated/azure_mgmt_machine_learning/models/diagnostics_configuration.rb
azure_mgmt_machine_learning-0.6.0 lib/generated/azure_mgmt_machine_learning/models/diagnostics_configuration.rb
azure_mgmt_machine_learning-0.5.0 lib/generated/azure_mgmt_machine_learning/models/diagnostics_configuration.rb
azure_mgmt_machine_learning-0.4.0 lib/generated/azure_mgmt_machine_learning/models/diagnostics_configuration.rb