azure.synapse.artifacts.operations package

class azure.synapse.artifacts.operations.LinkedServiceOperations(client, config, serializer, deserializer)[source]

LinkedServiceOperations 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.

create_or_update_linked_service(linked_service_name: str, properties: ‘models.LinkedService’, if_match: Optional[str] = None, **kwargs: Any) → ’models.LinkedServiceResource’[source]

Creates or updates a linked service.

Parameters
  • linked_service_name (str) – The linked service name.

  • properties (LinkedService) – Properties of linked service.

  • if_match (str) – ETag of the linkedService entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

Keyword Arguments

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

Returns

LinkedServiceResource, or the result of cls(response)

Return type

LinkedServiceResource

Raises

~azure.core.exceptions.HttpResponseError

delete_linked_service(linked_service_name: str, **kwargs: Any)None[source]

Deletes a linked service.

Parameters

linked_service_name (str) – The linked service name.

Keyword Arguments

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

Returns

None, or the result of cls(response)

Return type

None

Raises

~azure.core.exceptions.HttpResponseError

get_linked_service(linked_service_name: str, if_none_match: Optional[str] = None, **kwargs: Any) → Optional[‘models.LinkedServiceResource’][source]

Gets a linked service.

Parameters
  • linked_service_name (str) – The linked service name.

  • if_none_match (str) – ETag of the linked service entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.

Keyword Arguments

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

Returns

LinkedServiceResource, or the result of cls(response)

Return type

LinkedServiceResource or None

Raises

~azure.core.exceptions.HttpResponseError

get_linked_services_by_workspace(**kwargs: Any) → Iterable[‘models.LinkedServiceListResponse’][source]

Lists linked services.

Keyword Arguments

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

Returns

An iterator like instance of either LinkedServiceListResponse or the result of cls(response)

Return type

ItemPaged[LinkedServiceListResponse]

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.synapse.artifacts.models' from '/mnt/vss/_work/1/s/sdk/synapse/azure-synapse/.tox/sphinx/lib/python3.6/site-packages/azure/synapse/artifacts/models/__init__.py'>
class azure.synapse.artifacts.operations.DatasetOperations(client, config, serializer, deserializer)[source]

DatasetOperations 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.

create_or_update_dataset(dataset_name: str, properties: ‘models.Dataset’, if_match: Optional[str] = None, **kwargs: Any) → ’models.DatasetResource’[source]

Creates or updates a dataset.

Parameters
  • dataset_name (str) – The dataset name.

  • properties (Dataset) – Dataset properties.

  • if_match (str) – ETag of the dataset entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

Keyword Arguments

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

Returns

DatasetResource, or the result of cls(response)

Return type

DatasetResource

Raises

~azure.core.exceptions.HttpResponseError

delete_dataset(dataset_name: str, **kwargs: Any)None[source]

Deletes a dataset.

Parameters

dataset_name (str) – The dataset name.

Keyword Arguments

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

Returns

None, or the result of cls(response)

Return type

None

Raises

~azure.core.exceptions.HttpResponseError

get_dataset(dataset_name: str, if_none_match: Optional[str] = None, **kwargs: Any) → Optional[‘models.DatasetResource’][source]

Gets a dataset.

Parameters
  • dataset_name (str) – The dataset name.

  • if_none_match (str) – ETag of the dataset entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.

Keyword Arguments

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

Returns

DatasetResource, or the result of cls(response)

Return type

DatasetResource or None

Raises

~azure.core.exceptions.HttpResponseError

get_datasets_by_workspace(**kwargs: Any) → Iterable[‘models.DatasetListResponse’][source]

Lists datasets.

Keyword Arguments

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

Returns

An iterator like instance of either DatasetListResponse or the result of cls(response)

Return type

ItemPaged[DatasetListResponse]

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.synapse.artifacts.models' from '/mnt/vss/_work/1/s/sdk/synapse/azure-synapse/.tox/sphinx/lib/python3.6/site-packages/azure/synapse/artifacts/models/__init__.py'>
class azure.synapse.artifacts.operations.PipelineOperations(client, config, serializer, deserializer)[source]

PipelineOperations 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.

create_or_update_pipeline(pipeline_name: str, pipeline: ‘models.PipelineResource’, if_match: Optional[str] = None, **kwargs: Any) → ’models.PipelineResource’[source]

Creates or updates a pipeline.

Parameters
  • pipeline_name (str) – The pipeline name.

  • pipeline (PipelineResource) – Pipeline resource definition.

  • if_match (str) – ETag of the pipeline entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

