This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
Перейти к файлу
Daniel Jurek c2a8656e0f
Workaround to enable OpenAI documentation on learn.microsoft.com (#31788)
Work item to undo the workaround when proper support is implemented in
`type2docfx`: https://github.com/Azure/azure-sdk-for-js/issues/31787

Docs with changes in place:
https://review.learn.microsoft.com/en-us/javascript/api/overview/azure/openai-readme?view=azure-node-preview&branch=djurek%2Fopenai-readme

The change in `Docs-Toc.ps1` adds the OpenAI entry and then sorts the
packages in Cognitive Services so that OpenAI ends up in the right
place.
2024-11-15 13:43:32 -08:00
.config/1espt Auto-generated baselines by 1ES Pipeline Templates (#31118) 2024-09-18 17:00:33 -04:00
.devcontainer [engsys] update devcontainer.json (#26793) 2023-08-11 20:20:09 +00:00
.github [CODEOWNERS] Remove invalid owners (#31629) 2024-11-04 15:03:05 -06:00
.scripts remove nvm installation for SDK automation (#30607) 2024-08-13 10:10:24 -07:00
.vscode Debug configuration for vitest (#31752) 2024-11-14 12:04:39 -08:00
common [mgmt] hybridcompute release (#31722) 2024-11-15 10:19:38 +08:00
design [doc] fixed typos and punctuation (#29225) 2024-06-25 07:02:57 -07:00
documentation [docs] remove outdated migration guide (#30845) 2024-08-21 13:55:37 -07:00
eng Workaround to enable OpenAI documentation on learn.microsoft.com (#31788) 2024-11-15 13:43:32 -08:00
samples [samples] Update web-workers sample (#31060) 2024-09-10 11:08:18 -07:00
sdk Workaround to enable OpenAI documentation on learn.microsoft.com (#31788) 2024-11-15 13:43:32 -08:00
.gitattributes added github support via .gitattributes to treat generated files in PRs as do-not-display-by-default (#17139) 2021-08-26 11:39:24 +00:00
.gitignore [EngSys] add VS Code vitest settings for core packages (#31583) 2024-10-30 15:06:42 -07:00
.nvmrc [EngSys] Update version of tshy ***NO_CI*** 2024-07-03 18:40:06 +00:00
.prettierignore Use global prettier config/ignore for all check and check-format scripts (#17820) 2021-09-23 22:27:41 +00:00
.prettierrc.json Standardize prettier configurations across the repo (#10416) 2020-08-04 16:31:27 -04:00
CONTRIBUTING.md [Doc] Remove build instructions for non-rush packages from contributing guide (#31045) 2024-09-11 12:15:57 -07:00
LICENSE Initial commit for copying files from azure-sdk-for-node 2018-08-27 13:58:16 -07:00
README.md [doc] fixed typos and punctuation (#29225) 2024-06-25 07:02:57 -07:00
SECURITY.md Replaced relative link with absolute links and remove locale (#11317) 2020-09-17 20:01:20 -07:00
SUPPORT.md Add information about Node.js EOL policies (#29895) 2024-06-17 10:18:31 -07:00
dataplane.code-workspace Set `"eslint.useFlatConfig": true` for vscode-eslint extension 2024-08-22 11:43:26 -07:00
rush.json [mgmt] databoundaries release (#31422) 2024-10-28 12:51:24 +08:00
swagger_to_sdk_config.json update breakingchange label config (#28793) 2024-03-06 11:26:44 +08:00
tsconfig.json [engsys] revert compilerOptions back to target ES2017 (#28265) 2024-01-16 16:55:12 -08:00
tsdoc.json Use TS ESLint's no-invalid-this instead (#14458) 2021-03-25 19:19:59 +00:00
vitest.browser.base.config.ts [core] Add README snippets for core (#31204) 2024-09-25 09:35:12 -04:00
vitest.browser.shared.config.ts [core] Add README snippets for core (#31204) 2024-09-25 09:35:12 -04:00
vitest.shared.config.ts [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
vitest.workspace.ts [EngSys] add VS Code vitest settings for core packages (#31583) 2024-10-30 15:06:42 -07:00

README.md

Azure SDK for JavaScript

Packages Dependencies DependencyGraph

This repository is for the Azure SDK for JavaScript (Node.js & Browser). It contains libraries for the breadth of Azure services. Management libraries are packages that you would use to provision and manage Azure resources. Client libraries are packages that you would use to consume these resources and interact with them.

Getting started

A few helpful resources to get started are:

  • The readme for each package contains code samples and package information. This readme can be found in the corresponding package folder under the folder of the service of your choice in the /sdk folder of this repository. The same readme file can be found on the landing page for the package in npm.
  • The API reference documentation of the latest versions of these packages, can be found at our public developer docs.
  • The API reference documentation of older versions, can be found in our versioned developer docs.

Each service might have a number of libraries available from each of the following categories:

NOTE: Some of these packages have beta versions. If you need to ensure your code is ready for production, use one of the stable, non-beta packages.

Client

Given an Azure resource already exists, you would use the client libraries to consume it and interact with it. Most of these libraries follow the Azure SDK Design Guidelines for JavaScript & TypeScript and share a number of core functionalities such as retries, logging, transport protocols, authentication protocols, etc. Others will be updated in the near future to follow the guidelines as well.

To get a list of all client libraries that follow the new guidelines, please visit our Azure SDK releases page.

Management

Management libraries enable you to provision and manage Azure resources via the Azure Resource Manager i.e. ARM. You can recognize these libraries by @azure/arm- in their package names. These are purely auto-generated based on the swagger files that represent the APIs for resource management.

Newer versions of these libraries follow the Azure SDK Design Guidelines for TypeScript. These new versions provide a number of core capabilities that are shared amongst all Azure SDKs, including the intuitive Azure Identity library, an HTTP Pipeline with custom policies, error-handling, distributed tracing, and much more. A few helpful resources to get started with these are:

NOTE: If you are experiencing authentication issues with the management libraries after upgrading certain packages, it's possible that you upgraded to the new versions of SDK without changing the authentication code, please refer to the migration guide mentioned above for proper instructions.

Need help?

Community

Try our community resources.

Reporting security issues and security bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

Contributing

For details on contributing to this repository, see the contributing guide.

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Impressions