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.
async 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'>
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for Python