azure.synapse.monitoring.aio.operations package

class azure.synapse.monitoring.aio.operations.MonitoringOperations(client, config, serializer, deserializer)[source]

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.

Variables

models – Alias to model classes used in this operation group.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

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

Get list of spark applications for the workspace.

Parameters

x_ms_client_request_id (str) – Can provide a guid, which is helpful for debugging and to provide better customer support.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

SparkJobListViewResponse, or the result of cls(response)

Return type

SparkJobListViewResponse

Raises

~azure.core.exceptions.HttpResponseError

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) → azure.synapse.monitoring.models._models_py3.SqlQueryStringDataModel[source]

Get SQL OD/DW Query for the workspace.

Parameters
  • x_ms_client_request_id (str) – Can provide a guid, which is helpful for debugging and to provide better customer support.

  • filter (str) –

  • orderby (str) –

  • skip (str) –

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

SqlQueryStringDataModel, or the result of cls(response)

Return type

SqlQueryStringDataModel

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.synapse.monitoring.models' from '/mnt/vss/_work/1/s/sdk/synapse/azure-synapse-monitoring/.tox/sphinx/lib/python3.6/site-packages/azure/synapse/monitoring/models/__init__.py'>