addAzureLogAnalyticsWorkspace
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addAzureLogAnalyticsWorkspace(name: string): AzureLogAnalyticsWorkspaceResource;}Signature
method
addAzureLogAnalyticsWorkspace builderAdds an Azure Log Analytics Workspace resource to the application model.
addAzureLogAnalyticsWorkspace(name: string): AzureLogAnalyticsWorkspaceResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.Returns
AzureLogAnalyticsWorkspaceResource Applies to
This method applies to the following types: