Compartilhar via


ArmSqlModelFactory.InstancePoolUsage Method

Definition

Initializes a new instance of InstancePoolUsage.

public static Azure.ResourceManager.Sql.Models.InstancePoolUsage InstancePoolUsage (Azure.Core.ResourceIdentifier id = default, Azure.ResourceManager.Sql.Models.InstancePoolUsageName name = default, Azure.Core.ResourceType? resourceType = default, string unit = default, int? currentValue = default, int? limit = default, int? requestedLimit = default);
static member InstancePoolUsage : Azure.Core.ResourceIdentifier * Azure.ResourceManager.Sql.Models.InstancePoolUsageName * Nullable<Azure.Core.ResourceType> * string * Nullable<int> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.Sql.Models.InstancePoolUsage
Public Shared Function InstancePoolUsage (Optional id As ResourceIdentifier = Nothing, Optional name As InstancePoolUsageName = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional unit As String = Nothing, Optional currentValue As Nullable(Of Integer) = Nothing, Optional limit As Nullable(Of Integer) = Nothing, Optional requestedLimit As Nullable(Of Integer) = Nothing) As InstancePoolUsage

Parameters

id
ResourceIdentifier

Resource ID.

name
InstancePoolUsageName

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

unit
String

Usage unit.

currentValue
Nullable<Int32>

Usage current value.

limit
Nullable<Int32>

Usage limit.

requestedLimit
Nullable<Int32>

Usage requested limit.

Returns

A new InstancePoolUsage instance for mocking.

Applies to