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 b5fcaa99be56afea5cdadb71c974ba21f762baca into 492cf91751be945ceae53cfdd53b1ff2fb878703
  • Loading branch information
SDKAuto committed Oct 20, 2022
1 parent 2827e1e commit f7eeb5c
Show file tree
Hide file tree
Showing 29 changed files with 4,576 additions and 2,112 deletions.
60 changes: 53 additions & 7 deletions sdk/resourcemanager/keyvault/armkeyvault/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,73 @@
# Release History

## 1.1.0-beta.1 (2022-05-19)
## 2.0.0 (2022-10-20)
### 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 `ActivationStatusActive`
- New const `KeyRotationPolicyActionTypeNotify`
- New const `KeyPermissionsSetrotationpolicy`
- New const `ActivationStatusUnknown`
- New const `ActivationStatusFailed`
- New const `KeyPermissionsRotate`
- New const `KeyPermissionsRelease`
- New const `KeyPermissionsSetrotationpolicy`
- New const `JSONWebKeyOperationRelease`
- New const `ActivationStatusNotActivated`
- New const `KeyPermissionsGetrotationpolicy`
- New type alias `KeyRotationPolicyActionType`
- New type alias `ActivationStatus`
- New function `*ManagedHsmKeysClient.NewListPager(string, string, *ManagedHsmKeysClientListOptions) *runtime.Pager[ManagedHsmKeysClientListResponse]`
- New function `*ManagedHsmKeysClient.GetVersion(context.Context, string, string, string, string, *ManagedHsmKeysClientGetVersionOptions) (ManagedHsmKeysClientGetVersionResponse, error)`
- New function `*ManagedHsmsClient.CheckMhsmNameAvailability(context.Context, CheckMhsmNameAvailabilityParameters, *ManagedHsmsClientCheckMhsmNameAvailabilityOptions) (ManagedHsmsClientCheckMhsmNameAvailabilityResponse, error)`
- New function `*ManagedHsmKeysClient.NewListVersionsPager(string, string, string, *ManagedHsmKeysClientListVersionsOptions) *runtime.Pager[ManagedHsmKeysClientListVersionsResponse]`
- New function `PossibleActivationStatusValues() []ActivationStatus`
- New function `NewManagedHsmKeysClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ManagedHsmKeysClient, error)`
- New function `*ManagedHsmKeysClient.CreateIfNotExist(context.Context, string, string, string, ManagedHsmKeyCreateParameters, *ManagedHsmKeysClientCreateIfNotExistOptions) (ManagedHsmKeysClientCreateIfNotExistResponse, 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 `*ManagedHsmKeysClient.Get(context.Context, string, string, string, *ManagedHsmKeysClientGetOptions) (ManagedHsmKeysClientGetResponse, error)`
- New struct `Action`
- New struct `CheckMhsmNameAvailabilityParameters`
- New struct `CheckMhsmNameAvailabilityResult`
- New struct `KeyReleasePolicy`
- New struct `KeyRotationPolicyAttributes`
- New struct `LifetimeAction`
- New struct `ManagedHSMSecurityDomainProperties`
- New struct `ManagedHsmAction`
- New struct `ManagedHsmKey`
- New struct `ManagedHsmKeyAttributes`
- New struct `ManagedHsmKeyCreateParameters`
- New struct `ManagedHsmKeyListResult`
- New struct `ManagedHsmKeyProperties`
- New struct `ManagedHsmKeyReleasePolicy`
- New struct `ManagedHsmKeyRotationPolicyAttributes`
- New struct `ManagedHsmKeysClient`
- New struct `ManagedHsmKeysClientCreateIfNotExistOptions`
- New struct `ManagedHsmKeysClientCreateIfNotExistResponse`
- New struct `ManagedHsmKeysClientGetOptions`
- New struct `ManagedHsmKeysClientGetResponse`
- New struct `ManagedHsmKeysClientGetVersionOptions`
- New struct `ManagedHsmKeysClientGetVersionResponse`
- New struct `ManagedHsmKeysClientListOptions`
- New struct `ManagedHsmKeysClientListResponse`
- New struct `ManagedHsmKeysClientListVersionsOptions`
- New struct `ManagedHsmKeysClientListVersionsResponse`
- New struct `ManagedHsmLifetimeAction`
- New struct `ManagedHsmRotationPolicy`
- New struct `ManagedHsmTrigger`
- New struct `ManagedHsmsClientCheckMhsmNameAvailabilityOptions`
- New struct `ManagedHsmsClientCheckMhsmNameAvailabilityResponse`
- New struct `ProxyResourceWithoutSystemData`
- 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`


## 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 f7eeb5c

Please sign in to comment.