Skip to content

Commit

Permalink
CodeGen from PR 22124 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 48616bab53408d1b19e4c2c348116ce7984ac77e into 13d172c85dac78b65d023dcd95097c383e38c048
  • Loading branch information
SDKAuto committed Jan 19, 2023
1 parent fe24c19 commit 01dad96
Show file tree
Hide file tree
Showing 29 changed files with 5,523 additions and 3,471 deletions.
150 changes: 150 additions & 0 deletions sdk/resourcemanager/postgresqlhsc/armpostgresqlhsc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,155 @@
# Release History

## 1.0.0 (2023-01-19)
### Breaking Changes

- Type of `Operation.Properties` has been changed from `map[string]interface{}` to `map[string]any`
- Type of `ServerProperties.ServerEdition` has been changed from `*ServerEdition` to `*string`
- Type alias `CitusVersion` has been removed
- Type alias `CreateMode` has been removed
- Type alias `PostgreSQLVersion` has been removed
- Type alias `ResourceProviderType` has been removed
- Type alias `ServerEdition` has been removed
- Type alias `ServerHaState` has been removed
- Type alias `ServerState` has been removed
- Function `*ConfigurationsClient.NewListByServerGroupPager` has been removed
- Function `*ConfigurationsClient.BeginUpdate` has been removed
- Function `*FirewallRulesClient.NewListByServerGroupPager` has been removed
- Function `*RolesClient.NewListByServerGroupPager` has been removed
- Function `NewServerGroupsClient` has been removed
- Function `*ServerGroupsClient.CheckNameAvailability` has been removed
- Function `*ServerGroupsClient.BeginCreateOrUpdate` has been removed
- Function `*ServerGroupsClient.BeginDelete` has been removed
- Function `*ServerGroupsClient.Get` has been removed
- Function `*ServerGroupsClient.NewListByResourceGroupPager` has been removed
- Function `*ServerGroupsClient.NewListPager` has been removed
- Function `*ServerGroupsClient.BeginRestart` has been removed
- Function `*ServerGroupsClient.BeginStart` has been removed
- Function `*ServerGroupsClient.BeginStop` has been removed
- Function `*ServerGroupsClient.BeginUpdate` has been removed
- Function `*ServersClient.NewListByServerGroupPager` has been removed
- Struct `CloudError` has been removed
- Struct `CloudErrorBody` has been removed
- Struct `ConfigurationsClientListByServerGroupResponse` has been removed
- Struct `ConfigurationsClientUpdateResponse` has been removed
- Struct `FirewallRulesClientListByServerGroupResponse` has been removed
- Struct `RolesClientListByServerGroupResponse` has been removed
- Struct `ServerGroup` has been removed
- Struct `ServerGroupConfiguration` has been removed
- Struct `ServerGroupConfigurationListResult` has been removed
- Struct `ServerGroupConfigurationProperties` has been removed
- Struct `ServerGroupForUpdate` has been removed
- Struct `ServerGroupListResult` has been removed
- Struct `ServerGroupProperties` has been removed
- Struct `ServerGroupPropertiesDelegatedSubnetArguments` has been removed
- Struct `ServerGroupPropertiesForUpdate` has been removed
- Struct `ServerGroupPropertiesPrivateDNSZoneArguments` has been removed
- Struct `ServerGroupServer` has been removed
- Struct `ServerGroupServerListResult` has been removed
- Struct `ServerGroupServerProperties` has been removed
- Struct `ServerGroupsClient` has been removed
- Struct `ServerGroupsClientCreateOrUpdateResponse` has been removed
- Struct `ServerGroupsClientDeleteResponse` has been removed
- Struct `ServerGroupsClientListByResourceGroupResponse` has been removed
- Struct `ServerGroupsClientListResponse` has been removed
- Struct `ServerGroupsClientRestartResponse` has been removed
- Struct `ServerGroupsClientStartResponse` has been removed
- Struct `ServerGroupsClientStopResponse` has been removed
- Struct `ServerGroupsClientUpdateResponse` has been removed
- Struct `ServerRoleGroup` has been removed
- Struct `ServersClientListByServerGroupResponse` has been removed
- Field `ServerGroupConfiguration` of struct `ConfigurationsClientGetResponse` has been removed
- Field `ServerGroupServer` of struct `ServersClientGetResponse` has been removed

### Features Added

- New function `NewClustersClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ClustersClient, error)`
- New function `*ClustersClient.CheckNameAvailability(context.Context, NameAvailabilityRequest, *ClustersClientCheckNameAvailabilityOptions) (ClustersClientCheckNameAvailabilityResponse, error)`
- New function `*ClustersClient.BeginCreateOrUpdate(context.Context, string, string, Cluster, *ClustersClientBeginCreateOrUpdateOptions) (*runtime.Poller[ClustersClientCreateOrUpdateResponse], error)`
- New function `*ClustersClient.BeginDelete(context.Context, string, string, *ClustersClientBeginDeleteOptions) (*runtime.Poller[ClustersClientDeleteResponse], error)`
- New function `*ClustersClient.Get(context.Context, string, string, *ClustersClientGetOptions) (ClustersClientGetResponse, error)`
- New function `*ClustersClient.NewListByResourceGroupPager(string, *ClustersClientListByResourceGroupOptions) *runtime.Pager[ClustersClientListByResourceGroupResponse]`
- New function `*ClustersClient.NewListPager(*ClustersClientListOptions) *runtime.Pager[ClustersClientListResponse]`
- New function `*ClustersClient.BeginPromoteReadReplica(context.Context, string, string, *ClustersClientBeginPromoteReadReplicaOptions) (*runtime.Poller[ClustersClientPromoteReadReplicaResponse], error)`
- New function `*ClustersClient.BeginRestart(context.Context, string, string, *ClustersClientBeginRestartOptions) (*runtime.Poller[ClustersClientRestartResponse], error)`
- New function `*ClustersClient.BeginStart(context.Context, string, string, *ClustersClientBeginStartOptions) (*runtime.Poller[ClustersClientStartResponse], error)`
- New function `*ClustersClient.BeginStop(context.Context, string, string, *ClustersClientBeginStopOptions) (*runtime.Poller[ClustersClientStopResponse], error)`
- New function `*ClustersClient.BeginUpdate(context.Context, string, string, ClusterForUpdate, *ClustersClientBeginUpdateOptions) (*runtime.Poller[ClustersClientUpdateResponse], error)`
- New function `*ConfigurationsClient.NewListByClusterPager(string, string, *ConfigurationsClientListByClusterOptions) *runtime.Pager[ConfigurationsClientListByClusterResponse]`
- New function `*ConfigurationsClient.BeginUpdateCoordinator(context.Context, string, string, string, ServerConfigurationRequest, *ConfigurationsClientBeginUpdateCoordinatorOptions) (*runtime.Poller[ConfigurationsClientUpdateCoordinatorResponse], error)`
- New function `*ConfigurationsClient.BeginUpdateNode(context.Context, string, string, string, ServerConfigurationRequest, *ConfigurationsClientBeginUpdateNodeOptions) (*runtime.Poller[ConfigurationsClientUpdateNodeResponse], error)`
- New function `*FirewallRulesClient.NewListByClusterPager(string, string, *FirewallRulesClientListByClusterOptions) *runtime.Pager[FirewallRulesClientListByClusterResponse]`
- New function `NewPrivateEndpointConnectionsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*PrivateEndpointConnectionsClient, error)`
- New function `*PrivateEndpointConnectionsClient.BeginCreateOrUpdate(context.Context, string, string, string, PrivateEndpointConnectionActionRequest, *PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions) (*runtime.Poller[PrivateEndpointConnectionsClientCreateOrUpdateResponse], error)`
- New function `*PrivateEndpointConnectionsClient.BeginDelete(context.Context, string, string, string, *PrivateEndpointConnectionsClientBeginDeleteOptions) (*runtime.Poller[PrivateEndpointConnectionsClientDeleteResponse], error)`
- New function `*PrivateEndpointConnectionsClient.Get(context.Context, string, string, string, *PrivateEndpointConnectionsClientGetOptions) (PrivateEndpointConnectionsClientGetResponse, error)`
- New function `*PrivateEndpointConnectionsClient.NewListByClusterPager(string, string, *PrivateEndpointConnectionsClientListByClusterOptions) *runtime.Pager[PrivateEndpointConnectionsClientListByClusterResponse]`
- New function `NewPrivateLinkResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*PrivateLinkResourcesClient, error)`
- New function `*PrivateLinkResourcesClient.Get(context.Context, string, string, string, *PrivateLinkResourcesClientGetOptions) (PrivateLinkResourcesClientGetResponse, error)`
- New function `*PrivateLinkResourcesClient.NewListByClusterPager(string, string, *PrivateLinkResourcesClientListByClusterOptions) *runtime.Pager[PrivateLinkResourcesClientListByClusterResponse]`
- New function `*RolesClient.NewListByClusterPager(string, string, *RolesClientListByClusterOptions) *runtime.Pager[RolesClientListByClusterResponse]`
- New function `*ServersClient.NewListByClusterPager(string, string, *ServersClientListByClusterOptions) *runtime.Pager[ServersClientListByClusterResponse]`
- New struct `Cluster`
- New struct `ClusterConfigurationListResult`
- New struct `ClusterForUpdate`
- New struct `ClusterListResult`
- New struct `ClusterProperties`
- New struct `ClusterPropertiesForUpdate`
- New struct `ClusterResponse`
- New struct `ClusterResponseProperties`
- New struct `ClusterServer`
- New struct `ClusterServerListResult`
- New struct `ClusterServerProperties`
- New struct `ClustersClient`
- New struct `ClustersClientCreateOrUpdateResponse`
- New struct `ClustersClientDeleteResponse`
- New struct `ClustersClientListByResourceGroupResponse`
- New struct `ClustersClientListResponse`
- New struct `ClustersClientPromoteReadReplicaResponse`
- New struct `ClustersClientRestartResponse`
- New struct `ClustersClientStartResponse`
- New struct `ClustersClientStopResponse`
- New struct `ClustersClientUpdateResponse`
- New struct `Configuration`
- New struct `ConfigurationProperties`
- New struct `ConfigurationsClientListByClusterResponse`
- New struct `ConfigurationsClientUpdateCoordinatorResponse`
- New struct `ConfigurationsClientUpdateNodeResponse`
- New struct `ErrorAdditionalInfo`
- New struct `ErrorDetail`
- New struct `ErrorResponse`
- New struct `FirewallRulesClientListByClusterResponse`
- New struct `PrivateEndpointConnection`
- New struct `PrivateEndpointConnectionActionRequest`
- New struct `PrivateEndpointConnectionActionRequestProperties`
- New struct `PrivateEndpointConnectionListResult`
- New struct `PrivateEndpointConnectionProperties`
- New struct `PrivateEndpointConnectionProperty`
- New struct `PrivateEndpointConnectionSimpleProperties`
- New struct `PrivateEndpointConnectionsClient`
- New struct `PrivateEndpointConnectionsClientCreateOrUpdateResponse`
- New struct `PrivateEndpointConnectionsClientDeleteResponse`
- New struct `PrivateEndpointConnectionsClientListByClusterResponse`
- New struct `PrivateEndpointProperty`
- New struct `PrivateLinkResource`
- New struct `PrivateLinkResourceListResult`
- New struct `PrivateLinkResourceProperties`
- New struct `PrivateLinkResourcesClient`
- New struct `PrivateLinkResourcesClientListByClusterResponse`
- New struct `PrivateLinkServiceConnectionState`
- New struct `PrivateLinkServiceConnectionStateProperty`
- New struct `RolesClientListByClusterResponse`
- New struct `ServerConfigurationRequest`
- New struct `ServerConfigurationRequestProperties`
- New struct `ServersClientListByClusterResponse`
- New anonymous field `Configuration` in struct `ConfigurationsClientGetResponse`
- New field `SystemData` in struct `ProxyResource`
- New field `SystemData` in struct `Resource`
- New field `RequiresRestart` in struct `ServerConfigurationProperties`
- New anonymous field `ClusterServer` in struct `ServersClientGetResponse`
- New field `SystemData` in struct `TrackedResource`


## 0.5.0 (2022-05-18)

The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/postgresqlhsc/armpostgresqlhsc` is using our [next generation design principles](https://azure.github.io/azure-sdk/general_introduction.html) since version 0.5.0, which contains breaking changes.
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/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/postgresqlhsc/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/postgresqlhsc/resource-manager/readme.go.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/postgresqlhsc/resource-manager/readme.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/postgresqlhsc/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 0.5.0
module-version: 1.0.0

```
Loading

0 comments on commit 01dad96

Please sign in to comment.