Interface DiagnosticContract
-
public interface DiagnosticContract
An immutable client-side representation of DiagnosticContract.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
DiagnosticContract.Definition
The entirety of the DiagnosticContract definition.static interface
DiagnosticContract.DefinitionStages
The DiagnosticContract definition stages.static interface
DiagnosticContract.Update
The template for DiagnosticContract update.static interface
DiagnosticContract.UpdateStages
The DiagnosticContract update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AlwaysLog
alwaysLog()
Gets the alwaysLog property: Specifies for what type of messages sampling settings should not apply.PipelineDiagnosticSettings
backend()
Gets the backend property: Diagnostic settings for incoming/outgoing HTTP messages to the Backend.PipelineDiagnosticSettings
frontend()
Gets the frontend property: Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.HttpCorrelationProtocol
httpCorrelationProtocol()
Gets the httpCorrelationProtocol property: Sets correlation protocol to use for Application Insights diagnostics.String
id()
Gets the id property: Fully qualified resource Id for the resource.DiagnosticContractInner
innerModel()
Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.DiagnosticContractInner object.Boolean
logClientIp()
Gets the logClientIp property: Log the ClientIP.String
loggerId()
Gets the loggerId property: Resource Id of a target logger.String
name()
Gets the name property: The name of the resource.OperationNameFormat
operationNameFormat()
Gets the operationNameFormat property: The format of the Operation Name for Application Insights telemetries.DiagnosticContract
refresh()
Refreshes the resource to sync with Azure.DiagnosticContract
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.SamplingSettings
sampling()
Gets the sampling property: Sampling settings for Diagnostic.String
type()
Gets the type property: The type of the resource.DiagnosticContract.Update
update()
Begins update for the DiagnosticContract resource.Verbosity
verbosity()
Gets the verbosity property: The verbosity level applied to traces emitted by trace policies.
-
-
-
Method Detail
-
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.
-
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
DiagnosticContract refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
-