ArmSqlModelFactory.InstancePoolUsage 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 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
Resource ID.
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- unit
- String
Usage unit.
Returns
A new InstancePoolUsage instance for mocking.