Azure runtime for isomorphic javascript libraries generated by Autorest
Перейти к файлу
microsoft-github-policy-service[bot] f771298937
Microsoft mandatory file
2023-01-27 21:00:22 +00:00
.devops add trigger 2021-01-05 18:32:57 +00:00
.github Update CODEOWNERS (#125) 2019-08-08 12:26:04 -07:00
.scripts Add checkEverything.ts 2018-12-20 13:11:04 -08:00
lib prepare a release 2021-01-26 22:02:10 +00:00
samples Rename NPM package to @azure/ms-rest-azure-js (#77) 2018-11-09 20:02:28 -08:00
test Fix tests to pass when -preview suffix set in version (#121) 2019-06-06 10:19:37 -07:00
.gitattributes initial commit 2017-09-13 12:37:49 -07:00
.gitignore Handle 404 properly in the final GET of an LRO DELETE operation 2019-06-01 17:48:24 -07:00
Changelog.md prepare a release 2021-01-26 22:02:10 +00:00
LICENSE initial commit 2017-09-13 12:37:49 -07:00
README.md Clarify how one would use this package 2020-12-15 16:15:56 -08:00
SECURITY.md Microsoft mandatory file 2023-01-27 21:00:22 +00:00
mocha.config.json Enable coverage in ci 2018-12-14 11:48:16 -08:00
package.json prepare a release 2021-01-26 22:02:10 +00:00
rollup.config.js update min version of dependency on ms-rest-js to 2.0.3 2019-07-15 09:37:51 -07:00
tsconfig.es.json Add es6 build step 2018-06-11 08:51:37 -07:00
tsconfig.json Rollup (#65) 2018-10-04 14:50:00 -07:00
tslint.json Add no-return-await TSLint rule 2018-11-29 12:34:24 -08:00

README.md

ms-rest-azure-js Build Status

Azure Runtime with support for long running operations used by packages generated via the code generator @microsoft.azure/autorest.typescript.

Use this package if you are writing a library for one of the Azure services whose API requires support for long running operations. To write a library for one of the Azure services whose API does not need support for long running operations, @azure/ms-rest-js should suffice.

If you are not a library writer for any of the Azure services, you should not need to use this package except for one scenario which is authenticating to any of the Cognitive Services using the below packages. This is when you would use the CognitiveServicesCredentials exported from this package.

Requirements

  • node.js version > 6.x
  • npm install -g typescript

Installation

  • After cloning the repo, execute npm install

Execution

node.js

  • Set the subscriptionId and token
  • Run node samples/node-sample.js

In the browser

  • Set the subscriptionId and token and then run
  • Open index.html file in the browser. It should show the response from GET request on the storage account. From Chrome type Ctrl + Shift + I and you can see the logs in console.

Contributing

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 repos 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.