Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Search Management Plane 2025-02-01-preview #31991

Merged
merged 57 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
eff5263
Copy files from preview/2024-06-01-preview
efrainretana Nov 27, 2024
93c4204
Update version to preview/2025-02-01-preview
efrainretana Nov 27, 2024
b56d184
Added tag for 2025-02-01-preview in readme file
efrainretana Nov 27, 2024
4920ba6
Swagger prettier fixes
efrainretana Nov 27, 2024
f38b297
Swagger prettier fixes
efrainretana Nov 27, 2024
5211749
Add new properties for service upgrade
Dec 9, 2024
b2a4fe5
Add upgrade properties to examples
Dec 9, 2024
49c38b1
Add example for service upgrade
Dec 9, 2024
1c3f28e
Add service upgrade enpoint
Dec 9, 2024
9cc5026
Swagger prettier changes
Dec 11, 2024
992937c
Fix typo
Dec 11, 2024
1d4705e
Add computeType to search contract.
Dec 12, 2024
1ac4e29
Fix formatting for prettier.
Dec 12, 2024
d69ba8a
Address PR feedback.
Dec 12, 2024
95d266e
Update swagger.
Dec 13, 2024
72e859c
Merge branch 'main' into efrainretana/2025-02-01-preview
efrainretana Dec 16, 2024
ffb473c
Add Feature by region changes
efrainretana Dec 18, 2024
c37cd44
Add endpoint support feature
efrainretana Dec 18, 2024
c407601
Use common systemData properties
marcopiuma Dec 19, 2024
03dda0a
fix typo
marcopiuma Dec 20, 2024
d86c9dc
Merge branch 'tjacobhi/search-2025-02-cc' into efrainretana/2025-02-0…
kualu-msft Dec 30, 2024
84bcfdb
Added fields to Features by region feature
kualu-msft Dec 30, 2024
b954b7d
Merge branch 'leonardogal/2025-02-01-preview/service-upgrade' into ku…
kualu-msft Dec 31, 2024
d740ddc
Merge branch 'main' into kualu/2025-02-01-preview-changes
kuanlu95 Jan 3, 2025
342b3f7
Update to have 400 aligned with other operations
kuanlu95 Jan 3, 2025
9f15686
Fixing CI build errors
kualu-msft Jan 3, 2025
f0d7bab
Fixed CI builds
kualu-msft Jan 3, 2025
baedf1f
Fix JSON
kualu-msft Jan 3, 2025
4d42234
Fix LintDiff
kualu-msft Jan 6, 2025
15d67e4
Added example for update sku
kualu-msft Jan 6, 2025
be5bede
Prettier fix and avocado fix. Update example to use systemdata
efrainretana Jan 8, 2025
a262da9
Renamed features to resource availability
kualu-msft Jan 9, 2025
9390140
Add default region in resource availability
kualu-msft Jan 9, 2025
34dea69
Remove compute type example
efrainretana Jan 9, 2025
2908a39
Fix ResourceAvailabilities typo
efrainretana Jan 9, 2025
ef29676
Merge branch 'main' into kualu/2025-02-01-preview
efrainretana Jan 9, 2025
5e19cab
remove isDefaultRegion
kualu-msft Jan 9, 2025
4f77f38
Merge branch 'kualu/2025-02-01-preview' of https://github.com/lucas95…
kualu-msft Jan 9, 2025
cddd8fa
SDK generation bug fix
efrainretana Jan 13, 2025
a46f1b9
Merge branch 'main' into kualu/2025-02-01-preview
efrainretana Jan 13, 2025
339f35e
Merge branch 'main' into kualu/2025-02-01-preview
kuanlu95 Jan 15, 2025
d4c5f8b
Merge branch 'main' into kualu/2025-02-01-preview
efrainretana Jan 15, 2025
c440330
Service upgrade uses LRO, rename FeatureAvailabilities
efrainretana Jan 15, 2025
9bd0ff2
Model Feature Availability as enum
kualu-msft Jan 15, 2025
834dc59
Updated to align example with swagger definition
kualu-msft Jan 15, 2025
0195fa8
Merge branch 'main' into kualu/2025-02-01-preview
kuanlu95 Jan 15, 2025
6852f00
add serviceUpgradeDate property to searchServiceProperties
marcopiuma Jan 15, 2025
17e3b41
update examples with the serviceUpgradedDate property
marcopiuma Jan 16, 2025
8013d1a
fix a Typo in the name of the property
marcopiuma Jan 16, 2025
99a51c1
Change name to offering
kualu-msft Jan 16, 2025
03101c7
Update example file name for offering
kualu-msft Jan 16, 2025
1d8ebb3
Add long-running-operation pattern to upgrade path.
marcopiuma Jan 16, 2025
62999ea
Merge pull request #1 from kuanlu95/marcop/2025-02-01-preview-service…
kuanlu95 Jan 16, 2025
67db2b8
prettier fix
kualu-msft Jan 16, 2025
6b6ce77
Some more prettier fix
kualu-msft Jan 16, 2025
83e9171
Search.json swagger prettier
efrainretana Jan 16, 2025
5af4492
Merge branch 'main' into kualu/2025-02-01-preview
efrainretana Jan 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters": {
"searchServiceName": "mysearchservice",
"resourceGroupName": "rg1",
"api-version": "2025-02-01-preview",
"subscriptionId": "subid",
"sharedPrivateLinkResourceName": "testResource",
"sharedPrivateLinkResource": {
"properties": {
"requestMessage": "please approve",
"groupId": "blob",
"privateLinkResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName",
"resourceRegion": null
}
}
},
"responses": {
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchService/sharedPrivateLinkResources/testResource/operationStatuses/08586060559526078782?api-version=2025-02-01-preview",
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchService/sharedPrivateLinkResources/testResource/operationStatuses/08586060559526078782?api-version=2025-02-01-preview"
}
},
"200": {
"body": {
"name": "testResource",
"type": "Microsoft.Search/searchServices/sharedPrivateLinkResources",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/sharedPrivateLinkResources/testResource",
"properties": {
"requestMessage": "please approve",
"groupId": "blob",
"privateLinkResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName",
"status": "Pending",
"resourceRegion": null
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"searchServiceName": "mysearchservice",
"resourceGroupName": "rg1",
"api-version": "2025-02-01-preview",
"subscriptionId": "subid",
"privateEndpointConnectionName": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/privateEndpointConnections/testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
"name": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
"type": "Microsoft.Search/searchServices/privateEndpointConnections",
"properties": {
"privateEndpoint": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Disconnected",
"description": "",
"actionsRequired": "None"
}
}
}
},
"404": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"searchServiceName": "mysearchservice",
"resourceGroupName": "rg1",
"api-version": "2025-02-01-preview",
"subscriptionId": "subid",
"sharedPrivateLinkResourceName": "testResource"
},
"responses": {
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/sharedPrivateLinkResources/testResource/operationStatuses/159c5e07-c829-4896-8aba-a1d4fcc7c89c?api-version=2025-02-01-preview",
"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=2025-02-01-preview"
}
},
"204": {},
"404": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"searchServiceName": "mysearchservice",
"resourceGroupName": "rg1",
"api-version": "2025-02-01-preview",
"subscriptionId": "subid",
"privateEndpointConnectionName": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/privateEndpointConnections/testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
"name": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
"type": "Microsoft.Search/searchServices/privateEndpointConnections",
"properties": {
"privateEndpoint": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "",
"actionsRequired": "None"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"location": "westus",
"api-version": "2025-02-01-preview",
"subscriptionId": "subid",
"skuName": "free"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/{skuName}",
"unit": "Count",
"currentValue": 8,
"limit": 16,
"name": {
"value": "free",
"localizedValue": "F - Free"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"parameters": {
"location": "westus",
"api-version": "2025-02-01-preview",
"subscriptionId": "subid"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/free",
"unit": "Count",
"currentValue": 8,
"limit": 16,
"name": {
"value": "free",
"localizedValue": "F - Free"
}
},
{
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/basic",
"unit": "Count",
"currentValue": 8,
"limit": 16,
"name": {
"value": "basic",
"localizedValue": "B - Basic"
}
},
{
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/standard",
"unit": "Count",
"currentValue": 8,
"limit": 16,
"name": {
"value": "standard",
"localizedValue": "S - Standard"
}
},
{
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/standard2",
"unit": "Count",
"currentValue": 8,
"limit": 16,
"name": {
"value": "standard2",
"localizedValue": "S2 - Standard2"
}
},
{
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/standard3",
"unit": "Count",
"currentValue": 8,
"limit": 16,
"name": {
"value": "standard3",
"localizedValue": "S3 - Standard3"
}
},
{
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/storageOptimizedL1",
"unit": "Count",
"currentValue": 8,
"limit": 16,
"name": {
"value": "storageOptimizedL1",
"localizedValue": "L1 - Storage Optimized"
}
},
{
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/storageOptimizedL2",
"unit": "Count",
"currentValue": 8,
"limit": 16,
"name": {
"value": "storageOptimizedL2",
"localizedValue": "L2 - Storage Optimized"
}
}
],
"nextLink": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"searchServiceName": "mysearchservice",
"resourceGroupName": "rg1",
"api-version": "2025-02-01-preview",
"subscriptionId": "subid",
"sharedPrivateLinkResourceName": "testResource"
},
"responses": {
"200": {
"body": {
"name": "testResource",
"type": "Microsoft.Search/searchServices/sharedPrivateLinkResources",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/sharedPrivateLinkResources/testResource",
"properties": {
"requestMessage": "please approve",
"groupId": "blob",
"privateLinkResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName",
"status": "Pending",
"resourceRegion": null
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"searchServiceName": "mysearchservice",
"resourceGroupName": "rg1",
"api-version": "2025-02-01-preview",
"subscriptionId": "subid"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/privateEndpointConnections/testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
"name": "testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546",
"type": "Microsoft.Search/searchServices/privateEndpointConnections",
"properties": {
"privateEndpoint": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "",
"actionsRequired": "None"
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"searchServiceName": "mysearchservice",
"resourceGroupName": "rg1",
"api-version": "2025-02-01-preview",
"subscriptionId": "subid"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "testResource",
"type": "Microsoft.Search/searchServices/sharedPrivateLinkResources",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice/sharedPrivateLinkResources/testResource",
"properties": {
"requestMessage": "please approve",
"groupId": "blob",
"privateLinkResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName",
"status": "Pending",
"resourceRegion": null
}
}
]
}
}
}
}
Loading
Loading