ConnectionMonitorWorkspaceSettings Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ConnectionMonitorWorkspaceSettings
- com.
Implements
public final class ConnectionMonitorWorkspaceSettings
implements JsonSerializable<ConnectionMonitorWorkspaceSettings>
Describes the settings for producing output into a log analytics workspace.
Constructor Summary
Constructor | Description |
---|---|
ConnectionMonitorWorkspaceSettings() |
Creates an instance of Connection |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Connection |
withWorkspaceResourceId(String workspaceResourceId)
Set the workspace |
String |
workspaceResourceId()
Get the workspace |
Methods inherited from java.lang.Object
Constructor Details
ConnectionMonitorWorkspaceSettings
public ConnectionMonitorWorkspaceSettings()
Creates an instance of ConnectionMonitorWorkspaceSettings class.
Method Details
fromJson
public static ConnectionMonitorWorkspaceSettings fromJson(JsonReader jsonReader)
Reads an instance of ConnectionMonitorWorkspaceSettings from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withWorkspaceResourceId
public ConnectionMonitorWorkspaceSettings withWorkspaceResourceId(String workspaceResourceId)
Set the workspaceResourceId property: Log analytics workspace resource ID.
Parameters:
Returns:
workspaceResourceId
public String workspaceResourceId()
Get the workspaceResourceId property: Log analytics workspace resource ID.
Returns:
Applies to
Azure SDK for Java