Skip to content

Commit

Permalink
[AutoRelease] t2-postgresqlflexibleservers-2024-12-04-48717(can only …
Browse files Browse the repository at this point in the history
…be merged by SDK owner) (Azure#38763)

* code and test

* update testcases

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <[email protected]>
  • Loading branch information
azure-sdk and ChenxiJiang333 authored Dec 16, 2024
1 parent 4eb9549 commit ebb43e7
Show file tree
Hide file tree
Showing 70 changed files with 817 additions and 707 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 1.1.0b2 (2024-12-16)

### Features Added

- Model `ServerForUpdate` added property `cluster`

## 1.1.0b1 (2024-11-04)

### Features Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "8abf88fb9caa0bfea8d4026a4b7628bbe47961ed",
"commit": "f3245a566562790a4a0229cb53761fd1c4125e33",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.19.0",
"@autorest/python@6.26.4",
"@autorest/[email protected]"
],
"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-11-01-preview --use=@autorest/python@6.19.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"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-11-01-preview --use=@autorest/python@6.26.4 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"readme": "specification/postgresql/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,28 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wrong-import-position

from ._postgre_sql_management_client import PostgreSQLManagementClient
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._postgre_sql_management_client import PostgreSQLManagementClient # type: ignore
from ._version import VERSION

__version__ = VERSION

try:
from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
from ._patch import *
except ImportError:
_patch_all = []
from ._patch import patch_sdk as _patch_sdk

__all__ = [
"PostgreSQLManagementClient",
]
__all__.extend([p for p in _patch_all if p not in __all__])
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore

_patch_sdk()
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
from ._version import VERSION

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials import TokenCredential


class PostgreSQLManagementClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
class PostgreSQLManagementClientConfiguration: # pylint: disable=too-many-instance-attributes
"""Configuration for PostgreSQLManagementClient.
Note that all parameters used to create this instance are saved as instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,12 @@
)

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials import TokenCredential


class PostgreSQLManagementClient(
PostgreSQLManagementClientOperationsMixin
): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
): # pylint: disable=too-many-instance-attributes
"""The Microsoft Azure management API provides create, read, update, and delete functionality for
Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security
alert policies, log files and configurations with new business model.
Expand Down
Loading

0 comments on commit ebb43e7

Please sign in to comment.