get_default_datastore: Get the default datastore for a workspace

Description Usage Arguments Value Examples See Also

View source: R/workspace.R

Description

Returns the default datastore associated with the workspace.

When you create a workspace, an Azure blob container and Azure file share are registered to the workspace with the names workspaceblobstore and workspacefilestore, respectively. They store the connection information of the blob container and the file share that is provisioned in the storage account attached to the workspace. The workspaceblobstore is set as the default datastore, and remains the default datastore unless you set a new datastore as the default with set_default_datastore().

Usage

1

Arguments

workspace

The Workspace object.

Value

The default Datastore object.

Examples

Get the default datastore for the datastore:

1
2

If you have not changed the default datastore for the workspace, the following code will return the same datastore object as the above example:

1
2
ws <- load_workspace_from_config()
ds <- get_datastore(ws, datastore_name = 'workspaceblobstore')

See Also

set_default_datastore()


azuremlsdk documentation built on Oct. 23, 2020, 8:22 p.m.