File tree 2 files changed +59
-0
lines changed
2 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 232
232
landingPageType : Service
233
233
children :
234
234
- azure-arm-containerregistry
235
+ - name : Container Service
236
+ uid : azure.nodejs.sdk.landingpage.services.containerservice
237
+ href : ~/docs-ref-services/container-service.md
238
+ items :
239
+ - name : Management
240
+ uid : azure.nodejs.sdk.landingPage.services.containerservice.Management
241
+ landingPageType : Service
242
+ children :
243
+ - azure-arm-containerservice
235
244
- name : Cosmos DB
236
245
uid : azure.nodejs.sdk.landingpage.services.cosmosdb
237
246
href : ~/docs-ref-services/cosmos-db.md
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Azure Container Service modules for Node.js
3
+ description : Reference for Azure Container Service Modules for Node.js
4
+ author : mmacy
5
+ ms.author : marsma
6
+ manager : jeconnoc
7
+ ms.date : 07/18/2017
8
+ ms.topic : article
9
+ ms.prod : azure
10
+ ms.technology : azure
11
+ ms.devlang : nodejs
12
+ ms.service : Container Service
13
+ ---
14
+
15
+ # Microsoft Azure SDK for Node.js - ContainerServiceClient
16
+ This project provides a Node.js package for accessing Azure. Right now it supports:
17
+ - ** Node.js version 6.x.x or higher**
18
+
19
+ ## Features
20
+
21
+
22
+ ## How to Install
23
+
24
+ ``` bash
25
+ npm install azure-arm-containerservice
26
+ ```
27
+
28
+ ## How to use
29
+
30
+ ### Authentication, client creation and list containerServices as an example.
31
+
32
+ ``` javascript
33
+ const msRestAzure = require (" ms-rest-azure" );
34
+ const ContainerServiceClient = require (" azure-arm-containerservice" );
35
+ msRestAzure .interactiveLogin ().then ((creds ) => {
36
+ const subscriptionId = " <Subscription_Id>" ;
37
+ const client = new ContainerServiceClient (creds, subscriptionId);
38
+ return client .containerServices .list ().then ((result ) => {
39
+ console .log (" The result is:" );
40
+ console .log (result);
41
+ });
42
+ }).catch ((err ) => {
43
+ console .log (' An error ocurred:' );
44
+ console .dir (err, {depth: null , colors: true });
45
+ });
46
+ ```
47
+
48
+ ## Related projects
49
+
50
+ - [ Microsoft Azure SDK for Node.js] ( https://github.com/Azure/azure-sdk-for-node )
You can’t perform that action at this time.
0 commit comments