prefect_azure.ml_datastore
Tasks for interacting with Azure ML Datastore
Functions
ml_list_datastores
ml_credentials: Credentials to use for authentication with Azure.
ml_get_datastore
ml_credentials: Credentials to use for authentication with Azure.datastore_name: The name of the Datastore. IfNone, then the default Datastore of the Workspace is returned.
ml_upload_datastore
path: The path to a single file, single directory, or a list of path to files to be uploaded.ml_credentials: Credentials to use for authentication with Azure.target_path: The location in the blob container to upload to. If None, then upload to root.relative_root: The root from which is used to determine the path of the files in the blob. For example, if we upload /path/to/file.txt, and we define base path to be /path, when file.txt is uploaded to the blob storage, it will have the path of /to/file.txt.datastore_name: The name of the Datastore. IfNone, then the default Datastore of the Workspace is returned.overwrite: Overwrite existing file(s).
ml_register_datastore_blob_container
container_name: The name of the container.ml_credentials: Credentials to use for authentication with Azure ML.blob_storage_credentials: Credentials to use for authentication with Azure Blob Storage.datastore_name: The name of the datastore. If not defined, the container name will be used.create_container_if_not_exists: Create a container, if one does not exist with the given name.overwrite: Overwrite an existing datastore. If the datastore does not exist, it will be created.set_as_default: Set the created Datastore as the default datastore for the Workspace.