共用方式為


ArmSqlModelFactory.MaxSizeCapability Method

Definition

Initializes a new instance of MaxSizeCapability.

public static Azure.ResourceManager.Sql.Models.MaxSizeCapability MaxSizeCapability (int? limit = default, Azure.ResourceManager.Sql.Models.MaxSizeUnit? unit = default);
static member MaxSizeCapability : Nullable<int> * Nullable<Azure.ResourceManager.Sql.Models.MaxSizeUnit> -> Azure.ResourceManager.Sql.Models.MaxSizeCapability
Public Shared Function MaxSizeCapability (Optional limit As Nullable(Of Integer) = Nothing, Optional unit As Nullable(Of MaxSizeUnit) = Nothing) As MaxSizeCapability

Parameters

limit
Nullable<Int32>

The maximum size limit (see 'unit' for the units).

unit
Nullable<MaxSizeUnit>

The units that the limit is expressed in.

Returns

A new MaxSizeCapability instance for mocking.

Applies to