@azure/arm-mixedreality 4.0.1-alpha.20220421.1 → 4.1.0-alpha.20220908.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +30 -0
- package/README.md +12 -1
- package/dist/index.js +667 -105
- 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/samples-dev/checkNameAvailabilityLocalSample.d.ts +2 -0
- package/dist-esm/samples-dev/checkNameAvailabilityLocalSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkNameAvailabilityLocalSample.js +34 -0
- package/dist-esm/samples-dev/checkNameAvailabilityLocalSample.js.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsCreateSample.js +35 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsGetSample.js +31 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsListKeysSample.d.ts +2 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsListKeysSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsListKeysSample.js +31 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsListKeysSample.js.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsRegenerateKeysSample.d.ts +2 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsRegenerateKeysSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsRegenerateKeysSample.js +32 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsRegenerateKeysSample.js.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsUpdateSample.js +36 -0
- package/dist-esm/samples-dev/objectAnchorsAccountsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +43 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsCreateSample.js +35 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsGetSample.js +31 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsListKeysSample.d.ts +2 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsListKeysSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsListKeysSample.js +31 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsListKeysSample.js.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsRegenerateKeysSample.d.ts +2 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsRegenerateKeysSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsRegenerateKeysSample.js +32 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsRegenerateKeysSample.js.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsUpdateSample.js +36 -0
- package/dist-esm/samples-dev/remoteRenderingAccountsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsCreateSample.js +34 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsGetSample.js +31 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsListKeysSample.d.ts +2 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsListKeysSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsListKeysSample.js +31 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsListKeysSample.js.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsRegenerateKeysSample.d.ts +2 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsRegenerateKeysSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsRegenerateKeysSample.js +32 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsRegenerateKeysSample.js.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsUpdateSample.js +35 -0
- package/dist-esm/samples-dev/spatialAnchorsAccountsUpdateSample.js.map +1 -0
- package/dist-esm/src/mixedRealityClient.d.ts +2 -1
- package/dist-esm/src/mixedRealityClient.d.ts.map +1 -1
- package/dist-esm/src/mixedRealityClient.js +23 -4
- package/dist-esm/src/mixedRealityClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +86 -1
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +93 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +6 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/objectAnchorsAccounts.d.ts +98 -0
- package/dist-esm/src/operations/objectAnchorsAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/objectAnchorsAccounts.js +422 -0
- package/dist-esm/src/operations/objectAnchorsAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/objectAnchorsAccounts.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/objectAnchorsAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/objectAnchorsAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/objectAnchorsAccounts.js.map +1 -0
- package/package.json +10 -10
- package/review/arm-mixedreality.api.md +103 -0
- package/rollup.config.js +6 -72
- package/src/mixedRealityClient.ts +34 -5
- package/src/models/index.ts +108 -1
- package/src/models/mappers.ts +108 -0
- package/src/models/parameters.ts +8 -2
- package/src/operations/index.ts +1 -0
- package/src/operations/objectAnchorsAccounts.ts +536 -0
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/objectAnchorsAccounts.ts +119 -0
- package/tsconfig.json +18 -5
- package/types/arm-mixedreality.d.ts +169 -1
- package/LICENSE.txt +0 -21
@@ -94,6 +94,7 @@ export interface MetricDimension {
|
|
94
94
|
displayName?: string;
|
95
95
|
internalName?: string;
|
96
96
|
name?: string;
|
97
|
+
toBeExportedForShoebox?: boolean;
|
97
98
|
}
|
98
99
|
|
99
100
|
// @public
|
@@ -125,6 +126,8 @@ export class MixedRealityClient extends coreClient.ServiceClient {
|
|
125
126
|
apiVersion: string;
|
126
127
|
checkNameAvailabilityLocal(location: string, checkNameAvailability: CheckNameAvailabilityRequest, options?: CheckNameAvailabilityLocalOptionalParams): Promise<CheckNameAvailabilityLocalResponse>;
|
127
128
|
// (undocumented)
|
129
|
+
objectAnchorsAccounts: ObjectAnchorsAccounts;
|
130
|
+
// (undocumented)
|
128
131
|
operations: Operations;
|
129
132
|
// (undocumented)
|
130
133
|
remoteRenderingAccounts: RemoteRenderingAccounts;
|
@@ -144,6 +147,106 @@ export interface MixedRealityClientOptionalParams extends coreClient.ServiceClie
|
|
144
147
|
// @public
|
145
148
|
export type NameUnavailableReason = string;
|
146
149
|
|
150
|
+
// @public
|
151
|
+
export type ObjectAnchorsAccount = TrackedResource & {
|
152
|
+
identity?: ObjectAnchorsAccountIdentity;
|
153
|
+
plan?: Identity;
|
154
|
+
sku?: Sku;
|
155
|
+
kind?: Sku;
|
156
|
+
readonly systemData?: SystemData;
|
157
|
+
storageAccountName?: string;
|
158
|
+
readonly accountId?: string;
|
159
|
+
readonly accountDomain?: string;
|
160
|
+
};
|
161
|
+
|
162
|
+
// @public (undocumented)
|
163
|
+
export type ObjectAnchorsAccountIdentity = Identity & {};
|
164
|
+
|
165
|
+
// @public
|
166
|
+
export interface ObjectAnchorsAccountPage {
|
167
|
+
nextLink?: string;
|
168
|
+
value?: ObjectAnchorsAccount[];
|
169
|
+
}
|
170
|
+
|
171
|
+
// @public
|
172
|
+
export interface ObjectAnchorsAccounts {
|
173
|
+
create(resourceGroupName: string, accountName: string, objectAnchorsAccount: ObjectAnchorsAccount, options?: ObjectAnchorsAccountsCreateOptionalParams): Promise<ObjectAnchorsAccountsCreateResponse>;
|
174
|
+
delete(resourceGroupName: string, accountName: string, options?: ObjectAnchorsAccountsDeleteOptionalParams): Promise<void>;
|
175
|
+
get(resourceGroupName: string, accountName: string, options?: ObjectAnchorsAccountsGetOptionalParams): Promise<ObjectAnchorsAccountsGetResponse>;
|
176
|
+
listByResourceGroup(resourceGroupName: string, options?: ObjectAnchorsAccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ObjectAnchorsAccount>;
|
177
|
+
listBySubscription(options?: ObjectAnchorsAccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ObjectAnchorsAccount>;
|
178
|
+
listKeys(resourceGroupName: string, accountName: string, options?: ObjectAnchorsAccountsListKeysOptionalParams): Promise<ObjectAnchorsAccountsListKeysResponse>;
|
179
|
+
regenerateKeys(resourceGroupName: string, accountName: string, regenerate: AccountKeyRegenerateRequest, options?: ObjectAnchorsAccountsRegenerateKeysOptionalParams): Promise<ObjectAnchorsAccountsRegenerateKeysResponse>;
|
180
|
+
update(resourceGroupName: string, accountName: string, objectAnchorsAccount: ObjectAnchorsAccount, options?: ObjectAnchorsAccountsUpdateOptionalParams): Promise<ObjectAnchorsAccountsUpdateResponse>;
|
181
|
+
}
|
182
|
+
|
183
|
+
// @public
|
184
|
+
export interface ObjectAnchorsAccountsCreateOptionalParams extends coreClient.OperationOptions {
|
185
|
+
}
|
186
|
+
|
187
|
+
// @public
|
188
|
+
export type ObjectAnchorsAccountsCreateResponse = ObjectAnchorsAccount;
|
189
|
+
|
190
|
+
// @public
|
191
|
+
export interface ObjectAnchorsAccountsDeleteOptionalParams extends coreClient.OperationOptions {
|
192
|
+
}
|
193
|
+
|
194
|
+
// @public
|
195
|
+
export interface ObjectAnchorsAccountsGetOptionalParams extends coreClient.OperationOptions {
|
196
|
+
}
|
197
|
+
|
198
|
+
// @public
|
199
|
+
export type ObjectAnchorsAccountsGetResponse = ObjectAnchorsAccount;
|
200
|
+
|
201
|
+
// @public
|
202
|
+
export interface ObjectAnchorsAccountsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
203
|
+
}
|
204
|
+
|
205
|
+
// @public
|
206
|
+
export type ObjectAnchorsAccountsListByResourceGroupNextResponse = ObjectAnchorsAccountPage;
|
207
|
+
|
208
|
+
// @public
|
209
|
+
export interface ObjectAnchorsAccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
210
|
+
}
|
211
|
+
|
212
|
+
// @public
|
213
|
+
export type ObjectAnchorsAccountsListByResourceGroupResponse = ObjectAnchorsAccountPage;
|
214
|
+
|
215
|
+
// @public
|
216
|
+
export interface ObjectAnchorsAccountsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
217
|
+
}
|
218
|
+
|
219
|
+
// @public
|
220
|
+
export type ObjectAnchorsAccountsListBySubscriptionNextResponse = ObjectAnchorsAccountPage;
|
221
|
+
|
222
|
+
// @public
|
223
|
+
export interface ObjectAnchorsAccountsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
224
|
+
}
|
225
|
+
|
226
|
+
// @public
|
227
|
+
export type ObjectAnchorsAccountsListBySubscriptionResponse = ObjectAnchorsAccountPage;
|
228
|
+
|
229
|
+
// @public
|
230
|
+
export interface ObjectAnchorsAccountsListKeysOptionalParams extends coreClient.OperationOptions {
|
231
|
+
}
|
232
|
+
|
233
|
+
// @public
|
234
|
+
export type ObjectAnchorsAccountsListKeysResponse = AccountKeys;
|
235
|
+
|
236
|
+
// @public
|
237
|
+
export interface ObjectAnchorsAccountsRegenerateKeysOptionalParams extends coreClient.OperationOptions {
|
238
|
+
}
|
239
|
+
|
240
|
+
// @public
|
241
|
+
export type ObjectAnchorsAccountsRegenerateKeysResponse = AccountKeys;
|
242
|
+
|
243
|
+
// @public
|
244
|
+
export interface ObjectAnchorsAccountsUpdateOptionalParams extends coreClient.OperationOptions {
|
245
|
+
}
|
246
|
+
|
247
|
+
// @public
|
248
|
+
export type ObjectAnchorsAccountsUpdateResponse = ObjectAnchorsAccount;
|
249
|
+
|
147
250
|
// @public
|
148
251
|
export interface Operation {
|
149
252
|
display?: OperationDisplay;
|
package/rollup.config.js
CHANGED
@@ -14,62 +14,14 @@ import json from "@rollup/plugin-json";
|
|
14
14
|
|
15
15
|
import nodeBuiltins from "builtin-modules";
|
16
16
|
|
17
|
-
/**
|
18
|
-
* Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api.
|
19
|
-
*
|
20
|
-
* NOTE: this manual configuration is only needed because OpenTelemetry uses an
|
21
|
-
* __exportStar downleveled helper function to declare its exports which confuses
|
22
|
-
* rollup's automatic discovery mechanism.
|
23
|
-
*
|
24
|
-
* @returns an object reference that can be `...`'d into your cjs() configuration.
|
25
|
-
*/
|
26
|
-
export function openTelemetryCommonJs() {
|
27
|
-
const namedExports = {};
|
28
|
-
|
29
|
-
for (const key of [
|
30
|
-
"@opentelemetry/api",
|
31
|
-
"@azure/core-tracing/node_modules/@opentelemetry/api"
|
32
|
-
]) {
|
33
|
-
namedExports[key] = [
|
34
|
-
"SpanKind",
|
35
|
-
"TraceFlags",
|
36
|
-
"getSpan",
|
37
|
-
"setSpan",
|
38
|
-
"SpanStatusCode",
|
39
|
-
"getSpanContext",
|
40
|
-
"setSpanContext"
|
41
|
-
];
|
42
|
-
}
|
43
|
-
|
44
|
-
const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"];
|
45
|
-
|
46
|
-
for (const version of releasedOpenTelemetryVersions) {
|
47
|
-
namedExports[
|
48
|
-
// working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path.
|
49
|
-
`../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js`
|
50
|
-
] = [
|
51
|
-
"SpanKind",
|
52
|
-
"TraceFlags",
|
53
|
-
"getSpan",
|
54
|
-
"setSpan",
|
55
|
-
"StatusCode",
|
56
|
-
"CanonicalCode",
|
57
|
-
"getSpanContext",
|
58
|
-
"setSpanContext"
|
59
|
-
];
|
60
|
-
}
|
61
|
-
|
62
|
-
return namedExports;
|
63
|
-
}
|
64
|
-
|
65
17
|
// #region Warning Handler
|
66
18
|
|
67
19
|
/**
|
68
|
-
* A function that can determine whether a
|
20
|
+
* A function that can determine whether a rollup warning should be ignored. If
|
69
21
|
* the function returns `true`, then the warning will not be displayed.
|
70
22
|
*/
|
71
23
|
|
72
|
-
function
|
24
|
+
function ignoreNiseSinonEval(warning) {
|
73
25
|
return (
|
74
26
|
warning.code === "EVAL" &&
|
75
27
|
warning.id &&
|
@@ -78,17 +30,14 @@ function ignoreNiseSinonEvalWarnings(warning) {
|
|
78
30
|
);
|
79
31
|
}
|
80
32
|
|
81
|
-
function
|
33
|
+
function ignoreChaiCircularDependency(warning) {
|
82
34
|
return (
|
83
35
|
warning.code === "CIRCULAR_DEPENDENCY" &&
|
84
36
|
warning.importer && warning.importer.includes("node_modules/chai") === true
|
85
37
|
);
|
86
38
|
}
|
87
39
|
|
88
|
-
const warningInhibitors = [
|
89
|
-
ignoreChaiCircularDependencyWarnings,
|
90
|
-
ignoreNiseSinonEvalWarnings
|
91
|
-
];
|
40
|
+
const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval];
|
92
41
|
|
93
42
|
/**
|
94
43
|
* Construct a warning handler for the shared rollup configuration
|
@@ -122,22 +71,7 @@ function makeBrowserTestConfig() {
|
|
122
71
|
nodeResolve({
|
123
72
|
mainFields: ["module", "browser"]
|
124
73
|
}),
|
125
|
-
cjs(
|
126
|
-
namedExports: {
|
127
|
-
// Chai's strange internal architecture makes it impossible to statically
|
128
|
-
// analyze its exports.
|
129
|
-
chai: [
|
130
|
-
"version",
|
131
|
-
"use",
|
132
|
-
"util",
|
133
|
-
"config",
|
134
|
-
"expect",
|
135
|
-
"should",
|
136
|
-
"assert"
|
137
|
-
],
|
138
|
-
...openTelemetryCommonJs()
|
139
|
-
}
|
140
|
-
}),
|
74
|
+
cjs(),
|
141
75
|
json(),
|
142
76
|
sourcemaps()
|
143
77
|
//viz({ filename: "dist-test/browser-stats.html", sourcemap: true })
|
@@ -173,7 +107,7 @@ export function makeConfig(pkg, options) {
|
|
173
107
|
],
|
174
108
|
output: { file: "dist/index.js", format: "cjs", sourcemap: true },
|
175
109
|
preserveSymlinks: false,
|
176
|
-
plugins: [sourcemaps(), nodeResolve()
|
110
|
+
plugins: [sourcemaps(), nodeResolve()]
|
177
111
|
};
|
178
112
|
|
179
113
|
const config = [baseConfig];
|
@@ -7,16 +7,19 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
10
|
+
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
10
11
|
import * as coreAuth from "@azure/core-auth";
|
11
12
|
import {
|
12
13
|
OperationsImpl,
|
13
14
|
SpatialAnchorsAccountsImpl,
|
14
|
-
RemoteRenderingAccountsImpl
|
15
|
+
RemoteRenderingAccountsImpl,
|
16
|
+
ObjectAnchorsAccountsImpl
|
15
17
|
} from "./operations";
|
16
18
|
import {
|
17
19
|
Operations,
|
18
20
|
SpatialAnchorsAccounts,
|
19
|
-
RemoteRenderingAccounts
|
21
|
+
RemoteRenderingAccounts,
|
22
|
+
ObjectAnchorsAccounts
|
20
23
|
} from "./operationsInterfaces";
|
21
24
|
import * as Parameters from "./models/parameters";
|
22
25
|
import * as Mappers from "./models/mappers";
|
@@ -60,7 +63,7 @@ export class MixedRealityClient extends coreClient.ServiceClient {
|
|
60
63
|
credential: credentials
|
61
64
|
};
|
62
65
|
|
63
|
-
const packageDetails = `azsdk-js-arm-mixedreality/4.0.1`;
|
66
|
+
const packageDetails = `azsdk-js-arm-mixedreality/4.1.0-beta.1`;
|
64
67
|
const userAgentPrefix =
|
65
68
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
66
69
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
@@ -75,18 +78,43 @@ export class MixedRealityClient extends coreClient.ServiceClient {
|
|
75
78
|
userAgentOptions: {
|
76
79
|
userAgentPrefix
|
77
80
|
},
|
78
|
-
baseUri:
|
81
|
+
baseUri:
|
82
|
+
options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
79
83
|
};
|
80
84
|
super(optionsWithDefaults);
|
85
|
+
|
86
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
87
|
+
const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();
|
88
|
+
const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
|
89
|
+
(pipelinePolicy) =>
|
90
|
+
pipelinePolicy.name ===
|
91
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName
|
92
|
+
);
|
93
|
+
if (!bearerTokenAuthenticationPolicyFound) {
|
94
|
+
this.pipeline.removePolicy({
|
95
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
96
|
+
});
|
97
|
+
this.pipeline.addPolicy(
|
98
|
+
coreRestPipeline.bearerTokenAuthenticationPolicy({
|
99
|
+
scopes: `${optionsWithDefaults.baseUri}/.default`,
|
100
|
+
challengeCallbacks: {
|
101
|
+
authorizeRequestOnChallenge:
|
102
|
+
coreClient.authorizeRequestOnClaimChallenge
|
103
|
+
}
|
104
|
+
})
|
105
|
+
);
|
106
|
+
}
|
107
|
+
}
|
81
108
|
// Parameter assignments
|
82
109
|
this.subscriptionId = subscriptionId;
|
83
110
|
|
84
111
|
// Assigning values to Constant parameters
|
85
112
|
this.$host = options.$host || "https://management.azure.com";
|
86
|
-
this.apiVersion = options.apiVersion || "2021-01-
|
113
|
+
this.apiVersion = options.apiVersion || "2021-03-01-preview";
|
87
114
|
this.operations = new OperationsImpl(this);
|
88
115
|
this.spatialAnchorsAccounts = new SpatialAnchorsAccountsImpl(this);
|
89
116
|
this.remoteRenderingAccounts = new RemoteRenderingAccountsImpl(this);
|
117
|
+
this.objectAnchorsAccounts = new ObjectAnchorsAccountsImpl(this);
|
90
118
|
}
|
91
119
|
|
92
120
|
/**
|
@@ -109,6 +137,7 @@ export class MixedRealityClient extends coreClient.ServiceClient {
|
|
109
137
|
operations: Operations;
|
110
138
|
spatialAnchorsAccounts: SpatialAnchorsAccounts;
|
111
139
|
remoteRenderingAccounts: RemoteRenderingAccounts;
|
140
|
+
objectAnchorsAccounts: ObjectAnchorsAccounts;
|
112
141
|
}
|
113
142
|
// Operation Specifications
|
114
143
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
package/src/models/index.ts
CHANGED
@@ -110,6 +110,8 @@ export interface MetricDimension {
|
|
110
110
|
displayName?: string;
|
111
111
|
/** Internal name of the dimension. */
|
112
112
|
internalName?: string;
|
113
|
+
/** Flag to indicate export for Shoebox */
|
114
|
+
toBeExportedForShoebox?: boolean;
|
113
115
|
}
|
114
116
|
|
115
117
|
/** An Error response. */
|
@@ -237,7 +239,7 @@ export interface AccountKeys {
|
|
237
239
|
|
238
240
|
/** Request for account key regeneration */
|
239
241
|
export interface AccountKeyRegenerateRequest {
|
240
|
-
/**
|
242
|
+
/** Serial of key to be regenerated */
|
241
243
|
serial?: Serial;
|
242
244
|
}
|
243
245
|
|
@@ -249,6 +251,16 @@ export interface RemoteRenderingAccountPage {
|
|
249
251
|
nextLink?: string;
|
250
252
|
}
|
251
253
|
|
254
|
+
/** Result of the request to get resource collection. It contains a list of resources and a URL link to get the next set of results. */
|
255
|
+
export interface ObjectAnchorsAccountPage {
|
256
|
+
/** List of resources supported by the Resource Provider. */
|
257
|
+
value?: ObjectAnchorsAccount[];
|
258
|
+
/** URL to get the next set of resource list results if there are any. */
|
259
|
+
nextLink?: string;
|
260
|
+
}
|
261
|
+
|
262
|
+
export type ObjectAnchorsAccountIdentity = Identity & {};
|
263
|
+
|
252
264
|
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
253
265
|
export type TrackedResource = Resource & {
|
254
266
|
/** Resource tags. */
|
@@ -315,6 +327,34 @@ export type RemoteRenderingAccount = TrackedResource & {
|
|
315
327
|
readonly accountDomain?: string;
|
316
328
|
};
|
317
329
|
|
330
|
+
/** ObjectAnchorsAccount Response. */
|
331
|
+
export type ObjectAnchorsAccount = TrackedResource & {
|
332
|
+
identity?: ObjectAnchorsAccountIdentity;
|
333
|
+
/** The plan associated with this account */
|
334
|
+
plan?: Identity;
|
335
|
+
/** The sku associated with this account */
|
336
|
+
sku?: Sku;
|
337
|
+
/** The kind of account, if supported */
|
338
|
+
kind?: Sku;
|
339
|
+
/**
|
340
|
+
* The system metadata related to an object anchors account.
|
341
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
342
|
+
*/
|
343
|
+
readonly systemData?: SystemData;
|
344
|
+
/** The name of the storage account associated with this accountId */
|
345
|
+
storageAccountName?: string;
|
346
|
+
/**
|
347
|
+
* unique id of certain account.
|
348
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
349
|
+
*/
|
350
|
+
readonly accountId?: string;
|
351
|
+
/**
|
352
|
+
* Correspond domain name of certain Spatial Anchors Account
|
353
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
354
|
+
*/
|
355
|
+
readonly accountDomain?: string;
|
356
|
+
};
|
357
|
+
|
318
358
|
/** Known values of {@link NameUnavailableReason} that the service accepts. */
|
319
359
|
export enum KnownNameUnavailableReason {
|
320
360
|
Invalid = "Invalid",
|
@@ -510,6 +550,73 @@ export interface RemoteRenderingAccountsListByResourceGroupNextOptionalParams
|
|
510
550
|
/** Contains response data for the listByResourceGroupNext operation. */
|
511
551
|
export type RemoteRenderingAccountsListByResourceGroupNextResponse = RemoteRenderingAccountPage;
|
512
552
|
|
553
|
+
/** Optional parameters. */
|
554
|
+
export interface ObjectAnchorsAccountsListBySubscriptionOptionalParams
|
555
|
+
extends coreClient.OperationOptions {}
|
556
|
+
|
557
|
+
/** Contains response data for the listBySubscription operation. */
|
558
|
+
export type ObjectAnchorsAccountsListBySubscriptionResponse = ObjectAnchorsAccountPage;
|
559
|
+
|
560
|
+
/** Optional parameters. */
|
561
|
+
export interface ObjectAnchorsAccountsListByResourceGroupOptionalParams
|
562
|
+
extends coreClient.OperationOptions {}
|
563
|
+
|
564
|
+
/** Contains response data for the listByResourceGroup operation. */
|
565
|
+
export type ObjectAnchorsAccountsListByResourceGroupResponse = ObjectAnchorsAccountPage;
|
566
|
+
|
567
|
+
/** Optional parameters. */
|
568
|
+
export interface ObjectAnchorsAccountsDeleteOptionalParams
|
569
|
+
extends coreClient.OperationOptions {}
|
570
|
+
|
571
|
+
/** Optional parameters. */
|
572
|
+
export interface ObjectAnchorsAccountsGetOptionalParams
|
573
|
+
extends coreClient.OperationOptions {}
|
574
|
+
|
575
|
+
/** Contains response data for the get operation. */
|
576
|
+
export type ObjectAnchorsAccountsGetResponse = ObjectAnchorsAccount;
|
577
|
+
|
578
|
+
/** Optional parameters. */
|
579
|
+
export interface ObjectAnchorsAccountsUpdateOptionalParams
|
580
|
+
extends coreClient.OperationOptions {}
|
581
|
+
|
582
|
+
/** Contains response data for the update operation. */
|
583
|
+
export type ObjectAnchorsAccountsUpdateResponse = ObjectAnchorsAccount;
|
584
|
+
|
585
|
+
/** Optional parameters. */
|
586
|
+
export interface ObjectAnchorsAccountsCreateOptionalParams
|
587
|
+
extends coreClient.OperationOptions {}
|
588
|
+
|
589
|
+
/** Contains response data for the create operation. */
|
590
|
+
export type ObjectAnchorsAccountsCreateResponse = ObjectAnchorsAccount;
|
591
|
+
|
592
|
+
/** Optional parameters. */
|
593
|
+
export interface ObjectAnchorsAccountsListKeysOptionalParams
|
594
|
+
extends coreClient.OperationOptions {}
|
595
|
+
|
596
|
+
/** Contains response data for the listKeys operation. */
|
597
|
+
export type ObjectAnchorsAccountsListKeysResponse = AccountKeys;
|
598
|
+
|
599
|
+
/** Optional parameters. */
|
600
|
+
export interface ObjectAnchorsAccountsRegenerateKeysOptionalParams
|
601
|
+
extends coreClient.OperationOptions {}
|
602
|
+
|
603
|
+
/** Contains response data for the regenerateKeys operation. */
|
604
|
+
export type ObjectAnchorsAccountsRegenerateKeysResponse = AccountKeys;
|
605
|
+
|
606
|
+
/** Optional parameters. */
|
607
|
+
export interface ObjectAnchorsAccountsListBySubscriptionNextOptionalParams
|
608
|
+
extends coreClient.OperationOptions {}
|
609
|
+
|
610
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
611
|
+
export type ObjectAnchorsAccountsListBySubscriptionNextResponse = ObjectAnchorsAccountPage;
|
612
|
+
|
613
|
+
/** Optional parameters. */
|
614
|
+
export interface ObjectAnchorsAccountsListByResourceGroupNextOptionalParams
|
615
|
+
extends coreClient.OperationOptions {}
|
616
|
+
|
617
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
618
|
+
export type ObjectAnchorsAccountsListByResourceGroupNextResponse = ObjectAnchorsAccountPage;
|
619
|
+
|
513
620
|
/** Optional parameters. */
|
514
621
|
export interface MixedRealityClientOptionalParams
|
515
622
|
extends coreClient.ServiceClientOptions {
|
package/src/models/mappers.ts
CHANGED
@@ -332,6 +332,12 @@ export const MetricDimension: coreClient.CompositeMapper = {
|
|
332
332
|
type: {
|
333
333
|
name: "String"
|
334
334
|
}
|
335
|
+
},
|
336
|
+
toBeExportedForShoebox: {
|
337
|
+
serializedName: "toBeExportedForShoebox",
|
338
|
+
type: {
|
339
|
+
name: "Boolean"
|
340
|
+
}
|
335
341
|
}
|
336
342
|
}
|
337
343
|
}
|
@@ -684,6 +690,43 @@ export const RemoteRenderingAccountPage: coreClient.CompositeMapper = {
|
|
684
690
|
}
|
685
691
|
};
|
686
692
|
|
693
|
+
export const ObjectAnchorsAccountPage: coreClient.CompositeMapper = {
|
694
|
+
type: {
|
695
|
+
name: "Composite",
|
696
|
+
className: "ObjectAnchorsAccountPage",
|
697
|
+
modelProperties: {
|
698
|
+
value: {
|
699
|
+
serializedName: "value",
|
700
|
+
type: {
|
701
|
+
name: "Sequence",
|
702
|
+
element: {
|
703
|
+
type: {
|
704
|
+
name: "Composite",
|
705
|
+
className: "ObjectAnchorsAccount"
|
706
|
+
}
|
707
|
+
}
|
708
|
+
}
|
709
|
+
},
|
710
|
+
nextLink: {
|
711
|
+
serializedName: "nextLink",
|
712
|
+
type: {
|
713
|
+
name: "String"
|
714
|
+
}
|
715
|
+
}
|
716
|
+
}
|
717
|
+
}
|
718
|
+
};
|
719
|
+
|
720
|
+
export const ObjectAnchorsAccountIdentity: coreClient.CompositeMapper = {
|
721
|
+
type: {
|
722
|
+
name: "Composite",
|
723
|
+
className: "ObjectAnchorsAccountIdentity",
|
724
|
+
modelProperties: {
|
725
|
+
...Identity.type.modelProperties
|
726
|
+
}
|
727
|
+
}
|
728
|
+
};
|
729
|
+
|
687
730
|
export const TrackedResource: coreClient.CompositeMapper = {
|
688
731
|
type: {
|
689
732
|
name: "Composite",
|
@@ -837,3 +880,68 @@ export const RemoteRenderingAccount: coreClient.CompositeMapper = {
|
|
837
880
|
}
|
838
881
|
}
|
839
882
|
};
|
883
|
+
|
884
|
+
export const ObjectAnchorsAccount: coreClient.CompositeMapper = {
|
885
|
+
type: {
|
886
|
+
name: "Composite",
|
887
|
+
className: "ObjectAnchorsAccount",
|
888
|
+
modelProperties: {
|
889
|
+
...TrackedResource.type.modelProperties,
|
890
|
+
identity: {
|
891
|
+
serializedName: "identity",
|
892
|
+
type: {
|
893
|
+
name: "Composite",
|
894
|
+
className: "ObjectAnchorsAccountIdentity"
|
895
|
+
}
|
896
|
+
},
|
897
|
+
plan: {
|
898
|
+
serializedName: "plan",
|
899
|
+
type: {
|
900
|
+
name: "Composite",
|
901
|
+
className: "Identity"
|
902
|
+
}
|
903
|
+
},
|
904
|
+
sku: {
|
905
|
+
serializedName: "sku",
|
906
|
+
type: {
|
907
|
+
name: "Composite",
|
908
|
+
className: "Sku"
|
909
|
+
}
|
910
|
+
},
|
911
|
+
kind: {
|
912
|
+
serializedName: "kind",
|
913
|
+
type: {
|
914
|
+
name: "Composite",
|
915
|
+
className: "Sku"
|
916
|
+
}
|
917
|
+
},
|
918
|
+
systemData: {
|
919
|
+
serializedName: "systemData",
|
920
|
+
type: {
|
921
|
+
name: "Composite",
|
922
|
+
className: "SystemData"
|
923
|
+
}
|
924
|
+
},
|
925
|
+
storageAccountName: {
|
926
|
+
serializedName: "properties.storageAccountName",
|
927
|
+
type: {
|
928
|
+
name: "String"
|
929
|
+
}
|
930
|
+
},
|
931
|
+
accountId: {
|
932
|
+
serializedName: "properties.accountId",
|
933
|
+
readOnly: true,
|
934
|
+
type: {
|
935
|
+
name: "String"
|
936
|
+
}
|
937
|
+
},
|
938
|
+
accountDomain: {
|
939
|
+
serializedName: "properties.accountDomain",
|
940
|
+
readOnly: true,
|
941
|
+
type: {
|
942
|
+
name: "String"
|
943
|
+
}
|
944
|
+
}
|
945
|
+
}
|
946
|
+
}
|
947
|
+
};
|
package/src/models/parameters.ts
CHANGED
@@ -15,7 +15,8 @@ import {
|
|
15
15
|
CheckNameAvailabilityRequest as CheckNameAvailabilityRequestMapper,
|
16
16
|
SpatialAnchorsAccount as SpatialAnchorsAccountMapper,
|
17
17
|
AccountKeyRegenerateRequest as AccountKeyRegenerateRequestMapper,
|
18
|
-
RemoteRenderingAccount as RemoteRenderingAccountMapper
|
18
|
+
RemoteRenderingAccount as RemoteRenderingAccountMapper,
|
19
|
+
ObjectAnchorsAccount as ObjectAnchorsAccountMapper
|
19
20
|
} from "../models/mappers";
|
20
21
|
|
21
22
|
export const accept: OperationParameter = {
|
@@ -45,7 +46,7 @@ export const $host: OperationURLParameter = {
|
|
45
46
|
export const apiVersion: OperationQueryParameter = {
|
46
47
|
parameterPath: "apiVersion",
|
47
48
|
mapper: {
|
48
|
-
defaultValue: "2021-01-
|
49
|
+
defaultValue: "2021-03-01-preview",
|
49
50
|
isConstant: true,
|
50
51
|
serializedName: "api-version",
|
51
52
|
type: {
|
@@ -156,3 +157,8 @@ export const remoteRenderingAccount: OperationParameter = {
|
|
156
157
|
parameterPath: "remoteRenderingAccount",
|
157
158
|
mapper: RemoteRenderingAccountMapper
|
158
159
|
};
|
160
|
+
|
161
|
+
export const objectAnchorsAccount: OperationParameter = {
|
162
|
+
parameterPath: "objectAnchorsAccount",
|
163
|
+
mapper: ObjectAnchorsAccountMapper
|
164
|
+
};
|
package/src/operations/index.ts
CHANGED