@azure/arm-mixedreality 3.1.1 → 4.0.1-alpha.20220201.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +17 -0
- package/LICENSE +21 -0
- package/README.md +69 -80
- package/dist/index.js +2016 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts +2 -0
- package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkLocalNameAvailability.js +34 -0
- package/dist-esm/samples-dev/checkLocalNameAvailability.js.map +1 -0
- package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts +2 -0
- package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/createRemoteRenderingAccount.js +35 -0
- package/dist-esm/samples-dev/createRemoteRenderingAccount.js.map +1 -0
- package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts +2 -0
- package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/createSpatialAnchorAccount.js +34 -0
- package/dist-esm/samples-dev/createSpatialAnchorAccount.js.map +1 -0
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts +2 -0
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js +31 -0
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js.map +1 -0
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts +2 -0
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js +31 -0
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js.map +1 -0
- package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts +2 -0
- package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/getRemoteRenderingAccount.js +31 -0
- package/dist-esm/samples-dev/getRemoteRenderingAccount.js.map +1 -0
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts +2 -0
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.js +31 -0
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.js.map +1 -0
- package/dist-esm/samples-dev/listAvailableOperations.d.ts +2 -0
- package/dist-esm/samples-dev/listAvailableOperations.d.ts.map +1 -0
- package/dist-esm/samples-dev/listAvailableOperations.js +43 -0
- package/dist-esm/samples-dev/listAvailableOperations.js.map +1 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts +2 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts.map +1 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js +31 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js.map +1 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts +2 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts.map +1 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js +43 -0
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js.map +1 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts +2 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts.map +1 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js +31 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js.map +1 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts +2 -0
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts.map +1 -0
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js +43 -0
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js.map +1 -0
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts +2 -0
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js +32 -0
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js.map +1 -0
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts +2 -0
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js +32 -0
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js.map +1 -0
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts +2 -0
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.js +36 -0
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.js.map +1 -0
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts +2 -0
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts.map +1 -0
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js +35 -0
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/mixedRealityClient.d.ts +28 -0
- package/dist-esm/src/mixedRealityClient.d.ts.map +1 -0
- package/dist-esm/src/mixedRealityClient.js +89 -0
- package/dist-esm/src/mixedRealityClient.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +444 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +22 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +25 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +362 -457
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +15 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +135 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/remoteRenderingAccounts.d.ts +98 -0
- package/dist-esm/src/operations/remoteRenderingAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/remoteRenderingAccounts.js +422 -0
- package/dist-esm/src/operations/remoteRenderingAccounts.js.map +1 -0
- package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts +98 -0
- package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/spatialAnchorsAccounts.js +422 -0
- package/dist-esm/src/operations/spatialAnchorsAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +11 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +80 -23
- package/review/arm-mixedreality.api.md +436 -0
- package/rollup.config.js +181 -30
- package/src/{models/operationsMappers.ts → index.ts} +4 -11
- package/src/mixedRealityClient.ts +102 -80
- package/src/models/index.ts +370 -884
- package/src/models/mappers.ts +367 -478
- package/src/models/parameters.ts +100 -39
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +85 -73
- package/src/operations/remoteRenderingAccounts.ts +319 -392
- package/src/operations/spatialAnchorsAccounts.ts +319 -392
- package/src/operationsInterfaces/index.ts +11 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/remoteRenderingAccounts.ts +119 -0
- package/src/operationsInterfaces/spatialAnchorsAccounts.ts +119 -0
- package/tsconfig.json +5 -4
- package/types/arm-mixedreality.d.ts +674 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-mixedreality.js +0 -2052
- package/dist/arm-mixedreality.js.map +0 -1
- package/dist/arm-mixedreality.min.js +0 -1
- package/dist/arm-mixedreality.min.js.map +0 -1
- package/esm/mixedRealityClient.d.ts +0 -48
- package/esm/mixedRealityClient.d.ts.map +0 -1
- package/esm/mixedRealityClient.js +0 -77
- package/esm/mixedRealityClient.js.map +0 -1
- package/esm/mixedRealityClientContext.d.ts +0 -23
- package/esm/mixedRealityClientContext.d.ts.map +0 -1
- package/esm/mixedRealityClientContext.js +0 -61
- package/esm/mixedRealityClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -957
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -32
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -9
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -95
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/remoteRenderingAccountsMappers.d.ts +0 -2
- package/esm/models/remoteRenderingAccountsMappers.d.ts.map +0 -1
- package/esm/models/remoteRenderingAccountsMappers.js +0 -9
- package/esm/models/remoteRenderingAccountsMappers.js.map +0 -1
- package/esm/models/spatialAnchorsAccountsMappers.d.ts +0 -2
- package/esm/models/spatialAnchorsAccountsMappers.d.ts.map +0 -1
- package/esm/models/spatialAnchorsAccountsMappers.js +0 -9
- package/esm/models/spatialAnchorsAccountsMappers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/remoteRenderingAccounts.d.ts +0 -217
- package/esm/operations/remoteRenderingAccounts.d.ts.map +0 -1
- package/esm/operations/remoteRenderingAccounts.js +0 -344
- package/esm/operations/remoteRenderingAccounts.js.map +0 -1
- package/esm/operations/spatialAnchorsAccounts.d.ts +0 -217
- package/esm/operations/spatialAnchorsAccounts.d.ts.map +0 -1
- package/esm/operations/spatialAnchorsAccounts.js +0 -344
- package/esm/operations/spatialAnchorsAccounts.js.map +0 -1
- package/src/mixedRealityClientContext.ts +0 -68
- package/src/models/remoteRenderingAccountsMappers.ts +0 -29
- package/src/models/spatialAnchorsAccountsMappers.ts +0 -29
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
import { record } from "@azure-tools/test-recorder";
|
10
|
+
const recorderEnvSetup = {
|
11
|
+
replaceableVariables: {
|
12
|
+
AZURE_CLIENT_ID: "azure_client_id",
|
13
|
+
AZURE_CLIENT_SECRET: "azure_client_secret",
|
14
|
+
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
|
15
|
+
SUBSCRIPTION_ID: "azure_subscription_id"
|
16
|
+
},
|
17
|
+
customizationsOnRecordings: [
|
18
|
+
(recording) => recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`)
|
19
|
+
],
|
20
|
+
queryParametersToSkip: []
|
21
|
+
};
|
22
|
+
describe("My test", () => {
|
23
|
+
let recorder;
|
24
|
+
beforeEach(function () {
|
25
|
+
return __awaiter(this, void 0, void 0, function* () {
|
26
|
+
recorder = record(this, recorderEnvSetup);
|
27
|
+
});
|
28
|
+
});
|
29
|
+
afterEach(function () {
|
30
|
+
return __awaiter(this, void 0, void 0, function* () {
|
31
|
+
yield recorder.stop();
|
32
|
+
});
|
33
|
+
});
|
34
|
+
it("sample test", function () {
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
36
|
+
console.log("Hi, I'm a test!");
|
37
|
+
});
|
38
|
+
});
|
39
|
+
});
|
40
|
+
//# sourceMappingURL=sampleTest.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAEL,MAAM,EAGP,MAAM,4BAA4B,CAAC;AAGpC,MAAM,gBAAgB,GAA6B;IACjD,oBAAoB,EAAE;QACpB,eAAe,EAAE,iBAAiB;QAClC,mBAAmB,EAAE,qBAAqB;QAC1C,eAAe,EAAE,sCAAsC;QACvD,eAAe,EAAE,uBAAuB;KACzC;IACD,0BAA0B,EAAE;QAC1B,CAAC,SAAc,EAAO,EAAE,CACtB,SAAS,CAAC,OAAO,CACf,yBAAyB,EACzB,+BAA+B,CAChC;KACJ;IACD,qBAAqB,EAAE,EAAE;CAC1B,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QAC5C,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,13 +1,18 @@
|
|
1
1
|
{
|
2
2
|
"name": "@azure/arm-mixedreality",
|
3
|
+
"sdk-type": "mgmt",
|
3
4
|
"author": "Microsoft Corporation",
|
4
|
-
"description": "
|
5
|
-
"version": "
|
5
|
+
"description": "A generated SDK for MixedRealityClient.",
|
6
|
+
"version": "4.0.1-alpha.20220201.1",
|
7
|
+
"engines": {
|
8
|
+
"node": ">=12.0.0"
|
9
|
+
},
|
6
10
|
"dependencies": {
|
7
|
-
"@azure/
|
8
|
-
"@azure/
|
9
|
-
"@azure/core-auth": "^1.
|
10
|
-
"
|
11
|
+
"@azure/core-paging": "^1.2.0",
|
12
|
+
"@azure/core-client": "^1.0.0",
|
13
|
+
"@azure/core-auth": "^1.3.0",
|
14
|
+
"@azure/core-rest-pipeline": "^1.1.0",
|
15
|
+
"tslib": "^2.2.0"
|
11
16
|
},
|
12
17
|
"keywords": [
|
13
18
|
"node",
|
@@ -17,17 +22,27 @@
|
|
17
22
|
"isomorphic"
|
18
23
|
],
|
19
24
|
"license": "MIT",
|
20
|
-
"main": "./dist/
|
21
|
-
"module": "./esm/
|
22
|
-
"types": "./
|
25
|
+
"main": "./dist/index.js",
|
26
|
+
"module": "./dist-esm/src/index.js",
|
27
|
+
"types": "./types/arm-mixedreality.d.ts",
|
23
28
|
"devDependencies": {
|
24
|
-
"
|
25
|
-
"rollup": "
|
26
|
-
"rollup
|
29
|
+
"@microsoft/api-extractor": "^7.18.11",
|
30
|
+
"@rollup/plugin-commonjs": "11.0.2",
|
31
|
+
"@rollup/plugin-json": "^4.0.0",
|
32
|
+
"@rollup/plugin-multi-entry": "^3.0.0",
|
33
|
+
"@rollup/plugin-node-resolve": "^8.0.0",
|
34
|
+
"mkdirp": "^1.0.4",
|
35
|
+
"rollup": "^1.16.3",
|
27
36
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
28
|
-
"
|
37
|
+
"typescript": "~4.2.0",
|
38
|
+
"uglify-js": "^3.4.9",
|
39
|
+
"rimraf": "^3.0.0",
|
40
|
+
"@azure/identity": "^2.0.1",
|
41
|
+
"@azure-tools/test-recorder": "^1.0.0",
|
42
|
+
"mocha": "^7.1.1",
|
43
|
+
"cross-env": "^7.0.2"
|
29
44
|
},
|
30
|
-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/
|
45
|
+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/arm-mixedreality",
|
31
46
|
"repository": {
|
32
47
|
"type": "git",
|
33
48
|
"url": "https://github.com/Azure/azure-sdk-for-js.git"
|
@@ -40,20 +55,62 @@
|
|
40
55
|
"dist/**/*.js.map",
|
41
56
|
"dist/**/*.d.ts",
|
42
57
|
"dist/**/*.d.ts.map",
|
43
|
-
"esm/**/*.js",
|
44
|
-
"esm/**/*.js.map",
|
45
|
-
"esm/**/*.d.ts",
|
46
|
-
"esm/**/*.d.ts.map",
|
58
|
+
"dist-esm/**/*.js",
|
59
|
+
"dist-esm/**/*.js.map",
|
60
|
+
"dist-esm/**/*.d.ts",
|
61
|
+
"dist-esm/**/*.d.ts.map",
|
47
62
|
"src/**/*.ts",
|
48
63
|
"README.md",
|
64
|
+
"LICENSE",
|
49
65
|
"rollup.config.js",
|
50
|
-
"tsconfig.json"
|
66
|
+
"tsconfig.json",
|
67
|
+
"review/*",
|
68
|
+
"CHANGELOG.md",
|
69
|
+
"types/*"
|
51
70
|
],
|
52
71
|
"scripts": {
|
53
|
-
"build": "tsc && rollup -c
|
54
|
-
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/
|
55
|
-
"prepack": "npm
|
72
|
+
"build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
|
73
|
+
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
|
74
|
+
"prepack": "npm run build",
|
75
|
+
"pack": "npm pack 2>&1",
|
76
|
+
"extract-api": "api-extractor run --local",
|
77
|
+
"lint": "echo skipped",
|
78
|
+
"audit": "echo skipped",
|
79
|
+
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
80
|
+
"build:node": "echo skipped",
|
81
|
+
"build:browser": "echo skipped",
|
82
|
+
"build:test": "echo skipped",
|
83
|
+
"build:samples": "echo skipped.",
|
84
|
+
"check-format": "echo skipped",
|
85
|
+
"execute:samples": "echo skipped",
|
86
|
+
"format": "echo skipped",
|
87
|
+
"test": "npm run integration-test",
|
88
|
+
"test:node": "echo skipped",
|
89
|
+
"test:browser": "echo skipped",
|
90
|
+
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
91
|
+
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
|
92
|
+
"unit-test:browser": "echo skipped",
|
93
|
+
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
94
|
+
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
|
95
|
+
"integration-test:browser": "echo skipped",
|
96
|
+
"docs": "echo skipped"
|
56
97
|
},
|
57
98
|
"sideEffects": false,
|
58
|
-
"
|
99
|
+
"//metadata": {
|
100
|
+
"constantPaths": [
|
101
|
+
{
|
102
|
+
"path": "src/MixedRealityClient.ts",
|
103
|
+
"prefix": "packageDetails"
|
104
|
+
}
|
105
|
+
]
|
106
|
+
},
|
107
|
+
"autoPublish": true,
|
108
|
+
"//sampleConfiguration": {
|
109
|
+
"productName": "",
|
110
|
+
"productSlugs": [
|
111
|
+
"azure"
|
112
|
+
],
|
113
|
+
"disableDocsMs": true,
|
114
|
+
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-mixedreality?view=azure-node-preview"
|
115
|
+
}
|
59
116
|
}
|
@@ -0,0 +1,436 @@
|
|
1
|
+
## API Report File for "@azure/arm-mixedreality"
|
2
|
+
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
4
|
+
|
5
|
+
```ts
|
6
|
+
|
7
|
+
import * as coreAuth from '@azure/core-auth';
|
8
|
+
import * as coreClient from '@azure/core-client';
|
9
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
10
|
+
|
11
|
+
// @public
|
12
|
+
export interface AccountKeyRegenerateRequest {
|
13
|
+
serial?: Serial;
|
14
|
+
}
|
15
|
+
|
16
|
+
// @public
|
17
|
+
export interface AccountKeys {
|
18
|
+
readonly primaryKey?: string;
|
19
|
+
readonly secondaryKey?: string;
|
20
|
+
}
|
21
|
+
|
22
|
+
// @public
|
23
|
+
export interface CheckNameAvailabilityLocalOptionalParams extends coreClient.OperationOptions {
|
24
|
+
}
|
25
|
+
|
26
|
+
// @public
|
27
|
+
export type CheckNameAvailabilityLocalResponse = CheckNameAvailabilityResponse;
|
28
|
+
|
29
|
+
// @public
|
30
|
+
export interface CheckNameAvailabilityRequest {
|
31
|
+
name: string;
|
32
|
+
type: string;
|
33
|
+
}
|
34
|
+
|
35
|
+
// @public
|
36
|
+
export interface CheckNameAvailabilityResponse {
|
37
|
+
message?: string;
|
38
|
+
nameAvailable: boolean;
|
39
|
+
reason?: NameUnavailableReason;
|
40
|
+
}
|
41
|
+
|
42
|
+
// @public
|
43
|
+
export interface CloudError {
|
44
|
+
error?: CloudErrorBody;
|
45
|
+
}
|
46
|
+
|
47
|
+
// @public
|
48
|
+
export interface CloudErrorBody {
|
49
|
+
code?: string;
|
50
|
+
details?: CloudErrorBody[];
|
51
|
+
message?: string;
|
52
|
+
target?: string;
|
53
|
+
}
|
54
|
+
|
55
|
+
// @public
|
56
|
+
export type CreatedByType = string;
|
57
|
+
|
58
|
+
// @public
|
59
|
+
export interface Identity {
|
60
|
+
readonly principalId?: string;
|
61
|
+
readonly tenantId?: string;
|
62
|
+
type?: "SystemAssigned";
|
63
|
+
}
|
64
|
+
|
65
|
+
// @public
|
66
|
+
export enum KnownCreatedByType {
|
67
|
+
// (undocumented)
|
68
|
+
Application = "Application",
|
69
|
+
// (undocumented)
|
70
|
+
Key = "Key",
|
71
|
+
// (undocumented)
|
72
|
+
ManagedIdentity = "ManagedIdentity",
|
73
|
+
// (undocumented)
|
74
|
+
User = "User"
|
75
|
+
}
|
76
|
+
|
77
|
+
// @public
|
78
|
+
export enum KnownNameUnavailableReason {
|
79
|
+
// (undocumented)
|
80
|
+
AlreadyExists = "AlreadyExists",
|
81
|
+
// (undocumented)
|
82
|
+
Invalid = "Invalid"
|
83
|
+
}
|
84
|
+
|
85
|
+
// @public
|
86
|
+
export interface LogSpecification {
|
87
|
+
blobDuration?: string;
|
88
|
+
displayName?: string;
|
89
|
+
name?: string;
|
90
|
+
}
|
91
|
+
|
92
|
+
// @public
|
93
|
+
export interface MetricDimension {
|
94
|
+
displayName?: string;
|
95
|
+
internalName?: string;
|
96
|
+
name?: string;
|
97
|
+
}
|
98
|
+
|
99
|
+
// @public
|
100
|
+
export interface MetricSpecification {
|
101
|
+
aggregationType?: string;
|
102
|
+
category?: string;
|
103
|
+
dimensions?: MetricDimension[];
|
104
|
+
displayDescription?: string;
|
105
|
+
displayName?: string;
|
106
|
+
enableRegionalMdmAccount?: boolean;
|
107
|
+
fillGapWithZero?: boolean;
|
108
|
+
internalMetricName?: string;
|
109
|
+
lockedAggregationType?: string;
|
110
|
+
metricFilterPattern?: string;
|
111
|
+
name?: string;
|
112
|
+
sourceMdmAccount?: string;
|
113
|
+
sourceMdmNamespace?: string;
|
114
|
+
supportedAggregationTypes?: string[];
|
115
|
+
supportedTimeGrainTypes?: string[];
|
116
|
+
unit?: string;
|
117
|
+
}
|
118
|
+
|
119
|
+
// @public (undocumented)
|
120
|
+
export class MixedRealityClient extends coreClient.ServiceClient {
|
121
|
+
// (undocumented)
|
122
|
+
$host: string;
|
123
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MixedRealityClientOptionalParams);
|
124
|
+
// (undocumented)
|
125
|
+
apiVersion: string;
|
126
|
+
checkNameAvailabilityLocal(location: string, checkNameAvailability: CheckNameAvailabilityRequest, options?: CheckNameAvailabilityLocalOptionalParams): Promise<CheckNameAvailabilityLocalResponse>;
|
127
|
+
// (undocumented)
|
128
|
+
operations: Operations;
|
129
|
+
// (undocumented)
|
130
|
+
remoteRenderingAccounts: RemoteRenderingAccounts;
|
131
|
+
// (undocumented)
|
132
|
+
spatialAnchorsAccounts: SpatialAnchorsAccounts;
|
133
|
+
// (undocumented)
|
134
|
+
subscriptionId: string;
|
135
|
+
}
|
136
|
+
|
137
|
+
// @public
|
138
|
+
export interface MixedRealityClientOptionalParams extends coreClient.ServiceClientOptions {
|
139
|
+
$host?: string;
|
140
|
+
apiVersion?: string;
|
141
|
+
endpoint?: string;
|
142
|
+
}
|
143
|
+
|
144
|
+
// @public
|
145
|
+
export type NameUnavailableReason = string;
|
146
|
+
|
147
|
+
// @public
|
148
|
+
export interface Operation {
|
149
|
+
display?: OperationDisplay;
|
150
|
+
isDataAction?: boolean;
|
151
|
+
name?: string;
|
152
|
+
origin?: string;
|
153
|
+
properties?: OperationProperties;
|
154
|
+
}
|
155
|
+
|
156
|
+
// @public
|
157
|
+
export interface OperationDisplay {
|
158
|
+
description: string;
|
159
|
+
operation: string;
|
160
|
+
provider: string;
|
161
|
+
resource: string;
|
162
|
+
}
|
163
|
+
|
164
|
+
// @public
|
165
|
+
export interface OperationPage {
|
166
|
+
nextLink?: string;
|
167
|
+
value?: Operation[];
|
168
|
+
}
|
169
|
+
|
170
|
+
// @public
|
171
|
+
export interface OperationProperties {
|
172
|
+
serviceSpecification?: ServiceSpecification;
|
173
|
+
}
|
174
|
+
|
175
|
+
// @public
|
176
|
+
export interface Operations {
|
177
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
178
|
+
}
|
179
|
+
|
180
|
+
// @public
|
181
|
+
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
182
|
+
}
|
183
|
+
|
184
|
+
// @public
|
185
|
+
export type OperationsListNextResponse = OperationPage;
|
186
|
+
|
187
|
+
// @public
|
188
|
+
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
189
|
+
}
|
190
|
+
|
191
|
+
// @public
|
192
|
+
export type OperationsListResponse = OperationPage;
|
193
|
+
|
194
|
+
// @public
|
195
|
+
export type RemoteRenderingAccount = TrackedResource & {
|
196
|
+
identity?: Identity;
|
197
|
+
plan?: Identity;
|
198
|
+
sku?: Sku;
|
199
|
+
kind?: Sku;
|
200
|
+
readonly systemData?: SystemData;
|
201
|
+
storageAccountName?: string;
|
202
|
+
readonly accountId?: string;
|
203
|
+
readonly accountDomain?: string;
|
204
|
+
};
|
205
|
+
|
206
|
+
// @public
|
207
|
+
export interface RemoteRenderingAccountPage {
|
208
|
+
nextLink?: string;
|
209
|
+
value?: RemoteRenderingAccount[];
|
210
|
+
}
|
211
|
+
|
212
|
+
// @public
|
213
|
+
export interface RemoteRenderingAccounts {
|
214
|
+
create(resourceGroupName: string, accountName: string, remoteRenderingAccount: RemoteRenderingAccount, options?: RemoteRenderingAccountsCreateOptionalParams): Promise<RemoteRenderingAccountsCreateResponse>;
|
215
|
+
delete(resourceGroupName: string, accountName: string, options?: RemoteRenderingAccountsDeleteOptionalParams): Promise<void>;
|
216
|
+
get(resourceGroupName: string, accountName: string, options?: RemoteRenderingAccountsGetOptionalParams): Promise<RemoteRenderingAccountsGetResponse>;
|
217
|
+
listByResourceGroup(resourceGroupName: string, options?: RemoteRenderingAccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<RemoteRenderingAccount>;
|
218
|
+
listBySubscription(options?: RemoteRenderingAccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<RemoteRenderingAccount>;
|
219
|
+
listKeys(resourceGroupName: string, accountName: string, options?: RemoteRenderingAccountsListKeysOptionalParams): Promise<RemoteRenderingAccountsListKeysResponse>;
|
220
|
+
regenerateKeys(resourceGroupName: string, accountName: string, regenerate: AccountKeyRegenerateRequest, options?: RemoteRenderingAccountsRegenerateKeysOptionalParams): Promise<RemoteRenderingAccountsRegenerateKeysResponse>;
|
221
|
+
update(resourceGroupName: string, accountName: string, remoteRenderingAccount: RemoteRenderingAccount, options?: RemoteRenderingAccountsUpdateOptionalParams): Promise<RemoteRenderingAccountsUpdateResponse>;
|
222
|
+
}
|
223
|
+
|
224
|
+
// @public
|
225
|
+
export interface RemoteRenderingAccountsCreateOptionalParams extends coreClient.OperationOptions {
|
226
|
+
}
|
227
|
+
|
228
|
+
// @public
|
229
|
+
export type RemoteRenderingAccountsCreateResponse = RemoteRenderingAccount;
|
230
|
+
|
231
|
+
// @public
|
232
|
+
export interface RemoteRenderingAccountsDeleteOptionalParams extends coreClient.OperationOptions {
|
233
|
+
}
|
234
|
+
|
235
|
+
// @public
|
236
|
+
export interface RemoteRenderingAccountsGetOptionalParams extends coreClient.OperationOptions {
|
237
|
+
}
|
238
|
+
|
239
|
+
// @public
|
240
|
+
export type RemoteRenderingAccountsGetResponse = RemoteRenderingAccount;
|
241
|
+
|
242
|
+
// @public
|
243
|
+
export interface RemoteRenderingAccountsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
244
|
+
}
|
245
|
+
|
246
|
+
// @public
|
247
|
+
export type RemoteRenderingAccountsListByResourceGroupNextResponse = RemoteRenderingAccountPage;
|
248
|
+
|
249
|
+
// @public
|
250
|
+
export interface RemoteRenderingAccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
251
|
+
}
|
252
|
+
|
253
|
+
// @public
|
254
|
+
export type RemoteRenderingAccountsListByResourceGroupResponse = RemoteRenderingAccountPage;
|
255
|
+
|
256
|
+
// @public
|
257
|
+
export interface RemoteRenderingAccountsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
258
|
+
}
|
259
|
+
|
260
|
+
// @public
|
261
|
+
export type RemoteRenderingAccountsListBySubscriptionNextResponse = RemoteRenderingAccountPage;
|
262
|
+
|
263
|
+
// @public
|
264
|
+
export interface RemoteRenderingAccountsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
265
|
+
}
|
266
|
+
|
267
|
+
// @public
|
268
|
+
export type RemoteRenderingAccountsListBySubscriptionResponse = RemoteRenderingAccountPage;
|
269
|
+
|
270
|
+
// @public
|
271
|
+
export interface RemoteRenderingAccountsListKeysOptionalParams extends coreClient.OperationOptions {
|
272
|
+
}
|
273
|
+
|
274
|
+
// @public
|
275
|
+
export type RemoteRenderingAccountsListKeysResponse = AccountKeys;
|
276
|
+
|
277
|
+
// @public
|
278
|
+
export interface RemoteRenderingAccountsRegenerateKeysOptionalParams extends coreClient.OperationOptions {
|
279
|
+
}
|
280
|
+
|
281
|
+
// @public
|
282
|
+
export type RemoteRenderingAccountsRegenerateKeysResponse = AccountKeys;
|
283
|
+
|
284
|
+
// @public
|
285
|
+
export interface RemoteRenderingAccountsUpdateOptionalParams extends coreClient.OperationOptions {
|
286
|
+
}
|
287
|
+
|
288
|
+
// @public
|
289
|
+
export type RemoteRenderingAccountsUpdateResponse = RemoteRenderingAccount;
|
290
|
+
|
291
|
+
// @public
|
292
|
+
export interface Resource {
|
293
|
+
readonly id?: string;
|
294
|
+
readonly name?: string;
|
295
|
+
readonly type?: string;
|
296
|
+
}
|
297
|
+
|
298
|
+
// @public
|
299
|
+
export type Serial = 1 | 2;
|
300
|
+
|
301
|
+
// @public
|
302
|
+
export interface ServiceSpecification {
|
303
|
+
logSpecifications?: LogSpecification[];
|
304
|
+
metricSpecifications?: MetricSpecification[];
|
305
|
+
}
|
306
|
+
|
307
|
+
// @public
|
308
|
+
export interface Sku {
|
309
|
+
capacity?: number;
|
310
|
+
family?: string;
|
311
|
+
name: string;
|
312
|
+
size?: string;
|
313
|
+
tier?: SkuTier;
|
314
|
+
}
|
315
|
+
|
316
|
+
// @public
|
317
|
+
export type SkuTier = "Free" | "Basic" | "Standard" | "Premium";
|
318
|
+
|
319
|
+
// @public
|
320
|
+
export type SpatialAnchorsAccount = TrackedResource & {
|
321
|
+
identity?: Identity;
|
322
|
+
plan?: Identity;
|
323
|
+
sku?: Sku;
|
324
|
+
kind?: Sku;
|
325
|
+
readonly systemData?: SystemData;
|
326
|
+
storageAccountName?: string;
|
327
|
+
readonly accountId?: string;
|
328
|
+
readonly accountDomain?: string;
|
329
|
+
};
|
330
|
+
|
331
|
+
// @public
|
332
|
+
export interface SpatialAnchorsAccountPage {
|
333
|
+
nextLink?: string;
|
334
|
+
value?: SpatialAnchorsAccount[];
|
335
|
+
}
|
336
|
+
|
337
|
+
// @public
|
338
|
+
export interface SpatialAnchorsAccounts {
|
339
|
+
create(resourceGroupName: string, accountName: string, spatialAnchorsAccount: SpatialAnchorsAccount, options?: SpatialAnchorsAccountsCreateOptionalParams): Promise<SpatialAnchorsAccountsCreateResponse>;
|
340
|
+
delete(resourceGroupName: string, accountName: string, options?: SpatialAnchorsAccountsDeleteOptionalParams): Promise<void>;
|
341
|
+
get(resourceGroupName: string, accountName: string, options?: SpatialAnchorsAccountsGetOptionalParams): Promise<SpatialAnchorsAccountsGetResponse>;
|
342
|
+
listByResourceGroup(resourceGroupName: string, options?: SpatialAnchorsAccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SpatialAnchorsAccount>;
|
343
|
+
listBySubscription(options?: SpatialAnchorsAccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SpatialAnchorsAccount>;
|
344
|
+
listKeys(resourceGroupName: string, accountName: string, options?: SpatialAnchorsAccountsListKeysOptionalParams): Promise<SpatialAnchorsAccountsListKeysResponse>;
|
345
|
+
regenerateKeys(resourceGroupName: string, accountName: string, regenerate: AccountKeyRegenerateRequest, options?: SpatialAnchorsAccountsRegenerateKeysOptionalParams): Promise<SpatialAnchorsAccountsRegenerateKeysResponse>;
|
346
|
+
update(resourceGroupName: string, accountName: string, spatialAnchorsAccount: SpatialAnchorsAccount, options?: SpatialAnchorsAccountsUpdateOptionalParams): Promise<SpatialAnchorsAccountsUpdateResponse>;
|
347
|
+
}
|
348
|
+
|
349
|
+
// @public
|
350
|
+
export interface SpatialAnchorsAccountsCreateOptionalParams extends coreClient.OperationOptions {
|
351
|
+
}
|
352
|
+
|
353
|
+
// @public
|
354
|
+
export type SpatialAnchorsAccountsCreateResponse = SpatialAnchorsAccount;
|
355
|
+
|
356
|
+
// @public
|
357
|
+
export interface SpatialAnchorsAccountsDeleteOptionalParams extends coreClient.OperationOptions {
|
358
|
+
}
|
359
|
+
|
360
|
+
// @public
|
361
|
+
export interface SpatialAnchorsAccountsGetOptionalParams extends coreClient.OperationOptions {
|
362
|
+
}
|
363
|
+
|
364
|
+
// @public
|
365
|
+
export type SpatialAnchorsAccountsGetResponse = SpatialAnchorsAccount;
|
366
|
+
|
367
|
+
// @public
|
368
|
+
export interface SpatialAnchorsAccountsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
369
|
+
}
|
370
|
+
|
371
|
+
// @public
|
372
|
+
export type SpatialAnchorsAccountsListByResourceGroupNextResponse = SpatialAnchorsAccountPage;
|
373
|
+
|
374
|
+
// @public
|
375
|
+
export interface SpatialAnchorsAccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
376
|
+
}
|
377
|
+
|
378
|
+
// @public
|
379
|
+
export type SpatialAnchorsAccountsListByResourceGroupResponse = SpatialAnchorsAccountPage;
|
380
|
+
|
381
|
+
// @public
|
382
|
+
export interface SpatialAnchorsAccountsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
383
|
+
}
|
384
|
+
|
385
|
+
// @public
|
386
|
+
export type SpatialAnchorsAccountsListBySubscriptionNextResponse = SpatialAnchorsAccountPage;
|
387
|
+
|
388
|
+
// @public
|
389
|
+
export interface SpatialAnchorsAccountsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
390
|
+
}
|
391
|
+
|
392
|
+
// @public
|
393
|
+
export type SpatialAnchorsAccountsListBySubscriptionResponse = SpatialAnchorsAccountPage;
|
394
|
+
|
395
|
+
// @public
|
396
|
+
export interface SpatialAnchorsAccountsListKeysOptionalParams extends coreClient.OperationOptions {
|
397
|
+
}
|
398
|
+
|
399
|
+
// @public
|
400
|
+
export type SpatialAnchorsAccountsListKeysResponse = AccountKeys;
|
401
|
+
|
402
|
+
// @public
|
403
|
+
export interface SpatialAnchorsAccountsRegenerateKeysOptionalParams extends coreClient.OperationOptions {
|
404
|
+
}
|
405
|
+
|
406
|
+
// @public
|
407
|
+
export type SpatialAnchorsAccountsRegenerateKeysResponse = AccountKeys;
|
408
|
+
|
409
|
+
// @public
|
410
|
+
export interface SpatialAnchorsAccountsUpdateOptionalParams extends coreClient.OperationOptions {
|
411
|
+
}
|
412
|
+
|
413
|
+
// @public
|
414
|
+
export type SpatialAnchorsAccountsUpdateResponse = SpatialAnchorsAccount;
|
415
|
+
|
416
|
+
// @public
|
417
|
+
export interface SystemData {
|
418
|
+
createdAt?: Date;
|
419
|
+
createdBy?: string;
|
420
|
+
createdByType?: CreatedByType;
|
421
|
+
lastModifiedAt?: Date;
|
422
|
+
lastModifiedBy?: string;
|
423
|
+
lastModifiedByType?: CreatedByType;
|
424
|
+
}
|
425
|
+
|
426
|
+
// @public
|
427
|
+
export type TrackedResource = Resource & {
|
428
|
+
tags?: {
|
429
|
+
[propertyName: string]: string;
|
430
|
+
};
|
431
|
+
location: string;
|
432
|
+
};
|
433
|
+
|
434
|
+
// (No @packageDocumentation comment for this package)
|
435
|
+
|
436
|
+
```
|