Skip to content

Commit

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

* Adds base for updating Microsoft.KeyVault from version stable/2022-07-01 to version 2022-11-01

* Updates readme

* Updates API version in new specs and examples

* Adding specification for data plane Key operations through Managed HSM control plane (via ARM)

* undo of change done to address R3006

* Updating duplicate tags and operation id

* Addressing PR comments from ARM review

* PR Feedback : update string.

* Fixing lint errors and some PR feedback

* fixing prettier checks

* fixing validation errors from lint diff

* Making ManagedHsmKey as proxy resource by removing 'Tags' and 'Location' properties from it.

* Adding Tags

* removing additional property 'Location'

* Removed unreferenced parameter definitions.

* Updating examples to have default value for enablePurgeProtection as false as per PR feedback.

* Merging changes made to version 2022-07-01 in PR Azure/azure-rest-api-specs#21671
This added securitydomainproperties and fixed a s360 item.

* Fixing validation errors from PR

* Adding suppresion based on new rules described here: https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/828/How-to-suppress-validation-rules and removing swagger changes for headers.

* Pulled a breaking change from 2022-07-01 api-version and Updated where clause path

---------

Co-authored-by: FAREAST\riteshc <[email protected]>
  • Loading branch information
SDKAuto and riteshchitlangia committed Feb 3, 2023
1 parent 7d8decd commit 79cb20a
Show file tree
Hide file tree
Showing 27 changed files with 1,972 additions and 119 deletions.
65 changes: 53 additions & 12 deletions sdk/keyvault/arm-keyvault/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,85 @@
# Release History

## 2.1.0-beta.3 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 2.1.0-beta.2 (2022-11-28)

## 3.0.0 (2023-02-03)

**Features**

- Added operation group ManagedHsmKeys
- Added operation ManagedHsms.checkMhsmNameAvailability
- Added Interface Action
- Added Interface CheckMhsmNameAvailabilityParameters
- Added Interface CheckMhsmNameAvailabilityResult
- Added Interface Key
- Added Interface KeyReleasePolicy
- Added Interface KeyRotationPolicyAttributes
- Added Interface LifetimeAction
- Added Interface ManagedHsm
- Added Interface ManagedHsmAction
- Added Interface ManagedHsmKey
- Added Interface ManagedHsmKeyAttributes
- Added Interface ManagedHsmKeyCreateParameters
- Added Interface ManagedHsmKeyListResult
- Added Interface ManagedHsmKeyProperties
- Added Interface ManagedHsmKeyReleasePolicy
- Added Interface ManagedHsmKeyRotationPolicyAttributes
- Added Interface ManagedHsmKeysCreateIfNotExistOptionalParams
- Added Interface ManagedHsmKeysGetOptionalParams
- Added Interface ManagedHsmKeysGetVersionOptionalParams
- Added Interface ManagedHsmKeysListNextOptionalParams
- Added Interface ManagedHsmKeysListOptionalParams
- Added Interface ManagedHsmKeysListVersionsNextOptionalParams
- Added Interface ManagedHsmKeysListVersionsOptionalParams
- Added Interface ManagedHsmLifetimeAction
- Added Interface ManagedHsmRotationPolicy
- Added Interface ManagedHsmsCheckMhsmNameAvailabilityOptionalParams
- Added Interface ManagedHsmsCreateOrUpdateHeaders
- Added Interface ManagedHsmsDeleteHeaders
- Added Interface ManagedHSMSecurityDomainProperties
- Added Interface ManagedHsmsPurgeDeletedHeaders
- Added Interface ManagedHsmsUpdateHeaders
- Added Interface ManagedHsmTrigger
- Added Interface MhsmPrivateEndpointConnection
- Added Interface MhsmPrivateLinkResource
- Added Interface PrivateEndpointConnection
- Added Interface PrivateLinkResource
- Added Interface ProxyResourceWithoutSystemData
- Added Interface RotationPolicy
- Added Interface Secret
- Added Interface SecretAttributes
- Added Interface Trigger
- Added Type Alias ActivationStatus
- Added Type Alias KeyRotationPolicyActionType
- Added Type Alias ManagedHsmKeysCreateIfNotExistResponse
- Added Type Alias ManagedHsmKeysGetResponse
- Added Type Alias ManagedHsmKeysGetVersionResponse
- Added Type Alias ManagedHsmKeysListNextResponse
- Added Type Alias ManagedHsmKeysListResponse
- Added Type Alias ManagedHsmKeysListVersionsNextResponse
- Added Type Alias ManagedHsmKeysListVersionsResponse
- Added Type Alias ManagedHsmsCheckMhsmNameAvailabilityResponse
- Added Type Alias ManagedHsmsPurgeDeletedResponse
- Interface KeyProperties has a new optional parameter releasePolicy
- Interface KeyProperties has a new optional parameter rotationPolicy
- Interface ManagedHsmProperties has a new optional parameter securityDomainProperties
- Interface MhsmPrivateEndpointConnectionItem has a new optional parameter etag
- Interface MhsmPrivateEndpointConnectionItem has a new optional parameter id
- Added Enum KnownActivationStatus
- Enum KnownJsonWebKeyOperation has a new value Release
- Enum KnownKeyPermissions has a new value Getrotationpolicy
- Enum KnownKeyPermissions has a new value Release
- Enum KnownKeyPermissions has a new value Rotate
- Enum KnownKeyPermissions has a new value Setrotationpolicy
- Added function getContinuationToken

**Breaking Changes**

- Interface ManagedHsmsListByResourceGroupNextOptionalParams no longer has parameter top
- Interface ManagedHsmsListBySubscriptionNextOptionalParams no longer has parameter top
- Interface MhsmPrivateEndpointConnectionsDeleteHeaders no longer has parameter retryAfter
- Interface SecretsListNextOptionalParams no longer has parameter top
- Interface VaultsListByResourceGroupNextOptionalParams no longer has parameter top
- Interface VaultsListBySubscriptionNextOptionalParams no longer has parameter top
- Interface VaultsListNextOptionalParams no longer has parameter top


## 2.0.0 (2022-01-17)
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/arm-keyvault/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2022 Microsoft
Copyright (c) 2023 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/arm-keyvault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The Azure management API provides a RESTful set of web services that interact wi

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/arm-keyvault) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-keyvault) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-keyvault?view=azure-node-preview) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-keyvault) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down
8 changes: 4 additions & 4 deletions sdk/keyvault/arm-keyvault/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "1fefe3f5cee88319b17c08a2dbf95e1e983a9f8c",
"commit": "a188b86bdffb9a8240d9722590d5316b177373e7",
"readme": "specification/keyvault/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=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\keyvault\\resource-manager\\readme.md --use=@autorest/[email protected].3.20221108.1 --generate-sample=true",
"autorest_command": "autorest --version=3.9.3 --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/keyvault/resource-manager/readme.md --use=@autorest/[email protected].5",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
"use": "@autorest/[email protected].3.20221108.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.1",
"use": "@autorest/[email protected].5"
}
14 changes: 3 additions & 11 deletions sdk/keyvault/arm-keyvault/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 KeyVaultManagementClient.",
"version": "2.1.0-beta.3",
"version": "3.0.0",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -110,13 +110,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-keyvault?view=azure-node-preview"
}
}
"autoPublish": true
}
Loading

0 comments on commit 79cb20a

Please sign in to comment.