-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Azure Search Management Plane 2025-02-01-preview (#31991)
* Copy files from preview/2024-06-01-preview Copied the files in a separate commit. This allows reviewers to easily diff subsequent changes against the previous spec. * Update version to preview/2025-02-01-preview Updated the API version from preview/2024-06-01-preview to preview/2025-02-01-preview. * Added tag for 2025-02-01-preview in readme file * Swagger prettier fixes * Swagger prettier fixes * Add new properties for service upgrade * Add upgrade properties to examples * Add example for service upgrade * Add service upgrade enpoint * Swagger prettier changes * Fix typo * Add computeType to search contract. * Fix formatting for prettier. * Address PR feedback. * Update swagger. * Add Feature by region changes * Add endpoint support feature * Use common systemData properties * fix typo * Added fields to Features by region feature * Update to have 400 aligned with other operations * Fixing CI build errors * Fixed CI builds * Fix JSON * Fix LintDiff * Added example for update sku * Prettier fix and avocado fix. Update example to use systemdata * Renamed features to resource availability * Add default region in resource availability * Remove compute type example * Fix ResourceAvailabilities typo * remove isDefaultRegion * SDK generation bug fix * Service upgrade uses LRO, rename FeatureAvailabilities * Model Feature Availability as enum * Updated to align example with swagger definition * add serviceUpgradeDate property to searchServiceProperties * update examples with the serviceUpgradedDate property * fix a Typo in the name of the property * Change name to offering * Update example file name for offering * Add long-running-operation pattern to upgrade path. * prettier fix * Some more prettier fix * Search.json swagger prettier --------- Co-authored-by: efrainretana <[email protected]> Co-authored-by: Leonardo Galindo Sánchez <[email protected]> Co-authored-by: Jacob Hill <[email protected]> Co-authored-by: efrainretana <[email protected]> Co-authored-by: marcop <[email protected]> Co-authored-by: Kuan Lu <[email protected]>
- Loading branch information
1 parent
a8c0444
commit a682ad9
Showing
50 changed files
with
7,474 additions
and
1 deletion.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
...t.Search/preview/2025-02-01-preview/examples/CreateOrUpdateSharedPrivateLinkResource.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...Microsoft.Search/preview/2025-02-01-preview/examples/DeletePrivateEndpointConnection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...Microsoft.Search/preview/2025-02-01-preview/examples/DeleteSharedPrivateLinkResource.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...er/Microsoft.Search/preview/2025-02-01-preview/examples/GetPrivateEndpointConnection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
.../resource-manager/Microsoft.Search/preview/2025-02-01-preview/examples/GetQuotaUsage.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
86 changes: 86 additions & 0 deletions
86
...urce-manager/Microsoft.Search/preview/2025-02-01-preview/examples/GetQuotaUsagesList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...er/Microsoft.Search/preview/2025-02-01-preview/examples/GetSharedPrivateLinkResource.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...t.Search/preview/2025-02-01-preview/examples/ListPrivateEndpointConnectionsByService.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...t.Search/preview/2025-02-01-preview/examples/ListSharedPrivateLinkResourcesByService.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.