Skip to content

Commit 0cfdce6

Browse files
authored
[Hub Generated] Publish private branch 'dev-azure-kusto-Microsoft.Kusto-2022-07-07' (#20689)
* Adds base for updating Microsoft.Kusto from version stable/2022-02-01 to version 2022-07-07 * Updates readme * Updates API version in new specs and examples * Changes * Update * Update readme.md * fix * Update readme.md * New line * Add Database CallerRole * Update example * "callerRole" : "Admin" * Prettier
1 parent ce6d867 commit 0cfdce6

File tree

77 files changed

+9855
-2
lines changed

Some content is hidden

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

77 files changed

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

0 commit comments

Comments
 (0)