Skip to content

Commit 8da2503

Browse files
author
SDK Automation
committed
Update from master
1 parent 5245f7e commit 8da2503

18 files changed

+1437
-65
lines changed

sdk/iothub/arm-iothub/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2019 Microsoft
3+
Copyright (c) 2020 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

sdk/iothub/arm-iothub/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ npm install @azure/arm-iothub
1919

2020
##### Install @azure/ms-rest-nodeauth
2121

22+
- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`.
2223
```bash
23-
npm install @azure/ms-rest-nodeauth
24+
npm install @azure/ms-rest-nodeauth@"^3.0.0"
2425
```
2526

2627
##### Sample code
@@ -95,5 +96,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to
9596

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

98-
99-
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fiothub%2Farm-iothub%2FREADME.png)
99+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/iothub/arm-iothub/README.png)

sdk/iothub/arm-iothub/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"description": "IotHubClient Library with typescript type definitions for node.js and browser.",
55
"version": "3.0.0",
66
"dependencies": {
7-
"@azure/ms-rest-azure-js": "^1.3.2",
8-
"@azure/ms-rest-js": "^1.8.1",
9-
"tslib": "^1.9.3"
7+
"@azure/ms-rest-azure-js": "^2.0.1",
8+
"@azure/ms-rest-js": "^2.0.4",
9+
"tslib": "^1.10.0"
1010
},
1111
"keywords": [
1212
"node",
@@ -20,19 +20,19 @@
2020
"module": "./esm/iotHubClient.js",
2121
"types": "./esm/iotHubClient.d.ts",
2222
"devDependencies": {
23-
"typescript": "^3.1.1",
24-
"rollup": "^0.66.2",
25-
"rollup-plugin-node-resolve": "^3.4.0",
23+
"typescript": "^3.5.3",
24+
"rollup": "^1.18.0",
25+
"rollup-plugin-node-resolve": "^5.2.0",
2626
"rollup-plugin-sourcemaps": "^0.4.2",
27-
"uglify-js": "^3.4.9"
27+
"uglify-js": "^3.6.0"
2828
},
29-
"homepage": "https://github.com/azure/azure-sdk-for-js",
29+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/iothub/arm-iothub",
3030
"repository": {
3131
"type": "git",
32-
"url": "https://github.com/azure/azure-sdk-for-js.git"
32+
"url": "https://github.com/Azure/azure-sdk-for-js.git"
3333
},
3434
"bugs": {
35-
"url": "https://github.com/azure/azure-sdk-for-js/issues"
35+
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
3636
},
3737
"files": [
3838
"dist/**/*.js",

sdk/iothub/arm-iothub/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const config = {
2929
*/`
3030
},
3131
plugins: [
32-
nodeResolve({ module: true }),
32+
nodeResolve({ mainFields: ['module', 'main'] }),
3333
sourcemaps()
3434
]
3535
};

sdk/iothub/arm-iothub/src/iotHubClient.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ class IotHubClient extends IotHubClientContext {
2222
resourceProviderCommon: operations.ResourceProviderCommon;
2323
certificates: operations.Certificates;
2424
iotHub: operations.IotHub;
25+
privateLinkResources: operations.PrivateLinkResourcesOperations;
26+
privateEndpointConnections: operations.PrivateEndpointConnections;
2527

2628
/**
2729
* Initializes a new instance of the IotHubClient class.
@@ -36,6 +38,8 @@ class IotHubClient extends IotHubClientContext {
3638
this.resourceProviderCommon = new operations.ResourceProviderCommon(this);
3739
this.certificates = new operations.Certificates(this);
3840
this.iotHub = new operations.IotHub(this);
41+
this.privateLinkResources = new operations.PrivateLinkResourcesOperations(this);
42+
this.privateEndpointConnections = new operations.PrivateEndpointConnections(this);
3943
}
4044
}
4145

sdk/iothub/arm-iothub/src/iotHubClientContext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class IotHubClientContext extends msRestAzure.AzureServiceClient {
4444

4545
super(credentials, options);
4646

47-
this.apiVersion = '2019-03-22-preview';
47+
this.apiVersion = '2020-04-01';
4848
this.acceptLanguage = 'en-US';
4949
this.longRunningOperationRetryTimeout = 30;
5050
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";

sdk/iothub/arm-iothub/src/models/certificatesMappers.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@ export {
2323
FallbackRouteProperties,
2424
FeedbackProperties,
2525
IotHubDescription,
26+
IotHubLocationDescription,
2627
IotHubProperties,
27-
IotHubPropertiesDeviceStreams,
2828
IotHubSkuInfo,
2929
IpFilterRule,
3030
MessagingEndpointProperties,
31+
PrivateEndpoint,
32+
PrivateEndpointConnection,
33+
PrivateEndpointConnectionProperties,
34+
PrivateLinkServiceConnectionState,
3135
Resource,
3236
RouteProperties,
3337
RoutingEndpoints,

0 commit comments

Comments
 (0)