Skip to content

Commit

Permalink
Update from master
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed May 7, 2020
1 parent a98996d commit 1d42054
Show file tree
Hide file tree
Showing 26 changed files with 2,056 additions and 342 deletions.
2 changes: 1 addition & 1 deletion sdk/peering/arm-peering/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019 Microsoft
Copyright (c) 2020 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
Expand Down
8 changes: 5 additions & 3 deletions sdk/peering/arm-peering/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ msRestNodeAuth.interactiveLogin().then((creds) => {
const client = new PeeringManagementClient(creds, subscriptionId);
const peeringLocation = "testpeeringLocation";
const kind = "Direct";
client.legacyPeerings.list(peeringLocation, kind).then((result) => {
const asn = 1;
client.legacyPeerings.list(peeringLocation, kind, asn).then((result) => {
console.log("The result is:");
console.log(result);
});
Expand Down Expand Up @@ -82,7 +83,8 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to
const client = new Azure.ArmPeering.PeeringManagementClient(res.creds, subscriptionId);
const peeringLocation = "testpeeringLocation";
const kind = "Direct";
client.legacyPeerings.list(peeringLocation, kind).then((result) => {
const asn = 1;
client.legacyPeerings.list(peeringLocation, kind, asn).then((result) => {
console.log("The result is:");
console.log(result);
}).catch((err) => {
Expand All @@ -100,4 +102,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to

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

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fpeering%2Farm-peering%2FREADME.png)
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/peering/arm-peering/README.png)
Loading

0 comments on commit 1d42054

Please sign in to comment.