Skip to content

Commit

Permalink
CodeGen from PR 20502 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[Hub Generated] Review request for Microsoft.HybridCompute to add version preview/2022-08-11-preview (Azure#20502)

* Adds base for updating Microsoft.HybridCompute from version preview/2022-05-10-preview to version 2022-08-11-preview

* Updates readme

* Updates API version in new specs and examples

* Squashing commits into 1

* Added plural + singular naming

* fixed extension types

* Made return types singular

* Added comment changes

* reverted enum change and update trackedResource to v3

* fixed param name

* fixed more plural/singular issues in the example

* added x-ms-client-flatten:true and moved location to the upper layer

* explicitly declare location

* tried resource instead

* using v3 to avoid conflicts

* updated v3 in privatelinkscopes.json too

* removed Resource inheritance and moved requestId to id

* Update readme.python.md

Azure/azure-rest-api-specs#20502 (comment)

* Update readme.go.md

* Added ProxyResource common type to ExtensionValue definition

* Add location in the ExtensionValue defn

* Fix syntax error

* Fix linit error by removing location property

* Remove location

* Remove location

* Prettyfy json

Co-authored-by: dorothyhu <[email protected]>
Co-authored-by: Yuchao Yan <[email protected]>
Co-authored-by: Raghu Shantha [MSFT] <[email protected]>
  • Loading branch information
4 people committed Oct 11, 2022
1 parent a831b2c commit ecbace6
Show file tree
Hide file tree
Showing 19 changed files with 1,621 additions and 697 deletions.
7 changes: 4 additions & 3 deletions common/config/rush/pnpm-lock.yaml

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

50 changes: 35 additions & 15 deletions sdk/hybridcompute/arm-hybridcompute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,48 @@
# Release History

## 3.1.0-beta.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 3.1.0-beta.1 (2022-04-26)

## 3.1.0-beta.2 (2022-10-11)

**Features**

- Added operation group ExtensionMetadata
- Added Interface AgentConfiguration
- Added Interface CloudMetadata
- Added Interface ConfigurationExtension
- Added Interface ErrorDetailAutoGenerated
- Added Interface ErrorResponseAutoGenerated
- Added Interface ExtensionMetadataGetOptionalParams
- Added Interface ExtensionMetadataListOptionalParams
- Added Interface ExtensionValue
- Added Interface ExtensionValueListResult
- Added Interface HybridComputePrivateLinkScope
- Added Interface Machine
- Added Interface MachineExtension
- Added Interface MachineExtensionUpdate
- Added Interface MachineUpdate
- Added Interface OSProfileLinuxConfiguration
- Added Interface OSProfileWindowsConfiguration
- Added Interface PrivateEndpointConnection
- Added Interface PrivateEndpointConnectionDataModel
- Added Interface PrivateLinkResource
- Added Interface ProxyResource
- Added Interface ServiceStatus
- Added Interface ServiceStatuses
- Added Interface TrackedResource
- Added Type Alias AgentConfigurationMode
- Added Type Alias AssessmentModeTypes
- Added Type Alias ExtensionMetadataGetResponse
- Added Type Alias ExtensionMetadataListResponse
- Added Type Alias PatchModeTypes
- Interface HybridComputePrivateLinkScopeProperties has a new optional parameter privateEndpointConnections
- Interface MachineProperties has a new optional parameter mssqlDiscovered
- Interface MachineProperties has a new optional parameter osType
- Interface MachineUpdateProperties has a new optional parameter osProfile
- Interface OperationValue has a new optional parameter isDataAction
- Interface OSProfile has a new optional parameter linuxConfiguration
- Interface OSProfile has a new optional parameter windowsConfiguration
- Interface PrivateEndpointConnectionProperties has a new optional parameter groupIds
- Interface Resource has a new optional parameter systemData
- Class HybridComputeManagementClient has a new parameter extensionMetadata
- Added Enum KnownAgentConfigurationMode
- Added Enum KnownAssessmentModeTypes
- Added Enum KnownPatchModeTypes


## 3.0.0 (2022-01-18)
Expand Down
2 changes: 1 addition & 1 deletion sdk/hybridcompute/arm-hybridcompute/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The Hybrid Compute Management Client.

### Currently supported environments

- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
- [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.
Expand Down
12 changes: 6 additions & 6 deletions sdk/hybridcompute/arm-hybridcompute/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "1f1d5b0b9ce6cc94605b2fd619dce374fb6e033a",
"readme": "specification\\hybridcompute\\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\\hybridcompute\\resource-manager\\readme.md --use=@autorest/[email protected]alpha.19.20220408.1 --generate-sample=true",
"commit": "94ca9bfa8a47b5128b7ff81ca12072519ef4e4a9",
"readme": "specification/hybridcompute/resource-manager/readme.md",
"autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --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/hybridcompute/resource-manager/readme.md --use=@autorest/[email protected]rc.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]alpha.19.20220408.1"
}
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.3",
"use": "@autorest/[email protected]rc.1"
}
27 changes: 11 additions & 16 deletions sdk/hybridcompute/arm-hybridcompute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"module": "./dist-esm/src/index.js",
"types": "./types/arm-hybridcompute.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.31.1",
"@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",
Expand All @@ -40,9 +40,13 @@
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2"
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hybridcompute/arm-hybridcompute",
"repository": {
Expand Down Expand Up @@ -93,9 +97,8 @@
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped"
},
"sideEffects": false,
"//metadata": {
Expand All @@ -106,13 +109,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-hybridcompute?view=azure-node-preview"
}
}
"autoPublish": true
}
Loading

0 comments on commit ecbace6

Please sign in to comment.