Interface DiagnosticContract


  • public interface DiagnosticContract
    An immutable client-side representation of DiagnosticContract.
    • 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.