ProductsOperations Class
ProductsOperations 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.objectProductsOperations
Constructor
ProductsOperations(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
| get |
Returns the specified product. |
| get_product |
Returns the specified product. |
| get_products |
Returns a list of products. |
| list |
Returns a list of products. |
| list_details |
Returns the extended properties of a product. |
| upload_log |
Returns the specified product. |
get
Returns the specified product.
get(resource_group: str, registration_name: str, product_name: str, **kwargs: Any) -> _models.Product
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Product, or the result of cls(response)
Return type
Exceptions
get_product
Returns the specified product.
get_product(resource_group: str, registration_name: str, product_name: str, device_configuration: Optional[_models.DeviceConfiguration] = None, **kwargs: Any) -> _models.Product
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Product, or the result of cls(response)
Return type
Exceptions
get_products
Returns a list of products.
get_products(resource_group: str, registration_name: str, product_name: str, device_configuration: Optional[_models.DeviceConfiguration] = None, **kwargs: Any) -> _models.ProductList
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ProductList, or the result of cls(response)
Return type
Exceptions
list
Returns a list of products.
list(resource_group: str, registration_name: str, **kwargs: Any) -> Iterable[_models.ProductList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ProductList or the result of cls(response)
Return type
Exceptions
list_details
Returns the extended properties of a product.
list_details(resource_group: str, registration_name: str, product_name: str, **kwargs: Any) -> _models.ExtendedProduct
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ExtendedProduct, or the result of cls(response)
Return type
Exceptions
upload_log
Returns the specified product.
upload_log(resource_group: str, registration_name: str, product_name: str, marketplace_product_log_update: Optional[_models.MarketplaceProductLogUpdate] = None, **kwargs: Any) -> _models.ProductLog
Parameters
- marketplace_product_log_update
- MarketplaceProductLogUpdate
Update details for product log.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ProductLog, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.azurestack.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\azurestack\\models\\__init__.py'>
Feedback
Submit and view feedback for