Skip to content

Commit

Permalink
CodeGen from PR 18603 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 591dfb6d4e3b34195990b5854d3170d38d2c3eac into e7d2d8c48cf6f8f63de7e252c467930449b5fd88
  • Loading branch information
SDKAuto committed Apr 7, 2022
1 parent aa44f0a commit 2922241
Show file tree
Hide file tree
Showing 17 changed files with 1,083 additions and 43 deletions.
30 changes: 30 additions & 0 deletions sdk/mixedreality/arm-mixedreality/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Release History

## 4.1.0-beta.1 (2022-04-07)

**Features**

- Added operation group ObjectAnchorsAccounts
- Added Interface ObjectAnchorsAccountPage
- Added Interface ObjectAnchorsAccountsCreateOptionalParams
- Added Interface ObjectAnchorsAccountsDeleteOptionalParams
- Added Interface ObjectAnchorsAccountsGetOptionalParams
- Added Interface ObjectAnchorsAccountsListByResourceGroupNextOptionalParams
- Added Interface ObjectAnchorsAccountsListByResourceGroupOptionalParams
- Added Interface ObjectAnchorsAccountsListBySubscriptionNextOptionalParams
- Added Interface ObjectAnchorsAccountsListBySubscriptionOptionalParams
- Added Interface ObjectAnchorsAccountsListKeysOptionalParams
- Added Interface ObjectAnchorsAccountsRegenerateKeysOptionalParams
- Added Interface ObjectAnchorsAccountsUpdateOptionalParams
- Added Type Alias ObjectAnchorsAccount
- Added Type Alias ObjectAnchorsAccountIdentity
- Added Type Alias ObjectAnchorsAccountsCreateResponse
- Added Type Alias ObjectAnchorsAccountsGetResponse
- Added Type Alias ObjectAnchorsAccountsListByResourceGroupNextResponse
- Added Type Alias ObjectAnchorsAccountsListByResourceGroupResponse
- Added Type Alias ObjectAnchorsAccountsListBySubscriptionNextResponse
- Added Type Alias ObjectAnchorsAccountsListBySubscriptionResponse
- Added Type Alias ObjectAnchorsAccountsListKeysResponse
- Added Type Alias ObjectAnchorsAccountsRegenerateKeysResponse
- Added Type Alias ObjectAnchorsAccountsUpdateResponse
- Interface MetricDimension has a new optional parameter toBeExportedForShoebox
- Class MixedRealityClient has a new parameter objectAnchorsAccounts

## 4.0.1 (2022-01-20)

**Feature**
Expand Down
2 changes: 1 addition & 1 deletion sdk/mixedreality/arm-mixedreality/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Mixed Reality Client

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

## Getting started
Expand Down
7 changes: 4 additions & 3 deletions sdk/mixedreality/arm-mixedreality/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb",
"commit": "2f4725dcdcea4c1e93436ff2c86a739caaded9d5",
"readme": "specification/mixedreality/resource-manager/readme.md",
"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",
"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",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected]"
"release_tool": "@azure-tools/[email protected]",
"use": "@autorest/[email protected]"
}
25 changes: 19 additions & 6 deletions sdk/mixedreality/arm-mixedreality/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/arm-mixedreality.d.ts"
},
"messages": {
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": { "logLevel": "none" },
"ae-unresolved-link": { "logLevel": "none" }
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
}
33 changes: 16 additions & 17 deletions sdk/mixedreality/arm-mixedreality/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,24 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for MixedRealityClient.",
"version": "4.0.1",
"engines": { "node": ">=12.0.0" },
"version": "4.1.0-beta.1",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.0.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"keywords": [
"node",
"azure",
"typescript",
"browser",
"isomorphic"
],
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand All @@ -39,7 +47,9 @@
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
Expand Down Expand Up @@ -86,16 +96,5 @@
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{ "path": "src/MixedRealityClient.ts", "prefix": "packageDetails" }
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": ["azure"],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-mixedreality?view=azure-node-preview"
}
}
"autoPublish": true
}
103 changes: 103 additions & 0 deletions sdk/mixedreality/arm-mixedreality/review/arm-mixedreality.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export interface MetricDimension {
displayName?: string;
internalName?: string;
name?: string;
toBeExportedForShoebox?: boolean;
}

// @public
Expand Down Expand Up @@ -125,6 +126,8 @@ export class MixedRealityClient extends coreClient.ServiceClient {
apiVersion: string;
checkNameAvailabilityLocal(location: string, checkNameAvailability: CheckNameAvailabilityRequest, options?: CheckNameAvailabilityLocalOptionalParams): Promise<CheckNameAvailabilityLocalResponse>;
// (undocumented)
objectAnchorsAccounts: ObjectAnchorsAccounts;
// (undocumented)
operations: Operations;
// (undocumented)
remoteRenderingAccounts: RemoteRenderingAccounts;
Expand All @@ -144,6 +147,106 @@ export interface MixedRealityClientOptionalParams extends coreClient.ServiceClie
// @public
export type NameUnavailableReason = string;

// @public
export type ObjectAnchorsAccount = TrackedResource & {
identity?: ObjectAnchorsAccountIdentity;
plan?: Identity;
sku?: Sku;
kind?: Sku;
readonly systemData?: SystemData;
storageAccountName?: string;
readonly accountId?: string;
readonly accountDomain?: string;
};

// @public (undocumented)
export type ObjectAnchorsAccountIdentity = Identity & {};

// @public
export interface ObjectAnchorsAccountPage {
nextLink?: string;
value?: ObjectAnchorsAccount[];
}

// @public
export interface ObjectAnchorsAccounts {
create(resourceGroupName: string, accountName: string, objectAnchorsAccount: ObjectAnchorsAccount, options?: ObjectAnchorsAccountsCreateOptionalParams): Promise<ObjectAnchorsAccountsCreateResponse>;
delete(resourceGroupName: string, accountName: string, options?: ObjectAnchorsAccountsDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, accountName: string, options?: ObjectAnchorsAccountsGetOptionalParams): Promise<ObjectAnchorsAccountsGetResponse>;
listByResourceGroup(resourceGroupName: string, options?: ObjectAnchorsAccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ObjectAnchorsAccount>;
listBySubscription(options?: ObjectAnchorsAccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ObjectAnchorsAccount>;
listKeys(resourceGroupName: string, accountName: string, options?: ObjectAnchorsAccountsListKeysOptionalParams): Promise<ObjectAnchorsAccountsListKeysResponse>;
regenerateKeys(resourceGroupName: string, accountName: string, regenerate: AccountKeyRegenerateRequest, options?: ObjectAnchorsAccountsRegenerateKeysOptionalParams): Promise<ObjectAnchorsAccountsRegenerateKeysResponse>;
update(resourceGroupName: string, accountName: string, objectAnchorsAccount: ObjectAnchorsAccount, options?: ObjectAnchorsAccountsUpdateOptionalParams): Promise<ObjectAnchorsAccountsUpdateResponse>;
}

// @public
export interface ObjectAnchorsAccountsCreateOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ObjectAnchorsAccountsCreateResponse = ObjectAnchorsAccount;

// @public
export interface ObjectAnchorsAccountsDeleteOptionalParams extends coreClient.OperationOptions {
}

// @public
export interface ObjectAnchorsAccountsGetOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ObjectAnchorsAccountsGetResponse = ObjectAnchorsAccount;

// @public
export interface ObjectAnchorsAccountsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ObjectAnchorsAccountsListByResourceGroupNextResponse = ObjectAnchorsAccountPage;

// @public
export interface ObjectAnchorsAccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ObjectAnchorsAccountsListByResourceGroupResponse = ObjectAnchorsAccountPage;

// @public
export interface ObjectAnchorsAccountsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ObjectAnchorsAccountsListBySubscriptionNextResponse = ObjectAnchorsAccountPage;

// @public
export interface ObjectAnchorsAccountsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ObjectAnchorsAccountsListBySubscriptionResponse = ObjectAnchorsAccountPage;

// @public
export interface ObjectAnchorsAccountsListKeysOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ObjectAnchorsAccountsListKeysResponse = AccountKeys;

// @public
export interface ObjectAnchorsAccountsRegenerateKeysOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ObjectAnchorsAccountsRegenerateKeysResponse = AccountKeys;

// @public
export interface ObjectAnchorsAccountsUpdateOptionalParams extends coreClient.OperationOptions {
}

// @public
export type ObjectAnchorsAccountsUpdateResponse = ObjectAnchorsAccount;

// @public
export interface Operation {
display?: OperationDisplay;
Expand Down
12 changes: 8 additions & 4 deletions sdk/mixedreality/arm-mixedreality/src/mixedRealityClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ import * as coreAuth from "@azure/core-auth";
import {
OperationsImpl,
SpatialAnchorsAccountsImpl,
RemoteRenderingAccountsImpl
RemoteRenderingAccountsImpl,
ObjectAnchorsAccountsImpl
} from "./operations";
import {
Operations,
SpatialAnchorsAccounts,
RemoteRenderingAccounts
RemoteRenderingAccounts,
ObjectAnchorsAccounts
} from "./operationsInterfaces";
import * as Parameters from "./models/parameters";
import * as Mappers from "./models/mappers";
Expand Down Expand Up @@ -60,7 +62,7 @@ export class MixedRealityClient extends coreClient.ServiceClient {
credential: credentials
};

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

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2021-01-01";
this.apiVersion = options.apiVersion || "2021-03-01-preview";
this.operations = new OperationsImpl(this);
this.spatialAnchorsAccounts = new SpatialAnchorsAccountsImpl(this);
this.remoteRenderingAccounts = new RemoteRenderingAccountsImpl(this);
this.objectAnchorsAccounts = new ObjectAnchorsAccountsImpl(this);
}

/**
Expand All @@ -109,6 +112,7 @@ export class MixedRealityClient extends coreClient.ServiceClient {
operations: Operations;
spatialAnchorsAccounts: SpatialAnchorsAccounts;
remoteRenderingAccounts: RemoteRenderingAccounts;
objectAnchorsAccounts: ObjectAnchorsAccounts;
}
// Operation Specifications
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
Expand Down
Loading

0 comments on commit 2922241

Please sign in to comment.