Skip to content

Commit 57e4490

Browse files
hilalevi170msyyc
andauthored
[Hub Generated] Public private branch 'dev-azure-kusto-Microsoft.Kusto-2021-08-27' (#15849)
* Adds base for updating Microsoft.Kusto from version stable/2021-01-01 to version 2021-08-27 * Updates readme * Updates API version in new specs and examples * Swagger changes * it1 * hh * it2 * it3 * it5 * it6 * it7 * readme * it10 * it11 * it11 * it 12 * it 13 * prettier * python * allowedIpRangeList - remove default * bassel changes * checkNameAvailability * fix lint * checkName * fix * managedPrivate check name * prettier * Update readme.python.md * add attached enum * Dor comments * fix description * readOnly Co-authored-by: msyyc <[email protected]>
1 parent 629616f commit 57e4490

File tree

74 files changed

+9103
-10
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+9103
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-1234-123456789098",
4+
"api-version": "2021-08-27",
5+
"resourceGroupName": "kustorptest",
6+
"clusterName": "kustoclusterrptest4",
7+
"resourceName": {
8+
"name": "adc1",
9+
"type": "Microsoft.Kusto/clusters/attachedDatabaseConfigurations"
10+
}
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"name": "adc1",
16+
"nameAvailable": false,
17+
"message": "Name 'adc1' is already taken. Please specify a different name"
18+
}
19+
}
20+
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-1234-123456789098",
4+
"resourceGroupName": "kustorptest",
5+
"clusterName": "kustoclusterrptest4",
6+
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1",
7+
"api-version": "2021-08-27",
8+
"parameters": {
9+
"location": "westus",
10+
"properties": {
11+
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
12+
"databaseName": "kustodatabase",
13+
"defaultPrincipalsModificationKind": "Union",
14+
"tableLevelSharingProperties": {
15+
"tablesToInclude": [
16+
"Table1"
17+
],
18+
"tablesToExclude": [
19+
"Table2"
20+
],
21+
"externalTablesToInclude": [
22+
"ExternalTable1"
23+
],
24+
"externalTablesToExclude": [
25+
"ExternalTable2"
26+
],
27+
"materializedViewsToInclude": [
28+
"MaterializedViewTable1"
29+
],
30+
"materializedViewsToExclude": [
31+
"MaterializedViewTable2"
32+
]
33+
}
34+
}
35+
}
36+
},
37+
"responses": {
38+
"200": {
39+
"body": {
40+
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
41+
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
42+
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
43+
"location": "westus",
44+
"properties": {
45+
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
46+
"databaseName": "db1",
47+
"defaultPrincipalsModificationKind": "Union",
48+
"tableLevelSharingProperties": {
49+
"tablesToInclude": [
50+
"Table1"
51+
],
52+
"tablesToExclude": [
53+
"Table2"
54+
],
55+
"externalTablesToInclude": [
56+
"ExternalTable1"
57+
],
58+
"externalTablesToExclude": [
59+
"ExternalTable2"
60+
],
61+
"materializedViewsToInclude": [
62+
"MaterializedViewTable1"
63+
],
64+
"materializedViewsToExclude": [
65+
"MaterializedViewTable2"
66+
]
67+
},
68+
"provisioningState": "Succeeded"
69+
}
70+
}
71+
},
72+
"201": {
73+
"body": {
74+
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
75+
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
76+
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
77+
"location": "westus",
78+
"properties": {
79+
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
80+
"databaseName": "db1",
81+
"defaultPrincipalsModificationKind": "Union",
82+
"tableLevelSharingProperties": {
83+
"tablesToInclude": [
84+
"Table1"
85+
],
86+
"tablesToExclude": [
87+
"Table2"
88+
],
89+
"externalTablesToInclude": [
90+
"ExternalTable1"
91+
],
92+
"externalTablesToExclude": [
93+
"ExternalTable2"
94+
],
95+
"materializedViewsToInclude": [
96+
"MaterializedViewTable1"
97+
],
98+
"materializedViewsToExclude": [
99+
"MaterializedViewTable2"
100+
]
101+
},
102+
"provisioningState": "Creating"
103+
}
104+
}
105+
},
106+
"202": {
107+
"body": {
108+
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
109+
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
110+
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
111+
"location": "westus",
112+
"properties": {
113+
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
114+
"databaseName": "db1",
115+
"defaultPrincipalsModificationKind": "Union",
116+
"tableLevelSharingProperties": {
117+
"tablesToInclude": [
118+
"Table1"
119+
],
120+
"tablesToExclude": [
121+
"Table2"
122+
],
123+
"externalTablesToInclude": [
124+
"ExternalTable1"
125+
],
126+
"externalTablesToExclude": [
127+
"ExternalTable2"
128+
],
129+
"materializedViewsToInclude": [
130+
"MaterializedViewTable1"
131+
],
132+
"materializedViewsToExclude": [
133+
"MaterializedViewTable2"
134+
]
135+
},
136+
"provisioningState": "Creating"
137+
}
138+
}
139+
}
140+
}
141+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-1234-123456789098",
4+
"resourceGroupName": "kustorptest",
5+
"clusterName": "kustoclusterrptest4",
6+
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1",
7+
"api-version": "2021-08-27"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {},
12+
"204": {}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-1234-123456789098",
4+
"resourceGroupName": "kustorptest",
5+
"clusterName": "kustoclusterrptest4",
6+
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1",
7+
"api-version": "2021-08-27"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/attachedDatabaseConfigurations1",
13+
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
14+
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
15+
"location": "westus",
16+
"properties": {
17+
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
18+
"databaseName": "*",
19+
"defaultPrincipalsModificationKind": "Union",
20+
"tableLevelSharingProperties": {
21+
"tablesToInclude": [
22+
"Table1"
23+
],
24+
"tablesToExclude": [
25+
"Table2"
26+
],
27+
"externalTablesToInclude": [
28+
"ExternalTable1"
29+
],
30+
"externalTablesToExclude": [
31+
"ExternalTable2"
32+
],
33+
"materializedViewsToInclude": [
34+
"MaterializedViewTable1"
35+
],
36+
"materializedViewsToExclude": [
37+
"MaterializedViewTable2"
38+
]
39+
},
40+
"provisioningState": "Succeeded"
41+
}
42+
}
43+
}
44+
}
45+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-1234-123456789098",
4+
"resourceGroupName": "kustorptest",
5+
"clusterName": "kustoclusterrptest4",
6+
"api-version": "2021-08-27"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase8",
14+
"name": "KustoClusterRPTest4/KustoDatabase8",
15+
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
16+
"location": "westus",
17+
"properties": {
18+
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
19+
"databaseName": "db1",
20+
"defaultPrincipalsModificationKind": "Union",
21+
"provisioningState": "Succeeded"
22+
}
23+
},
24+
{
25+
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase9",
26+
"name": "KustoClusterRPTest4/KustoDatabase9",
27+
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
28+
"location": "westus",
29+
"properties": {
30+
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
31+
"databaseName": "db1",
32+
"defaultPrincipalsModificationKind": "Union",
33+
"tableLevelSharingProperties": {
34+
"tablesToInclude": [
35+
"Table1"
36+
],
37+
"tablesToExclude": [
38+
"Table2"
39+
],
40+
"externalTablesToInclude": [
41+
"ExternalTable1"
42+
],
43+
"externalTablesToExclude": [
44+
"ExternalTable2"
45+
],
46+
"materializedViewsToInclude": [
47+
"MaterializedViewTable1"
48+
],
49+
"materializedViewsToExclude": [
50+
"MaterializedViewTable2"
51+
]
52+
},
53+
"provisioningState": "Succeeded"
54+
}
55+
}
56+
]
57+
}
58+
}
59+
}
60+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-1234-123456789098",
4+
"resourceGroupName": "kustorptest",
5+
"clusterName": "kustoclusterrptest4",
6+
"api-version": "2021-08-27",
7+
"languageExtensionsToAdd": {
8+
"value": [
9+
{
10+
"languageExtensionName": "PYTHON"
11+
},
12+
{
13+
"languageExtensionName": "R"
14+
}
15+
]
16+
}
17+
},
18+
"responses": {
19+
"200": {},
20+
"202": {}
21+
}
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-1234-123456789098",
4+
"resourceGroupName": "kustorptest",
5+
"clusterName": "kustoclusterrptest4",
6+
"api-version": "2021-08-27",
7+
"followerDatabaseToRemove": {
8+
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader4",
9+
"attachedDatabaseConfigurationName": "myAttachedDatabaseConfiguration"
10+
}
11+
},
12+
"responses": {
13+
"200": {},
14+
"202": {}
15+
}
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-1234-123456789098",
4+
"resourceGroupName": "kustorptest",
5+
"clusterName": "kustoclusterrptest4",
6+
"api-version": "2021-08-27"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"attachedDatabaseConfigurationName": "attachedDbConfiguration",
14+
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower1",
15+
"databaseName": "*"
16+
},
17+
{
18+
"attachedDatabaseConfigurationName": "attachedDbConfiguration2",
19+
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower4",
20+
"databaseName": "db1"
21+
}
22+
]
23+
}
24+
}
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-1234-123456789098",
4+
"resourceGroupName": "kustorptest",
5+
"clusterName": "kustoclusterrptest4",
6+
"api-version": "2021-08-27"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"languageExtensionName": "PYTHON"
14+
},
15+
{
16+
"languageExtensionName": "R"
17+
}
18+
]
19+
}
20+
}
21+
}
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-1234-123456789098",
4+
"resourceGroupName": "kustorptest",
5+
"clusterName": "kustoclusterrptest4",
6+
"principalAssignmentName": {
7+
"name": "kustoprincipal1",
8+
"type": "Microsoft.Kusto/clusters/principalAssignments"
9+
},
10+
"api-version": "2021-08-27"
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"name": "kustoprincipal1",
16+
"nameAvailable": false,
17+
"message": "Name 'kustoprincipal1' is already taken. Please specify a different name"
18+
}
19+
}
20+
}
21+
}

0 commit comments

Comments
 (0)