azure-native.dbformysql.Server
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, 2024-12-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:
- ResourceGroup stringName 
- 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).
- AdministratorLogin stringPassword 
- The password of the administrator login (required for server creation).
- AvailabilityZone string
- availability Zone information of the server.
- Backup
Pulumi.Azure Native. DBfor My SQL. Inputs. Backup 
- Backup related properties of a server.
- CreateMode string | Pulumi.Azure Native. DBfor My SQL. Create Mode 
- The mode to create a new MySQL server.
- DataEncryption Pulumi.Azure Native. DBfor My SQL. Inputs. Data Encryption 
- The Data Encryption for CMK.
- HighAvailability Pulumi.Azure Native. DBfor My SQL. Inputs. High Availability 
- High availability related properties of a server.
- Identity
Pulumi.Azure Native. DBfor My SQL. Inputs. My SQLServer Identity 
- The cmk identity for the server.
- ImportSource Pulumi.Properties Azure Native. DBfor My SQL. Inputs. Import Source Properties 
- Source properties for import from storage.
- Location string
- The geo-location where the resource lives
- MaintenanceWindow Pulumi.Azure Native. DBfor My SQL. Inputs. Maintenance Window 
- Maintenance window of a server.
- Network
Pulumi.Azure Native. DBfor My SQL. Inputs. Network 
- Network related properties of a server.
- ReplicationRole string | Pulumi.Azure Native. DBfor My SQL. Replication Role 
- The replication role.
- RestorePoint stringIn Time 
- Restore point creation time (ISO8601 format), specifying the time to restore from.
- ServerName string
- The name of the server.
- Sku
Pulumi.Azure Native. DBfor My SQL. Inputs. My SQLServer Sku 
- The SKU (pricing tier) of the server.
- SourceServer stringResource Id 
- The source MySQL server id.
- Storage
Pulumi.Azure Native. DBfor My SQL. Inputs. Storage 
- Storage related properties of a server.
- Dictionary<string, string>
- Resource tags.
- Version
string | Pulumi.Azure Native. DBfor My SQL. Server Version 
- Server version.
- ResourceGroup stringName 
- 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).
- AdministratorLogin stringPassword 
- 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 DataEncryption Args 
- The Data Encryption for CMK.
- HighAvailability HighAvailability Args 
- High availability related properties of a server.
- Identity
MySQLServer Identity Args 
- The cmk identity for the server.
- ImportSource ImportProperties Source Properties Args 
- Source properties for import from storage.
- Location string
- The geo-location where the resource lives
- MaintenanceWindow MaintenanceWindow Args 
- Maintenance window of a server.
- Network
NetworkArgs 
- Network related properties of a server.
- ReplicationRole string | ReplicationRole 
- The replication role.
- RestorePoint stringIn Time 
- Restore point creation time (ISO8601 format), specifying the time to restore from.
- ServerName string
- The name of the server.
- Sku
MySQLServer Sku Args 
- The SKU (pricing tier) of the server.
- SourceServer stringResource Id 
- The source MySQL server id.
- Storage
StorageArgs 
- Storage related properties of a server.
- map[string]string
- Resource tags.
- Version
string | ServerVersion 
- Server version.
- resourceGroup StringName 
- 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).
- administratorLogin StringPassword 
- 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
MySQLServer Identity 
- The cmk identity for the server.
- importSource ImportProperties Source Properties 
- 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.
- restorePoint StringIn Time 
- Restore point creation time (ISO8601 format), specifying the time to restore from.
- serverName String
- The name of the server.
- sku
MySQLServer Sku 
- The SKU (pricing tier) of the server.
- sourceServer StringResource Id 
- The source MySQL server id.
- storage Storage
- Storage related properties of a server.
- Map<String,String>
- Resource tags.
- version
String | ServerVersion 
- Server version.
- resourceGroup stringName 
- 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).
- administratorLogin stringPassword 
- 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
MySQLServer Identity 
- The cmk identity for the server.
- importSource ImportProperties Source Properties 
- 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.
- restorePoint stringIn Time 
- Restore point creation time (ISO8601 format), specifying the time to restore from.
- serverName string
- The name of the server.
- sku
MySQLServer Sku 
- The SKU (pricing tier) of the server.
- sourceServer stringResource Id 
- The source MySQL server id.
- storage Storage
- Storage related properties of a server.
- {[key: string]: string}
- Resource tags.
- version
string | ServerVersion 
- Server version.
- resource_group_ strname 
- 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_ strpassword 
- 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 DataEncryption Args 
- The Data Encryption for CMK.
- high_availability HighAvailability Args 
- High availability related properties of a server.
- identity
MySQLServer Identity Args 
- The cmk identity for the server.
- import_source_ Importproperties Source Properties Args 
- Source properties for import from storage.
- location str
- The geo-location where the resource lives
- maintenance_window MaintenanceWindow Args 
- Maintenance window of a server.
- network
NetworkArgs 
- Network related properties of a server.
- replication_role str | ReplicationRole 
- The replication role.
- restore_point_ strin_ time 
- Restore point creation time (ISO8601 format), specifying the time to restore from.
- server_name str
- The name of the server.
- sku
MySQLServer Sku Args 
- The SKU (pricing tier) of the server.
- source_server_ strresource_ id 
- The source MySQL server id.
- storage
StorageArgs 
- Storage related properties of a server.
- Mapping[str, str]
- Resource tags.
- version
str | ServerVersion 
- Server version.
- resourceGroup StringName 
- 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).
- administratorLogin StringPassword 
- 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" | "PointIn Time Restore" | "Geo Restore" | "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.
- importSource Property MapProperties 
- 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.
- restorePoint StringIn Time 
- 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.
- sourceServer StringResource Id 
- The source MySQL server id.
- storage Property Map
- Storage related properties of a server.
- 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:
- AzureApi stringVersion 
- The Azure API version of the resource.
- FullyQualified stringDomain Name 
- 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
- PrivateEndpoint List<Pulumi.Connections Azure Native. DBfor My SQL. Outputs. Private Endpoint Connection Response> 
- 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.Azure Native. DBfor My SQL. Outputs. System Data Response 
- 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"
- AzureApi stringVersion 
- The Azure API version of the resource.
- FullyQualified stringDomain Name 
- 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
- PrivateEndpoint []PrivateConnections Endpoint Connection Response 
- 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 SystemData Response 
- 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"
- azureApi StringVersion 
- The Azure API version of the resource.
- fullyQualified StringDomain Name 
- 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
- privateEndpoint List<PrivateConnections Endpoint Connection Response> 
- 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 SystemData Response 
- 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"
- azureApi stringVersion 
- The Azure API version of the resource.
- fullyQualified stringDomain Name 
- 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
- privateEndpoint PrivateConnections Endpoint Connection Response[] 
- 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 SystemData Response 
- 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_ strversion 
- The Azure API version of the resource.
- fully_qualified_ strdomain_ name 
- 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_ Sequence[Privateconnections Endpoint Connection Response] 
- 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 SystemData Response 
- 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"
- azureApi StringVersion 
- The Azure API version of the resource.
- fullyQualified StringDomain Name 
- 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
- privateEndpoint List<Property Map>Connections 
- 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  
Storage Profile properties of a server- BackupInterval intHours 
- Backup interval hours for the server.
- BackupRetention intDays 
- Backup retention days for the server.
- GeoRedundant string | Pulumi.Backup Azure Native. DBfor My SQL. Enable Status Enum 
- Whether or not geo redundant backup is enabled.
- BackupInterval intHours 
- Backup interval hours for the server.
- BackupRetention intDays 
- Backup retention days for the server.
- GeoRedundant string | EnableBackup Status Enum 
- Whether or not geo redundant backup is enabled.
- backupInterval IntegerHours 
- Backup interval hours for the server.
- backupRetention IntegerDays 
- Backup retention days for the server.
- geoRedundant String | EnableBackup Status Enum 
- Whether or not geo redundant backup is enabled.
- backupInterval numberHours 
- Backup interval hours for the server.
- backupRetention numberDays 
- Backup retention days for the server.
- geoRedundant string | EnableBackup Status Enum 
- Whether or not geo redundant backup is enabled.
- backup_interval_ inthours 
- Backup interval hours for the server.
- backup_retention_ intdays 
- Backup retention days for the server.
- geo_redundant_ str | Enablebackup Status Enum 
- Whether or not geo redundant backup is enabled.
- backupInterval NumberHours 
- Backup interval hours for the server.
- backupRetention NumberDays 
- Backup retention days for the server.
- geoRedundant String | "Enabled" | "Disabled"Backup 
- Whether or not geo redundant backup is enabled.
BackupResponse, BackupResponseArgs    
Storage Profile properties of a server- EarliestRestore stringDate 
- Earliest restore point creation time (ISO8601 format)
- BackupInterval intHours 
- Backup interval hours for the server.
- BackupRetention intDays 
- Backup retention days for the server.
- GeoRedundant stringBackup 
- Whether or not geo redundant backup is enabled.
- EarliestRestore stringDate 
- Earliest restore point creation time (ISO8601 format)
- BackupInterval intHours 
- Backup interval hours for the server.
- BackupRetention intDays 
- Backup retention days for the server.
- GeoRedundant stringBackup 
- Whether or not geo redundant backup is enabled.
- earliestRestore StringDate 
- Earliest restore point creation time (ISO8601 format)
- backupInterval IntegerHours 
- Backup interval hours for the server.
- backupRetention IntegerDays 
- Backup retention days for the server.
- geoRedundant StringBackup 
- Whether or not geo redundant backup is enabled.
- earliestRestore stringDate 
- Earliest restore point creation time (ISO8601 format)
- backupInterval numberHours 
- Backup interval hours for the server.
- backupRetention numberDays 
- Backup retention days for the server.
- geoRedundant stringBackup 
- Whether or not geo redundant backup is enabled.
- earliest_restore_ strdate 
- Earliest restore point creation time (ISO8601 format)
- backup_interval_ inthours 
- Backup interval hours for the server.
- backup_retention_ intdays 
- Backup retention days for the server.
- geo_redundant_ strbackup 
- Whether or not geo redundant backup is enabled.
- earliestRestore StringDate 
- Earliest restore point creation time (ISO8601 format)
- backupInterval NumberHours 
- Backup interval hours for the server.
- backupRetention NumberDays 
- Backup retention days for the server.
- geoRedundant StringBackup 
- Whether or not geo redundant backup is enabled.
CreateMode, CreateModeArgs    
- Default
- Default
- PointIn Time Restore 
- PointInTimeRestore
- GeoRestore 
- GeoRestore
- Replica
- Replica
- CreateMode Default 
- Default
- CreateMode Point In Time Restore 
- PointInTimeRestore
- CreateMode Geo Restore 
- GeoRestore
- CreateMode Replica 
- Replica
- Default
- Default
- PointIn Time Restore 
- PointInTimeRestore
- GeoRestore 
- GeoRestore
- Replica
- Replica
- Default
- Default
- PointIn Time Restore 
- PointInTimeRestore
- GeoRestore 
- GeoRestore
- Replica
- Replica
- DEFAULT
- Default
- POINT_IN_TIME_RESTORE
- PointInTimeRestore
- GEO_RESTORE
- GeoRestore
- REPLICA
- Replica
- "Default"
- Default
- "PointIn Time Restore" 
- PointInTimeRestore
- "GeoRestore" 
- GeoRestore
- "Replica"
- Replica
DataEncryption, DataEncryptionArgs    
The date encryption for cmk.- GeoBackup stringKey URI 
- Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
- GeoBackup stringUser Assigned Identity Id 
- Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
- PrimaryKey stringURI 
- Primary key uri
- PrimaryUser stringAssigned Identity Id 
- Primary user identity resource id
- Type
Pulumi.Azure Native. DBfor My SQL. Data Encryption Type 
- The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
- GeoBackup stringKey URI 
- Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
- GeoBackup stringUser Assigned Identity Id 
- Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
- PrimaryKey stringURI 
- Primary key uri
- PrimaryUser stringAssigned Identity Id 
- Primary user identity resource id
- Type
DataEncryption Type 
- The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
- geoBackup StringKey URI 
- Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
- geoBackup StringUser Assigned Identity Id 
- Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
- primaryKey StringURI 
- Primary key uri
- primaryUser StringAssigned Identity Id 
- Primary user identity resource id
- type
DataEncryption Type 
- The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
- geoBackup stringKey URI 
- Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
- geoBackup stringUser Assigned Identity Id 
- Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
- primaryKey stringURI 
- Primary key uri
- primaryUser stringAssigned Identity Id 
- Primary user identity resource id
- type
DataEncryption Type 
- The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
- geo_backup_ strkey_ uri 
- Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
- geo_backup_ struser_ assigned_ identity_ id 
- Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
- primary_key_ struri 
- Primary key uri
- primary_user_ strassigned_ identity_ id 
- Primary user identity resource id
- type
DataEncryption Type 
- The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
- geoBackup StringKey URI 
- Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
- geoBackup StringUser Assigned Identity Id 
- Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
- primaryKey StringURI 
- Primary key uri
- primaryUser StringAssigned Identity Id 
- Primary user identity resource id
- type
"AzureKey Vault" | "System Managed" 
- The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
DataEncryptionResponse, DataEncryptionResponseArgs      
The date encryption for cmk.- GeoBackup stringKey URI 
- Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
- GeoBackup stringUser Assigned Identity Id 
- Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
- PrimaryKey stringURI 
- Primary key uri
- PrimaryUser stringAssigned Identity Id 
- Primary user identity resource id
- Type string
- The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
- GeoBackup stringKey URI 
- Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
- GeoBackup stringUser Assigned Identity Id 
- Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
- PrimaryKey stringURI 
- Primary key uri
- PrimaryUser stringAssigned Identity Id 
- Primary user identity resource id
- Type string
- The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
- geoBackup StringKey URI 
- Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
- geoBackup StringUser Assigned Identity Id 
- Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
- primaryKey StringURI 
- Primary key uri
- primaryUser StringAssigned Identity Id 
- Primary user identity resource id
- type String
- The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
- geoBackup stringKey URI 
- Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
- geoBackup stringUser Assigned Identity Id 
- Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
- primaryKey stringURI 
- Primary key uri
- primaryUser stringAssigned Identity Id 
- Primary user identity resource id
- type string
- The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
- geo_backup_ strkey_ uri 
- Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
- geo_backup_ struser_ assigned_ identity_ id 
- Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
- primary_key_ struri 
- Primary key uri
- primary_user_ strassigned_ identity_ id 
- Primary user identity resource id
- type str
- The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
- geoBackup StringKey URI 
- Geo backup key uri as key vault can't cross region, need cmk in same region as geo backup
- geoBackup StringUser Assigned Identity Id 
- Geo backup user identity resource id as identity can't cross region, need identity in same region as geo backup
- primaryKey StringURI 
- Primary key uri
- primaryUser StringAssigned Identity Id 
- Primary user identity resource id
- type String
- The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
DataEncryptionType, DataEncryptionTypeArgs      
- AzureKey Vault 
- AzureKeyVault
- SystemManaged 
- SystemManaged
- DataEncryption Type Azure Key Vault 
- AzureKeyVault
- DataEncryption Type System Managed 
- SystemManaged
- AzureKey Vault 
- AzureKeyVault
- SystemManaged 
- SystemManaged
- AzureKey Vault 
- AzureKeyVault
- SystemManaged 
- SystemManaged
- AZURE_KEY_VAULT
- AzureKeyVault
- SYSTEM_MANAGED
- SystemManaged
- "AzureKey Vault" 
- AzureKeyVault
- "SystemManaged" 
- SystemManaged
EnableStatusEnum, EnableStatusEnumArgs      
- Enabled
- Enabled
- Disabled
- Disabled
- EnableStatus Enum Enabled 
- Enabled
- EnableStatus Enum Disabled 
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
HighAvailability, HighAvailabilityArgs    
High availability properties of a server- Mode
string | Pulumi.Azure Native. DBfor My SQL. High Availability Mode 
- High availability mode for a server.
- StandbyAvailability stringZone 
- Availability zone of the standby server.
- Mode
string | HighAvailability Mode 
- High availability mode for a server.
- StandbyAvailability stringZone 
- Availability zone of the standby server.
- mode
String | HighAvailability Mode 
- High availability mode for a server.
- standbyAvailability StringZone 
- Availability zone of the standby server.
- mode
string | HighAvailability Mode 
- High availability mode for a server.
- standbyAvailability stringZone 
- Availability zone of the standby server.
- mode
str | HighAvailability Mode 
- High availability mode for a server.
- standby_availability_ strzone 
- Availability zone of the standby server.
- mode
String | "Disabled" | "ZoneRedundant" | "Same Zone" 
- High availability mode for a server.
- standbyAvailability StringZone 
- Availability zone of the standby server.
HighAvailabilityMode, HighAvailabilityModeArgs      
- Disabled
- Disabled
- ZoneRedundant 
- ZoneRedundant
- SameZone 
- SameZone
- HighAvailability Mode Disabled 
- Disabled
- HighAvailability Mode Zone Redundant 
- ZoneRedundant
- HighAvailability Mode Same Zone 
- 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      
High availability properties of a server- State string
- The state of server high availability.
- Mode string
- High availability mode for a server.
- StandbyAvailability stringZone 
- Availability zone of the standby server.
- State string
- The state of server high availability.
- Mode string
- High availability mode for a server.
- StandbyAvailability stringZone 
- Availability zone of the standby server.
- state String
- The state of server high availability.
- mode String
- High availability mode for a server.
- standbyAvailability StringZone 
- Availability zone of the standby server.
- state string
- The state of server high availability.
- mode string
- High availability mode for a server.
- standbyAvailability stringZone 
- Availability zone of the standby server.
- state str
- The state of server high availability.
- mode str
- High availability mode for a server.
- standby_availability_ strzone 
- Availability zone of the standby server.
- state String
- The state of server high availability.
- mode String
- High availability mode for a server.
- standbyAvailability StringZone 
- Availability zone of the standby server.
ImportSourceProperties, ImportSourcePropertiesArgs      
Import source related properties.- DataDir stringPath 
- 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.Azure Native. DBfor My SQL. Import Source Storage Type 
- Storage type of import source.
- StorageUrl string
- Uri of the import source storage.
- DataDir stringPath 
- 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 | ImportSource Storage Type 
- Storage type of import source.
- StorageUrl string
- Uri of the import source storage.
- dataDir StringPath 
- 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 | ImportSource Storage Type 
- Storage type of import source.
- storageUrl String
- Uri of the import source storage.
- dataDir stringPath 
- 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 | ImportSource Storage Type 
- Storage type of import source.
- storageUrl string
- Uri of the import source storage.
- data_dir_ strpath 
- 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 | ImportSource Storage Type 
- Storage type of import source.
- storage_url str
- Uri of the import source storage.
- dataDir StringPath 
- 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        
Import source related properties.- DataDir stringPath 
- Relative path of data directory in storage.
- StorageType string
- Storage type of import source.
- StorageUrl string
- Uri of the import source storage.
- DataDir stringPath 
- Relative path of data directory in storage.
- StorageType string
- Storage type of import source.
- StorageUrl string
- Uri of the import source storage.
- dataDir StringPath 
- Relative path of data directory in storage.
- storageType String
- Storage type of import source.
- storageUrl String
- Uri of the import source storage.
- dataDir stringPath 
- Relative path of data directory in storage.
- storageType string
- Storage type of import source.
- storageUrl string
- Uri of the import source storage.
- data_dir_ strpath 
- Relative path of data directory in storage.
- storage_type str
- Storage type of import source.
- storage_url str
- Uri of the import source storage.
- dataDir StringPath 
- 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
- ImportSource Storage Type Azure Blob 
- AzureBlob
- AzureBlob 
- AzureBlob
- AzureBlob 
- AzureBlob
- AZURE_BLOB
- AzureBlob
- "AzureBlob" 
- AzureBlob
MaintenanceWindow, MaintenanceWindowArgs    
Maintenance window of a server.- CustomWindow string
- indicates whether custom window is enabled or disabled
- DayOf intWeek 
- 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
- DayOf intWeek 
- 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
- dayOf IntegerWeek 
- 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
- dayOf numberWeek 
- 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_ intweek 
- 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
- dayOf NumberWeek 
- day of week for maintenance window
- startHour Number
- start hour for maintenance window
- startMinute Number
- start minute for maintenance window
MaintenanceWindowResponse, MaintenanceWindowResponseArgs      
Maintenance window of a server.- CustomWindow string
- indicates whether custom window is enabled or disabled
- DayOf intWeek 
- 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
- DayOf intWeek 
- 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
- dayOf IntegerWeek 
- 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
- dayOf numberWeek 
- 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_ intweek 
- 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
- dayOf NumberWeek 
- day of week for maintenance window
- startHour Number
- start hour for maintenance window
- startMinute Number
- start minute for maintenance window
ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs        
- UserAssigned 
- UserAssigned
- ManagedService Identity Type User Assigned 
- UserAssigned
- UserAssigned 
- UserAssigned
- UserAssigned 
- UserAssigned
- USER_ASSIGNED
- UserAssigned
- "UserAssigned" 
- UserAssigned
MySQLServerIdentity, MySQLServerIdentityArgs      
Properties to configure Identity for Bring your Own Keys- Type
string | Pulumi.Azure Native. DBfor My SQL. Managed Service Identity Type 
- Type of managed service identity.
- UserAssigned List<string>Identities 
- Metadata of user assigned identity.
- Type
string | ManagedService Identity Type 
- Type of managed service identity.
- UserAssigned []stringIdentities 
- Metadata of user assigned identity.
- type
String | ManagedService Identity Type 
- Type of managed service identity.
- userAssigned List<String>Identities 
- Metadata of user assigned identity.
- type
string | ManagedService Identity Type 
- Type of managed service identity.
- userAssigned string[]Identities 
- Metadata of user assigned identity.
- type
str | ManagedService Identity Type 
- Type of managed service identity.
- user_assigned_ Sequence[str]identities 
- Metadata of user assigned identity.
- type
String | "UserAssigned" 
- Type of managed service identity.
- userAssigned List<String>Identities 
- Metadata of user assigned identity.
MySQLServerIdentityResponse, MySQLServerIdentityResponseArgs        
Properties to configure Identity for Bring your Own Keys- PrincipalId string
- ObjectId from the KeyVault
- TenantId string
- TenantId from the KeyVault
- Type string
- Type of managed service identity.
- UserAssigned Dictionary<string, ImmutableIdentities Array<Pulumi. Azure Native. DBfor My SQL. Inputs. User Assigned Identity Response>> 
- Metadata of user assigned identity.
- PrincipalId string
- ObjectId from the KeyVault
- TenantId string
- TenantId from the KeyVault
- Type string
- Type of managed service identity.
- UserAssigned map[string][]UserIdentities Assigned Identity Response 
- Metadata of user assigned identity.
- principalId String
- ObjectId from the KeyVault
- tenantId String
- TenantId from the KeyVault
- type String
- Type of managed service identity.
- userAssigned Map<String,List<UserIdentities Assigned Identity Response>> 
- Metadata of user assigned identity.
- principalId string
- ObjectId from the KeyVault
- tenantId string
- TenantId from the KeyVault
- type string
- Type of managed service identity.
- userAssigned {[key: string]: UserIdentities Assigned Identity Response[]} 
- 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_ Mapping[str, Sequence[Useridentities Assigned Identity Response]] 
- Metadata of user assigned identity.
- principalId String
- ObjectId from the KeyVault
- tenantId String
- TenantId from the KeyVault
- type String
- Type of managed service identity.
- userAssigned Map<List<Property Map>>Identities 
- Metadata of user assigned identity.
MySQLServerSku, MySQLServerSkuArgs      
Billing information related properties of a server.- Name string
- The name of the sku, e.g. Standard_D32s_v3.
- Tier
string | Pulumi.Azure Native. DBfor My SQL. Server Sku Tier 
- The tier of the particular SKU, e.g. GeneralPurpose.
- Name string
- The name of the sku, e.g. Standard_D32s_v3.
- Tier
string | ServerSku Tier 
- The tier of the particular SKU, e.g. GeneralPurpose.
- name String
- The name of the sku, e.g. Standard_D32s_v3.
- tier
String | ServerSku Tier 
- The tier of the particular SKU, e.g. GeneralPurpose.
- name string
- The name of the sku, e.g. Standard_D32s_v3.
- tier
string | ServerSku Tier 
- The tier of the particular SKU, e.g. GeneralPurpose.
- name str
- The name of the sku, e.g. Standard_D32s_v3.
- tier
str | ServerSku Tier 
- 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" | "Memory Optimized" 
- The tier of the particular SKU, e.g. GeneralPurpose.
MySQLServerSkuResponse, MySQLServerSkuResponseArgs        
Billing information related properties of a server.Network, NetworkArgs  
Network related properties of a server- DelegatedSubnet stringResource Id 
- Delegated subnet resource id used to setup vnet for a server.
- PrivateDns stringZone Resource Id 
- Private DNS zone resource id.
- PublicNetwork string | Pulumi.Access Azure Native. DBfor My SQL. Enable Status Enum 
- Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
- DelegatedSubnet stringResource Id 
- Delegated subnet resource id used to setup vnet for a server.
- PrivateDns stringZone Resource Id 
- Private DNS zone resource id.
- PublicNetwork string | EnableAccess Status Enum 
- Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
- delegatedSubnet StringResource Id 
- Delegated subnet resource id used to setup vnet for a server.
- privateDns StringZone Resource Id 
- Private DNS zone resource id.
- publicNetwork String | EnableAccess Status Enum 
- Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
- delegatedSubnet stringResource Id 
- Delegated subnet resource id used to setup vnet for a server.
- privateDns stringZone Resource Id 
- Private DNS zone resource id.
- publicNetwork string | EnableAccess Status Enum 
- Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
- delegated_subnet_ strresource_ id 
- Delegated subnet resource id used to setup vnet for a server.
- private_dns_ strzone_ resource_ id 
- Private DNS zone resource id.
- public_network_ str | Enableaccess Status Enum 
- Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
- delegatedSubnet StringResource Id 
- Delegated subnet resource id used to setup vnet for a server.
- privateDns StringZone Resource Id 
- Private DNS zone resource id.
- publicNetwork String | "Enabled" | "Disabled"Access 
- Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
NetworkResponse, NetworkResponseArgs    
Network related properties of a server- DelegatedSubnet stringResource Id 
- Delegated subnet resource id used to setup vnet for a server.
- PrivateDns stringZone Resource Id 
- Private DNS zone resource id.
- PublicNetwork stringAccess 
- Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
- DelegatedSubnet stringResource Id 
- Delegated subnet resource id used to setup vnet for a server.
- PrivateDns stringZone Resource Id 
- Private DNS zone resource id.
- PublicNetwork stringAccess 
- Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
- delegatedSubnet StringResource Id 
- Delegated subnet resource id used to setup vnet for a server.
- privateDns StringZone Resource Id 
- Private DNS zone resource id.
- publicNetwork StringAccess 
- Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
- delegatedSubnet stringResource Id 
- Delegated subnet resource id used to setup vnet for a server.
- privateDns stringZone Resource Id 
- Private DNS zone resource id.
- publicNetwork stringAccess 
- Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
- delegated_subnet_ strresource_ id 
- Delegated subnet resource id used to setup vnet for a server.
- private_dns_ strzone_ resource_ id 
- Private DNS zone resource id.
- public_network_ straccess 
- Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
- delegatedSubnet StringResource Id 
- Delegated subnet resource id used to setup vnet for a server.
- privateDns StringZone Resource Id 
- Private DNS zone resource id.
- publicNetwork StringAccess 
- Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.
PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs        
The private endpoint connection 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
- PrivateLink Pulumi.Service Connection State Azure Native. DBfor My SQL. Inputs. Private Link Service Connection State Response 
- 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.Azure Native. DBfor My SQL. Inputs. System Data Response 
- 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.Azure Native. DBfor My SQL. Inputs. Private Endpoint Response 
- 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
- PrivateLink PrivateService Connection State Link Service Connection State Response 
- 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 SystemData Response 
- 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 PrivateEndpoint Response 
- 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
- privateLink PrivateService Connection State Link Service Connection State Response 
- 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 SystemData Response 
- 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 PrivateEndpoint Response 
- 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
- privateLink PrivateService Connection State Link Service Connection State Response 
- 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 SystemData Response 
- 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 PrivateEndpoint Response 
- 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_ Privateservice_ connection_ state Link Service Connection State Response 
- 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 SystemData Response 
- 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 PrivateEndpoint Response 
- 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
- privateLink Property MapService Connection State 
- 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      
The private endpoint resource.- 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            
A collection of information about the state of the connection between service consumer and provider.- 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
- ReplicationRole None 
- None
- ReplicationRole Source 
- Source
- ReplicationRole Replica 
- 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
- ServerSku Tier Burstable 
- Burstable
- ServerSku Tier General Purpose 
- GeneralPurpose
- ServerSku Tier Memory Optimized 
- 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  
Storage Profile properties of a server- AutoGrow string | Pulumi.Azure Native. DBfor My SQL. Enable Status Enum 
- Enable Storage Auto Grow or not.
- AutoIo string | Pulumi.Scaling Azure Native. DBfor My SQL. Enable Status Enum 
- Enable IO Auto Scaling or not.
- Iops int
- Storage IOPS for a server.
- LogOn string | Pulumi.Disk Azure Native. DBfor My SQL. Enable Status Enum 
- Enable Log On Disk or not.
- StorageRedundancy string | Pulumi.Azure Native. DBfor My SQL. Storage Redundancy Enum 
- The redundant type of the server storage. The parameter is used for server creation.
- StorageSize intGB 
- Max storage size allowed for a server.
- AutoGrow string | EnableStatus Enum 
- Enable Storage Auto Grow or not.
- AutoIo string | EnableScaling Status Enum 
- Enable IO Auto Scaling or not.
- Iops int
- Storage IOPS for a server.
- LogOn string | EnableDisk Status Enum 
- Enable Log On Disk or not.
- StorageRedundancy string | StorageRedundancy Enum 
- The redundant type of the server storage. The parameter is used for server creation.
- StorageSize intGB 
- Max storage size allowed for a server.
- autoGrow String | EnableStatus Enum 
- Enable Storage Auto Grow or not.
- autoIo String | EnableScaling Status Enum 
- Enable IO Auto Scaling or not.
- iops Integer
- Storage IOPS for a server.
- logOn String | EnableDisk Status Enum 
- Enable Log On Disk or not.
- storageRedundancy String | StorageRedundancy Enum 
- The redundant type of the server storage. The parameter is used for server creation.
- storageSize IntegerGB 
- Max storage size allowed for a server.
- autoGrow string | EnableStatus Enum 
- Enable Storage Auto Grow or not.
- autoIo string | EnableScaling Status Enum 
- Enable IO Auto Scaling or not.
- iops number
- Storage IOPS for a server.
- logOn string | EnableDisk Status Enum 
- Enable Log On Disk or not.
- storageRedundancy string | StorageRedundancy Enum 
- The redundant type of the server storage. The parameter is used for server creation.
- storageSize numberGB 
- Max storage size allowed for a server.
- auto_grow str | EnableStatus Enum 
- Enable Storage Auto Grow or not.
- auto_io_ str | Enablescaling Status Enum 
- Enable IO Auto Scaling or not.
- iops int
- Storage IOPS for a server.
- log_on_ str | Enabledisk Status Enum 
- Enable Log On Disk or not.
- storage_redundancy str | StorageRedundancy Enum 
- The redundant type of the server storage. The parameter is used for server creation.
- storage_size_ intgb 
- Max storage size allowed for a server.
- autoGrow String | "Enabled" | "Disabled"
- Enable Storage Auto Grow or not.
- autoIo String | "Enabled" | "Disabled"Scaling 
- Enable IO Auto Scaling or not.
- iops Number
- Storage IOPS for a server.
- logOn String | "Enabled" | "Disabled"Disk 
- Enable Log On Disk or not.
- storageRedundancy String | "LocalRedundancy" | "Zone Redundancy" 
- The redundant type of the server storage. The parameter is used for server creation.
- storageSize NumberGB 
- Max storage size allowed for a server.
StorageRedundancyEnum, StorageRedundancyEnumArgs      
- LocalRedundancy 
- LocalRedundancy
- ZoneRedundancy 
- ZoneRedundancy
- StorageRedundancy Enum Local Redundancy 
- LocalRedundancy
- StorageRedundancy Enum Zone Redundancy 
- ZoneRedundancy
- LocalRedundancy 
- LocalRedundancy
- ZoneRedundancy 
- ZoneRedundancy
- LocalRedundancy 
- LocalRedundancy
- ZoneRedundancy 
- ZoneRedundancy
- LOCAL_REDUNDANCY
- LocalRedundancy
- ZONE_REDUNDANCY
- ZoneRedundancy
- "LocalRedundancy" 
- LocalRedundancy
- "ZoneRedundancy" 
- ZoneRedundancy
StorageResponse, StorageResponseArgs    
Storage Profile properties of a server- StorageSku string
- The sku name of the server storage.
- AutoGrow string
- Enable Storage Auto Grow or not.
- AutoIo stringScaling 
- Enable IO Auto Scaling or not.
- Iops int
- Storage IOPS for a server.
- LogOn stringDisk 
- Enable Log On Disk or not.
- StorageRedundancy string
- The redundant type of the server storage. The parameter is used for server creation.
- StorageSize intGB 
- Max storage size allowed for a server.
- StorageSku string
- The sku name of the server storage.
- AutoGrow string
- Enable Storage Auto Grow or not.
- AutoIo stringScaling 
- Enable IO Auto Scaling or not.
- Iops int
- Storage IOPS for a server.
- LogOn stringDisk 
- Enable Log On Disk or not.
- StorageRedundancy string
- The redundant type of the server storage. The parameter is used for server creation.
- StorageSize intGB 
- Max storage size allowed for a server.
- storageSku String
- The sku name of the server storage.
- autoGrow String
- Enable Storage Auto Grow or not.
- autoIo StringScaling 
- Enable IO Auto Scaling or not.
- iops Integer
- Storage IOPS for a server.
- logOn StringDisk 
- Enable Log On Disk or not.
- storageRedundancy String
- The redundant type of the server storage. The parameter is used for server creation.
- storageSize IntegerGB 
- Max storage size allowed for a server.
- storageSku string
- The sku name of the server storage.
- autoGrow string
- Enable Storage Auto Grow or not.
- autoIo stringScaling 
- Enable IO Auto Scaling or not.
- iops number
- Storage IOPS for a server.
- logOn stringDisk 
- Enable Log On Disk or not.
- storageRedundancy string
- The redundant type of the server storage. The parameter is used for server creation.
- storageSize numberGB 
- 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_ strscaling 
- Enable IO Auto Scaling or not.
- iops int
- Storage IOPS for a server.
- log_on_ strdisk 
- 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_ intgb 
- Max storage size allowed for a server.
- storageSku String
- The sku name of the server storage.
- autoGrow String
- Enable Storage Auto Grow or not.
- autoIo StringScaling 
- Enable IO Auto Scaling or not.
- iops Number
- Storage IOPS for a server.
- logOn StringDisk 
- Enable Log On Disk or not.
- storageRedundancy String
- The redundant type of the server storage. The parameter is used for server creation.
- storageSize NumberGB 
- Max storage size allowed for a server.
SystemDataResponse, SystemDataResponseArgs      
Metadata pertaining to creation and last modification of the resource.- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs        
Metadata 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
- 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
