SiteLogsConfigInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. SiteLogsConfigInner
- com.
- com.
- com.
public final class SiteLogsConfigInner
extends ProxyOnlyResource
Configuration of App Service site logs.
Constructor Summary
Constructor | Description |
---|---|
SiteLogsConfigInner() |
Creates an instance of Site |
Method Summary
Modifier and Type | Method and Description |
---|---|
Application |
applicationLogs()
Get the application |
Enabled |
detailedErrorMessages()
Get the detailed |
Enabled |
failedRequestsTracing()
Get the failed |
static
Site |
fromJson(JsonReader jsonReader)
Reads an instance of Site |
Http |
httpLogs()
Get the http |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Site |
withApplicationLogs(ApplicationLogsConfig applicationLogs)
Set the application |
Site |
withDetailedErrorMessages(EnabledConfig detailedErrorMessages)
Set the detailed |
Site |
withFailedRequestsTracing(EnabledConfig failedRequestsTracing)
Set the failed |
Site |
withHttpLogs(HttpLogsConfig httpLogs)
Set the http |
Site |
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:
detailedErrorMessages
public EnabledConfig detailedErrorMessages()
Get the detailedErrorMessages property: Detailed error messages configuration.
Returns:
failedRequestsTracing
public EnabledConfig failedRequestsTracing()
Get the failedRequestsTracing property: Failed requests tracing configuration.
Returns:
fromJson
public static SiteLogsConfigInner fromJson(JsonReader jsonReader)
Reads an instance of SiteLogsConfigInner from the JsonReader.
Parameters:
Returns:
Throws:
httpLogs
public HttpLogsConfig httpLogs()
Get the httpLogs property: HTTP logs configuration.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SiteLogsConfigInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SiteLogsConfigInner.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SiteLogsConfigInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SiteLogsConfigInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
SiteLogsConfigInner.validate()withApplicationLogs
public SiteLogsConfigInner withApplicationLogs(ApplicationLogsConfig applicationLogs)
Set the applicationLogs property: Application logs configuration.
Parameters:
Returns:
withDetailedErrorMessages
public SiteLogsConfigInner withDetailedErrorMessages(EnabledConfig detailedErrorMessages)
Set the detailedErrorMessages property: Detailed error messages configuration.
Parameters:
Returns:
withFailedRequestsTracing
public SiteLogsConfigInner withFailedRequestsTracing(EnabledConfig failedRequestsTracing)
Set the failedRequestsTracing property: Failed requests tracing configuration.
Parameters:
Returns:
withHttpLogs
public SiteLogsConfigInner withHttpLogs(HttpLogsConfig httpLogs)
Set the httpLogs property: HTTP logs configuration.
Parameters:
Returns:
withKind
public SiteLogsConfigInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
SiteLogsConfigInner.withKind(String kind)Parameters:
Applies to
Azure SDK for Java