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

com.pulumi.azure.network.VirtualWanArgs 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.network;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class VirtualWanArgs extends com.pulumi.resources.ResourceArgs {

    public static final VirtualWanArgs Empty = new VirtualWanArgs();

    /**
     * Boolean flag to specify whether branch to branch traffic is allowed. Defaults to `true`.
     * 
     */
    @Import(name="allowBranchToBranchTraffic")
    private @Nullable Output allowBranchToBranchTraffic;

    /**
     * @return Boolean flag to specify whether branch to branch traffic is allowed. Defaults to `true`.
     * 
     */
    public Optional> allowBranchToBranchTraffic() {
        return Optional.ofNullable(this.allowBranchToBranchTraffic);
    }

    /**
     * Boolean flag to specify whether VPN encryption is disabled. Defaults to `false`.
     * 
     */
    @Import(name="disableVpnEncryption")
    private @Nullable Output disableVpnEncryption;

    /**
     * @return Boolean flag to specify whether VPN encryption is disabled. Defaults to `false`.
     * 
     */
    public Optional> disableVpnEncryption() {
        return Optional.ofNullable(this.disableVpnEncryption);
    }

    /**
     * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Specifies the name of the Virtual WAN. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name of the Virtual WAN. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Specifies the Office365 local breakout category. Possible values include: `Optimize`, `OptimizeAndAllow`, `All`, `None`. Defaults to `None`.
     * 
     */
    @Import(name="office365LocalBreakoutCategory")
    private @Nullable Output office365LocalBreakoutCategory;

    /**
     * @return Specifies the Office365 local breakout category. Possible values include: `Optimize`, `OptimizeAndAllow`, `All`, `None`. Defaults to `None`.
     * 
     */
    public Optional> office365LocalBreakoutCategory() {
        return Optional.ofNullable(this.office365LocalBreakoutCategory);
    }

    /**
     * The name of the resource group in which to create the Virtual WAN. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group in which to create the Virtual WAN. Changing this forces a new resource to be created.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * A mapping of tags to assign to the Virtual WAN.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A mapping of tags to assign to the Virtual WAN.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Specifies the Virtual WAN type. Possible Values include: `Basic` and `Standard`. Defaults to `Standard`.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return Specifies the Virtual WAN type. Possible Values include: `Basic` and `Standard`. Defaults to `Standard`.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private VirtualWanArgs() {}

    private VirtualWanArgs(VirtualWanArgs $) {
        this.allowBranchToBranchTraffic = $.allowBranchToBranchTraffic;
        this.disableVpnEncryption = $.disableVpnEncryption;
        this.location = $.location;
        this.name = $.name;
        this.office365LocalBreakoutCategory = $.office365LocalBreakoutCategory;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
        this.type = $.type;
    }

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

    public static final class Builder {
        private VirtualWanArgs $;

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

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

        /**
         * @param allowBranchToBranchTraffic Boolean flag to specify whether branch to branch traffic is allowed. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder allowBranchToBranchTraffic(@Nullable Output allowBranchToBranchTraffic) {
            $.allowBranchToBranchTraffic = allowBranchToBranchTraffic;
            return this;
        }

        /**
         * @param allowBranchToBranchTraffic Boolean flag to specify whether branch to branch traffic is allowed. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder allowBranchToBranchTraffic(Boolean allowBranchToBranchTraffic) {
            return allowBranchToBranchTraffic(Output.of(allowBranchToBranchTraffic));
        }

        /**
         * @param disableVpnEncryption Boolean flag to specify whether VPN encryption is disabled. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder disableVpnEncryption(@Nullable Output disableVpnEncryption) {
            $.disableVpnEncryption = disableVpnEncryption;
            return this;
        }

        /**
         * @param disableVpnEncryption Boolean flag to specify whether VPN encryption is disabled. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder disableVpnEncryption(Boolean disableVpnEncryption) {
            return disableVpnEncryption(Output.of(disableVpnEncryption));
        }

        /**
         * @param location Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param name Specifies the name of the Virtual WAN. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name of the Virtual WAN. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param office365LocalBreakoutCategory Specifies the Office365 local breakout category. Possible values include: `Optimize`, `OptimizeAndAllow`, `All`, `None`. Defaults to `None`.
         * 
         * @return builder
         * 
         */
        public Builder office365LocalBreakoutCategory(@Nullable Output office365LocalBreakoutCategory) {
            $.office365LocalBreakoutCategory = office365LocalBreakoutCategory;
            return this;
        }

        /**
         * @param office365LocalBreakoutCategory Specifies the Office365 local breakout category. Possible values include: `Optimize`, `OptimizeAndAllow`, `All`, `None`. Defaults to `None`.
         * 
         * @return builder
         * 
         */
        public Builder office365LocalBreakoutCategory(String office365LocalBreakoutCategory) {
            return office365LocalBreakoutCategory(Output.of(office365LocalBreakoutCategory));
        }

        /**
         * @param resourceGroupName The name of the resource group in which to create the Virtual WAN. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group in which to create the Virtual WAN. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags A mapping of tags to assign to the Virtual WAN.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags to assign to the Virtual WAN.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param type Specifies the Virtual WAN type. Possible Values include: `Basic` and `Standard`. Defaults to `Standard`.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Specifies the Virtual WAN type. Possible Values include: `Basic` and `Standard`. Defaults to `Standard`.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public VirtualWanArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("VirtualWanArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy