Skip to content

Commit

Permalink
Refresh 11 (#21580)
Browse files Browse the repository at this point in the history
* machinelearning

* refresh-11

* update sample-dev

* update

* update

* update
  • Loading branch information
colawwj authored Apr 27, 2022
1 parent 73b744f commit 2b73b25
Show file tree
Hide file tree
Showing 415 changed files with 14,555 additions and 1,112 deletions.
114 changes: 61 additions & 53 deletions common/config/rush/pnpm-lock.yaml

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

4 changes: 2 additions & 2 deletions sdk/machinelearning/arm-commitmentplans/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Release History

## 2.0.0-beta.1 (2022-01-19)
## 2.0.0-beta.2 (2022-04-24)

The package of @azure/arm-commitmentplans is using our next generation design principles since version 2.0.0-beta.1, which contains breaking changes.
The package of @azure/arm-commitmentplans is using our next generation design principles since version 2.0.0-beta.2, which contains breaking changes.

To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).

Expand Down
21 changes: 0 additions & 21 deletions sdk/machinelearning/arm-commitmentplans/LICENSE.txt

This file was deleted.

11 changes: 11 additions & 0 deletions sdk/machinelearning/arm-commitmentplans/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ These APIs allow end users to operate on Azure Machine Learning Commitment Plans
- [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 { AzureMLCommitmentPlansManagementClient } = require("@azure/arm-commitmentplans");
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 AzureMLCommitmentPlansManagementClient(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 AzureMLCommitmentPlansManagementClient(credential, subscriptionId);
```


Expand Down
9 changes: 5 additions & 4 deletions sdk/machinelearning/arm-commitmentplans/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"commit": "1b0a465061c68175898f8f5d27f0301f42ce994c",
"readme": "specification/machinelearning/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/iotspaces/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220114.1 --generate-sample=true",
"readme": "specification\\machinelearning\\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:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\machinelearning\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/typescript@6.0.0-alpha.16.20220114.1"
}
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.6",
"use": "@autorest/typescript@6.0.0-alpha.19.20220408.1"
}
25 changes: 19 additions & 6 deletions sdk/machinelearning/arm-commitmentplans/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-commitmentplans.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"
}
}
}
}
}
Loading

0 comments on commit 2b73b25

Please sign in to comment.