All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.apimanagement.enums.HttpCorrelationProtocol Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.apimanagement.enums;

import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;

    /**
     * Sets correlation protocol to use for Application Insights diagnostics.
     * 
     */
    @EnumType
    public enum HttpCorrelationProtocol {
        /**
         * Do not read and inject correlation headers.
         * 
         */
        None("None"),
        /**
         * Inject Request-Id and Request-Context headers with request correlation data. See https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/HttpCorrelationProtocol.md.
         * 
         */
        Legacy("Legacy"),
        /**
         * Inject Trace Context headers. See https://w3c.github.io/trace-context.
         * 
         */
        W3C("W3C");

        private final String value;

        HttpCorrelationProtocol(String value) {
            this.value = Objects.requireNonNull(value);
        }

        @EnumType.Converter
        public String getValue() {
            return this.value;
        }

        @Override
        public java.lang.String toString() {
            return new StringJoiner(", ", "HttpCorrelationProtocol[", "]")
                .add("value='" + this.value + "'")
                .toString();
        }
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy