ProblemClassificationsOperations Class
ProblemClassificationsOperations 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.objectProblemClassificationsOperations
Constructor
ProblemClassificationsOperations(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 |
Get problem classification details for a specific Azure service. |
| list |
Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids. |
get
Get problem classification details for a specific Azure service.
async get(service_name: str, problem_classification_name: str, **kwargs) -> azure.mgmt.support.models._models_py3.ProblemClassification
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ProblemClassification, or the result of cls(response)
Return type
Exceptions
list
Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids.
list(service_name: str, **kwargs) -> AsyncIterable[azure.mgmt.support.models._models_py3.ProblemClassificationsListResult]
Parameters
- service_name
- str
Name of the Azure service for which the problem classifications need to be retrieved.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ProblemClassificationsListResult or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.support.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\support\\models\\__init__.py'>
Feedback
Submit and view feedback for