azure.mgmt.databricks.models module¶
-
exception
azure.mgmt.databricks.models.ErrorResponseException(deserialize, response, *args)[source]¶ Bases:
msrest.exceptions.HttpOperationErrorServer responsed with exception of type: ‘ErrorResponse’.
- Parameters
deserialize – A deserializer
response – Server response to be deserialized.
-
class
azure.mgmt.databricks.models.WorkspaceProviderAuthorization(*, principal_id: str, role_definition_id: str, **kwargs)[source]¶ Bases:
msrest.serialization.ModelThe workspace provider authorization.
All required parameters must be populated in order to send to Azure.
- Parameters
principal_id (str) – Required. The provider’s principal identifier. This is the identity that the provider will use to call ARM to manage the workspace resources.
role_definition_id (str) – Required. The provider’s role definition identifier. This role will define all the permissions that the provider must have on the workspace’s container resource group. This role definition cannot have permission to delete the resource group.
-
class
azure.mgmt.databricks.models.Sku(*, name: str, tier: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelSKU for the resource.
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.databricks.models.Workspace(*, location: str, managed_resource_group_id: str, tags=None, parameters=None, ui_definition_uri: str = None, authorizations=None, sku=None, **kwargs)[source]¶ Bases:
azure.mgmt.databricks.models.tracked_resource_py3.TrackedResourceInformation about workspace.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
provisioning_state (str or ProvisioningState) – The workspace provisioning state. Possible values include: ‘Accepted’, ‘Running’, ‘Ready’, ‘Creating’, ‘Created’, ‘Deleting’, ‘Deleted’, ‘Canceled’, ‘Failed’, ‘Succeeded’, ‘Updating’
- Parameters
location (str) – Required. The geo-location where the resource lives
managed_resource_group_id (str) – Required. The managed resource group Id.
parameters (object) – Name and value pairs that define the workspace parameters.
ui_definition_uri (str) – The blob URI where the UI definition file is located.
authorizations (list[WorkspaceProviderAuthorization]) – The workspace provider authorizations.
sku (Sku) – The SKU of the resource.
-
class
azure.mgmt.databricks.models.TrackedResource(*, location: str, tags=None, **kwargs)[source]¶ Bases:
azure.mgmt.databricks.models.resource_py3.ResourceThe resource model definition for a ARM tracked top level resource.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Parameters
-
class
azure.mgmt.databricks.models.Resource(**kwargs)[source]¶ Bases:
msrest.serialization.ModelThe core properties of ARM resources.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
-
class
azure.mgmt.databricks.models.WorkspaceUpdate(*, tags=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelAn update to a workspace.
-
class
azure.mgmt.databricks.models.ErrorDetail(*, code: str, message: str, target: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelError details.
All required parameters must be populated in order to send to Azure.
-
class
azure.mgmt.databricks.models.ErrorInfo(*, code: str, message: str, details=None, innererror: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelThe code and message for an error.
All required parameters must be populated in order to send to Azure.
- Parameters
code (str) – Required. A machine readable error code.
message (str) – Required. A human readable error message.
details (list[ErrorDetail]) – error details.
innererror (str) – Inner error details if they exist.
-
class
azure.mgmt.databricks.models.ErrorResponse(*, error, **kwargs)[source]¶ Bases:
msrest.serialization.ModelError response.
Contains details when the response code indicates an error.
All required parameters must be populated in order to send to Azure.
- Parameters
error (ErrorInfo) – Required. The error details.
-
class
azure.mgmt.databricks.models.OperationDisplay(*, provider: str = None, resource: str = None, operation: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelThe object that represents the operation.
-
class
azure.mgmt.databricks.models.Operation(*, name: str = None, display=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelREST API operation.
- Parameters
name (str) – Operation name: {provider}/{resource}/{operation}
display (OperationDisplay) – The object that represents the operation.
-
class
azure.mgmt.databricks.models.WorkspacePaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
WorkspaceobjectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.databricks.models.OperationPaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
OperationobjectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.databricks.models.ProvisioningState[source]¶ -
An enumeration.
-
accepted= 'Accepted'¶
-
canceled= 'Canceled'¶
-
created= 'Created'¶
-
creating= 'Creating'¶
-
deleted= 'Deleted'¶
-
deleting= 'Deleting'¶
-
failed= 'Failed'¶
-
ready= 'Ready'¶
-
running= 'Running'¶
-
succeeded= 'Succeeded'¶
-
updating= 'Updating'¶
-