ArmDataBoxModelFactory.AddressValidationResult Method

Definition

Initializes a new instance of AddressValidationResult.

public static Azure.ResourceManager.DataBox.Models.AddressValidationResult AddressValidationResult (Azure.ResponseError error = default, Azure.ResourceManager.DataBox.Models.AddressValidationStatus? validationStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress> alternateAddresses = default);
static member AddressValidationResult : Azure.ResponseError * Nullable<Azure.ResourceManager.DataBox.Models.AddressValidationStatus> * seq<Azure.ResourceManager.DataBox.Models.DataBoxShippingAddress> -> Azure.ResourceManager.DataBox.Models.AddressValidationResult
Public Shared Function AddressValidationResult (Optional error As ResponseError = Nothing, Optional validationStatus As Nullable(Of AddressValidationStatus) = Nothing, Optional alternateAddresses As IEnumerable(Of DataBoxShippingAddress) = Nothing) As AddressValidationResult

Parameters

error
ResponseError

Error code and message of validation response.

validationStatus
Nullable<AddressValidationStatus>

The address validation status.

alternateAddresses
IEnumerable<DataBoxShippingAddress>

List of alternate addresses.

Returns

A new AddressValidationResult instance for mocking.

Applies to