-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Kusto to add version sta…
…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
Showing
58 changed files
with
7,200 additions
and
2 deletions.
There are no files selected for viewing
141 changes: 141 additions & 0 deletions
141
...t.Kusto/stable/2021-01-01/examples/KustoAttachedDatabaseConfigurationsCreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...Microsoft.Kusto/stable/2021-01-01/examples/KustoAttachedDatabaseConfigurationsDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...er/Microsoft.Kusto/stable/2021-01-01/examples/KustoAttachedDatabaseConfigurationsGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
...ft.Kusto/stable/2021-01-01/examples/KustoAttachedDatabaseConfigurationsListByCluster.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...manager/Microsoft.Kusto/stable/2021-01-01/examples/KustoClusterAddLanguageExtensions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...nager/Microsoft.Kusto/stable/2021-01-01/examples/KustoClusterDetachFollowerDatabases.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...manager/Microsoft.Kusto/stable/2021-01-01/examples/KustoClusterListFollowerDatabases.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...anager/Microsoft.Kusto/stable/2021-01-01/examples/KustoClusterListLanguageExtensions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...sto/stable/2021-01-01/examples/KustoClusterPrincipalAssignmentsCheckNameAvailability.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.