Skip to content

Commit

Permalink
Revert "Revert "[Hub Generated] Publish private branch 'azure-kusto/d…
Browse files Browse the repository at this point in the history
…evCM' (Azure#24160)" (Azure#24355)" (Azure#24551)

This reverts commit 6c157d4.
  • Loading branch information
michaelshikh07 authored and harryli0108 committed Jul 28, 2023
1 parent e40336f commit aa99398
Show file tree
Hide file tree
Showing 85 changed files with 11,347 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"api-version": "2023-05-02",
"resourceGroupName": "kustorptest",
"clusterName": "kustoCluster",
"resourceName": {
"name": "adc1",
"type": "Microsoft.Kusto/clusters/attachedDatabaseConfigurations"
}
},
"responses": {
"200": {
"body": {
"name": "adc1",
"nameAvailable": false,
"message": "Name 'adc1' is already taken. Please specify a different name"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoCluster2",
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurationsTest",
"api-version": "2023-05-02",
"parameters": {
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster2",
"databaseName": "kustodatabase",
"defaultPrincipalsModificationKind": "Union",
"databaseNameOverride": "overridekustodatabase",
"tableLevelSharingProperties": {
"tablesToInclude": [
"Table1"
],
"tablesToExclude": [
"Table2"
],
"externalTablesToInclude": [
"ExternalTable1"
],
"externalTablesToExclude": [
"ExternalTable2"
],
"materializedViewsToInclude": [
"MaterializedViewTable1"
],
"materializedViewsToExclude": [
"MaterializedViewTable2"
]
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster2/attachedDatabaseConfigurations/attachedDatabaseConfigurationsTest",
"name": "kustoCluster2/attachedDatabaseConfigurationsTest",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster2",
"databaseName": "db1",
"defaultPrincipalsModificationKind": "Union",
"databaseNameOverride": "overridekustodatabase",
"tableLevelSharingProperties": {
"tablesToInclude": [
"Table1"
],
"tablesToExclude": [
"Table2"
],
"externalTablesToInclude": [
"ExternalTable1"
],
"externalTablesToExclude": [
"ExternalTable2"
],
"materializedViewsToInclude": [
"MaterializedViewTable1"
],
"materializedViewsToExclude": [
"MaterializedViewTable2"
]
},
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster2/attachedDatabaseConfigurations/attachedDatabaseConfigurationsTest",
"name": "kustoCluster2/attachedDatabaseConfigurationsTest",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster2",
"databaseName": "db1",
"defaultPrincipalsModificationKind": "Union",
"databaseNameOverride": "overridekustodatabase",
"tableLevelSharingProperties": {
"tablesToInclude": [
"Table1"
],
"tablesToExclude": [
"Table2"
],
"externalTablesToInclude": [
"ExternalTable1"
],
"externalTablesToExclude": [
"ExternalTable2"
],
"materializedViewsToInclude": [
"MaterializedViewTable1"
],
"materializedViewsToExclude": [
"MaterializedViewTable2"
]
},
"provisioningState": "Creating"
}
}
},
"202": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster2/attachedDatabaseConfigurations/attachedDatabaseConfigurationsTest",
"name": "kustoCluster2/attachedDatabaseConfigurationsTest",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster2",
"databaseName": "db1",
"defaultPrincipalsModificationKind": "Union",
"databaseNameOverride": "overridekustodatabase",
"tableLevelSharingProperties": {
"tablesToInclude": [
"Table1"
],
"tablesToExclude": [
"Table2"
],
"externalTablesToInclude": [
"ExternalTable1"
],
"externalTablesToExclude": [
"ExternalTable2"
],
"materializedViewsToInclude": [
"MaterializedViewTable1"
],
"materializedViewsToExclude": [
"MaterializedViewTable2"
]
},
"provisioningState": "Creating"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoCluster",
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurationsTest",
"api-version": "2023-05-02"
},
"responses": {
"200": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f0f?api-version=2022-12-29"
}
},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f0f?api-version=2022-12-29"
}
},
"204": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f0f?api-version=2022-12-29"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoCluster2",
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurationsTest",
"api-version": "2023-05-02"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster2/AttachedDatabaseConfigurations/attachedDatabaseConfigurationsTest",
"name": "kustoCluster2/attachedDatabaseConfigurationsTest",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster2",
"databaseName": "*",
"defaultPrincipalsModificationKind": "Union",
"databaseNamePrefix": "prefix",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoCluster2",
"api-version": "2023-05-02"
},
"responses": {
"200": {
"body": {
"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"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoCluster",
"api-version": "2023-05-02",
"languageExtensionsToAdd": {
"value": [
{
"languageExtensionName": "PYTHON"
},
{
"languageExtensionName": "R"
}
]
}
},
"responses": {
"200": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f0f?api-version=2022-12-29"
}
},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f0f?api-version=2022-12-29"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoCluster",
"api-version": "2023-05-02",
"followerDatabaseToRemove": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/kustoCluster2",
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurationsTest"
}
},
"responses": {
"200": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f0f?api-version=2022-12-29"
}
},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/providers/Microsoft.Kusto/locations/westus/operationResults/742bef43-608b-4b58-ba96-6f7a32ec5f0f?api-version=2022-12-29"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoCluster",
"api-version": "2023-05-02"
},
"responses": {
"200": {
"body": {
"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"
}
]
}
}
}
}
Loading

0 comments on commit aa99398

Please sign in to comment.