Keyword Arguments

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

Returns

PipelineResource, or the result of cls(response)

Return type

PipelineResource

Raises

~azure.core.exceptions.HttpResponseError

create_pipeline_run(pipeline_name: str, reference_pipeline_run_id: Optional[str] = None, is_recovery: Optional[bool] = None, start_activity_name: Optional[str] = None, parameters: Optional[Dict[str, object]] = None, **kwargs: Any) → ’models.CreateRunResponse’[source]

Creates a run of a pipeline.

Parameters
  • pipeline_name (str) – The pipeline name.

  • reference_pipeline_run_id (str) – The pipeline run identifier. If run ID is specified the parameters of the specified run will be used to create a new run.

  • is_recovery (bool) – Recovery mode flag. If recovery mode is set to true, the specified referenced pipeline run and the new run will be grouped under the same groupId.

  • start_activity_name (str) – In recovery mode, the rerun will start from this activity. If not specified, all activities will run.

  • parameters (dict[str, object]) – Parameters of the pipeline run. These parameters will be used only if the runId is not specified.

Keyword Arguments

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

Returns

CreateRunResponse, or the result of cls(response)

Return type

CreateRunResponse

Raises

~azure.core.exceptions.HttpResponseError

delete_pipeline(pipeline_name: str, **kwargs: Any)None[source]

Deletes a pipeline.

Parameters

pipeline_name (str) – The pipeline name.

Keyword Arguments

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

Returns

None, or the result of cls(response)

Return type

None

Raises

~azure.core.exceptions.HttpResponseError

get_pipeline(pipeline_name: str, if_none_match: Optional[str] = None, **kwargs: Any) → Optional[‘models.PipelineResource’][source]

Gets a pipeline.

Parameters
  • pipeline_name (str) – The pipeline name.

  • if_none_match (str) – ETag of the pipeline entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.

Keyword Arguments

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

Returns

PipelineResource, or the result of cls(response)

Return type

PipelineResource or None

Raises

~azure.core.exceptions.HttpResponseError

get_pipelines_by_workspace(**kwargs: Any) → Iterable[‘models.PipelineListResponse’][source]

Lists pipelines.

Keyword Arguments

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

Returns

An iterator like instance of either PipelineListResponse or the result of cls(response)

Return type

ItemPaged[PipelineListResponse]

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.synapse.artifacts.models' from '/mnt/vss/_work/1/s/sdk/synapse/azure-synapse/.tox/sphinx/lib/python3.6/site-packages/azure/synapse/artifacts/models/__init__.py'>
class azure.synapse.artifacts.operations.PipelineRunOperations(client, config, serializer, deserializer)[source]

PipelineRunOperations 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.

cancel_pipeline_run(run_id: str, is_recursive: Optional[bool] = None, **kwargs: Any)None[source]

Cancel a pipeline run by its run ID.

Parameters
  • run_id (str) – The pipeline run identifier.

  • is_recursive (bool) – If true, cancel all the Child pipelines that are triggered by the current pipeline.

Keyword Arguments

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

Returns

None, or the result of cls(response)

Return type

None

Raises

~azure.core.exceptions.HttpResponseError

get_pipeline_run(run_id: str, **kwargs: Any) → ’models.PipelineRun’[source]

Get a pipeline run by its run ID.

Parameters

run_id (str) – The pipeline run identifier.

Keyword Arguments

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

Returns

PipelineRun, or the result of cls(response)

Return type

PipelineRun

Raises

~azure.core.exceptions.HttpResponseError

query_activity_runs(pipeline_name: str, run_id: str, filter_parameters: ‘models.RunFilterParameters’, **kwargs: Any) → ’models.ActivityRunsQueryResponse’[source]

Query activity runs based on input filter conditions.

Parameters
  • pipeline_name (str) – The pipeline name.

  • run_id (str) – The pipeline run identifier.

  • filter_parameters (RunFilterParameters) – Parameters to filter the activity runs.

Keyword Arguments

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

Returns

ActivityRunsQueryResponse, or the result of cls(response)

Return type

ActivityRunsQueryResponse

Raises

~azure.core.exceptions.HttpResponseError

query_pipeline_runs_by_workspace(filter_parameters: ‘models.RunFilterParameters’, **kwargs: Any) → ’models.PipelineRunsQueryResponse’[source]

Query pipeline runs in the workspace based on input filter conditions.

Parameters

filter_parameters (RunFilterParameters) – Parameters to filter the pipeline run.

