次の方法で共有


Servers - Create

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

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

URI パラメーター

名前 / 必須 説明
resourceGroupName
path True

string

minLength: 1
maxLength: 90

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

serverName
path True

string

サーバーの名前。

subscriptionId
path True

string

minLength: 1

ターゲット サブスクリプションの ID。

api-version
query True

string

minLength: 1

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

要求本文

名前 必須 説明
location True

string

リソースが存在する場所。

properties True ServerPropertiesForCreate:

サーバーのプロパティ。

identity

ResourceIdentity

サーバーの Azure Active Directory ID。

sku

Sku

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

tags

object

キーと値のペアの形式のアプリケーション固有のメタデータ。

応答

名前 説明
200 OK

Server

わかりました

201 Created

Server

作成

202 Accepted

受け入れられた

Other Status Codes

CloudError

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

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

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

スコープ

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

Create a database as a point in time restore
Create a new server
Create a replica server
Create a server as a geo restore

Create a database as a point in time restore

要求のサンプル

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

{
  "location": "brazilsouth",
  "properties": {
    "restorePointInTime": "2017-12-14T00:00:37.467Z",
    "createMode": "PointInTimeRestore",
    "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
  },
  "sku": {
    "name": "GP_Gen5_2",
    "tier": "GeneralPurpose",
    "family": "Gen5",
    "capacity": 2
  },
  "tags": {
    "ElasticServer": "1"
  }
}

応答のサンプル

{
  "sku": {
    "name": "GP_Gen5_2",
    "tier": "GeneralPurpose",
    "family": "Gen5",
    "capacity": 2
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "storageProfile": {
      "storageMB": 128000,
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Enabled"
    },
    "version": "5.7",
    "sslEnforcement": "Enabled",
    "userVisibleState": "Ready",
    "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
    "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
  },
  "location": "brazilsouth",
  "tags": {
    "ElasticServer": "1"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
  "name": "targetserver",
  "type": "Microsoft.DBforMySQL/servers"
}
{
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
  "name": "targetserver",
  "type": "Microsoft.DBforMySQL/servers",
  "location": "brazilsouth",
  "sku": {
    "name": "GP_Gen5_2",
    "tier": "GeneralPurpose",
    "family": "Gen5",
    "capacity": 2
  },
  "tags": {
    "elasticServer": "1"
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "storageProfile": {
      "storageMB": 128000,
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Enabled"
    },
    "version": "5.7",
    "sslEnforcement": "Enabled",
    "userVisibleState": "Ready",
    "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
    "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
  }
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview

Create a new server

要求のサンプル

PUT https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4?api-version=2017-12-01

{
  "location": "westus",
  "properties": {
    "administratorLogin": "cloudsa",
    "administratorLoginPassword": "<administratorLoginPassword>",
    "sslEnforcement": "Enabled",
    "storageProfile": {
      "storageMB": 128000,
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Enabled"
    },
    "createMode": "Default"
  },
  "sku": {
    "name": "GP_Gen5_2",
    "tier": "GeneralPurpose",
    "capacity": 2,
    "family": "Gen5"
  },
  "tags": {
    "ElasticServer": "1"
  }
}

応答のサンプル

{
  "sku": {
    "name": "GP_Gen5_2",
    "tier": "GeneralPurpose",
    "family": "Gen5",
    "capacity": 2
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "storageProfile": {
      "storageMB": 128000,
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Enabled"
    },
    "version": "5.7",
    "sslEnforcement": "Enabled",
    "userVisibleState": "Ready",
    "fullyQualifiedDomainName": "mysqltestsvc4.mysql.database.azure.com",
    "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
  },
  "location": "westus",
  "tags": {
    "ElasticServer": "1"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4",
  "name": "mysqltestsvc4",
  "type": "Microsoft.DBforMySQL/servers"
}
{
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/mysqltestsvc4",
  "name": "mysqltestsvc4",
  "type": "Microsoft.DBforMySQL/servers",
  "location": "westus",
  "sku": {
    "name": "GP_Gen5_2",
    "tier": "GeneralPurpose",
    "family": "Gen5",
    "capacity": 2
  },
  "tags": {
    "elasticServer": "1"
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "storageProfile": {
      "storageMB": 128000,
      "backupRetentionDays": 7,
      "geoRedundantBackup": "Enabled"
    },
    "version": "5.7",
    "sslEnforcement": "Enabled",
    "userVisibleState": "Ready",
    "fullyQualifiedDomainName": "mysqltestsvc4.mysql.database.azure.com",
    "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
  }
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview

Create a replica server

要求のサンプル

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

{
  "location": "westus",
  "properties": {
    "createMode": "Replica",
    "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMySQL/servers/masterserver"
  }
}

応答のサンプル

{
  "sku": {
    "name": "GP_Gen5_2",
    "tier": "GeneralPurpose",
    "family": "Gen5",
    "capacity": 2
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "storageProfile": {
      "storageMB": 128000,
      "backupRetentionDays": 14,
      "geoRedundantBackup": "Enabled"
    },
    "version": "5.7",
    "sslEnforcement": "Enabled",
    "userVisibleState": "Ready",
    "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
    "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00",
    "replicationRole": "Replica",
    "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMySQL/servers/masterserver",
    "replicaCapacity": 0
  },
  "location": "westus",
  "tags": {
    "ElasticServer": "1"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMySQL/servers/targetserver",
  "name": "targetserver",
  "type": "Microsoft.DBforMySQL/servers"
}
{
  "sku": {
    "name": "GP_Gen5_2",
    "tier": "GeneralPurpose",
    "family": "Gen5",
    "capacity": 2
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "storageProfile": {
      "storageMB": 128000,
      "backupRetentionDays": 14,
      "geoRedundantBackup": "Enabled"
    },
    "version": "5.7",
    "sslEnforcement": "Enabled",
    "userVisibleState": "Ready",
    "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
    "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00",
    "replicationRole": "Replica",
    "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMySQL/servers/masterserver",
    "replicaCapacity": 0
  },
  "location": "westus",
  "tags": {
    "ElasticServer": "1"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMySQL/servers/targetserver",
  "name": "targetserver",
  "type": "Microsoft.DBforMySQL/servers"
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview

Create a server as a geo restore

要求のサンプル

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

{
  "location": "westus",
  "properties": {
    "createMode": "GeoRestore",
    "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
  },
  "sku": {
    "name": "GP_Gen5_2",
    "tier": "GeneralPurpose",
    "family": "Gen5",
    "capacity": 2
  },
  "tags": {
    "ElasticServer": "1"
  }
}

応答のサンプル

{
  "sku": {
    "name": "GP_Gen5_2",
    "tier": "GeneralPurpose",
    "family": "Gen5",
    "capacity": 2
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "storageProfile": {
      "storageMB": 128000,
      "backupRetentionDays": 14,
      "geoRedundantBackup": "Enabled"
    },
    "version": "5.7",
    "sslEnforcement": "Enabled",
    "userVisibleState": "Ready",
    "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
    "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
  },
  "location": "westus",
  "tags": {
    "ElasticServer": "1"
  },
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
  "name": "targetserver",
  "type": "Microsoft.DBforMySQL/servers"
}
{
  "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
  "name": "targetserver",
  "type": "Microsoft.DBforMySQL/servers",
  "location": "westus",
  "sku": {
    "name": "GP_Gen5_2",
    "tier": "GeneralPurpose",
    "family": "Gen5",
    "capacity": 2
  },
  "tags": {
    "elasticServer": "1"
  },
  "properties": {
    "administratorLogin": "cloudsa",
    "storageProfile": {
      "storageMB": 128000,
      "backupRetentionDays": 14,
      "geoRedundantBackup": "Enabled"
    },
    "version": "5.7",
    "sslEnforcement": "Enabled",
    "userVisibleState": "Ready",
    "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
    "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
  }
}
Azure-AsyncOperation: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/azureAsyncOperation/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview
Location: https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DBforMySQL/locations/southeastasia/operationResults/e276a03a-1770-4549-86f5-0edffae8997c?api-version=2021-12-01-preview

定義

名前 説明
CloudError

Batch サービスからのエラー応答。

ErrorAdditionalInfo

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

ErrorResponse

エラー応答

GeoRedundantBackup

Geo 冗長を有効にするか、サーバー バックアップ用に有効にしないか。

IdentityType

ID の種類。 リソースの Azure Active Directory プリンシパルを自動的に作成して割り当てるには、これを "SystemAssigned" に設定します。

InfrastructureEncryption

データ保護を強化する新しい暗号化アルゴリズムを使用して、データの 2 つ目の暗号化レイヤーを追加します。 値は省略可能ですが、渡される場合は 'Disabled' または 'Enabled' である必要があります。

MinimalTlsVersionEnum

サーバーに最小限の Tls バージョンを適用します。

PrivateEndpointProperty
PrivateEndpointProvisioningState

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

PrivateLinkServiceConnectionStateActionsRequire

プライベート リンク サービス接続に必要なアクション。

PrivateLinkServiceConnectionStateStatus

プライベート リンク サービスの接続状態。

PublicNetworkAccessEnum

このサーバーに対してパブリック ネットワーク アクセスが許可されているかどうか。 値は省略可能ですが、渡される場合は 'Enabled' または 'Disabled' である必要があります

ResourceIdentity

リソースの Azure Active Directory ID 構成。

Server

サーバーを表します。

ServerForCreate

作成するサーバーを表します。

ServerPrivateEndpointConnection

サーバーの下のプライベート エンドポイント接続

ServerPrivateEndpointConnectionProperties

プライベート エンドポイント接続のプロパティ。

ServerPrivateLinkServiceConnectionStateProperty
ServerPropertiesForDefaultCreate

新しいサーバーの作成に使用されるプロパティ。

ServerPropertiesForGeoRestore

geo レプリケート バックアップとは異なるリージョンに復元することで、新しいサーバーを作成するために使用されるプロパティ。

ServerPropertiesForReplica

新しいレプリカを作成するプロパティ。

ServerPropertiesForRestore

バックアップから復元して新しいサーバーを作成するために使用されるプロパティ。

ServerState

ユーザーに表示されるサーバーの状態。

ServerVersion

サーバーのバージョン。

Sku

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

SkuTier

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

SslEnforcementEnum

サーバーに接続するときに SSL 強制を有効にするか、有効にしないか。

StorageAutogrow

ストレージの自動拡張を有効にします。

StorageProfile

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

CloudError

Batch サービスからのエラー応答。

名前 説明
error

ErrorResponse

エラー応答
失敗した操作のエラーの詳細を返す、すべての Azure Resource Manager API の一般的なエラー応答。 (これは、OData エラー応答形式にも従います)。

ErrorAdditionalInfo

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

名前 説明
info

object

追加情報。

type

string

追加情報の種類。

ErrorResponse

エラー応答

名前 説明
additionalInfo

ErrorAdditionalInfo[]

エラーの追加情報。

code

string

エラー コード。

details

ErrorResponse[]

エラーの詳細。

message

string

エラー メッセージ。

target

string

エラーターゲット。

GeoRedundantBackup

Geo 冗長を有効にするか、サーバー バックアップ用に有効にしないか。

説明
Disabled
Enabled

IdentityType

ID の種類。 リソースの Azure Active Directory プリンシパルを自動的に作成して割り当てるには、これを "SystemAssigned" に設定します。

説明
SystemAssigned

InfrastructureEncryption

データ保護を強化する新しい暗号化アルゴリズムを使用して、データの 2 つ目の暗号化レイヤーを追加します。 値は省略可能ですが、渡される場合は 'Disabled' または 'Enabled' である必要があります。

説明
Disabled

保存データの追加 (第 2) 層の暗号化

Enabled

保存データの暗号化の単一レイヤーの既定値。

MinimalTlsVersionEnum

サーバーに最小限の Tls バージョンを適用します。

説明
TLS1_0
TLS1_1
TLS1_2
TLSEnforcementDisabled

PrivateEndpointProperty

名前 説明
id

string

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

PrivateEndpointProvisioningState

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

説明
Approving
Dropping
Failed
Ready
Rejecting

PrivateLinkServiceConnectionStateActionsRequire

プライベート リンク サービス接続に必要なアクション。

説明
None

PrivateLinkServiceConnectionStateStatus

プライベート リンク サービスの接続状態。

説明
Approved
Disconnected
Pending
Rejected

PublicNetworkAccessEnum

このサーバーに対してパブリック ネットワーク アクセスが許可されているかどうか。 値は省略可能ですが、渡される場合は 'Enabled' または 'Disabled' である必要があります

説明
Disabled
Enabled

ResourceIdentity

リソースの Azure Active Directory ID 構成。

名前 説明
principalId

string (uuid)

Azure Active Directory プリンシパル ID。

tenantId

string (uuid)

Azure Active Directory テナント ID。

type

IdentityType

ID の種類。 リソースの Azure Active Directory プリンシパルを自動的に作成して割り当てるには、これを "SystemAssigned" に設定します。

Server

サーバーを表します。

名前 説明
id

string

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

identity

ResourceIdentity

サーバーの Azure Active Directory ID。

location

string

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

name

string

リソースの名前

properties.administratorLogin

string

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

properties.byokEnforcement

string

カスタマー マネージド キーでサーバー データ暗号化が有効になっているかどうかを示す状態。

properties.earliestRestoreDate

string (date-time)

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

properties.fullyQualifiedDomainName

string

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

properties.infrastructureEncryption

InfrastructureEncryption

サーバーでインフラストラクチャ暗号化が有効になっているかどうかを示す状態。

properties.masterServerId

string

レプリカ サーバーのマスター サーバー ID。

properties.minimalTlsVersion

MinimalTlsVersionEnum

サーバーに最小限の Tls バージョンを適用します。

properties.privateEndpointConnections

ServerPrivateEndpointConnection[]

サーバー上のプライベート エンドポイント接続の一覧

properties.publicNetworkAccess

PublicNetworkAccessEnum

このサーバーに対してパブリック ネットワーク アクセスが許可されているかどうか。 値は省略可能ですが、渡される場合は 'Enabled' または 'Disabled' である必要があります

properties.replicaCapacity

integer (int32)

minimum: 0

マスター サーバーで使用できるレプリカの最大数。

properties.replicationRole

string

サーバーのレプリケーション ロール。

properties.sslEnforcement

SslEnforcementEnum

サーバーに接続するときに SSL 強制を有効にするか、有効にしないか。

properties.storageProfile

StorageProfile

サーバーのストレージ プロファイル。

properties.userVisibleState

ServerState

ユーザーに表示されるサーバーの状態。

properties.version

ServerVersion

サーバーのバージョン。

sku

Sku

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

tags

object

リソース タグ。

type

string

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

ServerForCreate

作成するサーバーを表します。

名前 説明
identity

ResourceIdentity

サーバーの Azure Active Directory ID。

location

string

リソースが存在する場所。

properties ServerPropertiesForCreate:

サーバーのプロパティ。

sku

Sku

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

tags

object

キーと値のペアの形式のアプリケーション固有のメタデータ。

ServerPrivateEndpointConnection

サーバーの下のプライベート エンドポイント接続

名前 説明
id

string

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

properties

ServerPrivateEndpointConnectionProperties

プライベート エンドポイント接続のプロパティ

ServerPrivateEndpointConnectionProperties

プライベート エンドポイント接続のプロパティ。

名前 説明
privateEndpoint

PrivateEndpointProperty

接続が属するプライベート エンドポイント。

privateLinkServiceConnectionState

ServerPrivateLinkServiceConnectionStateProperty

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

provisioningState

PrivateEndpointProvisioningState

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

ServerPrivateLinkServiceConnectionStateProperty

名前 説明
actionsRequired

PrivateLinkServiceConnectionStateActionsRequire

プライベート リンク サービス接続に必要なアクション。

description

string

プライベート リンク サービスの接続の説明。

status

PrivateLinkServiceConnectionStateStatus

プライベート リンク サービスの接続状態。

ServerPropertiesForDefaultCreate

新しいサーバーの作成に使用されるプロパティ。

名前 説明
administratorLogin

string

サーバーの管理者のログイン名。 サーバーの作成時にのみ指定できます (作成に必要です)。 パスワードを更新するときは、ログイン名が必要です。

administratorLoginPassword

string (password)

管理者ログインのパスワード。

createMode string:

Default

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

infrastructureEncryption

InfrastructureEncryption

サーバーでインフラストラクチャ暗号化が有効になっているかどうかを示す状態。

minimalTlsVersion

MinimalTlsVersionEnum

サーバーに最小限の Tls バージョンを適用します。

publicNetworkAccess

PublicNetworkAccessEnum

このサーバーに対してパブリック ネットワーク アクセスが許可されているかどうか。 値は省略可能ですが、渡される場合は 'Enabled' または 'Disabled' である必要があります

sslEnforcement

SslEnforcementEnum

サーバーに接続するときに SSL 強制を有効にするか、有効にしないか。

storageProfile

StorageProfile

サーバーのストレージ プロファイル。

version

ServerVersion

サーバーのバージョン。

ServerPropertiesForGeoRestore

geo レプリケート バックアップとは異なるリージョンに復元することで、新しいサーバーを作成するために使用されるプロパティ。

名前 説明
createMode string:

GeoRestore

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

infrastructureEncryption

InfrastructureEncryption

サーバーでインフラストラクチャ暗号化が有効になっているかどうかを示す状態。

minimalTlsVersion

MinimalTlsVersionEnum

サーバーに最小限の Tls バージョンを適用します。

publicNetworkAccess

PublicNetworkAccessEnum

このサーバーに対してパブリック ネットワーク アクセスが許可されているかどうか。 値は省略可能ですが、渡される場合は 'Enabled' または 'Disabled' である必要があります

sourceServerId

string

復元元のソース サーバー ID。

sslEnforcement

SslEnforcementEnum

サーバーに接続するときに SSL 強制を有効にするか、有効にしないか。

storageProfile

StorageProfile

サーバーのストレージ プロファイル。

version

ServerVersion

サーバーのバージョン。

ServerPropertiesForReplica

新しいレプリカを作成するプロパティ。

名前 説明
createMode string:

Replica

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

infrastructureEncryption

InfrastructureEncryption

サーバーでインフラストラクチャ暗号化が有効になっているかどうかを示す状態。

minimalTlsVersion

MinimalTlsVersionEnum

サーバーに最小限の Tls バージョンを適用します。

publicNetworkAccess

PublicNetworkAccessEnum

このサーバーに対してパブリック ネットワーク アクセスが許可されているかどうか。 値は省略可能ですが、渡される場合は 'Enabled' または 'Disabled' である必要があります

sourceServerId

string

レプリカを作成するマスター サーバー ID。

sslEnforcement

SslEnforcementEnum

サーバーに接続するときに SSL 強制を有効にするか、有効にしないか。

storageProfile

StorageProfile

サーバーのストレージ プロファイル。

version

ServerVersion

サーバーのバージョン。

ServerPropertiesForRestore

バックアップから復元して新しいサーバーを作成するために使用されるプロパティ。

名前 説明
createMode string:

PointInTimeRestore

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

infrastructureEncryption

InfrastructureEncryption

サーバーでインフラストラクチャ暗号化が有効になっているかどうかを示す状態。

minimalTlsVersion

MinimalTlsVersionEnum

サーバーに最小限の Tls バージョンを適用します。

publicNetworkAccess

PublicNetworkAccessEnum

このサーバーに対してパブリック ネットワーク アクセスが許可されているかどうか。 値は省略可能ですが、渡される場合は 'Enabled' または 'Disabled' である必要があります

restorePointInTime

string (date-time)

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

sourceServerId

string

復元元のソース サーバー ID。

sslEnforcement

SslEnforcementEnum

サーバーに接続するときに SSL 強制を有効にするか、有効にしないか。

storageProfile

StorageProfile

サーバーのストレージ プロファイル。

version

ServerVersion

サーバーのバージョン。

ServerState

ユーザーに表示されるサーバーの状態。

説明
Disabled
Dropping
Inaccessible
Ready

ServerVersion

サーバーのバージョン。

説明
5.6
5.7
8.0

Sku

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

名前 説明
capacity

integer (int32)

minimum: 0

サーバーのコンピューティング ユニットを表すスケールアップ/スケールアウト容量。

family

string

ハードウェアのファミリ。

name

string

sku の名前 。通常は、階層 + ファミリ + コア (B_Gen4_1、GP_Gen5_8など)。

size

string

必要に応じてリソースによって解釈されるサイズ コード。

tier

SkuTier

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

SkuTier

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

説明
Basic
GeneralPurpose
MemoryOptimized

SslEnforcementEnum

サーバーに接続するときに SSL 強制を有効にするか、有効にしないか。

説明
Disabled
Enabled

StorageAutogrow

ストレージの自動拡張を有効にします。

説明
Disabled
Enabled

StorageProfile

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

名前 説明
backupRetentionDays

integer (int32)

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

geoRedundantBackup

GeoRedundantBackup

Geo 冗長を有効にするか、サーバー バックアップ用に有効にしないか。

storageAutogrow

StorageAutogrow

ストレージの自動拡張を有効にします。

storageMB

integer (int32)

サーバーに対して許可される最大ストレージ数。