ArmMonitorModelFactory.LogAnalyticsDestination 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.
Initializes a new instance of LogAnalyticsDestination.
public static Azure.ResourceManager.Monitor.Models.LogAnalyticsDestination LogAnalyticsDestination (Azure.Core.ResourceIdentifier workspaceResourceId = default, string workspaceId = default, string name = default);
static member LogAnalyticsDestination : Azure.Core.ResourceIdentifier * string * string -> Azure.ResourceManager.Monitor.Models.LogAnalyticsDestination
Public Shared Function LogAnalyticsDestination (Optional workspaceResourceId As ResourceIdentifier = Nothing, Optional workspaceId As String = Nothing, Optional name As String = Nothing) As LogAnalyticsDestination
Parameters
- workspaceResourceId
- ResourceIdentifier
The resource ID of the Log Analytics workspace.
- workspaceId
- String
The Customer ID of the Log Analytics workspace.
- name
- String
A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule.
Returns
A new LogAnalyticsDestination instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET