Delen via


ArmSelfHelpModelFactory.MetricsBasedChart Method

Definition

Initializes a new instance of MetricsBasedChart.

public static Azure.ResourceManager.SelfHelp.Models.MetricsBasedChart MetricsBasedChart (string name = default, Azure.ResourceManager.SelfHelp.Models.ChartAggregationType? aggregationType = default, TimeSpan? timeSpanDuration = default, string title = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SelfHelp.Models.SelfHelpFilter> filter = default, string replacementKey = default);
static member MetricsBasedChart : string * Nullable<Azure.ResourceManager.SelfHelp.Models.ChartAggregationType> * Nullable<TimeSpan> * string * seq<Azure.ResourceManager.SelfHelp.Models.SelfHelpFilter> * string -> Azure.ResourceManager.SelfHelp.Models.MetricsBasedChart
Public Shared Function MetricsBasedChart (Optional name As String = Nothing, Optional aggregationType As Nullable(Of ChartAggregationType) = Nothing, Optional timeSpanDuration As Nullable(Of TimeSpan) = Nothing, Optional title As String = Nothing, Optional filter As IEnumerable(Of SelfHelpFilter) = Nothing, Optional replacementKey As String = Nothing) As MetricsBasedChart

Parameters

name
String

Chart name.

aggregationType
Nullable<ChartAggregationType>

Allowed values are Sum, Avg, Count, Min, Max. Default is Sum.

timeSpanDuration
Nullable<TimeSpan>

Time span duration.

title
String

Chart title.

filter
IEnumerable<SelfHelpFilter>

Filter group.

replacementKey
String

Place holder used in HTML Content replace control with the content.

Returns

A new MetricsBasedChart instance for mocking.

Applies to