class Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::Watchlist

Represents a Watchlist in Azure Security Insights.

Attributes

created_by[RW]

@return [UserInfo] Describes a user that created the watchlist

created_time_utc[RW]

@return [DateTime] The time the watchlist was created

default_duration[RW]

@return [Duration] The default duration of a watchlist (in ISO 8601 duration format)

description[RW]

@return [String] A description of the watchlist

display_name[RW]

@return [String] The display name of the watchlist

labels[RW]

@return [Array<String>] List of labels relevant to this watchlist

last_updated_time_utc[RW]

@return [DateTime] The last time the watchlist was updated

notes[RW]

@return [String] The notes of the watchlist

provider[RW]

@return [String] The provider of the watchlist

source[RW]

@return [Source] The source of the watchlist. Possible values include: 'Local file', 'Remote storage'

tenant_id[RW]

@return [String] The tenantId where the watchlist belongs to.

updated_by[RW]

@return [UserInfo] Describes a user that updated the watchlist

watchlist_items[RW]

@return [Array<WatchlistItem>] List of watchlist items.

watchlist_type[RW]

@return [String] The type of the watchlist

workspace_id[RW]

@return [String] The workspaceId where the watchlist belongs to.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb, line 67
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Watchlist',
    type: {
      name: 'Composite',
      class_name: 'Watchlist',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        created_time_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.createdTimeUtc',
          type: {
            name: 'DateTime'
          }
        },
        created_by: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.createdBy',
          type: {
            name: 'Composite',
            class_name: 'UserInfo'
          }
        },
        display_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.displayName',
          type: {
            name: 'String'
          }
        },
        watchlist_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.watchlistType',
          type: {
            name: 'String'
          }
        },
        source: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.source',
          type: {
            name: 'String'
          }
        },
        provider: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.provider',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.tenantId',
          type: {
            name: 'String'
          }
        },
        workspace_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.workspaceId',
          type: {
            name: 'String'
          }
        },
        labels: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.labels',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        notes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.notes',
          type: {
            name: 'String'
          }
        },
        last_updated_time_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.lastUpdatedTimeUtc',
          type: {
            name: 'DateTime'
          }
        },
        updated_by: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.updatedBy',
          type: {
            name: 'Composite',
            class_name: 'UserInfo'
          }
        },
        default_duration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.defaultDuration',
          type: {
            name: 'TimeSpan'
          }
        },
        watchlist_items: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.watchlistItems',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'WatchlistItemElementType',
                type: {
                  name: 'Composite',
                  class_name: 'WatchlistItem'
                }
            }
          }
        }
      }
    }
  }
end