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

com.pulumi.azure.appservice.inputs.SlotSiteConfigScmIpRestrictionHeadersArgs 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.appservice.inputs;

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 SlotSiteConfigScmIpRestrictionHeadersArgs extends com.pulumi.resources.ResourceArgs {

    public static final SlotSiteConfigScmIpRestrictionHeadersArgs Empty = new SlotSiteConfigScmIpRestrictionHeadersArgs();

    /**
     * A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
     * 
     */
    @Import(name="xAzureFdids")
    private @Nullable Output> xAzureFdids;

    /**
     * @return A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
     * 
     */
    public Optional>> xAzureFdids() {
        return Optional.ofNullable(this.xAzureFdids);
    }

    /**
     * A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
     * 
     */
    @Import(name="xFdHealthProbe")
    private @Nullable Output xFdHealthProbe;

    /**
     * @return A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
     * 
     */
    public Optional> xFdHealthProbe() {
        return Optional.ofNullable(this.xFdHealthProbe);
    }

    /**
     * A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
     * 
     */
    @Import(name="xForwardedFors")
    private @Nullable Output> xForwardedFors;

    /**
     * @return A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
     * 
     */
    public Optional>> xForwardedFors() {
        return Optional.ofNullable(this.xForwardedFors);
    }

    /**
     * A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
     * 
     */
    @Import(name="xForwardedHosts")
    private @Nullable Output> xForwardedHosts;

    /**
     * @return A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
     * 
     */
    public Optional>> xForwardedHosts() {
        return Optional.ofNullable(this.xForwardedHosts);
    }

    private SlotSiteConfigScmIpRestrictionHeadersArgs() {}

    private SlotSiteConfigScmIpRestrictionHeadersArgs(SlotSiteConfigScmIpRestrictionHeadersArgs $) {
        this.xAzureFdids = $.xAzureFdids;
        this.xFdHealthProbe = $.xFdHealthProbe;
        this.xForwardedFors = $.xForwardedFors;
        this.xForwardedHosts = $.xForwardedHosts;
    }

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

    public static final class Builder {
        private SlotSiteConfigScmIpRestrictionHeadersArgs $;

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

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

        /**
         * @param xAzureFdids A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
         * 
         * @return builder
         * 
         */
        public Builder xAzureFdids(@Nullable Output> xAzureFdids) {
            $.xAzureFdids = xAzureFdids;
            return this;
        }

        /**
         * @param xAzureFdids A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
         * 
         * @return builder
         * 
         */
        public Builder xAzureFdids(List xAzureFdids) {
            return xAzureFdids(Output.of(xAzureFdids));
        }

        /**
         * @param xAzureFdids A list of allowed Azure FrontDoor IDs in UUID notation with a maximum of 8.
         * 
         * @return builder
         * 
         */
        public Builder xAzureFdids(String... xAzureFdids) {
            return xAzureFdids(List.of(xAzureFdids));
        }

        /**
         * @param xFdHealthProbe A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
         * 
         * @return builder
         * 
         */
        public Builder xFdHealthProbe(@Nullable Output xFdHealthProbe) {
            $.xFdHealthProbe = xFdHealthProbe;
            return this;
        }

        /**
         * @param xFdHealthProbe A list to allow the Azure FrontDoor health probe header. Only allowed value is "1".
         * 
         * @return builder
         * 
         */
        public Builder xFdHealthProbe(String xFdHealthProbe) {
            return xFdHealthProbe(Output.of(xFdHealthProbe));
        }

        /**
         * @param xForwardedFors A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
         * 
         * @return builder
         * 
         */
        public Builder xForwardedFors(@Nullable Output> xForwardedFors) {
            $.xForwardedFors = xForwardedFors;
            return this;
        }

        /**
         * @param xForwardedFors A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
         * 
         * @return builder
         * 
         */
        public Builder xForwardedFors(List xForwardedFors) {
            return xForwardedFors(Output.of(xForwardedFors));
        }

        /**
         * @param xForwardedFors A list of allowed 'X-Forwarded-For' IPs in CIDR notation with a maximum of 8
         * 
         * @return builder
         * 
         */
        public Builder xForwardedFors(String... xForwardedFors) {
            return xForwardedFors(List.of(xForwardedFors));
        }

        /**
         * @param xForwardedHosts A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
         * 
         * @return builder
         * 
         */
        public Builder xForwardedHosts(@Nullable Output> xForwardedHosts) {
            $.xForwardedHosts = xForwardedHosts;
            return this;
        }

        /**
         * @param xForwardedHosts A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
         * 
         * @return builder
         * 
         */
        public Builder xForwardedHosts(List xForwardedHosts) {
            return xForwardedHosts(Output.of(xForwardedHosts));
        }

        /**
         * @param xForwardedHosts A list of allowed 'X-Forwarded-Host' domains with a maximum of 8.
         * 
         * @return builder
         * 
         */
        public Builder xForwardedHosts(String... xForwardedHosts) {
            return xForwardedHosts(List.of(xForwardedHosts));
        }

        public SlotSiteConfigScmIpRestrictionHeadersArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy