MockableBillingTenantResource.ValidateAddresAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates an address. Use the operation to validate an address before using it as soldTo or a billTo address.
- Request Path: /providers/Microsoft.Billing/validateAddress
- Operation Id: Address_Validate
- Default Api Version: 2024-04-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.Models.BillingAddressValidationResult>> ValidateAddresAsync (Azure.ResourceManager.Billing.Models.BillingAddressDetails details, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateAddresAsync : Azure.ResourceManager.Billing.Models.BillingAddressDetails * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.Models.BillingAddressValidationResult>>
override this.ValidateAddresAsync : Azure.ResourceManager.Billing.Models.BillingAddressDetails * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Billing.Models.BillingAddressValidationResult>>
Public Overridable Function ValidateAddresAsync (details As BillingAddressDetails, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BillingAddressValidationResult))
Parameters
- details
- BillingAddressDetails
Address details.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
details
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET