Sql Pool Restore Points - Create
データ ウェアハウスの復元ポイントを作成します。
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/restorePoints?api-version=2021-06-01
URI パラメーター
| Name | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
リソース グループの名前。 名前では大文字と小文字が区別されません。 |
|
sql
|
path | True |
string |
SQL プール名 |
|
subscription
|
path | True |
string minLength: 1 |
ターゲット サブスクリプションの ID。 |
|
workspace
|
path | True |
string |
ワークスペースの名前。 |
|
api-version
|
query | True |
string minLength: 1 |
この操作に使用する API バージョン。 |
要求本文
| Name | 必須 | 型 | 説明 |
|---|---|---|---|
| restorePointLabel | True |
string |
適用する復元ポイント ラベル |
応答
| Name | 型 | 説明 |
|---|---|---|
| 200 OK |
復元ポイント要求が正常に作成されました。 |
|
| 201 Created |
復元ポイント要求が正常に作成されました。 |
|
| 202 Accepted |
受け入れられた |
|
| Other Status Codes |
エラー応答: ***
|
例
Creates Sql pool restore point.
要求のサンプル
POST https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Synapse/workspaces/testserver/sqlPools/testDatabase/restorePoints?api-version=2021-06-01
{
"restorePointLabel": "mylabel"
}
応答のサンプル
azure-asyncoperation: https://ms.web.azuresynapse.net
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Synapse/workspaces/testserver/sqlPools/testDatabase/restorePoints/131546477590000000",
"name": "131546477590000000",
"type": "Microsoft.Synapse/workspaces/sqlPools/restorePoints",
"location": "japaneast",
"properties": {
"restorePointType": "DISCRETE",
"restorePointCreationDate": "2017-03-10T08:00:00.000Z",
"restorePointLabel": "mylabel"
}
}
azure-asyncoperation: https://ms.web.azuresynapse.net
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Synapse/workspaces/testserver/sqlPools/testDatabase/restorePoints/131546477590000000",
"name": "131546477590000000",
"type": "Microsoft.Synapse/workspaces/sqlPools/restorePoints",
"location": "japaneast",
"properties": {
"restorePointType": "DISCRETE",
"restorePointCreationDate": "2017-03-10T08:00:00.000Z",
"restorePointLabel": "mylabel"
}
}
azure-asyncoperation: https://ms.web.azuresynapse.net
定義
| Name | 説明 |
|---|---|
|
Create |
SQL プールの復元ポイントの作成操作を実行するために必要な情報が含まれています。 |
|
Restore |
データベースの復元ポイント。 |
|
Restore |
復元ポイントの種類 |
CreateSqlPoolRestorePointDefinition
SQL プールの復元ポイントの作成操作を実行するために必要な情報が含まれています。
| Name | 型 | 説明 |
|---|---|---|
| restorePointLabel |
string |
適用する復元ポイント ラベル |
RestorePoint
データベースの復元ポイント。
| Name | 型 | 説明 |
|---|---|---|
| id |
string |
リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| location |
string |
リソースの場所。 |
| name |
string |
リソースの名前 |
| properties.earliestRestoreDate |
string (date-time) |
このデータベースを復元できる最も早い時刻 |
| properties.restorePointCreationDate |
string (date-time) |
バックアップが作成された時刻 |
| properties.restorePointLabel |
string |
ユーザーによるバックアップ要求の復元ポイントのラベル |
| properties.restorePointType |
復元ポイントの種類 |
|
| type |
string |
リソースの種類。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts" |
RestorePointType
復元ポイントの種類
| 値 | 説明 |
|---|---|
| CONTINUOUS | |
| DISCRETE |