共用方式為


ArmBillingModelFactory.BillingAddressValidationResult Method

Definition

Initializes a new instance of BillingAddressValidationResult.

public static Azure.ResourceManager.Billing.Models.BillingAddressValidationResult BillingAddressValidationResult (Azure.ResourceManager.Billing.Models.BillingAddressValidationStatus? status = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingAddressDetails> suggestedAddresses = default, string validationMessage = default);
static member BillingAddressValidationResult : Nullable<Azure.ResourceManager.Billing.Models.BillingAddressValidationStatus> * seq<Azure.ResourceManager.Billing.Models.BillingAddressDetails> * string -> Azure.ResourceManager.Billing.Models.BillingAddressValidationResult
Public Shared Function BillingAddressValidationResult (Optional status As Nullable(Of BillingAddressValidationStatus) = Nothing, Optional suggestedAddresses As IEnumerable(Of BillingAddressDetails) = Nothing, Optional validationMessage As String = Nothing) As BillingAddressValidationResult

Parameters

status
Nullable<BillingAddressValidationStatus>

Status of the address validation.

suggestedAddresses
IEnumerable<BillingAddressDetails>

The list of suggested addresses.

validationMessage
String

Validation error message.

Returns

A new BillingAddressValidationResult instance for mocking.

Applies to