Skip to content

Commit d6d37db

Browse files
author
SDKAuto
committed
CodeGen from PR 18603 in Azure/azure-rest-api-specs
Merge 591dfb6d4e3b34195990b5854d3170d38d2c3eac into 3439439b760e84e5dcc3e68edde7251c602da5f0
1 parent 77c68f6 commit d6d37db

17 files changed

+1071
-46
lines changed

sdk/mixedreality/arm-mixedreality/CHANGELOG.md

+30
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# Release History
2+
3+
## 4.1.0-beta.1 (2022-04-21)
4+
5+
**Features**
26

7+
- Added operation group ObjectAnchorsAccounts
8+
- Added Interface ObjectAnchorsAccountPage
9+
- Added Interface ObjectAnchorsAccountsCreateOptionalParams
10+
- Added Interface ObjectAnchorsAccountsDeleteOptionalParams
11+
- Added Interface ObjectAnchorsAccountsGetOptionalParams
12+
- Added Interface ObjectAnchorsAccountsListByResourceGroupNextOptionalParams
13+
- Added Interface ObjectAnchorsAccountsListByResourceGroupOptionalParams
14+
- Added Interface ObjectAnchorsAccountsListBySubscriptionNextOptionalParams
15+
- Added Interface ObjectAnchorsAccountsListBySubscriptionOptionalParams
16+
- Added Interface ObjectAnchorsAccountsListKeysOptionalParams
17+
- Added Interface ObjectAnchorsAccountsRegenerateKeysOptionalParams
18+
- Added Interface ObjectAnchorsAccountsUpdateOptionalParams
19+
- Added Type Alias ObjectAnchorsAccount
20+
- Added Type Alias ObjectAnchorsAccountIdentity
21+
- Added Type Alias ObjectAnchorsAccountsCreateResponse
22+
- Added Type Alias ObjectAnchorsAccountsGetResponse
23+
- Added Type Alias ObjectAnchorsAccountsListByResourceGroupNextResponse
24+
- Added Type Alias ObjectAnchorsAccountsListByResourceGroupResponse
25+
- Added Type Alias ObjectAnchorsAccountsListBySubscriptionNextResponse
26+
- Added Type Alias ObjectAnchorsAccountsListBySubscriptionResponse
27+
- Added Type Alias ObjectAnchorsAccountsListKeysResponse
28+
- Added Type Alias ObjectAnchorsAccountsRegenerateKeysResponse
29+
- Added Type Alias ObjectAnchorsAccountsUpdateResponse
30+
- Interface MetricDimension has a new optional parameter toBeExportedForShoebox
31+
- Class MixedRealityClient has a new parameter objectAnchorsAccounts
32+
333
## 4.0.1 (2022-01-20)
434

535
**Feature**

sdk/mixedreality/arm-mixedreality/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Mixed Reality Client
66

77
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/arm-mixedreality) |
88
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-mixedreality) |
9-
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-mixedreality) |
9+
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-mixedreality?view=azure-node-preview) |
1010
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
1111

1212
## Getting started
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
2-
"commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb",
2+
"commit": "5d11d1154ee96a9233a38d6bf0013b97f172c806",
33
"readme": "specification/mixedreality/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/mixedreality/resource-manager/readme.md --use=@autorest/[email protected].20220114.1 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/mixedreality/resource-manager/readme.md --use=@autorest/[email protected].20220105.1",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"use": "@autorest/[email protected]"
6+
"release_tool": "@azure-tools/[email protected]",
7+
"use": "@autorest/[email protected]"
78
}
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
33
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
4-
"docModel": { "enabled": true },
5-
"apiReport": { "enabled": true, "reportFolder": "./review" },
4+
"docModel": {
5+
"enabled": true
6+
},
7+
"apiReport": {
8+
"enabled": true,
9+
"reportFolder": "./review"
10+
},
611
"dtsRollup": {
712
"enabled": true,
813
"untrimmedFilePath": "",
914
"publicTrimmedFilePath": "./types/arm-mixedreality.d.ts"
1015
},
1116
"messages": {
12-
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
17+
"tsdocMessageReporting": {
18+
"default": {
19+
"logLevel": "none"
20+
}
21+
},
1322
"extractorMessageReporting": {
14-
"ae-missing-release-tag": { "logLevel": "none" },
15-
"ae-unresolved-link": { "logLevel": "none" }
23+
"ae-missing-release-tag": {
24+
"logLevel": "none"
25+
},
26+
"ae-unresolved-link": {
27+
"logLevel": "none"
28+
}
1629
}
1730
}
18-
}
31+
}

