AnalyticsOutputSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.AnalyticsOutputSettings

Implements

public final class AnalyticsOutputSettings
implements JsonSerializable<AnalyticsOutputSettings>

AnalyticsOutputSettings represents the settings for the log analytics workspace used for output of logs from this cluster.

Constructor Summary

Constructor Description
AnalyticsOutputSettings()

Creates an instance of AnalyticsOutputSettings class.

Method Summary

Modifier and Type Method and Description
String analyticsWorkspaceId()

Get the analyticsWorkspaceId property: The resource ID of the analytics workspace that is to be used by the specified identity.

IdentitySelector associatedIdentity()

Get the associatedIdentity property: The selection of the managed identity to use with this analytics workspace.

static AnalyticsOutputSettings fromJson(JsonReader jsonReader)

Reads an instance of AnalyticsOutputSettings from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AnalyticsOutputSettings withAnalyticsWorkspaceId(String analyticsWorkspaceId)

Set the analyticsWorkspaceId property: The resource ID of the analytics workspace that is to be used by the specified identity.

AnalyticsOutputSettings withAssociatedIdentity(IdentitySelector associatedIdentity)

Set the associatedIdentity property: The selection of the managed identity to use with this analytics workspace.

Methods inherited from java.lang.Object

Constructor Details

AnalyticsOutputSettings

public AnalyticsOutputSettings()

Creates an instance of AnalyticsOutputSettings class.

Method Details

analyticsWorkspaceId

public String analyticsWorkspaceId()

Get the analyticsWorkspaceId property: The resource ID of the analytics workspace that is to be used by the specified identity.

Returns:

the analyticsWorkspaceId value.

associatedIdentity

public IdentitySelector associatedIdentity()

Get the associatedIdentity property: The selection of the managed identity to use with this analytics workspace. The identity type must be either system assigned or user assigned.

Returns:

the associatedIdentity value.

fromJson

public static AnalyticsOutputSettings fromJson(JsonReader jsonReader)

Reads an instance of AnalyticsOutputSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAnalyticsWorkspaceId

public AnalyticsOutputSettings withAnalyticsWorkspaceId(String analyticsWorkspaceId)

Set the analyticsWorkspaceId property: The resource ID of the analytics workspace that is to be used by the specified identity.

Parameters:

analyticsWorkspaceId - the analyticsWorkspaceId value to set.

Returns:

the AnalyticsOutputSettings object itself.

withAssociatedIdentity

public AnalyticsOutputSettings withAssociatedIdentity(IdentitySelector associatedIdentity)

Set the associatedIdentity property: The selection of the managed identity to use with this analytics workspace. The identity type must be either system assigned or user assigned.

Parameters:

associatedIdentity - the associatedIdentity value to set.

Returns:

the AnalyticsOutputSettings object itself.

Applies to