ArmCdnModelFactory.MetricsResponse 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 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>
- granularity
- Nullable<MetricsResponseGranularity>
- series
- IEnumerable<MetricsResponseSeriesItem>
Returns
A new MetricsResponse instance for mocking.