Share via


ArmRecoveryServicesModelFactory.VaultUsage Method

Definition

Initializes a new instance of VaultUsage.

public static Azure.ResourceManager.RecoveryServices.Models.VaultUsage VaultUsage (Azure.ResourceManager.RecoveryServices.Models.VaultUsageUnit? unit = default, string quotaPeriod = default, DateTimeOffset? nextResetOn = default, long? currentValue = default, long? limit = default, Azure.ResourceManager.RecoveryServices.Models.VaultUsageNameInfo name = default);
static member VaultUsage : Nullable<Azure.ResourceManager.RecoveryServices.Models.VaultUsageUnit> * string * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<int64> * Azure.ResourceManager.RecoveryServices.Models.VaultUsageNameInfo -> Azure.ResourceManager.RecoveryServices.Models.VaultUsage
Public Shared Function VaultUsage (Optional unit As Nullable(Of VaultUsageUnit) = Nothing, Optional quotaPeriod As String = Nothing, Optional nextResetOn As Nullable(Of DateTimeOffset) = Nothing, Optional currentValue As Nullable(Of Long) = Nothing, Optional limit As Nullable(Of Long) = Nothing, Optional name As VaultUsageNameInfo = Nothing) As VaultUsage

Parameters

unit
Nullable<VaultUsageUnit>

Unit of the usage.

quotaPeriod
String

Quota period of usage.

nextResetOn
Nullable<DateTimeOffset>

Next reset time of usage.

currentValue
Nullable<Int64>

Current value of usage.

limit
Nullable<Int64>

Limit of usage.

name
VaultUsageNameInfo

Name of usage.

Returns

A new VaultUsage instance for mocking.

Applies to