class Azure::Monitor::Mgmt::V2015_05_01::Models::ApplicationInsightsComponentAnalyticsItem

Properties that define an Analytics item that is associated to an Application Insights component.

Attributes

content[RW]

@return [String] The content of this item

id[RW]

@return [String] Internally assigned unique id of the item definition.

name[RW]

@return [String] The user-defined name of the item.

properties[RW]

@return [ApplicationInsightsComponentAnalyticsItemProperties]

scope[RW]

@return [ItemScope] Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. Possible values include: 'shared', 'user'

time_created[RW]

@return [String] Date and time in UTC when this item was created.

time_modified[RW]

@return [String] Date and time in UTC of the last modification that was made to this item.

type[RW]

@return [ItemType] Enum indicating the type of the Analytics item. Possible values include: 'query', 'function', 'folder', 'recent'

version[RW]

@return [String] This instance's version of the data model. This can change as new features are added.

Public Class Methods

mapper() click to toggle source

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

# File lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_analytics_item.rb, line 55
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationInsightsComponentAnalyticsItem',
    type: {
      name: 'Composite',
      class_name: 'ApplicationInsightsComponentAnalyticsItem',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        content: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Content',
          type: {
            name: 'String'
          }
        },
        version: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'Version',
          type: {
            name: 'String'
          }
        },
        scope: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Scope',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Type',
          type: {
            name: 'String'
          }
        },
        time_created: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'TimeCreated',
          type: {
            name: 'String'
          }
        },
        time_modified: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'TimeModified',
          type: {
            name: 'String'
          }
        },
        properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Properties',
          type: {
            name: 'Composite',
            class_name: 'ApplicationInsightsComponentAnalyticsItemProperties'
          }
        }
      }
    }
  }
end