Dela via


ArmStorageCacheModelFactory.StorageCacheUsage Method

Definition

Initializes a new instance of StorageCacheUsage.

public static Azure.ResourceManager.StorageCache.Models.StorageCacheUsage StorageCacheUsage (int? limit = default, string unit = default, int? currentValue = default, Azure.ResourceManager.StorageCache.Models.StorageCacheUsageName name = default);
static member StorageCacheUsage : Nullable<int> * string * Nullable<int> * Azure.ResourceManager.StorageCache.Models.StorageCacheUsageName -> Azure.ResourceManager.StorageCache.Models.StorageCacheUsage
Public Shared Function StorageCacheUsage (Optional limit As Nullable(Of Integer) = Nothing, Optional unit As String = Nothing, Optional currentValue As Nullable(Of Integer) = Nothing, Optional name As StorageCacheUsageName = Nothing) As StorageCacheUsage

Parameters

limit
Nullable<Int32>

The limit (quota) for this resource.

unit
String

Unit that the limit and usages are expressed in, such as 'Count'.

currentValue
Nullable<Int32>

The current usage of this resource.

name
StorageCacheUsageName

Naming information for this resource type.

Returns

A new StorageCacheUsage instance for mocking.

Applies to