1. Packages
  2. Azure Native
  3. API Docs
  4. dbformysql
  5. Server
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.dbformysql.Server

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

    Represents a server.

    Uses Azure REST API version 2024-02-01-preview. In version 2.x of the Azure Native provider, it used API version 2022-01-01.

    Other available API versions: 2022-01-01, 2022-09-30-preview, 2023-06-01-preview, 2023-06-30, 2023-10-01-preview, 2023-12-01-preview, 2023-12-30, 2024-06-01-preview, 2024-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native dbformysql [ApiVersion]. See the version guide for details.

    Example Usage

    Create a new server

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var server = new AzureNative.DBforMySQL.Server("server", new()
        {
            AdministratorLogin = "cloudsa",
            AdministratorLoginPassword = "your_password",
            AvailabilityZone = "1",
            Backup = new AzureNative.DBforMySQL.Inputs.BackupArgs
            {
                BackupIntervalHours = 24,
                BackupRetentionDays = 7,
                GeoRedundantBackup = AzureNative.DBforMySQL.EnableStatusEnum.Disabled,
            },
            CreateMode = AzureNative.DBforMySQL.CreateMode.Default,
            HighAvailability = new AzureNative.DBforMySQL.Inputs.HighAvailabilityArgs
            {
                Mode = AzureNative.DBforMySQL.HighAvailabilityMode.ZoneRedundant,
                StandbyAvailabilityZone = "3",
            },
            Location = "southeastasia",
            ResourceGroupName = "testrg",
            ServerName = "mysqltestserver",
            Sku = new AzureNative.DBforMySQL.Inputs.MySQLServerSkuArgs
            {
                Name = "Standard_D2ds_v4",
                Tier = AzureNative.DBforMySQL.ServerSkuTier.GeneralPurpose,
            },
            Storage = new AzureNative.DBforMySQL.Inputs.StorageArgs
            {
                AutoGrow = AzureNative.DBforMySQL.EnableStatusEnum.Disabled,
                Iops = 600,
                StorageRedundancy = AzureNative.DBforMySQL.StorageRedundancyEnum.LocalRedundancy,
                StorageSizeGB = 100,
            },
            Tags = 
            {
                { "num", "1" },
            },
            Version = AzureNative.DBforMySQL.ServerVersion.ServerVersion_5_7,
        });
    
    });
    
    package main
    
    import (
    	dbformysql "github.com/pulumi/pulumi-azure-native-sdk/dbformysql/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbformysql.NewServer(ctx, "server", &dbformysql.ServerArgs{
    			AdministratorLogin:         pulumi.String("cloudsa"),
    			AdministratorLoginPassword: pulumi.String("your_password"),
    			AvailabilityZone:           pulumi.String("1"),
    			Backup: &dbformysql.BackupArgs{
    				BackupIntervalHours: pulumi.Int(24),
    				BackupRetentionDays: pulumi.Int(7),
    				GeoRedundantBackup:  pulumi.String(dbformysql.EnableStatusEnumDisabled),
    			},
    			CreateMode: pulumi.String(dbformysql.CreateModeDefault),
    			HighAvailability: &dbformysql.HighAvailabilityArgs{
    				Mode:                    pulumi.String(dbformysql.HighAvailabilityModeZoneRedundant),
    				StandbyAvailabilityZone: pulumi.String("3"),
    			},
    			Location:          pulumi.String("southeastasia"),
    			ResourceGroupName: pulumi.String("testrg"),
    			ServerName:        pulumi.String("mysqltestserver"),
    			Sku: &dbformysql.MySQLServerSkuArgs{
    				Name: pulumi.String("Standard_D2ds_v4"),
    				Tier: pulumi.String(dbformysql.ServerSkuTierGeneralPurpose),
    			},
    			Storage: &dbformysql.StorageArgs{
    				AutoGrow:          pulumi.String(dbformysql.EnableStatusEnumDisabled),
    				Iops:              pulumi.Int(600),
    				StorageRedundancy: pulumi.String(dbformysql.StorageRedundancyEnumLocalRedundancy),
    				StorageSizeGB:     pulumi.Int(100),
    			},
    			Tags: pulumi.StringMap{
    				"num": pulumi.String("1"),
    			},
    			Version: pulumi.String(dbformysql.ServerVersion_5_7),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbformysql.Server;
    import com.pulumi.azurenative.dbformysql.ServerArgs;
    import com.pulumi.azurenative.dbformysql.inputs.BackupArgs;
    import com.pulumi.azurenative.dbformysql.inputs.HighAvailabilityArgs;
    import com.pulumi.azurenative.dbformysql.inputs.MySQLServerSkuArgs;
    import com.pulumi.azurenative.dbformysql.inputs.StorageArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var server = new Server("server", ServerArgs.builder()
                .administratorLogin("cloudsa")
                .administratorLoginPassword("your_password")
                .availabilityZone("1")
                .backup(BackupArgs.builder()
                    .backupIntervalHours(24)
                    .backupRetentionDays(7)
                    .geoRedundantBackup("Disabled")
                    .build())
                .createMode("Default")
                .highAvailability(HighAvailabilityArgs.builder()
                    .mode("ZoneRedundant")
                    .standbyAvailabilityZone("3")
                    .build())
                .location("southeastasia")
                .resourceGroupName("testrg")
                .serverName("mysqltestserver")
                .sku(MySQLServerSkuArgs.builder()
                    .name("Standard_D2ds_v4")
                    .tier("GeneralPurpose")
                    .build())
                .storage(StorageArgs.builder()
                    .autoGrow("Disabled")
                    .iops(600)
                    .storageRedundancy("LocalRedundancy")
                    .storageSizeGB(100)
                    .build())
                .tags(Map.of("num", "1"))
                .version("5.7")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const server = new azure_native.dbformysql.Server("server", {
        administratorLogin: "cloudsa",
        administratorLoginPassword: "your_password",
        availabilityZone: "1",
        backup: {
            backupIntervalHours: 24,
            backupRetentionDays: 7,
            geoRedundantBackup: azure_native.dbformysql.EnableStatusEnum.Disabled,
        },
        createMode: azure_native.dbformysql.CreateMode.Default,
        highAvailability: {
            mode: azure_native.dbformysql.HighAvailabilityMode.ZoneRedundant,
            standbyAvailabilityZone: "3",
        },
        location: "southeastasia",
        resourceGroupName: "testrg",
        serverName: "mysqltestserver",
        sku: {
            name: "Standard_D2ds_v4",
            tier: azure_native.dbformysql.ServerSkuTier.GeneralPurpose,
        },
        storage: {
            autoGrow: azure_native.dbformysql.EnableStatusEnum.Disabled,
            iops: 600,
            storageRedundancy: azure_native.dbformysql.StorageRedundancyEnum.LocalRedundancy,
            storageSizeGB: 100,
        },
        tags: {
            num: "1",
        },
        version: azure_native.dbformysql.ServerVersion.ServerVersion_5_7,
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    server = azure_native.dbformysql.Server("server",
        administrator_login="cloudsa",
        administrator_login_password="your_password",
        availability_zone="1",
        backup={
            "backup_interval_hours": 24,
            "backup_retention_days": 7,
            "geo_redundant_backup": azure_native.dbformysql.EnableStatusEnum.DISABLED,
        },
        create_mode=azure_native.dbformysql.CreateMode.DEFAULT,
        high_availability={
            "mode": azure_native.dbformysql.HighAvailabilityMode.ZONE_REDUNDANT,
            "standby_availability_zone": "3",
        },
        location="southeastasia",
        resource_group_name="testrg",
        server_name="mysqltestserver",
        sku={
            "name": "Standard_D2ds_v4",
            "tier": azure_native.dbformysql.ServerSkuTier.GENERAL_PURPOSE,
        },
        storage={
            "auto_grow": azure_native.dbformysql.EnableStatusEnum.DISABLED,
            "iops": 600,
            "storage_redundancy": azure_native.dbformysql.StorageRedundancyEnum.LOCAL_REDUNDANCY,
            "storage_size_gb": 100,
        },
        tags={
            "num": "1",
        },
        version=azure_native.dbformysql.ServerVersion.SERVER_VERSION_5_7)
    
    resources:
      server:
        type: azure-native:dbformysql:Server
        properties:
          administratorLogin: cloudsa
          administratorLoginPassword: your_password
          availabilityZone: '1'
          backup:
            backupIntervalHours: 24
            backupRetentionDays: 7
            geoRedundantBackup: Disabled
          createMode: Default
          highAvailability:
            mode: ZoneRedundant
            standbyAvailabilityZone: '3'
          location: southeastasia
          resourceGroupName: testrg
          serverName: mysqltestserver
          sku:
            name: Standard_D2ds_v4
            tier: GeneralPurpose
          storage:
            autoGrow: Disabled
            iops: 600
            storageRedundancy: LocalRedundancy
            storageSizeGB: 100
          tags:
            num: '1'
          version: '5.7'
    

    Create a replica server

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var server = new AzureNative.DBforMySQL.Server("server", new()
        {
            CreateMode = AzureNative.DBforMySQL.CreateMode.Replica,
            Location = "SoutheastAsia",
            ResourceGroupName = "testgr",
            ServerName = "replica-server",
            SourceServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testgr/providers/Microsoft.DBforMySQL/flexibleServers/source-server",
        });
    
    });
    
    package main
    
    import (
    	dbformysql "github.com/pulumi/pulumi-azure-native-sdk/dbformysql/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbformysql.NewServer(ctx, "server", &dbformysql.ServerArgs{
    			CreateMode:             pulumi.String(dbformysql.CreateModeReplica),
    			Location:               pulumi.String("SoutheastAsia"),
    			ResourceGroupName:      pulumi.String("testgr"),
    			ServerName:             pulumi.String("replica-server"),
    			SourceServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testgr/providers/Microsoft.DBforMySQL/flexibleServers/source-server"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbformysql.Server;
    import com.pulumi.azurenative.dbformysql.ServerArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var server = new Server("server", ServerArgs.builder()
                .createMode("Replica")
                .location("SoutheastAsia")
                .resourceGroupName("testgr")
                .serverName("replica-server")
                .sourceServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testgr/providers/Microsoft.DBforMySQL/flexibleServers/source-server")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const server = new azure_native.dbformysql.Server("server", {
        createMode: azure_native.dbformysql.CreateMode.Replica,
        location: "SoutheastAsia",
        resourceGroupName: "testgr",
        serverName: "replica-server",
        sourceServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testgr/providers/Microsoft.DBforMySQL/flexibleServers/source-server",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    server = azure_native.dbformysql.Server("server",
        create_mode=azure_native.dbformysql.CreateMode.REPLICA,
        location="SoutheastAsia",
        resource_group_name="testgr",
        server_name="replica-server",
        source_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testgr/providers/Microsoft.DBforMySQL/flexibleServers/source-server")
    
    resources:
      server:
        type: azure-native:dbformysql:Server
        properties:
          createMode: Replica
          location: SoutheastAsia
          resourceGroupName: testgr
          serverName: replica-server
          sourceServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testgr/providers/Microsoft.DBforMySQL/flexibleServers/source-server
    

    Create a server as a point in time restore

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var server = new AzureNative.DBforMySQL.Server("server", new()
        {
            CreateMode = AzureNative.DBforMySQL.CreateMode.PointInTimeRestore,
            Location = "SoutheastAsia",
            ResourceGroupName = "TargetResourceGroup",
            RestorePointInTime = "2021-06-24T00:00:37.467Z",
            ServerName = "targetserver",
            Sku = new AzureNative.DBforMySQL.Inputs.MySQLServerSkuArgs
            {
                Name = "Standard_D14_v2",
                Tier = AzureNative.DBforMySQL.ServerSkuTier.GeneralPurpose,
            },
            SourceServerResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/flexibleServers/sourceserver",
            Tags = 
            {
                { "num", "1" },
            },
        });
    
    });
    
    package main
    
    import (
    	dbformysql "github.com/pulumi/pulumi-azure-native-sdk/dbformysql/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := dbformysql.NewServer(ctx, "server", &dbformysql.ServerArgs{
    			CreateMode:         pulumi.String(dbformysql.CreateModePointInTimeRestore),
    			Location:           pulumi.String("SoutheastAsia"),
    			ResourceGroupName:  pulumi.String("TargetResourceGroup"),
    			RestorePointInTime: pulumi.String("2021-06-24T00:00:37.467Z"),
    			ServerName:         pulumi.String("targetserver"),
    			Sku: &dbformysql.MySQLServerSkuArgs{
    				Name: pulumi.String("Standard_D14_v2"),
    				Tier: pulumi.String(dbformysql.ServerSkuTierGeneralPurpose),
    			},
    			SourceServerResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/flexibleServers/sourceserver"),
    			Tags: pulumi.StringMap{
    				"num": pulumi.String("1"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.dbformysql.Server;
    import com.pulumi.azurenative.dbformysql.ServerArgs;
    import com.pulumi.azurenative.dbformysql.inputs.MySQLServerSkuArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var server = new Server("server", ServerArgs.builder()
                .createMode("PointInTimeRestore")
                .location("SoutheastAsia")
                .resourceGroupName("TargetResourceGroup")
                .restorePointInTime("2021-06-24T00:00:37.467Z")
                .serverName("targetserver")
                .sku(MySQLServerSkuArgs.builder()
                    .name("Standard_D14_v2")
                    .tier("GeneralPurpose")
                    .build())
                .sourceServerResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/flexibleServers/sourceserver")
                .tags(Map.of("num", "1"))
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const server = new azure_native.dbformysql.Server("server", {
        createMode: azure_native.dbformysql.CreateMode.PointInTimeRestore,
        location: "SoutheastAsia",
        resourceGroupName: "TargetResourceGroup",
        restorePointInTime: "2021-06-24T00:00:37.467Z",
        serverName: "targetserver",
        sku: {
            name: "Standard_D14_v2",
            tier: azure_native.dbformysql.ServerSkuTier.GeneralPurpose,
        },
        sourceServerResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/flexibleServers/sourceserver",
        tags: {
            num: "1",
        },
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    server = azure_native.dbformysql.Server("server",
        create_mode=azure_native.dbformysql.CreateMode.POINT_IN_TIME_RESTORE,
        location="SoutheastAsia",
        resource_group_name="TargetResourceGroup",
        restore_point_in_time="2021-06-24T00:00:37.467Z",
        server_name="targetserver",
        sku={
            "name": "Standard_D14_v2",
            "tier": azure_native.dbformysql.ServerSkuTier.GENERAL_PURPOSE,
        },
        source_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/flexibleServers/sourceserver",
        tags={
            "num": "1",
        })
    
    resources:
      server:
        type: azure-native:dbformysql:Server
        properties:
          createMode: PointInTimeRestore
          location: SoutheastAsia
          resourceGroupName: TargetResourceGroup
          restorePointInTime: 2021-06-24T00:00:37.467Z
          serverName: targetserver
          sku:
            name: Standard_D14_v2
            tier: GeneralPurpose
          sourceServerResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/flexibleServers/sourceserver
          tags:
            num: '1'
    

    Create Server Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Server(name: string, args: ServerArgs, opts?: CustomResourceOptions);
    @overload
    def Server(resource_name: str,
               args: ServerArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Server(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               resource_group_name: Optional[str] = None,
               maintenance_window: Optional[MaintenanceWindowArgs] = None,
               availability_zone: Optional[str] = None,
               backup: Optional[BackupArgs] = None,
               create_mode: Optional[Union[str, CreateMode]] = None,
               data_encryption: Optional[DataEncryptionArgs] = None,
               high_availability: Optional[HighAvailabilityArgs] = None,
               identity: Optional[MySQLServerIdentityArgs] = None,
               import_source_properties: Optional[ImportSourcePropertiesArgs] = None,
               administrator_login: Optional[str] = None,
               location: Optional[str] = None,
               administrator_login_password: Optional[str] = None,
               replication_role: Optional[Union[str, ReplicationRole]] = None,
               network: Optional[NetworkArgs] = None,
               restore_point_in_time: Optional[str] = None,
               server_name: Optional[str] = None,
               sku: Optional[MySQLServerSkuArgs] = None,
               source_server_resource_id: Optional[str] = None,
               storage: Optional[StorageArgs] = None,
               tags: Optional[Mapping[str, str]] = None,
               version: Optional[Union[str, ServerVersion]] = None)
    func NewServer(ctx *Context, name string, args ServerArgs, opts ...ResourceOption) (*Server, error)
    public Server(string name, ServerArgs args, CustomResourceOptions? opts = null)
    public Server(String name, ServerArgs args)
    public Server(String name, ServerArgs args, CustomResourceOptions options)
    
    type: azure-native:dbformysql:Server
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ServerArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var azure_nativeServerResource = new AzureNative.DBforMySQL.Server("azure-nativeServerResource", new()
    {
        ResourceGroupName = "string",
        MaintenanceWindow = new AzureNative.DBforMySQL.Inputs.MaintenanceWindowArgs
        {
            CustomWindow = "string",
            DayOfWeek = 0,
            StartHour = 0,
            StartMinute = 0,
        },
        AvailabilityZone = "string",
        Backup = new AzureNative.DBforMySQL.Inputs.BackupArgs
        {
            BackupIntervalHours = 0,
            BackupRetentionDays = 0,
            GeoRedundantBackup = "string",
        },
        CreateMode = "string",
        DataEncryption = new AzureNative.DBforMySQL.Inputs.DataEncryptionArgs
        {
            GeoBackupKeyURI = "string",
            GeoBackupUserAssignedIdentityId = "string",
            PrimaryKeyURI = "string",
            PrimaryUserAssignedIdentityId = "string",
            Type = AzureNative.DBforMySQL.DataEncryptionType.AzureKeyVault,
        },
        HighAvailability = new AzureNative.DBforMySQL.Inputs.HighAvailabilityArgs
        {
            Mode = "string",
            StandbyAvailabilityZone = "string",
        },
        Identity = new AzureNative.DBforMySQL.Inputs.MySQLServerIdentityArgs
        {
            Type = "string",
            UserAssignedIdentities = new[]
            {
                "string",
            },
        },
        ImportSourceProperties = new AzureNative.DBforMySQL.Inputs.ImportSourcePropertiesArgs
        {
            DataDirPath = "string",
            SasToken = "string",
            StorageType = "string",
            StorageUrl = "string",
        },
        AdministratorLogin = "string",
        Location = "string",
        AdministratorLoginPassword = "string",
        ReplicationRole = "string",
        Network = new AzureNative.DBforMySQL.Inputs.NetworkArgs
        {
            DelegatedSubnetResourceId = "string",
            PrivateDnsZoneResourceId = "string",
            PublicNetworkAccess = "string",
        },
        RestorePointInTime = "string",
        ServerName = "string",
        Sku = new AzureNative.DBforMySQL.Inputs.MySQLServerSkuArgs
        {
            Name = "string",
            Tier = "string",
        },
        SourceServerResourceId = "string",
        Storage = new AzureNative.DBforMySQL.Inputs.StorageArgs
        {
            AutoGrow = "string",
            AutoIoScaling = "string",
            Iops = 0,
            LogOnDisk = "string",
            StorageRedundancy = "string",
            StorageSizeGB = 0,
        },
        Tags = 
        {
            { "string", "string" },
        },
        Version = "string",
    });
    
    example, err := dbformysql.NewServer(ctx, "azure-nativeServerResource", &dbformysql.ServerArgs{
    	ResourceGroupName: pulumi.String("string"),
    	MaintenanceWindow: &dbformysql.MaintenanceWindowArgs{
    		CustomWindow: pulumi.String("string"),
    		DayOfWeek:    pulumi.Int(0),
    		StartHour:    pulumi.Int(0),
    		StartMinute:  pulumi.Int(0),
    	},
    	AvailabilityZone: pulumi.String("string"),
    	Backup: &dbformysql.BackupArgs{
    		BackupIntervalHours: pulumi.Int(0),
    		BackupRetentionDays: pulumi.Int(0),
    		GeoRedundantBackup:  pulumi.String("string"),
    	},
    	CreateMode: pulumi.String("string"),
    	DataEncryption: &dbformysql.DataEncryptionArgs{
    		GeoBackupKeyURI:                 pulumi.String("string"),
    		GeoBackupUserAssignedIdentityId: pulumi.String("string"),
    		PrimaryKeyURI:                   pulumi.String("string"),
    		PrimaryUserAssignedIdentityId:   pulumi.String("string"),
    		Type:                            dbformysql.DataEncryptionTypeAzureKeyVault,
    	},
    	HighAvailability: &dbformysql.HighAvailabilityArgs{
    		Mode:                    pulumi.String("string"),
    		StandbyAvailabilityZone: pulumi.String("string"),
    	},
    	Identity: &dbformysql.MySQLServerIdentityArgs{
    		Type: pulumi.String("string"),
    		UserAssignedIdentities: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	ImportSourceProperties: &dbformysql.ImportSourcePropertiesArgs{
    		DataDirPath: pulumi.String("string"),
    		SasToken:    pulumi.String("string"),
    		StorageType: pulumi.String("string"),
    		StorageUrl:  pulumi.String("string"),
    	},
    	AdministratorLogin:         pulumi.String("string"),
    	Location:                   pulumi.String("string"),
    	AdministratorLoginPassword: pulumi.String("string"),
    	ReplicationRole:            pulumi.String("string"),
    	Network: &dbformysql.NetworkArgs{
    		DelegatedSubnetResourceId: pulumi.String("string"),
    		PrivateDnsZoneResourceId:  pulumi.String("string"),
    		PublicNetworkAccess:       pulumi.String("string"),
    	},
    	RestorePointInTime: pulumi.String("string"),
    	ServerName:         pulumi.String("string"),
    	Sku: &dbformysql.MySQLServerSkuArgs{
    		Name: pulumi.String("string"),
    		Tier: pulumi.String("string"),
    	},
    	SourceServerResourceId: pulumi.String("string"),
    	Storage: &dbformysql.StorageArgs{
    		AutoGrow:          pulumi.String("string"),
    		AutoIoScaling:     pulumi.String("string"),
    		Iops:              pulumi.Int(0),
    		LogOnDisk:         pulumi.String("string"),
    		StorageRedundancy: pulumi.String("string"),
    		StorageSizeGB:     pulumi.Int(0),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Version: pulumi.String("string"),
    })
    
    var azure_nativeServerResource = new com.pulumi.azurenative.dbformysql.Server("azure-nativeServerResource", com.pulumi.azurenative.dbformysql.ServerArgs.builder()
        .resourceGroupName("string")
        .maintenanceWindow(MaintenanceWindowArgs.builder()
            .customWindow("string")
            .dayOfWeek(0)
            .startHour(0)
            .startMinute(0)
            .build())
        .availabilityZone("string")
        .backup(BackupArgs.builder()
            .backupIntervalHours(0)
            .backupRetentionDays(0)
            .geoRedundantBackup("string")
            .build())
        .createMode("string")
        .dataEncryption(DataEncryptionArgs.builder()
            .geoBackupKeyURI("string")
            .geoBackupUserAssignedIdentityId("string")
            .primaryKeyURI("string")
            .primaryUserAssignedIdentityId("string")
            .type("AzureKeyVault")
            .build())
        .highAvailability(HighAvailabilityArgs.builder()
            .mode("string")
            .standbyAvailabilityZone("string")
            .build())
        .identity(MySQLServerIdentityArgs.builder()
            .type("string")
            .userAssignedIdentities("string")
            .build())
        .importSourceProperties(ImportSourcePropertiesArgs.builder()
            .dataDirPath("string")
            .sasToken("string")
            .storageType("string")
            .storageUrl("string")
            .build())
        .administratorLogin("string")
        .location("string")
        .administratorLoginPassword("string")
        .replicationRole("string")
        .network(NetworkArgs.builder()
            .delegatedSubnetResourceId("string")
            .privateDnsZoneResourceId("string")
            .publicNetworkAccess("string")
            .build())
        .restorePointInTime("string")
        .serverName("string")
        .sku(MySQLServerSkuArgs.builder()
            .name("string")
            .tier("string")
            .build())
        .sourceServerResourceId("string")
        .storage(StorageArgs.builder()
            .autoGrow("string")
            .autoIoScaling("string")
            .iops(0)
            .logOnDisk("string")
            .storageRedundancy("string")
            .storageSizeGB(0)
            .build())
        .tags(Map.of("string", "string"))
        .version("string")
        .build());
    
    azure_native_server_resource = azure_native.dbformysql.Server("azure-nativeServerResource",
        resource_group_name="string",
        maintenance_window={
            "custom_window": "string",
            "day_of_week": 0,
            "start_hour": 0,
            "start_minute": 0,
        },
        availability_zone="string",
        backup={
            "backup_interval_hours": 0,
            "backup_retention_days": 0,
            "geo_redundant_backup": "string",
        },
        create_mode="string",
        data_encryption={
            "geo_backup_key_uri": "string",
            "geo_backup_user_assigned_identity_id": "string",
            "primary_key_uri": "string",
            "primary_user_assigned_identity_id": "string",
            "type": azure_native.dbformysql.DataEncryptionType.AZURE_KEY_VAULT,
        },
        high_availability={
            "mode": "string",
            "standby_availability_zone": "string",
        },
        identity={
            "type": "string",
            "user_assigned_identities": ["string"],
        },
        import_source_properties={
            "data_dir_path": "string",
            "sas_token": "string",
            "storage_type": "string",
            "storage_url": "string",
        },
        administrator_login="string",
        location="string",
        administrator_login_password="string",
        replication_role="string",
        network={
            "delegated_subnet_resource_id": "string",
            "private_dns_zone_resource_id": "string",
            "public_network_access": "string",
        },
        restore_point_in_time="string",
        server_name="string",
        sku={
            "name": "string",
            "tier": "string",
        },
        source_server_resource_id="string",
        storage={
            "auto_grow": "string",
            "auto_io_scaling": "string",
            "iops": 0,
            "log_on_disk": "string",
            "storage_redundancy": "string",
            "storage_size_gb": 0,
        },
        tags={
            "string": "string",
        },
        version="string")
    
    const azure_nativeServerResource = new azure_native.dbformysql.Server("azure-nativeServerResource", {
        resourceGroupName: "string",
        maintenanceWindow: {
            customWindow: "string",
            dayOfWeek: 0,
            startHour: 0,
            startMinute: 0,
        },
        availabilityZone: "string",
        backup: {
            backupIntervalHours: 0,
            backupRetentionDays: 0,
            geoRedundantBackup: "string",
        },
        createMode: "string",
        dataEncryption: {
            geoBackupKeyURI: "string",
            geoBackupUserAssignedIdentityId: "string",
            primaryKeyURI: "string",
            primaryUserAssignedIdentityId: "string",
            type: azure_native.dbformysql.DataEncryptionType.AzureKeyVault,
        },
        highAvailability: {
            mode: "string",
            standbyAvailabilityZone: "string",
        },
        identity: {
            type: "string",
            userAssignedIdentities: ["string"],
        },
        importSourceProperties: {
            dataDirPath: "string",
            sasToken: "string",
            storageType: "string",
            storageUrl: "string",
        },
        administratorLogin: "string",
        location: "string",
        administratorLoginPassword: "string",
        replicationRole: "string",
        network: {
            delegatedSubnetResourceId: "string",
            privateDnsZoneResourceId: "string",
            publicNetworkAccess: "string",
        },
        restorePointInTime: "string",
        serverName: "string",
        sku: {
            name: "string",
            tier: "string",
        },
        sourceServerResourceId: "string",
        storage: {
            autoGrow: "string",
            autoIoScaling: "string",
            iops: 0,
            logOnDisk: "string",
            storageRedundancy: "string",
            storageSizeGB: 0,
        },
        tags: {
            string: "string",
        },
        version: "string",
    });
    
    type: azure-native:dbformysql:Server
    properties:
        administratorLogin: string
        administratorLoginPassword: string
        availabilityZone: string
        backup:
            backupIntervalHours: 0
            backupRetentionDays: 0
            geoRedundantBackup: string
        createMode: string
        dataEncryption:
            geoBackupKeyURI: string
            geoBackupUserAssignedIdentityId: string
            primaryKeyURI: string
            primaryUserAssignedIdentityId: string
            type: AzureKeyVault
        highAvailability:
            mode: string
            standbyAvailabilityZone: string
        identity:
            type: string
            userAssignedIdentities:
                - string
        importSourceProperties:
            dataDirPath: string
            sasToken: string
            storageType: string
            storageUrl: string
        location: string
        maintenanceWindow:
            customWindow: string
            dayOfWeek: 0
            startHour: 0
            startMinute: 0
        network:
            delegatedSubnetResourceId: string
            privateDnsZoneResourceId: string
            publicNetworkAccess: string
        replicationRole: string
        resourceGroupName: string
        restorePointInTime: string
        serverName: string
        sku:
            name: string
            tier: string
        sourceServerResourceId: string
        storage:
            autoGrow: string
            autoIoScaling: string
            iops: 0
            logOnDisk: string
            storageRedundancy: string
            storageSizeGB: 0
        tags:
            string: string
        version: string
    

    Server Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Server resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AdministratorLogin string
    The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
    AdministratorLoginPassword string
    The password of the administrator login (required for server creation).
    AvailabilityZone string
    availability Zone information of the server.
    Backup Pulumi.AzureNative.DBforMySQL.Inputs.Backup
    Backup related properties of a server.
    CreateMode string | Pulumi.AzureNative.DBforMySQL.CreateMode
    The mode to create a new MySQL server.
    DataEncryption Pulumi.AzureNative.DBforMySQL.Inputs.DataEncryption
    The Data Encryption for CMK.
    HighAvailability Pulumi.AzureNative.DBforMySQL.Inputs.HighAvailability
    High availability related properties of a server.
    Identity Pulumi.AzureNative.DBforMySQL.Inputs.MySQLServerIdentity
    The cmk identity for the server.
    ImportSourceProperties Pulumi.AzureNative.DBforMySQL.Inputs.ImportSourceProperties
    Source properties for import from storage.
    Location string
    The geo-location where the resource lives
    MaintenanceWindow Pulumi.AzureNative.DBforMySQL.Inputs.MaintenanceWindow
    Maintenance window of a server.
    Network Pulumi.AzureNative.DBforMySQL.Inputs.Network
    Network related properties of a server.
    ReplicationRole string | Pulumi.AzureNative.DBforMySQL.ReplicationRole
    The replication role.
    RestorePointInTime string
    Restore point creation time (ISO8601 format), specifying the time to restore from.
    ServerName string
    The name of the server.
    Sku Pulumi.AzureNative.DBforMySQL.Inputs.MySQLServerSku
    The SKU (pricing tier) of the server.
    SourceServerResourceId string
    The source MySQL server id.
    Storage Pulumi.AzureNative.DBforMySQL.Inputs.Storage
    Storage related properties of a server.
    Tags Dictionary<string, string>
    Resource tags.
    Version string | Pulumi.AzureNative.DBforMySQL.ServerVersion
    Server version.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AdministratorLogin string
    The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
    AdministratorLoginPassword string
    The password of the administrator login (required for server creation).
    AvailabilityZone string
    availability Zone information of the server.
    Backup BackupArgs
    Backup related properties of a server.
    CreateMode string | CreateMode
    The mode to create a new MySQL server.
    DataEncryption DataEncryptionArgs
    The Data Encryption for CMK.
    HighAvailability HighAvailabilityArgs
    High availability related properties of a server.
    Identity MySQLServerIdentityArgs
    The cmk identity for the server.
    ImportSourceProperties ImportSourcePropertiesArgs
    Source properties for import from storage.
    Location string
    The geo-location where the resource lives
    MaintenanceWindow MaintenanceWindowArgs
    Maintenance window of a server.
    Network NetworkArgs
    Network related properties of a server.
    ReplicationRole string | ReplicationRole
    The replication role.
    RestorePointInTime string
    Restore point creation time (ISO8601 format), specifying the time to restore from.
    ServerName string
    The name of the server.
    Sku MySQLServerSkuArgs
    The SKU (pricing tier) of the server.
    SourceServerResourceId string
    The source MySQL server id.
    Storage StorageArgs
    Storage related properties of a server.
    Tags map[string]string
    Resource tags.
    Version string | ServerVersion
    Server version.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    administratorLogin String
    The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
    administratorLoginPassword String
    The password of the administrator login (required for server creation).
    availabilityZone String
    availability Zone information of the server.
    backup Backup
    Backup related properties of a server.
    createMode String | CreateMode
    The mode to create a new MySQL server.
    dataEncryption DataEncryption
    The Data Encryption for CMK.
    highAvailability HighAvailability
    High availability related properties of a server.
    identity MySQLServerIdentity
    The cmk identity for the server.
    importSourceProperties ImportSourceProperties
    Source properties for import from storage.
    location String
    The geo-location where the resource lives
    maintenanceWindow MaintenanceWindow
    Maintenance window of a server.
    network Network
    Network related properties of a server.
    replicationRole String | ReplicationRole
    The replication role.
    restorePointInTime String
    Restore point creation time (ISO8601 format), specifying the time to restore from.
    serverName String
    The name of the server.
    sku MySQLServerSku
    The SKU (pricing tier) of the server.
    sourceServerResourceId String
    The source MySQL server id.
    storage Storage
    Storage related properties of a server.
    tags Map<String,String>
    Resource tags.
    version String | ServerVersion
    Server version.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    administratorLogin string
    The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
    administratorLoginPassword string
    The password of the administrator login (required for server creation).
    availabilityZone string
    availability Zone information of the server.
    backup Backup
    Backup related properties of a server.
    createMode string | CreateMode
    The mode to create a new MySQL server.
    dataEncryption DataEncryption
    The Data Encryption for CMK.
    highAvailability HighAvailability
    High availability related properties of a server.
    identity MySQLServerIdentity
    The cmk identity for the server.
    importSourceProperties ImportSourceProperties
    Source properties for import from storage.
    location string
    The geo-location where the resource lives
    maintenanceWindow MaintenanceWindow
    Maintenance window of a server.
    network Network
    Network related properties of a server.
    replicationRole string | ReplicationRole
    The replication role.
    restorePointInTime string
    Restore point creation time (ISO8601 format), specifying the time to restore from.
    serverName string
    The name of the server.
    sku MySQLServerSku
    The SKU (pricing tier) of the server.
    sourceServerResourceId string
    The source MySQL server id.
    storage Storage
    Storage related properties of a server.
    tags {[key: string]: string}
    Resource tags.
    version string | ServerVersion
    Server version.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    administrator_login str
    The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
    administrator_login_password str
    The password of the administrator login (required for server creation).
    availability_zone str
    availability Zone information of the server.
    backup BackupArgs
    Backup related properties of a server.
    create_mode str | CreateMode
    The mode to create a new MySQL server.
    data_encryption DataEncryptionArgs
    The Data Encryption for CMK.
    high_availability HighAvailabilityArgs
    High availability related properties of a server.
    identity MySQLServerIdentityArgs
    The cmk identity for the server.
    import_source_properties ImportSourcePropertiesArgs
    Source properties for import from storage.
    location str
    The geo-location where the resource lives
    maintenance_window MaintenanceWindowArgs
    Maintenance window of a server.
    network NetworkArgs
    Network related properties of a server.
    replication_role str | ReplicationRole
    The replication role.
    restore_point_in_time str
    Restore point creation time (ISO8601 format), specifying the time to restore from.
    server_name str
    The name of the server.
    sku MySQLServerSkuArgs
    The SKU (pricing tier) of the server.
    source_server_resource_id str
    The source MySQL server id.
    storage StorageArgs
    Storage related properties of a server.
    tags Mapping[str, str]
    Resource tags.
    version str | ServerVersion
    Server version.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    administratorLogin String
    The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
    administratorLoginPassword String
    The password of the administrator login (required for server creation).
    availabilityZone String
    availability Zone information of the server.
    backup Property Map
    Backup related properties of a server.
    createMode String | "Default" | "PointInTimeRestore" | "GeoRestore" | "Replica"
    The mode to create a new MySQL server.
    dataEncryption Property Map
    The Data Encryption for CMK.
    highAvailability Property Map
    High availability related properties of a server.
    identity Property Map
    The cmk identity for the server.
    importSourceProperties Property Map
    Source properties for import from storage.
    location String
    The geo-location where the resource lives
    maintenanceWindow Property Map
    Maintenance window of a server.
    network Property Map
    Network related properties of a server.
    replicationRole String | "None" | "Source" | "Replica"
    The replication role.
    restorePointInTime String
    Restore point creation time (ISO8601 format), specifying the time to restore from.
    serverName String
    The name of the server.
    sku Property Map
    The SKU (pricing tier) of the server.
    sourceServerResourceId String
    The source MySQL server id.
    storage Property Map
    Storage related properties of a server.
    tags Map<String>
    Resource tags.
    version String | "5.7" | "8.0.21"
    Server version.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Server resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    FullyQualifiedDomainName string
    The fully qualified domain name of a server.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    PrivateEndpointConnections List<Pulumi.AzureNative.DBforMySQL.Outputs.PrivateEndpointConnectionResponse>
    PrivateEndpointConnections related properties of a server.
    ReplicaCapacity int
    The maximum number of replicas that a primary server can have.
    State string
    The state of a server.
    SystemData Pulumi.AzureNative.DBforMySQL.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AzureApiVersion string
    The Azure API version of the resource.
    FullyQualifiedDomainName string
    The fully qualified domain name of a server.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    PrivateEndpointConnections []PrivateEndpointConnectionResponse
    PrivateEndpointConnections related properties of a server.
    ReplicaCapacity int
    The maximum number of replicas that a primary server can have.
    State string
    The state of a server.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    fullyQualifiedDomainName String
    The fully qualified domain name of a server.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    privateEndpointConnections List<PrivateEndpointConnectionResponse>
    PrivateEndpointConnections related properties of a server.
    replicaCapacity Integer
    The maximum number of replicas that a primary server can have.
    state String
    The state of a server.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion string
    The Azure API version of the resource.
    fullyQualifiedDomainName string
    The fully qualified domain name of a server.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    privateEndpointConnections PrivateEndpointConnectionResponse[]
    PrivateEndpointConnections related properties of a server.
    replicaCapacity number
    The maximum number of replicas that a primary server can have.
    state string
    The state of a server.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azure_api_version str
    The Azure API version of the resource.
    fully_qualified_domain_name str
    The fully qualified domain name of a server.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    private_endpoint_connections Sequence[PrivateEndpointConnectionResponse]
    PrivateEndpointConnections related properties of a server.
    replica_capacity int
    The maximum number of replicas that a primary server can have.
    state str
    The state of a server.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    fullyQualifiedDomainName String
    The fully qualified domain name of a server.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    privateEndpointConnections List<Property Map>
    PrivateEndpointConnections related properties of a server.
    replicaCapacity Number
    The maximum number of replicas that a primary server can have.
    state String
    The state of a server.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    Backup, BackupArgs

    BackupIntervalHours int
    Backup interval hours for the server.
    BackupRetentionDays int
    Backup retention days for the server.
    GeoRedundantBackup string | Pulumi.AzureNative.DBforMySQL.EnableStatusEnum
    Whether or not geo redundant backup is enabled.
    BackupIntervalHours int
    Backup interval hours for the server.
    BackupRetentionDays int
    Backup retention days for the server.
    GeoRedundantBackup string | EnableStatusEnum
    Whether or not geo redundant backup is enabled.
    backupIntervalHours Integer
    Backup interval hours for the server.
    backupRetentionDays Integer
    Backup retention days for the server.
    geoRedundantBackup String | EnableStatusEnum
    Whether or not geo redundant backup is enabled.
    backupIntervalHours number
    Backup interval hours for the server.
    backupRetentionDays number
    Backup retention days for the server.
    geoRedundantBackup string | EnableStatusEnum
    Whether or not geo redundant backup is enabled.
    backup_interval_hours int
    Backup interval hours for the server.
    backup_retention_days int
    Backup retention days for the server.
    geo_redundant_backup str | EnableStatusEnum
    Whether or not geo redundant backup is enabled.
    backupIntervalHours Number
    Backup interval hours for the server.
    backupRetentionDays Number
    Backup retention days for the server.
    geoRedundantBackup String | "Enabled" | "Disabled"
    Whether or not geo redundant backup is enabled.

    BackupResponse, BackupResponseArgs

    EarliestRestoreDate string
    Earliest restore point creation time (ISO8601 format)
    BackupIntervalHours int
    Backup interval hours for the server.
    BackupRetentionDays int
    Backup retention days for the server.
    GeoRedundantBackup string
    Whether or not geo redundant backup is enabled.
    EarliestRestoreDate string
    Earliest restore point creation time (ISO8601 format)
    BackupIntervalHours int
    Backup interval hours for the server.
    BackupRetentionDays int
    Backup retention days for the server.
    GeoRedundantBackup string
    Whether or not geo redundant backup is enabled.
    earliestRestoreDate String
    Earliest restore point creation time (ISO8601 format)
    backupIntervalHours Integer
    Backup interval hours for the server.
    backupRetentionDays Integer
    Backup retention days for the server.
    geoRedundantBackup String
    Whether or not geo redundant backup is enabled.
    earliestRestoreDate string
    Earliest restore point creation time (ISO8601 format)
    backupIntervalHours number
    Backup interval hours for the server.
    backupRetentionDays number
    Backup retention days for the server.
    geoRedundantBackup string
    Whether or not geo redundant backup is enabled.
    earliest_restore_date str
    Earliest restore point creation time (ISO8601 format)
    backup_interval_hours int
    Backup interval hours for the server.
    backup_retention_days int
    Backup retention days for the server.
    geo_redundant_backup str
    Whether or not geo redundant backup is enabled.
    earliestRestoreDate String
    Earliest restore point creation time (ISO8601 format)
    backupIntervalHours Number
    Backup interval hours for the server.
    backupRetentionDays Number
    Backup retention days for the server.
    geoRedundantBackup String
    Whether or not geo redundant backup is enabled.

    CreateMode, CreateModeArgs

    Default
    Default
    PointInTimeRestore
    PointInTimeRestore
    GeoRestore
    GeoRestore
    Replica
    Replica
    CreateModeDefault
    Default
    CreateModePointInTimeRestore
    PointInTimeRestore
    CreateModeGeoRestore
    GeoRestore
    CreateModeReplica
    Replica
    Default
    Default
    PointInTimeRestore
    PointInTimeRestore
    GeoRestore
    GeoRestore
    Replica
    Replica
    Default
    Default
    PointInTimeRestore
    PointInTimeRestore
    GeoRestore
    GeoRestore
    Replica
    Replica
    DEFAULT
    Default
    POINT_IN_TIME_RESTORE
    PointInTimeRestore
    GEO_RESTORE
    GeoRestore
    REPLICA
    Replica
    "Default"
    Default
    "PointInTimeRestore"
    PointInTimeRestore
    "GeoRestore"
    GeoRestore
    "Replica"
    Replica

    DataEncryption, DataEncryptionArgs

    GeoBackupKeyURI string
    Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
    GeoBackupUserAssignedIdentityId string
    Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
    PrimaryKeyURI string
    Primary key uri
    PrimaryUserAssignedIdentityId string
    Primary user identity resource id
    Type Pulumi.AzureNative.DBforMySQL.DataEncryptionType
    The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
    GeoBackupKeyURI string
    Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
    GeoBackupUserAssignedIdentityId string
    Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
    PrimaryKeyURI string
    Primary key uri
    PrimaryUserAssignedIdentityId string
    Primary user identity resource id
    Type DataEncryptionType
    The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
    geoBackupKeyURI String
    Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
    geoBackupUserAssignedIdentityId String
    Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
    primaryKeyURI String
    Primary key uri
    primaryUserAssignedIdentityId String
    Primary user identity resource id
    type DataEncryptionType
    The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
    geoBackupKeyURI string
    Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
    geoBackupUserAssignedIdentityId string
    Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
    primaryKeyURI string
    Primary key uri
    primaryUserAssignedIdentityId string
    Primary user identity resource id
    type DataEncryptionType
    The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
    geo_backup_key_uri str
    Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
    geo_backup_user_assigned_identity_id str
    Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
    primary_key_uri str
    Primary key uri
    primary_user_assigned_identity_id str
    Primary user identity resource id
    type DataEncryptionType
    The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
    geoBackupKeyURI String
    Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
    geoBackupUserAssignedIdentityId String
    Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
    primaryKeyURI String
    Primary key uri
    primaryUserAssignedIdentityId String
    Primary user identity resource id
    type "AzureKeyVault" | "SystemManaged"
    The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.

    DataEncryptionResponse, DataEncryptionResponseArgs

    GeoBackupKeyURI string
    Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
    GeoBackupUserAssignedIdentityId string
    Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
    PrimaryKeyURI string
    Primary key uri
    PrimaryUserAssignedIdentityId string
    Primary user identity resource id
    Type string
    The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
    GeoBackupKeyURI string
    Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
    GeoBackupUserAssignedIdentityId string
    Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
    PrimaryKeyURI string
    Primary key uri
    PrimaryUserAssignedIdentityId string
    Primary user identity resource id
    Type string
    The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
    geoBackupKeyURI String
    Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
    geoBackupUserAssignedIdentityId String
    Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
    primaryKeyURI String
    Primary key uri
    primaryUserAssignedIdentityId String
    Primary user identity resource id
    type String
    The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
    geoBackupKeyURI string
    Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
    geoBackupUserAssignedIdentityId string
    Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
    primaryKeyURI string
    Primary key uri
    primaryUserAssignedIdentityId string
    Primary user identity resource id
    type string
    The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
    geo_backup_key_uri str
    Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
    geo_backup_user_assigned_identity_id str
    Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
    primary_key_uri str
    Primary key uri
    primary_user_assigned_identity_id str
    Primary user identity resource id
    type str
    The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
    geoBackupKeyURI String
    Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
    geoBackupUserAssignedIdentityId String
    Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
    primaryKeyURI String
    Primary key uri
    primaryUserAssignedIdentityId String
    Primary user identity resource id
    type String
    The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.

    DataEncryptionType, DataEncryptionTypeArgs

    AzureKeyVault
    AzureKeyVault
    SystemManaged
    SystemManaged
    DataEncryptionTypeAzureKeyVault
    AzureKeyVault
    DataEncryptionTypeSystemManaged
    SystemManaged
    AzureKeyVault
    AzureKeyVault
    SystemManaged
    SystemManaged
    AzureKeyVault
    AzureKeyVault
    SystemManaged
    SystemManaged
    AZURE_KEY_VAULT
    AzureKeyVault
    SYSTEM_MANAGED
    SystemManaged
    "AzureKeyVault"
    AzureKeyVault
    "SystemManaged"
    SystemManaged

    EnableStatusEnum, EnableStatusEnumArgs

    Enabled
    Enabled
    Disabled
    Disabled
    EnableStatusEnumEnabled
    Enabled
    EnableStatusEnumDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    HighAvailability, HighAvailabilityArgs

    Mode string | Pulumi.AzureNative.DBforMySQL.HighAvailabilityMode
    High availability mode for a server.
    StandbyAvailabilityZone string
    Availability zone of the standby server.
    Mode string | HighAvailabilityMode
    High availability mode for a server.
    StandbyAvailabilityZone string
    Availability zone of the standby server.
    mode String | HighAvailabilityMode
    High availability mode for a server.
    standbyAvailabilityZone String
    Availability zone of the standby server.
    mode string | HighAvailabilityMode
    High availability mode for a server.
    standbyAvailabilityZone string
    Availability zone of the standby server.
    mode str | HighAvailabilityMode
    High availability mode for a server.
    standby_availability_zone str
    Availability zone of the standby server.
    mode String | "Disabled" | "ZoneRedundant" | "SameZone"
    High availability mode for a server.
    standbyAvailabilityZone String
    Availability zone of the standby server.

    HighAvailabilityMode, HighAvailabilityModeArgs

    Disabled
    Disabled
    ZoneRedundant
    ZoneRedundant
    SameZone
    SameZone
    HighAvailabilityModeDisabled
    Disabled
    HighAvailabilityModeZoneRedundant
    ZoneRedundant
    HighAvailabilityModeSameZone
    SameZone
    Disabled
    Disabled
    ZoneRedundant
    ZoneRedundant
    SameZone
    SameZone
    Disabled
    Disabled
    ZoneRedundant
    ZoneRedundant
    SameZone
    SameZone
    DISABLED
    Disabled
    ZONE_REDUNDANT
    ZoneRedundant
    SAME_ZONE
    SameZone
    "Disabled"
    Disabled
    "ZoneRedundant"
    ZoneRedundant
    "SameZone"
    SameZone

    HighAvailabilityResponse, HighAvailabilityResponseArgs

    State string
    The state of server high availability.
    Mode string
    High availability mode for a server.
    StandbyAvailabilityZone string
    Availability zone of the standby server.
    State string
    The state of server high availability.
    Mode string
    High availability mode for a server.
    StandbyAvailabilityZone string
    Availability zone of the standby server.
    state String
    The state of server high availability.
    mode String
    High availability mode for a server.
    standbyAvailabilityZone String
    Availability zone of the standby server.
    state string
    The state of server high availability.
    mode string
    High availability mode for a server.
    standbyAvailabilityZone string
    Availability zone of the standby server.
    state str
    The state of server high availability.
    mode str
    High availability mode for a server.
    standby_availability_zone str
    Availability zone of the standby server.
    state String
    The state of server high availability.
    mode String
    High availability mode for a server.
    standbyAvailabilityZone String
    Availability zone of the standby server.

    ImportSourceProperties, ImportSourcePropertiesArgs

    DataDirPath string
    Relative path of data directory in storage.
    SasToken string
    Sas token for accessing source storage. Read and list permissions are required for sas token.
    StorageType string | Pulumi.AzureNative.DBforMySQL.ImportSourceStorageType
    Storage type of import source.
    StorageUrl string
    Uri of the import source storage.
    DataDirPath string
    Relative path of data directory in storage.
    SasToken string
    Sas token for accessing source storage. Read and list permissions are required for sas token.
    StorageType string | ImportSourceStorageType
    Storage type of import source.
    StorageUrl string
    Uri of the import source storage.
    dataDirPath String
    Relative path of data directory in storage.
    sasToken String
    Sas token for accessing source storage. Read and list permissions are required for sas token.
    storageType String | ImportSourceStorageType
    Storage type of import source.
    storageUrl String
    Uri of the import source storage.
    dataDirPath string
    Relative path of data directory in storage.
    sasToken string
    Sas token for accessing source storage. Read and list permissions are required for sas token.
    storageType string | ImportSourceStorageType
    Storage type of import source.
    storageUrl string
    Uri of the import source storage.
    data_dir_path str
    Relative path of data directory in storage.
    sas_token str
    Sas token for accessing source storage. Read and list permissions are required for sas token.
    storage_type str | ImportSourceStorageType
    Storage type of import source.
    storage_url str
    Uri of the import source storage.
    dataDirPath String
    Relative path of data directory in storage.
    sasToken String
    Sas token for accessing source storage. Read and list permissions are required for sas token.
    storageType String | "AzureBlob"
    Storage type of import source.
    storageUrl String
    Uri of the import source storage.

    ImportSourcePropertiesResponse, ImportSourcePropertiesResponseArgs

    DataDirPath string
    Relative path of data directory in storage.
    StorageType string
    Storage type of import source.
    StorageUrl string
    Uri of the import source storage.
    DataDirPath string
    Relative path of data directory in storage.
    StorageType string
    Storage type of import source.
    StorageUrl string
    Uri of the import source storage.
    dataDirPath String
    Relative path of data directory in storage.
    storageType String
    Storage type of import source.
    storageUrl String
    Uri of the import source storage.
    dataDirPath string
    Relative path of data directory in storage.
    storageType string
    Storage type of import source.
    storageUrl string
    Uri of the import source storage.
    data_dir_path str
    Relative path of data directory in storage.
    storage_type str
    Storage type of import source.
    storage_url str
    Uri of the import source storage.
    dataDirPath String
    Relative path of data directory in storage.
    storageType String
    Storage type of import source.
    storageUrl String
    Uri of the import source storage.

    ImportSourceStorageType, ImportSourceStorageTypeArgs

    AzureBlob
    AzureBlob
    ImportSourceStorageTypeAzureBlob
    AzureBlob
    AzureBlob
    AzureBlob
    AzureBlob
    AzureBlob
    AZURE_BLOB
    AzureBlob
    "AzureBlob"
    AzureBlob

    MaintenanceWindow, MaintenanceWindowArgs

    CustomWindow string
    indicates whether custom window is enabled or disabled
    DayOfWeek int
    day of week for maintenance window
    StartHour int
    start hour for maintenance window
    StartMinute int
    start minute for maintenance window
    CustomWindow string
    indicates whether custom window is enabled or disabled
    DayOfWeek int
    day of week for maintenance window
    StartHour int
    start hour for maintenance window
    StartMinute int
    start minute for maintenance window
    customWindow String
    indicates whether custom window is enabled or disabled
    dayOfWeek Integer
    day of week for maintenance window
    startHour Integer
    start hour for maintenance window
    startMinute Integer
    start minute for maintenance window
    customWindow string
    indicates whether custom window is enabled or disabled
    dayOfWeek number
    day of week for maintenance window
    startHour number
    start hour for maintenance window
    startMinute number
    start minute for maintenance window
    custom_window str
    indicates whether custom window is enabled or disabled
    day_of_week int
    day of week for maintenance window
    start_hour int
    start hour for maintenance window
    start_minute int
    start minute for maintenance window
    customWindow String
    indicates whether custom window is enabled or disabled
    dayOfWeek Number
    day of week for maintenance window
    startHour Number
    start hour for maintenance window
    startMinute Number
    start minute for maintenance window

    MaintenanceWindowResponse, MaintenanceWindowResponseArgs

    CustomWindow string
    indicates whether custom window is enabled or disabled
    DayOfWeek int
    day of week for maintenance window
    StartHour int
    start hour for maintenance window
    StartMinute int
    start minute for maintenance window
    CustomWindow string
    indicates whether custom window is enabled or disabled
    DayOfWeek int
    day of week for maintenance window
    StartHour int
    start hour for maintenance window
    StartMinute int
    start minute for maintenance window
    customWindow String
    indicates whether custom window is enabled or disabled
    dayOfWeek Integer
    day of week for maintenance window
    startHour Integer
    start hour for maintenance window
    startMinute Integer
    start minute for maintenance window
    customWindow string
    indicates whether custom window is enabled or disabled
    dayOfWeek number
    day of week for maintenance window
    startHour number
    start hour for maintenance window
    startMinute number
    start minute for maintenance window
    custom_window str
    indicates whether custom window is enabled or disabled
    day_of_week int
    day of week for maintenance window
    start_hour int
    start hour for maintenance window
    start_minute int
    start minute for maintenance window
    customWindow String
    indicates whether custom window is enabled or disabled
    dayOfWeek Number
    day of week for maintenance window
    startHour Number
    start hour for maintenance window
    startMinute Number
    start minute for maintenance window

    ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs

    UserAssigned
    UserAssigned
    ManagedServiceIdentityTypeUserAssigned
    UserAssigned
    UserAssigned
    UserAssigned
    UserAssigned
    UserAssigned
    USER_ASSIGNED
    UserAssigned
    "UserAssigned"
    UserAssigned

    MySQLServerIdentity, MySQLServerIdentityArgs

    Type string | Pulumi.AzureNative.DBforMySQL.ManagedServiceIdentityType
    Type of managed service identity.
    UserAssignedIdentities List<string>
    Metadata of user assigned identity.
    Type string | ManagedServiceIdentityType
    Type of managed service identity.
    UserAssignedIdentities []string
    Metadata of user assigned identity.
    type String | ManagedServiceIdentityType
    Type of managed service identity.
    userAssignedIdentities List<String>
    Metadata of user assigned identity.
    type string | ManagedServiceIdentityType
    Type of managed service identity.
    userAssignedIdentities string[]
    Metadata of user assigned identity.
    type str | ManagedServiceIdentityType
    Type of managed service identity.
    user_assigned_identities Sequence[str]
    Metadata of user assigned identity.
    type String | "UserAssigned"
    Type of managed service identity.
    userAssignedIdentities List<String>
    Metadata of user assigned identity.

    MySQLServerIdentityResponse, MySQLServerIdentityResponseArgs

    PrincipalId string
    ObjectId from the KeyVault
    TenantId string
    TenantId from the KeyVault
    Type string
    Type of managed service identity.
    UserAssignedIdentities Dictionary<string, ImmutableArray<Pulumi.AzureNative.DBforMySQL.Inputs.UserAssignedIdentityResponse>>
    Metadata of user assigned identity.
    PrincipalId string
    ObjectId from the KeyVault
    TenantId string
    TenantId from the KeyVault
    Type string
    Type of managed service identity.
    UserAssignedIdentities map[string][]UserAssignedIdentityResponse
    Metadata of user assigned identity.
    principalId String
    ObjectId from the KeyVault
    tenantId String
    TenantId from the KeyVault
    type String
    Type of managed service identity.
    userAssignedIdentities Map<String,List<UserAssignedIdentityResponse>>
    Metadata of user assigned identity.
    principalId string
    ObjectId from the KeyVault
    tenantId string
    TenantId from the KeyVault
    type string
    Type of managed service identity.
    userAssignedIdentities {[key: string]: UserAssignedIdentityResponse[]}
    Metadata of user assigned identity.
    principal_id str
    ObjectId from the KeyVault
    tenant_id str
    TenantId from the KeyVault
    type str
    Type of managed service identity.
    user_assigned_identities Mapping[str, Sequence[UserAssignedIdentityResponse]]
    Metadata of user assigned identity.
    principalId String
    ObjectId from the KeyVault
    tenantId String
    TenantId from the KeyVault
    type String
    Type of managed service identity.
    userAssignedIdentities Map<List<Property Map>>
    Metadata of user assigned identity.

    MySQLServerSku, MySQLServerSkuArgs

    Name string
    The name of the sku, e.g. Standard_D32s_v3.
    Tier string | Pulumi.AzureNative.DBforMySQL.ServerSkuTier
    The tier of the particular SKU, e.g. GeneralPurpose.
    Name string
    The name of the sku, e.g. Standard_D32s_v3.
    Tier string | ServerSkuTier
    The tier of the particular SKU, e.g. GeneralPurpose.
    name String
    The name of the sku, e.g. Standard_D32s_v3.
    tier String | ServerSkuTier
    The tier of the particular SKU, e.g. GeneralPurpose.
    name string
    The name of the sku, e.g. Standard_D32s_v3.
    tier string | ServerSkuTier
    The tier of the particular SKU, e.g. GeneralPurpose.
    name str
    The name of the sku, e.g. Standard_D32s_v3.
    tier str | ServerSkuTier
    The tier of the particular SKU, e.g. GeneralPurpose.
    name String
    The name of the sku, e.g. Standard_D32s_v3.
    tier String | "Burstable" | "GeneralPurpose" | "MemoryOptimized"
    The tier of the particular SKU, e.g. GeneralPurpose.

    MySQLServerSkuResponse, MySQLServerSkuResponseArgs

    Name string
    The name of the sku, e.g. Standard_D32s_v3.
    Tier string
    The tier of the particular SKU, e.g. GeneralPurpose.
    Name string
    The name of the sku, e.g. Standard_D32s_v3.
    Tier string
    The tier of the particular SKU, e.g. GeneralPurpose.
    name String
    The name of the sku, e.g. Standard_D32s_v3.
    tier String
    The tier of the particular SKU, e.g. GeneralPurpose.
    name string
    The name of the sku, e.g. Standard_D32s_v3.
    tier string
    The tier of the particular SKU, e.g. GeneralPurpose.
    name str
    The name of the sku, e.g. Standard_D32s_v3.
    tier str
    The tier of the particular SKU, e.g. GeneralPurpose.
    name String
    The name of the sku, e.g. Standard_D32s_v3.
    tier String
    The tier of the particular SKU, e.g. GeneralPurpose.

    Network, NetworkArgs

    DelegatedSubnetResourceId string
    Delegated subnet resource id used to setup vnet for a server.
    PrivateDnsZoneResourceId string
    Private DNS zone resource id.
    PublicNetworkAccess string | Pulumi.AzureNative.DBforMySQL.EnableStatusEnum
    Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
    DelegatedSubnetResourceId string
    Delegated subnet resource id used to setup vnet for a server.
    PrivateDnsZoneResourceId string
    Private DNS zone resource id.
    PublicNetworkAccess string | EnableStatusEnum
    Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
    delegatedSubnetResourceId String
    Delegated subnet resource id used to setup vnet for a server.
    privateDnsZoneResourceId String
    Private DNS zone resource id.
    publicNetworkAccess String | EnableStatusEnum
    Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
    delegatedSubnetResourceId string
    Delegated subnet resource id used to setup vnet for a server.
    privateDnsZoneResourceId string
    Private DNS zone resource id.
    publicNetworkAccess string | EnableStatusEnum
    Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
    delegated_subnet_resource_id str
    Delegated subnet resource id used to setup vnet for a server.
    private_dns_zone_resource_id str
    Private DNS zone resource id.
    public_network_access str | EnableStatusEnum
    Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
    delegatedSubnetResourceId String
    Delegated subnet resource id used to setup vnet for a server.
    privateDnsZoneResourceId String
    Private DNS zone resource id.
    publicNetworkAccess String | "Enabled" | "Disabled"
    Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.

    NetworkResponse, NetworkResponseArgs

    DelegatedSubnetResourceId string
    Delegated subnet resource id used to setup vnet for a server.
    PrivateDnsZoneResourceId string
    Private DNS zone resource id.
    PublicNetworkAccess string
    Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
    DelegatedSubnetResourceId string
    Delegated subnet resource id used to setup vnet for a server.
    PrivateDnsZoneResourceId string
    Private DNS zone resource id.
    PublicNetworkAccess string
    Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
    delegatedSubnetResourceId String
    Delegated subnet resource id used to setup vnet for a server.
    privateDnsZoneResourceId String
    Private DNS zone resource id.
    publicNetworkAccess String
    Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
    delegatedSubnetResourceId string
    Delegated subnet resource id used to setup vnet for a server.
    privateDnsZoneResourceId string
    Private DNS zone resource id.
    publicNetworkAccess string
    Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
    delegated_subnet_resource_id str
    Delegated subnet resource id used to setup vnet for a server.
    private_dns_zone_resource_id str
    Private DNS zone resource id.
    public_network_access str
    Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
    delegatedSubnetResourceId String
    Delegated subnet resource id used to setup vnet for a server.
    privateDnsZoneResourceId String
    Private DNS zone resource id.
    publicNetworkAccess String
    Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.

    PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs

    GroupIds List<string>
    The group ids for the private endpoint resource.
    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    Name string
    The name of the resource
    PrivateLinkServiceConnectionState Pulumi.AzureNative.DBforMySQL.Inputs.PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    ProvisioningState string
    The provisioning state of the private endpoint connection resource.
    SystemData Pulumi.AzureNative.DBforMySQL.Inputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    PrivateEndpoint Pulumi.AzureNative.DBforMySQL.Inputs.PrivateEndpointResponse
    The private endpoint resource.
    GroupIds []string
    The group ids for the private endpoint resource.
    Id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    Name string
    The name of the resource
    PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    ProvisioningState string
    The provisioning state of the private endpoint connection resource.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    PrivateEndpoint PrivateEndpointResponse
    The private endpoint resource.
    groupIds List<String>
    The group ids for the private endpoint resource.
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name String
    The name of the resource
    privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    provisioningState String
    The provisioning state of the private endpoint connection resource.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    privateEndpoint PrivateEndpointResponse
    The private endpoint resource.
    groupIds string[]
    The group ids for the private endpoint resource.
    id string
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name string
    The name of the resource
    privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    provisioningState string
    The provisioning state of the private endpoint connection resource.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    privateEndpoint PrivateEndpointResponse
    The private endpoint resource.
    group_ids Sequence[str]
    The group ids for the private endpoint resource.
    id str
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name str
    The name of the resource
    private_link_service_connection_state PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    provisioning_state str
    The provisioning state of the private endpoint connection resource.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    private_endpoint PrivateEndpointResponse
    The private endpoint resource.
    groupIds List<String>
    The group ids for the private endpoint resource.
    id String
    Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    name String
    The name of the resource
    privateLinkServiceConnectionState Property Map
    A collection of information about the state of the connection between service consumer and provider.
    provisioningState String
    The provisioning state of the private endpoint connection resource.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    privateEndpoint Property Map
    The private endpoint resource.

    PrivateEndpointResponse, PrivateEndpointResponseArgs

    Id string
    The ARM identifier for private endpoint.
    Id string
    The ARM identifier for private endpoint.
    id String
    The ARM identifier for private endpoint.
    id string
    The ARM identifier for private endpoint.
    id str
    The ARM identifier for private endpoint.
    id String
    The ARM identifier for private endpoint.

    PrivateLinkServiceConnectionStateResponse, PrivateLinkServiceConnectionStateResponseArgs

    ActionsRequired string
    A message indicating if changes on the service provider require any updates on the consumer.
    Description string
    The reason for approval/rejection of the connection.
    Status string
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
    ActionsRequired string
    A message indicating if changes on the service provider require any updates on the consumer.
    Description string
    The reason for approval/rejection of the connection.
    Status string
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
    actionsRequired String
    A message indicating if changes on the service provider require any updates on the consumer.
    description String
    The reason for approval/rejection of the connection.
    status String
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
    actionsRequired string
    A message indicating if changes on the service provider require any updates on the consumer.
    description string
    The reason for approval/rejection of the connection.
    status string
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
    actions_required str
    A message indicating if changes on the service provider require any updates on the consumer.
    description str
    The reason for approval/rejection of the connection.
    status str
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
    actionsRequired String
    A message indicating if changes on the service provider require any updates on the consumer.
    description String
    The reason for approval/rejection of the connection.
    status String
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

    ReplicationRole, ReplicationRoleArgs

    None
    None
    Source
    Source
    Replica
    Replica
    ReplicationRoleNone
    None
    ReplicationRoleSource
    Source
    ReplicationRoleReplica
    Replica
    None
    None
    Source
    Source
    Replica
    Replica
    None
    None
    Source
    Source
    Replica
    Replica
    NONE
    None
    SOURCE
    Source
    REPLICA
    Replica
    "None"
    None
    "Source"
    Source
    "Replica"
    Replica

    ServerSkuTier, ServerSkuTierArgs

    Burstable
    Burstable
    GeneralPurpose
    GeneralPurpose
    MemoryOptimized
    MemoryOptimized
    ServerSkuTierBurstable
    Burstable
    ServerSkuTierGeneralPurpose
    GeneralPurpose
    ServerSkuTierMemoryOptimized
    MemoryOptimized
    Burstable
    Burstable
    GeneralPurpose
    GeneralPurpose
    MemoryOptimized
    MemoryOptimized
    Burstable
    Burstable
    GeneralPurpose
    GeneralPurpose
    MemoryOptimized
    MemoryOptimized
    BURSTABLE
    Burstable
    GENERAL_PURPOSE
    GeneralPurpose
    MEMORY_OPTIMIZED
    MemoryOptimized
    "Burstable"
    Burstable
    "GeneralPurpose"
    GeneralPurpose
    "MemoryOptimized"
    MemoryOptimized

    ServerVersion, ServerVersionArgs

    ServerVersion_5_7
    5.7
    ServerVersion_8_0_21
    8.0.21
    ServerVersion_5_7
    5.7
    ServerVersion_8_0_21
    8.0.21
    _5_7
    5.7
    _8_0_21
    8.0.21
    ServerVersion_5_7
    5.7
    ServerVersion_8_0_21
    8.0.21
    SERVER_VERSION_5_7
    5.7
    SERVER_VERSION_8_0_21
    8.0.21
    "5.7"
    5.7
    "8.0.21"
    8.0.21

    Storage, StorageArgs

    AutoGrow string | Pulumi.AzureNative.DBforMySQL.EnableStatusEnum
    Enable Storage Auto Grow or not.
    AutoIoScaling string | Pulumi.AzureNative.DBforMySQL.EnableStatusEnum
    Enable IO Auto Scaling or not.
    Iops int
    Storage IOPS for a server.
    LogOnDisk string | Pulumi.AzureNative.DBforMySQL.EnableStatusEnum
    Enable Log On Disk or not.
    StorageRedundancy string | Pulumi.AzureNative.DBforMySQL.StorageRedundancyEnum
    The redundant type of the server storage. The parameter is used for server creation.
    StorageSizeGB int
    Max storage size allowed for a server.
    AutoGrow string | EnableStatusEnum
    Enable Storage Auto Grow or not.
    AutoIoScaling string | EnableStatusEnum
    Enable IO Auto Scaling or not.
    Iops int
    Storage IOPS for a server.
    LogOnDisk string | EnableStatusEnum
    Enable Log On Disk or not.
    StorageRedundancy string | StorageRedundancyEnum
    The redundant type of the server storage. The parameter is used for server creation.
    StorageSizeGB int
    Max storage size allowed for a server.
    autoGrow String | EnableStatusEnum
    Enable Storage Auto Grow or not.
    autoIoScaling String | EnableStatusEnum
    Enable IO Auto Scaling or not.
    iops Integer
    Storage IOPS for a server.
    logOnDisk String | EnableStatusEnum
    Enable Log On Disk or not.
    storageRedundancy String | StorageRedundancyEnum
    The redundant type of the server storage. The parameter is used for server creation.
    storageSizeGB Integer
    Max storage size allowed for a server.
    autoGrow string | EnableStatusEnum
    Enable Storage Auto Grow or not.
    autoIoScaling string | EnableStatusEnum
    Enable IO Auto Scaling or not.
    iops number
    Storage IOPS for a server.
    logOnDisk string | EnableStatusEnum
    Enable Log On Disk or not.
    storageRedundancy string | StorageRedundancyEnum
    The redundant type of the server storage. The parameter is used for server creation.
    storageSizeGB number
    Max storage size allowed for a server.
    auto_grow str | EnableStatusEnum
    Enable Storage Auto Grow or not.
    auto_io_scaling str | EnableStatusEnum
    Enable IO Auto Scaling or not.
    iops int
    Storage IOPS for a server.
    log_on_disk str | EnableStatusEnum
    Enable Log On Disk or not.
    storage_redundancy str | StorageRedundancyEnum
    The redundant type of the server storage. The parameter is used for server creation.
    storage_size_gb int
    Max storage size allowed for a server.
    autoGrow String | "Enabled" | "Disabled"
    Enable Storage Auto Grow or not.
    autoIoScaling String | "Enabled" | "Disabled"
    Enable IO Auto Scaling or not.
    iops Number
    Storage IOPS for a server.
    logOnDisk String | "Enabled" | "Disabled"
    Enable Log On Disk or not.
    storageRedundancy String | "LocalRedundancy" | "ZoneRedundancy"
    The redundant type of the server storage. The parameter is used for server creation.
    storageSizeGB Number
    Max storage size allowed for a server.

    StorageRedundancyEnum, StorageRedundancyEnumArgs

    LocalRedundancy
    LocalRedundancy
    ZoneRedundancy
    ZoneRedundancy
    StorageRedundancyEnumLocalRedundancy
    LocalRedundancy
    StorageRedundancyEnumZoneRedundancy
    ZoneRedundancy
    LocalRedundancy
    LocalRedundancy
    ZoneRedundancy
    ZoneRedundancy
    LocalRedundancy
    LocalRedundancy
    ZoneRedundancy
    ZoneRedundancy
    LOCAL_REDUNDANCY
    LocalRedundancy
    ZONE_REDUNDANCY
    ZoneRedundancy
    "LocalRedundancy"
    LocalRedundancy
    "ZoneRedundancy"
    ZoneRedundancy

    StorageResponse, StorageResponseArgs

    StorageSku string
    The sku name of the server storage.
    AutoGrow string
    Enable Storage Auto Grow or not.
    AutoIoScaling string
    Enable IO Auto Scaling or not.
    Iops int
    Storage IOPS for a server.
    LogOnDisk string
    Enable Log On Disk or not.
    StorageRedundancy string
    The redundant type of the server storage. The parameter is used for server creation.
    StorageSizeGB int
    Max storage size allowed for a server.
    StorageSku string
    The sku name of the server storage.
    AutoGrow string
    Enable Storage Auto Grow or not.
    AutoIoScaling string
    Enable IO Auto Scaling or not.
    Iops int
    Storage IOPS for a server.
    LogOnDisk string
    Enable Log On Disk or not.
    StorageRedundancy string
    The redundant type of the server storage. The parameter is used for server creation.
    StorageSizeGB int
    Max storage size allowed for a server.
    storageSku String
    The sku name of the server storage.
    autoGrow String
    Enable Storage Auto Grow or not.
    autoIoScaling String
    Enable IO Auto Scaling or not.
    iops Integer
    Storage IOPS for a server.
    logOnDisk String
    Enable Log On Disk or not.
    storageRedundancy String
    The redundant type of the server storage. The parameter is used for server creation.
    storageSizeGB Integer
    Max storage size allowed for a server.
    storageSku string
    The sku name of the server storage.
    autoGrow string
    Enable Storage Auto Grow or not.
    autoIoScaling string
    Enable IO Auto Scaling or not.
    iops number
    Storage IOPS for a server.
    logOnDisk string
    Enable Log On Disk or not.
    storageRedundancy string
    The redundant type of the server storage. The parameter is used for server creation.
    storageSizeGB number
    Max storage size allowed for a server.
    storage_sku str
    The sku name of the server storage.
    auto_grow str
    Enable Storage Auto Grow or not.
    auto_io_scaling str
    Enable IO Auto Scaling or not.
    iops int
    Storage IOPS for a server.
    log_on_disk str
    Enable Log On Disk or not.
    storage_redundancy str
    The redundant type of the server storage. The parameter is used for server creation.
    storage_size_gb int
    Max storage size allowed for a server.
    storageSku String
    The sku name of the server storage.
    autoGrow String
    Enable Storage Auto Grow or not.
    autoIoScaling String
    Enable IO Auto Scaling or not.
    iops Number
    Storage IOPS for a server.
    logOnDisk String
    Enable Log On Disk or not.
    storageRedundancy String
    The redundant type of the server storage. The parameter is used for server creation.
    storageSizeGB Number
    Max storage size allowed for a server.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs

    ClientId string
    Client Id of user assigned identity
    PrincipalId string
    Principal Id of user assigned identity
    ClientId string
    Client Id of user assigned identity
    PrincipalId string
    Principal Id of user assigned identity
    clientId String
    Client Id of user assigned identity
    principalId String
    Principal Id of user assigned identity
    clientId string
    Client Id of user assigned identity
    principalId string
    Principal Id of user assigned identity
    client_id str
    Client Id of user assigned identity
    principal_id str
    Principal Id of user assigned identity
    clientId String
    Client Id of user assigned identity
    principalId String
    Principal Id of user assigned identity

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:dbformysql:Server mysqltestserver /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi