ArmSqlModelFactory.SubscriptionUsageData 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 SubscriptionUsageData.
public static Azure.ResourceManager.Sql.SubscriptionUsageData SubscriptionUsageData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, double? currentValue = default, double? limit = default, string unit = default);
static member SubscriptionUsageData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<double> * Nullable<double> * string -> Azure.ResourceManager.Sql.SubscriptionUsageData
Public Shared Function SubscriptionUsageData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional currentValue As Nullable(Of Double) = Nothing, Optional limit As Nullable(Of Double) = Nothing, Optional unit As String = Nothing) As SubscriptionUsageData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- displayName
- String
User-readable name of the metric.
- unit
- String
Unit of the metric.
Returns
A new SubscriptionUsageData instance for mocking.