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

com.pulumi.azure.network.inputs.FirewallPolicyIntrusionDetectionArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.network.inputs;

import com.pulumi.azure.network.inputs.FirewallPolicyIntrusionDetectionSignatureOverrideArgs;
import com.pulumi.azure.network.inputs.FirewallPolicyIntrusionDetectionTrafficBypassArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class FirewallPolicyIntrusionDetectionArgs extends com.pulumi.resources.ResourceArgs {

    public static final FirewallPolicyIntrusionDetectionArgs Empty = new FirewallPolicyIntrusionDetectionArgs();

    /**
     * In which mode you want to run intrusion detection: `Off`, `Alert` or `Deny`.
     * 
     */
    @Import(name="mode")
    private @Nullable Output mode;

    /**
     * @return In which mode you want to run intrusion detection: `Off`, `Alert` or `Deny`.
     * 
     */
    public Optional> mode() {
        return Optional.ofNullable(this.mode);
    }

    /**
     * A list of Private IP address ranges to identify traffic direction. By default, only ranges defined by IANA RFC 1918 are considered private IP addresses.
     * 
     */
    @Import(name="privateRanges")
    private @Nullable Output> privateRanges;

    /**
     * @return A list of Private IP address ranges to identify traffic direction. By default, only ranges defined by IANA RFC 1918 are considered private IP addresses.
     * 
     */
    public Optional>> privateRanges() {
        return Optional.ofNullable(this.privateRanges);
    }

    /**
     * One or more `signature_overrides` blocks as defined below.
     * 
     */
    @Import(name="signatureOverrides")
    private @Nullable Output> signatureOverrides;

    /**
     * @return One or more `signature_overrides` blocks as defined below.
     * 
     */
    public Optional>> signatureOverrides() {
        return Optional.ofNullable(this.signatureOverrides);
    }

    /**
     * One or more `traffic_bypass` blocks as defined below.
     * 
     */
    @Import(name="trafficBypasses")
    private @Nullable Output> trafficBypasses;

    /**
     * @return One or more `traffic_bypass` blocks as defined below.
     * 
     */
    public Optional>> trafficBypasses() {
        return Optional.ofNullable(this.trafficBypasses);
    }

    private FirewallPolicyIntrusionDetectionArgs() {}

    private FirewallPolicyIntrusionDetectionArgs(FirewallPolicyIntrusionDetectionArgs $) {
        this.mode = $.mode;
        this.privateRanges = $.privateRanges;
        this.signatureOverrides = $.signatureOverrides;
        this.trafficBypasses = $.trafficBypasses;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(FirewallPolicyIntrusionDetectionArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private FirewallPolicyIntrusionDetectionArgs $;

        public Builder() {
            $ = new FirewallPolicyIntrusionDetectionArgs();
        }

        public Builder(FirewallPolicyIntrusionDetectionArgs defaults) {
            $ = new FirewallPolicyIntrusionDetectionArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param mode In which mode you want to run intrusion detection: `Off`, `Alert` or `Deny`.
         * 
         * @return builder
         * 
         */
        public Builder mode(@Nullable Output mode) {
            $.mode = mode;
            return this;
        }

        /**
         * @param mode In which mode you want to run intrusion detection: `Off`, `Alert` or `Deny`.
         * 
         * @return builder
         * 
         */
        public Builder mode(String mode) {
            return mode(Output.of(mode));
        }

        /**
         * @param privateRanges A list of Private IP address ranges to identify traffic direction. By default, only ranges defined by IANA RFC 1918 are considered private IP addresses.
         * 
         * @return builder
         * 
         */
        public Builder privateRanges(@Nullable Output> privateRanges) {
            $.privateRanges = privateRanges;
            return this;
        }

        /**
         * @param privateRanges A list of Private IP address ranges to identify traffic direction. By default, only ranges defined by IANA RFC 1918 are considered private IP addresses.
         * 
         * @return builder
         * 
         */
        public Builder privateRanges(List privateRanges) {
            return privateRanges(Output.of(privateRanges));
        }

        /**
         * @param privateRanges A list of Private IP address ranges to identify traffic direction. By default, only ranges defined by IANA RFC 1918 are considered private IP addresses.
         * 
         * @return builder
         * 
         */
        public Builder privateRanges(String... privateRanges) {
            return privateRanges(List.of(privateRanges));
        }

        /**
         * @param signatureOverrides One or more `signature_overrides` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder signatureOverrides(@Nullable Output> signatureOverrides) {
            $.signatureOverrides = signatureOverrides;
            return this;
        }

        /**
         * @param signatureOverrides One or more `signature_overrides` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder signatureOverrides(List signatureOverrides) {
            return signatureOverrides(Output.of(signatureOverrides));
        }

        /**
         * @param signatureOverrides One or more `signature_overrides` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder signatureOverrides(FirewallPolicyIntrusionDetectionSignatureOverrideArgs... signatureOverrides) {
            return signatureOverrides(List.of(signatureOverrides));
        }

        /**
         * @param trafficBypasses One or more `traffic_bypass` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder trafficBypasses(@Nullable Output> trafficBypasses) {
            $.trafficBypasses = trafficBypasses;
            return this;
        }

        /**
         * @param trafficBypasses One or more `traffic_bypass` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder trafficBypasses(List trafficBypasses) {
            return trafficBypasses(Output.of(trafficBypasses));
        }

        /**
         * @param trafficBypasses One or more `traffic_bypass` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder trafficBypasses(FirewallPolicyIntrusionDetectionTrafficBypassArgs... trafficBypasses) {
            return trafficBypasses(List.of(trafficBypasses));
        }

        public FirewallPolicyIntrusionDetectionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy