azure.mgmt.databricks.operations module¶
-
class
azure.mgmt.databricks.operations.
Operations
(client, config, serializer, deserializer)[source]¶ Bases:
object
Operations 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.
-
list
(**kwargs: Any) → Iterable[‘_models.OperationListResult’][source]¶ Lists all of the available RP operations.
-
models
= <module 'azure.mgmt.databricks.models' from '/mnt/vss/_work/1/s/sdk/databricks/azure-mgmt-databricks/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/databricks/models/__init__.py'>¶
-
class
azure.mgmt.databricks.operations.
PrivateEndpointConnectionsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
PrivateEndpointConnectionsOperations 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_create
(resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, private_endpoint_connection: ‘_models.PrivateEndpointConnection’, **kwargs: Any) → LROPoller[‘_models.PrivateEndpointConnection’][source]¶ 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.
workspace_name (str) – The name of the workspace.
private_endpoint_connection_name (str) – The name of the private endpoint connection.
private_endpoint_connection (PrivateEndpointConnection) – The private endpoint connection with updated properties.
- 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 PrivateEndpointConnection or the result of cls(response)
- Return type
LROPoller[PrivateEndpointConnection]
- Raises
-
begin_delete
(resource_group_name: str, workspace_name: str, private_endpoint_connection_name: str, **kwargs: Any) → 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) → _models.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
PrivateEndpointConnection
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, workspace_name: str, **kwargs: Any) → Iterable[‘_models.PrivateEndpointConnectionsList’][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 PrivateEndpointConnectionsList or the result of cls(response)
- Return type
ItemPaged[PrivateEndpointConnectionsList]
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.databricks.models' from '/mnt/vss/_work/1/s/sdk/databricks/azure-mgmt-databricks/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/databricks/models/__init__.py'>¶
-
class
azure.mgmt.databricks.operations.
PrivateLinkResourcesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
PrivateLinkResourcesOperations 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.
-
get
(resource_group_name: str, workspace_name: str, group_id: str, **kwargs: Any) → _models.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
GroupIdInformation
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, workspace_name: str, **kwargs: Any) → Iterable[‘_models.PrivateLinkResourcesList’][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 PrivateLinkResourcesList or the result of cls(response)
- Return type
ItemPaged[PrivateLinkResourcesList]
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.databricks.models' from '/mnt/vss/_work/1/s/sdk/databricks/azure-mgmt-databricks/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/databricks/models/__init__.py'>¶
-
class
azure.mgmt.databricks.operations.
VNetPeeringOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
VNetPeeringOperations 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_create_or_update
(resource_group_name: str, workspace_name: str, peering_name: str, virtual_network_peering_parameters: ‘_models.VirtualNetworkPeering’, **kwargs: Any) → LROPoller[‘_models.VirtualNetworkPeering’][source]¶ Creates vNet Peering for workspace.
- Parameters
resource_group_name (str) – The name of the resource group. The name is case insensitive.
workspace_name (str) – The name of the workspace.
peering_name (str) – The name of the workspace vNet peering.
virtual_network_peering_parameters (VirtualNetworkPeering) – Parameters supplied to the create workspace vNet Peering.
- 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 VirtualNetworkPeering or the result of cls(response)
- Return type
LROPoller[VirtualNetworkPeering]
- Raises
-
begin_delete
(resource_group_name: str, workspace_name: str, peering_name: str, **kwargs: Any) → 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[‘_models.VirtualNetworkPeering’][source]¶ Gets the workspace vNet Peering.
-
list_by_workspace
(resource_group_name: str, workspace_name: str, **kwargs: Any) → Iterable[‘_models.VirtualNetworkPeeringList’][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 VirtualNetworkPeeringList or the result of cls(response)
- Return type
ItemPaged[VirtualNetworkPeeringList]
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.databricks.models' from '/mnt/vss/_work/1/s/sdk/databricks/azure-mgmt-databricks/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/databricks/models/__init__.py'>¶
-
class
azure.mgmt.databricks.operations.
WorkspacesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
WorkspacesOperations 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_create_or_update
(resource_group_name: str, workspace_name: str, parameters: ‘_models.Workspace’, **kwargs: Any) → LROPoller[‘_models.Workspace’][source]¶ Creates a new 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 Workspace or the result of cls(response)
- Return type
LROPoller[Workspace]
- Raises
-
begin_delete
(resource_group_name: str, workspace_name: str, **kwargs: Any) → 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’, **kwargs: Any) → LROPoller[‘_models.Workspace’][source]¶ Updates a 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 Workspace or the result of cls(response)
- Return type
LROPoller[Workspace]
- Raises
-
get
(resource_group_name: str, workspace_name: str, **kwargs: Any) → _models.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
Workspace
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_resource_group
(resource_group_name: str, **kwargs: Any) → Iterable[‘_models.WorkspaceListResult’][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.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either WorkspaceListResult or the result of cls(response)
- Return type
ItemPaged[WorkspaceListResult]
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_subscription
(**kwargs: Any) → Iterable[‘_models.WorkspaceListResult’][source]¶ Gets all the workspaces within a subscription.
-
models
= <module 'azure.mgmt.databricks.models' from '/mnt/vss/_work/1/s/sdk/databricks/azure-mgmt-databricks/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/databricks/models/__init__.py'>¶