Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::AccountEntity

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

Overview

Represents an account entity.

Instance Attribute Summary collapse

Attributes inherited from Entity

#id, #name, #type

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAccountEntity

Returns a new instance of AccountEntity.



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

def initialize
  @kind = "Account"
end

Instance Attribute Details

#aad_tenant_idString

Returns The Azure Active Directory tenant id.

Returns:

  • (String)

    The Azure Active Directory tenant id.



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

def aad_tenant_id
  @aad_tenant_id
end

#aad_user_idString

Returns The Azure Active Directory user id.

Returns:

  • (String)

    The Azure Active Directory user id.



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

def aad_user_id
  @aad_user_id
end

#account_nameString

the name without any domain added to it, i.e. administrator.

Returns:

  • (String)

    The name of the account. This field should hold only



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

def 
  @account_name
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/account_entity.rb', line 24

def additional_data
  @additional_data
end

#display_nameString

Returns The display name of the account.

Returns:

  • (String)

    The display name of the account.



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

def display_name
  @display_name
end

#dns_domainString

Returns The fully qualified domain DNS name.

Returns:

  • (String)

    The fully qualified domain DNS name.



70
71
72
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/account_entity.rb', line 70

def dns_domain
  @dns_domain
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/account_entity.rb', line 29

def friendly_name
  @friendly_name
end

#host_entity_idString

it is a local account (not domain joined)

Returns:

  • (String)

    The Host entity id that contains the account in case



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

def host_entity_id
  @host_entity_id
end

#is_domain_joinedBoolean

Returns Determines whether this is a domain account.

Returns:

  • (Boolean)

    Determines whether this is a domain account.



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

def is_domain_joined
  @is_domain_joined
end

#kindObject

Returns the value of attribute kind.



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

def kind
  @kind
end

#nt_domainString

format – domainusername. Examples: NT AUTHORITY.

Returns:

  • (String)

    The NetBIOS domain name as it appears in the alert



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

def nt_domain
  @nt_domain
end

#object_guidObject

the unique identifier for the object, assigned by active directory.

Returns:

  • The objectGUID attribute is a single-value attribute that is



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

def object_guid
  @object_guid
end

#puidString

Returns The Azure Active Directory Passport User ID.

Returns:

  • (String)

    The Azure Active Directory Passport User ID.



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

def puid
  @puid
end

#sidString

Returns The account security identifier, e.g. S-1-5-18.

Returns:

  • (String)

    The account security identifier, e.g. S-1-5-18.



63
64
65
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/account_entity.rb', line 63

def sid
  @sid
end

#upn_suffixString

some cases it is also the domain name. Examples: contoso.com.

Returns:

  • (String)

    The user principal name suffix for the account, in



67
68
69
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/account_entity.rb', line 67

def upn_suffix
  @upn_suffix
end

Class Method Details

.mapperObject

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



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
254
255
256
257
258
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/account_entity.rb', line 77

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Account',
    type: {
      name: 'Composite',
      class_name: 'AccountEntity',
      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'
          }
        },
        aad_tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.aadTenantId',
          type: {
            name: 'String'
          }
        },
        aad_user_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.aadUserId',
          type: {
            name: 'String'
          }
        },
        account_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.accountName',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.displayName',
          type: {
            name: 'String'
          }
        },
        host_entity_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.hostEntityId',
          type: {
            name: 'String'
          }
        },
        is_domain_joined: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.isDomainJoined',
          type: {
            name: 'Boolean'
          }
        },
        nt_domain: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.ntDomain',
          type: {
            name: 'String'
          }
        },
        object_guid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.objectGuid',
          type: {
            name: 'String'
          }
        },
        puid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.puid',
          type: {
            name: 'String'
          }
        },
        sid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.sid',
          type: {
            name: 'String'
          }
        },
        upn_suffix: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.upnSuffix',
          type: {
            name: 'String'
          }
        },
        dns_domain: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.dnsDomain',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end