共用方式為


ApiManagementServiceResource.GetPortalSettings(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.Pageable<Azure.ResourceManager.ApiManagement.Models.PortalSettingsContractData> GetPortalSettings (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPortalSettings : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.Models.PortalSettingsContractData>
override this.GetPortalSettings : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApiManagement.Models.PortalSettingsContractData>
Public Overridable Function GetPortalSettings (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PortalSettingsContractData)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to