Freigeben über


DataBoxExtensions.ValidateAddressAsync Methode

Definition

[VERALTETER HINWEIS: Dieser Vorgang wird bald entfernt]. Diese Methode überprüft die Lieferadresse des Kunden und gibt ggf. alternative Adressen an.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.DataBox/locations/{location}/validateAddress
  • Vorgang 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))

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

location
AzureLocation

Der Speicherort der Ressource.

content
DataBoxValidateAddressContent

Lieferadresse des Kunden.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: