ArmAutomationModelFactory.AutomationUsage 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 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.
Gets or sets the usage counter name.
- unit
- String
Gets or sets the usage unit name.
- throttleStatus
- String
Gets or sets the throttle status.
Returns
A new AutomationUsage instance for mocking.