FirewallPolicyLogAnalyticsResources Class

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

Implements

public final class FirewallPolicyLogAnalyticsResources
implements JsonSerializable<FirewallPolicyLogAnalyticsResources>

Log Analytics Resources for Firewall Policy Insights.

Constructor Summary

Constructor Description
FirewallPolicyLogAnalyticsResources()

Creates an instance of FirewallPolicyLogAnalyticsResources class.

Method Summary

Modifier and Type Method and Description
SubResource defaultWorkspaceId()

Get the defaultWorkspaceId property: The default workspace Id for Firewall Policy Insights.

static FirewallPolicyLogAnalyticsResources fromJson(JsonReader jsonReader)

Reads an instance of FirewallPolicyLogAnalyticsResources from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FirewallPolicyLogAnalyticsResources withDefaultWorkspaceId(SubResource defaultWorkspaceId)

Set the defaultWorkspaceId property: The default workspace Id for Firewall Policy Insights.

FirewallPolicyLogAnalyticsResources withWorkspaces(List<FirewallPolicyLogAnalyticsWorkspace> workspaces)

Set the workspaces property: List of workspaces for Firewall Policy Insights.

List<FirewallPolicyLogAnalyticsWorkspace> workspaces()

Get the workspaces property: List of workspaces for Firewall Policy Insights.

Methods inherited from java.lang.Object

Constructor Details

FirewallPolicyLogAnalyticsResources

public FirewallPolicyLogAnalyticsResources()

Creates an instance of FirewallPolicyLogAnalyticsResources class.

Method Details

defaultWorkspaceId

public SubResource defaultWorkspaceId()

Get the defaultWorkspaceId property: The default workspace Id for Firewall Policy Insights.

Returns:

the defaultWorkspaceId value.

fromJson

public static FirewallPolicyLogAnalyticsResources fromJson(JsonReader jsonReader)

Reads an instance of FirewallPolicyLogAnalyticsResources from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDefaultWorkspaceId

public FirewallPolicyLogAnalyticsResources withDefaultWorkspaceId(SubResource defaultWorkspaceId)

Set the defaultWorkspaceId property: The default workspace Id for Firewall Policy Insights.

Parameters:

defaultWorkspaceId - the defaultWorkspaceId value to set.

Returns:

the FirewallPolicyLogAnalyticsResources object itself.

withWorkspaces

public FirewallPolicyLogAnalyticsResources withWorkspaces(List workspaces)

Set the workspaces property: List of workspaces for Firewall Policy Insights.

Parameters:

workspaces - the workspaces value to set.

Returns:

the FirewallPolicyLogAnalyticsResources object itself.

workspaces

public List workspaces()

Get the workspaces property: List of workspaces for Firewall Policy Insights.

Returns:

the workspaces value.

Applies to