LogAnalyticsIdentifier Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. ResourceIdentifier - com.
azure. resourcemanager. security. models. LogAnalyticsIdentifier
- com.
- com.
public final class LogAnalyticsIdentifier
extends ResourceIdentifier
Represents a Log Analytics workspace scope identifier.
Constructor Summary
Constructor | Description |
---|---|
LogAnalyticsIdentifier() |
Creates an instance of Log |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
agentId()
Get the agent |
void |
validate()
Validates the instance. |
String |
workspaceId()
Get the workspace |
String |
workspaceResourceGroup()
Get the workspace |
String |
workspaceSubscriptionId()
Get the workspace |
Methods inherited from ResourceIdentifier
Methods inherited from java.lang.Object
Constructor Details
LogAnalyticsIdentifier
public LogAnalyticsIdentifier()
Creates an instance of LogAnalyticsIdentifier class.
Method Details
agentId
public String agentId()
Get the agentId property: (optional) The LogAnalytics agent id reporting the event that this alert is based on.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
LogAnalyticsIdentifier.validate()workspaceId
public String workspaceId()
Get the workspaceId property: The LogAnalytics workspace id that stores this alert.
Returns:
workspaceResourceGroup
public String workspaceResourceGroup()
Get the workspaceResourceGroup property: The azure resource group for the LogAnalytics workspace storing this alert.
Returns:
workspaceSubscriptionId
public String workspaceSubscriptionId()
Get the workspaceSubscriptionId property: The azure subscription id for the LogAnalytics workspace storing this alert.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for