Compartilhar via


ArmSqlModelFactory.SqlMetricAvailability(String, String) Method

Definition

Initializes a new instance of SqlMetricAvailability.

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

Parameters

retention
String

The length of retention for the database metric.

timeGrain
String

The granularity of the database metric.

Returns

A new SqlMetricAvailability instance for mocking.

Applies to