class Azure::Monitor::Mgmt::V2015_05_01::Models::ApplicationInsightsComponentFavorite

Properties that define a favorite that is associated to an Application Insights component.

Attributes

category[RW]

@return [String] Favorite category, as defined by the user at creation time.

config[RW]

@return [String] Configuration of this particular favorite, which are driven by the Azure portal UX. Configuration data is a string containing valid JSON

favorite_id[RW]

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

favorite_type[RW]

@return [FavoriteType] Enum indicating if this favorite 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'

is_generated_from_template[RW]

@return [Boolean] Flag denoting wether or not this favorite was generated from a template.

name[RW]

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

source_type[RW]

@return [String] The source of the favorite definition.

tags[RW]

@return [Array<String>] A list of 0 or more tags that are associated with this favorite definition

time_modified[RW]

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

user_id[RW]

@return [String] Unique user id of the specific user that owns this favorite.

version[RW]

@return [String] This instance's version of the data model. This can change as new features are added that can be marked favorite. Current examples include MetricsExplorer (ME) and Search.

Public Class Methods

mapper() click to toggle source

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

# File lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_favorite.rb, line 67
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationInsightsComponentFavorite',
    type: {
      name: 'Composite',
      class_name: 'ApplicationInsightsComponentFavorite',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        config: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Config',
          type: {
            name: 'String'
          }
        },
        version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Version',
          type: {
            name: 'String'
          }
        },
        favorite_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'FavoriteId',
          type: {
            name: 'String'
          }
        },
        favorite_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'FavoriteType',
          type: {
            name: 'Enum',
            module: 'FavoriteType'
          }
        },
        source_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'SourceType',
          type: {
            name: 'String'
          }
        },
        time_modified: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'TimeModified',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Tags',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        category: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Category',
          type: {
            name: 'String'
          }
        },
        is_generated_from_template: {
          client_side_validation: true,
          required: false,
          serialized_name: 'IsGeneratedFromTemplate',
          type: {
            name: 'Boolean'
          }
        },
        user_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'UserId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end