ConnectedWorkspace Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.ConnectedWorkspace

Implements

public final class ConnectedWorkspace
implements JsonSerializable<ConnectedWorkspace>

Represents an OMS workspace to which the solution is connected.

Method Summary

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

Reads an instance of ConnectedWorkspace from the JsonReader.

String id()

Get the id property: Azure resource ID of the connected OMS workspace.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ConnectedWorkspace fromJson(JsonReader jsonReader)

Reads an instance of ConnectedWorkspace from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Azure resource ID of the connected OMS workspace.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to