共用方式為


ArmBillingModelFactory.BillingAgreementProperties Method

Definition

Initializes a new instance of BillingAgreementProperties.

public static Azure.ResourceManager.Billing.Models.BillingAgreementProperties BillingAgreementProperties (Azure.ResourceManager.Billing.Models.AgreementAcceptanceMode? acceptanceMode = default, string agreementLink = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingProfileInfo> billingProfileInfo = default, Azure.ResourceManager.Billing.Models.BillingAgreementCategory? category = default, string displayName = default, DateTimeOffset? effectiveOn = default, DateTimeOffset? expireOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingAgreementParticipant> participants = default, string status = default, string leadBillingAccountName = default);
static member BillingAgreementProperties : Nullable<Azure.ResourceManager.Billing.Models.AgreementAcceptanceMode> * string * seq<Azure.ResourceManager.Billing.Models.BillingProfileInfo> * Nullable<Azure.ResourceManager.Billing.Models.BillingAgreementCategory> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.Billing.Models.BillingAgreementParticipant> * string * string -> Azure.ResourceManager.Billing.Models.BillingAgreementProperties
Public Shared Function BillingAgreementProperties (Optional acceptanceMode As Nullable(Of AgreementAcceptanceMode) = Nothing, Optional agreementLink As String = Nothing, Optional billingProfileInfo As IEnumerable(Of BillingProfileInfo) = Nothing, Optional category As Nullable(Of BillingAgreementCategory) = Nothing, Optional displayName As String = Nothing, Optional effectiveOn As Nullable(Of DateTimeOffset) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional participants As IEnumerable(Of BillingAgreementParticipant) = Nothing, Optional status As String = Nothing, Optional leadBillingAccountName As String = Nothing) As BillingAgreementProperties

Parameters

acceptanceMode
Nullable<AgreementAcceptanceMode>

The mode of acceptance for an agreement.

agreementLink
String

The URL to download the agreement.

billingProfileInfo
IEnumerable<BillingProfileInfo>

The list of billing profiles associated with agreement and present only for specific agreements.

category
Nullable<BillingAgreementCategory>

The category of the agreement.

displayName
String

The name of the agreement signed by a customer.

effectiveOn
Nullable<DateTimeOffset>

The date from which the agreement is effective.

expireOn
Nullable<DateTimeOffset>

The date when the agreement expires.

participants
IEnumerable<BillingAgreementParticipant>

The list of participants that participates in acceptance of an agreement.

status
String

The current status of the agreement.

leadBillingAccountName
String

The ID of the lead billing account if this agreement is part of the Customer Affiliate Purchase Terms.

Returns

A new BillingAgreementProperties instance for mocking.

Applies to