پرش به مطلب اصلی

arvancloud_dbaas_postgresql_standby_suggestions (Data Source)

Multi-zone standby suggestion.

Example Usage

data "arvancloud_dbaas_postgresql_standby_suggestions" "suggestion" {
primary_datastore_engine = "postgresql"
primary_flavor_ref = "g2-4-2-0"
primary_availability_zone = "ir-thr-ba1"
standby_count = 1
}

output "suggestion" {
value = data.arvancloud_dbaas_postgresql_standby_suggestions.suggestion.suggestions_json
}

Schema

Required

  • primary_availability_zone (String) Composite availability zone of the primary instance (API primaryZone).
  • primary_datastore_engine (String)
  • primary_flavor_ref (String)
  • standby_count (Number)

Read-Only

  • id (String) The ID of this resource.
  • suggestions_json (String) JSON encoding of the multi-zone standby suggestion from the API.