# azure-arm-analysisservices

> AnalysisServicesManagementClient Library with typescript type definitions for node

Latest version **2.3.0** (published 2018-11-07) · MIT license · 0 weekly downloads

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

## Install

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

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.3.0 |
| Published | 2018-11-07 |
| First published | 2016-10-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 386 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1174 |
| Author | Microsoft Corporation |
| Maintainers | windowsazure |
| Keywords | node, azure |

## Links

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

## Dependencies (2)

- [ms-rest](https://npm.io/package/ms-rest.md) ^2.3.3
- [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

- 2.3.0 (latest) — 2018-11-07
- 2.2.2 — 2018-09-04
- 2.2.1-preview — 2018-04-03
- 2.2.0-preview — 2018-03-29
- 2.1.0-preview — 2017-09-28
- 2.0.0-preview — 2017-04-03
- 1.0.0 — 2016-10-27

## README

# Microsoft Azure SDK for Node.js - AnalysisServices

This project provides a Node.js package for accessing the Azure PAS. Right now it supports:
- **Node.js version: 6.x.x or higher**
- **API version: 2017-08-01-beta**

## Features


## How to Install

```bash
npm install azure-arm-analysisservices
```

## How to Use

### Authentication, client creation and listing analysis server as an example

 ```javascript
 var msRestAzure = require('ms-rest-azure');
 var analysisServicesManagement = require("azure-arm-analysisservices");
 
 // Interactive Login
 // It provides a url and code that needs to be copied and pasted in a browser and authenticated over there. If successful, 
 // the user will get a DeviceTokenCredentials object.
 msRestAzure.interactiveLogin(function(err, credentials) {
  var client = new analysisServicesManagement(credentials, 'your-subscription-id');

  var util = require('util');
  var resourceGroupName = 'testrg';
  var serverName = 'testadlsacct';
  var location = 'eastus2';

  client.servers.list(function(err, result) {
    if (err) console.log(err);
    console.log(result);
  });

  // account object to create
  var serverToCreate = {
    sku: {
        name: "S1",
        tier: "Standard"
    },    
    tags: {
      testtag1: 'testvalue1',
      testtag2: 'testvalue2'
    },
    name: serverName,
    location: location,
    properties: {
      provisioningState: "Succeeded",
      serverFullName: "asazure://stabletest.asazure-int.windows.net/upgradevalidation",
      asAdministrators: {
        members: [
          "aztest0@stabletest.ccsctp.net"
        ]
      }
    }
  };

  client.servers.create(resourceGroupName, serverName, serverToCreate, function (err, result) {
    if (err) {
      console.log(err);
      /*err has reference to the actual request and response, so you can see what was sent and received on the wire.
        The structure of err looks like this:
        err: {
          code: 'Error Code',
          message: 'Error Message',
          body: 'The response body if any',
          request: reference to a stripped version of http request
          response: reference to a stripped version of the response
        }
      */
    } else {
      console.log('result is: ' + util.inspect(result, {depth: null}));
    }
  });
 });
```

## Related projects

- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)

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