Skip to content

Commit 217ae5f

Browse files
author
SDKAuto
committed
CodeGen from PR 23876 in Azure/azure-rest-api-specs
Merge 4c3395b0b92868a360818957cf332cbe39776fb9 into c7daa3d35baaaabece0dbc6f731eadbe426973b9
1 parent 5391e98 commit 217ae5f

24 files changed

+3767
-4543
lines changed

sdk/resourcemanager/postgresqlhsc/armpostgresqlhsc/CHANGELOG.md

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,126 @@
11
# Release History
22

3+
## 1.0.0 (2023-05-12)
4+
### Breaking Changes
5+
6+
- Type of `ServerProperties.ServerEdition` has been changed from `*ServerEdition` to `*string`
7+
- Type of `ServerProperties.StorageQuotaInMb` has been changed from `*int64` to `*int32`
8+
- Type of `ServerProperties.VCores` has been changed from `*int64` to `*int32`
9+
- Enum `CitusVersion` has been removed
10+
- Enum `CreateMode` has been removed
11+
- Enum `PostgreSQLVersion` has been removed
12+
- Enum `ResourceProviderType` has been removed
13+
- Enum `ServerEdition` has been removed
14+
- Enum `ServerHaState` has been removed
15+
- Enum `ServerState` has been removed
16+
- Function `*ClientFactory.NewServerGroupsClient` has been removed
17+
- Function `*ConfigurationsClient.NewListByServerGroupPager` has been removed
18+
- Function `*ConfigurationsClient.BeginUpdate` has been removed
19+
- Function `*FirewallRulesClient.NewListByServerGroupPager` has been removed
20+
- Function `*RolesClient.NewListByServerGroupPager` has been removed
21+
- Function `NewServerGroupsClient` has been removed
22+
- Function `*ServerGroupsClient.CheckNameAvailability` has been removed
23+
- Function `*ServerGroupsClient.BeginCreateOrUpdate` has been removed
24+
- Function `*ServerGroupsClient.BeginDelete` has been removed
25+
- Function `*ServerGroupsClient.Get` has been removed
26+
- Function `*ServerGroupsClient.NewListByResourceGroupPager` has been removed
27+
- Function `*ServerGroupsClient.NewListPager` has been removed
28+
- Function `*ServerGroupsClient.BeginRestart` has been removed
29+
- Function `*ServerGroupsClient.BeginStart` has been removed
30+
- Function `*ServerGroupsClient.BeginStop` has been removed
31+
- Function `*ServerGroupsClient.BeginUpdate` has been removed
32+
- Function `*ServersClient.NewListByServerGroupPager` has been removed
33+
- Struct `ServerGroup` has been removed
34+
- Struct `ServerGroupConfiguration` has been removed
35+
- Struct `ServerGroupConfigurationListResult` has been removed
36+
- Struct `ServerGroupConfigurationProperties` has been removed
37+
- Struct `ServerGroupForUpdate` has been removed
38+
- Struct `ServerGroupListResult` has been removed
39+
- Struct `ServerGroupProperties` has been removed
40+
- Struct `ServerGroupPropertiesDelegatedSubnetArguments` has been removed
41+
- Struct `ServerGroupPropertiesForUpdate` has been removed
42+
- Struct `ServerGroupPropertiesPrivateDNSZoneArguments` has been removed
43+
- Struct `ServerGroupServer` has been removed
44+
- Struct `ServerGroupServerListResult` has been removed
45+
- Struct `ServerGroupServerProperties` has been removed
46+
- Struct `ServerRoleGroup` has been removed
47+
- Field `ServerGroupConfiguration` of struct `ConfigurationsClientGetResponse` has been removed
48+
- Field `EnablePublicIP` of struct `ServerProperties` has been removed
49+
- Field `ServerGroupServer` of struct `ServersClientGetResponse` has been removed
50+
51+
### Features Added
52+
53+
- New enum type `PrivateEndpointConnectionProvisioningState` with values `PrivateEndpointConnectionProvisioningStateCreating`, `PrivateEndpointConnectionProvisioningStateDeleting`, `PrivateEndpointConnectionProvisioningStateFailed`, `PrivateEndpointConnectionProvisioningStateSucceeded`
54+
- New enum type `PrivateEndpointServiceConnectionStatus` with values `PrivateEndpointServiceConnectionStatusApproved`, `PrivateEndpointServiceConnectionStatusPending`, `PrivateEndpointServiceConnectionStatusRejected`
55+
- New enum type `ProvisioningState` with values `ProvisioningStateCanceled`, `ProvisioningStateFailed`, `ProvisioningStateInProgress`, `ProvisioningStateSucceeded`
56+
- New function `*ClientFactory.NewClustersClient() *ClustersClient`
57+
- New function `*ClientFactory.NewPrivateEndpointConnectionsClient() *PrivateEndpointConnectionsClient`
58+
- New function `*ClientFactory.NewPrivateLinkResourcesClient() *PrivateLinkResourcesClient`
59+
- New function `NewClustersClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ClustersClient, error)`
60+
- New function `*ClustersClient.CheckNameAvailability(context.Context, NameAvailabilityRequest, *ClustersClientCheckNameAvailabilityOptions) (ClustersClientCheckNameAvailabilityResponse, error)`
61+
- New function `*ClustersClient.BeginCreate(context.Context, string, string, Cluster, *ClustersClientBeginCreateOptions) (*runtime.Poller[ClustersClientCreateResponse], error)`
62+
- New function `*ClustersClient.BeginDelete(context.Context, string, string, *ClustersClientBeginDeleteOptions) (*runtime.Poller[ClustersClientDeleteResponse], error)`
63+
- New function `*ClustersClient.Get(context.Context, string, string, *ClustersClientGetOptions) (ClustersClientGetResponse, error)`
64+
- New function `*ClustersClient.NewListByResourceGroupPager(string, *ClustersClientListByResourceGroupOptions) *runtime.Pager[ClustersClientListByResourceGroupResponse]`
65+
- New function `*ClustersClient.NewListPager(*ClustersClientListOptions) *runtime.Pager[ClustersClientListResponse]`
66+
- New function `*ClustersClient.BeginPromoteReadReplica(context.Context, string, string, *ClustersClientBeginPromoteReadReplicaOptions) (*runtime.Poller[ClustersClientPromoteReadReplicaResponse], error)`
67+
- New function `*ClustersClient.BeginRestart(context.Context, string, string, *ClustersClientBeginRestartOptions) (*runtime.Poller[ClustersClientRestartResponse], error)`
68+
- New function `*ClustersClient.BeginStart(context.Context, string, string, *ClustersClientBeginStartOptions) (*runtime.Poller[ClustersClientStartResponse], error)`
69+
- New function `*ClustersClient.BeginStop(context.Context, string, string, *ClustersClientBeginStopOptions) (*runtime.Poller[ClustersClientStopResponse], error)`
70+
- New function `*ClustersClient.BeginUpdate(context.Context, string, string, ClusterForUpdate, *ClustersClientBeginUpdateOptions) (*runtime.Poller[ClustersClientUpdateResponse], error)`
71+
- New function `*ConfigurationsClient.GetCoordinator(context.Context, string, string, string, *ConfigurationsClientGetCoordinatorOptions) (ConfigurationsClientGetCoordinatorResponse, error)`
72+
- New function `*ConfigurationsClient.GetNode(context.Context, string, string, string, *ConfigurationsClientGetNodeOptions) (ConfigurationsClientGetNodeResponse, error)`
73+
- New function `*ConfigurationsClient.NewListByClusterPager(string, string, *ConfigurationsClientListByClusterOptions) *runtime.Pager[ConfigurationsClientListByClusterResponse]`
74+
- New function `*ConfigurationsClient.BeginUpdateOnCoordinator(context.Context, string, string, string, ServerConfiguration, *ConfigurationsClientBeginUpdateOnCoordinatorOptions) (*runtime.Poller[ConfigurationsClientUpdateOnCoordinatorResponse], error)`
75+
- New function `*ConfigurationsClient.BeginUpdateOnNode(context.Context, string, string, string, ServerConfiguration, *ConfigurationsClientBeginUpdateOnNodeOptions) (*runtime.Poller[ConfigurationsClientUpdateOnNodeResponse], error)`
76+
- New function `*FirewallRulesClient.NewListByClusterPager(string, string, *FirewallRulesClientListByClusterOptions) *runtime.Pager[FirewallRulesClientListByClusterResponse]`
77+
- New function `NewPrivateEndpointConnectionsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*PrivateEndpointConnectionsClient, error)`
78+
- New function `*PrivateEndpointConnectionsClient.BeginCreateOrUpdate(context.Context, string, string, string, PrivateEndpointConnection, *PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions) (*runtime.Poller[PrivateEndpointConnectionsClientCreateOrUpdateResponse], error)`
79+
- New function `*PrivateEndpointConnectionsClient.BeginDelete(context.Context, string, string, string, *PrivateEndpointConnectionsClientBeginDeleteOptions) (*runtime.Poller[PrivateEndpointConnectionsClientDeleteResponse], error)`
80+
- New function `*PrivateEndpointConnectionsClient.Get(context.Context, string, string, string, *PrivateEndpointConnectionsClientGetOptions) (PrivateEndpointConnectionsClientGetResponse, error)`
81+
- New function `*PrivateEndpointConnectionsClient.NewListByClusterPager(string, string, *PrivateEndpointConnectionsClientListByClusterOptions) *runtime.Pager[PrivateEndpointConnectionsClientListByClusterResponse]`
82+
- New function `NewPrivateLinkResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*PrivateLinkResourcesClient, error)`
83+
- New function `*PrivateLinkResourcesClient.Get(context.Context, string, string, string, *PrivateLinkResourcesClientGetOptions) (PrivateLinkResourcesClientGetResponse, error)`
84+
- New function `*PrivateLinkResourcesClient.NewListByClusterPager(string, string, *PrivateLinkResourcesClientListByClusterOptions) *runtime.Pager[PrivateLinkResourcesClientListByClusterResponse]`
85+
- New function `*RolesClient.Get(context.Context, string, string, string, *RolesClientGetOptions) (RolesClientGetResponse, error)`
86+
- New function `*RolesClient.NewListByClusterPager(string, string, *RolesClientListByClusterOptions) *runtime.Pager[RolesClientListByClusterResponse]`
87+
- New function `*ServersClient.NewListByClusterPager(string, string, *ServersClientListByClusterOptions) *runtime.Pager[ServersClientListByClusterResponse]`
88+
- New struct `Cluster`
89+
- New struct `ClusterConfigurationListResult`
90+
- New struct `ClusterForUpdate`
91+
- New struct `ClusterListResult`
92+
- New struct `ClusterProperties`
93+
- New struct `ClusterPropertiesForUpdate`
94+
- New struct `ClusterServer`
95+
- New struct `ClusterServerListResult`
96+
- New struct `ClusterServerProperties`
97+
- New struct `Configuration`
98+
- New struct `ConfigurationProperties`
99+
- New struct `ErrorAdditionalInfo`
100+
- New struct `ErrorDetail`
101+
- New struct `ErrorResponse`
102+
- New struct `PrivateEndpoint`
103+
- New struct `PrivateEndpointConnection`
104+
- New struct `PrivateEndpointConnectionListResult`
105+
- New struct `PrivateEndpointConnectionProperties`
106+
- New struct `PrivateEndpointConnectionSimpleProperties`
107+
- New struct `PrivateEndpointProperty`
108+
- New struct `PrivateLinkResource`
109+
- New struct `PrivateLinkResourceListResult`
110+
- New struct `PrivateLinkResourceProperties`
111+
- New struct `PrivateLinkServiceConnectionState`
112+
- New struct `SimplePrivateEndpointConnection`
113+
- New anonymous field `Configuration` in struct `ConfigurationsClientGetResponse`
114+
- New field `ProvisioningState` in struct `FirewallRuleProperties`
115+
- New field `SystemData` in struct `ProxyResource`
116+
- New field `SystemData` in struct `Resource`
117+
- New field `ProvisioningState` in struct `RoleProperties`
118+
- New field `ProvisioningState`, `RequiresRestart` in struct `ServerConfigurationProperties`
119+
- New field `AdministratorLogin`, `EnablePublicIPAccess`, `IsReadOnly` in struct `ServerProperties`
120+
- New anonymous field `ClusterServer` in struct `ServersClientGetResponse`
121+
- New field `SystemData` in struct `TrackedResource`
122+
123+
3124
## 0.6.0 (2023-03-31)
4125
### Features Added
5126

sdk/resourcemanager/postgresqlhsc/armpostgresqlhsc/autorest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/postgresqlhsc/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/postgresqlhsc/resource-manager/readme.go.md
8+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/postgresqlhsc/resource-manager/readme.md
9+
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/postgresqlhsc/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 0.6.0
11+
module-version: 1.0.0
1212

1313
```

sdk/resourcemanager/postgresqlhsc/armpostgresqlhsc/client_factory.go

Lines changed: 13 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)