ServicesOperations Class

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

Constructor

ServicesOperations(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

Gets a specific Azure service for support ticket creation.

list

Lists all the Azure services available for support ticket creation. For Technical issues, select the Service Id that maps to the Azure service/product as displayed in the Services drop-down list on the Azure portal's New support request page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids.

get

Gets a specific Azure service for support ticket creation.

async get(service_name: str, **kwargs) -> azure.mgmt.support.models._models_py3.Service

Parameters

service_name
str
Required

Name of the Azure service.

cls
callable

A custom type or function that will be passed the direct response

Returns

Service, or the result of cls(response)

Return type

Exceptions

list

Lists all the Azure services available for support ticket creation. For Technical issues, select the Service Id that maps to the Azure service/product as displayed in the Services drop-down list on the Azure portal's New support request page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids.

list(**kwargs) -> AsyncIterable[azure.mgmt.support.models._models_py3.ServicesListResult]

Parameters

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either ServicesListResult 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'>