Skip to content

Commit

Permalink
digitalwins-release (Azure#20616)
Browse files Browse the repository at this point in the history
  • Loading branch information
colawwj authored Mar 7, 2022
1 parent 4efd527 commit f1f6bf9
Show file tree
Hide file tree
Showing 93 changed files with 5,063 additions and 172 deletions.
15 changes: 8 additions & 7 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 36 additions & 11 deletions sdk/digitaltwins/arm-digitaltwins/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,40 @@
# Release History

## 3.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes


## 3.1.0-beta.1 (2022-03-02)

**Features**

- Added operation group TimeSeriesDatabaseConnections
- Added Interface GroupIdInformationProperties
- Added Interface SystemData
- Added Interface TimeSeriesDatabaseConnectionListResult
- Added Interface TimeSeriesDatabaseConnectionProperties
- Added Interface TimeSeriesDatabaseConnectionsCreateOrUpdateOptionalParams
- Added Interface TimeSeriesDatabaseConnectionsDeleteOptionalParams
- Added Interface TimeSeriesDatabaseConnectionsGetOptionalParams
- Added Interface TimeSeriesDatabaseConnectionsListNextOptionalParams
- Added Interface TimeSeriesDatabaseConnectionsListOptionalParams
- Added Type Alias AzureDataExplorerConnectionProperties
- Added Type Alias ConnectionType_2
- Added Type Alias CreatedByType
- Added Type Alias TimeSeriesDatabaseConnection
- Added Type Alias TimeSeriesDatabaseConnectionPropertiesUnion
- Added Type Alias TimeSeriesDatabaseConnectionsCreateOrUpdateResponse
- Added Type Alias TimeSeriesDatabaseConnectionsDeleteResponse
- Added Type Alias TimeSeriesDatabaseConnectionsGetResponse
- Added Type Alias TimeSeriesDatabaseConnectionsListNextResponse
- Added Type Alias TimeSeriesDatabaseConnectionsListResponse
- Added Type Alias TimeSeriesDatabaseConnectionState
- Interface DigitalTwinsResource has a new optional parameter systemData
- Interface ExternalResource has a new optional parameter systemData
- Interface Operation has a new optional parameter properties
- Interface PrivateEndpointConnection has a new optional parameter systemData
- Class AzureDigitalTwinsManagementClient has a new parameter timeSeriesDatabaseConnections
- Added Enum KnownConnectionType
- Added Enum KnownCreatedByType
- Added Enum KnownTimeSeriesDatabaseConnectionState


## 3.0.0 (2022-01-13)

The package of @azure/arm-digitaltwins is using our next generation design principles since version 3.0.0, which contains breaking changes.
Expand Down
13 changes: 12 additions & 1 deletion sdk/digitaltwins/arm-digitaltwins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Azure Digital Twins Client for managing DigitalTwinsInstance

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

## Getting started
Expand All @@ -16,6 +16,8 @@ Azure Digital Twins Client for managing DigitalTwinsInstance
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
- Latest versions of Safari, Chrome, Edge and Firefox.

See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.

### Prerequisites

- An [Azure subscription][azure_sub].
Expand Down Expand Up @@ -49,8 +51,17 @@ For more information about how to create an Azure AD Application check out [this
```javascript
const { AzureDigitalTwinsManagementClient } = require("@azure/arm-digitaltwins");
const { DefaultAzureCredential } = require("@azure/identity");
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new AzureDigitalTwinsManagementClient(new DefaultAzureCredential(), subscriptionId);

// For client-side applications running in the browser, use this code instead:
// const credential = new InteractiveBrowserCredential({
// tenantId: "<YOUR_TENANT_ID>",
// clientId: "<YOUR_CLIENT_ID>"
// });
// const client = new AzureDigitalTwinsManagementClient(credential, subscriptionId);
```


Expand Down
8 changes: 4 additions & 4 deletions sdk/digitaltwins/arm-digitaltwins/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "1f1d5b0b9ce6cc94605b2fd619dce374fb6e033a",
"commit": "4042a47cff72c950d35dd72149895b044ed79713",
"readme": "specification/digitaltwins/resource-manager/readme.md",
"autorest_command": "autorest --version=3.1.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/devspaces/resource-manager/readme.md --use=@autorest/[email protected]alpha.16.20211217.1",
"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\\digitaltwins\\resource-manager\\readme.md --use=@autorest/[email protected]beta.16 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected]alpha.16.20211217.1"
}
"use": "@autorest/[email protected]beta.16"
}
25 changes: 19 additions & 6 deletions sdk/digitaltwins/arm-digitaltwins/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-digitaltwins.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"
}
}
}
}
}
32 changes: 24 additions & 8 deletions sdk/digitaltwins/arm-digitaltwins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for AzureDigitalTwinsManagementClient.",
"version": "3.0.1",
"version": "3.1.0-beta.1",
"engines": {
"node": ">=12.0.0"
},
Expand All @@ -29,13 +29,13 @@
"types": "./types/arm-digitaltwins.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.18.11",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-multi-entry": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"mkdirp": "^1.0.4",
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
Expand Down Expand Up @@ -98,5 +98,21 @@
"docs": "echo skipped"
},
"sideEffects": false,
"autoPublish": true
"//metadata": {
"constantPaths": [
{
"path": "src/azureDigitalTwinsManagementClient.ts",
"prefix": "packageDetails"
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-digitaltwins?view=azure-node-preview"
}
}
Loading

0 comments on commit f1f6bf9

Please sign in to comment.