Sha256: 41ceb2e16e2239971d05685c31c9ce4459941db825663f6c8d23b1b382e81ae4

Contents?: true

Size: 1.91 KB

Versions: 1

Compression:

Stored size: 1.91 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::ARM::Monitor
  module Models
    #
    # The diagnostic settings category resource.
    #
    class DiagnosticSettingsCategoryResource < ProxyOnlyResource

      include MsRestAzure

      include MsRest::JSONable
      # @return [CategoryType] The type of the diagnostic settings category.
      # Possible values include: 'Metrics', 'Logs'
      attr_accessor :category_type


      #
      # Mapper for DiagnosticSettingsCategoryResource class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'DiagnosticSettingsCategoryResource',
          type: {
            name: 'Composite',
            class_name: 'DiagnosticSettingsCategoryResource',
            model_properties: {
              id: {
                required: false,
                read_only: true,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              name: {
                required: false,
                read_only: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              type: {
                required: false,
                read_only: true,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              category_type: {
                required: false,
                serialized_name: 'properties.categoryType',
                type: {
                  name: 'Enum',
                  module: 'CategoryType'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.13.0 lib/generated/azure_mgmt_monitor/models/diagnostic_settings_category_resource.rb