共用方式為


Department 建構函式

定義

多載

Department()

初始化 Department 類別的新實例。

Department(String, String, String, String, String, String, IList<EnrollmentAccount>)

初始化 Department 類別的新實例。

Department()

初始化 Department 類別的新實例。

public Department ();
Public Sub New ()

適用於

Department(String, String, String, String, String, String, IList<EnrollmentAccount>)

初始化 Department 類別的新實例。

public Department (string id = default, string name = default, string type = default, string departmentName = default, string costCenter = default, string status = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Billing.Models.EnrollmentAccount> enrollmentAccounts = default);
new Microsoft.Azure.Management.Billing.Models.Department : string * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Billing.Models.EnrollmentAccount> -> Microsoft.Azure.Management.Billing.Models.Department
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional departmentName As String = Nothing, Optional costCenter As String = Nothing, Optional status As String = Nothing, Optional enrollmentAccounts As IList(Of EnrollmentAccount) = Nothing)

參數

id
String

資源識別碼。

name
String

資源名稱。

type
String

資源類型。

departmentName
String

部門的名稱。

costCenter
String

與部門相關聯的成本中心。

status
String

部門的狀態。

enrollmentAccounts
IList<EnrollmentAccount>

相關聯的註冊帳戶。 根據預設,除非在 $expand 中指定,否則不會填入此功能。

適用於