Share via


ArmCosmosDBModelFactory.CosmosDBMetricName(String, String) Method

Definition

Initializes a new instance of CosmosDBMetricName.

public static Azure.ResourceManager.CosmosDB.Models.CosmosDBMetricName CosmosDBMetricName (string value = default, string localizedValue = default);
static member CosmosDBMetricName : string * string -> Azure.ResourceManager.CosmosDB.Models.CosmosDBMetricName
Public Shared Function CosmosDBMetricName (Optional value As String = Nothing, Optional localizedValue As String = Nothing) As CosmosDBMetricName

Parameters

value
String

The name of the metric.

localizedValue
String

The friendly name of the metric.

Returns

A new CosmosDBMetricName instance for mocking.

Applies to