package
4.42.0
Repository: https://github.com/pulumi/pulumi-azure.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
GetActiveDirectoryAdministrator gets an existing ActiveDirectoryAdministrator resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetConfiguration gets an existing Configuration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetDatabase gets an existing Database resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetFirewallRule gets an existing FirewallRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetFlexibleServer gets an existing FlexibleServer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetFlexibleServerConfiguration gets an existing FlexibleServerConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetFlexibleServerDatabase gets an existing FlexibleServerDatabase resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetFlexibleServerFirewallRule gets an existing FlexibleServerFirewallRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetServer gets an existing Server resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetServerKey gets an existing ServerKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetVirtualNetworkRule gets an existing VirtualNetworkRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
Use this data source to access information about an existing PostgreSQL Flexible Server.
No description provided by the author
Use this data source to access information about an existing PostgreSQL Azure Database Server.
No description provided by the author
NewActiveDirectoryAdministrator registers a new resource with the given unique name, arguments, and options.
NewConfiguration registers a new resource with the given unique name, arguments, and options.
NewDatabase registers a new resource with the given unique name, arguments, and options.
NewFirewallRule registers a new resource with the given unique name, arguments, and options.
NewFlexibleServer registers a new resource with the given unique name, arguments, and options.
NewFlexibleServerConfiguration registers a new resource with the given unique name, arguments, and options.
NewFlexibleServerDatabase registers a new resource with the given unique name, arguments, and options.
NewFlexibleServerFirewallRule registers a new resource with the given unique name, arguments, and options.
NewServer registers a new resource with the given unique name, arguments, and options.
NewServerKey registers a new resource with the given unique name, arguments, and options.
NewVirtualNetworkRule registers a new resource with the given unique name, arguments, and options.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Allows you to set a user or group as the AD administrator for an PostgreSQL server in Azure ## Example Usage ```go package main import ( "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/postgresql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := core.GetClientConfig(ctx, nil, nil) if err != nil { return err } exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleServer, err := postgresql.NewServer(ctx, "exampleServer", &postgresql.ServerArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Version: pulumi.String("9.6"), AdministratorLogin: pulumi.String("4dm1n157r470r"), AdministratorLoginPassword: pulumi.String("4-v3ry-53cr37-p455w0rd"), }) if err != nil { return err } _, err = postgresql.NewActiveDirectoryAdministrator(ctx, "exampleActiveDirectoryAdministrator", &postgresql.ActiveDirectoryAdministratorArgs{ ServerName: exampleServer.Name, ResourceGroupName: exampleResourceGroup.Name, Login: pulumi.String("sqladmin"), TenantId: pulumi.String(current.TenantId), ObjectId: pulumi.String(current.ObjectId), }) if err != nil { return err } return nil }) } ``` ## Import A PostgreSQL Active Directory Administrator can be imported using the `resource id`, e.g.
The set of arguments for constructing a ActiveDirectoryAdministrator resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Sets a PostgreSQL Configuration value on a PostgreSQL Server.
The set of arguments for constructing a Configuration resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Manages a PostgreSQL Database within a PostgreSQL Server ## Example Usage ```go package main import ( "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/postgresql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleServer, err := postgresql.NewServer(ctx, "exampleServer", &postgresql.ServerArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, SkuName: pulumi.String("B_Gen5_2"), StorageMb: pulumi.Int(5120), BackupRetentionDays: pulumi.Int(7), GeoRedundantBackupEnabled: pulumi.Bool(false), AutoGrowEnabled: pulumi.Bool(true), AdministratorLogin: pulumi.String("psqladmin"), AdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), Version: pulumi.String("9.5"), SslEnforcementEnabled: pulumi.Bool(true), }) if err != nil { return err } _, err = postgresql.NewDatabase(ctx, "exampleDatabase", &postgresql.DatabaseArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleServer.Name, Charset: pulumi.String("UTF8"), Collation: pulumi.String("English_United States.1252"), }) if err != nil { return err } return nil }) } ``` ## Import PostgreSQL Database's can be imported using the `resource id`, e.g.
The set of arguments for constructing a Database resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Manages a Firewall Rule for a PostgreSQL Server ## Example Usage ### Single IP Address) ```go package main import ( "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/postgresql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleServer, err := postgresql.NewServer(ctx, "exampleServer", nil) if err != nil { return err } _, err = postgresql.NewFirewallRule(ctx, "exampleFirewallRule", &postgresql.FirewallRuleArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleServer.Name, StartIpAddress: pulumi.String("40.112.8.12"), EndIpAddress: pulumi.String("40.112.8.12"), }) if err != nil { return err } return nil }) } ``` ### IP Range) ```go package main import ( "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/postgresql" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleServer, err := postgresql.NewServer(ctx, "exampleServer", nil) if err != nil { return err } _, err = postgresql.NewFirewallRule(ctx, "exampleFirewallRule", &postgresql.FirewallRuleArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleServer.Name, StartIpAddress: pulumi.String("40.112.0.0"), EndIpAddress: pulumi.String("40.112.255.255"), }) if err != nil { return err } return nil }) } ``` ## Import PostgreSQL Firewall Rule's can be imported using the `resource id`, e.g.
The set of arguments for constructing a FirewallRule resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Manages a PostgreSQL Flexible Server.
The set of arguments for constructing a FlexibleServer resource.
No description provided by the author
Sets a PostgreSQL Configuration value on a Azure PostgreSQL Flexible Server.
The set of arguments for constructing a FlexibleServerConfiguration resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Manages a PostgreSQL Flexible Server Database.
The set of arguments for constructing a FlexibleServerDatabase resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Manages a PostgreSQL Flexible Server Firewall Rule.
The set of arguments for constructing a FlexibleServerFirewallRule resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A collection of arguments for invoking getFlexibleServer.
A collection of arguments for invoking getFlexibleServer.
A collection of values returned by getFlexibleServer.
A collection of values returned by getFlexibleServer.
A collection of arguments for invoking getServer.
A collection of arguments for invoking getServer.
A collection of values returned by getServer.
A collection of values returned by getServer.
Manages a PostgreSQL Server.
The set of arguments for constructing a Server resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Manages a Customer Managed Key for a PostgreSQL Server.
The set of arguments for constructing a ServerKey resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Manages a PostgreSQL Virtual Network Rule.
The set of arguments for constructing a VirtualNetworkRule resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

