Instruction 建構函式

定義

多載

Instruction()

初始化指令類別的新實例。

Instruction(Double, DateTime, DateTime, String, String, String, Nullable<DateTime>)

初始化指令類別的新實例。

Instruction()

初始化指令類別的新實例。

public Instruction ();
Public Sub New ()

適用於

Instruction(Double, DateTime, DateTime, String, String, String, Nullable<DateTime>)

初始化指令類別的新實例。

public Instruction (double amount, DateTime startDate, DateTime endDate, string id = default, string name = default, string type = default, DateTime? creationDate = default);
new Microsoft.Azure.Management.Billing.Models.Instruction : double * DateTime * DateTime * string * string * string * Nullable<DateTime> -> Microsoft.Azure.Management.Billing.Models.Instruction
Public Sub New (amount As Double, startDate As DateTime, endDate As DateTime, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional creationDate As Nullable(Of DateTime) = Nothing)

參數

amount
Double

此計費指示的預算金額。

startDate
DateTime

此計費指示生效的日期。

endDate
DateTime

此計費指示不再生效的日期。

id
String

資源識別碼。

name
String

資源名稱。

type
String

資源類型。

creationDate
Nullable<DateTime>

建立此計費指示的日期。

適用於