Compartir a través de


ConnectionMonitorOutput Class

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

Implements

public final class ConnectionMonitorOutput
implements JsonSerializable<ConnectionMonitorOutput>

Describes a connection monitor output destination.

Constructor Summary

Constructor Description
ConnectionMonitorOutput()

Creates an instance of ConnectionMonitorOutput class.

Method Summary

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

Reads an instance of ConnectionMonitorOutput from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
OutputType type()

Get the type property: Connection monitor output destination type.

void validate()

Validates the instance.

ConnectionMonitorOutput withType(OutputType type)

Set the type property: Connection monitor output destination type.

ConnectionMonitorOutput withWorkspaceSettings(ConnectionMonitorWorkspaceSettings workspaceSettings)

Set the workspaceSettings property: Describes the settings for producing output into a log analytics workspace.

ConnectionMonitorWorkspaceSettings workspaceSettings()

Get the workspaceSettings property: Describes the settings for producing output into a log analytics workspace.

Methods inherited from java.lang.Object

Constructor Details

ConnectionMonitorOutput

public ConnectionMonitorOutput()

Creates an instance of ConnectionMonitorOutput class.

Method Details

fromJson

public static ConnectionMonitorOutput fromJson(JsonReader jsonReader)

Reads an instance of ConnectionMonitorOutput from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public OutputType type()

Get the type property: Connection monitor output destination type. Currently, only "Workspace" is supported.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withType

public ConnectionMonitorOutput withType(OutputType type)

Set the type property: Connection monitor output destination type. Currently, only "Workspace" is supported.

Parameters:

type - the type value to set.

Returns:

the ConnectionMonitorOutput object itself.

withWorkspaceSettings

public ConnectionMonitorOutput withWorkspaceSettings(ConnectionMonitorWorkspaceSettings workspaceSettings)

Set the workspaceSettings property: Describes the settings for producing output into a log analytics workspace.

Parameters:

workspaceSettings - the workspaceSettings value to set.

Returns:

the ConnectionMonitorOutput object itself.

workspaceSettings

public ConnectionMonitorWorkspaceSettings workspaceSettings()

Get the workspaceSettings property: Describes the settings for producing output into a log analytics workspace.

Returns:

the workspaceSettings value.

Applies to