Share via


SecurityInsightsAccountEntity Class

Definition

Represents an account entity.

public class SecurityInsightsAccountEntity : Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsEntity
public class SecurityInsightsAccountEntity : Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsEntity, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAccountEntity>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsAccountEntity>
type SecurityInsightsAccountEntity = class
    inherit SecurityInsightsEntity
type SecurityInsightsAccountEntity = class
    inherit SecurityInsightsEntity
    interface IJsonModel<SecurityInsightsAccountEntity>
    interface IPersistableModel<SecurityInsightsAccountEntity>
Public Class SecurityInsightsAccountEntity
Inherits SecurityInsightsEntity
Public Class SecurityInsightsAccountEntity
Inherits SecurityInsightsEntity
Implements IJsonModel(Of SecurityInsightsAccountEntity), IPersistableModel(Of SecurityInsightsAccountEntity)
Inheritance
SecurityInsightsAccountEntity
Implements

Constructors

SecurityInsightsAccountEntity()

Initializes a new instance of SecurityInsightsAccountEntity.

Properties

AadTenantId

The Azure Active Directory tenant id.

AadUserId

The Azure Active Directory user id.

AccountName

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

AdditionalData

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

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

DisplayName

The display name of the account.

DnsDomain

The fully qualified domain DNS name.

FriendlyName

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.

HostEntityId

The Host entity id that contains the account in case it is a local account (not domain joined).

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsDomainJoined

Determines whether this is a domain account.

Name

The name of the resource.

(Inherited from ResourceData)
NtDomain

The NetBIOS domain name as it appears in the alert format domain/username. Examples: NT AUTHORITY.

ObjectGuid

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

Puid

The Azure Active Directory Passport User ID.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Sid

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

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
UpnSuffix

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<SecurityInsightsAccountEntity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SecurityInsightsAccountEntity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<SecurityInsightsEntity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from SecurityInsightsEntity)
IJsonModel<SecurityInsightsEntity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from SecurityInsightsEntity)
IPersistableModel<SecurityInsightsAccountEntity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecurityInsightsAccountEntity>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SecurityInsightsAccountEntity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<SecurityInsightsEntity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from SecurityInsightsEntity)
IPersistableModel<SecurityInsightsEntity>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from SecurityInsightsEntity)
IPersistableModel<SecurityInsightsEntity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from SecurityInsightsEntity)

Applies to