ActiveDirectoryAdministratorArrayInput is an input type that accepts ActiveDirectoryAdministratorArray and ActiveDirectoryAdministratorArrayOutput values.
No description provided by the author
ActiveDirectoryAdministratorMapInput is an input type that accepts ActiveDirectoryAdministratorMap and ActiveDirectoryAdministratorMapOutput values.
ConfigurationArrayInput is an input type that accepts ConfigurationArray and ConfigurationArrayOutput values.
No description provided by the author
ConfigurationMapInput is an input type that accepts ConfigurationMap and ConfigurationMapOutput values.
DatabaseArrayInput is an input type that accepts DatabaseArray and DatabaseArrayOutput values.
No description provided by the author
DatabaseMapInput is an input type that accepts DatabaseMap and DatabaseMapOutput values.
FirewallRuleArrayInput is an input type that accepts FirewallRuleArray and FirewallRuleArrayOutput values.
No description provided by the author
FirewallRuleMapInput is an input type that accepts FirewallRuleMap and FirewallRuleMapOutput values.
FlexibleServerArrayInput is an input type that accepts FlexibleServerArray and FlexibleServerArrayOutput values.
FlexibleServerConfigurationArrayInput is an input type that accepts FlexibleServerConfigurationArray and FlexibleServerConfigurationArrayOutput values.
No description provided by the author
FlexibleServerConfigurationMapInput is an input type that accepts FlexibleServerConfigurationMap and FlexibleServerConfigurationMapOutput values.
FlexibleServerDatabaseArrayInput is an input type that accepts FlexibleServerDatabaseArray and FlexibleServerDatabaseArrayOutput values.
No description provided by the author
FlexibleServerDatabaseMapInput is an input type that accepts FlexibleServerDatabaseMap and FlexibleServerDatabaseMapOutput values.
FlexibleServerFirewallRuleArrayInput is an input type that accepts FlexibleServerFirewallRuleArray and FlexibleServerFirewallRuleArrayOutput values.
No description provided by the author
FlexibleServerFirewallRuleMapInput is an input type that accepts FlexibleServerFirewallRuleMap and FlexibleServerFirewallRuleMapOutput values.
FlexibleServerHighAvailabilityInput is an input type that accepts FlexibleServerHighAvailabilityArgs and FlexibleServerHighAvailabilityOutput values.
FlexibleServerHighAvailabilityPtrInput is an input type that accepts FlexibleServerHighAvailabilityArgs, FlexibleServerHighAvailabilityPtr and FlexibleServerHighAvailabilityPtrOutput values.
No description provided by the author
FlexibleServerMaintenanceWindowInput is an input type that accepts FlexibleServerMaintenanceWindowArgs and FlexibleServerMaintenanceWindowOutput values.
FlexibleServerMaintenanceWindowPtrInput is an input type that accepts FlexibleServerMaintenanceWindowArgs, FlexibleServerMaintenanceWindowPtr and FlexibleServerMaintenanceWindowPtrOutput values.
FlexibleServerMapInput is an input type that accepts FlexibleServerMap and FlexibleServerMapOutput values.
GetServerIdentityArrayInput is an input type that accepts GetServerIdentityArray and GetServerIdentityArrayOutput values.
GetServerIdentityInput is an input type that accepts GetServerIdentityArgs and GetServerIdentityOutput values.
ServerArrayInput is an input type that accepts ServerArray and ServerArrayOutput values.
ServerIdentityInput is an input type that accepts ServerIdentityArgs and ServerIdentityOutput values.
ServerIdentityPtrInput is an input type that accepts ServerIdentityArgs, ServerIdentityPtr and ServerIdentityPtrOutput values.
No description provided by the author
ServerKeyArrayInput is an input type that accepts ServerKeyArray and ServerKeyArrayOutput values.
No description provided by the author
ServerKeyMapInput is an input type that accepts ServerKeyMap and ServerKeyMapOutput values.
ServerMapInput is an input type that accepts ServerMap and ServerMapOutput values.
ServerStorageProfileInput is an input type that accepts ServerStorageProfileArgs and ServerStorageProfileOutput values.
ServerStorageProfilePtrInput is an input type that accepts ServerStorageProfileArgs, ServerStorageProfilePtr and ServerStorageProfilePtrOutput values.
ServerThreatDetectionPolicyInput is an input type that accepts ServerThreatDetectionPolicyArgs and ServerThreatDetectionPolicyOutput values.
ServerThreatDetectionPolicyPtrInput is an input type that accepts ServerThreatDetectionPolicyArgs, ServerThreatDetectionPolicyPtr and ServerThreatDetectionPolicyPtrOutput values.
VirtualNetworkRuleArrayInput is an input type that accepts VirtualNetworkRuleArray and VirtualNetworkRuleArrayOutput values.
No description provided by the author
VirtualNetworkRuleMapInput is an input type that accepts VirtualNetworkRuleMap and VirtualNetworkRuleMapOutput values.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author