共用方式為


ArmCdnModelFactory.MetricsResponseSeriesItem Method

Definition

Initializes a new instance of MetricsResponseSeriesItem.

public static Azure.ResourceManager.Cdn.Models.MetricsResponseSeriesItem MetricsResponseSeriesItem (string metric = default, Azure.ResourceManager.Cdn.Models.MetricsResponseSeriesItemUnit? unit = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.MetricsResponseSeriesPropertiesItemsItem> groups = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems> data = default);
static member MetricsResponseSeriesItem : string * Nullable<Azure.ResourceManager.Cdn.Models.MetricsResponseSeriesItemUnit> * seq<Azure.ResourceManager.Cdn.Models.MetricsResponseSeriesPropertiesItemsItem> * seq<Azure.ResourceManager.Cdn.Models.Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems> -> Azure.ResourceManager.Cdn.Models.MetricsResponseSeriesItem
Public Shared Function MetricsResponseSeriesItem (Optional metric As String = Nothing, Optional unit As Nullable(Of MetricsResponseSeriesItemUnit) = Nothing, Optional groups As IEnumerable(Of MetricsResponseSeriesPropertiesItemsItem) = Nothing, Optional data As IEnumerable(Of Components1Gs0LlpSchemasMetricsresponsePropertiesSeriesItemsPropertiesDataItems) = Nothing) As MetricsResponseSeriesItem

Parameters

metric
String

Returns

A new MetricsResponseSeriesItem instance for mocking.

Applies to