共用方式為


SearchServiceResource.GetSupportedPrivateLinkResourcesAsync Method

Definition

Gets a list of all supported private link resource types for the given service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateLinkResources
  • Operation Id: PrivateLinkResources_ListSupported
  • Default Api Version: 2024-03-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.Search.Models.SearchPrivateLinkResource> GetSupportedPrivateLinkResourcesAsync (Azure.ResourceManager.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSupportedPrivateLinkResourcesAsync : Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Search.Models.SearchPrivateLinkResource>
override this.GetSupportedPrivateLinkResourcesAsync : Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Search.Models.SearchPrivateLinkResource>
Public Overridable Function GetSupportedPrivateLinkResourcesAsync (Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SearchPrivateLinkResource)

Parameters

searchManagementRequestOptions
SearchManagementRequestOptions

Parameter group.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SearchPrivateLinkResource that may take multiple service requests to iterate over.

Applies to