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

com.pulumi.azure.appservice.outputs.WindowsWebAppSlotSiteConfigScmIpRestrictionHeaders 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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class WindowsWebAppSlotSiteConfigScmIpRestrictionHeaders {
    /**
     * @return Specifies a list of Azure Front Door IDs.
     * 
     */
    private @Nullable List xAzureFdids;
    /**
     * @return Specifies if a Front Door Health Probe should be expected. The only possible value is `1`.
     * 
     */
    private @Nullable String xFdHealthProbe;
    /**
     * @return Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.
     * 
     */
    private @Nullable List xForwardedFors;
    /**
     * @return Specifies a list of Hosts for which matching should be applied.
     * 
     */
    private @Nullable List xForwardedHosts;

    private WindowsWebAppSlotSiteConfigScmIpRestrictionHeaders() {}
    /**
     * @return Specifies a list of Azure Front Door IDs.
     * 
     */
    public List xAzureFdids() {
        return this.xAzureFdids == null ? List.of() : this.xAzureFdids;
    }
    /**
     * @return Specifies if a Front Door Health Probe should be expected. The only possible value is `1`.
     * 
     */
    public Optional xFdHealthProbe() {
        return Optional.ofNullable(this.xFdHealthProbe);
    }
    /**
     * @return Specifies a list of addresses for which matching should be applied. Omitting this value means allow any.
     * 
     */
    public List xForwardedFors() {
        return this.xForwardedFors == null ? List.of() : this.xForwardedFors;
    }
    /**
     * @return Specifies a list of Hosts for which matching should be applied.
     * 
     */
    public List xForwardedHosts() {
        return this.xForwardedHosts == null ? List.of() : this.xForwardedHosts;
    }

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

    public static Builder builder(WindowsWebAppSlotSiteConfigScmIpRestrictionHeaders defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List xAzureFdids;
        private @Nullable String xFdHealthProbe;
        private @Nullable List xForwardedFors;
        private @Nullable List xForwardedHosts;
        public Builder() {}
        public Builder(WindowsWebAppSlotSiteConfigScmIpRestrictionHeaders defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.xAzureFdids = defaults.xAzureFdids;
    	      this.xFdHealthProbe = defaults.xFdHealthProbe;
    	      this.xForwardedFors = defaults.xForwardedFors;
    	      this.xForwardedHosts = defaults.xForwardedHosts;
        }

        @CustomType.Setter
        public Builder xAzureFdids(@Nullable List xAzureFdids) {

            this.xAzureFdids = xAzureFdids;
            return this;
        }
        public Builder xAzureFdids(String... xAzureFdids) {
            return xAzureFdids(List.of(xAzureFdids));
        }
        @CustomType.Setter
        public Builder xFdHealthProbe(@Nullable String xFdHealthProbe) {

            this.xFdHealthProbe = xFdHealthProbe;
            return this;
        }
        @CustomType.Setter
        public Builder xForwardedFors(@Nullable List xForwardedFors) {

            this.xForwardedFors = xForwardedFors;
            return this;
        }
        public Builder xForwardedFors(String... xForwardedFors) {
            return xForwardedFors(List.of(xForwardedFors));
        }
        @CustomType.Setter
        public Builder xForwardedHosts(@Nullable List xForwardedHosts) {

            this.xForwardedHosts = xForwardedHosts;
            return this;
        }
        public Builder xForwardedHosts(String... xForwardedHosts) {
            return xForwardedHosts(List.of(xForwardedHosts));
        }
        public WindowsWebAppSlotSiteConfigScmIpRestrictionHeaders build() {
            final var _resultValue = new WindowsWebAppSlotSiteConfigScmIpRestrictionHeaders();
            _resultValue.xAzureFdids = xAzureFdids;
            _resultValue.xFdHealthProbe = xFdHealthProbe;
            _resultValue.xForwardedFors = xForwardedFors;
            _resultValue.xForwardedHosts = xForwardedHosts;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy