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

com.pulumi.azurenative.workloads.inputs.NetworkConfigurationArgs Maven / Gradle / Ivy

// *** 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.workloads.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Defines the network configuration type for SAP system infrastructure that is being deployed
 * 
 */
public final class NetworkConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final NetworkConfigurationArgs Empty = new NetworkConfigurationArgs();

    /**
     * Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
     * 
     */
    @Import(name="isSecondaryIpEnabled")
    private @Nullable Output isSecondaryIpEnabled;

    /**
     * @return Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
     * 
     */
    public Optional> isSecondaryIpEnabled() {
        return Optional.ofNullable(this.isSecondaryIpEnabled);
    }

    private NetworkConfigurationArgs() {}

    private NetworkConfigurationArgs(NetworkConfigurationArgs $) {
        this.isSecondaryIpEnabled = $.isSecondaryIpEnabled;
    }

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

    public static final class Builder {
        private NetworkConfigurationArgs $;

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

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

        /**
         * @param isSecondaryIpEnabled Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
         * 
         * @return builder
         * 
         */
        public Builder isSecondaryIpEnabled(@Nullable Output isSecondaryIpEnabled) {
            $.isSecondaryIpEnabled = isSecondaryIpEnabled;
            return this;
        }

        /**
         * @param isSecondaryIpEnabled Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
         * 
         * @return builder
         * 
         */
        public Builder isSecondaryIpEnabled(Boolean isSecondaryIpEnabled) {
            return isSecondaryIpEnabled(Output.of(isSecondaryIpEnabled));
        }

        public NetworkConfigurationArgs build() {
            $.isSecondaryIpEnabled = Codegen.booleanProp("isSecondaryIpEnabled").output().arg($.isSecondaryIpEnabled).def(false).getNullable();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy