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

com.pulumi.azure.compute.inputs.LinuxVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddressArgs 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.compute.inputs;

import com.pulumi.azure.compute.inputs.LinuxVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddressIpTagArgs;
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;


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

    public static final LinuxVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddressArgs Empty = new LinuxVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddressArgs();

    /**
     * The Prefix which should be used for the Domain Name Label for each Virtual Machine Instance. Azure concatenates the Domain Name Label and Virtual Machine Index to create a unique Domain Name Label for each Virtual Machine.
     * 
     */
    @Import(name="domainNameLabel")
    private @Nullable Output domainNameLabel;

    /**
     * @return The Prefix which should be used for the Domain Name Label for each Virtual Machine Instance. Azure concatenates the Domain Name Label and Virtual Machine Index to create a unique Domain Name Label for each Virtual Machine.
     * 
     */
    public Optional> domainNameLabel() {
        return Optional.ofNullable(this.domainNameLabel);
    }

    /**
     * The Idle Timeout in Minutes for the Public IP Address. Possible values are in the range `4` to `32`.
     * 
     */
    @Import(name="idleTimeoutInMinutes")
    private @Nullable Output idleTimeoutInMinutes;

    /**
     * @return The Idle Timeout in Minutes for the Public IP Address. Possible values are in the range `4` to `32`.
     * 
     */
    public Optional> idleTimeoutInMinutes() {
        return Optional.ofNullable(this.idleTimeoutInMinutes);
    }

    /**
     * One or more `ip_tag` blocks as defined above. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="ipTags")
    private @Nullable Output> ipTags;

    /**
     * @return One or more `ip_tag` blocks as defined above. Changing this forces a new resource to be created.
     * 
     */
    public Optional>> ipTags() {
        return Optional.ofNullable(this.ipTags);
    }

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

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

    /**
     * The ID of the Public IP Address Prefix from where Public IP Addresses should be allocated. Changing this forces a new resource to be created.
     * 
     * > **Note:** This functionality is in Preview and must be opted into via `az feature register --namespace Microsoft.Network --name AllowBringYourOwnPublicIpAddress` and then `az provider register -n Microsoft.Network`.
     * 
     */
    @Import(name="publicIpPrefixId")
    private @Nullable Output publicIpPrefixId;

    /**
     * @return The ID of the Public IP Address Prefix from where Public IP Addresses should be allocated. Changing this forces a new resource to be created.
     * 
     * > **Note:** This functionality is in Preview and must be opted into via `az feature register --namespace Microsoft.Network --name AllowBringYourOwnPublicIpAddress` and then `az provider register -n Microsoft.Network`.
     * 
     */
    public Optional> publicIpPrefixId() {
        return Optional.ofNullable(this.publicIpPrefixId);
    }

    /**
     * The Internet Protocol Version which should be used for this public IP address. Possible values are `IPv4` and `IPv6`. Defaults to `IPv4`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return The Internet Protocol Version which should be used for this public IP address. Possible values are `IPv4` and `IPv6`. Defaults to `IPv4`. Changing this forces a new resource to be created.
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private LinuxVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddressArgs() {}

    private LinuxVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddressArgs(LinuxVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddressArgs $) {
        this.domainNameLabel = $.domainNameLabel;
        this.idleTimeoutInMinutes = $.idleTimeoutInMinutes;
        this.ipTags = $.ipTags;
        this.name = $.name;
        this.publicIpPrefixId = $.publicIpPrefixId;
        this.version = $.version;
    }

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

    public static final class Builder {
        private LinuxVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddressArgs $;

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

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

        /**
         * @param domainNameLabel The Prefix which should be used for the Domain Name Label for each Virtual Machine Instance. Azure concatenates the Domain Name Label and Virtual Machine Index to create a unique Domain Name Label for each Virtual Machine.
         * 
         * @return builder
         * 
         */
        public Builder domainNameLabel(@Nullable Output domainNameLabel) {
            $.domainNameLabel = domainNameLabel;
            return this;
        }

        /**
         * @param domainNameLabel The Prefix which should be used for the Domain Name Label for each Virtual Machine Instance. Azure concatenates the Domain Name Label and Virtual Machine Index to create a unique Domain Name Label for each Virtual Machine.
         * 
         * @return builder
         * 
         */
        public Builder domainNameLabel(String domainNameLabel) {
            return domainNameLabel(Output.of(domainNameLabel));
        }

        /**
         * @param idleTimeoutInMinutes The Idle Timeout in Minutes for the Public IP Address. Possible values are in the range `4` to `32`.
         * 
         * @return builder
         * 
         */
        public Builder idleTimeoutInMinutes(@Nullable Output idleTimeoutInMinutes) {
            $.idleTimeoutInMinutes = idleTimeoutInMinutes;
            return this;
        }

        /**
         * @param idleTimeoutInMinutes The Idle Timeout in Minutes for the Public IP Address. Possible values are in the range `4` to `32`.
         * 
         * @return builder
         * 
         */
        public Builder idleTimeoutInMinutes(Integer idleTimeoutInMinutes) {
            return idleTimeoutInMinutes(Output.of(idleTimeoutInMinutes));
        }

        /**
         * @param ipTags One or more `ip_tag` blocks as defined above. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder ipTags(@Nullable Output> ipTags) {
            $.ipTags = ipTags;
            return this;
        }

        /**
         * @param ipTags One or more `ip_tag` blocks as defined above. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder ipTags(List ipTags) {
            return ipTags(Output.of(ipTags));
        }

        /**
         * @param ipTags One or more `ip_tag` blocks as defined above. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder ipTags(LinuxVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddressIpTagArgs... ipTags) {
            return ipTags(List.of(ipTags));
        }

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

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

        /**
         * @param publicIpPrefixId The ID of the Public IP Address Prefix from where Public IP Addresses should be allocated. Changing this forces a new resource to be created.
         * 
         * > **Note:** This functionality is in Preview and must be opted into via `az feature register --namespace Microsoft.Network --name AllowBringYourOwnPublicIpAddress` and then `az provider register -n Microsoft.Network`.
         * 
         * @return builder
         * 
         */
        public Builder publicIpPrefixId(@Nullable Output publicIpPrefixId) {
            $.publicIpPrefixId = publicIpPrefixId;
            return this;
        }

        /**
         * @param publicIpPrefixId The ID of the Public IP Address Prefix from where Public IP Addresses should be allocated. Changing this forces a new resource to be created.
         * 
         * > **Note:** This functionality is in Preview and must be opted into via `az feature register --namespace Microsoft.Network --name AllowBringYourOwnPublicIpAddress` and then `az provider register -n Microsoft.Network`.
         * 
         * @return builder
         * 
         */
        public Builder publicIpPrefixId(String publicIpPrefixId) {
            return publicIpPrefixId(Output.of(publicIpPrefixId));
        }

        /**
         * @param version The Internet Protocol Version which should be used for this public IP address. Possible values are `IPv4` and `IPv6`. Defaults to `IPv4`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version The Internet Protocol Version which should be used for this public IP address. Possible values are `IPv4` and `IPv6`. Defaults to `IPv4`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy