Skip to content

Conversation

@azure-sdk
Copy link
Collaborator

Copilot AI review requested due to automatic review settings November 11, 2025 05:48
@azure-sdk
Copy link
Collaborator Author

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This is an auto-release PR that updates the Azure PostgreSQL Flexible Servers management SDK to version 2.0.0, transitioning from the preview API version 2025-01-01-preview to the stable API version 2025-08-01. The changes include API version updates, type hint improvements, model name refactoring, and the addition/removal of various operations.

Key changes:

  • API version updated from "2025-01-01-preview" to "2025-08-01" across all operations
  • Type hints modernized (Dict → dict, added return type annotations)
  • Model names updated for consistency (e.g., ServerForUpdate → ServerForPatch, NameAvailability → NameAvailabilityModel)
  • Operations renamed/refactored (e.g., begin_create → begin_create_or_update, list → list_by_subscription)
  • Several operation classes renamed and reorganized
  • Package version bumped from 1.2.0b1 to 2.0.0

Reviewed Changes

Copilot reviewed 70 out of 200 changed files in this pull request and generated no comments.

Show a summary per file
File Description
_servers_operations.py Updates API version, renames create operations, changes return types to None for LRO operations, updates model names
_server_threat_protection_settings_operations.py Removes list_by_server and get methods, updates model names, changes LRO return types
_replicas_operations.py Updates API version, changes return type from Iterable to ItemPaged, updates model names
_quota_usages_operations.py Updates API version, changes return type from Iterable to ItemPaged, updates model names
_private_link_resources_operations.py Updates API version, adds return type annotation, changes return type from Iterable to ItemPaged
_private_endpoint_connections_operations.py Adds update and delete operations, updates API version, changes return types
_private_endpoint_connection_operations.py File deleted entirely
_private_dns_zone_suffix_operations.py Renames class and method, updates API version
_postgre_sql_management_client_operations.py File deleted entirely
_operations.py Updates API version, changes return type from Iterable to ItemPaged, updates model names
_name_availability_operations.py New file with check_globally and check_with_location methods
_migrations_operations.py Updates parameter names, model names, renames delete to cancel, adds check_name_availability method
_firewall_rules_operations.py Updates API version, changes LRO return types to None, adds validation pattern changes
_databases_operations.py Updates API version, changes LRO return types to None, updates documentation
_configurations_operations.py Updates API version, changes LRO return types to None, changes model references
_check_name_availability_with_location_operations.py File deleted entirely
_check_name_availability_operations.py File deleted entirely
_captured_logs_operations.py Renames class from LogFilesOperations to CapturedLogsOperations, updates model names
_capabilities_by_server_operations.py Renames class, updates API version, changes return types
_capabilities_by_location_operations.py Renames class and method, updates API version, updates model names
_backups_long_term_retention_operations.py Renames methods and models, adds get and list_by_server methods, updates API version
_advanced_threat_protection_settings_operations.py Replaces LtrBackupOperations with AdvancedThreatProtectionSettings operations
_version.py Version bumped from 1.2.0b1 to 2.0.0
init.py (mgmt) Adds type ignore comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant