SiteLogsConfigInner Class

public final class SiteLogsConfigInner
extends ProxyOnlyResource

Configuration of App Service site logs.

Constructor Summary

Constructor Description
SiteLogsConfigInner()

Creates an instance of SiteLogsConfigInner class.

Method Summary

Modifier and Type Method and Description
ApplicationLogsConfig applicationLogs()

Get the applicationLogs property: Application logs configuration.

EnabledConfig detailedErrorMessages()

Get the detailedErrorMessages property: Detailed error messages configuration.

EnabledConfig failedRequestsTracing()

Get the failedRequestsTracing property: Failed requests tracing configuration.

static SiteLogsConfigInner fromJson(JsonReader jsonReader)

Reads an instance of SiteLogsConfigInner from the JsonReader.

HttpLogsConfig httpLogs()

Get the httpLogs property: HTTP logs configuration.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SiteLogsConfigInner withApplicationLogs(ApplicationLogsConfig applicationLogs)

Set the applicationLogs property: Application logs configuration.

SiteLogsConfigInner withDetailedErrorMessages(EnabledConfig detailedErrorMessages)

Set the detailedErrorMessages property: Detailed error messages configuration.

SiteLogsConfigInner withFailedRequestsTracing(EnabledConfig failedRequestsTracing)

Set the failedRequestsTracing property: Failed requests tracing configuration.

SiteLogsConfigInner withHttpLogs(HttpLogsConfig httpLogs)

Set the httpLogs property: HTTP logs configuration.

SiteLogsConfigInner withKind(String kind)

Set the kind property: Kind of resource.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

SiteLogsConfigInner

public SiteLogsConfigInner()

Creates an instance of SiteLogsConfigInner class.

Method Details

applicationLogs

public ApplicationLogsConfig applicationLogs()

Get the applicationLogs property: Application logs configuration.

Returns:

the applicationLogs value.

detailedErrorMessages

public EnabledConfig detailedErrorMessages()

Get the detailedErrorMessages property: Detailed error messages configuration.

Returns:

the detailedErrorMessages value.

failedRequestsTracing

public EnabledConfig failedRequestsTracing()

Get the failedRequestsTracing property: Failed requests tracing configuration.

Returns:

the failedRequestsTracing value.

fromJson

public static SiteLogsConfigInner fromJson(JsonReader jsonReader)

Reads an instance of SiteLogsConfigInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SiteLogsConfigInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

httpLogs

public HttpLogsConfig httpLogs()

Get the httpLogs property: HTTP logs configuration.

Returns:

the httpLogs value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SiteLogsConfigInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SiteLogsConfigInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SiteLogsConfigInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SiteLogsConfigInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

SiteLogsConfigInner.validate()

withApplicationLogs

public SiteLogsConfigInner withApplicationLogs(ApplicationLogsConfig applicationLogs)

Set the applicationLogs property: Application logs configuration.

Parameters:

applicationLogs - the applicationLogs value to set.

Returns:

the SiteLogsConfigInner object itself.

withDetailedErrorMessages

public SiteLogsConfigInner withDetailedErrorMessages(EnabledConfig detailedErrorMessages)

Set the detailedErrorMessages property: Detailed error messages configuration.

Parameters:

detailedErrorMessages - the detailedErrorMessages value to set.

Returns:

the SiteLogsConfigInner object itself.

withFailedRequestsTracing

public SiteLogsConfigInner withFailedRequestsTracing(EnabledConfig failedRequestsTracing)

Set the failedRequestsTracing property: Failed requests tracing configuration.

Parameters:

failedRequestsTracing - the failedRequestsTracing value to set.

Returns:

the SiteLogsConfigInner object itself.

withHttpLogs

public SiteLogsConfigInner withHttpLogs(HttpLogsConfig httpLogs)

Set the httpLogs property: HTTP logs configuration.

Parameters:

httpLogs - the httpLogs value to set.

Returns:

the SiteLogsConfigInner object itself.

withKind

public SiteLogsConfigInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

SiteLogsConfigInner.withKind(String kind)

Parameters:

kind

Applies to