共用方式為


ArmBillingModelFactory.BillingEnrollmentAccountProperties Method

Definition

Initializes a new instance of BillingEnrollmentAccountProperties.

public static Azure.ResourceManager.Billing.Models.BillingEnrollmentAccountProperties BillingEnrollmentAccountProperties (string costCenter = default, string displayName = default, string departmentDisplayName = default, string departmentId = default, bool? isDevTestEnabled = default, string accountOwner = default, string authType = default, string status = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default);
static member BillingEnrollmentAccountProperties : string * string * string * string * Nullable<bool> * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Billing.Models.BillingEnrollmentAccountProperties
Public Shared Function BillingEnrollmentAccountProperties (Optional costCenter As String = Nothing, Optional displayName As String = Nothing, Optional departmentDisplayName As String = Nothing, Optional departmentId As String = Nothing, Optional isDevTestEnabled As Nullable(Of Boolean) = Nothing, Optional accountOwner As String = Nothing, Optional authType As String = Nothing, Optional status As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing) As BillingEnrollmentAccountProperties

Parameters

costCenter
String

The cost center associated with the enrollment account.

displayName
String

The name of the enrollment account.

departmentDisplayName
String

The name of the department under which the enrollment account exists.

departmentId
String

The ID that uniquely identifies the department.

isDevTestEnabled
Nullable<Boolean>

Boolean flag which enables subscribers to run development and testing workloads on Azure at special Dev/Test rates.

accountOwner
String

The owner of the enrollment account.

authType
String

The authorization type of the enrollment account.

status
String

The status of the enrollment account.

startOn
Nullable<DateTimeOffset>

The date from which the enrollment account became valid and functional.

endOn
Nullable<DateTimeOffset>

The date of expiration of the enrollment account.

Returns

A new BillingEnrollmentAccountProperties instance for mocking.

Applies to