@@ -77,6 +77,7 @@ import * as postgresql from "@pulumi/postgresql";
7777const myDb1 = new postgresql .Database (" my_db1" , {name: " my_db1" });
7878const myDb2 = new postgresql .Database (" my_db2" , {name: " my_db2" });
7979```
80+
8081{{% /choosable %}}
8182{{% choosable language python %}}
8283``` python
@@ -86,6 +87,7 @@ import pulumi_postgresql as postgresql
8687my_db1 = postgresql.Database(" my_db1" , name = " my_db1" )
8788my_db2 = postgresql.Database(" my_db2" , name = " my_db2" )
8889```
90+
8991{{% /choosable %}}
9092{{% choosable language csharp %}}
9193``` csharp
@@ -109,6 +111,7 @@ return await Deployment.RunAsync(() =>
109111});
110112
111113```
114+
112115{{% /choosable %}}
113116{{% choosable language go %}}
114117``` go
@@ -137,6 +140,7 @@ func main() {
137140 })
138141}
139142```
143+
140144{{% /choosable %}}
141145{{% choosable language yaml %}}
142146``` yaml
@@ -152,6 +156,7 @@ resources:
152156 properties :
153157 name : my_db2
154158` ` `
159+
155160{{% /choosable %}}
156161{{% choosable language java %}}
157162` ` ` java
@@ -186,6 +191,7 @@ public class App {
186191 }
187192}
188193```
194+
189195{{% /choosable %}}
190196{{< /chooser >}}
191197## Injecting Credentials
@@ -357,6 +363,7 @@ config:
357363 value : ' TODO: google_sql_user.postgres.name'
358364
359365```
366+
360367``` typescript
361368import * as pulumi from " @pulumi/pulumi" ;
362369import * as gcp from " @pulumi/gcp" ;
@@ -379,6 +386,7 @@ const postgres = new gcp.sql.User("postgres", {
379386});
380387const testDb = new postgresql .Database (" test_db" , {name: " test_db" });
381388```
389+
382390{{% /choosable %}}
383391{{% choosable language python %}}
384392``` yaml
@@ -396,6 +404,7 @@ config:
396404 value : ' TODO: google_sql_user.postgres.name'
397405
398406```
407+
399408``` python
400409import pulumi
401410import pulumi_gcp as gcp
@@ -416,6 +425,7 @@ postgres = gcp.sql.User("postgres",
416425 password = " xxxxxxxx" )
417426test_db = postgresql.Database(" test_db" , name = " test_db" )
418427```
428+
419429{{% /choosable %}}
420430{{% choosable language csharp %}}
421431``` yaml
@@ -433,6 +443,7 @@ config:
433443 value : ' TODO: google_sql_user.postgres.name'
434444
435445```
446+
436447``` csharp
437448using System .Collections .Generic ;
438449using System .Linq ;
@@ -470,6 +481,7 @@ return await Deployment.RunAsync(() =>
470481});
471482
472483```
484+
473485{{% /choosable %}}
474486{{% choosable language go %}}
475487``` yaml
@@ -487,6 +499,7 @@ config:
487499 value : ' TODO: google_sql_user.postgres.name'
488500
489501```
502+
490503``` go
491504package main
492505
@@ -529,6 +542,7 @@ func main() {
529542 })
530543}
531544```
545+
532546{{% /choosable %}}
533547{{% choosable language yaml %}}
534548``` yaml
@@ -546,6 +560,7 @@ config:
546560 value : ' TODO: google_sql_user.postgres.name'
547561
548562```
563+
549564``` yaml
550565resources :
551566 test :
@@ -570,6 +585,7 @@ resources:
570585 properties :
571586 name : test_db
572587` ` `
588+
573589{{% /choosable %}}
574590{{% choosable language java %}}
575591` ` ` yaml
@@ -587,6 +603,7 @@ config:
587603 value : ' TODO: google_sql_user.postgres.name'
588604
589605```
606+
590607``` java
591608package generated_program ;
592609
@@ -637,6 +654,7 @@ public class App {
637654 }
638655}
639656```
657+
640658{{% /choosable %}}
641659{{< /chooser >}}
642660### Azure
@@ -666,6 +684,7 @@ config:
666684 value : ' TODO: azurerm_postgresql_flexible_server_active_directory_administrator.administrators.principal_name'
667685
668686```
687+
669688``` typescript
670689import * as pulumi from " @pulumi/pulumi" ;
671690import * as azure from " @pulumi/azure" ;
@@ -687,6 +706,7 @@ const administrators = new azure.postgresql.FlexibleServerActiveDirectoryAdminis
687706 tenantId: current .then (current => current .tenantId ),
688707});
689708```
709+
690710{{% /choosable %}}
691711{{% choosable language python %}}
692712``` yaml
@@ -710,6 +730,7 @@ config:
710730 value : ' TODO: azurerm_postgresql_flexible_server_active_directory_administrator.administrators.principal_name'
711731
712732```
733+
713734``` python
714735import pulumi
715736import pulumi_azure as azure
@@ -730,6 +751,7 @@ administrators = azure.postgresql.FlexibleServerActiveDirectoryAdministrator("ad
730751 server_name = pgsql.name,
731752 tenant_id = current.tenant_id)
732753```
754+
733755{{% /choosable %}}
734756{{% choosable language csharp %}}
735757``` yaml
@@ -753,6 +775,7 @@ config:
753775 value : ' TODO: azurerm_postgresql_flexible_server_active_directory_administrator.administrators.principal_name'
754776
755777```
778+
756779``` csharp
757780using System .Collections .Generic ;
758781using System .Linq ;
@@ -788,6 +811,7 @@ return await Deployment.RunAsync(() =>
788811});
789812
790813```
814+
791815{{% /choosable %}}
792816{{% choosable language go %}}
793817``` yaml
@@ -811,6 +835,7 @@ config:
811835 value : ' TODO: azurerm_postgresql_flexible_server_active_directory_administrator.administrators.principal_name'
812836
813837```
838+
814839``` go
815840package main
816841
@@ -853,6 +878,7 @@ func main() {
853878 })
854879}
855880```
881+
856882{{% /choosable %}}
857883{{% choosable language yaml %}}
858884``` yaml
@@ -876,6 +902,7 @@ config:
876902 value : ' TODO: azurerm_postgresql_flexible_server_active_directory_administrator.administrators.principal_name'
877903
878904```
905+
879906``` yaml
880907resources :
881908 # https://registry.pulumi.io/providers/pulumi/azurerm/latest/docs/resources/postgresql_flexible_server
@@ -902,6 +929,7 @@ variables:
902929 function : azure:core:getClientConfig
903930 arguments : {}
904931` ` `
932+
905933{{% /choosable %}}
906934{{% choosable language java %}}
907935` ` ` yaml
@@ -925,6 +953,7 @@ config:
925953 value : ' TODO: azurerm_postgresql_flexible_server_active_directory_administrator.administrators.principal_name'
926954
927955```
956+
928957``` java
929958package generated_program ;
930959
@@ -974,6 +1003,7 @@ public class App {
9741003 }
9751004}
9761005```
1006+
9771007{{% / choosable % }}
9781008{{< / chooser > }}
9791009### SOCKS5 Proxy Support
0 commit comments