Share via


ApiManagementServiceResource.GetPortalSettingsAsync(CancellationToken) Method

Definition

Lists a collection of portalsettings defined within a service instance..

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings
  • Operation Id: PortalSettings_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementServiceResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.PortalSettingsContractData> GetPortalSettingsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPortalSettingsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.PortalSettingsContractData>
override this.GetPortalSettingsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.Models.PortalSettingsContractData>
Public Overridable Function GetPortalSettingsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PortalSettingsContractData)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to