共用方式為


ArmBillingModelFactory.BillingDepartmentData Method

Definition

Initializes a new instance of BillingDepartmentData.

public static Azure.ResourceManager.Billing.BillingDepartmentData BillingDepartmentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Billing.Models.BillingDepartmentProperties properties = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member BillingDepartmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Billing.Models.BillingDepartmentProperties * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Billing.BillingDepartmentData
Public Shared Function BillingDepartmentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional properties As BillingDepartmentProperties = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As BillingDepartmentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

properties
BillingDepartmentProperties

Optional grouping of enrollment accounts to segment costs into logical groupings and set budgets.

tags
IDictionary<String,String>

Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /.

Returns

A new BillingDepartmentData instance for mocking.

Applies to