Class AssociatedWorkspace
java.lang.Object
com.azure.resourcemanager.loganalytics.models.AssociatedWorkspace
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AssociatedWorkspace>
public final class AssociatedWorkspace
extends Object
implements com.azure.json.JsonSerializable<AssociatedWorkspace>
The list of Log Analytics workspaces associated with the cluster.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the associateDate property: The time of workspace association.static AssociatedWorkspacefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AssociatedWorkspace from the JsonReader.Get the resourceId property: Associated workspace arm resource id, in the form of: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the workspaceId property: Associated workspace immutable id.Get the workspaceName property: Associated workspace resource name.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AssociatedWorkspace
public AssociatedWorkspace()Creates an instance of AssociatedWorkspace class.
-
-
Method Details
-
workspaceId
Get the workspaceId property: Associated workspace immutable id.- Returns:
- the workspaceId value.
-
workspaceName
Get the workspaceName property: Associated workspace resource name.- Returns:
- the workspaceName value.
-
resourceId
Get the resourceId property: Associated workspace arm resource id, in the form of: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}.- Returns:
- the resourceId value.
-
associateDate
Get the associateDate property: The time of workspace association.- Returns:
- the associateDate value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AssociatedWorkspace>- Throws:
IOException
-
fromJson
Reads an instance of AssociatedWorkspace from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AssociatedWorkspace if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the AssociatedWorkspace.
-