共用方式為


ArmBillingModelFactory.BillingProfilePolicyData Method

Definition

Initializes a new instance of BillingProfilePolicyData.

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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

properties
BillingProfilePolicyProperties

A policy at billing profile scope.

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 BillingProfilePolicyData instance for mocking.

Applies to