MockableProviderHubSubscriptionResource.GetProviderMonitorSettingsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Resource: ProviderMonitorSettingResource
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
An async collection of ProviderMonitorSettingResource that may take multiple service requests to iterate over.