forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Publish private branch 'dev-azure-kusto-Microsoft.Kus…
…to-2022-11-11' (Azure#21802) * Adds base for updating Microsoft.Kusto from version stable/2022-07-07 to version 2022-11-11 * Updates readme * Updates API version in new specs and examples * changes from Kusto monolith * "type": "object", * Format * 1. Add "_List" 2. ApiVersionParameter from common types 3. Add required state "Canceled" * Location_Skus_List to Skus_List * Typo fix: "an CosmosDb" to "a CosmosDb" * Support zoneDetails * Revert "Support zoneDetails" This reverts commit d873727. * zoneDetails to 2022-11-11 * "type": "object" + "x-ms-identifiers": [ "name" ],
- Loading branch information
Showing
81 changed files
with
10,534 additions
and
2 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
...o/stable/2022-11-11/examples/KustoAttachedDatabaseConfigurationCheckNameAvailability.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", | ||
"api-version": "2022-11-11", | ||
"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" | ||
} | ||
} | ||
} | ||
} |
145 changes: 145 additions & 0 deletions
145
...t.Kusto/stable/2022-11-11/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,145 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"resourceGroupName": "kustorptest", | ||
"clusterName": "kustoCluster2", | ||
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurationsTest", | ||
"api-version": "2022-11-11", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...Microsoft.Kusto/stable/2022-11-11/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,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"resourceGroupName": "kustorptest", | ||
"clusterName": "kustoCluster", | ||
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurationsTest", | ||
"api-version": "2022-11-11" | ||
}, | ||
"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-11-11" | ||
} | ||
}, | ||
"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-11-11" | ||
} | ||
}, | ||
"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-11-11" | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...er/Microsoft.Kusto/stable/2022-11-11/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,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"resourceGroupName": "kustorptest", | ||
"clusterName": "kustoCluster2", | ||
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurationsTest", | ||
"api-version": "2022-11-11" | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
...ft.Kusto/stable/2022-11-11/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": "kustoCluster2", | ||
"api-version": "2022-11-11" | ||
}, | ||
"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" | ||
] | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...manager/Microsoft.Kusto/stable/2022-11-11/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,30 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"resourceGroupName": "kustorptest", | ||
"clusterName": "kustoCluster", | ||
"api-version": "2022-11-11", | ||
"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-11-11" | ||
} | ||
}, | ||
"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-11-11" | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...nager/Microsoft.Kusto/stable/2022-11-11/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,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"resourceGroupName": "kustorptest", | ||
"clusterName": "kustoCluster", | ||
"api-version": "2022-11-11", | ||
"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-11-11" | ||
} | ||
}, | ||
"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-11-11" | ||
} | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
...manager/Microsoft.Kusto/stable/2022-11-11/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,48 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"resourceGroupName": "kustorptest", | ||
"clusterName": "kustoCluster", | ||
"api-version": "2022-11-11" | ||
}, | ||
"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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.