# azure-arm-sql

> SqlManagementClient Library with typescript type definitions for node

Latest version **5.7.0** (published 2019-04-09) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install azure-arm-sql
pnpm add azure-arm-sql
yarn add azure-arm-sql
bun add azure-arm-sql
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 5.7.0 |
| Published | 2019-04-09 |
| First published | 2017-04-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 7 MB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Author | Microsoft Corporation |
| Maintainers | windowsazure |
| Keywords | node, azure |

## Links

- npm: https://www.npmjs.com/package/azure-arm-sql
- Repository: https://github.com/azure/azure-sdk-for-node
- Homepage: https://github.com/azure/azure-sdk-for-node/tree/master/lib/services/sqlManagement2
- Issues: https://github.com/azure/azure-sdk-for-node/issues
- npm.io page: https://npm.io/package/azure-arm-sql

## Dependencies (2)

- [ms-rest](https://npm.io/package/ms-rest.md) ^2.5.0
- [ms-rest-azure](https://npm.io/package/ms-rest-azure.md) ^2.5.5

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 5.7.0 (latest) — 2019-04-09
- 5.6.0 — 2018-11-08
- 5.5.0 — 2018-11-08
- 5.4.0 — 2018-11-07
- 5.3.1 — 2018-11-06
- 5.3.0 — 2018-10-31
- 5.2.0 — 2018-10-30
- 5.1.1 — 2018-10-25
- 5.1.0 — 2018-10-05
- 5.0.1 — 2018-09-17
- 5.0.0 — 2018-09-11
- 4.3.0 — 2018-09-05
- 4.2.0 — 2018-08-28
- 4.1.0 — 2018-07-19
- 4.0.0 — 2018-07-09
- … 3 more at https://npm.io/package/azure-arm-sql/versions

## README

---
uid: azure-arm-sql
summary: *content

---
**This SDK will be deprecated next year and will be replaced by a new TypeScript-based isomorphic SDK (found at https://www.npmjs.com/package/@azure/arm-sql) which works on Node.js and browsers.**
**See https://aka.ms/azure-sdk-for-js-migration to learn more.**
## Microsoft Azure SDK for Node.js - SqlManagementClient

This project provides a Node.js package for accessing Azure. Right now it supports:
- **Node.js version 6.x.x or higher**

### Features


### How to Install

```bash
npm install azure-arm-sql
```

### How to use

#### Authentication, client creation, and get recoverableDatabases as an example.

```javascript
const msRestAzure = require("ms-rest-azure");
const SqlManagementClient = require("azure-arm-sql");
msRestAzure.interactiveLogin().then((creds) => {
  const subscriptionId = "<Subscription_Id>";
  const client = new SqlManagementClient(creds, subscriptionId);
  const resourceGroupName = "testresourceGroupName";
  const serverName = "testserverName";
  const databaseName = "testdatabaseName";

  return client.recoverableDatabases.get(resourceGroupName, serverName, databaseName).then((result) => {
    console.log("The result is:");
    console.log(result);
  });
}).catch((err) => {
  console.log('An error occurred:');
  console.dir(err, {depth: null, colors: true});
});
```
### Related projects

- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)

---
_Source: https://npm.io/package/azure-arm-sql · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
