Partilhar via


AnalyticsDefenderEasmModelFactory.AssetSummaryResult Method

Definition

Initializes a new instance of AssetSummaryResult.

public static Azure.Analytics.Defender.Easm.AssetSummaryResult AssetSummaryResult (string displayName = default, string description = default, DateTimeOffset? updatedAt = default, string metricCategory = default, string metric = default, string filter = default, string labelName = default, long? count = default, string link = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Defender.Easm.AssetSummaryResult> children = default);
static member AssetSummaryResult : string * string * Nullable<DateTimeOffset> * string * string * string * string * Nullable<int64> * string * seq<Azure.Analytics.Defender.Easm.AssetSummaryResult> -> Azure.Analytics.Defender.Easm.AssetSummaryResult
Public Shared Function AssetSummaryResult (Optional displayName As String = Nothing, Optional description As String = Nothing, Optional updatedAt As Nullable(Of DateTimeOffset) = Nothing, Optional metricCategory As String = Nothing, Optional metric As String = Nothing, Optional filter As String = Nothing, Optional labelName As String = Nothing, Optional count As Nullable(Of Long) = Nothing, Optional link As String = Nothing, Optional children As IEnumerable(Of AssetSummaryResult) = Nothing) As AssetSummaryResult

Parameters

displayName
String

The name of the summary response. Depending on the request time this will either be the asset filter, risk category, or risk metric.

description
String

The description of the summary response. Filters don't have a description.

updatedAt
Nullable<DateTimeOffset>

The last time risk categories or risk metrics were captured. Set to the current time for asset filter requests, which always pull the live asset data.

metricCategory
String

If the request is for a metric category, this will contain the requested unique category name.

metric
String

If the request is for a metric, this will contain the requested unique metric name.

filter
String

If the request is for an asset filter, this will contain the corresponding filter.

labelName
String

An optional label used to filter requests results.

count
Nullable<Int64>

The count of assets matching the request parameters.

link
String

The link to the corresponding asset details.

children
IEnumerable<AssetSummaryResult>

The corresponding child entities. For metric categories this will contain metrics. For filters with groupBy and segmentBy this will contain facets.

Returns

A new AssetSummaryResult instance for mocking.

Applies to