diff --git a/website/docs/d/cloud_project_database.html.markdown b/website/docs/d/cloud_project_database.html.markdown index 99c0bfc51..797249976 100644 --- a/website/docs/d/cloud_project_database.html.markdown +++ b/website/docs/d/cloud_project_database.html.markdown @@ -9,6 +9,7 @@ Use this data source to get the managed database of a public cloud project. ## Example Usage To get information of a database cluster service: + ```hcl data "ovh_cloud_project_database" "db" { service_name = "XXXXXX" diff --git a/website/docs/d/cloud_project_database_ip_restrictions.html.markdown b/website/docs/d/cloud_project_database_ip_restrictions.html.markdown index ce7c5f29b..185bbef2d 100644 --- a/website/docs/d/cloud_project_database_ip_restrictions.html.markdown +++ b/website/docs/d/cloud_project_database_ip_restrictions.html.markdown @@ -9,6 +9,7 @@ Use the list of IP restrictions associated with a public cloud project. ## Example Usage To get the list of IP restriction on a database cluster service: + ```hcl data "ovh_cloud_project_database_ip_restrictions" "iprestrictions" { service_name = "XXXXXX" diff --git a/website/docs/d/cloud_project_databases.html.markdown b/website/docs/d/cloud_project_databases.html.markdown index 554372367..70852ffa8 100644 --- a/website/docs/d/cloud_project_databases.html.markdown +++ b/website/docs/d/cloud_project_databases.html.markdown @@ -9,6 +9,7 @@ Use this data source to get the list of managed databases of a public cloud proj ## Example Usage To get the list of database clusters service for a given engine: + ```hcl data "ovh_cloud_project_databases" "dbs" { service_name = "XXXXXX" diff --git a/website/docs/d/cloud_project_failover_ip_attach.html.markdown b/website/docs/d/cloud_project_failover_ip_attach.html.markdown index 4711145ab..c55386424 100644 --- a/website/docs/d/cloud_project_failover_ip_attach.html.markdown +++ b/website/docs/d/cloud_project_failover_ip_attach.html.markdown @@ -4,7 +4,7 @@ subcategory : "Additional IP" # ovh_cloud_project_failover_ip_attach (Data Source) -Use this data source to get the details of a failover ip address of a service in a public cloud project. +Use this data source to get the details of a failover IP address of a service in a public cloud project. ## Example Usage diff --git a/website/docs/r/cloud_project_database.html.markdown b/website/docs/r/cloud_project_database.html.markdown index 567d3e22c..5141edf82 100644 --- a/website/docs/r/cloud_project_database.html.markdown +++ b/website/docs/r/cloud_project_database.html.markdown @@ -18,6 +18,7 @@ interact directly with the team that builds our databases services and terraform ## Example Usage Minimum settings for each engine (region choice is up to the user): + ```hcl resource "ovh_cloud_project_database" "cassandradb" { service_name = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" @@ -135,6 +136,7 @@ resource "ovh_cloud_project_database" "redisdb" { ``` To deploy a business PostgreSQL service with two nodes on public network: + ```hcl resource "ovh_cloud_project_database" "postgresql" { service_name = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" @@ -154,6 +156,7 @@ resource "ovh_cloud_project_database" "postgresql" { To deploy an enterprise MongoDB service with three nodes on private network: + ```hcl resource "ovh_cloud_project_database" "mongodb" { service_name = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" diff --git a/website/docs/r/cloud_project_database_integration.html.markdown b/website/docs/r/cloud_project_database_integration.html.markdown index a35ce376d..0270d0872 100644 --- a/website/docs/r/cloud_project_database_integration.html.markdown +++ b/website/docs/r/cloud_project_database_integration.html.markdown @@ -13,6 +13,7 @@ Please take a look at the list of available `types` in the `Argument references` ## Example Usage Push PostgreSQL logs in an OpenSearch DB: + ```hcl data "ovh_cloud_project_database" "dbpostgresql" { service_name = "XXXX" diff --git a/website/docs/r/cloud_project_database_m3db_user.html.markdown b/website/docs/r/cloud_project_database_m3db_user.html.markdown index 05d90d03d..8b82e2d36 100644 --- a/website/docs/r/cloud_project_database_m3db_user.html.markdown +++ b/website/docs/r/cloud_project_database_m3db_user.html.markdown @@ -10,6 +10,7 @@ Creates an user for a M3DB cluster associated with a public cloud project. Create a user johndoe in a M3DB database. Output the user generated password with command `terraform output user_password`. + ```hcl data "ovh_cloud_project_database" "m3db" { service_name = "XXX" diff --git a/website/docs/r/cloud_project_database_mongodb_user.html.markdown b/website/docs/r/cloud_project_database_mongodb_user.html.markdown index 3e7d973b2..5fb37d17e 100644 --- a/website/docs/r/cloud_project_database_mongodb_user.html.markdown +++ b/website/docs/r/cloud_project_database_mongodb_user.html.markdown @@ -10,6 +10,7 @@ Creates an user for a MongoDB cluster associated with a public cloud project. Create a user johndoe in a MongoDB database. Output the user generated password with command `terraform output user_password`. + ```hcl data "ovh_cloud_project_database" "mongodb" { service_name = "XXX" diff --git a/website/docs/r/cloud_project_database_opensearch_user.html.markdown b/website/docs/r/cloud_project_database_opensearch_user.html.markdown index cc5091493..c2ebf1b71 100644 --- a/website/docs/r/cloud_project_database_opensearch_user.html.markdown +++ b/website/docs/r/cloud_project_database_opensearch_user.html.markdown @@ -10,6 +10,7 @@ Creates an user for a OpenSearch cluster associated with a public cloud project. Create a user johndoe in a OpenSearch database. Output the user generated password with command `terraform output user_password`. + ```hcl data "ovh_cloud_project_database" "opensearch" { service_name = "XXX" diff --git a/website/docs/r/cloud_project_database_postgresql_user.html.markdown b/website/docs/r/cloud_project_database_postgresql_user.html.markdown index 110b92b1e..ffecefd87 100644 --- a/website/docs/r/cloud_project_database_postgresql_user.html.markdown +++ b/website/docs/r/cloud_project_database_postgresql_user.html.markdown @@ -10,6 +10,7 @@ Creates an user for a PostgreSQL cluster associated with a public cloud project. Create a user johndoe in a PostgreSQL database. Output the user generated password with command `terraform output user_password`. + ```hcl data "ovh_cloud_project_database" "postgresql" { service_name = "XXXX" diff --git a/website/docs/r/cloud_project_database_user.html.markdown b/website/docs/r/cloud_project_database_user.html.markdown index 52b6af474..0a9fe90e8 100644 --- a/website/docs/r/cloud_project_database_user.html.markdown +++ b/website/docs/r/cloud_project_database_user.html.markdown @@ -17,6 +17,7 @@ With this resource you can create a user for the following database engine: Create a user johndoe in a database. Output the user generated password with command `terraform output user_password`. + ```hcl data "ovh_cloud_project_database" "db" { service_name = "XXXX" diff --git a/website/docs/r/dedicated_nasha_partition.markdown b/website/docs/r/dedicated_nasha_partition.markdown index 407ff6444..4a8154b6d 100644 --- a/website/docs/r/dedicated_nasha_partition.markdown +++ b/website/docs/r/dedicated_nasha_partition.markdown @@ -8,7 +8,7 @@ Provides a resource for managing partitions on HA-NAS services ## Example Usage -``` +```hcl resource "ovh_dedicated_nasha_partition" "my-partition" { service_name = "zpool-12345" name = "my-partition" diff --git a/website/docs/r/dedicated_nasha_partition_access.markdown b/website/docs/r/dedicated_nasha_partition_access.markdown index d037b8c30..3c5ec0416 100644 --- a/website/docs/r/dedicated_nasha_partition_access.markdown +++ b/website/docs/r/dedicated_nasha_partition_access.markdown @@ -8,7 +8,7 @@ Provides a resource for managing access rights to partitions on HA-NAS services ## Example Usage -``` +```hcl resource "ovh_dedicated_nasha_partition_access" "my-partition" { service_name = "zpool-12345" partition_name = "my-partition" diff --git a/website/docs/r/dedicated_nasha_partition_snapshot.markdown b/website/docs/r/dedicated_nasha_partition_snapshot.markdown index 6ebcecc5b..1bc2e414a 100644 --- a/website/docs/r/dedicated_nasha_partition_snapshot.markdown +++ b/website/docs/r/dedicated_nasha_partition_snapshot.markdown @@ -8,7 +8,7 @@ Provides a resource for managing **snapshot** to partitions on HA-NAS services ## Example Usage -``` +```hcl resource "ovh_dedicated_nasha_partition_snapshot" "my-partition" { service_name = "zpool-12345" partition_name = "my-partition" diff --git a/website/docs/r/iploadbalancing_http_farm.html.markdown b/website/docs/r/iploadbalancing_http_farm.html.markdown index ebc0535e4..9ec6ab81c 100644 --- a/website/docs/r/iploadbalancing_http_farm.html.markdown +++ b/website/docs/r/iploadbalancing_http_farm.html.markdown @@ -8,7 +8,7 @@ Creates a HTTP backend server group (farm) to be used by loadbalancing frontend( ## Example Usage -``` +```hcl data "ovh_iploadbalancing" "lb" { service_name = "ip-1.2.3.4" state = "ok" diff --git a/website/docs/r/iploadbalancing_http_farm_server.html.markdown b/website/docs/r/iploadbalancing_http_farm_server.html.markdown index b27e6c129..066ba2d4c 100644 --- a/website/docs/r/iploadbalancing_http_farm_server.html.markdown +++ b/website/docs/r/iploadbalancing_http_farm_server.html.markdown @@ -8,7 +8,7 @@ Creates a backend server entry linked to HTTP loadbalancing group (farm) ## Example Usage -``` +```hcl data "ovh_iploadbalancing" "lb" { service_name = "ip-1.2.3.4" state = "ok" diff --git a/website/docs/r/iploadbalancing_http_frontend.html.markdown b/website/docs/r/iploadbalancing_http_frontend.html.markdown index fa2d0c8aa..679cb5b1a 100644 --- a/website/docs/r/iploadbalancing_http_frontend.html.markdown +++ b/website/docs/r/iploadbalancing_http_frontend.html.markdown @@ -8,7 +8,7 @@ Creates a backend HTTP server group (frontend) to be used by loadbalancing front ## Example Usage -``` +```hcl data "ovh_iploadbalancing" "lb" { service_name = "ip-1.2.3.4" state = "ok"