Compartir a través de


DataBoxExtensions.ValidateAddressAsync Método

Definición

[AVISO EN DESUSO: Esta operación pronto se quitará]. Este método valida la dirección de envío del cliente y proporciona direcciones alternativas si las hay.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress
  • IdService_ValidateAddress de operación
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBox.Models.AddressValidationOutput>> ValidateAddressAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataBox.Models.DataBoxValidateAddressContent content, System.Threading.CancellationToken cancellationToken = default);
static member ValidateAddressAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.DataBoxValidateAddressContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBox.Models.AddressValidationOutput>>
<Extension()>
Public Function ValidateAddressAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As DataBoxValidateAddressContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AddressValidationOutput))

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

location
AzureLocation

Ubicación del recurso.

content
DataBoxValidateAddressContent

Dirección de envío del cliente.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a