Skip to content

Commit a4b12ae

Browse files
author
SDK Automation
committed
Generated from 6ba80acb417873f6fe2808d1a0d1ad144241ac60
Merge branch 'master' into Azure-MixedReality
1 parent 716ce46 commit a4b12ae

17 files changed

+1578
-275
lines changed

sdk/mixedreality/arm-mixedreality/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/mixedreality/arm-mixedreality/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ npm install @azure/arm-mixedreality
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%2Fmixedreality%2Farm-mixedreality%2FREADME.png)
99+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/mixedreality/arm-mixedreality/README.png)

sdk/mixedreality/arm-mixedreality/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"description": "MixedRealityClient Library with typescript type definitions for node.js and browser.",
55
"version": "1.0.0",
66
"dependencies": {
7-
"@azure/ms-rest-azure-js": "^1.3.2",
8-
"@azure/ms-rest-js": "^1.6.0",
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/mixedRealityClient.js",
2121
"types": "./esm/mixedRealityClient.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/tree/master/sdk/mixedreality/arm-mixedreality",
29+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/mixedreality/arm-mixedreality",
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/mixedreality/arm-mixedreality/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/mixedreality/arm-mixedreality/src/mixedRealityClient.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,24 @@ class MixedRealityClient extends MixedRealityClientContext {
2020
// Operation groups
2121
operations: operations.Operations;
2222
spatialAnchorsAccounts: operations.SpatialAnchorsAccounts;
23+
remoteRenderingAccounts: operations.RemoteRenderingAccounts;
2324

2425
/**
2526
* Initializes a new instance of the MixedRealityClient class.
2627
* @param credentials Credentials needed for the client to connect to Azure.
27-
* @param subscriptionId Azure subscription ID.
28+
* @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
29+
* 00000000-0000-0000-0000-000000000000)
2830
* @param [options] The parameter options
2931
*/
3032
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MixedRealityClientOptions) {
3133
super(credentials, subscriptionId, options);
3234
this.operations = new operations.Operations(this);
3335
this.spatialAnchorsAccounts = new operations.SpatialAnchorsAccounts(this);
36+
this.remoteRenderingAccounts = new operations.RemoteRenderingAccounts(this);
3437
}
3538

3639
/**
37-
* Check Name Availability for global uniqueness
40+
* Check Name Availability for local uniqueness
3841
* @param location The location in which uniqueness will be verified.
3942
* @param checkNameAvailability Check Name Availability Request.
4043
* @param [options] The optional parameters
@@ -76,7 +79,7 @@ const checkNameAvailabilityLocalOperationSpec: msRest.OperationSpec = {
7679
Parameters.location
7780
],
7881
queryParameters: [
79-
Parameters.apiVersion
82+
Parameters.apiVersion0
8083
],
8184
headerParameters: [
8285
Parameters.acceptLanguage
@@ -93,7 +96,7 @@ const checkNameAvailabilityLocalOperationSpec: msRest.OperationSpec = {
9396
bodyMapper: Mappers.CheckNameAvailabilityResponse
9497
},
9598
default: {
96-
bodyMapper: Mappers.ErrorResponse
99+
bodyMapper: Mappers.CloudError
97100
}
98101
},
99102
serializer

sdk/mixedreality/arm-mixedreality/src/mixedRealityClientContext.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ const packageVersion = "1.0.0";
1717

1818
export class MixedRealityClientContext extends msRestAzure.AzureServiceClient {
1919
credentials: msRest.ServiceClientCredentials;
20-
apiVersion?: string;
2120
subscriptionId: string;
2221

2322
/**
2423
* Initializes a new instance of the MixedRealityClient class.
2524
* @param credentials Credentials needed for the client to connect to Azure.
26-
* @param subscriptionId Azure subscription ID.
25+
* @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
26+
* 00000000-0000-0000-0000-000000000000)
2727
* @param [options] The parameter options
2828
*/
2929
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MixedRealityClientOptions) {
@@ -44,7 +44,6 @@ export class MixedRealityClientContext extends msRestAzure.AzureServiceClient {
4444

4545
super(credentials, options);
4646

47-
this.apiVersion = '2019-02-28-preview';
4847
this.acceptLanguage = 'en-US';
4948
this.longRunningOperationRetryTimeout = 30;
5049
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";

0 commit comments

Comments
 (0)