Compartir a través de


ConnectionMonitorWorkspaceSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ConnectionMonitorWorkspaceSettings

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 ConnectionMonitorWorkspaceSettings class.

Method Summary

Modifier and Type Method and Description
static ConnectionMonitorWorkspaceSettings fromJson(JsonReader jsonReader)

Reads an instance of ConnectionMonitorWorkspaceSettings from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConnectionMonitorWorkspaceSettings withWorkspaceResourceId(String workspaceResourceId)

Set the workspaceResourceId property: Log analytics workspace resource ID.

String workspaceResourceId()

Get the workspaceResourceId property: Log analytics workspace resource ID.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of ConnectionMonitorWorkspaceSettings 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 ConnectionMonitorWorkspaceSettings.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withWorkspaceResourceId

public ConnectionMonitorWorkspaceSettings withWorkspaceResourceId(String workspaceResourceId)

Set the workspaceResourceId property: Log analytics workspace resource ID.

Parameters:

workspaceResourceId - the workspaceResourceId value to set.

Returns:

the ConnectionMonitorWorkspaceSettings object itself.

workspaceResourceId

public String workspaceResourceId()

Get the workspaceResourceId property: Log analytics workspace resource ID.

Returns:

the workspaceResourceId value.

Applies to