azure.mgmt.databricks.operations module

class azure.mgmt.databricks.operations.AccessConnectorsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AzureDatabricksManagementClient’s access_connectors attribute.

begin_create_or_update(resource_group_name: str, connector_name: str, parameters: _models.AccessConnector, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.AccessConnector][source]
begin_create_or_update(resource_group_name: str, connector_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.AccessConnector]

Creates or updates azure databricks accessConnector.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • connector_name (str) – The name of the azure databricks accessConnector. Required.

  • parameters (AccessConnector or IO) – Parameters supplied to the create or update an azure databricks accessConnector. Is either a model type or a IO type. Required.

Keyword Arguments
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • 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) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a 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 AccessConnector or the result of cls(response)

Return type

LROPoller[AccessConnector]

Raises

HttpResponseError

begin_delete(resource_group_name: str, connector_name: str, **kwargs: Any)azure.core.polling._poller.LROPoller[None][source]

Deletes the azure databricks accessConnector.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • connector_name (str) – The name of the azure databricks accessConnector. Required.

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) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a 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_update(resource_group_name: str, connector_name: str, parameters: _models.AccessConnectorUpdate, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.AccessConnector][source]
begin_update(resource_group_name: str, connector_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.AccessConnector]

Updates an azure databricks accessConnector.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • connector_name (str) – The name of the azure databricks accessConnector. Required.

  • parameters (AccessConnectorUpdate or IO) – The update to the azure databricks accessConnector. Is either a model type or a IO type. Required.

Keyword Arguments
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • 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) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a 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 AccessConnector or the result of cls(response)

Return type

LROPoller[AccessConnector]

Raises

HttpResponseError

get(resource_group_name: str, connector_name: str, **kwargs: Any)azure.mgmt.databricks.models._models_py3.AccessConnector[source]

Gets an azure databricks accessConnector.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • connector_name (str) – The name of the azure databricks accessConnector. Required.

Keyword Arguments

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

Returns

AccessConnector or the result of cls(response)

Return type

AccessConnector

Raises

HttpResponseError

list_by_resource_group(resource_group_name: str, **kwargs: Any)Iterable[azure.mgmt.databricks.models._models_py3.AccessConnector][source]

Gets all the azure databricks accessConnectors within a resource group.

Parameters

resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

Keyword Arguments

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

Returns

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

Return type

ItemPaged[AccessConnector]

Raises

HttpResponseError

list_by_subscription(**kwargs: Any)Iterable[azure.mgmt.databricks.models._models_py3.AccessConnector][source]

Gets all the azure databricks accessConnectors within a subscription.

Keyword Arguments

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

Returns

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

Return type

ItemPaged[AccessConnector]

Raises

HttpResponseError

models = <module 'azure.mgmt.databricks.models' from '/mnt/vss/_work/1/s/sdk/databricks/azure-mgmt-databricks/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/databricks/models/__init__.py'>
class azure.mgmt.databricks.operations.Operations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AzureDatabricksManagementClient’s operations attribute.

list(**kwargs: Any)Iterable[azure.mgmt.databricks.models._models_py3.Operation][source]

Lists all of the available RP operations.

Keyword Arguments

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

Returns

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

Return type

ItemPaged[Operation]

Raises

HttpResponseError

models = <module 'azure.mgmt.databricks.models' from '/mnt/vss/_work/1/s/sdk/databricks/azure-mgmt-databricks/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/databricks/models/__init__.py'>
class azure.mgmt.databricks.operations.OutboundNetworkDependenciesEndpointsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AzureDatabricksManagementClient’s outbound_network_dependencies_endpoints attribute.

list(resource_group_name: str, workspace_name: str, **kwargs: Any)List[azure.mgmt.databricks.models._models_py3.OutboundEnvironmentEndpoint][source]

Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified Workspace.

Gets the list of endpoints that VNET Injected Workspace calls Azure Databricks Control Plane. You must configure outbound access with these endpoints. For more information, see https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/udr.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • workspace_name (str) – The name of the workspace. Required.

Keyword Arguments

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

Returns

list of OutboundEnvironmentEndpoint or the result of cls(response)

Return type

list[OutboundEnvironmentEndpoint]

Raises

HttpResponseError

models = <module 'azure.mgmt.databricks.models' from '/mnt/vss/_work/1/s/sdk/databricks/azure-mgmt-databricks/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/databricks/models/__init__.py'>
class azure.mgmt.databricks.operations.PrivateEndpointConnectionsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AzureDatabricksManagementClient’s private_endpoint_connections attribute.

begin_create(resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, private_endpoint_connection: _models.PrivateEndpointConnection, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.PrivateEndpointConnection][source]
begin_create(resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, private_endpoint_connection: IO, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.PrivateEndpointConnection]

Update private endpoint connection status.

Update the status of a private endpoint connection with the specified name.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • workspace_name (str) – The name of the workspace. Required.

  • private_endpoint_connection_name (str) – The name of the private endpoint connection. Required.

  • private_endpoint_connection (PrivateEndpointConnection or IO) – The private endpoint connection with updated properties. Is either a model type or a IO type. Required.

Keyword Arguments
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • 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) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a 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 PrivateEndpointConnection or the result of cls(response)

Return type

LROPoller[PrivateEndpointConnection]

Raises

HttpResponseError

begin_delete(resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, **kwargs: Any)azure.core.polling._poller.LROPoller[None][source]

Remove private endpoint connection.

Remove private endpoint connection with the specified name.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • workspace_name (str) – The name of the workspace. Required.

  • private_endpoint_connection_name (str) – The name of the private endpoint connection. Required.

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) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a 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

get(resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, **kwargs: Any)azure.mgmt.databricks.models._models_py3.PrivateEndpointConnection[source]

Get private endpoint connection.

Get a private endpoint connection properties for a workspace.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • workspace_name (str) – The name of the workspace. Required.

  • private_endpoint_connection_name (str) – The name of the private endpoint connection. Required.

Keyword Arguments

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

Returns

PrivateEndpointConnection or the result of cls(response)

Return type

PrivateEndpointConnection

Raises

HttpResponseError

list(resource_group_name: str, workspace_name: str, **kwargs: Any)Iterable[azure.mgmt.databricks.models._models_py3.PrivateEndpointConnection][source]

List private endpoint connections.

List private endpoint connections of the workspace.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • workspace_name (str) – The name of the workspace. Required.

Keyword Arguments

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

Returns

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

Return type

ItemPaged[PrivateEndpointConnection]

Raises

HttpResponseError

models = <module 'azure.mgmt.databricks.models' from '/mnt/vss/_work/1/s/sdk/databricks/azure-mgmt-databricks/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/databricks/models/__init__.py'>
class azure.mgmt.databricks.operations.PrivateLinkResourcesOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AzureDatabricksManagementClient’s private_link_resources attribute.

get(resource_group_name: str, workspace_name: str, group_id: str, **kwargs: Any)azure.mgmt.databricks.models._models_py3.GroupIdInformation[source]

Get the specified private link resource.

Get the specified private link resource for the given group id (sub-resource).

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • workspace_name (str) – The name of the workspace. Required.

  • group_id (str) – The name of the private link resource. Required.

Keyword Arguments

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

Returns

GroupIdInformation or the result of cls(response)

Return type

GroupIdInformation

Raises

HttpResponseError

list(resource_group_name: str, workspace_name: str, **kwargs: Any)Iterable[azure.mgmt.databricks.models._models_py3.GroupIdInformation][source]

List private link resources.

List private link resources for a given workspace.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • workspace_name (str) – The name of the workspace. Required.

Keyword Arguments

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

Returns

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

Return type

ItemPaged[GroupIdInformation]

Raises

HttpResponseError

models = <module 'azure.mgmt.databricks.models' from '/mnt/vss/_work/1/s/sdk/databricks/azure-mgmt-databricks/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/databricks/models/__init__.py'>
class azure.mgmt.databricks.operations.VNetPeeringOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AzureDatabricksManagementClient’s vnet_peering attribute.

begin_create_or_update(resource_group_name: str, workspace_name: str, peering_name: str, virtual_network_peering_parameters: _models.VirtualNetworkPeering, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.VirtualNetworkPeering][source]
begin_create_or_update(resource_group_name: str, workspace_name: str, peering_name: str, virtual_network_peering_parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.VirtualNetworkPeering]

