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

com.pulumi.azurenative.appplatform.inputs.NetworkProfileArgs Maven / Gradle / Ivy

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

import com.pulumi.azurenative.appplatform.inputs.IngressConfigArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Service network profile payload
 * 
 */
public final class NetworkProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final NetworkProfileArgs Empty = new NetworkProfileArgs();

    /**
     * Name of the resource group containing network resources for customer apps in Azure Spring Apps
     * 
     */
    @Import(name="appNetworkResourceGroup")
    private @Nullable Output appNetworkResourceGroup;

    /**
     * @return Name of the resource group containing network resources for customer apps in Azure Spring Apps
     * 
     */
    public Optional> appNetworkResourceGroup() {
        return Optional.ofNullable(this.appNetworkResourceGroup);
    }

    /**
     * Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps
     * 
     */
    @Import(name="appSubnetId")
    private @Nullable Output appSubnetId;

    /**
     * @return Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps
     * 
     */
    public Optional> appSubnetId() {
        return Optional.ofNullable(this.appSubnetId);
    }

    /**
     * Ingress configuration payload for Azure Spring Apps resource.
     * 
     */
    @Import(name="ingressConfig")
    private @Nullable Output ingressConfig;

    /**
     * @return Ingress configuration payload for Azure Spring Apps resource.
     * 
     */
    public Optional> ingressConfig() {
        return Optional.ofNullable(this.ingressConfig);
    }

    /**
     * The egress traffic type of Azure Spring Apps VNet instances.
     * 
     */
    @Import(name="outboundType")
    private @Nullable Output outboundType;

    /**
     * @return The egress traffic type of Azure Spring Apps VNet instances.
     * 
     */
    public Optional> outboundType() {
        return Optional.ofNullable(this.outboundType);
    }

    /**
     * Azure Spring Apps service reserved CIDR
     * 
     */
    @Import(name="serviceCidr")
    private @Nullable Output serviceCidr;

    /**
     * @return Azure Spring Apps service reserved CIDR
     * 
     */
    public Optional> serviceCidr() {
        return Optional.ofNullable(this.serviceCidr);
    }

    /**
     * Name of the resource group containing network resources of Azure Spring Apps Service Runtime
     * 
     */
    @Import(name="serviceRuntimeNetworkResourceGroup")
    private @Nullable Output serviceRuntimeNetworkResourceGroup;

    /**
     * @return Name of the resource group containing network resources of Azure Spring Apps Service Runtime
     * 
     */
    public Optional> serviceRuntimeNetworkResourceGroup() {
        return Optional.ofNullable(this.serviceRuntimeNetworkResourceGroup);
    }

    /**
     * Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime
     * 
     */
    @Import(name="serviceRuntimeSubnetId")
    private @Nullable Output serviceRuntimeSubnetId;

    /**
     * @return Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime
     * 
     */
    public Optional> serviceRuntimeSubnetId() {
        return Optional.ofNullable(this.serviceRuntimeSubnetId);
    }

    private NetworkProfileArgs() {}

    private NetworkProfileArgs(NetworkProfileArgs $) {
        this.appNetworkResourceGroup = $.appNetworkResourceGroup;
        this.appSubnetId = $.appSubnetId;
        this.ingressConfig = $.ingressConfig;
        this.outboundType = $.outboundType;
        this.serviceCidr = $.serviceCidr;
        this.serviceRuntimeNetworkResourceGroup = $.serviceRuntimeNetworkResourceGroup;
        this.serviceRuntimeSubnetId = $.serviceRuntimeSubnetId;
    }

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

    public static final class Builder {
        private NetworkProfileArgs $;

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

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

        /**
         * @param appNetworkResourceGroup Name of the resource group containing network resources for customer apps in Azure Spring Apps
         * 
         * @return builder
         * 
         */
        public Builder appNetworkResourceGroup(@Nullable Output appNetworkResourceGroup) {
            $.appNetworkResourceGroup = appNetworkResourceGroup;
            return this;
        }

        /**
         * @param appNetworkResourceGroup Name of the resource group containing network resources for customer apps in Azure Spring Apps
         * 
         * @return builder
         * 
         */
        public Builder appNetworkResourceGroup(String appNetworkResourceGroup) {
            return appNetworkResourceGroup(Output.of(appNetworkResourceGroup));
        }

        /**
         * @param appSubnetId Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps
         * 
         * @return builder
         * 
         */
        public Builder appSubnetId(@Nullable Output appSubnetId) {
            $.appSubnetId = appSubnetId;
            return this;
        }

        /**
         * @param appSubnetId Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps
         * 
         * @return builder
         * 
         */
        public Builder appSubnetId(String appSubnetId) {
            return appSubnetId(Output.of(appSubnetId));
        }

        /**
         * @param ingressConfig Ingress configuration payload for Azure Spring Apps resource.
         * 
         * @return builder
         * 
         */
        public Builder ingressConfig(@Nullable Output ingressConfig) {
            $.ingressConfig = ingressConfig;
            return this;
        }

        /**
         * @param ingressConfig Ingress configuration payload for Azure Spring Apps resource.
         * 
         * @return builder
         * 
         */
        public Builder ingressConfig(IngressConfigArgs ingressConfig) {
            return ingressConfig(Output.of(ingressConfig));
        }

        /**
         * @param outboundType The egress traffic type of Azure Spring Apps VNet instances.
         * 
         * @return builder
         * 
         */
        public Builder outboundType(@Nullable Output outboundType) {
            $.outboundType = outboundType;
            return this;
        }

        /**
         * @param outboundType The egress traffic type of Azure Spring Apps VNet instances.
         * 
         * @return builder
         * 
         */
        public Builder outboundType(String outboundType) {
            return outboundType(Output.of(outboundType));
        }

        /**
         * @param serviceCidr Azure Spring Apps service reserved CIDR
         * 
         * @return builder
         * 
         */
        public Builder serviceCidr(@Nullable Output serviceCidr) {
            $.serviceCidr = serviceCidr;
            return this;
        }

        /**
         * @param serviceCidr Azure Spring Apps service reserved CIDR
         * 
         * @return builder
         * 
         */
        public Builder serviceCidr(String serviceCidr) {
            return serviceCidr(Output.of(serviceCidr));
        }

        /**
         * @param serviceRuntimeNetworkResourceGroup Name of the resource group containing network resources of Azure Spring Apps Service Runtime
         * 
         * @return builder
         * 
         */
        public Builder serviceRuntimeNetworkResourceGroup(@Nullable Output serviceRuntimeNetworkResourceGroup) {
            $.serviceRuntimeNetworkResourceGroup = serviceRuntimeNetworkResourceGroup;
            return this;
        }

        /**
         * @param serviceRuntimeNetworkResourceGroup Name of the resource group containing network resources of Azure Spring Apps Service Runtime
         * 
         * @return builder
         * 
         */
        public Builder serviceRuntimeNetworkResourceGroup(String serviceRuntimeNetworkResourceGroup) {
            return serviceRuntimeNetworkResourceGroup(Output.of(serviceRuntimeNetworkResourceGroup));
        }

        /**
         * @param serviceRuntimeSubnetId Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime
         * 
         * @return builder
         * 
         */
        public Builder serviceRuntimeSubnetId(@Nullable Output serviceRuntimeSubnetId) {
            $.serviceRuntimeSubnetId = serviceRuntimeSubnetId;
            return this;
        }

        /**
         * @param serviceRuntimeSubnetId Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime
         * 
         * @return builder
         * 
         */
        public Builder serviceRuntimeSubnetId(String serviceRuntimeSubnetId) {
            return serviceRuntimeSubnetId(Output.of(serviceRuntimeSubnetId));
        }

        public NetworkProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy