Share via


SearchExtensions.GetOfferings(TenantResource, CancellationToken) Method

Definition

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
<item>MockingTo mock this method, please mock GetOfferings(CancellationToken) instead.</item>
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.

Applies to