MonitoringOperations Class

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

Constructor

MonitoringOperations(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_spark_job_list

Get list of spark applications for the workspace.

get_sql_job_query_string

Get SQL OD/DW Query for the workspace.

get_spark_job_list

Get list of spark applications for the workspace.

async get_spark_job_list(x_ms_client_request_id: Optional[str] = None, **kwargs: Any) -> azure.synapse.monitoring.models._models_py3.SparkJobListViewResponse

Parameters

x_ms_client_request_id
str
default value: None

Can provide a guid, which is helpful for debugging and to provide better customer support.

cls
callable

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

Returns

SparkJobListViewResponse, or the result of cls(response)

Return type

Exceptions

get_sql_job_query_string

Get SQL OD/DW Query for the workspace.

async get_sql_job_query_string(x_ms_client_request_id: Optional[str] = None, filter: Optional[str] = None, orderby: Optional[str] = None, skip: Optional[str] = None, **kwargs: Any) -> azure.synapse.monitoring.models._models_py3.SqlQueryStringDataModel

Parameters

x_ms_client_request_id
str
default value: None

Can provide a guid, which is helpful for debugging and to provide better customer support.

filter
str
default value: None
orderby
str
default value: None
skip
str
default value: None
cls
callable

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

Returns

SqlQueryStringDataModel, or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.synapse.monitoring.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\synapse\\monitoring\\models\\__init__.py'>