Skip to content

Commit

Permalink
CodeGen from PR 22212 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 845f2e2505266b7d4e699dcfc0ceb90cd9b8f6ea into 7d1f6b268def6736833a08311c87cc96740eaf03
  • Loading branch information
SDKAuto committed Jan 17, 2023
1 parent 2a983c9 commit bc121ec
Show file tree
Hide file tree
Showing 28 changed files with 3,775 additions and 2,337 deletions.
29 changes: 17 additions & 12 deletions sdk/resourcemanager/keyvault/armkeyvault/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
# Release History

## 1.1.0-beta.1 (2022-05-19)
## 2.0.0 (2023-01-17)
### Breaking Changes

- Struct `CloudError` has been removed
- Struct `CloudErrorBody` has been removed

### Features Added

- New const `KeyRotationPolicyActionTypeNotify`
- New const `JSONWebKeyOperationRelease`
- New const `KeyRotationPolicyActionTypeRotate`
- New const `KeyPermissionsRotate`
- New const `KeyPermissionsRelease`
- New const `KeyPermissionsSetrotationpolicy`
- New const `KeyPermissionsGetrotationpolicy`
- New function `PossibleKeyRotationPolicyActionTypeValues() []KeyRotationPolicyActionType`
- New function `*KeyReleasePolicy.UnmarshalJSON([]byte) error`
- New function `KeyReleasePolicy.MarshalJSON() ([]byte, error)`
- New function `RotationPolicy.MarshalJSON() ([]byte, error)`
- New value `JSONWebKeyOperationRelease` added to type alias `JSONWebKeyOperation`
- New value `KeyPermissionsGetrotationpolicy`, `KeyPermissionsRelease`, `KeyPermissionsRotate`, `KeyPermissionsSetrotationpolicy` added to type alias `KeyPermissions`
- New type alias `ActivationStatus` with values `ActivationStatusActive`, `ActivationStatusFailed`, `ActivationStatusNotActivated`, `ActivationStatusUnknown`
- New type alias `KeyRotationPolicyActionType` with values `KeyRotationPolicyActionTypeNotify`, `KeyRotationPolicyActionTypeRotate`
- New function `*ManagedHsmsClient.CheckMhsmNameAvailability(context.Context, CheckMhsmNameAvailabilityParameters, *ManagedHsmsClientCheckMhsmNameAvailabilityOptions) (ManagedHsmsClientCheckMhsmNameAvailabilityResponse, error)`
- New struct `Action`
- New struct `CheckMhsmNameAvailabilityParameters`
- New struct `CheckMhsmNameAvailabilityResult`
- New struct `KeyReleasePolicy`
- New struct `KeyRotationPolicyAttributes`
- New struct `LifetimeAction`
- New struct `ManagedHSMSecurityDomainProperties`
- New struct `RotationPolicy`
- New struct `Trigger`
- New field `ReleasePolicy` in struct `KeyProperties`
- New field `RotationPolicy` in struct `KeyProperties`
- New field `Etag` in struct `MHSMPrivateEndpointConnectionItem`
- New field `ID` in struct `MHSMPrivateEndpointConnectionItem`
- New field `SecurityDomainProperties` in struct `ManagedHsmProperties`


## 1.0.0 (2022-05-16)
Expand Down
6 changes: 3 additions & 3 deletions sdk/resourcemanager/keyvault/armkeyvault/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/2f2b633d940230cbbd5bcf1339a2e1c48674e4a2/specification/keyvault/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/2f2b633d940230cbbd5bcf1339a2e1c48674e4a2/specification/keyvault/resource-manager/readme.go.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/keyvault/resource-manager/readme.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/keyvault/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 1.1.0-beta.1
module-version: 2.0.0
modelerfour:
seal-single-value-enum-by-default: true
```

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

4 changes: 2 additions & 2 deletions sdk/resourcemanager/keyvault/armkeyvault/go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/keyvault/armkeyvault
module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/keyvault/armkeyvault/v2

go 1.18

require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v1.0.0
github.com/stretchr/testify v1.7.0
)

require (
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.0.0 // indirect
github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect
Expand Down

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

Loading

0 comments on commit bc121ec

Please sign in to comment.