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

Clusters - List Follower Databases

返回此群集拥有并后跟另一个群集的数据库的列表。

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/listFollowerDatabases?api-version=2023-08-15

URI 参数

名称 必需 类型 说明
clusterName
path True

string

Kusto 群集的名称。

Regex pattern: ^.*$

resourceGroupName
path True

string

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

subscriptionId
path True

string

目标订阅的 ID。

api-version
query True

string

要用于此操作的 API 版本。

响应

名称 类型 说明
200 OK

FollowerDatabaseListResult

已成功检索关注的数据库列表。

Other Status Codes

ErrorResponse

描述操作失败原因的错误响应。

示例

KustoClusterListFollowerDatabases

Sample Request

POST https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/kustoCluster/listFollowerDatabases?api-version=2023-08-15

Sample Response

{
  "value": [
    {
      "attachedDatabaseConfigurationName": "attachedDbConfiguration",
      "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower1",
      "databaseName": "*",
      "databaseShareOrigin": "DataShare"
    },
    {
      "attachedDatabaseConfigurationName": "attachedDbConfiguration2",
      "clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower4",
      "databaseName": "db1",
      "tableLevelSharingProperties": {
        "tablesToInclude": [
          "Table1"
        ],
        "tablesToExclude": [
          "Table2"
        ],
        "externalTablesToInclude": [
          "ExternalTable1"
        ],
        "externalTablesToExclude": [
          "ExternalTable2"
        ],
        "materializedViewsToInclude": [
          "MaterializedViewTable1"
        ],
        "materializedViewsToExclude": [
          "MaterializedViewTable2"
        ]
      },
      "databaseShareOrigin": "Direct"
    }
  ]
}

定义

名称 说明
DatabaseShareOrigin

以下设置的源。

ErrorAdditionalInfo

资源管理错误附加信息。

ErrorDetail

错误详细信息。

ErrorResponse

错误响应

FollowerDatabaseDefinition

表示后继数据库请求的类。

FollowerDatabaseListResult

列出 Kusto 数据库主体操作响应。

TableLevelSharingProperties

将在后继数据库中包括和排除的表

DatabaseShareOrigin

以下设置的源。

名称 类型 说明
DataShare

string

Direct

string

Other

string

ErrorAdditionalInfo

资源管理错误附加信息。

名称 类型 说明
info

object

其他信息。

type

string

其他信息类型。

ErrorDetail

错误详细信息。

名称 类型 说明
additionalInfo

ErrorAdditionalInfo[]

错误附加信息。

code

string

错误代码。

details

ErrorDetail[]

错误详细信息。

message

string

错误消息。

target

string

错误目标。

ErrorResponse

错误响应

名称 类型 说明
error

ErrorDetail

错误对象。

FollowerDatabaseDefinition

表示后继数据库请求的类。

名称 类型 说明
attachedDatabaseConfigurationName

string

后继群集中附加的数据库配置的资源名称。

clusterResourceId

string

此群集拥有的数据库后面的群集的资源 ID。

databaseName

string

后跟此群集拥有的数据库名称。 * (如果关注所有数据库)。

databaseShareOrigin

DatabaseShareOrigin

以下设置的源。

tableLevelSharingProperties

TableLevelSharingProperties

表级共享规范

FollowerDatabaseListResult

列出 Kusto 数据库主体操作响应。

名称 类型 说明
value

FollowerDatabaseDefinition[]

关注者数据库结果的列表。

TableLevelSharingProperties

将在后继数据库中包括和排除的表

名称 类型 说明
externalTablesToExclude

string[]

要从后继数据库排除的外部表的列表

externalTablesToInclude

string[]

要包含在后继数据库中的外部表的列表

functionsToExclude

string[]

要从后继数据库排除的函数列表

functionsToInclude

string[]

要包含在后继数据库中的函数列表

materializedViewsToExclude

string[]

要从后继数据库中排除的具体化视图列表

materializedViewsToInclude

string[]

要包含在后继数据库中的具体化视图列表

tablesToExclude

string[]

要从后继数据库排除的表列表

tablesToInclude

string[]

要包含在后继数据库中的表列表