AddressOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

BillingManagementClient's

<xref:address> attribute.

Inheritance
builtins.object
AddressOperations

Constructor

AddressOperations(*args, **kwargs)

Methods

validate

Validates an address. Use the operation to validate an address before using it as soldTo or a billTo address.

validate

Validates an address. Use the operation to validate an address before using it as soldTo or a billTo address.

validate(parameters: _models.AddressDetails, *, content_type: str = 'application/json', **kwargs: Any) -> _models.AddressValidationResponse

Parameters

Name Description
parameters
Required

Address details. Is either a AddressDetails type or a IO[bytes] type. Required.

Returns

Type Description

AddressValidationResponse or the result of cls(response)

Exceptions

Type Description
See also

Attributes

models

models = <module 'azure.mgmt.billing.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\billing\\models\\__init__.py'>