ArmSqlModelFactory.SqlMetricAvailability(String, String) 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 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.