Use the Data Science Extension for Visual Studio Code to Manage Jobs
Work with jobs using the OCI Data Science Extension for Visual Studio Code.
The OCI Toolkit for Visual Studio Code provide a set of features that helps developers create, test and deploy resources and applications on OCI from within Microsoft Visual Studio Code.
To find the OCI Toolkit for VS Code, go to the Visual Studio Code Marketplace and search for 'OCI'.
Prerequisites
As with any Oracle client, obtain an API signing key. For guidance, see Generating an API Signing Key (Console).
Installing the extension
For instructions on installing the OCI Data Science Extension for Visual Studio Code, see the following.
Listing Jobs
The Data Science extension is a tree view in the side panel. The data is loaded based on the configuration file specifications, such as user credentials, region, tenancy OCID, and so on
The tree view has tenancy at the top level followed by compartments. Each compartment has projects and each project lists any jobs. Each job lists the artifacts, and all the job runs associated with it.
- In the tree navigation on the left side, expand the node for the compartment that you want.
- Expand the node for the project that you want.
- Expand the node for the job that you want.
Creating a Job
Create a new job from an existing Data Science job artifact.
Running a Job
Overriding Local Changes
Revert any local changes to a job by overriding them with the latest available remote specifications.
Managing Jobs
Learn about job run details, canceling, and deleting them in the OCI Data Science Extension for Visual Studio Code.
After the job run completes, you can do the following:
View the Details
Right-click a job and select View details to redirect to the Console to view the job run details.
View the Output
Right-click a job and select View output to see the logged messages in the output tab of the panel in the lower right corner under the editor region.
Cancel a Job Run
Only job runs that are in ACCEPTED
, IN_PROGRESS
, or NEEDS_ATTENTION
states can be canceled.
Right-click a job and select Cancel job run to see cancel the job run. An informational message appears to alert you that the job run cancellation was started.
Delete the Job Run
Right-click a job and select Delete to delete the job run from the job. Confirm the deletion in the information message by selecting Delete job run.