BillingExtensions.ValidateAddres 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 static Azure.Response<Azure.ResourceManager.Billing.Models.BillingAddressValidationResult> ValidateAddres (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.Billing.Models.BillingAddressDetails details, System.Threading.CancellationToken cancellationToken = default);
static member ValidateAddres : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.Billing.Models.BillingAddressDetails * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Billing.Models.BillingAddressValidationResult>
<Extension()>
Public Function ValidateAddres (tenantResource As TenantResource, details As BillingAddressDetails, Optional cancellationToken As CancellationToken = Nothing) As Response(Of BillingAddressValidationResult)
Parameters
- tenantResource
- TenantResource
The TenantResource instance the method will execute against.
- details
- BillingAddressDetails
Address details.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
tenantResource
or details
is null.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET