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

com.pulumi.azurenative.hybridcontainerservice.inputs.VirtualNetworksPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.hybridcontainerservice.inputs;

import com.pulumi.azurenative.hybridcontainerservice.inputs.VirtualNetworksPropertiesInfraVnetProfileArgs;
import com.pulumi.azurenative.hybridcontainerservice.inputs.VirtualNetworksPropertiesVipPoolArgs;
import com.pulumi.azurenative.hybridcontainerservice.inputs.VirtualNetworksPropertiesVmipPoolArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * HybridAKSNetworkSpec defines the desired state of HybridAKSNetwork
 * 
 */
public final class VirtualNetworksPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final VirtualNetworksPropertiesArgs Empty = new VirtualNetworksPropertiesArgs();

    /**
     * Address of the DNS servers associated with the network
     * 
     */
    @Import(name="dnsServers")
    private @Nullable Output> dnsServers;

    /**
     * @return Address of the DNS servers associated with the network
     * 
     */
    public Optional>> dnsServers() {
        return Optional.ofNullable(this.dnsServers);
    }

    /**
     * Address of the Gateway associated with the network
     * 
     */
    @Import(name="gateway")
    private @Nullable Output gateway;

    /**
     * @return Address of the Gateway associated with the network
     * 
     */
    public Optional> gateway() {
        return Optional.ofNullable(this.gateway);
    }

    @Import(name="infraVnetProfile")
    private @Nullable Output infraVnetProfile;

    public Optional> infraVnetProfile() {
        return Optional.ofNullable(this.infraVnetProfile);
    }

    /**
     * IP Address Prefix of the network
     * 
     */
    @Import(name="ipAddressPrefix")
    private @Nullable Output ipAddressPrefix;

    /**
     * @return IP Address Prefix of the network
     * 
     */
    public Optional> ipAddressPrefix() {
        return Optional.ofNullable(this.ipAddressPrefix);
    }

    /**
     * Virtual IP Pool for Kubernetes
     * 
     */
    @Import(name="vipPool")
    private @Nullable Output> vipPool;

    /**
     * @return Virtual IP Pool for Kubernetes
     * 
     */
    public Optional>> vipPool() {
        return Optional.ofNullable(this.vipPool);
    }

    /**
     * IP Pool for Virtual Machines
     * 
     */
    @Import(name="vmipPool")
    private @Nullable Output> vmipPool;

    /**
     * @return IP Pool for Virtual Machines
     * 
     */
    public Optional>> vmipPool() {
        return Optional.ofNullable(this.vmipPool);
    }

    private VirtualNetworksPropertiesArgs() {}

    private VirtualNetworksPropertiesArgs(VirtualNetworksPropertiesArgs $) {
        this.dnsServers = $.dnsServers;
        this.gateway = $.gateway;
        this.infraVnetProfile = $.infraVnetProfile;
        this.ipAddressPrefix = $.ipAddressPrefix;
        this.vipPool = $.vipPool;
        this.vmipPool = $.vmipPool;
    }

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

    public static final class Builder {
        private VirtualNetworksPropertiesArgs $;

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

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

        /**
         * @param dnsServers Address of the DNS servers associated with the network
         * 
         * @return builder
         * 
         */
        public Builder dnsServers(@Nullable Output> dnsServers) {
            $.dnsServers = dnsServers;
            return this;
        }

        /**
         * @param dnsServers Address of the DNS servers associated with the network
         * 
         * @return builder
         * 
         */
        public Builder dnsServers(List dnsServers) {
            return dnsServers(Output.of(dnsServers));
        }

        /**
         * @param dnsServers Address of the DNS servers associated with the network
         * 
         * @return builder
         * 
         */
        public Builder dnsServers(String... dnsServers) {
            return dnsServers(List.of(dnsServers));
        }

        /**
         * @param gateway Address of the Gateway associated with the network
         * 
         * @return builder
         * 
         */
        public Builder gateway(@Nullable Output gateway) {
            $.gateway = gateway;
            return this;
        }

        /**
         * @param gateway Address of the Gateway associated with the network
         * 
         * @return builder
         * 
         */
        public Builder gateway(String gateway) {
            return gateway(Output.of(gateway));
        }

        public Builder infraVnetProfile(@Nullable Output infraVnetProfile) {
            $.infraVnetProfile = infraVnetProfile;
            return this;
        }

        public Builder infraVnetProfile(VirtualNetworksPropertiesInfraVnetProfileArgs infraVnetProfile) {
            return infraVnetProfile(Output.of(infraVnetProfile));
        }

        /**
         * @param ipAddressPrefix IP Address Prefix of the network
         * 
         * @return builder
         * 
         */
        public Builder ipAddressPrefix(@Nullable Output ipAddressPrefix) {
            $.ipAddressPrefix = ipAddressPrefix;
            return this;
        }

        /**
         * @param ipAddressPrefix IP Address Prefix of the network
         * 
         * @return builder
         * 
         */
        public Builder ipAddressPrefix(String ipAddressPrefix) {
            return ipAddressPrefix(Output.of(ipAddressPrefix));
        }

        /**
         * @param vipPool Virtual IP Pool for Kubernetes
         * 
         * @return builder
         * 
         */
        public Builder vipPool(@Nullable Output> vipPool) {
            $.vipPool = vipPool;
            return this;
        }

        /**
         * @param vipPool Virtual IP Pool for Kubernetes
         * 
         * @return builder
         * 
         */
        public Builder vipPool(List vipPool) {
            return vipPool(Output.of(vipPool));
        }

        /**
         * @param vipPool Virtual IP Pool for Kubernetes
         * 
         * @return builder
         * 
         */
        public Builder vipPool(VirtualNetworksPropertiesVipPoolArgs... vipPool) {
            return vipPool(List.of(vipPool));
        }

        /**
         * @param vmipPool IP Pool for Virtual Machines
         * 
         * @return builder
         * 
         */
        public Builder vmipPool(@Nullable Output> vmipPool) {
            $.vmipPool = vmipPool;
            return this;
        }

        /**
         * @param vmipPool IP Pool for Virtual Machines
         * 
         * @return builder
         * 
         */
        public Builder vmipPool(List vmipPool) {
            return vmipPool(Output.of(vmipPool));
        }

        /**
         * @param vmipPool IP Pool for Virtual Machines
         * 
         * @return builder
         * 
         */
        public Builder vmipPool(VirtualNetworksPropertiesVmipPoolArgs... vmipPool) {
            return vmipPool(List.of(vmipPool));
        }

        public VirtualNetworksPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy