简体   繁体   中英

Is there any api available to get all resources in particular log analytics workspace using workspace id

powershell :

dataSources = Get-AzOperationalInsightsDataSource -Workspace $workspace -Kind AzureActivityLog

to list the resources. is there any equivalent azure api are available?

The equivalent api is Data Sources - List By Workspace .

You can nav to the link to find more details of it's usage.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM