-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new-generator-for-compute-track2 (#18822)
* new-generator-for-compute-track2 * update * update recording * new tools&generator * update package.json * regenerate
- Loading branch information
Showing
70 changed files
with
4,331 additions
and
5,157 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,97 +1,11 @@ | ||
## Release History | ||
|
||
### 17.0.0-beta.3 (Unreleased) | ||
|
||
#### Features Added | ||
|
||
#### Breaking Changes | ||
|
||
#### Bugs Fixed | ||
|
||
#### Other Changes | ||
|
||
### 17.0.0-beta.2 (2021-10-18) | ||
|
||
**Features** | ||
|
||
- Added operation group CommunityGalleries | ||
- Added operation group CommunityGalleryImages | ||
- Added operation group CommunityGalleryImageVersions | ||
- Added Interface CommunityGalleriesGetOptionalParams | ||
- Added Interface CommunityGalleryImagesGetOptionalParams | ||
- Added Interface CommunityGalleryImageVersionsGetOptionalParams | ||
- Added Interface DiskRestorePointGetOptionalParams | ||
- Added Interface DiskRestorePointGrantAccessOptionalParams | ||
- Added Interface DiskRestorePointListByRestorePointNextOptionalParams | ||
- Added Interface DiskRestorePointListByRestorePointOptionalParams | ||
- Added Interface DiskRestorePointRevokeAccessOptionalParams | ||
- Added Interface PirCommunityGalleryResource | ||
- Added Interface SupportedCapabilities | ||
- Added Interface UsageListNextOptionalParams | ||
- Added Interface UsageListOptionalParams | ||
- Added Type Alias CommunityGalleriesGetResponse | ||
- Added Type Alias CommunityGallery | ||
- Added Type Alias CommunityGalleryImage | ||
- Added Type Alias CommunityGalleryImagesGetResponse | ||
- Added Type Alias CommunityGalleryImageVersion | ||
- Added Type Alias CommunityGalleryImageVersionsGetResponse | ||
- Added Type Alias DiskRestorePointGetResponse | ||
- Added Type Alias DiskRestorePointGrantAccessResponse | ||
- Added Type Alias DiskRestorePointListByRestorePointNextResponse | ||
- Added Type Alias DiskRestorePointListByRestorePointResponse | ||
- Added Type Alias Image | ||
- Added Type Alias PublicNetworkAccess | ||
- Added Type Alias UsageListNextResponse | ||
- Added Type Alias UsageListResponse | ||
- Interface DiskUpdate has a new optional parameter publicNetworkAccess | ||
- Interface DiskUpdate has a new optional parameter supportedCapabilities | ||
- Interface SnapshotUpdate has a new optional parameter publicNetworkAccess | ||
- Class ComputeManagementClient has a new parameter communityGalleries | ||
- Class ComputeManagementClient has a new parameter communityGalleryImages | ||
- Class ComputeManagementClient has a new parameter communityGalleryImageVersions | ||
- Type Alias Disk has a new parameter supportedCapabilities | ||
- Type Alias Disk has a new parameter completionPercent | ||
- Type Alias Disk has a new parameter publicNetworkAccess | ||
- Type Alias DiskAccess has a new parameter extendedLocation | ||
- Type Alias DiskEncryptionSet has a new parameter autoKeyRotationError | ||
- Type Alias DiskRestorePoint has a new parameter supportedCapabilities | ||
- Type Alias DiskRestorePoint has a new parameter networkAccessPolicy | ||
- Type Alias DiskRestorePoint has a new parameter publicNetworkAccess | ||
- Type Alias DiskRestorePoint has a new parameter diskAccessId | ||
- Type Alias DiskRestorePoint has a new parameter completionPercent | ||
- Type Alias Snapshot has a new parameter supportedCapabilities | ||
- Type Alias Snapshot has a new parameter publicNetworkAccess | ||
- Type Alias Snapshot has a new parameter completionPercent | ||
- Added Enum KnownPublicNetworkAccess | ||
- Enum KnownDiskCreateOption has a new value CopyStart | ||
- Enum KnownDiskState has a new value ActiveSASFrozen | ||
- Enum KnownDiskState has a new value Frozen | ||
|
||
**Breaking Changes** | ||
|
||
- Operation DiskRestorePointOperations.beginGrantAccess has a new signature | ||
- Operation DiskRestorePointOperations.beginGrantAccessAndWait has a new signature | ||
- Operation DiskRestorePointOperations.beginRevokeAccess has a new signature | ||
- Operation DiskRestorePointOperations.beginRevokeAccessAndWait has a new signature | ||
- Operation DiskRestorePointOperations.get has a new signature | ||
- Operation DiskRestorePointOperations.listByRestorePoint has a new signature | ||
- Operation Images.beginCreateOrUpdate has a new signature | ||
- Operation Images.beginCreateOrUpdateAndWait has a new signature | ||
- Operation UsageOperations.list has a new signature | ||
|
||
# Release History | ||
|
||
## 17.0.0 (2021-12-07) | ||
|
||
### 17.0.0-beta.1 (2021-10-09) | ||
|
||
This is the first preview for the new version of the `@azure/arm-compute` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services. | ||
The package of @azure/arm-compute is using our next generation design principles since version 17.0.0, which contains breaking changes. | ||
|
||
While this package remains auto generated, the SDK generator itself has undergone changes to comply with the above guidelines in order to generate packages that are idiomatic to the JavaScript/TypeScript ecosystem and consistent with other packages for Azure services. For more on this, please see [State of the Azure SDK 2021](https://devblogs.microsoft.com/azure-sdk/state-of-the-azure-sdk-2021/). | ||
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog). | ||
|
||
Please note that this version has breaking changes, all of which were made after careful consideration during the authoring of the guidelines and user studies. | ||
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide). | ||
|
||
**Noteworthy changes and features** | ||
- Authentication: The packages `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported. Use package [@azure/identity](https://www.npmjs.com/package/@azure/identity) instead. Select a credential from Azure Identity examples based on the authentication method of your choice. | ||
- Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead. | ||
- List operations now return an iterable result that follows the `PagedAsyncIterableIterator` interface as opposed to the previous model where you had to make a new request using the link to the next page. | ||
- Long running operations i.e. the methods whose names started with `begin` now return a poller object that gives you a better control over the operation. To get the final result like before use the corresponding method that will have the suffix `AndWait`. | ||
- The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6. | ||
To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"commit": "62ec79080af0d0d609650d67155ef4a93ae11482", | ||
"commit": "a42f1b58607091c4f255ead152a8ef323fa0b280", | ||
"readme": "specification/compute/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/compute/resource-manager/readme.md --use=@autorest/[email protected]beta.13", | ||
"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/compute/resource-manager/readme.md --use=@autorest/[email protected]alpha.16.20211130.1", | ||
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git", | ||
"use": "@autorest/[email protected]beta.13" | ||
"use": "@autorest/[email protected]alpha.16.20211130.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 20 additions & 20 deletions
40
...ompute/arm-compute/recordings/node/compute_test/recording_availabilitysets_create_test.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.