AzureMonitorLogsClient.ListSubscriptionsAsync(CancellationToken) 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.
List subscriptions
public virtual Azure.AsyncPageable<Azure.Connectors.Sdk.AzureMonitorLogs.Models.Subscription> ListSubscriptionsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member ListSubscriptionsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Connectors.Sdk.AzureMonitorLogs.Models.Subscription>
override this.ListSubscriptionsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Connectors.Sdk.AzureMonitorLogs.Models.Subscription>
Public Overridable Function ListSubscriptionsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of Subscription)
Parameters
- cancellationToken
- CancellationToken
Cancellation token.
Returns
An async enumerable of Subscription items across all pages.
Remarks
Discovery method used to populate dynamic parameter values at design time.