Skip to content

Commit cd6094f

Browse files
author
SDKAuto
committed
CodeGen from PR 22124 in Azure/azure-rest-api-specs
Merge f1da0a451cfd9bdc509645684ea210ff5a89acfb into dea4d453ca250eae677d69751d909df00d6b6b05
1 parent 3a39031 commit cd6094f

30 files changed

+5624
-3647
lines changed

sdk/resourcemanager/postgresqlhsc/armpostgresqlhsc/CHANGELOG.md

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

3+
## 1.0.0 (2023-02-01)
4+
### Breaking Changes
5+
6+
- Type of `ServerProperties.ServerEdition` has been changed from `*ServerEdition` to `*string`
7+
- Type alias `CitusVersion` has been removed
8+
- Type alias `CreateMode` has been removed
9+
- Type alias `PostgreSQLVersion` has been removed
10+
- Type alias `ResourceProviderType` has been removed
11+
- Type alias `ServerEdition` has been removed
12+
- Type alias `ServerHaState` has been removed
13+
- Type alias `ServerState` has been removed
14+
- Function `*ConfigurationsClient.NewListByServerGroupPager` has been removed
15+
- Function `*ConfigurationsClient.BeginUpdate` has been removed
16+
- Function `*FirewallRulesClient.NewListByServerGroupPager` has been removed
17+
- Function `*RolesClient.NewListByServerGroupPager` has been removed
18+
- Function `NewServerGroupsClient` has been removed
19+
- Function `*ServerGroupsClient.CheckNameAvailability` has been removed
20+
- Function `*ServerGroupsClient.BeginCreateOrUpdate` has been removed
21+
- Function `*ServerGroupsClient.BeginDelete` has been removed
22+
- Function `*ServerGroupsClient.Get` has been removed
23+
- Function `*ServerGroupsClient.NewListByResourceGroupPager` has been removed
24+
- Function `*ServerGroupsClient.NewListPager` has been removed
25+
- Function `*ServerGroupsClient.BeginRestart` has been removed
26+
- Function `*ServerGroupsClient.BeginStart` has been removed
27+
- Function `*ServerGroupsClient.BeginStop` has been removed
28+
- Function `*ServerGroupsClient.BeginUpdate` has been removed
29+
- Function `*ServersClient.NewListByServerGroupPager` has been removed
30+
- Struct `CloudError` has been removed
31+
- Struct `CloudErrorBody` has been removed
32+
- Struct `ConfigurationsClientListByServerGroupResponse` has been removed
33+
- Struct `ConfigurationsClientUpdateResponse` has been removed
34+
- Struct `FirewallRulesClientListByServerGroupResponse` has been removed
35+
- Struct `RolesClientListByServerGroupResponse` has been removed
36+
- Struct `ServerGroup` has been removed
37+
- Struct `ServerGroupConfiguration` has been removed
38+
- Struct `ServerGroupConfigurationListResult` has been removed
39+
- Struct `ServerGroupConfigurationProperties` has been removed
40+
- Struct `ServerGroupForUpdate` has been removed
41+
- Struct `ServerGroupListResult` has been removed
42+
- Struct `ServerGroupProperties` has been removed
43+
- Struct `ServerGroupPropertiesDelegatedSubnetArguments` has been removed
44+
- Struct `ServerGroupPropertiesForUpdate` has been removed
45+
- Struct `ServerGroupPropertiesPrivateDNSZoneArguments` has been removed
46+
- Struct `ServerGroupServer` has been removed
47+
- Struct `ServerGroupServerListResult` has been removed
48+
- Struct `ServerGroupServerProperties` has been removed
49+
- Struct `ServerGroupsClient` has been removed
50+
- Struct `ServerGroupsClientCreateOrUpdateResponse` has been removed
51+
- Struct `ServerGroupsClientDeleteResponse` has been removed
52+
- Struct `ServerGroupsClientListByResourceGroupResponse` has been removed
53+
- Struct `ServerGroupsClientListResponse` has been removed
54+
- Struct `ServerGroupsClientRestartResponse` has been removed
55+
- Struct `ServerGroupsClientStartResponse` has been removed
56+
- Struct `ServerGroupsClientStopResponse` has been removed
57+
- Struct `ServerGroupsClientUpdateResponse` has been removed
58+
- Struct `ServerRoleGroup` has been removed
59+
- Struct `ServersClientListByServerGroupResponse` has been removed
60+
- Field `ServerGroupConfiguration` of struct `ConfigurationsClientGetResponse` has been removed
61+
- Field `ServerGroupServer` of struct `ServersClientGetResponse` has been removed
62+
63+
### Features Added
64+
65+
- New type alias `PrivateEndpointConnectionProvisioningState` with values `PrivateEndpointConnectionProvisioningStateCreating`, `PrivateEndpointConnectionProvisioningStateDeleting`, `PrivateEndpointConnectionProvisioningStateFailed`, `PrivateEndpointConnectionProvisioningStateSucceeded`
66+
- New type alias `PrivateEndpointServiceConnectionStatus` with values `PrivateEndpointServiceConnectionStatusApproved`, `PrivateEndpointServiceConnectionStatusPending`, `PrivateEndpointServiceConnectionStatusRejected`
67+
- New type alias `ProvisioningState` with values `ProvisioningStateCanceled`, `ProvisioningStateFailed`, `ProvisioningStateInProgress`, `ProvisioningStateSucceeded`
68+
- New function `NewClustersClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ClustersClient, error)`
69+
- New function `*ClustersClient.CheckNameAvailability(context.Context, NameAvailabilityRequest, *ClustersClientCheckNameAvailabilityOptions) (ClustersClientCheckNameAvailabilityResponse, error)`
70+
- New function `*ClustersClient.BeginCreateOrUpdate(context.Context, string, string, Cluster, *ClustersClientBeginCreateOrUpdateOptions) (*runtime.Poller[ClustersClientCreateOrUpdateResponse], error)`
71+
- New function `*ClustersClient.BeginDelete(context.Context, string, string, *ClustersClientBeginDeleteOptions) (*runtime.Poller[ClustersClientDeleteResponse], error)`
72+
- New function `*ClustersClient.Get(context.Context, string, string, *ClustersClientGetOptions) (ClustersClientGetResponse, error)`
73+
- New function `*ClustersClient.NewListByResourceGroupPager(string, *ClustersClientListByResourceGroupOptions) *runtime.Pager[ClustersClientListByResourceGroupResponse]`
74+
- New function `*ClustersClient.NewListPager(*ClustersClientListOptions) *runtime.Pager[ClustersClientListResponse]`
75+
- New function `*ClustersClient.BeginPromoteReadReplica(context.Context, string, string, *ClustersClientBeginPromoteReadReplicaOptions) (*runtime.Poller[ClustersClientPromoteReadReplicaResponse], error)`
76+
- New function `*ClustersClient.BeginRestart(context.Context, string, string, *ClustersClientBeginRestartOptions) (*runtime.Poller[ClustersClientRestartResponse], error)`
77+
- New function `*ClustersClient.BeginStart(context.Context, string, string, *ClustersClientBeginStartOptions) (*runtime.Poller[ClustersClientStartResponse], error)`
78+
- New function `*ClustersClient.BeginStop(context.Context, string, string, *ClustersClientBeginStopOptions) (*runtime.Poller[ClustersClientStopResponse], error)`
79+
- New function `*ClustersClient.BeginUpdate(context.Context, string, string, ClusterForUpdate, *ClustersClientBeginUpdateOptions) (*runtime.Poller[ClustersClientUpdateResponse], error)`
80+
- New function `*ConfigurationsClient.BeginCreateOrUpdateCoordinator(context.Context, string, string, string, ServerConfiguration, *ConfigurationsClientBeginCreateOrUpdateCoordinatorOptions) (*runtime.Poller[ConfigurationsClientCreateOrUpdateCoordinatorResponse], error)`
81+
- New function `*ConfigurationsClient.BeginCreateOrUpdateNode(context.Context, string, string, string, ServerConfiguration, *ConfigurationsClientBeginCreateOrUpdateNodeOptions) (*runtime.Poller[ConfigurationsClientCreateOrUpdateNodeResponse], error)`
82+
- New function `*ConfigurationsClient.GetCoordinator(context.Context, string, string, string, *ConfigurationsClientGetCoordinatorOptions) (ConfigurationsClientGetCoordinatorResponse, error)`
83+
- New function `*ConfigurationsClient.GetNode(context.Context, string, string, string, *ConfigurationsClientGetNodeOptions) (ConfigurationsClientGetNodeResponse, error)`
84+
- New function `*ConfigurationsClient.NewListByClusterPager(string, string, *ConfigurationsClientListByClusterOptions) *runtime.Pager[ConfigurationsClientListByClusterResponse]`
85+
- New function `*FirewallRulesClient.NewListByClusterPager(string, string, *FirewallRulesClientListByClusterOptions) *runtime.Pager[FirewallRulesClientListByClusterResponse]`
86+
- New function `NewPrivateEndpointConnectionsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*PrivateEndpointConnectionsClient, error)`
87+
- New function `*PrivateEndpointConnectionsClient.BeginCreateOrUpdate(context.Context, string, string, string, PrivateEndpointConnection, *PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions) (*runtime.Poller[PrivateEndpointConnectionsClientCreateOrUpdateResponse], error)`
88+
- New function `*PrivateEndpointConnectionsClient.BeginDelete(context.Context, string, string, string, *PrivateEndpointConnectionsClientBeginDeleteOptions) (*runtime.Poller[PrivateEndpointConnectionsClientDeleteResponse], error)`
89+
- New function `*PrivateEndpointConnectionsClient.Get(context.Context, string, string, string, *PrivateEndpointConnectionsClientGetOptions) (PrivateEndpointConnectionsClientGetResponse, error)`
90+
- New function `*PrivateEndpointConnectionsClient.NewListByClusterPager(string, string, *PrivateEndpointConnectionsClientListByClusterOptions) *runtime.Pager[PrivateEndpointConnectionsClientListByClusterResponse]`
91+
- New function `NewPrivateLinkResourcesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*PrivateLinkResourcesClient, error)`
92+
- New function `*PrivateLinkResourcesClient.Get(context.Context, string, string, string, *PrivateLinkResourcesClientGetOptions) (PrivateLinkResourcesClientGetResponse, error)`
93+
- New function `*PrivateLinkResourcesClient.NewListByClusterPager(string, string, *PrivateLinkResourcesClientListByClusterOptions) *runtime.Pager[PrivateLinkResourcesClientListByClusterResponse]`
94+
- New function `*RolesClient.Get(context.Context, string, string, string, *RolesClientGetOptions) (RolesClientGetResponse, error)`
95+
- New function `*RolesClient.NewListByClusterPager(string, string, *RolesClientListByClusterOptions) *runtime.Pager[RolesClientListByClusterResponse]`
96+
- New function `*ServersClient.NewListByClusterPager(string, string, *ServersClientListByClusterOptions) *runtime.Pager[ServersClientListByClusterResponse]`
97+
- New struct `Cluster`
98+
- New struct `ClusterConfigurationListResult`
99+
- New struct `ClusterForUpdate`
100+
- New struct `ClusterListResult`
101+
- New struct `ClusterProperties`
102+
- New struct `ClusterPropertiesForUpdate`
103+
- New struct `ClusterServer`
104+
- New struct `ClusterServerListResult`
105+
- New struct `ClusterServerProperties`
106+
- New struct `ClustersClient`
107+
- New struct `ClustersClientCreateOrUpdateResponse`
108+
- New struct `ClustersClientDeleteResponse`
109+
- New struct `ClustersClientListByResourceGroupResponse`
110+
- New struct `ClustersClientListResponse`
111+
- New struct `ClustersClientPromoteReadReplicaResponse`
112+
- New struct `ClustersClientRestartResponse`
113+
- New struct `ClustersClientStartResponse`
114+
- New struct `ClustersClientStopResponse`
115+
- New struct `ClustersClientUpdateResponse`
116+
- New struct `Configuration`
117+
- New struct `ConfigurationProperties`
118+
- New struct `ConfigurationsClientCreateOrUpdateCoordinatorResponse`
119+
- New struct `ConfigurationsClientCreateOrUpdateNodeResponse`
120+
- New struct `ConfigurationsClientListByClusterResponse`
121+
- New struct `ErrorAdditionalInfo`
122+
- New struct `ErrorDetail`
123+
- New struct `ErrorResponse`
124+
- New struct `FirewallRulesClientListByClusterResponse`
125+
- New struct `PrivateEndpoint`
126+
- New struct `PrivateEndpointConnection`
127+
- New struct `PrivateEndpointConnectionListResult`
128+
- New struct `PrivateEndpointConnectionProperties`
129+
- New struct `PrivateEndpointConnectionSimpleProperties`
130+
- New struct `PrivateEndpointConnectionsClient`
131+
- New struct `PrivateEndpointConnectionsClientCreateOrUpdateResponse`
132+
- New struct `PrivateEndpointConnectionsClientDeleteResponse`
133+
- New struct `PrivateEndpointConnectionsClientListByClusterResponse`
134+
- New struct `PrivateEndpointProperty`
135+
- New struct `PrivateLinkResource`
136+
- New struct `PrivateLinkResourceListResult`
137+
- New struct `PrivateLinkResourceProperties`
138+
- New struct `PrivateLinkResourcesClient`
139+
- New struct `PrivateLinkResourcesClientListByClusterResponse`
140+
- New struct `PrivateLinkServiceConnectionState`
141+
- New struct `RolesClientListByClusterResponse`
142+
- New struct `ServersClientListByClusterResponse`
143+
- New struct `SimplePrivateEndpointConnection`
144+
- New anonymous field `Configuration` in struct `ConfigurationsClientGetResponse`
145+
- New field `ProvisioningState` in struct `FirewallRuleProperties`
146+
- New field `SystemData` in struct `ProxyResource`
147+
- New field `SystemData` in struct `Resource`
148+
- New field `ProvisioningState` in struct `RoleProperties`
149+
- New field `ProvisioningState` in struct `ServerConfigurationProperties`
150+
- New field `RequiresRestart` in struct `ServerConfigurationProperties`
151+
- New anonymous field `ClusterServer` in struct `ServersClientGetResponse`
152+
- New field `SystemData` in struct `TrackedResource`
153+
154+
3155
## 0.5.0 (2022-05-18)
4156

5157
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.

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.5.0
11+
module-version: 1.0.0
1212

1313
```

0 commit comments

Comments
 (0)