Skip to content

Commit

Permalink
[Release] sdk/resourcemanager/hardwaresecuritymodules/armhardwaresecu…
Browse files Browse the repository at this point in the history
…ritymodules/2.0.0-beta.2 generation from spec commit: e838027e88cca634c1545e744630de9262a6e72a (#23769)
  • Loading branch information
jliusan authored Nov 19, 2024
1 parent 5b29f02 commit c0dc3c3
Show file tree
Hide file tree
Showing 34 changed files with 2,620 additions and 1,063 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,68 @@
# Release History

## 2.0.0-beta.2 (2024-11-18)
### Breaking Changes

- Type of `CloudHsmClusterProperties.AutoGeneratedDomainNameLabelScope` has been changed from `*string` to `*AutoGeneratedDomainNameLabelScope`
- Type of `CloudHsmClusterProperties.PublicNetworkAccess` has been changed from `*string` to `*PublicNetworkAccess`
- Type of `DedicatedHsm.SystemData` has been changed from `*DedicatedHsmSystemData` to `*SystemData`
- Operation `*CloudHsmClusterPrivateLinkResourcesClient.ListByCloudHsmCluster` has supported pagination, use `*CloudHsmClusterPrivateLinkResourcesClient.NewListByCloudHsmClusterPager` instead.
- Struct `BackupProperties` has been removed
- Struct `CHsmError` has been removed
- Struct `CloudHsmClusterError` has been removed
- Struct `CloudHsmClusterPatchParametersProperties` has been removed
- Struct `CloudHsmClusterSecurityDomainProperties` has been removed
- Struct `DedicatedHsmOperation` has been removed
- Struct `DedicatedHsmOperationDisplay` has been removed
- Struct `DedicatedHsmOperationListResult` has been removed
- Struct `DedicatedHsmResource` has been removed
- Struct `DedicatedHsmSystemData` has been removed
- Struct `ResourceListResult` has been removed
- Struct `RestoreProperties` has been removed
- Field `ID` of struct `APIEntityReference` has been removed
- Field `Properties`, `SKU` of struct `CloudHsmClusterPatchParameters` has been removed
- Field `BackupProperties`, `RestoreProperties`, `SecurityDomain` of struct `CloudHsmClusterProperties` has been removed
- Field `ID` of struct `NetworkInterface` has been removed
- Field `DedicatedHsmOperationListResult` of struct `OperationsClientListResponse` has been removed

### Features Added

- New enum type `ActionType` with values `ActionTypeInternal`
- New enum type `ActivationState` with values `ActivationStateActive`, `ActivationStateFailed`, `ActivationStateNotActivated`, `ActivationStateNotDefined`, `ActivationStateUnknown`
- New enum type `AutoGeneratedDomainNameLabelScope` with values `AutoGeneratedDomainNameLabelScopeNoReuse`, `AutoGeneratedDomainNameLabelScopeResourceGroupReuse`, `AutoGeneratedDomainNameLabelScopeSubscriptionReuse`, `AutoGeneratedDomainNameLabelScopeTenantReuse`
- New enum type `BackupRestoreOperationStatus` with values `BackupRestoreOperationStatusCancelled`, `BackupRestoreOperationStatusFailed`, `BackupRestoreOperationStatusInProgress`, `BackupRestoreOperationStatusSucceeded`
- New enum type `Origin` with values `OriginSystem`, `OriginUser`, `OriginUserSystem`
- New enum type `PublicNetworkAccess` with values `PublicNetworkAccessDisabled`
- New function `*ClientFactory.NewCloudHsmClusterBackupStatusClient() *CloudHsmClusterBackupStatusClient`
- New function `*ClientFactory.NewCloudHsmClusterRestoreStatusClient() *CloudHsmClusterRestoreStatusClient`
- New function `NewCloudHsmClusterBackupStatusClient(string, azcore.TokenCredential, *arm.ClientOptions) (*CloudHsmClusterBackupStatusClient, error)`
- New function `*CloudHsmClusterBackupStatusClient.Get(context.Context, string, string, string, *CloudHsmClusterBackupStatusClientGetOptions) (CloudHsmClusterBackupStatusClientGetResponse, error)`
- New function `NewCloudHsmClusterRestoreStatusClient(string, azcore.TokenCredential, *arm.ClientOptions) (*CloudHsmClusterRestoreStatusClient, error)`
- New function `*CloudHsmClusterRestoreStatusClient.Get(context.Context, string, string, string, *CloudHsmClusterRestoreStatusClientGetOptions) (CloudHsmClusterRestoreStatusClientGetResponse, error)`
- New function `*CloudHsmClustersClient.BeginRestore(context.Context, string, string, RestoreRequestProperties, *CloudHsmClustersClientBeginRestoreOptions) (*runtime.Poller[CloudHsmClustersClientRestoreResponse], error)`
- New function `*CloudHsmClustersClient.BeginValidateBackupProperties(context.Context, string, string, *CloudHsmClustersClientBeginValidateBackupPropertiesOptions) (*runtime.Poller[CloudHsmClustersClientValidateBackupPropertiesResponse], error)`
- New function `*CloudHsmClustersClient.BeginValidateRestoreProperties(context.Context, string, string, *CloudHsmClustersClientBeginValidateRestorePropertiesOptions) (*runtime.Poller[CloudHsmClustersClientValidateRestorePropertiesResponse], error)`
- New function `*CloudHsmClustersClient.BeginBackup(context.Context, string, string, *CloudHsmClustersClientBeginBackupOptions) (*runtime.Poller[CloudHsmClustersClientBackupResponse], error)`
- New struct `BackupRequestProperties`
- New struct `BackupRestoreBaseResultProperties`
- New struct `BackupRestoreRequestBaseProperties`
- New struct `BackupResult`
- New struct `BackupResultProperties`
- New struct `ErrorAdditionalInfo`
- New struct `ErrorDetail`
- New struct `ErrorResponse`
- New struct `Operation`
- New struct `OperationDisplay`
- New struct `OperationListResult`
- New struct `RestoreRequestProperties`
- New struct `RestoreResult`
- New field `ResourceID` in struct `APIEntityReference`
- New field `ActivationState` in struct `CloudHsmClusterProperties`
- New field `ResourceID` in struct `NetworkInterface`
- New anonymous field `OperationListResult` in struct `OperationsClientListResponse`
- New field `NextLink` in struct `PrivateLinkResourceListResult`


## 2.0.0-beta.1 (2024-01-26)
### Breaking Changes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ clientFactory, err := armhardwaresecuritymodules.NewClientFactory(<subscription
A client groups a set of related APIs, providing access to its functionality. Create one or more clients to access the APIs you require using client factory.

```go
client := clientFactory.NewCloudHsmClusterPrivateEndpointConnectionsClient()
client := clientFactory.NewCloudHsmClusterBackupStatusClient()
```

## Fakes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/18b5c820705ab69735b7e1e2e0da5e37ca6e1969/specification/hardwaresecuritymodules/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/18b5c820705ab69735b7e1e2e0da5e37ca6e1969/specification/hardwaresecuritymodules/resource-manager/readme.go.md
- https://github.com/Azure/azure-rest-api-specs/blob/e838027e88cca634c1545e744630de9262a6e72a/specification/hardwaresecuritymodules/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/e838027e88cca634c1545e744630de9262a6e72a/specification/hardwaresecuritymodules/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 2.0.0-beta.1
tag: package-2023-12-preview
module-version: 2.0.0-beta.2
tag: package-preview-2024-06
```

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

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

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

Loading

0 comments on commit c0dc3c3

Please sign in to comment.