Skip to content
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
Expand Up @@ -627,9 +627,6 @@ def flexible_replica_create(cmd, client, resource_group_name, source_server, rep
location = source_server_object.location
location = ''.join(location.lower().split())

if source_server_object.storage.type == "PremiumV2_LRS":
raise CLIError("Read replica is not supported for servers with Premium SSD V2.")

list_location_capability_info = get_postgres_location_capability_info(cmd, location)

if tier is None and source_server_object is not None:
Expand Down Expand Up @@ -720,9 +717,6 @@ def flexible_server_georestore(cmd, client, resource_group_name, server_name, so
except Exception as e:
raise ResourceNotFoundError(e)

if source_server_object.storage.type == "PremiumV2_LRS":
raise CLIError("Geo restore is not supported for servers with Premium SSD V2.")

db_context = DbContext(
cmd=cmd, azure_sdk=postgresql_flexibleservers, cf_firewall=cf_postgres_flexible_firewall_rules,
cf_db=cf_postgres_flexible_db, cf_availability=cf_postgres_check_resource_availability,
Expand Down
Loading