Share via


ArmAppServiceModelFactory.ResourceMetricAvailability(String, String) Method

Definition

Initializes a new instance of ResourceMetricAvailability.

public static Azure.ResourceManager.AppService.Models.ResourceMetricAvailability ResourceMetricAvailability (string timeGrain = default, string retention = default);
static member ResourceMetricAvailability : string * string -> Azure.ResourceManager.AppService.Models.ResourceMetricAvailability
Public Shared Function ResourceMetricAvailability (Optional timeGrain As String = Nothing, Optional retention As String = Nothing) As ResourceMetricAvailability

Parameters

timeGrain
String

Time grain .

retention
String

Retention period for the current time grain.

Returns

A new ResourceMetricAvailability instance for mocking.

Applies to