Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::ProcessEntity

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

Overview

Represents a process entity.

Instance Attribute Summary collapse

Attributes inherited from Entity

#id, #name, #type

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeProcessEntity

Returns a new instance of ProcessEntity.



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

def initialize
  @kind = "Process"
end

Instance Attribute Details

#account_entity_idString

Returns The account entity id running the processes.

Returns:

  • (String)

    The account entity id running the processes.



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

def 
  @account_entity_id
end

#additional_dataObject

will be presented to the user.

Returns:

  • A bag of custom fields that should be part of the entity and



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

def additional_data
  @additional_data
end

#command_lineString

Returns The command line used to create the process.

Returns:

  • (String)

    The command line used to create the process



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

def command_line
  @command_line
end

#creation_time_utcDateTime

Returns The time when the process started to run.

Returns:

  • (DateTime)

    The time when the process started to run



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

def creation_time_utc
  @creation_time_utc
end

#elevation_tokenElevationToken

process. Possible values include: ‘Default’, ‘Full’, ‘Limited’

Returns:



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

def elevation_token
  @elevation_token
end

#friendly_nameString

readable description of the graph item instance. This property is optional and might be system generated.

Returns:

  • (String)

    The graph item display name which is a short humanly



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

def friendly_name
  @friendly_name
end

#host_entity_idString

Returns The host entity id on which the process was running.

Returns:

  • (String)

    The host entity id on which the process was running



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

def host_entity_id
  @host_entity_id
end

#host_logon_session_entity_idString

Returns The session entity id in which the process was running.

Returns:

  • (String)

    The session entity id in which the process was running



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

def host_logon_session_entity_id
  @host_logon_session_entity_id
end

#image_file_entity_idString

Returns Image file entity id.

Returns:

  • (String)

    Image file entity id



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

def image_file_entity_id
  @image_file_entity_id
end

#kindObject

Returns the value of attribute kind.



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

def kind
  @kind
end

#parent_process_entity_idString

Returns The parent process entity id.

Returns:

  • (String)

    The parent process entity id.



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

def parent_process_entity_id
  @parent_process_entity_id
end

#process_idString

Returns The process ID.

Returns:

  • (String)

    The process ID



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

def process_id
  @process_id
end

Class Method Details

.mapperObject

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



64
65
66
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
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/process_entity.rb', line 64

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Process',
    type: {
      name: 'Composite',
      class_name: 'ProcessEntity',
      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'
          }
        },
        kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        additional_data: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.additionalData',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        friendly_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.friendlyName',
          type: {
            name: 'String'
          }
        },
        account_entity_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.accountEntityId',
          type: {
            name: 'String'
          }
        },
        command_line: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.commandLine',
          type: {
            name: 'String'
          }
        },
        creation_time_utc: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.creationTimeUtc',
          type: {
            name: 'DateTime'
          }
        },
        elevation_token: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.elevationToken',
          type: {
            name: 'Enum',
            module: 'ElevationToken'
          }
        },
        host_entity_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.hostEntityId',
          type: {
            name: 'String'
          }
        },
        host_logon_session_entity_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.hostLogonSessionEntityId',
          type: {
            name: 'String'
          }
        },
        image_file_entity_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.imageFileEntityId',
          type: {
            name: 'String'
          }
        },
        parent_process_entity_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.parentProcessEntityId',
          type: {
            name: 'String'
          }
        },
        process_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.processId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end