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

com.pulumi.azurenative.hybridcontainerservice.outputs.LoadBalancerProfileResponse Maven / Gradle / Ivy

The 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.hybridcontainerservice.outputs;

import com.pulumi.azurenative.hybridcontainerservice.outputs.CloudProviderProfileResponse;
import com.pulumi.azurenative.hybridcontainerservice.outputs.LinuxProfilePropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class LoadBalancerProfileResponse {
    /**
     * @return AvailabilityZones - The list of Availability zones to use for nodes. Datacenter racks modelled as zones
     * 
     */
    private @Nullable List availabilityZones;
    /**
     * @return The underlying cloud infra provider properties.
     * 
     */
    private @Nullable CloudProviderProfileResponse cloudProviderProfile;
    /**
     * @return Count - Number of agents to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1.
     * 
     */
    private @Nullable Integer count;
    /**
     * @return Profile for Linux VMs in the container service cluster.
     * 
     */
    private @Nullable LinuxProfilePropertiesResponse linuxProfile;
    /**
     * @return The maximum number of nodes for auto-scaling
     * 
     */
    private @Nullable Integer maxCount;
    /**
     * @return The maximum number of pods that can run on a node.
     * 
     */
    private @Nullable Integer maxPods;
    /**
     * @return The minimum number of nodes for auto-scaling
     * 
     */
    private @Nullable Integer minCount;
    /**
     * @return Mode - AgentPoolMode represents mode of an agent pool. Possible values include: 'System', 'LB', 'User'. Default is 'User'
     * 
     */
    private @Nullable String mode;
    /**
     * @return Unique name of the agent pool profile in the context of the subscription and resource group.
     * 
     */
    private @Nullable String name;
    /**
     * @return The version of node image
     * 
     */
    private @Nullable String nodeImageVersion;
    /**
     * @return NodeLabels - Agent pool node labels to be persisted across all nodes in agent pool.
     * 
     */
    private @Nullable Map nodeLabels;
    /**
     * @return NodeTaints - Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
     * 
     */
    private @Nullable List nodeTaints;
    /**
     * @return OsType - OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'
     * 
     */
    private @Nullable String osType;
    /**
     * @return VmSize - The size of the agent pool VMs.
     * 
     */
    private @Nullable String vmSize;

    private LoadBalancerProfileResponse() {}
    /**
     * @return AvailabilityZones - The list of Availability zones to use for nodes. Datacenter racks modelled as zones
     * 
     */
    public List availabilityZones() {
        return this.availabilityZones == null ? List.of() : this.availabilityZones;
    }
    /**
     * @return The underlying cloud infra provider properties.
     * 
     */
    public Optional cloudProviderProfile() {
        return Optional.ofNullable(this.cloudProviderProfile);
    }
    /**
     * @return Count - Number of agents to host docker containers. 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);
    }
    /**
     * @return Profile for Linux VMs in the container service cluster.
     * 
     */
    public Optional linuxProfile() {
        return Optional.ofNullable(this.linuxProfile);
    }
    /**
     * @return The maximum number of nodes for auto-scaling
     * 
     */
    public Optional maxCount() {
        return Optional.ofNullable(this.maxCount);
    }
    /**
     * @return The maximum number of pods that can run on a node.
     * 
     */
    public Optional maxPods() {
        return Optional.ofNullable(this.maxPods);
    }
    /**
     * @return The minimum number of nodes for auto-scaling
     * 
     */
    public Optional minCount() {
        return Optional.ofNullable(this.minCount);
    }
    /**
     * @return Mode - AgentPoolMode represents mode of an agent pool. Possible values include: 'System', 'LB', 'User'. Default is 'User'
     * 
     */
    public Optional mode() {
        return Optional.ofNullable(this.mode);
    }
    /**
     * @return Unique name of the agent pool profile in the context of the subscription and resource group.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return The version of node image
     * 
     */
    public Optional nodeImageVersion() {
        return Optional.ofNullable(this.nodeImageVersion);
    }
    /**
     * @return NodeLabels - Agent pool node labels to be persisted across all nodes in agent pool.
     * 
     */
    public Map nodeLabels() {
        return this.nodeLabels == null ? Map.of() : this.nodeLabels;
    }
    /**
     * @return NodeTaints - Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
     * 
     */
    public List nodeTaints() {
        return this.nodeTaints == null ? List.of() : this.nodeTaints;
    }
    /**
     * @return OsType - OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'
     * 
     */
    public Optional osType() {
        return Optional.ofNullable(this.osType);
    }
    /**
     * @return VmSize - The size of the agent pool VMs.
     * 
     */
    public Optional vmSize() {
        return Optional.ofNullable(this.vmSize);
    }

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

    public static Builder builder(LoadBalancerProfileResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List availabilityZones;
        private @Nullable CloudProviderProfileResponse cloudProviderProfile;
        private @Nullable Integer count;
        private @Nullable LinuxProfilePropertiesResponse linuxProfile;
        private @Nullable Integer maxCount;
        private @Nullable Integer maxPods;
        private @Nullable Integer minCount;
        private @Nullable String mode;
        private @Nullable String name;
        private @Nullable String nodeImageVersion;
        private @Nullable Map nodeLabels;
        private @Nullable List nodeTaints;
        private @Nullable String osType;
        private @Nullable String vmSize;
        public Builder() {}
        public Builder(LoadBalancerProfileResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.availabilityZones = defaults.availabilityZones;
    	      this.cloudProviderProfile = defaults.cloudProviderProfile;
    	      this.count = defaults.count;
    	      this.linuxProfile = defaults.linuxProfile;
    	      this.maxCount = defaults.maxCount;
    	      this.maxPods = defaults.maxPods;
    	      this.minCount = defaults.minCount;
    	      this.mode = defaults.mode;
    	      this.name = defaults.name;
    	      this.nodeImageVersion = defaults.nodeImageVersion;
    	      this.nodeLabels = defaults.nodeLabels;
    	      this.nodeTaints = defaults.nodeTaints;
    	      this.osType = defaults.osType;
    	      this.vmSize = defaults.vmSize;
        }

        @CustomType.Setter
        public Builder availabilityZones(@Nullable List availabilityZones) {

            this.availabilityZones = availabilityZones;
            return this;
        }
        public Builder availabilityZones(String... availabilityZones) {
            return availabilityZones(List.of(availabilityZones));
        }
        @CustomType.Setter
        public Builder cloudProviderProfile(@Nullable CloudProviderProfileResponse cloudProviderProfile) {

            this.cloudProviderProfile = cloudProviderProfile;
            return this;
        }
        @CustomType.Setter
        public Builder count(@Nullable Integer count) {

            this.count = count;
            return this;
        }
        @CustomType.Setter
        public Builder linuxProfile(@Nullable LinuxProfilePropertiesResponse linuxProfile) {

            this.linuxProfile = linuxProfile;
            return this;
        }
        @CustomType.Setter
        public Builder maxCount(@Nullable Integer maxCount) {

            this.maxCount = maxCount;
            return this;
        }
        @CustomType.Setter
        public Builder maxPods(@Nullable Integer maxPods) {

            this.maxPods = maxPods;
            return this;
        }
        @CustomType.Setter
        public Builder minCount(@Nullable Integer minCount) {

            this.minCount = minCount;
            return this;
        }
        @CustomType.Setter
        public Builder mode(@Nullable String mode) {

            this.mode = mode;
            return this;
        }
        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder nodeImageVersion(@Nullable String nodeImageVersion) {

            this.nodeImageVersion = nodeImageVersion;
            return this;
        }
        @CustomType.Setter
        public Builder nodeLabels(@Nullable Map nodeLabels) {

            this.nodeLabels = nodeLabels;
            return this;
        }
        @CustomType.Setter
        public Builder nodeTaints(@Nullable List nodeTaints) {

            this.nodeTaints = nodeTaints;
            return this;
        }
        public Builder nodeTaints(String... nodeTaints) {
            return nodeTaints(List.of(nodeTaints));
        }
        @CustomType.Setter
        public Builder osType(@Nullable String osType) {

            this.osType = osType;
            return this;
        }
        @CustomType.Setter
        public Builder vmSize(@Nullable String vmSize) {

            this.vmSize = vmSize;
            return this;
        }
        public LoadBalancerProfileResponse build() {
            final var _resultValue = new LoadBalancerProfileResponse();
            _resultValue.availabilityZones = availabilityZones;
            _resultValue.cloudProviderProfile = cloudProviderProfile;
            _resultValue.count = count;
            _resultValue.linuxProfile = linuxProfile;
            _resultValue.maxCount = maxCount;
            _resultValue.maxPods = maxPods;
            _resultValue.minCount = minCount;
            _resultValue.mode = mode;
            _resultValue.name = name;
            _resultValue.nodeImageVersion = nodeImageVersion;
            _resultValue.nodeLabels = nodeLabels;
            _resultValue.nodeTaints = nodeTaints;
            _resultValue.osType = osType;
            _resultValue.vmSize = vmSize;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy