MockableProviderHubSubscriptionResource.GetProviderMonitorSettingsAsync Method

Definition

Gets the list of the provider monitor settings in the subscription.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.ProviderHub/providerMonitorSettings.
  • Operation Id. : ProviderMonitorSettings_ListBySubscription.
  • Default Api Version. : 2024-09-01.
public virtual Azure.AsyncPageable<Azure.ResourceManager.ProviderHub.ProviderMonitorSettingResource> GetProviderMonitorSettingsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetProviderMonitorSettingsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ProviderHub.ProviderMonitorSettingResource>
override this.GetProviderMonitorSettingsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ProviderHub.ProviderMonitorSettingResource>
Public Overridable Function GetProviderMonitorSettingsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ProviderMonitorSettingResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to