Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR deploymentmanager/resource-manager] Add deploymentmanager/resource-manager/readme.typescript.md #156

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
d819803
Generate @azure/arm-servicefabric package
kpajdzik Oct 10, 2018
2a8bf7b
Generate @azure/arm-containerservice package
kpajdzik Oct 10, 2018
7c8ebde
add code of conduct to the readme and contributing doc
jiyeonseo Oct 11, 2018
eb37c33
Generate @azure/arm-customerinsights package
kpajdzik Oct 11, 2018
78188db
Generate @azure/arm-datafactory package
kpajdzik Oct 11, 2018
c33c3b3
Generate @azure/arm-datamigration package
kpajdzik Oct 11, 2018
070d7b2
Generate @azure/arm-devtestlabs package
kpajdzik Oct 11, 2018
ee0d794
Generate @azure/arm-domainservices package
kpajdzik Oct 11, 2018
ab2fa52
Generate @azure/arm-frontdoor package
kpajdzik Oct 11, 2018
06176d4
Generate servicefabric package with the correct name
kpajdzik Oct 11, 2018
8551ce3
Remove package with incorrect name
kpajdzik Oct 11, 2018
a7e6129
Generated from a90288c3762cb1ac6f3998e2cd1c23d33f37dcb4
AutorestCI Oct 11, 2018
565997f
Generated from f40292b667f4b6ce5b580131a308c336c9a9c9fc
AutorestCI Oct 12, 2018
a7d6708
Generated from e4e1defab1a6a65ce9351a12b8e6411e827c9d76
AutorestCI Oct 12, 2018
ce90d93
Generate @azure/arm-containerservice package
kpajdzik Oct 12, 2018
12ceaa5
Merge pull request #98 from Azure/generated/@azure/arm-domainservices…
Oct 12, 2018
e374b82
Merge pull request #83 from Azure/generated/@azure/arm-containerservi…
Oct 12, 2018
3132469
Merge pull request #101 from Azure/generated/@azure/arm-frontdoor-201…
Oct 12, 2018
17bf21c
Merge pull request #84 from jiyeonseo/master
Oct 12, 2018
cc45296
Merge pull request #97 from Azure/generated/@azure/arm-devtestlabs-20…
Oct 12, 2018
2f02a6e
Update SwaggerToSDK generator version to 2.0.559
Oct 12, 2018
3e10bb1
Merge pull request #82 from Azure/generated/@azure/arm-servicefabric-…
Oct 12, 2018
7a68bdc
Merge pull request #86 from Azure/generated/@azure/arm-customerinsigh…
Oct 12, 2018
85ce191
Merge pull request #90 from Azure/generated/@azure/arm-datafactory-20…
Oct 12, 2018
afbf2ce
Merge pull request #93 from Azure/generated/@azure/arm-datamigration-…
Oct 12, 2018
a6a86ac
Add generating readme files and SDKs (#39)
kpajdzik Oct 12, 2018
16a1a38
Generated from f3b3520c32cfe447a5f85b6491d65d59855b440a (#176)
AutorestCI Oct 12, 2018
bf310b0
Generated from 4e40c606f9da0b2bc4d5fc95cb7d6fe072cf2170 (#138)
AutorestCI Oct 15, 2018
3a65c35
Update generator version for Swagger to SDK
Oct 15, 2018
b17e795
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-js
Oct 15, 2018
29acdb4
Merge branch 'master' into daschult/swaggerToSdk
Oct 15, 2018
32d3b76
Merge pull request #170 from Azure/daschult/swaggerToSdk
Oct 15, 2018
f67bd2e
Merge pull request #158 from Azure/generated/@azure/arm-containerserv…
Oct 15, 2018
df48c71
Merge branch 'master' into restapi_auto_containerservices/resource-ma…
Oct 15, 2018
b376451
Remove unnecessary generated files
Oct 15, 2018
457cd1c
Merge pull request #181 from Azure/restapi_auto_containerservices/res…
Oct 15, 2018
ad3f89a
Merge branch 'master' into restapi_auto_containerregistry/resource-ma…
Oct 15, 2018
63a171c
Regenerate arm-containerregistry
Oct 15, 2018
eca2174
[AutoPR consumption/resource-manager] Introducing New Version 2018-10…
AutorestCI Oct 15, 2018
91ca2c2
Merge pull request #177 from Azure/restapi_auto_containerregistry/res…
Oct 15, 2018
fdda00a
Merge branch 'master' into restapi_auto_consumption/resource-manager
Oct 15, 2018
05d3570
Generated from 702e8f7ab327cd8fe694ed64684a300ed6bed1d9 (#185)
AutorestCI Oct 15, 2018
032f620
Regenerate arm-consumption
Oct 15, 2018
80b2828
Merge pull request #183 from Azure/restapi_auto_consumption/resource-…
Oct 15, 2018
91bee1e
Regenerate arm-sql
Oct 15, 2018
1033c3a
Regenerate arm-consumption
Oct 15, 2018
dee1330
Merge pull request #187 from Azure/restapi_auto_consumption/resource-…
Oct 15, 2018
babb6d9
Merge pull request #186 from Azure/restapi_auto_sql/resource-manager
Oct 15, 2018
b5cbe94
Upgrade Gulp to version 4.0.0 (#175)
kpajdzik Oct 15, 2018
2027522
Automate SDK regeneration (#212)
kpajdzik Oct 17, 2018
a211dec
Merge remote-tracking branch 'origin/master' into restapi_auto_genera…
kpajdzik Oct 17, 2018
87d8a4e
Regenerate package
kpajdzik Oct 17, 2018
2dd6d91
Merge remote-tracking branch 'origin/restapi_auto_generated/powerbiem…
kpajdzik Oct 17, 2018
c665779
Merge pull request #140 from Azure/restapi_auto_generated/deviceprovi…
Oct 17, 2018
cbb5a5d
Regenerated "@azure/arm-powerbiembedded" SDK.
kpajdzik Oct 17, 2018
589b96c
Merge pull request #133 from Azure/restapi_auto_generated/powerbiembe…
Oct 17, 2018
4f4743e
[AutoPR postgresql/resource-manager] Add postgresql/resource-manager/…
AutorestCI Oct 17, 2018
2e1d43a
[AutoPR eventgrid/data-plane] Add eventgrid/data-plane/readme.typescr…
AutorestCI Oct 17, 2018
79b2234
[AutoPR powerbidedicated/resource-manager] Add powerbidedicated/resou…
AutorestCI Oct 17, 2018
a1216d6
Restapi auto generated/search 2018 10 12 892 (#216)
kpajdzik Oct 17, 2018
ce91f80
[AutoPR iothub/resource-manager] Add iothub/resource-manager/readme.t…
AutorestCI Oct 17, 2018
52694fc
[AutoPR mariadb/resource-manager] Add mariadb/resource-manager/readme…
AutorestCI Oct 17, 2018
2294455
[AutoPR graphrbac/data-plane] Add graphrbac/data-plane/readme.typescr…
AutorestCI Oct 17, 2018
4dc158d
[AutoPR monitor/resource-manager] Add monitor/resource-manager/readme…
AutorestCI Oct 17, 2018
cf07adb
[AutoPR mediaservices/resource-manager] Add mediaservices/resource-ma…
AutorestCI Oct 17, 2018
a17370d
[AutoPR operationalinsights/data-plane] Add operationalinsights/data-…
AutorestCI Oct 17, 2018
2f4399d
[AutoPR notificationhubs/resource-manager] Add notificationhubs/resou…
AutorestCI Oct 17, 2018
133f2ac
[AutoPR marketplaceordering/resource-manager] Add marketplaceordering…
AutorestCI Oct 17, 2018
35077d7
[AutoPR iotspaces/resource-manager] Add iotspaces/resource-manager/re…
AutorestCI Oct 17, 2018
17c2497
[AutoPR iotcentral/resource-manager] Add iotcentral/resource-manager/…
AutorestCI Oct 17, 2018
9d6d67c
[AutoPR containerregistry/resource-manager] Add containerregistry/res…
AutorestCI Oct 17, 2018
f6c9903
[AutoPR recoveryservicessiterecovery/resource-manager] Add recoveryse…
AutorestCI Oct 17, 2018
3e3487b
[AutoPR machinelearningservices/resource-manager] Add machinelearning…
AutorestCI Oct 17, 2018
d638d4a
[AutoPR machinelearningcompute/resource-manager] Add machinelearningc…
AutorestCI Oct 17, 2018
1272695
[AutoPR eventgrid/resource-manager] Add eventgrid/resource-manager/re…
AutorestCI Oct 17, 2018
8ce4d4f
Merge remote-tracking branch 'origin/restapi_auto_generated/deploymen…
kpajdzik Oct 17, 2018
1537746
Regenerated "@azure/arm-deploymentmanager" SDK.
kpajdzik Oct 17, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 35 additions & 35 deletions packages/@azure/arm-deploymentmanager/.npmignore
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
#git
.git
.gitignore
#gulp
gulpfile.js
#documentation
doc/
docs/
#dependencies
node_modules/
#samples
sample/
samples/
#tests
test/
tests/
coverage/
#tools and scripts
tools/
scripts/
#IDE settings
*.sln
.vscode/
.idea
.editorconfig
.ntvs_analysis.*
#build tools
.travis.yml
.jenkins.yml
.codeclimate.yml
appveyor.yml
# Nuget packages #
.nuget/
packages/
packages.config
#git
.git
.gitignore
#gulp
gulpfile.js
#documentation
doc/
docs/
#dependencies
node_modules/
#samples
sample/
samples/
#tests
test/
tests/
coverage/
#tools and scripts
tools/
scripts/
#IDE settings
*.sln
.vscode/
.idea
.editorconfig
.ntvs_analysis.*
#build tools
.travis.yml
.jenkins.yml
.codeclimate.yml
appveyor.yml
# Nuget packages #
.nuget/
packages/
packages.config
42 changes: 21 additions & 21 deletions packages/@azure/arm-deploymentmanager/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The MIT License (MIT)
Copyright (c) 2018 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
152 changes: 71 additions & 81 deletions packages/@azure/arm-deploymentmanager/README.md
Original file line number Diff line number Diff line change
@@ -1,81 +1,71 @@
# Azure AzureDeploymentManager SDK for JavaScript
This package contains an isomorphic SDK for AzureDeploymentManager.

## Currently supported environments
- Node.js version 6.x.x or higher
- Browser JavaScript

## How to Install
```
npm install @azure/arm-deploymentmanager
```


## How to use

### nodejs - Authentication, client creation and get serviceTopologies as an example written in TypeScript.

```ts
import * as msRest from "ms-rest-js";
import * as msRestAzure from "ms-rest-azure-js";
import * as msRestNodeAuth from "ms-rest-nodeauth";
import { AzureDeploymentManager, AzureDeploymentManagerModels, AzureDeploymentManagerMappers } from "@azure/arm-deploymentmanager";
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];

msRestNodeAuth.interactiveLogin().then((creds) => {
const client = new AzureDeploymentManager(creds, subscriptionId);
const resourceGroupName = "testresourceGroupName";
const serviceTopologyName = "testserviceTopologyName";
client.serviceTopologies.get(resourceGroupName, serviceTopologyName).then((result) => {
console.log("The result is:");
console.log(result);
});
}).catch((err) => {
console.error(err);
});
```

### browser - Authentication, client creation and get serviceTopologies as an example written in JavaScript.
See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser.

- index.html
```html
<!DOCTYPE html>
<html lang="en">
<head>
<title>@azure/arm-deploymentmanager sample</title>
<script src="node_modules/ms-rest-js/dist/msRest.browser.js"></script>
<script src="node_modules/ms-rest-azure-js/dist/msRestAzure.js"></script>
<script src="node_modules/ms-rest-browserauth/dist/msAuth.js"></script>
<script src="node_modules/@azure/arm-deploymentmanager/dist/arm-deploymentmanager.js"></script>
<script>
const subscriptionId = "<Subscription_Id>";
const authManager = new msAuth.AuthManager({
clientId: "<client id for your Azure AD app>",
tenant: "<optional tenant for your organization>"
});
authManager.finalizeLogin().then((res) => {
if (!res.isLoggedIn) {
// may cause redirects
authManager.login();
}
const client = new Azure.ArmDeploymentmanager.AzureDeploymentManager(res.creds, subscriptionId);
const resourceGroupName = "testresourceGroupName";
const serviceTopologyName = "testserviceTopologyName";
client.serviceTopologies.get(resourceGroupName, serviceTopologyName).then((result) => {
console.log("The result is:");
console.log(result);
}).catch((err) => {
console.log('An error occurred:');
console.error(err);
});
});
</script>
</head>
<body>
</body>
</html>
```

# Related projects
- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
# Azure AzureDeploymentManager SDK for JavaScript
This package contains an isomorphic SDK for AzureDeploymentManager.

## Currently supported environments
- Node.js version 6.x.x or higher
- Browser JavaScript

## How to Install
```
npm install @azure/arm-deploymentmanager
```


## How to use

### nodejs - Authentication, client creation and get serviceTopologies as an example written in TypeScript.

```ts
import * as msRest from "ms-rest-js";
import * as msRestAzure from "ms-rest-azure-js";
import * as msRestNodeAuth from "ms-rest-nodeauth";
import { AzureDeploymentManager, AzureDeploymentManagerModels, AzureDeploymentManagerMappers } from "@azure/arm-deploymentmanager";
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];

msRestNodeAuth.interactiveLogin().then((creds) => {
const client = new AzureDeploymentManager(creds, subscriptionId);
const resourceGroupName = "testresourceGroupName";
const serviceTopologyName = "testserviceTopologyName";
client.serviceTopologies.get(resourceGroupName, serviceTopologyName).then((result) => {
console.log("The result is:");
console.log(result);
});
}).catch((err) => {
console.error(err);
});
```

### browser - Authentication, client creation and get serviceTopologies as an example written in JavaScript.

- index.html
```html
<!DOCTYPE html>
<html lang="en">
<head>
<title>@azure/arm-deploymentmanager sample</title>
<script src="node_modules/ms-rest-js/master/msRestBundle.js"></script>
<script src="node_modules/ms-rest-azure-js/master/msRestAzureBundle.js"></script>
<script src="node_modules/@azure/arm-deploymentmanager/azureDeploymentManagerBundle.js"></script>
<script>
const subscriptionId = "<Subscription_Id>";
const token = "<access_token>";
const creds = new msRest.TokenCredentials(token);
const client = new AzureDeploymentManager(creds, undefined, subscriptionId);
const resourceGroupName = "testresourceGroupName";
const serviceTopologyName = "testserviceTopologyName";
client.serviceTopologies.get(resourceGroupName, serviceTopologyName).then((result) => {
console.log("The result is:");
console.log(result);
}).catch((err) => {
console.log('An error ocurred:');
console.error(err);
});
</script>
</head>
<body>
</body>
</html>
```

# Related projects
- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ export {
ResourceOperation,
Message,
ServiceTopologyResource,
ServiceResourceProperties,
ServiceResource,
ServiceUnitResourceProperties,
ServiceUnitResource,
StepResource,
StepProperties,
Expand Down
Loading