azure.mgmt.databricks.operations module Azure SDK for Python 2.0.0 documentation
azure.mgmt.databricks.operations.WorkspacesOperations(client, config, serializer, deserializer)[source]¶Bases: object
WorkspacesOperations operations.
Parametersclient – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
api_version – The API version to use for this operation. Constant value: “2018-04-01”.
create_or_update(parameters, resource_group_name, workspace_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶Creates a new workspace.
Parametersparameters (Workspace) – Parameters supplied to the create or update a workspace.
resource_group_name (str) – The name of the resource group. The name is case insensitive.
workspace_name (str) – The name of the workspace.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
An instance of LROPoller that returns Workspace or ClientRawResponse<Workspace> if raw==True
Return typeAzureOperationPoller[Workspace] or AzureOperationPoller[ClientRawResponse[Workspace]]
Raisesdelete(resource_group_name, workspace_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶Deletes the workspace.
Parametersresource_group_name (str) – The name of the resource group. The name is case insensitive.
workspace_name (str) – The name of the workspace.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return typeAzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raisesget(resource_group_name, workspace_name, custom_headers=None, raw=False, **operation_config)[source]¶Gets the workspace.
Parametersresource_group_name (str) – The name of the resource group. The name is case insensitive.
workspace_name (str) – The name of the workspace.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
Workspace or ClientRawResponse if raw=true
Return typeWorkspace or ClientRawResponse
Raiseslist_by_resource_group(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]¶Gets all the workspaces within a resource group.
Parametersresource_group_name (str) – The name of the resource group. The name is case insensitive.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
An iterator like instance of Workspace
Return typeRaiseslist_by_subscription(custom_headers=None, raw=False, **operation_config)[source]¶Gets all the workspaces within a subscription.
Parameterscustom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
An iterator like instance of Workspace
Return typeRaisesupdate(resource_group_name, workspace_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶Updates a workspace.
Parametersresource_group_name (str) – The name of the resource group. The name is case insensitive.
workspace_name (str) – The name of the workspace.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
An instance of LROPoller that returns Workspace or ClientRawResponse<Workspace> if raw==True
Return typeAzureOperationPoller[Workspace] or AzureOperationPoller[ClientRawResponse[Workspace]]
Raisesmodels = <module 'azure.mgmt.databricks.models' from '/home/vsts/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.Operations(client, config, serializer, deserializer)[source]¶Bases: object
Operations operations.
Parametersclient – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
api_version – The API version to use for this operation. Constant value: “2018-04-01”.
list(custom_headers=None, raw=False, **operation_config)[source]¶Lists all of the available RP operations.
Parameterscustom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
An iterator like instance of Operation
Return typeRaisesmodels = <module 'azure.mgmt.databricks.models' from '/home/vsts/work/1/s/sdk/databricks/azure-mgmt-databricks/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/databricks/models/__init__.py'>¶ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnploqKmptbC6jpqxrqqVYrqoudNmm5qskZe%2Fqq%2FKrGZpZmFjfXCt2a6pnmadnLq1esOaq5qaop6wrL%2BNqKeeqpGptrC60mefraWc