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
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).
GetFlexibleDatabase gets an existing FlexibleDatabase 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).
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 MySQL Flexible Server.
No description provided by the author
Use this data source to access information about an existing MySQL 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.
NewFlexibleDatabase 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.
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 MySQL 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/mysql" "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 := mysql.NewServer(ctx, "exampleServer", &mysql.ServerArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AdministratorLogin: pulumi.String("mysqladminun"), AdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), SkuName: pulumi.String("B_Gen5_2"), StorageMb: pulumi.Int(5120), Version: pulumi.String("5.7"), }) if err != nil { return err } _, err = mysql.NewActiveDirectoryAdministrator(ctx, "exampleActiveDirectoryAdministrator", &mysql.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 MySQL 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 MySQL Configuration value on a MySQL 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 MySQL Database within a MySQL 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/mysql" "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 := mysql.NewServer(ctx, "exampleServer", &mysql.ServerArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AdministratorLogin: pulumi.String("mysqladminun"), AdministratorLoginPassword: pulumi.String("H@Sh1CoR3!"), SkuName: pulumi.String("B_Gen5_2"), StorageMb: pulumi.Int(5120), Version: pulumi.String("5.7"), AutoGrowEnabled: pulumi.Bool(true), BackupRetentionDays: pulumi.Int(7), GeoRedundantBackupEnabled: pulumi.Bool(true), InfrastructureEncryptionEnabled: pulumi.Bool(true), PublicNetworkAccessEnabled: pulumi.Bool(false), SslEnforcementEnabled: pulumi.Bool(true), SslMinimalTlsVersionEnforced: pulumi.String("TLS1_2"), }) if err != nil { return err } _, err = mysql.NewDatabase(ctx, "exampleDatabase", &mysql.DatabaseArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: exampleServer.Name, Charset: pulumi.String("utf8"), Collation: pulumi.String("utf8_unicode_ci"), }) if err != nil { return err } return nil }) } ``` ## Import MySQL 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 MySQL Server.
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 MySQL Database within a MySQL Flexible 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/mysql" "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 } _, err = mysql.NewFlexibleServer(ctx, "test", &mysql.FlexibleServerArgs{ ResourceGroupName: pulumi.Any(azurerm_resource_group.Test.Name), Location: pulumi.Any(azurerm_resource_group.Test.Location), AdministratorLogin: pulumi.String("mysqladminun"), AdministratorPassword: pulumi.String("H@Sh1CoR3!"), SkuName: pulumi.String("B_Standard_B1s"), }) if err != nil { return err } _, err = mysql.NewFlexibleDatabase(ctx, "exampleFlexibleDatabase", &mysql.FlexibleDatabaseArgs{ ResourceGroupName: exampleResourceGroup.Name, ServerName: pulumi.Any(azurerm_mysql_flexible_server.Example.Name), Charset: pulumi.String("utf8"), Collation: pulumi.String("utf8_unicode_ci"), }) if err != nil { return err } return nil }) } ``` ## Import MySQL Database's can be imported using the `resource id`, e.g.
The set of arguments for constructing a FlexibleDatabase 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 MySQL Flexible Server.
The set of arguments for constructing a FlexibleServer resource.
No description provided by the author
Sets a MySQL Flexible Server Configuration value on a MySQL 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 Firewall Rule for a MySQL Flexible Server.
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
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
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 MySQL 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 MySQL 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 MySQL 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.
FlexibleDatabaseArrayInput is an input type that accepts FlexibleDatabaseArray and FlexibleDatabaseArrayOutput values.
No description provided by the author
FlexibleDatabaseMapInput is an input type that accepts FlexibleDatabaseMap and FlexibleDatabaseMapOutput 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.
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.
FlexibleServerStorageInput is an input type that accepts FlexibleServerStorageArgs and FlexibleServerStorageOutput values.
FlexibleServerStoragePtrInput is an input type that accepts FlexibleServerStorageArgs, FlexibleServerStoragePtr and FlexibleServerStoragePtrOutput values.
GetFlexibleServerHighAvailabilityArrayInput is an input type that accepts GetFlexibleServerHighAvailabilityArray and GetFlexibleServerHighAvailabilityArrayOutput values.
GetFlexibleServerHighAvailabilityInput is an input type that accepts GetFlexibleServerHighAvailabilityArgs and GetFlexibleServerHighAvailabilityOutput values.
GetFlexibleServerMaintenanceWindowArrayInput is an input type that accepts GetFlexibleServerMaintenanceWindowArray and GetFlexibleServerMaintenanceWindowArrayOutput values.
GetFlexibleServerMaintenanceWindowInput is an input type that accepts GetFlexibleServerMaintenanceWindowArgs and GetFlexibleServerMaintenanceWindowOutput values.
GetFlexibleServerStorageArrayInput is an input type that accepts GetFlexibleServerStorageArray and GetFlexibleServerStorageArrayOutput values.
GetFlexibleServerStorageInput is an input type that accepts GetFlexibleServerStorageArgs and GetFlexibleServerStorageOutput values.
GetServerIdentityArrayInput is an input type that accepts GetServerIdentityArray and GetServerIdentityArrayOutput values.
GetServerIdentityInput is an input type that accepts GetServerIdentityArgs and GetServerIdentityOutput values.
GetServerThreatDetectionPolicyArrayInput is an input type that accepts GetServerThreatDetectionPolicyArray and GetServerThreatDetectionPolicyArrayOutput values.
GetServerThreatDetectionPolicyInput is an input type that accepts GetServerThreatDetectionPolicyArgs and GetServerThreatDetectionPolicyOutput 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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author