Class WorkspaceInfo
java.lang.Object
com.azure.resourcemanager.monitor.models.WorkspaceInfo
Information about a Log Analytics Workspace.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the customerId property: Log Analytics workspace identifier.id()Get the id property: Azure Resource Manager identifier of the Log Analytics Workspace.location()Get the location property: Location of the Log Analytics workspace.voidvalidate()Validates the instance.withCustomerId(String customerId) Set the customerId property: Log Analytics workspace identifier.Set the id property: Azure Resource Manager identifier of the Log Analytics Workspace.withLocation(String location) Set the location property: Location of the Log Analytics workspace.
-
Constructor Details
-
WorkspaceInfo
public WorkspaceInfo()Creates an instance of WorkspaceInfo class.
-
-
Method Details
-
id
Get the id property: Azure Resource Manager identifier of the Log Analytics Workspace.- Returns:
- the id value.
-
withId
Set the id property: Azure Resource Manager identifier of the Log Analytics Workspace.- Parameters:
id- the id value to set.- Returns:
- the WorkspaceInfo object itself.
-
location
Get the location property: Location of the Log Analytics workspace.- Returns:
- the location value.
-
withLocation
Set the location property: Location of the Log Analytics workspace.- Parameters:
location- the location value to set.- Returns:
- the WorkspaceInfo object itself.
-
customerId
Get the customerId property: Log Analytics workspace identifier.- Returns:
- the customerId value.
-
withCustomerId
Set the customerId property: Log Analytics workspace identifier.- Parameters:
customerId- the customerId value to set.- Returns:
- the WorkspaceInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-