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