ArmSelfHelpModelFactory.MetricsBasedChart Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET