SearchExtensions.GetOfferings(TenantResource, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists all of the features and SKUs offered by the Azure AI Search service in each region.
- Request Path: /providers/Microsoft.Search/offerings
- Operation Id: Offerings_List
- Default Api Version: 2025-02-01-preview
public static Azure.Pageable<Azure.ResourceManager.Search.Models.SearchServiceOfferingsByRegion> GetOfferings(this Azure.ResourceManager.Resources.TenantResource tenantResource, System.Threading.CancellationToken cancellationToken = default);
static member GetOfferings : Azure.ResourceManager.Resources.TenantResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Search.Models.SearchServiceOfferingsByRegion>
<Extension()>
Public Function GetOfferings (tenantResource As TenantResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SearchServiceOfferingsByRegion)
Parameters
- tenantResource
- TenantResource
The TenantResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of SearchServiceOfferingsByRegion that may take multiple service requests to iterate over.
Exceptions
tenantResource
is null.