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

com.pulumi.azurenative.containerservice.inputs.ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs 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.containerservice.inputs;

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


/**
 * Desired managed outbound IPs for the cluster load balancer.
 * 
 */
public final class ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs extends com.pulumi.resources.ResourceArgs {

    public static final ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs Empty = new ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs();

    /**
     * The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
     * 
     */
    @Import(name="count")
    private @Nullable Output count;

    /**
     * @return The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
     * 
     */
    public Optional> count() {
        return Optional.ofNullable(this.count);
    }

    /**
     * The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
     * 
     */
    @Import(name="countIPv6")
    private @Nullable Output countIPv6;

    /**
     * @return The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
     * 
     */
    public Optional> countIPv6() {
        return Optional.ofNullable(this.countIPv6);
    }

    private ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs() {}

    private ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs(ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs $) {
        this.count = $.count;
        this.countIPv6 = $.countIPv6;
    }

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

    public static final class Builder {
        private ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs $;

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

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

        /**
         * @param count The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
         * 
         * @return builder
         * 
         */
        public Builder count(@Nullable Output count) {
            $.count = count;
            return this;
        }

        /**
         * @param count The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
         * 
         * @return builder
         * 
         */
        public Builder count(Integer count) {
            return count(Output.of(count));
        }

        /**
         * @param countIPv6 The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
         * 
         * @return builder
         * 
         */
        public Builder countIPv6(@Nullable Output countIPv6) {
            $.countIPv6 = countIPv6;
            return this;
        }

        /**
         * @param countIPv6 The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
         * 
         * @return builder
         * 
         */
        public Builder countIPv6(Integer countIPv6) {
            return countIPv6(Output.of(countIPv6));
        }

        public ManagedClusterLoadBalancerProfileManagedOutboundIPsArgs build() {
            $.count = Codegen.integerProp("count").output().arg($.count).def(1).getNullable();
            $.countIPv6 = Codegen.integerProp("countIPv6").output().arg($.countIPv6).def(0).getNullable();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy