Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Kusto to add version sta…
Browse files Browse the repository at this point in the history
…ble/2021-01-01 (#13306)

* Add new api version 2021

* remove managedIdentity since we won't support it in this version

* CR comments

* Add default value for contine on errros

* Fix swagger correctness issues

* Fix typo
  • Loading branch information
docohe authored Apr 16, 2021
1 parent d293c71 commit a582c2e
Show file tree
Hide file tree
Showing 58 changed files with 7,200 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoclusterrptest4",
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1",
"api-version": "2021-01-01",
"parameters": {
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "kustodatabase",
"defaultPrincipalsModificationKind": "Union",
"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/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
"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"
]
},
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
"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"
]
},
"provisioningState": "Creating"
}
}
},
"202": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
"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"
]
},
"provisioningState": "Creating"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoclusterrptest4",
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1",
"api-version": "2021-01-01"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoclusterrptest4",
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1",
"api-version": "2021-01-01"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/attachedDatabaseConfigurations1",
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
"databaseName": "*",
"defaultPrincipalsModificationKind": "Union",
"tableLevelSharingProperties": {
"tablesToInclude": [
"Table1"
],
"tablesToExclude": [
"Table2"
],
"externalTablesToInclude": [
"ExternalTable1"
],
"externalTablesToExclude": [
"ExternalTable2"
],
"materializedViewsToInclude": [
"MaterializedViewTable1"
],
"materializedViewsToExclude": [
"MaterializedViewTable2"
]
},
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoclusterrptest4",
"api-version": "2021-01-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase8",
"name": "KustoClusterRPTest4/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/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase9",
"name": "KustoClusterRPTest4/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"
]
},
"provisioningState": "Succeeded"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoclusterrptest4",
"api-version": "2021-01-01",
"languageExtensionsToAdd": {
"value": [
{
"languageExtensionName": "PYTHON"
},
{
"languageExtensionName": "R"
}
]
}
},
"responses": {
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoclusterrptest4",
"api-version": "2021-01-01",
"followerDatabaseToRemove": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader4",
"attachedDatabaseConfigurationName": "myAttachedDatabaseConfiguration"
}
},
"responses": {
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoclusterrptest4",
"api-version": "2021-01-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"attachedDatabaseConfigurationName": "attachedDbConfiguration",
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower1",
"databaseName": "*"
},
{
"attachedDatabaseConfigurationName": "attachedDbConfiguration2",
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower4",
"databaseName": "db1"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoclusterrptest4",
"api-version": "2021-01-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"languageExtensionName": "PYTHON"
},
{
"languageExtensionName": "R"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "kustoclusterrptest4",
"principalAssignmentName": {
"name": "kustoprincipal1",
"type": "Microsoft.Kusto/clusters/principalAssignments"
},
"api-version": "2021-01-01"
},
"responses": {
"200": {
"body": {
"name": "kustoprincipal1",
"nameAvailable": false,
"message": "Name 'kustoprincipal1' is already taken. Please specify a different name"
}
}
}
}
Loading

0 comments on commit a582c2e

Please sign in to comment.