Azure Synapse Artifacts client library for JavaScript - version 1.0.0-beta.15
This package contains an isomorphic SDK for Artifacts.
Getting started
Install the package
npm install @azure/synapse-artifacts
Currently supported environments
- LTS versions of Node.js
- Latest versions of Safari, Chrome, Edge, and Firefox.
See our support policy for more details.
Key concepts
Examples
import { ArtifactsClient } from "@azure/synapse-artifacts";
import { DefaultAzureCredential } from "@azure/identity";
export async function main(): Promise<void> {
const credential = new DefaultAzureCredential();
let client = new ArtifactsClient(credential, "https://mysynapse.dev.azuresynapse.net");
let list = await client.pipelineOperations.listPipelinesByWorkspace();
for await (let item of list) {
console.log("item:", item);
}
}
Related projects
Troubleshooting
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the AZURE_LOG_LEVEL
environment variable to info
. Alternatively, logging can be enabled at runtime by calling setLogLevel
in the @azure/logger
:
import { setLogLevel } from "@azure/logger";
setLogLevel("info");
Next steps
In the future, you'll find additional code samples here.
Contributing
If you'd like to contribute to this library, please read the contributing guide to learn more about how to build and test the code.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for JavaScript