Class WorkspaceInfo
java.lang.Object
com.microsoft.azure.management.monitor.WorkspaceInfo
Information about a Log Analytics Workspace.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet log Analytics workspace identifier.id()
Get azure Resource Manager identifier of the Log Analytics Workspace.location()
Get location of the Log Analytics workspace.withCustomerId
(String customerId) Set log Analytics workspace identifier.Set azure Resource Manager identifier of the Log Analytics Workspace.withLocation
(String location) Set location of the Log Analytics workspace.
-
Constructor Details
-
WorkspaceInfo
public WorkspaceInfo()
-
-
Method Details
-
id
Get azure Resource Manager identifier of the Log Analytics Workspace.- Returns:
- the id value
-
withId
Set azure Resource Manager identifier of the Log Analytics Workspace.- Parameters:
id
- the id value to set- Returns:
- the WorkspaceInfo object itself.
-
location
Get location of the Log Analytics workspace.- Returns:
- the location value
-
withLocation
Set location of the Log Analytics workspace.- Parameters:
location
- the location value to set- Returns:
- the WorkspaceInfo object itself.
-
customerId
Get log Analytics workspace identifier.- Returns:
- the customerId value
-
withCustomerId
Set log Analytics workspace identifier.- Parameters:
customerId
- the customerId value to set- Returns:
- the WorkspaceInfo object itself.
-