ConnectionMonitorOutput Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ConnectionMonitorOutput
- com.
Implements
public final class ConnectionMonitorOutput
implements JsonSerializable<ConnectionMonitorOutput>
Describes a connection monitor output destination.
Constructor Summary
Constructor | Description |
---|---|
ConnectionMonitorOutput() |
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) |
Output |
type()
Get the type property: Connection monitor output destination type. |
void |
validate()
Validates the instance. |
Connection |
withType(OutputType type)
Set the type property: Connection monitor output destination type. |
Connection |
withWorkspaceSettings(ConnectionMonitorWorkspaceSettings workspaceSettings)
Set the workspace |
Connection |
workspaceSettings()
Get the 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:
Returns:
Throws:
toJson
type
public OutputType type()
Get the type property: Connection monitor output destination type. Currently, only "Workspace" is supported.
Returns:
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:
Returns:
withWorkspaceSettings
public ConnectionMonitorOutput withWorkspaceSettings(ConnectionMonitorWorkspaceSettings workspaceSettings)
Set the workspaceSettings property: Describes the settings for producing output into a log analytics workspace.
Parameters:
Returns:
workspaceSettings
public ConnectionMonitorWorkspaceSettings workspaceSettings()
Get the workspaceSettings property: Describes the settings for producing output into a log analytics workspace.
Returns:
Applies to
Azure SDK for Java