共用方式為


ArmBillingModelFactory.BillingAgreementData Method

Definition

Initializes a new instance of BillingAgreementData.

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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

properties
BillingAgreementProperties

An agreement.

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

Applies to