ArmAutomationModelFactory.AutomationUsage Method

Definition

Initializes a new instance of AutomationUsage.

public static Azure.ResourceManager.Automation.Models.AutomationUsage AutomationUsage (string id = default, Azure.ResourceManager.Automation.Models.AutomationUsageCounterName name = default, string unit = default, double? currentValue = default, long? limit = default, string throttleStatus = default);
static member AutomationUsage : string * Azure.ResourceManager.Automation.Models.AutomationUsageCounterName * string * Nullable<double> * Nullable<int64> * string -> Azure.ResourceManager.Automation.Models.AutomationUsage
Public Shared Function AutomationUsage (Optional id As String = Nothing, Optional name As AutomationUsageCounterName = Nothing, Optional unit As String = Nothing, Optional currentValue As Nullable(Of Double) = Nothing, Optional limit As Nullable(Of Long) = Nothing, Optional throttleStatus As String = Nothing) As AutomationUsage

Parameters

id
String

Gets or sets the id of the resource.

name
AutomationUsageCounterName

Gets or sets the usage counter name.

unit
String

Gets or sets the usage unit name.

currentValue
Nullable<Double>

Gets or sets the current usage value.

limit
Nullable<Int64>

Gets or sets max limit. -1 for unlimited.

throttleStatus
String

Gets or sets the throttle status.

Returns

A new AutomationUsage instance for mocking.

Applies to