Partilhar via


DataBoxExtensions.ValidateAddress 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 Azure.Response<Azure.ResourceManager.DataBox.Models.AddressValidationOutput> ValidateAddress (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataBox.Models.DataBoxValidateAddressContent content, System.Threading.CancellationToken cancellationToken = default);
static member ValidateAddress : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataBox.Models.DataBoxValidateAddressContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataBox.Models.AddressValidationOutput>
<Extension()>
Public Function ValidateAddress (subscriptionResource As SubscriptionResource, location As AzureLocation, content As DataBoxValidateAddressContent, Optional cancellationToken As CancellationToken = Nothing) As 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