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

com.pulumi.azure.network.inputs.ApplicationGatewayFrontendIpConfigurationArgs 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.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ApplicationGatewayFrontendIpConfigurationArgs Empty = new ApplicationGatewayFrontendIpConfigurationArgs();

    /**
     * The ID of the Rewrite Rule Set
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return The ID of the Rewrite Rule Set
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * The name of the Frontend IP Configuration.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name of the Frontend IP Configuration.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * The Private IP Address to use for the Application Gateway.
     * 
     */
    @Import(name="privateIpAddress")
    private @Nullable Output privateIpAddress;

    /**
     * @return The Private IP Address to use for the Application Gateway.
     * 
     */
    public Optional> privateIpAddress() {
        return Optional.ofNullable(this.privateIpAddress);
    }

    /**
     * The Allocation Method for the Private IP Address. Possible values are `Dynamic` and `Static`. Defaults to `Dynamic`.
     * 
     */
    @Import(name="privateIpAddressAllocation")
    private @Nullable Output privateIpAddressAllocation;

    /**
     * @return The Allocation Method for the Private IP Address. Possible values are `Dynamic` and `Static`. Defaults to `Dynamic`.
     * 
     */
    public Optional> privateIpAddressAllocation() {
        return Optional.ofNullable(this.privateIpAddressAllocation);
    }

    /**
     * The ID of the associated private link configuration.
     * 
     */
    @Import(name="privateLinkConfigurationId")
    private @Nullable Output privateLinkConfigurationId;

    /**
     * @return The ID of the associated private link configuration.
     * 
     */
    public Optional> privateLinkConfigurationId() {
        return Optional.ofNullable(this.privateLinkConfigurationId);
    }

    /**
     * The name of the private link configuration to use for this frontend IP configuration.
     * 
     */
    @Import(name="privateLinkConfigurationName")
    private @Nullable Output privateLinkConfigurationName;

    /**
     * @return The name of the private link configuration to use for this frontend IP configuration.
     * 
     */
    public Optional> privateLinkConfigurationName() {
        return Optional.ofNullable(this.privateLinkConfigurationName);
    }

    /**
     * The ID of a Public IP Address which the Application Gateway should use. The allocation method for the Public IP Address depends on the `sku` of this Application Gateway. Please refer to the [Azure documentation for public IP addresses](https://docs.microsoft.com/azure/virtual-network/public-ip-addresses#application-gateways) for details.
     * 
     */
    @Import(name="publicIpAddressId")
    private @Nullable Output publicIpAddressId;

    /**
     * @return The ID of a Public IP Address which the Application Gateway should use. The allocation method for the Public IP Address depends on the `sku` of this Application Gateway. Please refer to the [Azure documentation for public IP addresses](https://docs.microsoft.com/azure/virtual-network/public-ip-addresses#application-gateways) for details.
     * 
     */
    public Optional> publicIpAddressId() {
        return Optional.ofNullable(this.publicIpAddressId);
    }

    /**
     * The ID of the Subnet.
     * 
     */
    @Import(name="subnetId")
    private @Nullable Output subnetId;

    /**
     * @return The ID of the Subnet.
     * 
     */
    public Optional> subnetId() {
        return Optional.ofNullable(this.subnetId);
    }

    private ApplicationGatewayFrontendIpConfigurationArgs() {}

    private ApplicationGatewayFrontendIpConfigurationArgs(ApplicationGatewayFrontendIpConfigurationArgs $) {
        this.id = $.id;
        this.name = $.name;
        this.privateIpAddress = $.privateIpAddress;
        this.privateIpAddressAllocation = $.privateIpAddressAllocation;
        this.privateLinkConfigurationId = $.privateLinkConfigurationId;
        this.privateLinkConfigurationName = $.privateLinkConfigurationName;
        this.publicIpAddressId = $.publicIpAddressId;
        this.subnetId = $.subnetId;
    }

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

    public static final class Builder {
        private ApplicationGatewayFrontendIpConfigurationArgs $;

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

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

        /**
         * @param id The ID of the Rewrite Rule Set
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id The ID of the Rewrite Rule Set
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param name The name of the Frontend IP Configuration.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the Frontend IP Configuration.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param privateIpAddress The Private IP Address to use for the Application Gateway.
         * 
         * @return builder
         * 
         */
        public Builder privateIpAddress(@Nullable Output privateIpAddress) {
            $.privateIpAddress = privateIpAddress;
            return this;
        }

        /**
         * @param privateIpAddress The Private IP Address to use for the Application Gateway.
         * 
         * @return builder
         * 
         */
        public Builder privateIpAddress(String privateIpAddress) {
            return privateIpAddress(Output.of(privateIpAddress));
        }

        /**
         * @param privateIpAddressAllocation The Allocation Method for the Private IP Address. Possible values are `Dynamic` and `Static`. Defaults to `Dynamic`.
         * 
         * @return builder
         * 
         */
        public Builder privateIpAddressAllocation(@Nullable Output privateIpAddressAllocation) {
            $.privateIpAddressAllocation = privateIpAddressAllocation;
            return this;
        }

        /**
         * @param privateIpAddressAllocation The Allocation Method for the Private IP Address. Possible values are `Dynamic` and `Static`. Defaults to `Dynamic`.
         * 
         * @return builder
         * 
         */
        public Builder privateIpAddressAllocation(String privateIpAddressAllocation) {
            return privateIpAddressAllocation(Output.of(privateIpAddressAllocation));
        }

        /**
         * @param privateLinkConfigurationId The ID of the associated private link configuration.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkConfigurationId(@Nullable Output privateLinkConfigurationId) {
            $.privateLinkConfigurationId = privateLinkConfigurationId;
            return this;
        }

        /**
         * @param privateLinkConfigurationId The ID of the associated private link configuration.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkConfigurationId(String privateLinkConfigurationId) {
            return privateLinkConfigurationId(Output.of(privateLinkConfigurationId));
        }

        /**
         * @param privateLinkConfigurationName The name of the private link configuration to use for this frontend IP configuration.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkConfigurationName(@Nullable Output privateLinkConfigurationName) {
            $.privateLinkConfigurationName = privateLinkConfigurationName;
            return this;
        }

        /**
         * @param privateLinkConfigurationName The name of the private link configuration to use for this frontend IP configuration.
         * 
         * @return builder
         * 
         */
        public Builder privateLinkConfigurationName(String privateLinkConfigurationName) {
            return privateLinkConfigurationName(Output.of(privateLinkConfigurationName));
        }

        /**
         * @param publicIpAddressId The ID of a Public IP Address which the Application Gateway should use. The allocation method for the Public IP Address depends on the `sku` of this Application Gateway. Please refer to the [Azure documentation for public IP addresses](https://docs.microsoft.com/azure/virtual-network/public-ip-addresses#application-gateways) for details.
         * 
         * @return builder
         * 
         */
        public Builder publicIpAddressId(@Nullable Output publicIpAddressId) {
            $.publicIpAddressId = publicIpAddressId;
            return this;
        }

        /**
         * @param publicIpAddressId The ID of a Public IP Address which the Application Gateway should use. The allocation method for the Public IP Address depends on the `sku` of this Application Gateway. Please refer to the [Azure documentation for public IP addresses](https://docs.microsoft.com/azure/virtual-network/public-ip-addresses#application-gateways) for details.
         * 
         * @return builder
         * 
         */
        public Builder publicIpAddressId(String publicIpAddressId) {
            return publicIpAddressId(Output.of(publicIpAddressId));
        }

        /**
         * @param subnetId The ID of the Subnet.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(@Nullable Output subnetId) {
            $.subnetId = subnetId;
            return this;
        }

        /**
         * @param subnetId The ID of the Subnet.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(String subnetId) {
            return subnetId(Output.of(subnetId));
        }

        public ApplicationGatewayFrontendIpConfigurationArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("ApplicationGatewayFrontendIpConfigurationArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy