Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::Watchlist

Inherits:
ResourceWithEtag
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb

Overview

Represents a Watchlist in Azure Security Insights.

Instance Attribute Summary collapse

Attributes inherited from ResourceWithEtag

#etag, #id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#created_byUserInfo

Returns Describes a user that created the watchlist.

Returns:

  • (UserInfo)

    Describes a user that created the watchlist



19
20
21
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb', line 19

def created_by
  @created_by
end

#created_time_utcDateTime

Returns The time the watchlist was created.

Returns:

  • (DateTime)

    The time the watchlist was created



16
17
18
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb', line 16

def created_time_utc
  @created_time_utc
end

#default_durationDuration

duration format)

Returns:

  • (Duration)

    The default duration of a watchlist (in ISO 8601



57
58
59
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb', line 57

def default_duration
  @default_duration
end

#descriptionString

Returns A description of the watchlist.

Returns:

  • (String)

    A description of the watchlist



35
36
37
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb', line 35

def description
  @description
end

#display_nameString

Returns The display name of the watchlist.

Returns:

  • (String)

    The display name of the watchlist



22
23
24
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb', line 22

def display_name
  @display_name
end

#labelsArray<String>

Returns List of labels relevant to this watchlist.

Returns:

  • (Array<String>)

    List of labels relevant to this watchlist



44
45
46
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb', line 44

def labels
  @labels
end

#last_updated_time_utcDateTime

Returns The last time the watchlist was updated.

Returns:

  • (DateTime)

    The last time the watchlist was updated



50
51
52
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb', line 50

def last_updated_time_utc
  @last_updated_time_utc
end

#notesString

Returns The notes of the watchlist.

Returns:

  • (String)

    The notes of the watchlist



47
48
49
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb', line 47

def notes
  @notes
end

#providerString

Returns The provider of the watchlist.

Returns:

  • (String)

    The provider of the watchlist



32
33
34
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb', line 32

def provider
  @provider
end

#sourceSource

‘Local file’, ‘Remote storage’

Returns:

  • (Source)

    The source of the watchlist. Possible values include:



29
30
31
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb', line 29

def source
  @source
end

#tenant_idString

Returns The tenantId where the watchlist belongs to.

Returns:

  • (String)

    The tenantId where the watchlist belongs to.



38
39
40
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb', line 38

def tenant_id
  @tenant_id
end

#updated_byUserInfo

Returns Describes a user that updated the watchlist.

Returns:

  • (UserInfo)

    Describes a user that updated the watchlist



53
54
55
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb', line 53

def updated_by
  @updated_by
end

#watchlist_itemsArray<WatchlistItem>

Returns List of watchlist items.

Returns:



60
61
62
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb', line 60

def watchlist_items
  @watchlist_items
end

#watchlist_typeString

Returns The type of the watchlist.

Returns:

  • (String)

    The type of the watchlist



25
26
27
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb', line 25

def watchlist_type
  @watchlist_type
end

#workspace_idString

Returns The workspaceId where the watchlist belongs to.

Returns:

  • (String)

    The workspaceId where the watchlist belongs to.



41
42
43
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/watchlist.rb', line 41

def workspace_id
  @workspace_id
end

Class Method Details

.mapperObject

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



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
# 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