sdk/mixedreality/arm-mixedreality/package.json

+4-20
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for MixedRealityClient.",
6-
"version": "4.0.1",
6+
"version": "4.1.0-beta.1",
77
"engines": {
88
"node": ">=12.0.0"
99
},
@@ -26,7 +26,7 @@
2626
"module": "./dist-esm/src/index.js",
2727
"types": "./types/arm-mixedreality.d.ts",
2828
"devDependencies": {
29-
"@microsoft/api-extractor": "7.18.11",
29+
"@microsoft/api-extractor": "^7.18.11",
3030
"@rollup/plugin-commonjs": "11.0.2",
3131
"@rollup/plugin-json": "^4.0.0",
3232
"@rollup/plugin-multi-entry": "^3.0.0",
@@ -96,21 +96,5 @@
9696
"docs": "echo skipped"
9797
},
9898
"sideEffects": false,
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-
}
116-
}
99+
"autoPublish": true
100+
}

sdk/mixedreality/arm-mixedreality/review/arm-mixedreality.api.md

+103
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export interface MetricDimension {
9494
displayName?: string;
9595
internalName?: string;
9696
name?: string;
97+
toBeExportedForShoebox?: boolean;
9798
}
9899

99100
// @public
@@ -125,6 +126,8 @@ export class MixedRealityClient extends coreClient.ServiceClient {
125126
apiVersion: string;
126127
checkNameAvailabilityLocal(location: string, checkNameAvailability: CheckNameAvailabilityRequest, options?: CheckNameAvailabilityLocalOptionalParams): Promise<CheckNameAvailabilityLocalResponse>;
127128
// (undocumented)
129+
objectAnchorsAccounts: ObjectAnchorsAccounts;
130+
// (undocumented)
128131
operations: Operations;
129132
// (undocumented)
130133
remoteRenderingAccounts: RemoteRenderingAccounts;
@@ -144,6 +147,106 @@ export interface MixedRealityClientOptionalParams extends coreClient.ServiceClie
144147
// @public
145148
export type NameUnavailableReason = string;
146149

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+
147250
// @public
148251
export interface Operation {
149252
display?: OperationDisplay;

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

+8-4
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ import * as coreAuth from "@azure/core-auth";
1111
import {
1212
OperationsImpl,
1313
SpatialAnchorsAccountsImpl,
14-
RemoteRenderingAccountsImpl
14+
RemoteRenderingAccountsImpl,
15+
ObjectAnchorsAccountsImpl
1516
} from "./operations";
1617
import {
1718
Operations,
1819
SpatialAnchorsAccounts,
19-
RemoteRenderingAccounts
20+
RemoteRenderingAccounts,
21+
ObjectAnchorsAccounts
2022
} from "./operationsInterfaces";
2123
import * as Parameters from "./models/parameters";
2224
import * as Mappers from "./models/mappers";
@@ -60,7 +62,7 @@ export class MixedRealityClient extends coreClient.ServiceClient {
6062
credential: credentials
6163
};
6264

63-
const packageDetails = `azsdk-js-arm-mixedreality/4.0.1`;
65+
const packageDetails = `azsdk-js-arm-mixedreality/4.1.0-beta.1`;
6466
const userAgentPrefix =
6567
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
6668
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -83,10 +85,11 @@ export class MixedRealityClient extends coreClient.ServiceClient {
8385

8486
// Assigning values to Constant parameters
8587
this.$host = options.$host || "https://management.azure.com";
86-
this.apiVersion = options.apiVersion || "2021-01-01";
88+
this.apiVersion = options.apiVersion || "2021-03-01-preview";
8789
this.operations = new OperationsImpl(this);
8890
this.spatialAnchorsAccounts = new SpatialAnchorsAccountsImpl(this);
8991
this.remoteRenderingAccounts = new RemoteRenderingAccountsImpl(this);
92+
this.objectAnchorsAccounts = new ObjectAnchorsAccountsImpl(this);
9093
}
9194

9295
/**
@@ -109,6 +112,7 @@ export class MixedRealityClient extends coreClient.ServiceClient {
109112
operations: Operations;
110113
spatialAnchorsAccounts: SpatialAnchorsAccounts;
111114
remoteRenderingAccounts: RemoteRenderingAccounts;
115+
objectAnchorsAccounts: ObjectAnchorsAccounts;
112116
}
113117
// Operation Specifications
114118
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);

0 commit comments

Comments
 (0)