AddressOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:address> attribute.
- Inheritance
-
builtins.objectAddressOperations
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 |
---|---|
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'>
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 Python