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

com.azure.resourcemanager.frontdoor.models.PolicyRequestBodyCheck Maven / Gradle / Ivy

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.frontdoor.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * Describes if policy managed rules will inspect the request body content.
 */
public final class PolicyRequestBodyCheck extends ExpandableStringEnum {
    /**
     * Static value Disabled for PolicyRequestBodyCheck.
     */
    public static final PolicyRequestBodyCheck DISABLED = fromString("Disabled");

    /**
     * Static value Enabled for PolicyRequestBodyCheck.
     */
    public static final PolicyRequestBodyCheck ENABLED = fromString("Enabled");

    /**
     * Creates a new instance of PolicyRequestBodyCheck value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public PolicyRequestBodyCheck() {
    }

    /**
     * Creates or finds a PolicyRequestBodyCheck from its string representation.
     * 
     * @param name a name to look for.
     * @return the corresponding PolicyRequestBodyCheck.
     */
    public static PolicyRequestBodyCheck fromString(String name) {
        return fromString(name, PolicyRequestBodyCheck.class);
    }

    /**
     * Gets known PolicyRequestBodyCheck values.
     * 
     * @return known PolicyRequestBodyCheck values.
     */
    public static Collection values() {
        return values(PolicyRequestBodyCheck.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy