你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Sql Pool Operation Results - Get Location Header Result

获取 SQL 池操作状态
获取 SQL 池操作的状态

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/operationResults/{operationId}?api-version=2021-06-01

URI 参数

名称 必需 类型 说明
operationId
path True

string

Operation ID

resourceGroupName
path True

string

资源组的名称。 此名称不区分大小写。

sqlPoolName
path True

string

SQL 池名称

subscriptionId
path True

string

目标订阅的 ID。

workspaceName
path True

string

工作区的名称。

api-version
query True

string

要用于此操作的 API 版本。

响应

名称 类型 说明
200 OK

SqlPool

确定

201 Created

SqlPool

创建

202 Accepted

SqlPool

已接受

Other Status Codes

ErrorResponse

示例

Get the result of an operation on a SQL Analytics pool

Sample Request

GET https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/sqlPools/ExampleSqlPool/operationResults/fedcba98-7654-4210-fedc-ba9876543210?api-version=2021-06-01

Sample Response

{
  "sku": {},
  "properties": {
    "collation": "SQL_Latin1_General_CP1_CI_AS",
    "maxSizeBytes": 263882790666240,
    "status": "Paused",
    "creationDate": "2022-08-25T09:22:46.68Z"
  },
  "location": "eastus",
  "tags": {},
  "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg_ursa/providers/Microsoft.Synapse/workspaces/ursascaneastus/sqlPools/SampleSQLPool",
  "name": "SampleSQLPool",
  "type": "Microsoft.Synapse/workspaces/sqlPools"
}
{
  "sku": {},
  "properties": {
    "collation": "SQL_Latin1_General_CP1_CI_AS",
    "maxSizeBytes": 263882790666240,
    "status": "Paused",
    "creationDate": "2022-08-25T09:22:46.68Z"
  },
  "location": "eastus",
  "tags": {},
  "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg_ursa/providers/Microsoft.Synapse/workspaces/ursascaneastus/sqlPools/SampleSQLPool",
  "name": "SampleSQLPool",
  "type": "Microsoft.Synapse/workspaces/sqlPools"
}
{
  "sku": {},
  "properties": {
    "collation": "SQL_Latin1_General_CP1_CI_AS",
    "maxSizeBytes": 263882790666240,
    "status": "Paused",
    "creationDate": "2022-08-25T09:22:46.68Z"
  },
  "location": "eastus",
  "tags": {},
  "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg_ursa/providers/Microsoft.Synapse/workspaces/ursascaneastus/sqlPools/SampleSQLPool",
  "name": "SampleSQLPool",
  "type": "Microsoft.Synapse/workspaces/sqlPools"
}

定义

名称 说明
createMode

指定 sql 池创建模式。

默认值:常规 sql 池创建。

PointInTimeRestore:通过还原现有 sql 池的时间点备份来创建 sql 池。 sourceDatabaseId 必须指定为现有 sql 池的资源 ID,并且必须指定 restorePointInTime。

恢复:通过异地复制的备份创建 sql 池。 sourceDatabaseId 必须指定为 recoverableDatabaseId 才能还原。

还原:通过还原已删除 sql 池的备份来创建 sql 池。 SourceDatabaseId 应该是 sql 池的原始资源 ID。 必须指定 SourceDatabaseId 和 sourceDatabaseDeletionDate。

ErrorAdditionalInfo

资源管理错误附加信息。

ErrorDetail

错误详细信息。

ErrorResponse

错误响应

Sku

SKU

SqlPool

SQL 池

StorageAccountType

用于存储此 sql 池备份的存储帐户类型。

createMode

指定 sql 池创建模式。

默认值:常规 sql 池创建。

PointInTimeRestore:通过还原现有 sql 池的时间点备份来创建 sql 池。 sourceDatabaseId 必须指定为现有 sql 池的资源 ID,并且必须指定 restorePointInTime。

恢复:通过异地复制的备份创建 sql 池。 sourceDatabaseId 必须指定为 recoverableDatabaseId 才能还原。

还原:通过还原已删除 sql 池的备份来创建 sql 池。 SourceDatabaseId 应该是 sql 池的原始资源 ID。 必须指定 SourceDatabaseId 和 sourceDatabaseDeletionDate。

名称 类型 说明
Default

string

PointInTimeRestore

string

Recovery

string

Restore

string

ErrorAdditionalInfo

资源管理错误附加信息。

名称 类型 说明
info

object

其他信息。

type

string

其他信息类型。

ErrorDetail

错误详细信息。

名称 类型 说明
additionalInfo

ErrorAdditionalInfo[]

错误附加信息。

code

string

错误代码。

details

ErrorDetail[]

错误详细信息。

message

string

错误消息。

target

string

错误目标。

ErrorResponse

错误响应

名称 类型 说明
error

ErrorDetail

错误对象。

Sku

SKU

名称 类型 说明
capacity

integer

如果 SKU 支持横向扩展/缩减,则应包含容量整数。 如果资源无法横向扩展/缩减,则可能会省略这一点。

name

string

SKU 名称

tier

string

服务层

SqlPool

SQL 池

名称 类型 默认值 说明
id

string

资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location

string

资源所在的地理位置

name

string

资源的名称

properties.collation

string

排序规则模式

properties.createMode

createMode

指定 sql 池创建模式。

默认值:常规 sql 池创建。

PointInTimeRestore:通过还原现有 sql 池的时间点备份来创建 sql 池。 sourceDatabaseId 必须指定为现有 sql 池的资源 ID,并且必须指定 restorePointInTime。

恢复:通过异地复制的备份创建 sql 池。 sourceDatabaseId 必须指定为 recoverableDatabaseId 才能还原。

还原:通过还原已删除 sql 池的备份来创建 sql 池。 SourceDatabaseId 应该是 sql 池的原始资源 ID。 必须指定 SourceDatabaseId 和 sourceDatabaseDeletionDate。

properties.creationDate

string

SQL 池的创建日期

properties.maxSizeBytes

integer

最大大小(以字节为单位)

properties.provisioningState

string

资源状态

properties.recoverableDatabaseId

string

要从中还原的备份数据库

properties.restorePointInTime

string

要还原的快照时间

properties.sourceDatabaseDeletionDate

string

指定删除 sql 池的时间

properties.sourceDatabaseId

string

要从中创建的源数据库

properties.status

string

资源状态

properties.storageAccountType

StorageAccountType

GRS

用于存储此 sql 池备份的存储帐户类型。

sku

Sku

SKU
SQL 池 SKU

tags

object

资源标记。

type

string

资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”

StorageAccountType

用于存储此 sql 池备份的存储帐户类型。

名称 类型 说明
GRS

string

LRS

string