Compartilhar via


DataBoxExtensions.ValidateAddressAsync Método

Definição

[AVISO PRETERIDO: essa operação será removida em breve]. Esse método valida o endereço de envio do cliente e fornece endereços alternativos, se houver.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress
  • Operação IdService_ValidateAddress
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

A SubscriptionResource instância na qual o método será executado.

location
AzureLocation

A localização do recurso.

content
DataBoxValidateAddressContent

Endereço de envio do cliente.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a