Keyword Arguments

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

Returns

PipelineRunsQueryResponse, or the result of cls(response)

Return type

PipelineRunsQueryResponse

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.synapse.artifacts.models' from '/mnt/vss/_work/1/s/sdk/synapse/azure-synapse/.tox/sphinx/lib/python3.6/site-packages/azure/synapse/artifacts/models/__init__.py'>
class azure.synapse.artifacts.operations.TriggerOperations(client, config, serializer, deserializer)[source]

TriggerOperations 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.

begin_start_trigger(trigger_name: str, **kwargs: Any) → LROPoller[None][source]

Starts a trigger.

Parameters

trigger_name (str) – The trigger name.

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

  • continuation_token (str) – A continuation token to restart a poller from a saved state.

  • polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either None or the result of cls(response)

Return type

LROPoller[None]

Raises

HttpResponseError

begin_stop_trigger(trigger_name: str, **kwargs: Any) → LROPoller[None][source]

Stops a trigger.

Parameters

trigger_name (str) – The trigger name.

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

  • continuation_token (str) – A continuation token to restart a poller from a saved state.

  • polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either None or the result of cls(response)

Return type

LROPoller[None]

Raises

HttpResponseError

begin_subscribe_trigger_to_events(trigger_name: str, **kwargs: Any) → LROPoller[‘models.TriggerSubscriptionOperationStatus’][source]

Subscribe event trigger to events.

Parameters

trigger_name (str) – The trigger name.

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

  • continuation_token (str) – A continuation token to restart a poller from a saved state.

  • polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either TriggerSubscriptionOperationStatus or the result of cls(response)

Return type

LROPoller[TriggerSubscriptionOperationStatus]

Raises

HttpResponseError

begin_unsubscribe_trigger_from_events(trigger_name: str, **kwargs: Any) → LROPoller[‘models.TriggerSubscriptionOperationStatus’][source]

Unsubscribe event trigger from events.

Parameters

trigger_name (str) – The trigger name.

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

  • continuation_token (str) – A continuation token to restart a poller from a saved state.

  • polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either TriggerSubscriptionOperationStatus or the result of cls(response)

Return type

LROPoller[TriggerSubscriptionOperationStatus]

Raises

HttpResponseError

create_or_update_trigger(trigger_name: str, properties: ‘models.Trigger’, if_match: Optional[str] = None, **kwargs: Any) → ’models.TriggerResource’[source]

Creates or updates a trigger.

Parameters
  • trigger_name (str) – The trigger name.

  • properties (Trigger) – Properties of the trigger.

  • if_match (str) – ETag of the trigger entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

Keyword Arguments

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

Returns

TriggerResource, or the result of cls(response)

Return type

TriggerResource

Raises

~azure.core.exceptions.HttpResponseError

delete_trigger(trigger_name: str, **kwargs: Any)None[source]

Deletes a trigger.

Parameters

trigger_name (str) – The trigger name.

Keyword Arguments

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

Returns

None, or the result of cls(response)

Return type

None

Raises

~azure.core.exceptions.HttpResponseError

get_event_subscription_status(trigger_name: str, **kwargs: Any) → ’models.TriggerSubscriptionOperationStatus’[source]

Get a trigger’s event subscription status.

Parameters

trigger_name (str) – The trigger name.

Keyword Arguments

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

Returns

TriggerSubscriptionOperationStatus, or the result of cls(response)

Return type

TriggerSubscriptionOperationStatus

Raises

~azure.core.exceptions.HttpResponseError

get_trigger(trigger_name: str, if_none_match: Optional[str] = None, **kwargs: Any) → Optional[‘models.TriggerResource’][source]

Gets a trigger.

Parameters
  • trigger_name (str) – The trigger name.

  • if_none_match (str) – ETag of the trigger entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.

Keyword Arguments

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

Returns

TriggerResource, or the result of cls(response)

Return type

TriggerResource or None

Raises

~azure.core.exceptions.HttpResponseError

get_triggers_by_workspace(**kwargs: Any) → Iterable[‘models.TriggerListResponse’][source]

Lists triggers.

Keyword Arguments

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

Returns

An iterator like instance of either TriggerListResponse or the result of cls(response)

Return type

ItemPaged[TriggerListResponse]

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.synapse.artifacts.models' from '/mnt/vss/_work/1/s/sdk/synapse/azure-synapse/.tox/sphinx/lib/python3.6/site-packages/azure/synapse/artifacts/models/__init__.py'>
class azure.synapse.artifacts.operations.TriggerRunOperations(client, config, serializer, deserializer)[source]

TriggerRunOperations 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.

query_trigger_runs_by_workspace(filter_parameters: ‘models.RunFilterParameters’, **kwargs: Any) → ’models.TriggerRunsQueryResponse’[source]

Query trigger runs.

Parameters

filter_parameters (RunFilterParameters) – Parameters to filter the pipeline run.

Keyword Arguments

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

Returns

TriggerRunsQueryResponse, or the result of cls(response)

Return type

TriggerRunsQueryResponse

Raises

~azure.core.exceptions.HttpResponseError

rerun_trigger_instance(trigger_name: str, run_id: str, **kwargs: Any)None[source]

Rerun single trigger instance by runId.

Parameters
  • trigger_name (str) – The trigger name.

  • run_id (str) – The pipeline run identifier.

Keyword Arguments

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

Returns

None, or the result of cls(response)

Return type

None

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.synapse.artifacts.models' from '/mnt/vss/_work/1/s/sdk/synapse/azure-synapse/.tox/sphinx/lib/python3.6/site-packages/azure/synapse/artifacts/models/__init__.py'>
class azure.synapse.artifacts.operations.DataFlowOperations(client, config, serializer, deserializer)[source]

DataFlowOperations 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.

create_or_update_data_flow(data_flow_name: str, properties: ‘models.DataFlow’, if_match: Optional[str] = None, **kwargs: Any) → ’models.DataFlowResource’[source]

Creates or updates a data flow.

Parameters
  • data_flow_name (str) – The data flow name.

  • properties (DataFlow) – Data flow properties.

  • if_match (str) – ETag of the data flow entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

Keyword Arguments

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

Returns

DataFlowResource, or the result of cls(response)

Return type

DataFlowResource

Raises

~azure.core.exceptions.HttpResponseError

delete_data_flow(data_flow_name: str, **kwargs: Any)None[source]

Deletes a data flow.

Parameters

data_flow_name (str) – The data flow name.

Keyword Arguments

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

Returns

None, or the result of cls(response)

Return type

None

Raises

~azure.core.exceptions.HttpResponseError

get_data_flow(data_flow_name: str, if_none_match: Optional[str] = None, **kwargs: Any) → ’models.DataFlowResource’[source]

Gets a data flow.

Parameters
  • data_flow_name (str) – The data flow name.

  • if_none_match (str) – ETag of the data flow entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.

Keyword Arguments

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

Returns

DataFlowResource, or the result of cls(response)

Return type

DataFlowResource

Raises

~azure.core.exceptions.HttpResponseError

get_data_flows_by_workspace(**kwargs: Any) → Iterable[‘models.DataFlowListResponse’][source]

Lists data flows.

Keyword Arguments

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

Returns

An iterator like instance of either DataFlowListResponse or the result of cls(response)

Return type

ItemPaged[DataFlowListResponse]

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.synapse.artifacts.models' from '/mnt/vss/_work/1/s/sdk/synapse/azure-synapse/.tox/sphinx/lib/python3.6/site-packages/azure/synapse/artifacts/models/__init__.py'>
class azure.synapse.artifacts.operations.DataFlowDebugSessionOperations(client, config, serializer, deserializer)[source]

DataFlowDebugSessionOperations 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.

add_data_flow(request: ‘models.DataFlowDebugPackage’, **kwargs: Any) → ’models.AddDataFlowToDebugSessionResponse’[source]

Add a data flow into debug session.

Parameters

request (DataFlowDebugPackage) – Data flow debug session definition with debug content.

Keyword Arguments

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

Returns

AddDataFlowToDebugSessionResponse, or the result of cls(response)

Return type

AddDataFlowToDebugSessionResponse

Raises

~azure.core.exceptions.HttpResponseError

begin_create_data_flow_debug_session(request: ‘models.CreateDataFlowDebugSessionRequest’, **kwargs: Any) → LROPoller[‘models.CreateDataFlowDebugSessionResponse’][source]

Creates a data flow debug session.

Parameters

request (CreateDataFlowDebugSessionRequest) – Data flow debug session definition.

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

  • continuation_token (str) – A continuation token to restart a poller from a saved state.

  • polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either CreateDataFlowDebugSessionResponse or the result of cls(response)

Return type

LROPoller[CreateDataFlowDebugSessionResponse]

Raises

HttpResponseError

begin_execute_command(request: ‘models.DataFlowDebugCommandRequest’, **kwargs: Any) → LROPoller[‘models.DataFlowDebugCommandResponse’][source]

