ArmBillingModelFactory.SpendingLimitDetails Method

Definition

Initializes a new instance of SpendingLimitDetails.

public static Azure.ResourceManager.Billing.Models.SpendingLimitDetails SpendingLimitDetails (float? amount = default, string currency = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, Azure.ResourceManager.Billing.Models.SpendingLimitType? limitType = default, Azure.ResourceManager.Billing.Models.SpendingLimitStatus? status = default);
static member SpendingLimitDetails : Nullable<single> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Billing.Models.SpendingLimitType> * Nullable<Azure.ResourceManager.Billing.Models.SpendingLimitStatus> -> Azure.ResourceManager.Billing.Models.SpendingLimitDetails
Public Shared Function SpendingLimitDetails (Optional amount As Nullable(Of Single) = Nothing, Optional currency As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional limitType As Nullable(Of SpendingLimitType) = Nothing, Optional status As Nullable(Of SpendingLimitStatus) = Nothing) As SpendingLimitDetails

Parameters

amount
Nullable<Single>

The initial amount for the billing profile.

currency
String

The currency in which the charges for the billing profile are billed.

startOn
Nullable<DateTimeOffset>

The date when this spending limit goes into effect.

endOn
Nullable<DateTimeOffset>

The date when this spending limit is no longer in effect.

limitType
Nullable<SpendingLimitType>

The type of spending limit.

status
Nullable<SpendingLimitStatus>

The status of current spending limit.

Returns

A new SpendingLimitDetails instance for mocking.

Applies to