ArmStorageModelFactory.StorageUsage 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 StorageUsage.
public static Azure.ResourceManager.Storage.Models.StorageUsage StorageUsage (Azure.ResourceManager.Storage.Models.StorageUsageUnit? unit = default, int? currentValue = default, int? limit = default, Azure.ResourceManager.Storage.Models.StorageUsageName name = default);
static member StorageUsage : Nullable<Azure.ResourceManager.Storage.Models.StorageUsageUnit> * Nullable<int> * Nullable<int> * Azure.ResourceManager.Storage.Models.StorageUsageName -> Azure.ResourceManager.Storage.Models.StorageUsage
Public Shared Function StorageUsage (Optional unit As Nullable(Of StorageUsageUnit) = Nothing, Optional currentValue As Nullable(Of Integer) = Nothing, Optional limit As Nullable(Of Integer) = Nothing, Optional name As StorageUsageName = Nothing) As StorageUsage
Parameters
- unit
- Nullable<StorageUsageUnit>
Gets the unit of measurement.
Gets the maximum count of the resources that can be allocated in the subscription.
- name
- StorageUsageName
Gets the name of the type of usage.
Returns
A new StorageUsage instance for mocking.