次の方法で共有


Servers - Create

新しいサーバーを作成するか、既存のサーバーを更新します。 更新アクションによって、既存のサーバーが上書きされます。

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}?api-version=2023-12-30

URI パラメーター

名前 / 必須 説明
resourceGroupName
path True

string

minLength: 1
maxLength: 90

リソース グループの名前。 名前は大文字と小文字が区別されます。

serverName
path True

string

pattern: ^[a-z0-9][-a-z0-9]*(?

サーバーの名前。

subscriptionId
path True

string (uuid)

ターゲット サブスクリプションの ID。 値は UUID である必要があります。

api-version
query True

string

minLength: 1

この操作に使用する API バージョン。

要求本文

名前 必須 説明
location True

string

リソースが存在する地理的な場所

identity.type

ManagedServiceIdentityType

マネージド サービス ID の種類。

identity.userAssignedIdentities

object

ユーザー割り当て ID のメタデータ。

properties.administratorLogin

string

サーバーの管理者のログイン名。 サーバーの作成時にのみ指定できます (作成に必要です)。

properties.administratorLoginPassword

string (password)

管理者ログインのパスワード (サーバーの作成に必要)。

properties.availabilityZone

string

サーバーの可用性ゾーン情報。

properties.backup

Backup

サーバーのバックアップ関連プロパティ。

properties.createMode

CreateMode

新しい MySQL サーバーを作成するモード。

properties.dataEncryption

DataEncryption

CMK のデータ暗号化。

properties.highAvailability

HighAvailability

サーバーの高可用性関連のプロパティ。

properties.importSourceProperties

ImportSourceProperties

ストレージからのインポートのソース プロパティ。

properties.maintenanceWindow

MaintenanceWindow

サーバーのメンテナンス期間。

properties.network

Network

サーバーのネットワーク関連のプロパティ。

properties.replicationRole

ReplicationRole

レプリケーション ロール。

properties.restorePointInTime

string (date-time)

復元ポイントの作成時刻 (ISO8601形式)。復元元の時刻を指定します。

properties.sourceServerResourceId

string

ソース MySQL サーバー ID。

properties.storage

Storage

サーバーのストレージ関連のプロパティ。

properties.version

ServerVersion

サーバーのバージョン。

sku

MySQLServerSku

サーバーの SKU (価格レベル)。

tags

object

リソース タグ。

応答

名前 説明
200 OK

Server

[OK]

201 Created

Server

作成

202 Accepted

受け入れられた

ヘッダー

Location: string

Other Status Codes

ErrorResponse

操作が失敗した理由を説明するエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

型: oauth2
フロー: implicit
Authorization URL (承認 URL): https://login.microsoftonline.com/common/oauth2/authorize

スコープ

名前 説明
user_impersonation ユーザー アカウントを偽装する

Create a new server
Create a replica server
Create a server as a point in time restore
Create a server with byok

Create a new server

要求のサンプル

PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver?api-version=2023-12-30

{
  "sku": {
    "name": "Standard_D2ds_v4",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "administratorLoginPassword": "your_password",
    "availabilityZone": "1",
    "version": "5.7",
    "createMode": "Default",
    "storage": {
      "storageSizeGB": 100,
      "iops": 600,
      "autoGrow": "Disabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "backupIntervalHours": 24,
      "geoRedundantBackup": "Disabled"
    },
    "highAvailability": {
      "mode": "ZoneRedundant",
      "standbyAvailabilityZone": "3"
    }
  },
  "location": "southeastasia",
  "tags": {
    "num": "1"
  }
}

応答のサンプル

{
  "sku": {
    "name": "Standard_D2ds_v4",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "storage": {
      "storageSizeGB": 100,
      "iops": 600,
      "autoGrow": "Enabled",
      "storageSku": "Premium_LRS"
    },
    "version": "5.7",
    "state": "Ready",
    "fullyQualifiedDomainName": "mysqltestserver.database.mysql.azure.com",
    "availabilityZone": "1",
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "replicationRole": "None",
    "replicaCapacity": 10,
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2021-06-17T06:11:38.4150019+00:00"
    },
    "highAvailability": {
      "mode": "ZoneRedundant",
      "state": "Healthy",
      "standbyAvailabilityZone": "3"
    }
  },
  "location": "Southeast Asia",
  "tags": {
    "num": "1"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver",
  "name": "mysqltestserver",
  "type": "Microsoft.DBforMySQL/flexibleServers"
}
{
  "sku": {
    "name": "Standard_D2ds_v4",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "storage": {
      "storageSizeGB": 100,
      "iops": 600,
      "autoGrow": "Enabled",
      "storageSku": "Premium_LRS"
    },
    "version": "5.7",
    "state": "Ready",
    "fullyQualifiedDomainName": "mysqltestserver.database.mysql.azure.com",
    "availabilityZone": "1",
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "replicationRole": "None",
    "replicaCapacity": 10,
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2021-06-17T06:11:38.4150019+00:00"
    },
    "highAvailability": {
      "mode": "ZoneRedundant",
      "state": "Healthy",
      "standbyAvailabilityZone": "3"
    }
  },
  "location": "Southeast Asia",
  "tags": {
    "num": "1"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver",
  "name": "mysqltestserver",
  "type": "Microsoft.DBforMySQL/flexibleServers"
}

Create a replica server

要求のサンプル

PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testgr/providers/Microsoft.DBforMySQL/flexibleServers/replica-server?api-version=2023-12-30

{
  "location": "SoutheastAsia",
  "properties": {
    "createMode": "Replica",
    "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testgr/providers/Microsoft.DBforMySQL/flexibleServers/source-server"
  }
}

応答のサンプル

{
  "sku": {
    "name": "Standard_D2ds_v4",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "storage": {
      "storageSizeGB": 20,
      "iops": 360,
      "autoGrow": "Enabled",
      "storageSku": "Premium_LRS"
    },
    "version": "5.7",
    "state": "Ready",
    "fullyQualifiedDomainName": "replica-server.database.mysql.azure.com",
    "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testgr/providers/Microsoft.DBforMySQL/flexibleServers/source-server",
    "availabilityZone": "3",
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "replicationRole": "Replica",
    "replicaCapacity": 0,
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "backupIntervalHours": 24,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2021-06-24T08:19:18.5729164+00:00"
    },
    "highAvailability": {
      "mode": "Disabled",
      "state": "NotEnabled"
    }
  },
  "location": "Southeast Asia",
  "tags": {
    "ElasticServer": "1"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testgr/providers/Microsoft.DBforMySQL/flexibleServers/replica-server",
  "name": "replica-server",
  "type": "Microsoft.DBforMySQL/flexibleServers"
}
{
  "sku": {
    "name": "Standard_D2ds_v4",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "storage": {
      "storageSizeGB": 20,
      "iops": 360,
      "autoGrow": "Enabled",
      "storageSku": "Premium_LRS"
    },
    "version": "5.7",
    "state": "Ready",
    "fullyQualifiedDomainName": "replica-server.database.mysql.azure.com",
    "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testgr/providers/Microsoft.DBforMySQL/flexibleServers/source-server",
    "availabilityZone": "3",
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "replicationRole": "Replica",
    "replicaCapacity": 0,
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2021-06-24T08:19:18.5729164+00:00"
    },
    "highAvailability": {
      "mode": "Disabled",
      "state": "NotEnabled"
    }
  },
  "location": "Southeast Asia",
  "tags": {
    "ElasticServer": "1"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testgr/providers/Microsoft.DBforMySQL/flexibleServers/replica-server",
  "name": "replica-server",
  "type": "Microsoft.DBforMySQL/flexibleServers"
}

Create a server as a point in time restore

要求のサンプル

PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMySQL/flexibleServers/targetserver?api-version=2023-12-30

{
  "location": "SoutheastAsia",
  "properties": {
    "restorePointInTime": "2021-06-24T00:00:37.467Z",
    "createMode": "PointInTimeRestore",
    "sourceServerResourceId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/flexibleServers/sourceserver"
  },
  "sku": {
    "name": "Standard_D14_v2",
    "tier": "GeneralPurpose"
  },
  "tags": {
    "num": "1"
  }
}

応答のサンプル

{
  "sku": {
    "name": "Standard_D2ds_v4",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "administratorLogin": "adminuser",
    "storage": {
      "storageSizeGB": 20,
      "iops": 360,
      "autoGrow": "Enabled",
      "storageSku": "Premium_LRS"
    },
    "version": "5.7",
    "state": "Ready",
    "fullyQualifiedDomainName": "targetserver.database.mysql.azure.com",
    "availabilityZone": "1",
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "replicationRole": "None",
    "replicaCapacity": 10,
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "backupIntervalHours": 24,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2021-06-24T00:15:24.00+00:00"
    },
    "highAvailability": {
      "mode": "Disabled",
      "state": "NotEnabled"
    }
  },
  "location": "Southeast Asia",
  "tags": {
    "num": "1"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMySQL/flexibleServers/targetserver",
  "name": "targetserver",
  "type": "Microsoft.DBforMySQL/flexibleServers"
}
{
  "sku": {
    "name": "Standard_D2ds_v4",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "administratorLogin": "adminuser",
    "storage": {
      "storageSizeGB": 20,
      "iops": 360,
      "autoGrow": "Enabled",
      "storageSku": "Premium_LRS"
    },
    "version": "5.7",
    "state": "Ready",
    "fullyQualifiedDomainName": "targetserver.database.mysql.azure.com",
    "availabilityZone": "1",
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "replicationRole": "None",
    "replicaCapacity": 10,
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "backupIntervalHours": 24,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2021-06-24T00:15:24.00+00:00"
    },
    "highAvailability": {
      "mode": "Disabled",
      "state": "NotEnabled"
    }
  },
  "location": "Southeast Asia",
  "tags": {
    "num": "1"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMySQL/flexibleServers/targetserver",
  "name": "targetserver",
  "type": "Microsoft.DBforMySQL/flexibleServers"
}

Create a server with byok

要求のサンプル

PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver?api-version=2023-12-30

{
  "identity": {
    "type": "UserAssigned",
    "userAssignedIdentities": {
      "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-identity": {}
    }
  },
  "sku": {
    "name": "Standard_D2ds_v4",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "administratorLoginPassword": "your_password",
    "availabilityZone": "1",
    "version": "5.7",
    "createMode": "Default",
    "storage": {
      "storageSizeGB": 100,
      "iops": 600,
      "autoGrow": "Disabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "backupIntervalHours": 24,
      "geoRedundantBackup": "Disabled"
    },
    "highAvailability": {
      "mode": "ZoneRedundant",
      "standbyAvailabilityZone": "3"
    },
    "dataEncryption": {
      "type": "AzureKeyVault",
      "primaryUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-identity",
      "primaryKeyURI": "https://test.vault.azure.net/keys/key/c8a92236622244c0a4fdb892666f671a",
      "geoBackupUserAssignedIdentityId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-geo-identity",
      "geoBackupKeyURI": "https://test-geo.vault.azure.net/keys/key/c8a92236622244c0a4fdb892666f671a"
    }
  },
  "location": "southeastasia",
  "tags": {
    "num": "1"
  }
}

応答のサンプル

{
  "sku": {
    "name": "Standard_D2ds_v4",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "storage": {
      "storageSizeGB": 100,
      "iops": 600,
      "autoGrow": "Enabled",
      "storageSku": "Premium_LRS"
    },
    "version": "5.7",
    "state": "Ready",
    "fullyQualifiedDomainName": "mysqltestserver.database.mysql.azure.com",
    "availabilityZone": "1",
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "replicationRole": "None",
    "replicaCapacity": 10,
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2021-06-17T06:11:38.4150019+00:00"
    },
    "highAvailability": {
      "mode": "ZoneRedundant",
      "state": "Healthy",
      "standbyAvailabilityZone": "3"
    }
  },
  "location": "Southeast Asia",
  "tags": {
    "num": "1"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver",
  "name": "mysqltestserver",
  "type": "Microsoft.DBforMySQL/flexibleServers"
}
{
  "sku": {
    "name": "Standard_D2ds_v4",
    "tier": "GeneralPurpose"
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "storage": {
      "storageSizeGB": 100,
      "iops": 600,
      "autoGrow": "Enabled",
      "storageSku": "Premium_LRS"
    },
    "version": "5.7",
    "state": "Ready",
    "fullyQualifiedDomainName": "mysqltestserver.database.mysql.azure.com",
    "availabilityZone": "1",
    "maintenanceWindow": {
      "customWindow": "Disabled",
      "dayOfWeek": 0,
      "startHour": 0,
      "startMinute": 0
    },
    "replicationRole": "None",
    "replicaCapacity": 10,
    "network": {
      "publicNetworkAccess": "Enabled"
    },
    "backup": {
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Disabled",
      "earliestRestoreDate": "2021-06-17T06:11:38.4150019+00:00"
    },
    "highAvailability": {
      "mode": "ZoneRedundant",
      "state": "Healthy",
      "standbyAvailabilityZone": "3"
    }
  },
  "location": "Southeast Asia",
  "tags": {
    "num": "1"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/flexibleServers/mysqltestserver",
  "name": "mysqltestserver",
  "type": "Microsoft.DBforMySQL/flexibleServers"
}

定義

名前 説明
Backup

サーバーのストレージ プロファイルプロパティ

createdByType

リソースを作成した ID の種類。

CreateMode

新しい MySQL サーバーを作成するモード。

DataEncryption

cmk の日付暗号化。

DataEncryptionType

キーの種類。cmk を有効にする場合は AzureKeyVault、無効 cmk の場合は SystemManaged。

EnableStatusEnum

値が 'Enabled' か 'Disabled' かを示す列挙型

ErrorAdditionalInfo

リソース管理エラーの追加情報。

ErrorDetail

エラーの詳細。

ErrorResponse

エラー応答

HighAvailability

サーバーの高可用性プロパティ

HighAvailabilityMode

サーバーの高可用性モード。

HighAvailabilityState

サーバーの高可用性の状態。

ImportSourceProperties

ソース関連のプロパティをインポートします。

ImportSourceStorageType

インポート ソースのストレージの種類。

MaintenanceWindow

サーバーのメンテナンス期間。

ManagedServiceIdentityType

マネージド サービス ID の種類。

MySQLServerSku

サーバーの課金情報に関連するプロパティ。

Network

サーバーのネットワーク関連プロパティ

PrivateEndpoint

プライベート エンドポイント リソース。

PrivateEndpointConnection

プライベート エンドポイント接続リソース。

PrivateEndpointConnectionProvisioningState

現在のプロビジョニング状態。

PrivateEndpointServiceConnectionStatus

プライベート エンドポイント接続の状態。

PrivateLinkServiceConnectionState

サービス コンシューマーとプロバイダー間の接続の状態に関する情報のコレクション。

ReplicationRole

レプリケーション ロール。

Server

サーバーを表します。

ServerSkuTier

特定の SKU のレベル (GeneralPurpose など)。

ServerState

サーバーの状態。

ServerVersion

サーバーのバージョン。

Storage

サーバーのストレージ プロファイルプロパティ

systemData

リソースの作成と最後の変更に関連するメタデータ。

Backup

サーバーのストレージ プロファイルプロパティ

名前 規定値 説明
backupIntervalHours

integer (int32)

サーバーのバックアップ間隔時間。

backupRetentionDays

integer (int32)

サーバーのバックアップ保有日数。

earliestRestoreDate

string (date-time)

最も早い復元ポイントの作成時刻 (ISO8601形式)

geoRedundantBackup

EnableStatusEnum

Disabled

geo 冗長バックアップが有効かどうか。

createdByType

リソースを作成した ID の種類。

説明
User
Application
ManagedIdentity
Key

CreateMode

新しい MySQL サーバーを作成するモード。

説明
Default
PointInTimeRestore
Replica
GeoRestore

DataEncryption

cmk の日付暗号化。

名前 説明
geoBackupKeyURI

string

キー コンテナーがリージョンをまたがることができない geo バックアップ キー URI、geo バックアップと同じリージョンに cmk が必要

geoBackupUserAssignedIdentityId

string

リージョンをまたがることができない ID としての geo バックアップ ユーザー ID リソース ID、geo バックアップと同じリージョンの ID が必要

primaryKeyURI

string

主キー URI

primaryUserAssignedIdentityId

string

プライマリ ユーザー ID リソース ID

type

DataEncryptionType

キーの種類。cmk を有効にする場合は AzureKeyVault、無効 cmk の場合は SystemManaged。

DataEncryptionType

キーの種類。cmk を有効にする場合は AzureKeyVault、無効 cmk の場合は SystemManaged。

説明
AzureKeyVault
SystemManaged

EnableStatusEnum

値が 'Enabled' か 'Disabled' かを示す列挙型

説明
Enabled
Disabled

ErrorAdditionalInfo

リソース管理エラーの追加情報。

名前 説明
info

object

追加情報。

type

string

追加情報の種類。

ErrorDetail

エラーの詳細。

名前 説明
additionalInfo

ErrorAdditionalInfo[]

エラーの追加情報。

code

string

エラー コード。

details

ErrorDetail[]

エラーの詳細。

message

string

エラー メッセージ。

target

string

エラーターゲット。

ErrorResponse

エラー応答

名前 説明
error

ErrorDetail

エラー オブジェクト。

HighAvailability

サーバーの高可用性プロパティ

名前 説明
mode

HighAvailabilityMode

サーバーの高可用性モード。

standbyAvailabilityZone

string

スタンバイ サーバーの可用性ゾーン。

state

HighAvailabilityState

サーバーの高可用性の状態。

HighAvailabilityMode

サーバーの高可用性モード。

説明
Disabled
ZoneRedundant
SameZone

HighAvailabilityState

サーバーの高可用性の状態。

説明
NotEnabled
CreatingStandby
Healthy
FailingOver
RemovingStandby

ImportSourceProperties

ソース関連のプロパティをインポートします。

名前 説明
dataDirPath

string

ストレージ内のデータ ディレクトリの相対パス。

sasToken

string

ソース ストレージにアクセスするための Sas トークン。 SAS トークンには読み取りと一覧表示のアクセス許可が必要です。

storageType

ImportSourceStorageType

インポート ソースのストレージの種類。

storageUrl

string

インポート ソース ストレージの URI。

ImportSourceStorageType

インポート ソースのストレージの種類。

説明
AzureBlob

MaintenanceWindow

サーバーのメンテナンス期間。

名前 説明
customWindow

string

は、カスタム ウィンドウが有効か無効かを示します

dayOfWeek

integer (int32)

メンテナンス期間の曜日

startHour

integer (int32)

メンテナンス期間の開始時刻

startMinute

integer (int32)

メンテナンス期間の開始時間 (分)

ManagedServiceIdentityType

マネージド サービス ID の種類。

説明
UserAssigned

MySQLServerSku

サーバーの課金情報に関連するプロパティ。

名前 説明
name

string

sku の名前 (例: Standard_D32s_v3)。

tier

ServerSkuTier

特定の SKU のレベル (GeneralPurpose など)。

Network

サーバーのネットワーク関連プロパティ

名前 説明
delegatedSubnetResourceId

string

サーバーの vnet のセットアップに使用される委任されたサブネット リソース ID。

privateDnsZoneResourceId

string

プライベート DNS ゾーンのリソース ID。

publicNetworkAccess

EnableStatusEnum

このサーバーに対してパブリック ネットワーク アクセスが許可されているかどうか。 サーバーに VNet 統合がある場合、値は "無効" になります。

PrivateEndpoint

プライベート エンドポイント リソース。

名前 説明
id

string

プライベート エンドポイントの ARM 識別子。

PrivateEndpointConnection

プライベート エンドポイント接続リソース。

名前 説明
id

string (arm-id)

リソースの完全修飾リソース ID。 例: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

リソースの名前

properties.groupIds

string[]

プライベート エンドポイント リソースのグループ ID。

properties.privateEndpoint

PrivateEndpoint

プライベート エンドポイント リソース。

properties.privateLinkServiceConnectionState

PrivateLinkServiceConnectionState

サービス コンシューマーとプロバイダー間の接続の状態に関する情報のコレクション。

properties.provisioningState

PrivateEndpointConnectionProvisioningState

プライベート エンドポイント接続リソースのプロビジョニング状態。

systemData

systemData

createdBy および modifiedBy 情報を含む Azure Resource Manager メタデータ。

type

string

リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"

PrivateEndpointConnectionProvisioningState

現在のプロビジョニング状態。

説明
Succeeded
Creating
Deleting
Failed

PrivateEndpointServiceConnectionStatus

プライベート エンドポイント接続の状態。

説明
Pending
Approved
Rejected

PrivateLinkServiceConnectionState

サービス コンシューマーとプロバイダー間の接続の状態に関する情報のコレクション。

名前 説明
actionsRequired

string

サービス プロバイダーの変更にコンシューマーの更新が必要かどうかを示すメッセージ。

description

string

接続の承認/拒否の理由。

status

PrivateEndpointServiceConnectionStatus

接続がサービスの所有者によって承認/拒否/削除されたかどうかを示します。

ReplicationRole

レプリケーション ロール。

説明
None
Source
Replica

Server

サーバーを表します。

名前 説明
id

string (arm-id)

リソースの完全修飾リソース ID。 例: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

identity.principalId

string

KeyVault の ObjectId

identity.tenantId

string

KeyVault の TenantId

identity.type

ManagedServiceIdentityType

マネージド サービス ID の種類。

identity.userAssignedIdentities

object

ユーザー割り当て ID のメタデータ。

location

string

リソースが存在する地理的な場所

name

string

リソースの名前

properties.administratorLogin

string

サーバーの管理者のログイン名。 サーバーの作成時にのみ指定できます (作成に必要です)。

properties.administratorLoginPassword

string (password)

管理者ログインのパスワード (サーバーの作成に必要)。

properties.availabilityZone

string

サーバーの可用性ゾーン情報。

properties.backup

Backup

サーバーのバックアップ関連プロパティ。

properties.createMode

CreateMode

新しい MySQL サーバーを作成するモード。

properties.dataEncryption

DataEncryption

CMK のデータ暗号化。

properties.fullyQualifiedDomainName

string

サーバーの完全修飾ドメイン名。

properties.highAvailability

HighAvailability

サーバーの高可用性関連のプロパティ。

properties.importSourceProperties

ImportSourceProperties

ストレージからのインポートのソース プロパティ。

properties.maintenanceWindow

MaintenanceWindow

サーバーのメンテナンス期間。

properties.network

Network

サーバーのネットワーク関連のプロパティ。

properties.privateEndpointConnections

PrivateEndpointConnection[]

サーバーの PrivateEndpointConnections 関連プロパティ。

properties.replicaCapacity

integer (int32)

minimum: 0

プライマリ サーバーに含めることができるレプリカの最大数。

properties.replicationRole

ReplicationRole

レプリケーション ロール。

properties.restorePointInTime

string (date-time)

復元ポイントの作成時刻 (ISO8601形式)。復元元の時刻を指定します。

properties.sourceServerResourceId

string

ソース MySQL サーバー ID。

properties.state

ServerState

サーバーの状態。

properties.storage

Storage

サーバーのストレージ関連のプロパティ。

properties.version

ServerVersion

サーバーのバージョン。

sku

MySQLServerSku

サーバーの SKU (価格レベル)。

systemData

systemData

createdBy および modifiedBy 情報を含む Azure Resource Manager メタデータ。

tags

object

リソース タグ。

type

string

リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"

ServerSkuTier

特定の SKU のレベル (GeneralPurpose など)。

説明
Burstable
GeneralPurpose
MemoryOptimized

ServerState

サーバーの状態。

説明
Ready
Dropping
Disabled
Starting
Stopping
Stopped
Updating

ServerVersion

サーバーのバージョン。

説明
5.7
8.0.21

Storage

サーバーのストレージ プロファイルプロパティ

名前 規定値 説明
autoGrow

EnableStatusEnum

Disabled

ストレージの自動拡張を有効にするかどうか。

autoIoScaling

EnableStatusEnum

Enabled

IO 自動スケーリングを有効にするかどうか。

iops

integer (int32)

サーバーのストレージ IOPS。

logOnDisk

EnableStatusEnum

Disabled

[ログオン ディスク] を有効にするかどうか。

storageSizeGB

integer (int32)

サーバーで許可される最大ストレージ サイズ。

storageSku

string

サーバー ストレージの SKU 名。

systemData

リソースの作成と最後の変更に関連するメタデータ。

名前 説明
createdAt

string (date-time)

リソース作成のタイムスタンプ (UTC)。

createdBy

string

リソースを作成した ID。

createdByType

createdByType

リソースを作成した ID の種類。

lastModifiedAt

string (date-time)

リソースの最終変更のタイムスタンプ (UTC)

lastModifiedBy

string

リソースを最後に変更した ID。

lastModifiedByType

createdByType

リソースを最後に変更した ID の種類。