Creates vNet Peering for workspace.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • workspace_name (str) – The name of the workspace. Required.

  • peering_name (str) – The name of the workspace vNet peering. Required.

  • virtual_network_peering_parameters (VirtualNetworkPeering or IO) – Parameters supplied to the create workspace vNet Peering. Is either a model type or a IO type. Required.

Keyword Arguments
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • 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) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a 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 VirtualNetworkPeering or the result of cls(response)

Return type

LROPoller[VirtualNetworkPeering]

Raises

HttpResponseError

begin_delete(resource_group_name: str, workspace_name: str, peering_name: str, **kwargs: Any)azure.core.polling._poller.LROPoller[None][source]

Deletes the workspace vNetPeering.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • workspace_name (str) – The name of the workspace. Required.

  • peering_name (str) – The name of the workspace vNet peering. Required.

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) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a 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

get(resource_group_name: str, workspace_name: str, peering_name: str, **kwargs: Any)Optional[azure.mgmt.databricks.models._models_py3.VirtualNetworkPeering][source]

Gets the workspace vNet Peering.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • workspace_name (str) – The name of the workspace. Required.

  • peering_name (str) – The name of the workspace vNet peering. Required.

Keyword Arguments

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

Returns

VirtualNetworkPeering or None or the result of cls(response)

Return type

VirtualNetworkPeering or None

Raises

HttpResponseError

list_by_workspace(resource_group_name: str, workspace_name: str, **kwargs: Any)Iterable[azure.mgmt.databricks.models._models_py3.VirtualNetworkPeering][source]

Lists the workspace vNet Peerings.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • workspace_name (str) – The name of the workspace. Required.

Keyword Arguments

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

Returns

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

Return type

ItemPaged[VirtualNetworkPeering]

Raises

HttpResponseError

models = <module 'azure.mgmt.databricks.models' from '/mnt/vss/_work/1/s/sdk/databricks/azure-mgmt-databricks/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/databricks/models/__init__.py'>
class azure.mgmt.databricks.operations.WorkspacesOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AzureDatabricksManagementClient’s workspaces attribute.

begin_create_or_update(resource_group_name: str, workspace_name: str, parameters: _models.Workspace, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.Workspace][source]
begin_create_or_update(resource_group_name: str, workspace_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.Workspace]

Creates a new workspace.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • workspace_name (str) – The name of the workspace. Required.

  • parameters (Workspace or IO) – Parameters supplied to the create or update a workspace. Is either a model type or a IO type. Required.

Keyword Arguments
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • 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) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a 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 Workspace or the result of cls(response)

Return type

LROPoller[Workspace]

Raises

HttpResponseError

begin_delete(resource_group_name: str, workspace_name: str, **kwargs: Any)azure.core.polling._poller.LROPoller[None][source]

Deletes the workspace.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • workspace_name (str) – The name of the workspace. Required.

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) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a 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_update(resource_group_name: str, workspace_name: str, parameters: _models.WorkspaceUpdate, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.Workspace][source]
begin_update(resource_group_name: str, workspace_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any)LROPoller[_models.Workspace]

Updates a workspace.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • workspace_name (str) – The name of the workspace. Required.

  • parameters (WorkspaceUpdate or IO) – The update to the workspace. Is either a model type or a IO type. Required.

Keyword Arguments
  • content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.

  • 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) – By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a 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 Workspace or the result of cls(response)

Return type

LROPoller[Workspace]

Raises

HttpResponseError

get(resource_group_name: str, workspace_name: str, **kwargs: Any)azure.mgmt.databricks.models._models_py3.Workspace[source]

Gets the workspace.

Parameters
  • resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

  • workspace_name (str) – The name of the workspace. Required.

Keyword Arguments

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

Returns

Workspace or the result of cls(response)

Return type

Workspace

Raises

HttpResponseError

list_by_resource_group(resource_group_name: str, **kwargs: Any)Iterable[azure.mgmt.databricks.models._models_py3.Workspace][source]

Gets all the workspaces within a resource group.

Parameters

resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.

Keyword Arguments

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

Returns

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

Return type

ItemPaged[Workspace]

Raises

HttpResponseError

list_by_subscription(**kwargs: Any)Iterable[azure.mgmt.databricks.models._models_py3.Workspace][source]

Gets all the workspaces within a subscription.

Keyword Arguments

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

Returns

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

Return type

ItemPaged[Workspace]

Raises

HttpResponseError

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