com.pulumi.azurenative.cdn.inputs.RateLimitRuleArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.cdn.inputs;
import com.pulumi.azurenative.cdn.enums.ActionType;
import com.pulumi.azurenative.cdn.enums.CustomRuleEnabledState;
import com.pulumi.azurenative.cdn.inputs.MatchConditionArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Defines a rate limiting rule that can be included in a waf policy
*
*/
public final class RateLimitRuleArgs extends com.pulumi.resources.ResourceArgs {
public static final RateLimitRuleArgs Empty = new RateLimitRuleArgs();
/**
* Describes what action to be applied when rule matches
*
*/
@Import(name="action", required=true)
private Output> action;
/**
* @return Describes what action to be applied when rule matches
*
*/
public Output> action() {
return this.action;
}
/**
* Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
*
*/
@Import(name="enabledState")
private @Nullable Output> enabledState;
/**
* @return Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
*
*/
public Optional
© 2015 - 2024 Weber Informatics LLC | Privacy Policy