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
Merge ca561faa1ff6d11895ffb0d3682e13c50e7ade20 into 34ba022add0034e30462b76e1548ce5a7e053e33
  • Loading branch information
SDKAuto committed Sep 23, 2022
1 parent 425f9f6 commit da74d41
Show file tree
Hide file tree
Showing 29 changed files with 4,531 additions and 2,110 deletions.
57 changes: 51 additions & 6 deletions sdk/resourcemanager/keyvault/armkeyvault/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,70 @@
# Release History

## 1.1.0-beta.1 (2022-05-19)
## 2.0.0 (2022-09-23)
### Breaking Changes

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

### Features Added

- New const `KeyRotationPolicyActionTypeNotify`
- New const `KeyPermissionsRelease`
- New const `ActivationStatusUnknown`
- New const `ActivationStatusFailed`
- New const `JSONWebKeyOperationRelease`
- New const `ActivationStatusActive`
- New const `KeyRotationPolicyActionTypeRotate`
- New const `KeyPermissionsGetrotationpolicy`
- New const `ActivationStatusNotActivated`
- New const `KeyPermissionsRotate`
- New const `KeyPermissionsRelease`
- New const `KeyPermissionsSetrotationpolicy`
- New const `KeyPermissionsGetrotationpolicy`
- New type alias `ActivationStatus`
- New type alias `KeyRotationPolicyActionType`
- New function `*MHSMKeysClient.NewListVersionsPager(string, string, string, *MHSMKeysClientListVersionsOptions) *runtime.Pager[MHSMKeysClientListVersionsResponse]`
- New function `*ManagedHsmsClient.CheckMhsmNameAvailability(context.Context, CheckMhsmNameAvailabilityParameters, *ManagedHsmsClientCheckMhsmNameAvailabilityOptions) (ManagedHsmsClientCheckMhsmNameAvailabilityResponse, error)`
- New function `*MHSMKeysClient.Get(context.Context, string, string, string, *MHSMKeysClientGetOptions) (MHSMKeysClientGetResponse, error)`
- New function `*MHSMKeysClient.CreateIfNotExist(context.Context, string, string, string, MHSMKeyCreateParameters, *MHSMKeysClientCreateIfNotExistOptions) (MHSMKeysClientCreateIfNotExistResponse, error)`
- New function `PossibleKeyRotationPolicyActionTypeValues() []KeyRotationPolicyActionType`
- New function `*KeyReleasePolicy.UnmarshalJSON([]byte) error`
- New function `KeyReleasePolicy.MarshalJSON() ([]byte, error)`
- New function `RotationPolicy.MarshalJSON() ([]byte, error)`
- New function `*MHSMKeysClient.NewListPager(string, string, *MHSMKeysClientListOptions) *runtime.Pager[MHSMKeysClientListResponse]`
- New function `PossibleActivationStatusValues() []ActivationStatus`
- New function `*MHSMKeysClient.GetVersion(context.Context, string, string, string, string, *MHSMKeysClientGetVersionOptions) (MHSMKeysClientGetVersionResponse, error)`
- New function `NewMHSMKeysClient(string, azcore.TokenCredential, *arm.ClientOptions) (*MHSMKeysClient, error)`
- New struct `Action`
- New struct `CheckMhsmNameAvailabilityParameters`
- New struct `CheckMhsmNameAvailabilityResult`
- New struct `KeyReleasePolicy`
- New struct `KeyRotationPolicyAttributes`
- New struct `LifetimeAction`
- New struct `MHSMAction`
- New struct `MHSMKey`
- New struct `MHSMKeyAttributes`
- New struct `MHSMKeyCreateParameters`
- New struct `MHSMKeyListResult`
- New struct `MHSMKeyProperties`
- New struct `MHSMKeyReleasePolicy`
- New struct `MHSMKeyRotationPolicyAttributes`
- New struct `MHSMKeysClient`
- New struct `MHSMKeysClientCreateIfNotExistOptions`
- New struct `MHSMKeysClientCreateIfNotExistResponse`
- New struct `MHSMKeysClientGetOptions`
- New struct `MHSMKeysClientGetResponse`
- New struct `MHSMKeysClientGetVersionOptions`
- New struct `MHSMKeysClientGetVersionResponse`
- New struct `MHSMKeysClientListOptions`
- New struct `MHSMKeysClientListResponse`
- New struct `MHSMKeysClientListVersionsOptions`
- New struct `MHSMKeysClientListVersionsResponse`
- New struct `MHSMLifetimeAction`
- New struct `MHSMRotationPolicy`
- New struct `MHSMTrigger`
- New struct `ManagedHSMSecurityDomainProperties`
- New struct `ManagedHsmsClientCheckMhsmNameAvailabilityOptions`
- New struct `ManagedHsmsClientCheckMhsmNameAvailabilityResponse`
- New struct `RotationPolicy`
- New struct `Trigger`
- New field `Etag` in struct `MHSMPrivateEndpointConnectionItem`
- New field `ID` in struct `MHSMPrivateEndpointConnectionItem`
- New field `ReleasePolicy` in struct `KeyProperties`
- New field `RotationPolicy` in struct `KeyProperties`

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 da74d41

Please sign in to comment.