class Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::AccountEntity

Represents an account entity.

Attributes

aad_tenant_id[RW]

@return [String] The Azure Active Directory tenant id.

aad_user_id[RW]

@return [String] The Azure Active Directory user id.

account_name[RW]

@return [String] The name of the account. This field should hold only the name without any domain added to it, i.e. administrator.

additional_data[RW]

@return A bag of custom fields that should be part of the entity and will be presented to the user.

display_name[RW]

@return [String] The display name of the account.

dns_domain[RW]

@return [String] The fully qualified domain DNS name.

friendly_name[RW]

@return [String] The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated.

host_entity_id[RW]

@return [String] The Host entity id that contains the account in case it is a local account (not domain joined)

is_domain_joined[RW]

@return [Boolean] Determines whether this is a domain account.

kind[RW]
nt_domain[RW]

@return [String] The NetBIOS domain name as it appears in the alert format – domainusername. Examples: NT AUTHORITY.

object_guid[RW]

@return The objectGUID attribute is a single-value attribute that is the unique identifier for the object, assigned by active directory.

puid[RW]

@return [String] The Azure Active Directory Passport User ID.

sid[RW]

@return [String] The account security identifier, e.g. S-1-5-18.

upn_suffix[RW]

@return [String] The user principal name suffix for the account, in some cases it is also the domain name. Examples: contoso.com.

Public Class Methods

mapper() click to toggle source

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

# 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
new() click to toggle source
# File lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/account_entity.rb, line 16
def initialize
  @kind = "Account"
end