Interface DiagnosticContract
public interface DiagnosticContract
An immutable client-side representation of DiagnosticContract.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the DiagnosticContract definition.static interfaceThe DiagnosticContract definition stages.static interfaceThe template for DiagnosticContract update.static interfaceThe DiagnosticContract update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the alwaysLog property: Specifies for what type of messages sampling settings should not apply.backend()Gets the backend property: Diagnostic settings for incoming/outgoing HTTP messages to the Backend.frontend()Gets the frontend property: Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.Gets the httpCorrelationProtocol property: Sets correlation protocol to use for Application Insights diagnostics.id()Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.DiagnosticContractInner object.Gets the logClientIp property: Log the ClientIP.loggerId()Gets the loggerId property: Resource Id of a target logger.metrics()Gets the metrics property: Emit custom metrics via emit-metric policy.name()Gets the name property: The name of the resource.Gets the operationNameFormat property: The format of the Operation Name for Application Insights telemetries.refresh()Refreshes the resource to sync with Azure.refresh(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.sampling()Gets the sampling property: Sampling settings for Diagnostic.type()Gets the type property: The type of the resource.update()Begins update for the DiagnosticContract resource.Gets the verbosity property: The verbosity level applied to traces emitted by trace policies.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
alwaysLog
AlwaysLog alwaysLog()Gets the alwaysLog property: Specifies for what type of messages sampling settings should not apply.- Returns:
- the alwaysLog value.
-
loggerId
String loggerId()Gets the loggerId property: Resource Id of a target logger.- Returns:
- the loggerId value.
-
sampling
SamplingSettings sampling()Gets the sampling property: Sampling settings for Diagnostic.- Returns:
- the sampling value.
-
frontend
PipelineDiagnosticSettings frontend()Gets the frontend property: Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.- Returns:
- the frontend value.
-
backend
PipelineDiagnosticSettings backend()Gets the backend property: Diagnostic settings for incoming/outgoing HTTP messages to the Backend.- Returns:
- the backend value.
-
logClientIp
Boolean logClientIp()Gets the logClientIp property: Log the ClientIP. Default is false.- Returns:
- the logClientIp value.
-
httpCorrelationProtocol
HttpCorrelationProtocol httpCorrelationProtocol()Gets the httpCorrelationProtocol property: Sets correlation protocol to use for Application Insights diagnostics.- Returns:
- the httpCorrelationProtocol value.
-
verbosity
Verbosity verbosity()Gets the verbosity property: The verbosity level applied to traces emitted by trace policies.- Returns:
- the verbosity value.
-
operationNameFormat
OperationNameFormat operationNameFormat()Gets the operationNameFormat property: The format of the Operation Name for Application Insights telemetries. Default is Name.- Returns:
- the operationNameFormat value.
-
metrics
Boolean metrics()Gets the metrics property: Emit custom metrics via emit-metric policy. Applicable only to Application Insights diagnostic settings.- Returns:
- the metrics value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
DiagnosticContractInner innerModel()Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.DiagnosticContractInner object.- Returns:
- the inner object.
-
update
DiagnosticContract.Update update()Begins update for the DiagnosticContract resource.- Returns:
- the stage of resource update.
-
refresh
DiagnosticContract refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context- The context to associate with this operation.- Returns:
- the refreshed resource.
-