Attached Database Configurations - List By Cluster
Returns the list of attached database configurations of the given Kusto cluster.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/attachedDatabaseConfigurations?api-version=2023-08-15
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
cluster
|
path | True |
string |
The name of the Kusto cluster. Regex pattern: |
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string |
The ID of the target subscription. |
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully retrieved the list of attached database configurations. |
|
Other Status Codes |
Error response describing why the operation failed. |
Examples
KustoAttachedDatabaseConfigurationsListByCluster
Sample Request
Sample Response
{
"value": [
{
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster2/AttachedDatabaseConfigurations/KustoDatabase8",
"name": "kustoCluster2/KustoDatabase8",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "db1",
"defaultPrincipalsModificationKind": "Union",
"provisioningState": "Succeeded"
}
},
{
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster2/AttachedDatabaseConfigurations/KustoDatabase9",
"name": "kustoCluster2/KustoDatabase9",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "db1",
"defaultPrincipalsModificationKind": "Union",
"tableLevelSharingProperties": {
"tablesToInclude": [
"Table1"
],
"tablesToExclude": [
"Table2"
],
"externalTablesToInclude": [
"ExternalTable1"
],
"externalTablesToExclude": [
"ExternalTable2"
],
"materializedViewsToInclude": [
"MaterializedViewTable1"
],
"materializedViewsToExclude": [
"MaterializedViewTable2"
],
"functionsToInclude": [
"functionsToInclude1"
],
"functionsToExclude": [
"functionsToExclude2"
]
},
"provisioningState": "Succeeded"
}
}
]
}
Definitions
Name | Description |
---|---|
Attached |
Class representing an attached database configuration. |
Attached |
The list attached database configurations operation response. |
Default |
The default principals modification kind |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Provisioning |
The provisioned state of the resource. |
Table |
Tables that will be included and excluded in the follower database |
AttachedDatabaseConfiguration
Class representing an attached database configuration.
Name | Type | Description |
---|---|---|
id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
location |
string |
Resource location. |
name |
string |
The name of the resource |
properties.attachedDatabaseNames |
string[] |
The list of databases from the clusterResourceId which are currently attached to the cluster. |
properties.clusterResourceId |
string |
The resource id of the cluster where the databases you would like to attach reside. |
properties.databaseName |
string |
The name of the database which you would like to attach, use * if you want to follow all current and future databases. |
properties.databaseNameOverride |
string |
Overrides the original database name. Relevant only when attaching to a specific database. |
properties.databaseNamePrefix |
string |
Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the databases original names from leader cluster. |
properties.defaultPrincipalsModificationKind |
The default principals modification kind |
|
properties.provisioningState |
The provisioned state of the resource. |
|
properties.tableLevelSharingProperties |
Table level sharing specifications |
|
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
AttachedDatabaseConfigurationListResult
The list attached database configurations operation response.
Name | Type | Description |
---|---|---|
value |
The list of attached database configurations. |
DefaultPrincipalsModificationKind
The default principals modification kind
Name | Type | Description |
---|---|---|
None |
string |
|
Replace |
string |
|
Union |
string |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
ProvisioningState
The provisioned state of the resource.
Name | Type | Description |
---|---|---|
Canceled |
string |
|
Creating |
string |
|
Deleting |
string |
|
Failed |
string |
|
Moving |
string |
|
Running |
string |
|
Succeeded |
string |
TableLevelSharingProperties
Tables that will be included and excluded in the follower database
Name | Type | Description |
---|---|---|
externalTablesToExclude |
string[] |
List of external tables to exclude from the follower database |
externalTablesToInclude |
string[] |
List of external tables to include in the follower database |
functionsToExclude |
string[] |
List of functions to exclude from the follower database |
functionsToInclude |
string[] |
List of functions to include in the follower database |
materializedViewsToExclude |
string[] |
List of materialized views to exclude from the follower database |
materializedViewsToInclude |
string[] |
List of materialized views to include in the follower database |
tablesToExclude |
string[] |
List of tables to exclude from the follower database |
tablesToInclude |
string[] |
List of tables to include in the follower database |