Sha256: 0a4e42be8951c3fd9ed0fb9dde0b026c51703711776db2aa90c60d803b34ecda

Contents?: true

Size: 1.85 KB

Versions: 6

Compression:

Stored size: 1.85 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::OperationalInsights::Mgmt::V2020_03_01_preview
  module Models
    #
    # Intelligence Pack containing a string name and boolean indicating if it's
    # enabled.
    #
    class IntelligencePack

      include MsRestAzure

      # @return [String] The name of the intelligence pack.
      attr_accessor :name

      # @return [Boolean] The enabled boolean for the intelligence pack.
      attr_accessor :enabled

      # @return [String] The display name of the intelligence pack.
      attr_accessor :display_name


      #
      # Mapper for IntelligencePack class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'IntelligencePack',
          type: {
            name: 'Composite',
            class_name: 'IntelligencePack',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              enabled: {
                client_side_validation: true,
                required: false,
                serialized_name: 'enabled',
                type: {
                  name: 'Boolean'
                }
              },
              display_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'displayName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_operational_insights-0.20.0 lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb
azure_mgmt_operational_insights-0.19.3 lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb
azure_mgmt_operational_insights-0.19.2 lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb
azure_mgmt_operational_insights-0.19.1 lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb
azure_mgmt_operational_insights-0.19.0 lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb
azure_mgmt_operational_insights-0.18.0 lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb