Skip to content

Commit d565c1a

Browse files
azure-sdknasc17msyyc
authored
[AutoRelease] t2-postgresqlflexibleservers-2024-10-08-80057(can only be merged by SDK owner) (Azure#37767)
* code and test * Update CHANGELOG.md List of features coming into new api version * Update CHANGELOG.md with correct formatting To track changes included from initial preview version * Update CHANGELOG.md * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: nasc17 <[email protected]> Co-authored-by: Yuchao Yan <[email protected]>
1 parent 0ec37cc commit d565c1a

File tree

129 files changed

+862
-627
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+862
-627
lines changed

sdk/postgresqlflexibleservers/azure-mgmt-postgresqlflexibleservers/CHANGELOG.md

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

3+
## 1.0.0 (2024-10-11)
4+
5+
### Features Added
6+
7+
- Enum `Origin` added member `CUSTOMER_ON_DEMAND`
8+
- Model `ServerForUpdate` added property `administrator_login`
9+
- Model `BackupsOperations` added method `begin_create`
10+
- Model `BackupsOperations` added method `begin_delete`
11+
- Added operation group `LongRunningBackupOperations`
12+
- Added operation group `LongRunningBackupsOperations`
13+
- Added operation group `MaintenancesOperations`
14+
- Added operation group `LogFilesOperations`
15+
- Added operation group `MigrationsOperations`
16+
- Added operation group `PrivateEndpointConnectionOperations`
17+
- Added operation group `VirtualEndpointsOperations`
18+
- Added operation group `ServerThreatProtectionSettingsOperations`
19+
- Added operation group `AdvancedThreatProtectionSettingsOperations`
20+
- Added operation group `LocationBasedCapabilitySetOperations`
21+
- Added operation group `OperationProgressOperations`
22+
- Added operation group `OperationResultsOperations`
23+
- Model `DataEncryption` has a new parameter `geo_backup_encryption_key_status`
24+
- Model `DataEncryption` has a new parameter `geo_backup_key_uri`
25+
- Model `DataEncryption` has a new parameter `geo_backup_user_assigned_identity_id`
26+
- Model `DataEncryption` has a new parameter `primary_encryption_key_status`
27+
- Model `Storage` has a new parameter `auto_grow`
28+
- Model `Storage` has a new parameter `iops`
29+
- Model `Storage` has a new parameter `iops_tier`
30+
- Model `Storage` has a new parameter `throughput`
31+
- Model `Storage` has a new parameter `type`
32+
- Model `Server` has a new parameter `private_endpoint_connections`
33+
- Model `Server` has a new parameter `replica`
34+
- Model `ServerForUpdate` has a new parameter `replica`
35+
36+
### Breaking Changes
37+
38+
- Deleted or renamed client operation group `PostgreSQLManagementClient.quota_usages`
39+
- Deleted or renamed model `NameProperty`
40+
- Deleted or renamed model `QuotaUsage`
41+
- Deleted or renamed model `QuotaUsagesOperations`
42+
343
## 1.0.0b1 (2024-08-27)
444

545
### Other Changes
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "d85634405ec3b905f1b0bfc350e47cb704aedb61",
2+
"commit": "9a8af2acfafc4d7a23eff41b859d2d332f51b0bc",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
66
"@autorest/[email protected]",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/postgresql/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --tag=package-flexibleserver-2023-12-01-preview --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/postgresql/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --tag=package-flexibleserver-2024-08-01 --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/postgresql/resource-manager/readme.md"
1111
}

sdk/postgresqlflexibleservers/azure-mgmt-postgresqlflexibleservers/azure/mgmt/postgresqlflexibleservers/_configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ class PostgreSQLManagementClientConfiguration: # pylint: disable=too-many-insta
2828
:type credential: ~azure.core.credentials.TokenCredential
2929
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3030
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2023-12-01-preview". Note that overriding
32-
this default value may result in unsupported behavior.
31+
:keyword api_version: Api Version. Default value is "2024-08-01". Note that overriding this
32+
default value may result in unsupported behavior.
3333
:paramtype api_version: str
3434
"""
3535

3636
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2023-12-01-preview")
37+
api_version: str = kwargs.pop("api_version", "2024-08-01")
3838

3939
if credential is None:
4040
raise ValueError("Parameter 'credential' must not be None.")

sdk/postgresqlflexibleservers/azure-mgmt-postgresqlflexibleservers/azure/mgmt/postgresqlflexibleservers/_postgre_sql_management_client.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
PrivateEndpointConnectionOperations,
3838
PrivateEndpointConnectionsOperations,
3939
PrivateLinkResourcesOperations,
40-
QuotaUsagesOperations,
4140
ReplicasOperations,
4241
ServerCapabilitiesOperations,
4342
ServerThreatProtectionSettingsOperations,
@@ -108,8 +107,6 @@ class PostgreSQLManagementClient(
108107
:ivar private_link_resources: PrivateLinkResourcesOperations operations
109108
:vartype private_link_resources:
110109
azure.mgmt.postgresqlflexibleservers.operations.PrivateLinkResourcesOperations
111-
:ivar quota_usages: QuotaUsagesOperations operations
112-
:vartype quota_usages: azure.mgmt.postgresqlflexibleservers.operations.QuotaUsagesOperations
113110
:ivar replicas: ReplicasOperations operations
114111
:vartype replicas: azure.mgmt.postgresqlflexibleservers.operations.ReplicasOperations
115112
:ivar log_files: LogFilesOperations operations
@@ -129,8 +126,8 @@ class PostgreSQLManagementClient(
129126
:type subscription_id: str
130127
:param base_url: Service URL. Default value is "https://management.azure.com".
131128
:type base_url: str
132-
:keyword api_version: Api Version. Default value is "2023-12-01-preview". Note that overriding
133-
this default value may result in unsupported behavior.
129+
:keyword api_version: Api Version. Default value is "2024-08-01". Note that overriding this
130+
default value may result in unsupported behavior.
134131
:paramtype api_version: str
135132
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
136133
Retry-After header is present.
@@ -206,7 +203,6 @@ def __init__(
206203
self.private_link_resources = PrivateLinkResourcesOperations(
207204
self._client, self._config, self._serialize, self._deserialize
208205
)
209-
self.quota_usages = QuotaUsagesOperations(self._client, self._config, self._serialize, self._deserialize)
210206
self.replicas = ReplicasOperations(self._client, self._config, self._serialize, self._deserialize)
211207
self.log_files = LogFilesOperations(self._client, self._config, self._serialize, self._deserialize)
212208
self.server_threat_protection_settings = ServerThreatProtectionSettingsOperations(

sdk/postgresqlflexibleservers/azure-mgmt-postgresqlflexibleservers/azure/mgmt/postgresqlflexibleservers/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "1.0.0b1"
9+
VERSION = "1.0.0"

sdk/postgresqlflexibleservers/azure-mgmt-postgresqlflexibleservers/azure/mgmt/postgresqlflexibleservers/aio/_configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ class PostgreSQLManagementClientConfiguration: # pylint: disable=too-many-insta
2828
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
2929
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3030
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2023-12-01-preview". Note that overriding
32-
this default value may result in unsupported behavior.
31+
:keyword api_version: Api Version. Default value is "2024-08-01". Note that overriding this
32+
default value may result in unsupported behavior.
3333
:paramtype api_version: str
3434
"""
3535

3636
def __init__(self, credential: "AsyncTokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2023-12-01-preview")
37+
api_version: str = kwargs.pop("api_version", "2024-08-01")
3838

3939
if credential is None:
4040
raise ValueError("Parameter 'credential' must not be None.")

sdk/postgresqlflexibleservers/azure-mgmt-postgresqlflexibleservers/azure/mgmt/postgresqlflexibleservers/aio/_postgre_sql_management_client.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
PrivateEndpointConnectionOperations,
3838
PrivateEndpointConnectionsOperations,
3939
PrivateLinkResourcesOperations,
40-
QuotaUsagesOperations,
4140
ReplicasOperations,
4241
ServerCapabilitiesOperations,
4342
ServerThreatProtectionSettingsOperations,
@@ -108,9 +107,6 @@ class PostgreSQLManagementClient(
108107
:ivar private_link_resources: PrivateLinkResourcesOperations operations
109108
:vartype private_link_resources:
110109
azure.mgmt.postgresqlflexibleservers.aio.operations.PrivateLinkResourcesOperations
111-
:ivar quota_usages: QuotaUsagesOperations operations
112-
:vartype quota_usages:
113-
azure.mgmt.postgresqlflexibleservers.aio.operations.QuotaUsagesOperations
114110
:ivar replicas: ReplicasOperations operations
115111
:vartype replicas: azure.mgmt.postgresqlflexibleservers.aio.operations.ReplicasOperations
116112
:ivar log_files: LogFilesOperations operations
@@ -130,8 +126,8 @@ class PostgreSQLManagementClient(
130126
:type subscription_id: str
131127
:param base_url: Service URL. Default value is "https://management.azure.com".
132128
:type base_url: str
133-
:keyword api_version: Api Version. Default value is "2023-12-01-preview". Note that overriding
134-
this default value may result in unsupported behavior.
129+
:keyword api_version: Api Version. Default value is "2024-08-01". Note that overriding this
130+
default value may result in unsupported behavior.
135131
:paramtype api_version: str
136132
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
137133
Retry-After header is present.
@@ -207,7 +203,6 @@ def __init__(
207203
self.private_link_resources = PrivateLinkResourcesOperations(
208204
self._client, self._config, self._serialize, self._deserialize
209205
)
210-
self.quota_usages = QuotaUsagesOperations(self._client, self._config, self._serialize, self._deserialize)
211206
self.replicas = ReplicasOperations(self._client, self._config, self._serialize, self._deserialize)
212207
self.log_files = LogFilesOperations(self._client, self._config, self._serialize, self._deserialize)
213208
self.server_threat_protection_settings = ServerThreatProtectionSettingsOperations(

sdk/postgresqlflexibleservers/azure-mgmt-postgresqlflexibleservers/azure/mgmt/postgresqlflexibleservers/aio/operations/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations
2626
from ._private_endpoint_connection_operations import PrivateEndpointConnectionOperations
2727
from ._private_link_resources_operations import PrivateLinkResourcesOperations
28-
from ._quota_usages_operations import QuotaUsagesOperations
2928
from ._replicas_operations import ReplicasOperations
3029
from ._log_files_operations import LogFilesOperations
3130
from ._server_threat_protection_settings_operations import ServerThreatProtectionSettingsOperations
@@ -56,7 +55,6 @@
5655
"PrivateEndpointConnectionsOperations",
5756
"PrivateEndpointConnectionOperations",
5857
"PrivateLinkResourcesOperations",
59-
"QuotaUsagesOperations",
6058
"ReplicasOperations",
6159
"LogFilesOperations",
6260
"ServerThreatProtectionSettingsOperations",

0 commit comments

Comments
 (0)