ServiceOperations Class
ServiceOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectServiceOperations
Constructor
ServiceOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| list_available_skus |
This method provides the list of available skus for the given subscription and location. |
| validate_address |
This method validates the customer shipping address and provide alternate addresses if any. |
list_available_skus
This method provides the list of available skus for the given subscription and location.
list_available_skus(location: str, available_sku_request: azure.mgmt.databox.v2018_01_01.models._models_py3.AvailableSkuRequest, **kwargs) -> AsyncIterable[azure.mgmt.databox.v2018_01_01.models._models_py3.AvailableSkusResult]
Parameters
- available_sku_request
- <xref:azure.mgmt.databox.models.AvailableSkuRequest>
Filters for showing the available skus.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either AvailableSkusResult or the result of cls(response)
Return type
Exceptions
validate_address
This method validates the customer shipping address and provide alternate addresses if any.
async validate_address(location: str, validate_address: azure.mgmt.databox.v2018_01_01.models._models_py3.ValidateAddress, **kwargs) -> azure.mgmt.databox.v2018_01_01.models._models_py3.AddressValidationOutput
Parameters
- validate_address
- <xref:azure.mgmt.databox.models.ValidateAddress>
Shipping address of the customer.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AddressValidationOutput, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.databox.v2018_01_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\databox\\v2018_01_01\\models\\__init__.py'>
Feedback
Submit and view feedback for