@azure/arm-mixedreality 3.1.1 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +11 -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 +75 -33
- 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
@@ -1,77 +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
|
7
|
-
* regenerated.
|
8
|
-
*/
|
9
|
-
import { __assign, __extends } from "tslib";
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
11
|
-
import * as Models from "./models";
|
12
|
-
import * as Mappers from "./models/mappers";
|
13
|
-
import * as Parameters from "./models/parameters";
|
14
|
-
import * as operations from "./operations";
|
15
|
-
import { MixedRealityClientContext } from "./mixedRealityClientContext";
|
16
|
-
var MixedRealityClient = /** @class */ (function (_super) {
|
17
|
-
__extends(MixedRealityClient, _super);
|
18
|
-
/**
|
19
|
-
* Initializes a new instance of the MixedRealityClient class.
|
20
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
21
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
22
|
-
* more information about these credentials, see
|
23
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
24
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
25
|
-
* @azure/ms-rest-browserauth are also supported.
|
26
|
-
* @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
|
27
|
-
* 00000000-0000-0000-0000-000000000000)
|
28
|
-
* @param [options] The parameter options
|
29
|
-
*/
|
30
|
-
function MixedRealityClient(credentials, subscriptionId, options) {
|
31
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
32
|
-
_this.operations = new operations.Operations(_this);
|
33
|
-
_this.spatialAnchorsAccounts = new operations.SpatialAnchorsAccounts(_this);
|
34
|
-
_this.remoteRenderingAccounts = new operations.RemoteRenderingAccounts(_this);
|
35
|
-
return _this;
|
36
|
-
}
|
37
|
-
MixedRealityClient.prototype.checkNameAvailabilityLocal = function (location, checkNameAvailability, options, callback) {
|
38
|
-
return this.sendOperationRequest({
|
39
|
-
location: location,
|
40
|
-
checkNameAvailability: checkNameAvailability,
|
41
|
-
options: options
|
42
|
-
}, checkNameAvailabilityLocalOperationSpec, callback);
|
43
|
-
};
|
44
|
-
return MixedRealityClient;
|
45
|
-
}(MixedRealityClientContext));
|
46
|
-
// Operation Specifications
|
47
|
-
var serializer = new msRest.Serializer(Mappers);
|
48
|
-
var checkNameAvailabilityLocalOperationSpec = {
|
49
|
-
httpMethod: "POST",
|
50
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.MixedReality/locations/{location}/checkNameAvailability",
|
51
|
-
urlParameters: [
|
52
|
-
Parameters.subscriptionId,
|
53
|
-
Parameters.location
|
54
|
-
],
|
55
|
-
queryParameters: [
|
56
|
-
Parameters.apiVersion
|
57
|
-
],
|
58
|
-
headerParameters: [
|
59
|
-
Parameters.acceptLanguage
|
60
|
-
],
|
61
|
-
requestBody: {
|
62
|
-
parameterPath: "checkNameAvailability",
|
63
|
-
mapper: __assign(__assign({}, Mappers.CheckNameAvailabilityRequest), { required: true })
|
64
|
-
},
|
65
|
-
responses: {
|
66
|
-
200: {
|
67
|
-
bodyMapper: Mappers.CheckNameAvailabilityResponse
|
68
|
-
},
|
69
|
-
default: {
|
70
|
-
bodyMapper: Mappers.CloudError
|
71
|
-
}
|
72
|
-
},
|
73
|
-
serializer: serializer
|
74
|
-
};
|
75
|
-
export { MixedRealityClient, MixedRealityClientContext, Models as MixedRealityModels, Mappers as MixedRealityMappers };
|
76
|
-
export * from "./operations";
|
77
|
-
//# sourceMappingURL=mixedRealityClient.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"mixedRealityClient.js","sourceRoot":"","sources":["../src/mixedRealityClient.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,UAAU,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAGxE;IAAiC,sCAAyB;IAMxD;;;;;;;;;;;OAWG;IACH,4BAAY,WAA8D,EAAE,cAAsB,EAAE,OAA0C;QAA9I,YACE,kBAAM,WAAW,EAAE,cAAc,EAAE,OAAO,CAAC,SAI5C;QAHC,KAAI,CAAC,UAAU,GAAG,IAAI,UAAU,CAAC,UAAU,CAAC,KAAI,CAAC,CAAC;QAClD,KAAI,CAAC,sBAAsB,GAAG,IAAI,UAAU,CAAC,sBAAsB,CAAC,KAAI,CAAC,CAAC;QAC1E,KAAI,CAAC,uBAAuB,GAAG,IAAI,UAAU,CAAC,uBAAuB,CAAC,KAAI,CAAC,CAAC;;IAC9E,CAAC;IAuBD,uDAA0B,GAA1B,UAA2B,QAAgB,EAAE,qBAA0D,EAAE,OAAkG,EAAE,QAAuE;QAClR,OAAO,IAAI,CAAC,oBAAoB,CAC9B;YACE,QAAQ,UAAA;YACR,qBAAqB,uBAAA;YACrB,OAAO,SAAA;SACR,EACD,uCAAuC,EACvC,QAAQ,CAAuD,CAAC;IACpE,CAAC;IACH,yBAAC;AAAD,CAAC,AAxDD,CAAiC,yBAAyB,GAwDzD;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,uCAAuC,GAAyB;IACpE,UAAU,EAAE,MAAM;IAClB,IAAI,EAAE,4GAA4G;IAClH,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,WAAW,EAAE;QACX,aAAa,EAAE,uBAAuB;QACtC,MAAM,wBACD,OAAO,CAAC,4BAA4B,KACvC,QAAQ,EAAE,IAAI,GACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,OAAO,EACL,kBAAkB,EAClB,yBAAyB,EACzB,MAAM,IAAI,kBAAkB,EAC5B,OAAO,IAAI,mBAAmB,EAC/B,CAAC;AACF,cAAc,cAAc,CAAC"}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import * as Models from "./models";
|
2
|
-
import * as msRest from "@azure/ms-rest-js";
|
3
|
-
import { TokenCredential } from "@azure/core-auth";
|
4
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
5
|
-
export declare class MixedRealityClientContext extends msRestAzure.AzureServiceClient {
|
6
|
-
credentials: msRest.ServiceClientCredentials | TokenCredential;
|
7
|
-
apiVersion?: string;
|
8
|
-
subscriptionId: string;
|
9
|
-
/**
|
10
|
-
* Initializes a new instance of the MixedRealityClient class.
|
11
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
12
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
13
|
-
* more information about these credentials, see
|
14
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
15
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
16
|
-
* @azure/ms-rest-browserauth are also supported.
|
17
|
-
* @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
|
18
|
-
* 00000000-0000-0000-0000-000000000000)
|
19
|
-
* @param [options] The parameter options
|
20
|
-
*/
|
21
|
-
constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MixedRealityClientOptions);
|
22
|
-
}
|
23
|
-
//# sourceMappingURL=mixedRealityClientContext.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"mixedRealityClientContext.d.ts","sourceRoot":"","sources":["../src/mixedRealityClientContext.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AAKvD,qBAAa,yBAA0B,SAAQ,WAAW,CAAC,kBAAkB;IAC3E,WAAW,EAAE,MAAM,CAAC,wBAAwB,GAAG,eAAe,CAAC;IAC/D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;;;;;;OAWG;gBACS,WAAW,EAAE,MAAM,CAAC,wBAAwB,GAAG,eAAe,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,yBAAyB;CAiC/I"}
|
@@ -1,61 +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
|
7
|
-
* regenerated.
|
8
|
-
*/
|
9
|
-
import { __extends } from "tslib";
|
10
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
11
|
-
var packageName = "@azure/arm-mixedreality";
|
12
|
-
var packageVersion = "3.1.1";
|
13
|
-
var MixedRealityClientContext = /** @class */ (function (_super) {
|
14
|
-
__extends(MixedRealityClientContext, _super);
|
15
|
-
/**
|
16
|
-
* Initializes a new instance of the MixedRealityClient class.
|
17
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
18
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
19
|
-
* more information about these credentials, see
|
20
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
21
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
22
|
-
* @azure/ms-rest-browserauth are also supported.
|
23
|
-
* @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
|
24
|
-
* 00000000-0000-0000-0000-000000000000)
|
25
|
-
* @param [options] The parameter options
|
26
|
-
*/
|
27
|
-
function MixedRealityClientContext(credentials, subscriptionId, options) {
|
28
|
-
var _this = this;
|
29
|
-
if (credentials == undefined) {
|
30
|
-
throw new Error('\'credentials\' cannot be null.');
|
31
|
-
}
|
32
|
-
if (subscriptionId == undefined) {
|
33
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
34
|
-
}
|
35
|
-
if (!options) {
|
36
|
-
options = {};
|
37
|
-
}
|
38
|
-
if (!options.userAgent) {
|
39
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
40
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
41
|
-
}
|
42
|
-
_this = _super.call(this, credentials, options) || this;
|
43
|
-
_this.apiVersion = '2021-01-01';
|
44
|
-
_this.acceptLanguage = 'en-US';
|
45
|
-
_this.longRunningOperationRetryTimeout = 30;
|
46
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
47
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
48
|
-
_this.credentials = credentials;
|
49
|
-
_this.subscriptionId = subscriptionId;
|
50
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
51
|
-
_this.acceptLanguage = options.acceptLanguage;
|
52
|
-
}
|
53
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
54
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
55
|
-
}
|
56
|
-
return _this;
|
57
|
-
}
|
58
|
-
return MixedRealityClientContext;
|
59
|
-
}(msRestAzure.AzureServiceClient));
|
60
|
-
export { MixedRealityClientContext };
|
61
|
-
//# sourceMappingURL=mixedRealityClientContext.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"mixedRealityClientContext.js","sourceRoot":"","sources":["../src/mixedRealityClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAKH,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AAEvD,IAAM,WAAW,GAAG,yBAAyB,CAAC;AAC9C,IAAM,cAAc,GAAG,OAAO,CAAC;AAE/B;IAA+C,6CAA8B;IAK3E;;;;;;;;;;;OAWG;IACH,mCAAY,WAA8D,EAAE,cAAsB,EAAE,OAA0C;QAA9I,iBAgCC;QA/BC,IAAI,WAAW,IAAI,SAAS,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QACD,IAAI,cAAc,IAAI,SAAS,EAAE;YAC/B,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;SACvD;QAED,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE;YACtB,IAAM,gBAAgB,GAAG,WAAW,CAAC,wBAAwB,EAAE,CAAC;YAChE,OAAO,CAAC,SAAS,GAAM,WAAW,SAAI,cAAc,SAAI,gBAAkB,CAAC;SAC5E;QAED,QAAA,kBAAM,WAAW,EAAE,OAAO,CAAC,SAAC;QAE5B,KAAI,CAAC,UAAU,GAAG,YAAY,CAAC;QAC/B,KAAI,CAAC,cAAc,GAAG,OAAO,CAAC;QAC9B,KAAI,CAAC,gCAAgC,GAAG,EAAE,CAAC;QAC3C,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,KAAI,CAAC,OAAO,IAAI,8BAA8B,CAAC;QACjF,KAAI,CAAC,kBAAkB,GAAG,iCAAiC,CAAC;QAC5D,KAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,KAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,IAAI,OAAO,CAAC,cAAc,KAAK,IAAI,IAAI,OAAO,CAAC,cAAc,KAAK,SAAS,EAAE;YAC3E,KAAI,CAAC,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC;SAC9C;QACD,IAAI,OAAO,CAAC,gCAAgC,KAAK,IAAI,IAAI,OAAO,CAAC,gCAAgC,KAAK,SAAS,EAAE;YAC/G,KAAI,CAAC,gCAAgC,GAAG,OAAO,CAAC,gCAAgC,CAAC;SAClF;;IACH,CAAC;IACH,gCAAC;AAAD,CAAC,AAlDD,CAA+C,WAAW,CAAC,kBAAkB,GAkD5E"}
|