Skip to content

Commit

Permalink
CodeGen from PR 17988 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
ComputeRP 2022-03-01 REST API release (Azure#17988)

* new API version set up

* update mistakes

* move extended location to common

* update other readme files for sdk languages

* Adding UltraSSDcapability properties in dedicated host resource (Azure#18076)

* Added diffDiskSettings property as part of Swagger changes needed for Ephemeral VM\VMSS

* updated comment

* updated swagger specs for diffdisksettings property

* updated swagger spec comments  for diff disk settings [property

* added example to create Diff OS disk scaleset

* updated 2018-10-01 version specs with diffdisk property

* added example file for creating VM with diffdisksettings property

* updated swagger changes for reimage operation in single vm

* update examples

* udpated examples

* fixed validation errors

* updated comments for reimage operation documentation

* Updated examples and documentation for APIs in swagger

* updated examples as per review comments

* updated swagger documentation

* updated swagger documentation with zone details in the sku example

* updated swagger documentation and reverted the breaking changes

* updated examples as per swagger model

* updated swagger to remove the model validation errors for existing examples where we are passing read only parameter in the request

* updated swagger

* updated swagger

* Added new property in DiffDiskSettings

* updated swagger spec

* udpated swagger

* updated swagger spec

* updated code

* updated code

* udpated swagger

* updated code

* updated swagger documentation for DiffDiskPlacement

* updated code

* updated documentation

* updated code

* updated swagger

* updated swagger

* updated swagger

* updated code

* updated code

* updated example json

* updated swagger changes

* updated swagger

* Updating minor documentation for the changes checked in PR: 18076 (Azure#18528)

* Added diffDiskSettings property as part of Swagger changes needed for Ephemeral VM\VMSS

* updated comment

* updated swagger specs for diffdisksettings property

* updated swagger spec comments  for diff disk settings [property

* added example to create Diff OS disk scaleset

* updated 2018-10-01 version specs with diffdisk property

* added example file for creating VM with diffdisksettings property

* updated swagger changes for reimage operation in single vm

* update examples

* udpated examples

* fixed validation errors

* updated comments for reimage operation documentation

* Updated examples and documentation for APIs in swagger

* updated examples as per review comments

* updated swagger documentation

* updated swagger documentation with zone details in the sku example

* updated swagger documentation and reverted the breaking changes

* updated examples as per swagger model

* updated swagger to remove the model validation errors for existing examples where we are passing read only parameter in the request

* updated swagger

* updated swagger

* Added new property in DiffDiskSettings

* updated swagger spec

* udpated swagger

* updated swagger spec

* updated code

* updated code

* udpated swagger

* updated code

* updated swagger documentation for DiffDiskPlacement

* updated code

* updated documentation

* updated code

* updated swagger

* updated swagger

* updated swagger

* updated code

* updated code

* updated example json

* updated swagger changes

* updated swagger

* udpated swagger

* Merged the intent from origin (Azure#18159)

* fix naming convention error =s

* new API version set up

* update mistakes

* move extended location to common

* update other readme files for sdk languages

* Adding UltraSSDcapability properties in dedicated host resource (Azure#18076)

* Added diffDiskSettings property as part of Swagger changes needed for Ephemeral VM\VMSS

* updated comment

* updated swagger specs for diffdisksettings property

* updated swagger spec comments  for diff disk settings [property

* added example to create Diff OS disk scaleset

* updated 2018-10-01 version specs with diffdisk property

* added example file for creating VM with diffdisksettings property

* updated swagger changes for reimage operation in single vm

* update examples

* udpated examples

* fixed validation errors

* updated comments for reimage operation documentation

* Updated examples and documentation for APIs in swagger

* updated examples as per review comments

* updated swagger documentation

* updated swagger documentation with zone details in the sku example

* updated swagger documentation and reverted the breaking changes

* updated examples as per swagger model

* updated swagger to remove the model validation errors for existing examples where we are passing read only parameter in the request

* updated swagger

* updated swagger

* Added new property in DiffDiskSettings

* updated swagger spec

* udpated swagger

* updated swagger spec

* updated code

* updated code

* udpated swagger

* updated code

* updated swagger documentation for DiffDiskPlacement

* updated code

* updated documentation

* updated code

* updated swagger

* updated swagger

* updated swagger

* updated code

* updated code

* updated example json

* updated swagger changes

* updated swagger

* Updating minor documentation for the changes checked in PR: 18076 (Azure#18528)

* Added diffDiskSettings property as part of Swagger changes needed for Ephemeral VM\VMSS

* updated comment

* updated swagger specs for diffdisksettings property

* updated swagger spec comments  for diff disk settings [property

* added example to create Diff OS disk scaleset

* updated 2018-10-01 version specs with diffdisk property

* added example file for creating VM with diffdisksettings property

* updated swagger changes for reimage operation in single vm

* update examples

* udpated examples

* fixed validation errors

* updated comments for reimage operation documentation

* Updated examples and documentation for APIs in swagger

* updated examples as per review comments

* updated swagger documentation

* updated swagger documentation with zone details in the sku example

* updated swagger documentation and reverted the breaking changes

* updated examples as per swagger model

* updated swagger to remove the model validation errors for existing examples where we are passing read only parameter in the request

* updated swagger

* updated swagger

* Added new property in DiffDiskSettings

* updated swagger spec

* udpated swagger

* updated swagger spec

* updated code

* updated code

* udpated swagger

* updated code

* updated swagger documentation for DiffDiskPlacement

* updated code

* updated documentation

* updated code

* updated swagger

* updated swagger

* updated swagger

* updated code

* updated code

* updated example json

* updated swagger changes

* updated swagger

* udpated swagger

* Merged the intent from origin (Azure#18159)

* fix naming convention error =s

* fix issues from Azure/azure-rest-api-specs#18159

* Adding Identity to VirtualMachineScaleSetVM (Azure#18295)

* init

* PR comment

* [Crash Consistent RestorePoints] Making consistencyMode input parameter for RestorePoint (Azure#18165)

* removing readonly for consistencymode

* small spell correction 2.1

* [RestorePoints] Fixing instanceView (Azure#18592)

* fixing instance view 20220301instanceviewfix branch 1.1

* adding objects 2.1

* VMSS Flex Disk deleteOption changes (Azure#18433)

* disk delete option for vmss flex

* prettier changes

* update parameters

Co-authored-by: Kimberly Yip Chang <[email protected]>

* Fix vm extension location bug  (Azure#18487)

* fix

* fix lint issue

* Update properties for VMApps, CRP (Azure#18609)

* saving work

* ran prettier

* fix LintDiff, SpellCheck

* reverted changes made to gallery.json. The changes to gallery.json will be part of separate PR.

* GuestPatching: Adding AutomaticByPlatformSettings (in VMSS and VM model) and useRollingUpgradePolicy (in VMSS model) properties (Azure#18581)

* GuestPatching: Adding AutomaticByPlatofrmSettings within Linux and Windows Patch settings for VM and VMSS model

* Updating examples related to AutomaticByPlatformSettings property in PatchSettings for VM and VMSS model

* Adding useRollingUpgradePolicy property to automaticOSUpgradePolicy for VMSS and other minor changes for AutomaticByPlatfrom settings

* Addressing PR feedback

* Addressing PR feedback #2

* Renaming reboot reference for windows and linux automaticbyplatform patch settings - reboot settings

* Resolving errors reported on the PR by Avocado and LintDiff

* add architecture added in last version

* fix CI failures

* added PremiumV2_LRS (Azure#18809)

* Update dedicatedHost.json

* fix example name to keep it consistent with others

* Update computeRPCommon.json

Co-authored-by: hari-bodicherla <[email protected]>
Co-authored-by: aspand <[email protected]>
Co-authored-by: kamusta-msft <[email protected]>
Co-authored-by: prchin <[email protected]>
Co-authored-by: Kimberly Yip Chang <[email protected]>
Co-authored-by: Kimberly Yip Chang <[email protected]>
Co-authored-by: Bhaskar Brahma <[email protected]>
Co-authored-by: Rajasi Rane <[email protected]>
Co-authored-by: PushyaragY <[email protected]>
  • Loading branch information
10 people committed May 6, 2022
1 parent 09fcbd4 commit 6eb8592
Show file tree
Hide file tree
Showing 63 changed files with 11,048 additions and 10,743 deletions.
39 changes: 27 additions & 12 deletions common/config/rush/pnpm-lock.yaml

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

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

## 18.0.0 (2022-05-06)

**Features**

## 17.3.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface DedicatedHostGroupPropertiesAdditionalCapabilities
- Added Interface LinuxVMGuestPatchAutomaticByPlatformSettings
- Added Interface ProximityPlacementGroupPropertiesIntent
- Added Interface ResourceWithOptionalLocation
- Added Interface WindowsVMGuestPatchAutomaticByPlatformSettings
- Added Type Alias LinuxVMGuestPatchAutomaticByPlatformRebootSetting
- Added Type Alias WindowsVMGuestPatchAutomaticByPlatformRebootSetting
- Interface AutomaticOSUpgradePolicy has a new optional parameter useRollingUpgradePolicy
- Interface DiskRestorePointReplicationStatus has a new optional parameter completionPercent
- Interface LinuxPatchSettings has a new optional parameter automaticByPlatformSettings
- Interface PatchSettings has a new optional parameter automaticByPlatformSettings
- Interface VirtualMachineScaleSetDataDisk has a new optional parameter deleteOption
- Interface VirtualMachineScaleSetOSDisk has a new optional parameter deleteOption
- Interface VirtualMachineScaleSetUpdateOSDisk has a new optional parameter deleteOption
- Interface VMGalleryApplication has a new optional parameter enableAutomaticUpgrade
- Interface VMGalleryApplication has a new optional parameter treatFailureAsDeploymentFailure
- Add parameters of ResourceWithOptionalLocation to TypeAlias VirtualMachineExtension
- Type Alias DedicatedHostGroup has a new parameter additionalCapabilities
- Type Alias DedicatedHostGroupUpdate has a new parameter additionalCapabilities
- Type Alias ProximityPlacementGroup has a new parameter zones
- Type Alias ProximityPlacementGroup has a new parameter intent
- Type Alias VirtualMachineScaleSetVM has a new parameter identity
- Added Enum KnownLinuxVMGuestPatchAutomaticByPlatformRebootSetting
- Added Enum KnownWindowsVMGuestPatchAutomaticByPlatformRebootSetting
- Enum KnownStorageAccountTypes has a new value PremiumV2LRS

**Breaking Changes**

- Delete parameters of Resource in TypeAlias VirtualMachineExtension

## 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": "28db62c152a3556a579a6031f730d3f6b9f868a4",
"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/js-sdk-release-tools@2.2.1",
"use": "@autorest/[email protected].18.20220329.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
"use": "@autorest/[email protected].16.20220105.1"
}
39 changes: 11 additions & 28 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 @@ -28,22 +28,21 @@
"module": "./dist-esm/src/index.js",
"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",
"@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",
"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 6eb8592

Please sign in to comment.