AddressOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:address> attribute.
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(address: _models.AddressDetails, *, content_type: str = 'application/json', **kwargs: Any) -> _models.ValidateAddressResponse
Parameters
Name | Description |
---|---|
address
Required
|
AddressDetails or
IO
Is either a model type or a IO type. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
content_type
|
Body Parameter content-type. Known values are: 'application/json'. Default value is None. |
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
ValidateAddressResponse or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.billing.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.10\\x64\\Lib\\site-packages\\azure\\mgmt\\billing\\models\\__init__.py'>
Azure SDK for Python