Skip to content

Commit

Permalink
CodeGen from PR 18745 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Introduce stable version of Microsoft.Resources/changes (Azure#18745)

* Create 2022-05-01

* Delete 2022-05-01

* Create changes.json

* Create GetChange.json

* Create ListChanges.json

* Update readme.md

* Update changes.json

* Update readme.md

* Update readme.md

* Update readme.md

* Update readme.md

* Update readme.md

* Update readme.md
  • Loading branch information
SDKAuto committed Apr 21, 2022
1 parent c76126f commit aea5ecc
Show file tree
Hide file tree
Showing 9 changed files with 204 additions and 159 deletions.
136 changes: 64 additions & 72 deletions common/config/rush/pnpm-lock.yaml

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

3 changes: 1 addition & 2 deletions sdk/locks/arm-locks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 2.1.0 (2022-04-18)
## 2.1.0 (2022-04-21)

**Features**

Expand All @@ -11,7 +11,6 @@
- Added Type Alias CreatedByType
- Interface ManagementLockObject has a new optional parameter systemData
- Added Enum KnownCreatedByType
- Bug fix


## 2.0.0 (2021-12-07)
Expand Down
11 changes: 0 additions & 11 deletions sdk/locks/arm-locks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ Azure resources can be locked to prevent other users in your organization from d
- [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 @@ -51,17 +49,8 @@ For more information about how to create an Azure AD Application check out [this
```javascript
const { ManagementLockClient } = require("@azure/arm-locks");
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 ManagementLockClient(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 ManagementLockClient(credential, subscriptionId);
```


Expand Down
10 changes: 5 additions & 5 deletions sdk/locks/arm-locks/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "a42f1b58607091c4f255ead152a8ef323fa0b280",
"readme": "specification\\resources\\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\\resources\\resource-manager\\readme.md --use=@autorest/[email protected].19.20220408.1 --generate-sample=true",
"commit": "c59f463024f4baa30d4e7a77a710a6f283bb900d",
"readme": "specification/resources/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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/resources/resource-manager/readme.md --use=@autorest/[email protected].16.20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.6",
"use": "@autorest/[email protected].19.20220408.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
"use": "@autorest/[email protected].16.20220105.1"
}
Loading

0 comments on commit aea5ecc

Please sign in to comment.