AddressOperationsExtensions.ValidateAsync Method

Definition

Validates an address. Use the operation to validate an address before using it as soldTo or a billTo address. https://docs.microsoft.com/en-us/rest/api/billing/

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.ValidateAddressResponse> ValidateAsync (this Microsoft.Azure.Management.Billing.IAddressOperations operations, Microsoft.Azure.Management.Billing.Models.AddressDetails address, System.Threading.CancellationToken cancellationToken = default);
static member ValidateAsync : Microsoft.Azure.Management.Billing.IAddressOperations * Microsoft.Azure.Management.Billing.Models.AddressDetails * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.ValidateAddressResponse>
<Extension()>
Public Function ValidateAsync (operations As IAddressOperations, address As AddressDetails, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ValidateAddressResponse)

Parameters

operations
IAddressOperations

The operations group for this extension method.

address
AddressDetails
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to