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

com.pulumi.azure.containerservice.outputs.KubernetesClusterNodePoolWindowsProfile 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.containerservice.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class KubernetesClusterNodePoolWindowsProfile {
    /**
     * @return Should the Windows nodes in this Node Pool have outbound NAT enabled? Defaults to `true`. Changing this forces a new resource to be created.
     * 
     * > **Note:** If a percentage is provided, the number of surge nodes is calculated from the current node count on the cluster. Node surge can allow a cluster to have more nodes than `max_count` during an upgrade. Ensure that your cluster has enough [IP space](https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade) during an upgrade.
     * 
     */
    private @Nullable Boolean outboundNatEnabled;

    private KubernetesClusterNodePoolWindowsProfile() {}
    /**
     * @return Should the Windows nodes in this Node Pool have outbound NAT enabled? Defaults to `true`. Changing this forces a new resource to be created.
     * 
     * > **Note:** If a percentage is provided, the number of surge nodes is calculated from the current node count on the cluster. Node surge can allow a cluster to have more nodes than `max_count` during an upgrade. Ensure that your cluster has enough [IP space](https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade) during an upgrade.
     * 
     */
    public Optional outboundNatEnabled() {
        return Optional.ofNullable(this.outboundNatEnabled);
    }

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

    public static Builder builder(KubernetesClusterNodePoolWindowsProfile defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean outboundNatEnabled;
        public Builder() {}
        public Builder(KubernetesClusterNodePoolWindowsProfile defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.outboundNatEnabled = defaults.outboundNatEnabled;
        }

        @CustomType.Setter
        public Builder outboundNatEnabled(@Nullable Boolean outboundNatEnabled) {

            this.outboundNatEnabled = outboundNatEnabled;
            return this;
        }
        public KubernetesClusterNodePoolWindowsProfile build() {
            final var _resultValue = new KubernetesClusterNodePoolWindowsProfile();
            _resultValue.outboundNatEnabled = outboundNatEnabled;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy