Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoRelease] t2-mysqlflexibleservers-2024-11-05-47456(can only be merged by SDK owner) #38329

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Release History

## 1.0.0b3 (2024-11-18)

### Features Added

- Model `Capability` added property `supported_features`
- Model `Server` added property `full_version`
- Added model `FeatureProperty`

## 1.0.0b2 (2024-09-26)

### Features Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "2cec543b4bf04ccd1971ae69a136cf06878439b2",
"commit": "a0b2a34b9ff6d324c31e031d6e373fc3ceb38c81",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"autorest_command": "autorest specification/mysql/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-2024-06-01-preview --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"autorest_command": "autorest specification/mysql/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-10-01-preview --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
"readme": "specification/mysql/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,17 @@ class MySQLManagementClient: # pylint: disable=client-accepts-api-version-keywo
:vartype databases: azure.mgmt.mysqlflexibleservers.operations.DatabasesOperations
:ivar firewall_rules: FirewallRulesOperations operations
:vartype firewall_rules: azure.mgmt.mysqlflexibleservers.operations.FirewallRulesOperations
:ivar servers: ServersOperations operations
:vartype servers: azure.mgmt.mysqlflexibleservers.operations.ServersOperations
:ivar replicas: ReplicasOperations operations
:vartype replicas: azure.mgmt.mysqlflexibleservers.operations.ReplicasOperations
:ivar servers_migration: ServersMigrationOperations operations
:vartype servers_migration:
azure.mgmt.mysqlflexibleservers.operations.ServersMigrationOperations
:ivar advanced_threat_protection_settings: AdvancedThreatProtectionSettingsOperations
operations
:vartype advanced_threat_protection_settings:
azure.mgmt.mysqlflexibleservers.operations.AdvancedThreatProtectionSettingsOperations
:ivar log_files: LogFilesOperations operations
:vartype log_files: azure.mgmt.mysqlflexibleservers.operations.LogFilesOperations
:ivar location_based_capabilities: LocationBasedCapabilitiesOperations operations
Expand Down Expand Up @@ -105,17 +116,6 @@ class MySQLManagementClient: # pylint: disable=client-accepts-api-version-keywo
:vartype operations: azure.mgmt.mysqlflexibleservers.operations.Operations
:ivar maintenances: MaintenancesOperations operations
:vartype maintenances: azure.mgmt.mysqlflexibleservers.operations.MaintenancesOperations
:ivar servers: ServersOperations operations
:vartype servers: azure.mgmt.mysqlflexibleservers.operations.ServersOperations
:ivar replicas: ReplicasOperations operations
:vartype replicas: azure.mgmt.mysqlflexibleservers.operations.ReplicasOperations
:ivar servers_migration: ServersMigrationOperations operations
:vartype servers_migration:
azure.mgmt.mysqlflexibleservers.operations.ServersMigrationOperations
:ivar advanced_threat_protection_settings: AdvancedThreatProtectionSettingsOperations
operations
:vartype advanced_threat_protection_settings:
azure.mgmt.mysqlflexibleservers.operations.AdvancedThreatProtectionSettingsOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
Expand Down Expand Up @@ -176,6 +176,14 @@ def __init__(
self.configurations = ConfigurationsOperations(self._client, self._config, self._serialize, self._deserialize)
self.databases = DatabasesOperations(self._client, self._config, self._serialize, self._deserialize)
self.firewall_rules = FirewallRulesOperations(self._client, self._config, self._serialize, self._deserialize)
self.servers = ServersOperations(self._client, self._config, self._serialize, self._deserialize)
self.replicas = ReplicasOperations(self._client, self._config, self._serialize, self._deserialize)
self.servers_migration = ServersMigrationOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.advanced_threat_protection_settings = AdvancedThreatProtectionSettingsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.log_files = LogFilesOperations(self._client, self._config, self._serialize, self._deserialize)
self.location_based_capabilities = LocationBasedCapabilitiesOperations(
self._client, self._config, self._serialize, self._deserialize
Expand Down Expand Up @@ -203,14 +211,6 @@ def __init__(
)
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.maintenances = MaintenancesOperations(self._client, self._config, self._serialize, self._deserialize)
self.servers = ServersOperations(self._client, self._config, self._serialize, self._deserialize)
self.replicas = ReplicasOperations(self._client, self._config, self._serialize, self._deserialize)
self.servers_migration = ServersMigrationOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.advanced_threat_protection_settings = AdvancedThreatProtectionSettingsOperations(
self._client, self._config, self._serialize, self._deserialize
)

def _send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: Any) -> HttpResponse:
"""Runs the network request through the client's chained policies.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0b2"
VERSION = "1.0.0b3"
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,17 @@ class MySQLManagementClient: # pylint: disable=client-accepts-api-version-keywo
:vartype databases: azure.mgmt.mysqlflexibleservers.aio.operations.DatabasesOperations
:ivar firewall_rules: FirewallRulesOperations operations
:vartype firewall_rules: azure.mgmt.mysqlflexibleservers.aio.operations.FirewallRulesOperations
:ivar servers: ServersOperations operations
:vartype servers: azure.mgmt.mysqlflexibleservers.aio.operations.ServersOperations
:ivar replicas: ReplicasOperations operations
:vartype replicas: azure.mgmt.mysqlflexibleservers.aio.operations.ReplicasOperations
:ivar servers_migration: ServersMigrationOperations operations
:vartype servers_migration:
azure.mgmt.mysqlflexibleservers.aio.operations.ServersMigrationOperations
:ivar advanced_threat_protection_settings: AdvancedThreatProtectionSettingsOperations
operations
:vartype advanced_threat_protection_settings:
azure.mgmt.mysqlflexibleservers.aio.operations.AdvancedThreatProtectionSettingsOperations
:ivar log_files: LogFilesOperations operations
:vartype log_files: azure.mgmt.mysqlflexibleservers.aio.operations.LogFilesOperations
:ivar location_based_capabilities: LocationBasedCapabilitiesOperations operations
Expand Down Expand Up @@ -106,17 +117,6 @@ class MySQLManagementClient: # pylint: disable=client-accepts-api-version-keywo
:vartype operations: azure.mgmt.mysqlflexibleservers.aio.operations.Operations
:ivar maintenances: MaintenancesOperations operations
:vartype maintenances: azure.mgmt.mysqlflexibleservers.aio.operations.MaintenancesOperations
:ivar servers: ServersOperations operations
:vartype servers: azure.mgmt.mysqlflexibleservers.aio.operations.ServersOperations
:ivar replicas: ReplicasOperations operations
:vartype replicas: azure.mgmt.mysqlflexibleservers.aio.operations.ReplicasOperations
:ivar servers_migration: ServersMigrationOperations operations
:vartype servers_migration:
azure.mgmt.mysqlflexibleservers.aio.operations.ServersMigrationOperations
:ivar advanced_threat_protection_settings: AdvancedThreatProtectionSettingsOperations
operations
:vartype advanced_threat_protection_settings:
azure.mgmt.mysqlflexibleservers.aio.operations.AdvancedThreatProtectionSettingsOperations
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
Expand Down Expand Up @@ -177,6 +177,14 @@ def __init__(
self.configurations = ConfigurationsOperations(self._client, self._config, self._serialize, self._deserialize)
self.databases = DatabasesOperations(self._client, self._config, self._serialize, self._deserialize)
self.firewall_rules = FirewallRulesOperations(self._client, self._config, self._serialize, self._deserialize)
self.servers = ServersOperations(self._client, self._config, self._serialize, self._deserialize)
self.replicas = ReplicasOperations(self._client, self._config, self._serialize, self._deserialize)
self.servers_migration = ServersMigrationOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.advanced_threat_protection_settings = AdvancedThreatProtectionSettingsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.log_files = LogFilesOperations(self._client, self._config, self._serialize, self._deserialize)
self.location_based_capabilities = LocationBasedCapabilitiesOperations(
self._client, self._config, self._serialize, self._deserialize
Expand Down Expand Up @@ -204,14 +212,6 @@ def __init__(
)
self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
self.maintenances = MaintenancesOperations(self._client, self._config, self._serialize, self._deserialize)
self.servers = ServersOperations(self._client, self._config, self._serialize, self._deserialize)
self.replicas = ReplicasOperations(self._client, self._config, self._serialize, self._deserialize)
self.servers_migration = ServersMigrationOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.advanced_threat_protection_settings = AdvancedThreatProtectionSettingsOperations(
self._client, self._config, self._serialize, self._deserialize
)

def _send_request(
self, request: HttpRequest, *, stream: bool = False, **kwargs: Any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
from ._configurations_operations import ConfigurationsOperations
from ._databases_operations import DatabasesOperations
from ._firewall_rules_operations import FirewallRulesOperations
from ._servers_operations import ServersOperations
from ._replicas_operations import ReplicasOperations
from ._servers_migration_operations import ServersMigrationOperations
from ._advanced_threat_protection_settings_operations import AdvancedThreatProtectionSettingsOperations
from ._log_files_operations import LogFilesOperations
from ._location_based_capabilities_operations import LocationBasedCapabilitiesOperations
from ._location_based_capability_set_operations import LocationBasedCapabilitySetOperations
Expand All @@ -25,10 +29,6 @@
from ._get_private_dns_zone_suffix_operations import GetPrivateDnsZoneSuffixOperations
from ._operations import Operations
from ._maintenances_operations import MaintenancesOperations
from ._servers_operations import ServersOperations
from ._replicas_operations import ReplicasOperations
from ._servers_migration_operations import ServersMigrationOperations
from ._advanced_threat_protection_settings_operations import AdvancedThreatProtectionSettingsOperations

from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
Expand All @@ -43,6 +43,10 @@
"ConfigurationsOperations",
"DatabasesOperations",
"FirewallRulesOperations",
"ServersOperations",
"ReplicasOperations",
"ServersMigrationOperations",
"AdvancedThreatProtectionSettingsOperations",
"LogFilesOperations",
"LocationBasedCapabilitiesOperations",
"LocationBasedCapabilitySetOperations",
Expand All @@ -54,10 +58,6 @@
"GetPrivateDnsZoneSuffixOperations",
"Operations",
"MaintenancesOperations",
"ServersOperations",
"ReplicasOperations",
"ServersMigrationOperations",
"AdvancedThreatProtectionSettingsOperations",
]
__all__.extend([p for p in _patch_all if p not in __all__])
_patch_sdk()
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async def get(
_headers = kwargs.pop("headers", {}) or {}
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-10-01-preview"))
cls: ClsType[_models.AdvancedThreatProtection] = kwargs.pop("cls", None)

_request = build_get_request(
Expand Down Expand Up @@ -151,7 +151,7 @@ async def _update_initial(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-10-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
cls: ClsType[AsyncIterator[bytes]] = kwargs.pop("cls", None)

Expand Down Expand Up @@ -309,7 +309,7 @@ async def begin_update(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-10-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
cls: ClsType[_models.AdvancedThreatProtection] = kwargs.pop("cls", None)
polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True)
Expand Down Expand Up @@ -375,7 +375,7 @@ async def _update_put_initial(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-10-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
cls: ClsType[AsyncIterator[bytes]] = kwargs.pop("cls", None)

Expand Down Expand Up @@ -532,7 +532,7 @@ async def begin_update_put(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-10-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
cls: ClsType[_models.AdvancedThreatProtection] = kwargs.pop("cls", None)
polling: Union[bool, AsyncPollingMethod] = kwargs.pop("polling", True)
Expand Down Expand Up @@ -599,7 +599,7 @@ def list(
_headers = kwargs.pop("headers", {}) or {}
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-06-01-preview"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-10-01-preview"))
cls: ClsType[_models.AdvancedThreatProtectionListResult] = kwargs.pop("cls", None)

error_map: MutableMapping[int, Type[HttpResponseError]] = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ async def execute(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-12-30"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-10-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
cls: ClsType[_models.NameAvailability] = kwargs.pop("cls", None)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async def execute(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-12-30"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-10-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
cls: ClsType[_models.NameAvailability] = kwargs.pop("cls", None)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async def execute(
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-12-30"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-10-01-preview"))
content_type: Optional[str] = kwargs.pop("content_type", _headers.pop("Content-Type", None))
cls: ClsType[_models.VirtualNetworkSubnetUsageResult] = kwargs.pop("cls", None)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async def execute(self, **kwargs: Any) -> _models.GetPrivateDnsZoneSuffixRespons
_headers = kwargs.pop("headers", {}) or {}
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-12-30"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-10-01-preview"))
cls: ClsType[_models.GetPrivateDnsZoneSuffixResponse] = kwargs.pop("cls", None)

_request = build_execute_request(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def list(self, location_name: str, **kwargs: Any) -> AsyncIterable["_models.Capa
_headers = kwargs.pop("headers", {}) or {}
_params = case_insensitive_dict(kwargs.pop("params", {}) or {})

api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2023-12-30"))
api_version: str = kwargs.pop("api_version", _params.pop("api-version", "2024-10-01-preview"))
cls: ClsType[_models.CapabilitiesListResult] = kwargs.pop("cls", None)

error_map: MutableMapping[int, Type[HttpResponseError]] = {
Expand Down
Loading