Condividi tramite


AssetResource Class

Definition

The items in the current page of results. Please note AssetResource is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AsAssetResource, ContactAssetResource, DomainAssetResource, HostAssetResource, IpAddressAssetResource, IpBlockAssetResource, PageAssetResource and SslCertAssetResource.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Analytics.Defender.Easm.UnknownAssetResource))]
public abstract class AssetResource : System.ClientModel.Primitives.IJsonModel<Azure.Analytics.Defender.Easm.AssetResource>, System.ClientModel.Primitives.IPersistableModel<Azure.Analytics.Defender.Easm.AssetResource>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Analytics.Defender.Easm.UnknownAssetResource))>]
type AssetResource = class
    interface IJsonModel<AssetResource>
    interface IPersistableModel<AssetResource>
Public MustInherit Class AssetResource
Implements IJsonModel(Of AssetResource), IPersistableModel(Of AssetResource)
Inheritance
AssetResource
Derived
Attributes
Implements

Constructors

AssetResource()

Initializes a new instance of AssetResource.

Properties

AuditTrail

The history of how this asset was pulled into the workspace through the discovery process.

CreatedDate

The date this asset was first added to this workspace.

DiscoGroupName

The name of the DiscoGroup that brought added this asset to the workspace.

DisplayName

The name that can be used for display purposes.

ExternalId

An optional customer provided identifier for this asset.

Id

The system generated unique id for the resource.

Labels

Customer labels assigned to this asset.

Name

The caller provided unique name for the resource.

Reason

Gets the reason.

State

Gets the state.

UpdatedDate

The date this asset was last updated for this workspace.

Uuid

Global UUID for the asset.

Wildcard

An indicator of whether this asset represents a wildcard rollup of assets on this domain.

Explicit Interface Implementations

IJsonModel<AssetResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AssetResource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AssetResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AssetResource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AssetResource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to