@azure/arm-mixedreality 4.1.0-alpha.20221128.1 → 4.1.0-alpha.20230104.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +17 -4
- package/dist/index.js +214 -68
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/mixedRealityClient.d.ts +2 -0
- package/dist-esm/src/mixedRealityClient.d.ts.map +1 -1
- package/dist-esm/src/mixedRealityClient.js +49 -18
- package/dist-esm/src/mixedRealityClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +16 -9
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +6 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/operations/objectAnchorsAccounts.d.ts.map +1 -1
- package/dist-esm/src/operations/objectAnchorsAccounts.js +37 -14
- package/dist-esm/src/operations/objectAnchorsAccounts.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +19 -7
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/remoteRenderingAccounts.d.ts.map +1 -1
- package/dist-esm/src/operations/remoteRenderingAccounts.js +37 -14
- package/dist-esm/src/operations/remoteRenderingAccounts.js.map +1 -1
- package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts.map +1 -1
- package/dist-esm/src/operations/spatialAnchorsAccounts.js +37 -14
- package/dist-esm/src/operations/spatialAnchorsAccounts.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +12 -8
- package/review/arm-mixedreality.api.md +27 -28
- package/src/index.ts +1 -0
- package/src/mixedRealityClient.ts +60 -20
- package/src/models/index.ts +15 -9
- package/src/operations/objectAnchorsAccounts.ts +45 -16
- package/src/operations/operations.ts +21 -8
- package/src/operations/remoteRenderingAccounts.ts +45 -16
- package/src/operations/spatialAnchorsAccounts.ts +45 -16
- package/src/pagingHelper.ts +39 -0
- package/types/arm-mixedreality.d.ts +27 -9
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts +0 -2
- package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkLocalNameAvailability.js +0 -34
- package/dist-esm/samples-dev/checkLocalNameAvailability.js.map +0 -1
- package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts +0 -2
- package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/createRemoteRenderingAccount.js +0 -35
- package/dist-esm/samples-dev/createRemoteRenderingAccount.js.map +0 -1
- package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts +0 -2
- package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/createSpatialAnchorAccount.js +0 -34
- package/dist-esm/samples-dev/createSpatialAnchorAccount.js.map +0 -1
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts +0 -2
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js +0 -31
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js.map +0 -1
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts +0 -2
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js +0 -31
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js.map +0 -1
- package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts +0 -2
- package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/getRemoteRenderingAccount.js +0 -31
- package/dist-esm/samples-dev/getRemoteRenderingAccount.js.map +0 -1
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts +0 -2
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.js +0 -31
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.js.map +0 -1
- package/dist-esm/samples-dev/listAvailableOperations.d.ts +0 -2
- package/dist-esm/samples-dev/listAvailableOperations.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAvailableOperations.js +0 -43
- package/dist-esm/samples-dev/listAvailableOperations.js.map +0 -1
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts +0 -2
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js +0 -31
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js.map +0 -1
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js +0 -44
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts +0 -2
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js +0 -43
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js.map +0 -1
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts +0 -2
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts.map +0 -1
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js +0 -31
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js.map +0 -1
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js +0 -44
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts +0 -2
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js +0 -43
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js.map +0 -1
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts +0 -2
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts.map +0 -1
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js +0 -32
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js.map +0 -1
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts +0 -2
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts.map +0 -1
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js +0 -32
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js.map +0 -1
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts +0 -2
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.js +0 -36
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.js.map +0 -1
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts +0 -2
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js +0 -35
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js.map +0 -1
@@ -1,36 +0,0 @@
|
|
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
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Updating a Remote Rendering Account
|
13
|
-
*
|
14
|
-
* @summary Updating a Remote Rendering Account
|
15
|
-
* x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/Patch.json
|
16
|
-
*/
|
17
|
-
import { MixedRealityClient } from "@azure/arm-mixedreality";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function updateRemoteRenderingAccount() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
22
|
-
const resourceGroupName = "MyResourceGroup";
|
23
|
-
const accountName = "MyAccount";
|
24
|
-
const remoteRenderingAccount = {
|
25
|
-
identity: { type: "SystemAssigned" },
|
26
|
-
location: "eastus2euap",
|
27
|
-
tags: { hero: "romeo", heroine: "juliet" }
|
28
|
-
};
|
29
|
-
const credential = new DefaultAzureCredential();
|
30
|
-
const client = new MixedRealityClient(credential, subscriptionId);
|
31
|
-
const result = yield client.remoteRenderingAccounts.update(resourceGroupName, accountName, remoteRenderingAccount);
|
32
|
-
console.log(result);
|
33
|
-
});
|
34
|
-
}
|
35
|
-
updateRemoteRenderingAccount().catch(console.error);
|
36
|
-
//# sourceMappingURL=updateRemoteRenderingAccount.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"updateRemoteRenderingAccount.js","sourceRoot":"","sources":["../../samples-dev/updateRemoteRenderingAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,sBAAsB,GAA2B;YACrD,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;YACpC,QAAQ,EAAE,aAAa;YACvB,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;SAC3C,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,MAAM,CACxD,iBAAiB,EACjB,WAAW,EACX,sBAAsB,CACvB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4BAA4B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"updateSpatialAnchorsAccount.d.ts","sourceRoot":"","sources":["../../samples-dev/updateSpatialAnchorsAccount.ts"],"names":[],"mappings":""}
|
@@ -1,35 +0,0 @@
|
|
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
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Updating a Spatial Anchors Account
|
13
|
-
*
|
14
|
-
* @summary Updating a Spatial Anchors Account
|
15
|
-
* x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/Patch.json
|
16
|
-
*/
|
17
|
-
import { MixedRealityClient } from "@azure/arm-mixedreality";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function updateSpatialAnchorsAccount() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
22
|
-
const resourceGroupName = "MyResourceGroup";
|
23
|
-
const accountName = "MyAccount";
|
24
|
-
const spatialAnchorsAccount = {
|
25
|
-
location: "eastus2euap",
|
26
|
-
tags: { hero: "romeo", heroine: "juliet" }
|
27
|
-
};
|
28
|
-
const credential = new DefaultAzureCredential();
|
29
|
-
const client = new MixedRealityClient(credential, subscriptionId);
|
30
|
-
const result = yield client.spatialAnchorsAccounts.update(resourceGroupName, accountName, spatialAnchorsAccount);
|
31
|
-
console.log(result);
|
32
|
-
});
|
33
|
-
}
|
34
|
-
updateSpatialAnchorsAccount().catch(console.error);
|
35
|
-
//# sourceMappingURL=updateSpatialAnchorsAccount.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"updateSpatialAnchorsAccount.js","sourceRoot":"","sources":["../../samples-dev/updateSpatialAnchorsAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,qBAAqB,GAA0B;YACnD,QAAQ,EAAE,aAAa;YACvB,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;SAC3C,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,MAAM,CACvD,iBAAiB,EACjB,WAAW,EACX,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|