Execute a data flow debug command.

Parameters

request (DataFlowDebugCommandRequest) – Data flow debug command definition.

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

  • continuation_token (str) – A continuation token to restart a poller from a saved state.

  • polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either DataFlowDebugCommandResponse or the result of cls(response)

Return type

LROPoller[DataFlowDebugCommandResponse]

Raises

HttpResponseError

delete_data_flow_debug_session(request: ‘models.DeleteDataFlowDebugSessionRequest’, **kwargs: Any)None[source]

Deletes a data flow debug session.

Parameters

request (DeleteDataFlowDebugSessionRequest) – Data flow debug session definition for deletion.

Keyword Arguments

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

Returns

None, or the result of cls(response)

Return type

None

Raises

~azure.core.exceptions.HttpResponseError

query_data_flow_debug_sessions_by_workspace(**kwargs: Any) → Iterable[‘models.QueryDataFlowDebugSessionsResponse’][source]

Query all active data flow debug sessions.

Keyword Arguments

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

Returns

An iterator like instance of either QueryDataFlowDebugSessionsResponse or the result of cls(response)

Return type

ItemPaged[QueryDataFlowDebugSessionsResponse]

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.synapse.artifacts.models' from '/mnt/vss/_work/1/s/sdk/synapse/azure-synapse/.tox/sphinx/lib/python3.6/site-packages/azure/synapse/artifacts/models/__init__.py'>
class azure.synapse.artifacts.operations.SqlScriptOperations(client, config, serializer, deserializer)[source]

SqlScriptOperations 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.

create_or_update_sql_script(sql_script_name: str, properties: ‘models.SqlScript’, if_match: Optional[str] = None, **kwargs: Any) → ’models.SqlScriptResource’[source]

Creates or updates a Sql Script.

Parameters
  • sql_script_name (str) – The sql script name.

  • properties (SqlScript) – Properties of sql script.

  • if_match (str) – ETag of the SQL script entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

Keyword Arguments

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

Returns

SqlScriptResource, or the result of cls(response)

Return type

SqlScriptResource

Raises

~azure.core.exceptions.HttpResponseError

delete_sql_script(sql_script_name: str, **kwargs: Any)None[source]

Deletes a Sql Script.

Parameters

sql_script_name (str) – The sql script name.

Keyword Arguments

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

Returns

None, or the result of cls(response)

Return type

None

Raises

~azure.core.exceptions.HttpResponseError

get_sql_script(sql_script_name: str, if_none_match: Optional[str] = None, **kwargs: Any) → Optional[‘models.SqlScriptResource’][source]

Gets a sql script.

Parameters
  • sql_script_name (str) – The sql script name.

  • if_none_match (str) – ETag of the sql compute entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.

Keyword Arguments

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

Returns

SqlScriptResource, or the result of cls(response)

Return type

SqlScriptResource or None

Raises

~azure.core.exceptions.HttpResponseError

get_sql_scripts_by_workspace(**kwargs: Any) → Iterable[‘models.SqlScriptsListResponse’][source]

Lists sql scripts.

Keyword Arguments

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

Returns

An iterator like instance of either SqlScriptsListResponse or the result of cls(response)

Return type

ItemPaged[SqlScriptsListResponse]

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.synapse.artifacts.models' from '/mnt/vss/_work/1/s/sdk/synapse/azure-synapse/.tox/sphinx/lib/python3.6/site-packages/azure/synapse/artifacts/models/__init__.py'>
class azure.synapse.artifacts.operations.SparkJobDefinitionOperations(client, config, serializer, deserializer)[source]

SparkJobDefinitionOperations 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.

begin_debug_spark_job_definition(properties: ‘models.SparkJobDefinition’, **kwargs: Any) → LROPoller[‘models.SparkBatchJob’][source]

Debug the spark job definition.

Parameters

properties (SparkJobDefinition) – Properties of spark job definition.

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

  • continuation_token (str) – A continuation token to restart a poller from a saved state.

  • polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either SparkBatchJob or the result of cls(response)

Return type

LROPoller[SparkBatchJob]

Raises

HttpResponseError

begin_execute_spark_job_definition(spark_job_definition_name: str, **kwargs: Any) → LROPoller[‘models.SparkBatchJob’][source]

Executes the spark job definition.

Parameters

spark_job_definition_name (str) – The spark job definition name.

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

  • continuation_token (str) – A continuation token to restart a poller from a saved state.

  • polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy

  • polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either SparkBatchJob or the result of cls(response)

