共用方式為


ArmBillingModelFactory.SubscriptionPolicyData Method

Definition

Initializes a new instance of SubscriptionPolicyData.

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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

properties
SubscriptionPolicyProperties

A policy at subscription 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 SubscriptionPolicyData instance for mocking.

Applies to