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
’saccess_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
- Raises
-
begin_delete
(resource_group_name: str, connector_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Deletes the azure databricks accessConnector.
- Parameters
- 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
- Raises
-
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
- Raises
-
get
(resource_group_name: str, connector_name: str, **kwargs: Any) → azure.mgmt.databricks.models._models_py3.AccessConnector[source]¶ Gets an azure databricks accessConnector.
- Parameters
- 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
- Raises
-
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
- Raises
-
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
- Raises
-
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
’soperations
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
- Raises
-
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
’soutbound_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
- 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
- Raises
-
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
’sprivate_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
- Raises
-
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
- 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
- Raises
-
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
- 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
- Raises
-
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
- 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
- Raises
-
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
’sprivate_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
- 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
- Raises
-
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
- 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
- Raises
-
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
’svnet_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
- Raises
-
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
- 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
- Raises
-
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
- 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
- Raises
-
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
- 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
- Raises
-
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
’sworkspaces
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
- 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
- Raises
-
begin_delete
(resource_group_name: str, workspace_name: str, **kwargs: Any) → azure.core.polling._poller.LROPoller[None][source]¶ Deletes the workspace.
- Parameters
- 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
- Raises
-
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
- Raises
-
get
(resource_group_name: str, workspace_name: str, **kwargs: Any) → azure.mgmt.databricks.models._models_py3.Workspace[source]¶ Gets the workspace.
- Parameters
- 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
- Raises
-
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
- Raises
-
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
- Raises
-
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'>¶
-