AzureMonitorWorkspaceIntegration Class

  • java.lang.Object
    • com.azure.resourcemanager.dashboard.models.AzureMonitorWorkspaceIntegration

Implements

public final class AzureMonitorWorkspaceIntegration
implements JsonSerializable<AzureMonitorWorkspaceIntegration>

Integrations for Azure Monitor Workspace.

Constructor Summary

Constructor Description
AzureMonitorWorkspaceIntegration()

Creates an instance of AzureMonitorWorkspaceIntegration class.

Method Summary

Modifier and Type Method and Description
String azureMonitorWorkspaceResourceId()

Get the azureMonitorWorkspaceResourceId property: The resource Id of the connected Azure Monitor Workspace.

static AzureMonitorWorkspaceIntegration fromJson(JsonReader jsonReader)

Reads an instance of AzureMonitorWorkspaceIntegration from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
AzureMonitorWorkspaceIntegration withAzureMonitorWorkspaceResourceId(String azureMonitorWorkspaceResourceId)

Set the azureMonitorWorkspaceResourceId property: The resource Id of the connected Azure Monitor Workspace.

Methods inherited from java.lang.Object

Constructor Details

AzureMonitorWorkspaceIntegration

public AzureMonitorWorkspaceIntegration()

Creates an instance of AzureMonitorWorkspaceIntegration class.

Method Details

azureMonitorWorkspaceResourceId

public String azureMonitorWorkspaceResourceId()

Get the azureMonitorWorkspaceResourceId property: The resource Id of the connected Azure Monitor Workspace.

Returns:

the azureMonitorWorkspaceResourceId value.

fromJson

public static AzureMonitorWorkspaceIntegration fromJson(JsonReader jsonReader)

Reads an instance of AzureMonitorWorkspaceIntegration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withAzureMonitorWorkspaceResourceId

public AzureMonitorWorkspaceIntegration withAzureMonitorWorkspaceResourceId(String azureMonitorWorkspaceResourceId)

Set the azureMonitorWorkspaceResourceId property: The resource Id of the connected Azure Monitor Workspace.

Parameters:

azureMonitorWorkspaceResourceId - the azureMonitorWorkspaceResourceId value to set.

Returns:

the AzureMonitorWorkspaceIntegration object itself.

Applies to