ProblemClassificationsOperations Class

ProblemClassificationsOperations 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.object
ProblemClassificationsOperations

Constructor

ProblemClassificationsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

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.

get(service_name: str, problem_classification_name: str, **kwargs: Any) -> _models.ProblemClassification

Parameters

service_name
str
Required

Name of the Azure service available for support.

problem_classification_name
str
Required

Name of problem classification.

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: Any) -> Iterable[_models.ProblemClassificationsListResult]

Parameters

service_name
str
Required

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'>