你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ValidateAddress Class

Definition

The requirements to validate customer address where the device needs to be shipped.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.ValidateAddressTypeConverter))]
public class ValidateAddress : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IValidateAddress, Microsoft.Azure.PowerShell.Cmdlets.DataBox.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.ValidateAddressTypeConverter))>]
type ValidateAddress = class
    interface IValidateAddress
    interface IJsonSerializable
    interface IValidationInputRequest
    interface IValidates
Public Class ValidateAddress
Implements IValidateAddress, IValidates
Inheritance
ValidateAddress
Attributes
Implements

Constructors

ValidateAddress()

Creates an new ValidateAddress instance.

Properties

DeviceType

Device type to be used for the job.

ShippingAddress

Shipping address of the customer.

TransportPreferenceIsUpdated

Read only property which indicates whether transport preferences has been updated or not after device is prepared.

TransportPreferencePreferredShipmentType

Indicates Shipment Logistics type that the customer preferred.

ValidationType

Identifies the type of validation request.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ValidateAddress.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ValidateAddress.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IValidateAddress.

FromJsonString(String)

Creates a new instance of ValidateAddress, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ValidateAddress into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to