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

# Functions

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).
Use this data source to access information about an existing MariaDB Server.
No description provided by the author
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).
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).
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.
NewServer 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

# Structs

Sets a MariaDB Configuration value on a MariaDB 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 MariaDB Database within a MariaDB 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/mariadb" "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 := mariadb.NewServer(ctx, "exampleServer", &mariadb.ServerArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, SkuName: pulumi.String("B_Gen5_2"), StorageMb: pulumi.Int(51200), BackupRetentionDays: pulumi.Int(7), GeoRedundantBackupEnabled: pulumi.Bool(false), AdministratorLogin: pulumi.String("acctestun"), AdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), Version: pulumi.String("10.2"), SslEnforcementEnabled: pulumi.Bool(true), }) if err != nil { return err } _, err = mariadb.NewDatabase(ctx, "exampleDatabase", &mariadb.DatabaseArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleServer.Name, Charset: pulumi.String("utf8"), Collation: pulumi.String("utf8_general_ci"), }) if err != nil { return err } return nil }) } ``` ## Import MariaDB 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 MariaDB Server ## Example Usage ### Single IP Address) ```go package main import ( "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/mariadb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := mariadb.NewFirewallRule(ctx, "example", &mariadb.FirewallRuleArgs{ EndIpAddress: pulumi.String("40.112.8.12"), ResourceGroupName: pulumi.String("test-rg"), ServerName: pulumi.String("test-server"), StartIpAddress: 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/mariadb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := mariadb.NewFirewallRule(ctx, "example", &mariadb.FirewallRuleArgs{ EndIpAddress: pulumi.String("40.112.255.255"), ResourceGroupName: pulumi.String("test-rg"), ServerName: pulumi.String("test-server"), StartIpAddress: pulumi.String("40.112.0.0"), }) if err != nil { return err } return nil }) } ``` ## Import MariaDB Firewall rules 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
A collection of arguments for invoking getMariaDbServer.
A collection of arguments for invoking getMariaDbServer.
A collection of values returned by getMariaDbServer.
A collection of values returned by getMariaDbServer.
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 MariaDB 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
No description provided by the author
No description provided by the author
No description provided by the author
Manages a MariaDB 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

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.
GetMariaDbServerStorageProfileArrayInput is an input type that accepts GetMariaDbServerStorageProfileArray and GetMariaDbServerStorageProfileArrayOutput values.
GetMariaDbServerStorageProfileInput is an input type that accepts GetMariaDbServerStorageProfileArgs and GetMariaDbServerStorageProfileOutput values.
ServerArrayInput is an input type that accepts ServerArray and ServerArrayOutput values.
No description provided by the author
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.
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