Skip to content

Commit 20450db

Browse files
enjaimessatumkurmsftmattgotteinerSamartha Tumkur Vani
authored
Dev search microsoft.search 2022 09 01 (#21964)
* Adds base for updating Microsoft.Search from version stable/2020-08-01 to version 2022-09-01 * Updates readme * Updates API version in new specs and examples * Add missing private endpoint connection properties (#21629) * add missing private endpoint connection properties * fix errors * Adding delegated identities to data plane * Revert "Adding delegated identities to data plane" This reverts commit def1bd3. * Fix Lint ProvisioningStateValidation Error * Applying prettier changes npm run prettier -- --write Co-authored-by: Enrique Jaimes <enjaimes@microsoft.com> * Satumkur/new api ver 20220901 (#21922) * semantic updates * Add Dataplane RBAC related changes + examples * Prettier fixes * Fix LintDiff errors * Update SearchUpdateServiceDisableLocalAuth.json update erroneous api version param Co-authored-by: Samartha Tumkur Vani <satumkur@microsoft.com> Co-authored-by: Enrique Jaimes <enjaimes@microsoft.com> * Add CMK Enforcement policy support (#21996) * Add CMK Enforcement policy support * Update api-version * Remove unused properties * Remove bypass property Co-authored-by: satumkurmsft <72990508+satumkurmsft@users.noreply.github.com> Co-authored-by: Matt <57731498+mattmsft@users.noreply.github.com> Co-authored-by: Samartha Tumkur Vani <satumkur@microsoft.com>
1 parent 269c77b commit 20450db

File tree

36 files changed

+4254
-8
lines changed

36 files changed

+4254
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"parameters": {
3+
"searchServiceName": "mysearchservice",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-09-01",
6+
"subscriptionId": "subid",
7+
"sharedPrivateLinkResourceName": "testResource",
8+
"sharedPrivateLinkResource": {
9+
"properties": {
10+
"requestMessage": "please approve",
11+
"groupId": "blob",
12+
"privateLinkResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName",
13+
"resourceRegion": null
14+
}
15+
}
16+
},
17+
"responses": {
18+
"202": {
19+
"headers": {
20+
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchService/sharedPrivateLinkResources/testResource/operationStatuses/08586060559526078782?api-version=2022-09-01",
21+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchService/sharedPrivateLinkResources/testResource/operationStatuses/08586060559526078782?api-version=2022-09-01"
22+
}
23+
},
24+
"200": {
25+
"body": {
26+
"name": "testResource",
27+
"type": "Microsoft.Search/searchServices/sharedPrivateLinkResources",
28+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/sharedPrivateLinkResources/testResource",
29+
"properties": {
30+
"requestMessage": "please approve",
31+
"groupId": "blob",
32+
"privateLinkResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName",
33+
"status": "Pending",
34+
"resourceRegion": null
35+
}
36+
}
37+
}
38+
}
39+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"searchServiceName": "mysearchservice",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-09-01",
6+
"subscriptionId": "subid",
7+
"privateEndpointConnectionName": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/privateEndpointConnections/testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
13+
"name": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
14+
"type": "Microsoft.Search/searchServices/privateEndpointConnections",
15+
"properties": {
16+
"privateEndpoint": {
17+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testEndpoint"
18+
},
19+
"privateLinkServiceConnectionState": {
20+
"status": "Disconnected",
21+
"description": "",
22+
"actionsRequired": "None"
23+
}
24+
}
25+
}
26+
},
27+
"404": {}
28+
}
29+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"searchServiceName": "mysearchservice",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-09-01",
6+
"subscriptionId": "subid",
7+
"sharedPrivateLinkResourceName": "testResource"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchService/sharedPrivateLinkResources/testResource/operationStatuses/159c5e07-c829-4896-8aba-a1d4fcc7c89c?api-version=2022-09-01",
13+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchService/sharedPrivateLinkResources/testResource/operationStatuses/159c5e07-c829-4896-8aba-a1d4fcc7c89c?api-version=2022-09-01"
14+
}
15+
},
16+
"204": {},
17+
"404": {}
18+
}
19+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"searchServiceName": "mysearchservice",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-09-01",
6+
"subscriptionId": "subid",
7+
"privateEndpointConnectionName": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/privateEndpointConnections/testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
13+
"name": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
14+
"type": "Microsoft.Search/searchServices/privateEndpointConnections",
15+
"properties": {
16+
"privateEndpoint": {
17+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testEndpoint"
18+
},
19+
"privateLinkServiceConnectionState": {
20+
"status": "Approved",
21+
"description": "",
22+
"actionsRequired": "None"
23+
}
24+
}
25+
}
26+
}
27+
}
28+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"searchServiceName": "mysearchservice",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-09-01",
6+
"subscriptionId": "subid",
7+
"sharedPrivateLinkResourceName": "testResource"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"name": "testResource",
13+
"type": "Microsoft.Search/searchServices/sharedPrivateLinkResources",
14+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/sharedPrivateLinkResources/testResource",
15+
"properties": {
16+
"requestMessage": "please approve",
17+
"groupId": "blob",
18+
"privateLinkResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName",
19+
"status": "Pending",
20+
"resourceRegion": null
21+
}
22+
}
23+
}
24+
}
25+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"searchServiceName": "mysearchservice",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-09-01",
6+
"subscriptionId": "subid"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/privateEndpointConnections/testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
14+
"name": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
15+
"type": "Microsoft.Search/searchServices/privateEndpointConnections",
16+
"properties": {
17+
"privateEndpoint": {
18+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testEndpoint"
19+
},
20+
"privateLinkServiceConnectionState": {
21+
"status": "Approved",
22+
"description": "",
23+
"actionsRequired": "None"
24+
}
25+
}
26+
}
27+
]
28+
}
29+
}
30+
}
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"searchServiceName": "mysearchservice",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-09-01",
6+
"subscriptionId": "subid"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"name": "testResource",
14+
"type": "Microsoft.Search/searchServices/sharedPrivateLinkResources",
15+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/sharedPrivateLinkResources/testResource",
16+
"properties": {
17+
"requestMessage": "please approve",
18+
"groupId": "blob",
19+
"privateLinkResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName",
20+
"status": "Pending",
21+
"resourceRegion": null
22+
}
23+
}
24+
]
25+
}
26+
}
27+
}
28+
}
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
"parameters": {
3+
"searchServiceName": "mysearchservice",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-09-01",
6+
"subscriptionId": "subid"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/privateLinkResources/searchService",
14+
"name": "searchService",
15+
"type": "Microsoft.Search/searchServices/privateLinkResources",
16+
"properties": {
17+
"groupId": "searchService",
18+
"requiredMembers": [
19+
"searchService"
20+
],
21+
"requiredZoneNames": [
22+
"privatelink.search.windows.net"
23+
],
24+
"shareablePrivateLinkResourceTypes": [
25+
{
26+
"name": "blob",
27+
"properties": {
28+
"type": "Microsoft.Storage/storageAccounts",
29+
"groupId": "blob",
30+
"description": "Azure Cognitive Search indexers can connect to blobs in Azure Storage for reading data (data source), for writing intermediate results of indexer execution (annotation cache, preview) or for storing any knowledge store projections (preview)"
31+
}
32+
},
33+
{
34+
"name": "table",
35+
"properties": {
36+
"type": "Microsoft.Storage/storageAccounts",
37+
"groupId": "table",
38+
"description": "Azure Cognitive Search indexers can connect to tables in Azure Storage for reading data (data source), for writing book-keeping information about intermediate results of indexer execution (annotation cache, preview) or for storing any knowledge store projections (preview)"
39+
}
40+
},
41+
{
42+
"name": "Sql",
43+
"properties": {
44+
"type": "Microsoft.DocumentDB/databaseAccounts",
45+
"groupId": "Sql",
46+
"description": "Azure Cognitive Search indexers can connect to CosmosDB using the SQL head for reading data (data source)."
47+
}
48+
},
49+
{
50+
"name": "plr",
51+
"properties": {
52+
"type": "Microsoft.Sql/servers",
53+
"groupId": "sqlServer",
54+
"description": "Azure Cognitive Search indexers can connect to AzureSQL databases in a SQL server for reading data (data source)."
55+
}
56+
},
57+
{
58+
"name": "vault",
59+
"properties": {
60+
"type": "Microsoft.KeyVault/vaults",
61+
"groupId": "vault",
62+
"description": "Azure Cognitive Search can access keys in Azure Key Vault to encrypt search index and synonym map data"
63+
}
64+
},
65+
{
66+
"name": "plr",
67+
"properties": {
68+
"type": "Microsoft.DBforMySQL/servers",
69+
"groupId": "mysqlServer",
70+
"description": "Azure Cognitive Search indexers can connect to MySQL databases for reading data (data source, preview)."
71+
}
72+
},
73+
{
74+
"name": "site",
75+
"properties": {
76+
"type": "Microsoft.Web/sites",
77+
"groupId": "sites",
78+
"description": "Azure Cognitive Search indexers can connect to App Services when executing custom web api skills that can be present in a skillset (optional) attached to the indexer."
79+
}
80+
}
81+
]
82+
}
83+
}
84+
]
85+
}
86+
}
87+
}
88+
}

0 commit comments

Comments
 (0)