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

com.pulumi.azurenative.managednetworkfabric.inputs.TerminalServerConfigurationArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.managednetworkfabric.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;


/**
 * Network and credentials configuration currently applied to terminal server.
 * 
 */
public final class TerminalServerConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final TerminalServerConfigurationArgs Empty = new TerminalServerConfigurationArgs();

    /**
     * Password for the terminal server connection.
     * 
     */
    @Import(name="password", required=true)
    private Output password;

    /**
     * @return Password for the terminal server connection.
     * 
     */
    public Output password() {
        return this.password;
    }

    /**
     * IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.0/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
     * 
     */
    @Import(name="primaryIpv4Prefix", required=true)
    private Output primaryIpv4Prefix;

    /**
     * @return IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.0/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
     * 
     */
    public Output primaryIpv4Prefix() {
        return this.primaryIpv4Prefix;
    }

    /**
     * IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a0/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
     * 
     */
    @Import(name="primaryIpv6Prefix")
    private @Nullable Output primaryIpv6Prefix;

    /**
     * @return IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a0/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
     * 
     */
    public Optional> primaryIpv6Prefix() {
        return Optional.ofNullable(this.primaryIpv6Prefix);
    }

    /**
     * Secondary IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.20/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
     * 
     */
    @Import(name="secondaryIpv4Prefix", required=true)
    private Output secondaryIpv4Prefix;

    /**
     * @return Secondary IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.20/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
     * 
     */
    public Output secondaryIpv4Prefix() {
        return this.secondaryIpv4Prefix;
    }

    /**
     * Secondary IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a4/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
     * 
     */
    @Import(name="secondaryIpv6Prefix")
    private @Nullable Output secondaryIpv6Prefix;

    /**
     * @return Secondary IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a4/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
     * 
     */
    public Optional> secondaryIpv6Prefix() {
        return Optional.ofNullable(this.secondaryIpv6Prefix);
    }

    /**
     * Serial Number of Terminal server.
     * 
     */
    @Import(name="serialNumber")
    private @Nullable Output serialNumber;

    /**
     * @return Serial Number of Terminal server.
     * 
     */
    public Optional> serialNumber() {
        return Optional.ofNullable(this.serialNumber);
    }

    /**
     * Username for the terminal server connection.
     * 
     */
    @Import(name="username", required=true)
    private Output username;

    /**
     * @return Username for the terminal server connection.
     * 
     */
    public Output username() {
        return this.username;
    }

    private TerminalServerConfigurationArgs() {}

    private TerminalServerConfigurationArgs(TerminalServerConfigurationArgs $) {
        this.password = $.password;
        this.primaryIpv4Prefix = $.primaryIpv4Prefix;
        this.primaryIpv6Prefix = $.primaryIpv6Prefix;
        this.secondaryIpv4Prefix = $.secondaryIpv4Prefix;
        this.secondaryIpv6Prefix = $.secondaryIpv6Prefix;
        this.serialNumber = $.serialNumber;
        this.username = $.username;
    }

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

    public static final class Builder {
        private TerminalServerConfigurationArgs $;

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

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

        /**
         * @param password Password for the terminal server connection.
         * 
         * @return builder
         * 
         */
        public Builder password(Output password) {
            $.password = password;
            return this;
        }

        /**
         * @param password Password for the terminal server connection.
         * 
         * @return builder
         * 
         */
        public Builder password(String password) {
            return password(Output.of(password));
        }

        /**
         * @param primaryIpv4Prefix IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.0/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
         * 
         * @return builder
         * 
         */
        public Builder primaryIpv4Prefix(Output primaryIpv4Prefix) {
            $.primaryIpv4Prefix = primaryIpv4Prefix;
            return this;
        }

        /**
         * @param primaryIpv4Prefix IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.0/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
         * 
         * @return builder
         * 
         */
        public Builder primaryIpv4Prefix(String primaryIpv4Prefix) {
            return primaryIpv4Prefix(Output.of(primaryIpv4Prefix));
        }

        /**
         * @param primaryIpv6Prefix IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a0/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
         * 
         * @return builder
         * 
         */
        public Builder primaryIpv6Prefix(@Nullable Output primaryIpv6Prefix) {
            $.primaryIpv6Prefix = primaryIpv6Prefix;
            return this;
        }

        /**
         * @param primaryIpv6Prefix IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a0/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
         * 
         * @return builder
         * 
         */
        public Builder primaryIpv6Prefix(String primaryIpv6Prefix) {
            return primaryIpv6Prefix(Output.of(primaryIpv6Prefix));
        }

        /**
         * @param secondaryIpv4Prefix Secondary IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.20/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
         * 
         * @return builder
         * 
         */
        public Builder secondaryIpv4Prefix(Output secondaryIpv4Prefix) {
            $.secondaryIpv4Prefix = secondaryIpv4Prefix;
            return this;
        }

        /**
         * @param secondaryIpv4Prefix Secondary IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.20/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
         * 
         * @return builder
         * 
         */
        public Builder secondaryIpv4Prefix(String secondaryIpv4Prefix) {
            return secondaryIpv4Prefix(Output.of(secondaryIpv4Prefix));
        }

        /**
         * @param secondaryIpv6Prefix Secondary IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a4/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
         * 
         * @return builder
         * 
         */
        public Builder secondaryIpv6Prefix(@Nullable Output secondaryIpv6Prefix) {
            $.secondaryIpv6Prefix = secondaryIpv6Prefix;
            return this;
        }

        /**
         * @param secondaryIpv6Prefix Secondary IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a4/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces.
         * 
         * @return builder
         * 
         */
        public Builder secondaryIpv6Prefix(String secondaryIpv6Prefix) {
            return secondaryIpv6Prefix(Output.of(secondaryIpv6Prefix));
        }

        /**
         * @param serialNumber Serial Number of Terminal server.
         * 
         * @return builder
         * 
         */
        public Builder serialNumber(@Nullable Output serialNumber) {
            $.serialNumber = serialNumber;
            return this;
        }

        /**
         * @param serialNumber Serial Number of Terminal server.
         * 
         * @return builder
         * 
         */
        public Builder serialNumber(String serialNumber) {
            return serialNumber(Output.of(serialNumber));
        }

        /**
         * @param username Username for the terminal server connection.
         * 
         * @return builder
         * 
         */
        public Builder username(Output username) {
            $.username = username;
            return this;
        }

        /**
         * @param username Username for the terminal server connection.
         * 
         * @return builder
         * 
         */
        public Builder username(String username) {
            return username(Output.of(username));
        }

        public TerminalServerConfigurationArgs build() {
            if ($.password == null) {
                throw new MissingRequiredPropertyException("TerminalServerConfigurationArgs", "password");
            }
            if ($.primaryIpv4Prefix == null) {
                throw new MissingRequiredPropertyException("TerminalServerConfigurationArgs", "primaryIpv4Prefix");
            }
            if ($.secondaryIpv4Prefix == null) {
                throw new MissingRequiredPropertyException("TerminalServerConfigurationArgs", "secondaryIpv4Prefix");
            }
            if ($.username == null) {
                throw new MissingRequiredPropertyException("TerminalServerConfigurationArgs", "username");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy