1. Packages
  2. Azure Native
  3. API Docs
  4. mysqldiscovery
  5. MySQLServer
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.mysqldiscovery.MySQLServer

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

The MySQLServer resource definition.

Uses Azure REST API version 2024-09-30-preview. In version 2.x of the Azure Native provider, it used API version 2024-09-30-preview.

Example Usage

MySQLServers_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var mySQLServer = new AzureNative.MySQLDiscovery.MySQLServer("mySQLServer", new()
    {
        HostIp = new[]
        {
            "127.0.0.1",
            "127.0.0.2",
        },
        HostName = "test.mysql.server",
        MachineId = "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/Microsoft.OffAzure/serverSites/xxx/machines/xxx",
        MysqlVersion = "8.0",
        NumberOfDatabase = 16,
        PortNumber = "3306",
        ResourceGroupName = "testrg",
        ServerName = "testServerName",
        SiteName = "testSite",
        SupportStatus = AzureNative.MySQLDiscovery.SupportStatus.Mainstream,
    });

});
Copy
package main

import (
	mysqldiscovery "github.com/pulumi/pulumi-azure-native-sdk/mysqldiscovery/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mysqldiscovery.NewMySQLServer(ctx, "mySQLServer", &mysqldiscovery.MySQLServerArgs{
			HostIp: pulumi.StringArray{
				pulumi.String("127.0.0.1"),
				pulumi.String("127.0.0.2"),
			},
			HostName:          pulumi.String("test.mysql.server"),
			MachineId:         pulumi.String("/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/Microsoft.OffAzure/serverSites/xxx/machines/xxx"),
			MysqlVersion:      pulumi.String("8.0"),
			NumberOfDatabase:  pulumi.Float64(16),
			PortNumber:        pulumi.String("3306"),
			ResourceGroupName: pulumi.String("testrg"),
			ServerName:        pulumi.String("testServerName"),
			SiteName:          pulumi.String("testSite"),
			SupportStatus:     pulumi.String(mysqldiscovery.SupportStatusMainstream),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.mysqldiscovery.MySQLServer;
import com.pulumi.azurenative.mysqldiscovery.MySQLServerArgs;
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 mySQLServer = new MySQLServer("mySQLServer", MySQLServerArgs.builder()
            .hostIp(            
                "127.0.0.1",
                "127.0.0.2")
            .hostName("test.mysql.server")
            .machineId("/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/Microsoft.OffAzure/serverSites/xxx/machines/xxx")
            .mysqlVersion("8.0")
            .numberOfDatabase(16.0)
            .portNumber("3306")
            .resourceGroupName("testrg")
            .serverName("testServerName")
            .siteName("testSite")
            .supportStatus("Mainstream")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const mySQLServer = new azure_native.mysqldiscovery.MySQLServer("mySQLServer", {
    hostIp: [
        "127.0.0.1",
        "127.0.0.2",
    ],
    hostName: "test.mysql.server",
    machineId: "/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/Microsoft.OffAzure/serverSites/xxx/machines/xxx",
    mysqlVersion: "8.0",
    numberOfDatabase: 16,
    portNumber: "3306",
    resourceGroupName: "testrg",
    serverName: "testServerName",
    siteName: "testSite",
    supportStatus: azure_native.mysqldiscovery.SupportStatus.Mainstream,
});
Copy
import pulumi
import pulumi_azure_native as azure_native

my_sql_server = azure_native.mysqldiscovery.MySQLServer("mySQLServer",
    host_ip=[
        "127.0.0.1",
        "127.0.0.2",
    ],
    host_name="test.mysql.server",
    machine_id="/subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/Microsoft.OffAzure/serverSites/xxx/machines/xxx",
    mysql_version="8.0",
    number_of_database=16,
    port_number="3306",
    resource_group_name="testrg",
    server_name="testServerName",
    site_name="testSite",
    support_status=azure_native.mysqldiscovery.SupportStatus.MAINSTREAM)
Copy
resources:
  mySQLServer:
    type: azure-native:mysqldiscovery:MySQLServer
    properties:
      hostIp:
        - 127.0.0.1
        - 127.0.0.2
      hostName: test.mysql.server
      machineId: /subscriptions/a5015e1c-867f-4533-8541-85cd470d0cfb/resourcegroups/demoRG/providers/Microsoft.OffAzure/serverSites/xxx/machines/xxx
      mysqlVersion: '8.0'
      numberOfDatabase: 16
      portNumber: '3306'
      resourceGroupName: testrg
      serverName: testServerName
      siteName: testSite
      supportStatus: Mainstream
Copy

Create MySQLServer Resource

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

Constructor syntax

new MySQLServer(name: string, args: MySQLServerArgs, opts?: CustomResourceOptions);
@overload
def MySQLServer(resource_name: str,
                args: MySQLServerArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def MySQLServer(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                site_name: Optional[str] = None,
                port_number: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                host_name: Optional[str] = None,
                labels: Optional[Mapping[str, str]] = None,
                machine_id: Optional[str] = None,
                errors: Optional[Sequence[ErrorArgs]] = None,
                provisioning_state: Optional[Union[str, ProvisioningState]] = None,
                mysql_version: Optional[str] = None,
                number_of_database: Optional[float] = None,
                host_ip: Optional[Sequence[str]] = None,
                server_name: Optional[str] = None,
                edition: Optional[Union[str, Edition]] = None,
                support_end_in: Optional[str] = None,
                support_status: Optional[Union[str, SupportStatus]] = None,
                tags: Optional[Mapping[str, str]] = None)
func NewMySQLServer(ctx *Context, name string, args MySQLServerArgs, opts ...ResourceOption) (*MySQLServer, error)
public MySQLServer(string name, MySQLServerArgs args, CustomResourceOptions? opts = null)
public MySQLServer(String name, MySQLServerArgs args)
public MySQLServer(String name, MySQLServerArgs args, CustomResourceOptions options)
type: azure-native:mysqldiscovery:MySQLServer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MySQLServerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MySQLServerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MySQLServerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MySQLServerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MySQLServerArgs
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 mySQLServerResource = new AzureNative.MySQLDiscovery.MySQLServer("mySQLServerResource", new()
{
    SiteName = "string",
    PortNumber = "string",
    ResourceGroupName = "string",
    HostName = "string",
    Labels = 
    {
        { "string", "string" },
    },
    MachineId = "string",
    Errors = new[]
    {
        new AzureNative.MySQLDiscovery.Inputs.ErrorArgs
        {
            Code = "string",
            Id = "string",
            Message = "string",
            PossibleCause = "string",
            RecommendedAction = "string",
            RunAsAccountId = "string",
            Severity = "string",
            SummaryMessage = "string",
            UpdatedTimeStamp = "string",
        },
    },
    ProvisioningState = "string",
    MysqlVersion = "string",
    NumberOfDatabase = 0,
    HostIp = new[]
    {
        "string",
    },
    ServerName = "string",
    Edition = "string",
    SupportEndIn = "string",
    SupportStatus = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := mysqldiscovery.NewMySQLServer(ctx, "mySQLServerResource", &mysqldiscovery.MySQLServerArgs{
	SiteName:          pulumi.String("string"),
	PortNumber:        pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	HostName:          pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	MachineId: pulumi.String("string"),
	Errors: mysqldiscovery.ErrorArray{
		&mysqldiscovery.ErrorArgs{
			Code:              pulumi.String("string"),
			Id:                pulumi.String("string"),
			Message:           pulumi.String("string"),
			PossibleCause:     pulumi.String("string"),
			RecommendedAction: pulumi.String("string"),
			RunAsAccountId:    pulumi.String("string"),
			Severity:          pulumi.String("string"),
			SummaryMessage:    pulumi.String("string"),
			UpdatedTimeStamp:  pulumi.String("string"),
		},
	},
	ProvisioningState: pulumi.String("string"),
	MysqlVersion:      pulumi.String("string"),
	NumberOfDatabase:  pulumi.Float64(0),
	HostIp: pulumi.StringArray{
		pulumi.String("string"),
	},
	ServerName:    pulumi.String("string"),
	Edition:       pulumi.String("string"),
	SupportEndIn:  pulumi.String("string"),
	SupportStatus: pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var mySQLServerResource = new MySQLServer("mySQLServerResource", MySQLServerArgs.builder()
    .siteName("string")
    .portNumber("string")
    .resourceGroupName("string")
    .hostName("string")
    .labels(Map.of("string", "string"))
    .machineId("string")
    .errors(ErrorArgs.builder()
        .code("string")
        .id("string")
        .message("string")
        .possibleCause("string")
        .recommendedAction("string")
        .runAsAccountId("string")
        .severity("string")
        .summaryMessage("string")
        .updatedTimeStamp("string")
        .build())
    .provisioningState("string")
    .mysqlVersion("string")
    .numberOfDatabase(0)
    .hostIp("string")
    .serverName("string")
    .edition("string")
    .supportEndIn("string")
    .supportStatus("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
my_sql_server_resource = azure_native.mysqldiscovery.MySQLServer("mySQLServerResource",
    site_name="string",
    port_number="string",
    resource_group_name="string",
    host_name="string",
    labels={
        "string": "string",
    },
    machine_id="string",
    errors=[{
        "code": "string",
        "id": "string",
        "message": "string",
        "possible_cause": "string",
        "recommended_action": "string",
        "run_as_account_id": "string",
        "severity": "string",
        "summary_message": "string",
        "updated_time_stamp": "string",
    }],
    provisioning_state="string",
    mysql_version="string",
    number_of_database=0,
    host_ip=["string"],
    server_name="string",
    edition="string",
    support_end_in="string",
    support_status="string",
    tags={
        "string": "string",
    })
Copy
const mySQLServerResource = new azure_native.mysqldiscovery.MySQLServer("mySQLServerResource", {
    siteName: "string",
    portNumber: "string",
    resourceGroupName: "string",
    hostName: "string",
    labels: {
        string: "string",
    },
    machineId: "string",
    errors: [{
        code: "string",
        id: "string",
        message: "string",
        possibleCause: "string",
        recommendedAction: "string",
        runAsAccountId: "string",
        severity: "string",
        summaryMessage: "string",
        updatedTimeStamp: "string",
    }],
    provisioningState: "string",
    mysqlVersion: "string",
    numberOfDatabase: 0,
    hostIp: ["string"],
    serverName: "string",
    edition: "string",
    supportEndIn: "string",
    supportStatus: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:mysqldiscovery:MySQLServer
properties:
    edition: string
    errors:
        - code: string
          id: string
          message: string
          possibleCause: string
          recommendedAction: string
          runAsAccountId: string
          severity: string
          summaryMessage: string
          updatedTimeStamp: string
    hostIp:
        - string
    hostName: string
    labels:
        string: string
    machineId: string
    mysqlVersion: string
    numberOfDatabase: 0
    portNumber: string
    provisioningState: string
    resourceGroupName: string
    serverName: string
    siteName: string
    supportEndIn: string
    supportStatus: string
    tags:
        string: string
Copy

MySQLServer 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 MySQLServer resource accepts the following input properties:

HostName This property is required. string
The Server IP/host name.
PortNumber This property is required. string
MySQL Server port number
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
SiteName
This property is required.
Changes to this property will trigger replacement.
string
The name of Site
Edition string | Pulumi.AzureNative.MySQLDiscovery.Edition
mysql server edition.
Errors List<Pulumi.AzureNative.MySQLDiscovery.Inputs.Error>
The list of errors.
HostIp List<string>
The Server IP/host name.
Labels Dictionary<string, string>
Resource labels.
MachineId string
discovery Machine Id
MysqlVersion string
The mysql server version.
NumberOfDatabase double
The number of database.
ProvisioningState string | Pulumi.AzureNative.MySQLDiscovery.ProvisioningState
Gets or sets the provisioning state.
ServerName Changes to this property will trigger replacement. string
The name of Server
SupportEndIn string
Time when mysql version support end.
SupportStatus string | Pulumi.AzureNative.MySQLDiscovery.SupportStatus
mysql version support status.
Tags Dictionary<string, string>
Resource tags
HostName This property is required. string
The Server IP/host name.
PortNumber This property is required. string
MySQL Server port number
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
SiteName
This property is required.
Changes to this property will trigger replacement.
string
The name of Site
Edition string | Edition
mysql server edition.
Errors []ErrorArgs
The list of errors.
HostIp []string
The Server IP/host name.
Labels map[string]string
Resource labels.
MachineId string
discovery Machine Id
MysqlVersion string
The mysql server version.
NumberOfDatabase float64
The number of database.
ProvisioningState string | ProvisioningState
Gets or sets the provisioning state.
ServerName Changes to this property will trigger replacement. string
The name of Server
SupportEndIn string
Time when mysql version support end.
SupportStatus string | SupportStatus
mysql version support status.
Tags map[string]string
Resource tags
hostName This property is required. String
The Server IP/host name.
portNumber This property is required. String
MySQL Server port number
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
siteName
This property is required.
Changes to this property will trigger replacement.
String
The name of Site
edition String | Edition
mysql server edition.
errors List<Error>
The list of errors.
hostIp List<String>
The Server IP/host name.
labels Map<String,String>
Resource labels.
machineId String
discovery Machine Id
mysqlVersion String
The mysql server version.
numberOfDatabase Double
The number of database.
provisioningState String | ProvisioningState
Gets or sets the provisioning state.
serverName Changes to this property will trigger replacement. String
The name of Server
supportEndIn String
Time when mysql version support end.
supportStatus String | SupportStatus
mysql version support status.
tags Map<String,String>
Resource tags
hostName This property is required. string
The Server IP/host name.
portNumber This property is required. string
MySQL Server port number
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
siteName
This property is required.
Changes to this property will trigger replacement.
string
The name of Site
edition string | Edition
mysql server edition.
errors Error[]
The list of errors.
hostIp string[]
The Server IP/host name.
labels {[key: string]: string}
Resource labels.
machineId string
discovery Machine Id
mysqlVersion string
The mysql server version.
numberOfDatabase number
The number of database.
provisioningState string | ProvisioningState
Gets or sets the provisioning state.
serverName Changes to this property will trigger replacement. string
The name of Server
supportEndIn string
Time when mysql version support end.
supportStatus string | SupportStatus
mysql version support status.
tags {[key: string]: string}
Resource tags
host_name This property is required. str
The Server IP/host name.
port_number This property is required. str
MySQL Server port number
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
site_name
This property is required.
Changes to this property will trigger replacement.
str
The name of Site
edition str | Edition
mysql server edition.
errors Sequence[ErrorArgs]
The list of errors.
host_ip Sequence[str]
The Server IP/host name.
labels Mapping[str, str]
Resource labels.
machine_id str
discovery Machine Id
mysql_version str
The mysql server version.
number_of_database float
The number of database.
provisioning_state str | ProvisioningState
Gets or sets the provisioning state.
server_name Changes to this property will trigger replacement. str
The name of Server
support_end_in str
Time when mysql version support end.
support_status str | SupportStatus
mysql version support status.
tags Mapping[str, str]
Resource tags
hostName This property is required. String
The Server IP/host name.
portNumber This property is required. String
MySQL Server port number
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
siteName
This property is required.
Changes to this property will trigger replacement.
String
The name of Site
edition String | "Community" | "Enterprise"
mysql server edition.
errors List<Property Map>
The list of errors.
hostIp List<String>
The Server IP/host name.
labels Map<String>
Resource labels.
machineId String
discovery Machine Id
mysqlVersion String
The mysql server version.
numberOfDatabase Number
The number of database.
provisioningState String | "Unknown" | "Succeeded" | "Failed" | "Canceled" | "Creating" | "Deleting" | "Updating"
Gets or sets the provisioning state.
serverName Changes to this property will trigger replacement. String
The name of Server
supportEndIn String
Time when mysql version support end.
supportStatus String | "OutOfSupport" | "Extended" | "Mainstream"
mysql version support status.
tags Map<String>
Resource tags

Outputs

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

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData Pulumi.AzureNative.MySQLDiscovery.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the 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"

Supporting Types

Edition
, EditionArgs

Community
Community
Enterprise
Enterprise
EditionCommunity
Community
EditionEnterprise
Enterprise
Community
Community
Enterprise
Enterprise
Community
Community
Enterprise
Enterprise
COMMUNITY
Community
ENTERPRISE
Enterprise
"Community"
Community
"Enterprise"
Enterprise

Error
, ErrorArgs

Code string
The error code.
Id string
The error ID.
Message string
The detailed error message.
PossibleCause string
The error possible cause.
RecommendedAction string
Gets description of the checkpoint.
RunAsAccountId string
The account ID used to login.
Severity string
Gets description of the severity.
SummaryMessage string
The summarized error message.
UpdatedTimeStamp string
Time when this error was last updated.
Code string
The error code.
Id string
The error ID.
Message string
The detailed error message.
PossibleCause string
The error possible cause.
RecommendedAction string
Gets description of the checkpoint.
RunAsAccountId string
The account ID used to login.
Severity string
Gets description of the severity.
SummaryMessage string
The summarized error message.
UpdatedTimeStamp string
Time when this error was last updated.
code String
The error code.
id String
The error ID.
message String
The detailed error message.
possibleCause String
The error possible cause.
recommendedAction String
Gets description of the checkpoint.
runAsAccountId String
The account ID used to login.
severity String
Gets description of the severity.
summaryMessage String
The summarized error message.
updatedTimeStamp String
Time when this error was last updated.
code string
The error code.
id string
The error ID.
message string
The detailed error message.
possibleCause string
The error possible cause.
recommendedAction string
Gets description of the checkpoint.
runAsAccountId string
The account ID used to login.
severity string
Gets description of the severity.
summaryMessage string
The summarized error message.
updatedTimeStamp string
Time when this error was last updated.
code str
The error code.
id str
The error ID.
message str
The detailed error message.
possible_cause str
The error possible cause.
recommended_action str
Gets description of the checkpoint.
run_as_account_id str
The account ID used to login.
severity str
Gets description of the severity.
summary_message str
The summarized error message.
updated_time_stamp str
Time when this error was last updated.
code String
The error code.
id String
The error ID.
message String
The detailed error message.
possibleCause String
The error possible cause.
recommendedAction String
Gets description of the checkpoint.
runAsAccountId String
The account ID used to login.
severity String
Gets description of the severity.
summaryMessage String
The summarized error message.
updatedTimeStamp String
Time when this error was last updated.

ErrorResponse
, ErrorResponseArgs

Code string
The error code.
Id string
The error ID.
Message string
The detailed error message.
PossibleCause string
The error possible cause.
RecommendedAction string
Gets description of the checkpoint.
RunAsAccountId string
The account ID used to login.
Severity string
Gets description of the severity.
SummaryMessage string
The summarized error message.
UpdatedTimeStamp string
Time when this error was last updated.
Code string
The error code.
Id string
The error ID.
Message string
The detailed error message.
PossibleCause string
The error possible cause.
RecommendedAction string
Gets description of the checkpoint.
RunAsAccountId string
The account ID used to login.
Severity string
Gets description of the severity.
SummaryMessage string
The summarized error message.
UpdatedTimeStamp string
Time when this error was last updated.
code String
The error code.
id String
The error ID.
message String
The detailed error message.
possibleCause String
The error possible cause.
recommendedAction String
Gets description of the checkpoint.
runAsAccountId String
The account ID used to login.
severity String
Gets description of the severity.
summaryMessage String
The summarized error message.
updatedTimeStamp String
Time when this error was last updated.
code string
The error code.
id string
The error ID.
message string
The detailed error message.
possibleCause string
The error possible cause.
recommendedAction string
Gets description of the checkpoint.
runAsAccountId string
The account ID used to login.
severity string
Gets description of the severity.
summaryMessage string
The summarized error message.
updatedTimeStamp string
Time when this error was last updated.
code str
The error code.
id str
The error ID.
message str
The detailed error message.
possible_cause str
The error possible cause.
recommended_action str
Gets description of the checkpoint.
run_as_account_id str
The account ID used to login.
severity str
Gets description of the severity.
summary_message str
The summarized error message.
updated_time_stamp str
Time when this error was last updated.
code String
The error code.
id String
The error ID.
message String
The detailed error message.
possibleCause String
The error possible cause.
recommendedAction String
Gets description of the checkpoint.
runAsAccountId String
The account ID used to login.
severity String
Gets description of the severity.
summaryMessage String
The summarized error message.
updatedTimeStamp String
Time when this error was last updated.

ProvisioningState
, ProvisioningStateArgs

Unknown
Unknown
Succeeded
Succeeded
Failed
Failed
Canceled
Canceled
Creating
Creating
Deleting
Deleting
Updating
Updating
ProvisioningStateUnknown
Unknown
ProvisioningStateSucceeded
Succeeded
ProvisioningStateFailed
Failed
ProvisioningStateCanceled
Canceled
ProvisioningStateCreating
Creating
ProvisioningStateDeleting
Deleting
ProvisioningStateUpdating
Updating
Unknown
Unknown
Succeeded
Succeeded
Failed
Failed
Canceled
Canceled
Creating
Creating
Deleting
Deleting
Updating
Updating
Unknown
Unknown
Succeeded
Succeeded
Failed
Failed
Canceled
Canceled
Creating
Creating
Deleting
Deleting
Updating
Updating
UNKNOWN
Unknown
SUCCEEDED
Succeeded
FAILED
Failed
CANCELED
Canceled
CREATING
Creating
DELETING
Deleting
UPDATING
Updating
"Unknown"
Unknown
"Succeeded"
Succeeded
"Failed"
Failed
"Canceled"
Canceled
"Creating"
Creating
"Deleting"
Deleting
"Updating"
Updating

SupportStatus
, SupportStatusArgs

OutOfSupport
OutOfSupport
Extended
Extended
Mainstream
Mainstream
SupportStatusOutOfSupport
OutOfSupport
SupportStatusExtended
Extended
SupportStatusMainstream
Mainstream
OutOfSupport
OutOfSupport
Extended
Extended
Mainstream
Mainstream
OutOfSupport
OutOfSupport
Extended
Extended
Mainstream
Mainstream
OUT_OF_SUPPORT
OutOfSupport
EXTENDED
Extended
MAINSTREAM
Mainstream
"OutOfSupport"
OutOfSupport
"Extended"
Extended
"Mainstream"
Mainstream

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.

Import

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

$ pulumi import azure-native:mysqldiscovery:MySQLServer testServerName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}/MySQLServers/{serverName} 
Copy

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

Package Details

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