Skip to content

Commit fc2dd65

Browse files
docohedorcohesagivf
authored andcommitted
[Hub Generated] Review request for Microsoft.Kusto to add version stable/2022-02-01 (Azure#17197)
* Copy old api-version * 2022-02-01 updated * boolean to enum * operationResult in camelCasing * Add private endpoints member to cluster entity * remove 204 Co-authored-by: dorcohe <[email protected]> Co-authored-by: Sagiv Frankel <[email protected]>
1 parent 979e7e9 commit fc2dd65

File tree

77 files changed

+9719
-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

+9719
-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-02-01",
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,141 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-1234-123456789098",
4+
"resourceGroupName": "kustorptest",
5+
"clusterName": "kustoCluster2",
6+
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurationsTest",
7+
"api-version": "2022-02-01",
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+
"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/kustoCluster2/attachedDatabaseConfigurations/attachedDatabaseConfigurationsTest",
41+
"name": "kustoCluster2/attachedDatabaseConfigurationsTest",
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/kustoCluster2",
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/kustoCluster2/attachedDatabaseConfigurations/attachedDatabaseConfigurationsTest",
75+
"name": "kustoCluster2/attachedDatabaseConfigurationsTest",
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/kustoCluster2",
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/kustoCluster2/attachedDatabaseConfigurations/attachedDatabaseConfigurationsTest",
109+
"name": "kustoCluster2/attachedDatabaseConfigurationsTest",
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/kustoCluster2",
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": "kustoCluster",
6+
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurationsTest",
7+
"api-version": "2022-02-01"
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": "kustoCluster2",
6+
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurationsTest",
7+
"api-version": "2022-02-01"
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+
"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": "kustoCluster2",
6+
"api-version": "2022-02-01"
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-02-01",
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-02-01",
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,26 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-1234-123456789098",
4+
"resourceGroupName": "kustorptest",
5+
"clusterName": "kustoCluster",
6+
"api-version": "2022-02-01"
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": "kustoCluster",
6+
"api-version": "2022-02-01"
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": "kustoCluster",
6+
"principalAssignmentName": {
7+
"name": "kustoprincipal1",
8+
"type": "Microsoft.Kusto/clusters/principalAssignments"
9+
},
10+
"api-version": "2022-02-01"
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)