• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..18-Aug-2021-

CHANGELOG.mdH A D18-Aug-2021194 84

README.mdH A D18-Aug-20212.9 KiB7548

ci.ymlH A D18-Aug-2021349 1713

go.modH A D18-Aug-2021197 96

go.sumH A D18-Aug-20211.8 KiB1918

go_mod_tidy_hack.goH A D18-Aug-2021520 132

zz_generated_bigdatapools_client.goH A D18-Aug-20215.2 KiB142110

zz_generated_connection.goH A D18-Aug-20212.8 KiB7848

zz_generated_constants.goH A D18-Aug-202184.7 KiB2,3581,647

zz_generated_dataflow_client.goH A D18-Aug-202117 KiB440369

zz_generated_dataflowdebugsession_client.goH A D18-Aug-202116.3 KiB367302

zz_generated_dataset_client.goH A D18-Aug-202116.8 KiB440369

zz_generated_integrationruntimes_client.goH A D18-Aug-20215.5 KiB142110

zz_generated_library_client.goH A D18-Aug-202120.8 KiB559470

zz_generated_linkedservice_client.goH A D18-Aug-202118.2 KiB440369

zz_generated_models.goH A D18-Aug-20211.2 MiB35,29725,619

zz_generated_notebook_client.goH A D18-Aug-202119.5 KiB494414

zz_generated_pagers.goH A D18-Aug-202121.8 KiB775566

zz_generated_pipeline_client.goH A D18-Aug-202120 KiB511431

zz_generated_pipelinerun_client.goH A D18-Aug-202110.6 KiB257209

zz_generated_pollers.goH A D18-Aug-202123 KiB634471

zz_generated_polymorphic_helpers.goH A D18-Aug-202155 KiB2,0962,029

zz_generated_response_types.goH A D18-Aug-202120.6 KiB533232

zz_generated_sparkjobdefinition_client.goH A D18-Aug-202127.6 KiB630533

zz_generated_sqlpools_client.goH A D18-Aug-20214.9 KiB142110

zz_generated_sqlscript_client.goH A D18-Aug-202117.3 KiB440369

zz_generated_time_rfc3339.goH A D18-Aug-20211.4 KiB5840

zz_generated_trigger_client.goH A D18-Aug-202131.4 KiB789670

zz_generated_triggerrun_client.goH A D18-Aug-20217.7 KiB190153

zz_generated_workspace_client.goH A D18-Aug-20212.6 KiB8158

zz_generated_workspacegitrepomanagement_client.goH A D18-Aug-20213.5 KiB8360

README.md

1# Azure Synapse Artifacts Module for Go
2
3[![PkgGoDev](https://pkg.go.dev/badge/github.com/Azure/azure-sdk-for-go/sdk/synapse/azartifacts)](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/synapse/azartifacts)
4
5The `azartifacts` module provides operations for working with Azure synapse.
6
7[Source code](https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/synapse/azartifacts)
8
9# Getting started
10
11## Prerequisites
12
13- an [Azure subscription](https://azure.microsoft.com/free/)
14- Go 1.13 or above
15
16## Install the package
17
18This project uses [Go modules](https://github.com/golang/go/wiki/Modules) for versioning and dependency management.
19
20Install the Azure Synapse Artifacts module:
21
22```sh
23go get github.com/Azure/azure-sdk-for-go/sdk/synapse/azartifacts
24```
25
26## Authorization
27
28When creating a client, you will need to provide a credential for authenticating with Azure Synapse.  The `azidentity` module provides facilities for various ways of authenticating with Azure including client/secret, certificate, managed identity, and more.
29
30```go
31cred, err := azidentity.NewDefaultAzureCredential(nil)
32```
33
34For more information on authentication, please see the documentation for `azidentity` at [pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity).
35
36## Connecting to Azure Synapse
37
38Once you have a credential, create a connection to the desired Synapse endpoint URL.
39
40```go
41con := azartifacts.NewConnection("<endpoint>", cred, nil)
42```
43
44## Clients
45
46Azure Synapse artifacts modules consist of one or more clients.  A client groups a set of related APIs, providing access to its functionality for the associated endpoint.  Create one or more clients to access the APIs you require using your `azartifacts.Connection`.
47
48```go
49client := azartifacts.NewNotebookClient(con)
50```
51
52## Provide Feedback
53
54If you encounter bugs or have suggestions, please
55[open an issue](https://github.com/Azure/azure-sdk-for-go/issues) and assign the `Synapse` label.
56
57# Contributing
58
59This project welcomes contributions and suggestions. Most contributions require
60you to agree to a Contributor License Agreement (CLA) declaring that you have
61the right to, and actually do, grant us the rights to use your contribution.
62For details, visit [https://cla.microsoft.com](https://cla.microsoft.com).
63
64When you submit a pull request, a CLA-bot will automatically determine whether
65you need to provide a CLA and decorate the PR appropriately (e.g., label,
66comment). Simply follow the instructions provided by the bot. You will only
67need to do this once across all repos using our CLA.
68
69This project has adopted the
70[Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
71For more information, see the
72[Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
73or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any
74additional questions or comments.
75