共用方式為


ArmCdnModelFactory.MetricsResponse Method

Definition

Initializes a new instance of MetricsResponse.

public static Azure.ResourceManager.Cdn.Models.MetricsResponse MetricsResponse (DateTimeOffset? dateTimeBegin = default, DateTimeOffset? dateTimeEnd = default, Azure.ResourceManager.Cdn.Models.MetricsResponseGranularity? granularity = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.MetricsResponseSeriesItem> series = default);
static member MetricsResponse : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Cdn.Models.MetricsResponseGranularity> * seq<Azure.ResourceManager.Cdn.Models.MetricsResponseSeriesItem> -> Azure.ResourceManager.Cdn.Models.MetricsResponse
Public Shared Function MetricsResponse (Optional dateTimeBegin As Nullable(Of DateTimeOffset) = Nothing, Optional dateTimeEnd As Nullable(Of DateTimeOffset) = Nothing, Optional granularity As Nullable(Of MetricsResponseGranularity) = Nothing, Optional series As IEnumerable(Of MetricsResponseSeriesItem) = Nothing) As MetricsResponse

Parameters

dateTimeBegin
Nullable<DateTimeOffset>
dateTimeEnd
Nullable<DateTimeOffset>

Returns

A new MetricsResponse instance for mocking.

Applies to