共用方式為


BudgetTimePeriod Constructors

Definition

Overloads

BudgetTimePeriod()

Initializes a new instance of the BudgetTimePeriod class.

BudgetTimePeriod(DateTime, Nullable<DateTime>)

Initializes a new instance of the BudgetTimePeriod class.

BudgetTimePeriod()

Initializes a new instance of the BudgetTimePeriod class.

public BudgetTimePeriod ();
Public Sub New ()

Applies to

BudgetTimePeriod(DateTime, Nullable<DateTime>)

Initializes a new instance of the BudgetTimePeriod class.

public BudgetTimePeriod (DateTime startDate, DateTime? endDate = default);
new Microsoft.Azure.Management.Consumption.Models.BudgetTimePeriod : DateTime * Nullable<DateTime> -> Microsoft.Azure.Management.Consumption.Models.BudgetTimePeriod
Public Sub New (startDate As DateTime, Optional endDate As Nullable(Of DateTime) = Nothing)

Parameters

startDate
DateTime

The start date for the budget.

endDate
Nullable<DateTime>

The end date for the budget. If not provided, we default this to 10 years from the start date.

Applies to