1. Packages
  2. Azure Native
  3. API Docs
  4. dbformysql
  5. Server
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.dbformysql.Server

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Represents a server. Azure REST API version: 2022-01-01. Prior API version in Azure Native 1.x: 2017-12-01.

    Other available API versions: 2017-12-01, 2018-06-01-privatepreview, 2020-07-01-preview, 2020-07-01-privatepreview, 2022-09-30-preview, 2023-06-01-preview, 2023-06-30, 2023-10-01-preview, 2023-12-01-preview, 2023-12-30, 2024-02-01-preview.

    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
            {
                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.SkuArgs
            {
                Name = "Standard_D2ds_v4",
                Tier = AzureNative.DBforMySQL.SkuTier.GeneralPurpose,
            },
            Storage = new AzureNative.DBforMySQL.Inputs.StorageArgs
            {
                AutoGrow = AzureNative.DBforMySQL.EnableStatusEnum.Disabled,
                Iops = 600,
                StorageSizeGB = 100,
            },
            Tags = 
            {
                { "num", "1" },
            },
            Version = AzureNative.DBforMySQL.ServerVersion.ServerVersion_5_7,
        });
    
    });
    
    package main
    
    import (
    	dbformysql "github.com/pulumi/pulumi-azure-native-sdk/dbformysql/v2"
    	"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{
    				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.SkuArgs{
    				Name: pulumi.String("Standard_D2ds_v4"),
    				Tier: pulumi.String(dbformysql.SkuTierGeneralPurpose),
    			},
    			Storage: &dbformysql.StorageArgs{
    				AutoGrow:      pulumi.String(dbformysql.EnableStatusEnumDisabled),
    				Iops:          pulumi.Int(600),
    				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.SkuArgs;
    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()
                    .backupRetentionDays(7)
                    .geoRedundantBackup("Disabled")
                    .build())
                .createMode("Default")
                .highAvailability(HighAvailabilityArgs.builder()
                    .mode("ZoneRedundant")
                    .standbyAvailabilityZone("3")
                    .build())
                .location("southeastasia")
                .resourceGroupName("testrg")
                .serverName("mysqltestserver")
                .sku(SkuArgs.builder()
                    .name("Standard_D2ds_v4")
                    .tier("GeneralPurpose")
                    .build())
                .storage(StorageArgs.builder()
                    .autoGrow("Disabled")
                    .iops(600)
                    .storageSizeGB(100)
                    .build())
                .tags(Map.of("num", "1"))
                .version("5.7")
                .build());
    
        }
    }
    
    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=azure_native.dbformysql.BackupArgs(
            backup_retention_days=7,
            geo_redundant_backup=azure_native.dbformysql.EnableStatusEnum.DISABLED,
        ),
        create_mode=azure_native.dbformysql.CreateMode.DEFAULT,
        high_availability=azure_native.dbformysql.HighAvailabilityArgs(
            mode=azure_native.dbformysql.HighAvailabilityMode.ZONE_REDUNDANT,
            standby_availability_zone="3",
        ),
        location="southeastasia",
        resource_group_name="testrg",
        server_name="mysqltestserver",
        sku=azure_native.dbformysql.SkuArgs(
            name="Standard_D2ds_v4",
            tier=azure_native.dbformysql.SkuTier.GENERAL_PURPOSE,
        ),
        storage=azure_native.dbformysql.StorageArgs(
            auto_grow=azure_native.dbformysql.EnableStatusEnum.DISABLED,
            iops=600,
            storage_size_gb=100,
        ),
        tags={
            "num": "1",
        },
        version=azure_native.dbformysql.ServerVersion.SERVER_VERSION_5_7)
    
    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: {
            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.SkuTier.GeneralPurpose,
        },
        storage: {
            autoGrow: azure_native.dbformysql.EnableStatusEnum.Disabled,
            iops: 600,
            storageSizeGB: 100,
        },
        tags: {
            num: "1",
        },
        version: azure_native.dbformysql.ServerVersion.ServerVersion_5_7,
    });
    
    resources:
      server:
        type: azure-native:dbformysql:Server
        properties:
          administratorLogin: cloudsa
          administratorLoginPassword: your_password
          availabilityZone: '1'
          backup:
            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
            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/v2"
    	"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 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")
    
    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",
    });
    
    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.SkuArgs
            {
                Name = "Standard_D14_v2",
                Tier = AzureNative.DBforMySQL.SkuTier.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/v2"
    	"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.SkuArgs{
    				Name: pulumi.String("Standard_D14_v2"),
    				Tier: pulumi.String(dbformysql.SkuTierGeneralPurpose),
    			},
    			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.SkuArgs;
    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(SkuArgs.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 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=azure_native.dbformysql.SkuArgs(
            name="Standard_D14_v2",
            tier=azure_native.dbformysql.SkuTier.GENERAL_PURPOSE,
        ),
        source_server_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/flexibleServers/sourceserver",
        tags={
            "num": "1",
        })
    
    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.SkuTier.GeneralPurpose,
        },
        sourceServerResourceId: "/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,
               network: Optional[NetworkArgs] = None,
               version: Optional[Union[str, ServerVersion]] = None,
               maintenance_window: Optional[MaintenanceWindowArgs] = None,
               create_mode: Optional[Union[str, CreateMode]] = None,
               data_encryption: Optional[DataEncryptionArgs] = None,
               high_availability: Optional[HighAvailabilityArgs] = None,
               identity: Optional[IdentityArgs] = None,
               location: Optional[str] = None,
               backup: Optional[BackupArgs] = None,
               availability_zone: Optional[str] = None,
               administrator_login_password: Optional[str] = None,
               replication_role: Optional[Union[str, ReplicationRole]] = None,
               restore_point_in_time: Optional[str] = None,
               server_name: Optional[str] = None,
               sku: Optional[SkuArgs] = None,
               source_server_resource_id: Optional[str] = None,
               storage: Optional[StorageArgs] = None,
               tags: Optional[Mapping[str, str]] = None,
               administrator_login: Optional[str] = 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",
        Network = new AzureNative.DBforMySQL.Inputs.NetworkArgs
        {
            DelegatedSubnetResourceId = "string",
            PrivateDnsZoneResourceId = "string",
        },
        Version = "string",
        MaintenanceWindow = new AzureNative.DBforMySQL.Inputs.MaintenanceWindowArgs
        {
            CustomWindow = "string",
            DayOfWeek = 0,
            StartHour = 0,
            StartMinute = 0,
        },
        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.IdentityArgs
        {
            Type = AzureNative.DBforMySQL.ManagedServiceIdentityType.UserAssigned,
            UserAssignedIdentities = new[]
            {
                "string",
            },
        },
        Location = "string",
        Backup = new AzureNative.DBforMySQL.Inputs.BackupArgs
        {
            BackupRetentionDays = 0,
            GeoRedundantBackup = "string",
        },
        AvailabilityZone = "string",
        AdministratorLoginPassword = "string",
        ReplicationRole = "string",
        RestorePointInTime = "string",
        ServerName = "string",
        Sku = new AzureNative.DBforMySQL.Inputs.SkuArgs
        {
            Name = "string",
            Tier = "string",
        },
        SourceServerResourceId = "string",
        Storage = new AzureNative.DBforMySQL.Inputs.StorageArgs
        {
            AutoGrow = "string",
            AutoIoScaling = "string",
            Iops = 0,
            LogOnDisk = "string",
            StorageSizeGB = 0,
        },
        Tags = 
        {
            { "string", "string" },
        },
        AdministratorLogin = "string",
    });
    
    example, err := dbformysql.NewServer(ctx, "azure-nativeServerResource", &dbformysql.ServerArgs{
    ResourceGroupName: pulumi.String("string"),
    Network: &dbformysql.NetworkArgs{
    DelegatedSubnetResourceId: pulumi.String("string"),
    PrivateDnsZoneResourceId: pulumi.String("string"),
    },
    Version: pulumi.String("string"),
    MaintenanceWindow: &dbformysql.MaintenanceWindowArgs{
    CustomWindow: pulumi.String("string"),
    DayOfWeek: pulumi.Int(0),
    StartHour: pulumi.Int(0),
    StartMinute: pulumi.Int(0),
    },
    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.IdentityArgs{
    Type: dbformysql.ManagedServiceIdentityTypeUserAssigned,
    UserAssignedIdentities: pulumi.StringArray{
    pulumi.String("string"),
    },
    },
    Location: pulumi.String("string"),
    Backup: &dbformysql.BackupArgs{
    BackupRetentionDays: pulumi.Int(0),
    GeoRedundantBackup: pulumi.String("string"),
    },
    AvailabilityZone: pulumi.String("string"),
    AdministratorLoginPassword: pulumi.String("string"),
    ReplicationRole: pulumi.String("string"),
    RestorePointInTime: pulumi.String("string"),
    ServerName: pulumi.String("string"),
    Sku: &dbformysql.SkuArgs{
    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"),
    StorageSizeGB: pulumi.Int(0),
    },
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    AdministratorLogin: pulumi.String("string"),
    })
    
    var azure_nativeServerResource = new Server("azure-nativeServerResource", ServerArgs.builder()
        .resourceGroupName("string")
        .network(NetworkArgs.builder()
            .delegatedSubnetResourceId("string")
            .privateDnsZoneResourceId("string")
            .build())
        .version("string")
        .maintenanceWindow(MaintenanceWindowArgs.builder()
            .customWindow("string")
            .dayOfWeek(0)
            .startHour(0)
            .startMinute(0)
            .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(IdentityArgs.builder()
            .type("UserAssigned")
            .userAssignedIdentities("string")
            .build())
        .location("string")
        .backup(BackupArgs.builder()
            .backupRetentionDays(0)
            .geoRedundantBackup("string")
            .build())
        .availabilityZone("string")
        .administratorLoginPassword("string")
        .replicationRole("string")
        .restorePointInTime("string")
        .serverName("string")
        .sku(SkuArgs.builder()
            .name("string")
            .tier("string")
            .build())
        .sourceServerResourceId("string")
        .storage(StorageArgs.builder()
            .autoGrow("string")
            .autoIoScaling("string")
            .iops(0)
            .logOnDisk("string")
            .storageSizeGB(0)
            .build())
        .tags(Map.of("string", "string"))
        .administratorLogin("string")
        .build());
    
    azure_native_server_resource = azure_native.dbformysql.Server("azure-nativeServerResource",
        resource_group_name="string",
        network=azure_native.dbformysql.NetworkArgs(
            delegated_subnet_resource_id="string",
            private_dns_zone_resource_id="string",
        ),
        version="string",
        maintenance_window=azure_native.dbformysql.MaintenanceWindowArgs(
            custom_window="string",
            day_of_week=0,
            start_hour=0,
            start_minute=0,
        ),
        create_mode="string",
        data_encryption=azure_native.dbformysql.DataEncryptionArgs(
            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=azure_native.dbformysql.HighAvailabilityArgs(
            mode="string",
            standby_availability_zone="string",
        ),
        identity=azure_native.dbformysql.IdentityArgs(
            type=azure_native.dbformysql.ManagedServiceIdentityType.USER_ASSIGNED,
            user_assigned_identities=["string"],
        ),
        location="string",
        backup=azure_native.dbformysql.BackupArgs(
            backup_retention_days=0,
            geo_redundant_backup="string",
        ),
        availability_zone="string",
        administrator_login_password="string",
        replication_role="string",
        restore_point_in_time="string",
        server_name="string",
        sku=azure_native.dbformysql.SkuArgs(
            name="string",
            tier="string",
        ),
        source_server_resource_id="string",
        storage=azure_native.dbformysql.StorageArgs(
            auto_grow="string",
            auto_io_scaling="string",
            iops=0,
            log_on_disk="string",
            storage_size_gb=0,
        ),
        tags={
            "string": "string",
        },
        administrator_login="string")
    
    const azure_nativeServerResource = new azure_native.dbformysql.Server("azure-nativeServerResource", {
        resourceGroupName: "string",
        network: {
            delegatedSubnetResourceId: "string",
            privateDnsZoneResourceId: "string",
        },
        version: "string",
        maintenanceWindow: {
            customWindow: "string",
            dayOfWeek: 0,
            startHour: 0,
            startMinute: 0,
        },
        createMode: "string",
        dataEncryption: {
            geoBackupKeyURI: "string",
            geoBackupUserAssignedIdentityId: "string",
            primaryKeyURI: "string",
            primaryUserAssignedIdentityId: "string",
            type: azure_native.dbformysql.DataEncryptionType.AzureKeyVault,
        },
        highAvailability: {
            mode: "string",
            standbyAvailabilityZone: "string",
        },
        identity: {
            type: azure_native.dbformysql.ManagedServiceIdentityType.UserAssigned,
            userAssignedIdentities: ["string"],
        },
        location: "string",
        backup: {
            backupRetentionDays: 0,
            geoRedundantBackup: "string",
        },
        availabilityZone: "string",
        administratorLoginPassword: "string",
        replicationRole: "string",
        restorePointInTime: "string",
        serverName: "string",
        sku: {
            name: "string",
            tier: "string",
        },
        sourceServerResourceId: "string",
        storage: {
            autoGrow: "string",
            autoIoScaling: "string",
            iops: 0,
            logOnDisk: "string",
            storageSizeGB: 0,
        },
        tags: {
            string: "string",
        },
        administratorLogin: "string",
    });
    
    type: azure-native:dbformysql:Server
    properties:
        administratorLogin: string
        administratorLoginPassword: string
        availabilityZone: string
        backup:
            backupRetentionDays: 0
            geoRedundantBackup: string
        createMode: string
        dataEncryption:
            geoBackupKeyURI: string
            geoBackupUserAssignedIdentityId: string
            primaryKeyURI: string
            primaryUserAssignedIdentityId: string
            type: AzureKeyVault
        highAvailability:
            mode: string
            standbyAvailabilityZone: string
        identity:
            type: UserAssigned
            userAssignedIdentities:
                - string
        location: string
        maintenanceWindow:
            customWindow: string
            dayOfWeek: 0
            startHour: 0
            startMinute: 0
        network:
            delegatedSubnetResourceId: string
            privateDnsZoneResourceId: 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
            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

    The Server resource accepts the following input properties:

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

    Outputs

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

    FullyQualifiedDomainName string
    The fully qualified domain name of a server.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ReplicaCapacity int
    The maximum number of replicas that a primary server can have.
    State string
    The state of a server.
    SystemData Pulumi.AzureNative.DBforMySQL.Outputs.SystemDataResponse
    The system metadata relating to this resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    FullyQualifiedDomainName string
    The fully qualified domain name of a server.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ReplicaCapacity int
    The maximum number of replicas that a primary server can have.
    State string
    The state of a server.
    SystemData SystemDataResponse
    The system metadata relating to this resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    fullyQualifiedDomainName String
    The fully qualified domain name of a server.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    replicaCapacity Integer
    The maximum number of replicas that a primary server can have.
    state String
    The state of a server.
    systemData SystemDataResponse
    The system metadata relating to this resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    fullyQualifiedDomainName string
    The fully qualified domain name of a server.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    replicaCapacity number
    The maximum number of replicas that a primary server can have.
    state string
    The state of a server.
    systemData SystemDataResponse
    The system metadata relating to this resource.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    fully_qualified_domain_name str
    The fully qualified domain name of a server.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    replica_capacity int
    The maximum number of replicas that a primary server can have.
    state str
    The state of a server.
    system_data SystemDataResponse
    The system metadata relating to this resource.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    fullyQualifiedDomainName String
    The fully qualified domain name of a server.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    replicaCapacity Number
    The maximum number of replicas that a primary server can have.
    state String
    The state of a server.
    systemData Property Map
    The system metadata relating to this resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    Backup, BackupArgs

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

    BackupResponse, BackupResponseArgs

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

    CreateMode, CreateModeArgs

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

    DataEncryption, DataEncryptionArgs

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

    DataEncryptionResponse, DataEncryptionResponseArgs

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

    DataEncryptionType, DataEncryptionTypeArgs

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

    EnableStatusEnum, EnableStatusEnumArgs

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

    HighAvailability, HighAvailabilityArgs

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

    HighAvailabilityMode, HighAvailabilityModeArgs

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

    HighAvailabilityResponse, HighAvailabilityResponseArgs

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

    Identity, IdentityArgs

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

    IdentityResponse, IdentityResponseArgs

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

    MaintenanceWindow, MaintenanceWindowArgs

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

    MaintenanceWindowResponse, MaintenanceWindowResponseArgs

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

    ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs

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

    Network, NetworkArgs

    DelegatedSubnetResourceId string
    Delegated subnet resource id used to setup vnet for a server.
    PrivateDnsZoneResourceId string
    Private DNS zone resource id.
    DelegatedSubnetResourceId string
    Delegated subnet resource id used to setup vnet for a server.
    PrivateDnsZoneResourceId string
    Private DNS zone resource id.
    delegatedSubnetResourceId String
    Delegated subnet resource id used to setup vnet for a server.
    privateDnsZoneResourceId String
    Private DNS zone resource id.
    delegatedSubnetResourceId string
    Delegated subnet resource id used to setup vnet for a server.
    privateDnsZoneResourceId string
    Private DNS zone resource id.
    delegated_subnet_resource_id str
    Delegated subnet resource id used to setup vnet for a server.
    private_dns_zone_resource_id str
    Private DNS zone resource id.
    delegatedSubnetResourceId String
    Delegated subnet resource id used to setup vnet for a server.
    privateDnsZoneResourceId String
    Private DNS zone resource id.

    NetworkResponse, NetworkResponseArgs

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

    ReplicationRole, ReplicationRoleArgs

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

    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

    Sku, SkuArgs

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

    SkuResponse, SkuResponseArgs

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

    SkuTier, SkuTierArgs

    Burstable
    Burstable
    GeneralPurpose
    GeneralPurpose
    MemoryOptimized
    MemoryOptimized
    SkuTierBurstable
    Burstable
    SkuTierGeneralPurpose
    GeneralPurpose
    SkuTierMemoryOptimized
    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

    Storage, StorageArgs

    AutoGrow string | Pulumi.AzureNative.DBforMySQL.EnableStatusEnum
    Enable Storage Auto Grow or not.
    AutoIoScaling string | Pulumi.AzureNative.DBforMySQL.EnableStatusEnum
    Enable IO Auto Scaling or not.
    Iops int
    Storage IOPS for a server.
    LogOnDisk string | Pulumi.AzureNative.DBforMySQL.EnableStatusEnum
    Enable Log On Disk or not.
    StorageSizeGB int
    Max storage size allowed for a server.
    AutoGrow string | EnableStatusEnum
    Enable Storage Auto Grow or not.
    AutoIoScaling string | EnableStatusEnum
    Enable IO Auto Scaling or not.
    Iops int
    Storage IOPS for a server.
    LogOnDisk string | EnableStatusEnum
    Enable Log On Disk or not.
    StorageSizeGB int
    Max storage size allowed for a server.
    autoGrow String | EnableStatusEnum
    Enable Storage Auto Grow or not.
    autoIoScaling String | EnableStatusEnum
    Enable IO Auto Scaling or not.
    iops Integer
    Storage IOPS for a server.
    logOnDisk String | EnableStatusEnum
    Enable Log On Disk or not.
    storageSizeGB Integer
    Max storage size allowed for a server.
    autoGrow string | EnableStatusEnum
    Enable Storage Auto Grow or not.
    autoIoScaling string | EnableStatusEnum
    Enable IO Auto Scaling or not.
    iops number
    Storage IOPS for a server.
    logOnDisk string | EnableStatusEnum
    Enable Log On Disk or not.
    storageSizeGB number
    Max storage size allowed for a server.
    auto_grow str | EnableStatusEnum
    Enable Storage Auto Grow or not.
    auto_io_scaling str | EnableStatusEnum
    Enable IO Auto Scaling or not.
    iops int
    Storage IOPS for a server.
    log_on_disk str | EnableStatusEnum
    Enable Log On Disk or not.
    storage_size_gb int
    Max storage size allowed for a server.
    autoGrow String | "Enabled" | "Disabled"
    Enable Storage Auto Grow or not.
    autoIoScaling String | "Enabled" | "Disabled"
    Enable IO Auto Scaling or not.
    iops Number
    Storage IOPS for a server.
    logOnDisk String | "Enabled" | "Disabled"
    Enable Log On Disk or not.
    storageSizeGB Number
    Max storage size allowed for a server.

    StorageResponse, StorageResponseArgs

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

    SystemDataResponse, SystemDataResponseArgs

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

    UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs

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

    Import

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

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

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi