Skip to content

Commit

Permalink
CodeGen from PR 18609 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge f830443fc02f57330ea9dc27a37e9f4bc6ca8010 into 50d1185cc9f4ac7f8fee0adfd5fac3e0ac8a2f3e
  • Loading branch information
SDKAuto committed Apr 7, 2022
1 parent 768fc35 commit 9f8f2d4
Show file tree
Hide file tree
Showing 62 changed files with 12,215 additions and 12,387 deletions.
35 changes: 25 additions & 10 deletions common/config/rush/pnpm-lock.yaml

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

36 changes: 26 additions & 10 deletions sdk/compute/arm-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
# Release History

## 18.0.0 (2022-04-07)

**Features**

## 17.3.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface DedicatedHostGroupPropertiesAdditionalCapabilities
- Added Interface UserArtifactSettings
- Interface VMGalleryApplication has a new optional parameter enableAutomaticUpgrade
- Interface VMGalleryApplication has a new optional parameter treatFailureAsDeploymentFailure
- Type Alias DedicatedHostGroup has a new parameter additionalCapabilities
- Type Alias DedicatedHostGroupUpdate has a new parameter additionalCapabilities
- Type Alias GalleryApplicationVersionPublishingProfile has a new parameter settings

**Breaking Changes**

- Interface DiskUpdate no longer has parameter dataAccessAuthMode
- Interface SnapshotUpdate no longer has parameter dataAccessAuthMode
- Interface SupportedCapabilities no longer has parameter architecture
- Type Alias Disk no longer has parameter dataAccessAuthMode
- Type Alias GalleryImage no longer has parameter architecture
- Type Alias GalleryImageUpdate no longer has parameter architecture
- Type Alias Snapshot no longer has parameter dataAccessAuthMode
- Type Alias VirtualMachineImage no longer has parameter architecture
- Removed Enum KnownArchitecture
- Removed Enum KnownArchitectureTypes
- Removed Enum KnownDataAccessAuthMode

## 17.3.1 (2022-04-06)

**features**
Expand Down
11 changes: 0 additions & 11 deletions sdk/compute/arm-compute/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ Compute Client
- [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 { ComputeManagementClient } = require("@azure/arm-compute");
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 ComputeManagementClient(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 ComputeManagementClient(credential, subscriptionId);
```


Expand Down
10 changes: 5 additions & 5 deletions sdk/compute/arm-compute/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "b8cae07c799a07f2e779a9e301f639e9b85124b1",
"readme": "specification\\apimanagement\\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\\apimanagement\\resource-manager\\readme.md --use=@autorest/[email protected].18.20220329.1",
"commit": "63aefc6a2c44dcdf281a67649d14c9712d93f74b",
"readme": "specification/compute/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/compute/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/[email protected].1",
"use": "@autorest/[email protected].18.20220329.1"
"release_tool": "@azure-tools/[email protected].6",
"use": "@autorest/[email protected].16.20220105.1"
}
37 changes: 10 additions & 27 deletions sdk/compute/arm-compute/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 ComputeManagementClient.",
"version": "17.3.2",
"version": "18.0.0",
"engines": {
"node": ">=12.0.0"
},
Expand All @@ -29,21 +29,20 @@
"types": "./types/arm-compute.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.18.11",
"@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",
"@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",
"mkdirp": "^1.0.4",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2",
"@azure/arm-network": "^26.0.0"
"cross-env": "^7.0.2"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute",
"repository": {
Expand Down Expand Up @@ -99,21 +98,5 @@
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{
"path": "src/computeManagementClient.ts",
"prefix": "packageDetails"
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-compute?view=azure-node-preview"
}
}
"autoPublish": true
}
Loading

0 comments on commit 9f8f2d4

Please sign in to comment.