Share via


ServiceOperationsExtensions.ValidateAddressMethodAsync Method

Definition

Caution

This operation is deprecated. Please do not use it any longer.

[DEPRECATED NOTICE: This operation will soon be removed]. This method validates the customer shipping address and provide alternate addresses if any.

[System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBox.Models.AddressValidationOutput> ValidateAddressMethodAsync (this Microsoft.Azure.Management.DataBox.IServiceOperations operations, string location, Microsoft.Azure.Management.DataBox.Models.ValidateAddress validateAddress, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This operation is deprecated. Please do not use it any longer.")>]
static member ValidateAddressMethodAsync : Microsoft.Azure.Management.DataBox.IServiceOperations * string * Microsoft.Azure.Management.DataBox.Models.ValidateAddress * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBox.Models.AddressValidationOutput>
<Extension()>
Public Function ValidateAddressMethodAsync (operations As IServiceOperations, location As String, validateAddress As ValidateAddress, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AddressValidationOutput)

Parameters

operations
IServiceOperations

The operations group for this extension method.

location
String

The location of the resource

validateAddress
ValidateAddress

Shipping address of the customer.

cancellationToken
CancellationToken

The cancellation token.

Returns

Attributes

Applies to