Return type

LROPoller[SparkBatchJob]

Raises

HttpResponseError

create_or_update_spark_job_definition(spark_job_definition_name: str, properties: ‘models.SparkJobDefinition’, if_match: Optional[str] = None, **kwargs: Any) → ’models.SparkJobDefinitionResource’[source]

Creates or updates a Spark Job Definition.

Parameters
  • spark_job_definition_name (str) – The spark job definition name.

  • properties (SparkJobDefinition) – Properties of spark job definition.

  • if_match (str) – ETag of the Spark Job Definition entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

Keyword Arguments

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

Returns

SparkJobDefinitionResource, or the result of cls(response)

Return type

SparkJobDefinitionResource

Raises

~azure.core.exceptions.HttpResponseError

delete_spark_job_definition(spark_job_definition_name: str, **kwargs: Any)None[source]

Deletes a Spark Job Definition.

Parameters

spark_job_definition_name (str) – The spark job definition name.

Keyword Arguments

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

Returns

None, or the result of cls(response)

Return type

None

Raises

~azure.core.exceptions.HttpResponseError

get_spark_job_definition(spark_job_definition_name: str, if_none_match: Optional[str] = None, **kwargs: Any) → Optional[‘models.SparkJobDefinitionResource’][source]

Gets a Spark Job Definition.

Parameters
  • spark_job_definition_name (str) – The spark job definition name.

  • if_none_match (str) – ETag of the Spark Job Definition entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.

Keyword Arguments

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

Returns

SparkJobDefinitionResource, or the result of cls(response)

Return type

SparkJobDefinitionResource or None

Raises

~azure.core.exceptions.HttpResponseError

get_spark_job_definitions_by_workspace(**kwargs: Any) → Iterable[‘models.SparkJobDefinitionsListResponse’][source]

Lists spark job definitions.

Keyword Arguments

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

Returns

An iterator like instance of either SparkJobDefinitionsListResponse or the result of cls(response)

Return type

ItemPaged[SparkJobDefinitionsListResponse]

Raises

~azure.core.exceptions.HttpResponseError

models = <module 'azure.synapse.artifacts.models' from '/mnt/vss/_work/1/s/sdk/synapse/azure-synapse/.tox/sphinx/lib/python3.6/site-packages/azure/synapse/artifacts/models/__init__.py'>
class azure.synapse.artifacts.operations.NotebookOperations(client, config, serializer, deserializer)[source]

NotebookOperations 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.

create_or_update_notebook(notebook_name: str, properties: ‘models.Notebook’, if_match: Optional[str] = None, **kwargs: Any) → ’models.NotebookResource’[source]

Creates or updates a Note Book.

Parameters
  • notebook_name (str) – The notebook name.

  • properties (Notebook) – Properties of Notebook.

  • if_match (str) – ETag of the Note book entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

Keyword Arguments

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

Returns

NotebookResource, or the result of cls(response)

Return type

NotebookResource

Raises

~azure.core.exceptions.HttpResponseError

delete_notebook(notebook_name: str, **kwargs: Any)None[source]

Deletes a Note book.

Parameters

notebook_name (str) – The notebook name.

Keyword Arguments

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

Returns

None, or the result of cls(response)

Return type

None

Raises

~azure.core.exceptions.HttpResponseError

get_notebook(notebook_name: str, if_none_match: Optional[str] = None, **kwargs: Any) → Optional[‘models.NotebookResource’][source]

Gets a Note Book.

Parameters
  • notebook_name (str) – The notebook name.

  • if_none_match (str) – ETag of the Notebook entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.

Keyword Arguments

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

Returns

NotebookResource, or the result of cls(response)

Return type

NotebookResource or None

Raises

~azure.core.exceptions.HttpResponseError

get_notebook_summary_by_work_space(**kwargs: Any) → Iterable[‘models.NotebookListResponse’][source]

Lists a summary of Notebooks.

Keyword Arguments

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

Returns

An iterator like instance of either NotebookListResponse or the result of cls(response)

Return type

ItemPaged[NotebookListResponse]

Raises

~azure.core.exceptions.HttpResponseError

get_notebooks_by_workspace(**kwargs: Any) → Iterable[‘models.NotebookListResponse’][source]

Lists Notebooks.

Keyword Arguments

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

Returns

An iterator like instance of either NotebookListResponse or the result of cls(response)

Return type

ItemPaged[NotebookListResponse]

Raises

~azure.core.exceptions.HttpResponseError

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