@@ -56,7 +56,7 @@ var followerResourceGroupName = "followerResouceGroup";
56
56
var leaderResourceGroup = " leaderResouceGroup" ;
57
57
var leaderClusterName = " leader" ;
58
58
var followerClusterName = " follower" ;
59
- var attachedDatabaseConfigurationName = " adc " ;
59
+ var attachedDatabaseConfigurationName = " uniqueNameForAttachedDatabaseConfiguration " ;
60
60
var databaseName = " db" ; // Can be specific database name or * for all databases
61
61
var defaultPrincipalsModificationKind = " Union" ;
62
62
var location = " North Central US" ;
@@ -108,7 +108,7 @@ follower_resource_group_name = "followerResouceGroup"
108
108
leader_resouce_group_name = " leaderResouceGroup"
109
109
follower_cluster_name = " follower"
110
110
leader_cluster_name = " leader"
111
- attached_database_Configuration_name = " adc "
111
+ attached_database_Configuration_name = " uniqueNameForAttachedDatabaseConfiguration "
112
112
database_name = " db" # Can be specific database name or * for all databases
113
113
default_principals_modification_kind = " Union"
114
114
location = " North Central US"
@@ -175,7 +175,7 @@ In this section, you learn to attach a database to an existing cluser by using a
175
175
"variables" : {},
176
176
"resources" : [
177
177
{
178
- "name" : " [concat( parameters('followerClusterName'), '/', parameters(' attachedDatabaseConfigurationsName') )]" ,
178
+ "name" : " [parameters('attachedDatabaseConfigurationsName')]" ,
179
179
"type" : " Microsoft.Kusto/clusters/attachedDatabaseConfigurations" ,
180
180
"apiVersion" : " 2019-09-07" ,
181
181
"location" : " [parameters('location')]" ,
@@ -201,7 +201,7 @@ You can deploy the Azure Resource Manager template by [using the Azure portal](h
201
201
202
202
| ** Setting** | ** Description** |
203
203
| ---------| ---------|
204
- | Follower Cluster Name | The name of the follower cluster. |
204
+ | Follower Cluster Name | The name of the follower cluster. This is the cluster which this template will be deployed on. |
205
205
| Attached Database Configurations Name | The name of the attached database configurations object. The name must be unique at the cluster level. |
206
206
| Database Name | The name of the database to be followed. If you want to follow all the leader's databases, use '* '. |
207
207
| Leader Cluster Resource ID | The resource ID of the leader cluster. |
@@ -245,7 +245,7 @@ var resourceManagementClient = new KustoManagementClient(serviceCreds){
245
245
var followerResourceGroupName = " testrg" ;
246
246
// The cluster and database that are created as part of the prerequisites
247
247
var followerClusterName = " follower" ;
248
- var attachedDatabaseConfigurationsName = " adc " ;
248
+ var attachedDatabaseConfigurationsName = " uniqueName " ;
249
249
250
250
resourceManagementClient .AttachedDatabaseConfigurations .Delete (followerResourceGroupName , followerClusterName , attachedDatabaseConfigurationsName );
251
251
```
@@ -273,7 +273,7 @@ var followerClusterName = "follower";
273
273
// The cluster and database that are created as part of the Prerequisites
274
274
var followerDatabaseDefinition = new FollowerDatabaseDefinition ()
275
275
{
276
- AttachedDatabaseConfigurationName = " adc " ,
276
+ AttachedDatabaseConfigurationName = " uniqueName " ,
277
277
ClusterResourceId = $" /subscriptions/{followerSubscriptionId }/resourceGroups/{followerResourceGroupName }/providers/Microsoft.Kusto/Clusters/{followerClusterName }"
278
278
};
279
279
@@ -307,7 +307,7 @@ kusto_management_client = KustoManagementClient(credentials, follower_subscripti
307
307
308
308
follower_resource_group_name = " followerResouceGroup"
309
309
follower_cluster_name = " follower"
310
- attached_database_configurationName = " adc "
310
+ attached_database_configurationName = " uniqueName "
311
311
312
312
# Returns an instance of LROPoller, see https://docs.microsoft.com/python/api/msrest/msrest.polling.lropoller?view=azure-python
313
313
poller = kusto_management_client.attached_database_configurations.delete(follower_resource_group_name, follower_cluster_name, attached_database_configurationName)
@@ -343,7 +343,7 @@ follower_resource_group_name = "followerResourceGroup"
343
343
leader_resource_group_name = " leaderResourceGroup"
344
344
follower_cluster_name = " follower"
345
345
leader_cluster_name = " leader"
346
- attached_database_configuration_name = " adc "
346
+ attached_database_configuration_name = " uniqueName "
347
347
location = " North Central US"
348
348
cluster_resource_id = " /subscriptions/" + follower_subscription_id + " /resourceGroups/" + follower_resource_group_name + " /providers/Microsoft.Kusto/Clusters/" + follower_cluster_name
349
349
0 commit comments