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

com.pulumi.azure.hsm.inputs.ModuleManagementNetworkProfileArgs 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.hsm.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;


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

    public static final ModuleManagementNetworkProfileArgs Empty = new ModuleManagementNetworkProfileArgs();

    /**
     * The private IPv4 address of the network interface. Changing this forces a new Dedicated Hardware Security Module to be created.
     * 
     */
    @Import(name="networkInterfacePrivateIpAddresses", required=true)
    private Output> networkInterfacePrivateIpAddresses;

    /**
     * @return The private IPv4 address of the network interface. Changing this forces a new Dedicated Hardware Security Module to be created.
     * 
     */
    public Output> networkInterfacePrivateIpAddresses() {
        return this.networkInterfacePrivateIpAddresses;
    }

    /**
     * The ID of the subnet. Changing this forces a new Dedicated Hardware Security Module to be created.
     * 
     */
    @Import(name="subnetId", required=true)
    private Output subnetId;

    /**
     * @return The ID of the subnet. Changing this forces a new Dedicated Hardware Security Module to be created.
     * 
     */
    public Output subnetId() {
        return this.subnetId;
    }

    private ModuleManagementNetworkProfileArgs() {}

    private ModuleManagementNetworkProfileArgs(ModuleManagementNetworkProfileArgs $) {
        this.networkInterfacePrivateIpAddresses = $.networkInterfacePrivateIpAddresses;
        this.subnetId = $.subnetId;
    }

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

    public static final class Builder {
        private ModuleManagementNetworkProfileArgs $;

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

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

        /**
         * @param networkInterfacePrivateIpAddresses The private IPv4 address of the network interface. Changing this forces a new Dedicated Hardware Security Module to be created.
         * 
         * @return builder
         * 
         */
        public Builder networkInterfacePrivateIpAddresses(Output> networkInterfacePrivateIpAddresses) {
            $.networkInterfacePrivateIpAddresses = networkInterfacePrivateIpAddresses;
            return this;
        }

        /**
         * @param networkInterfacePrivateIpAddresses The private IPv4 address of the network interface. Changing this forces a new Dedicated Hardware Security Module to be created.
         * 
         * @return builder
         * 
         */
        public Builder networkInterfacePrivateIpAddresses(List networkInterfacePrivateIpAddresses) {
            return networkInterfacePrivateIpAddresses(Output.of(networkInterfacePrivateIpAddresses));
        }

        /**
         * @param networkInterfacePrivateIpAddresses The private IPv4 address of the network interface. Changing this forces a new Dedicated Hardware Security Module to be created.
         * 
         * @return builder
         * 
         */
        public Builder networkInterfacePrivateIpAddresses(String... networkInterfacePrivateIpAddresses) {
            return networkInterfacePrivateIpAddresses(List.of(networkInterfacePrivateIpAddresses));
        }

        /**
         * @param subnetId The ID of the subnet. Changing this forces a new Dedicated Hardware Security Module to be created.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(Output subnetId) {
            $.subnetId = subnetId;
            return this;
        }

        /**
         * @param subnetId The ID of the subnet. Changing this forces a new Dedicated Hardware Security Module to be created.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(String subnetId) {
            return subnetId(Output.of(subnetId));
        }

        public ModuleManagementNetworkProfileArgs build() {
            if ($.networkInterfacePrivateIpAddresses == null) {
                throw new MissingRequiredPropertyException("ModuleManagementNetworkProfileArgs", "networkInterfacePrivateIpAddresses");
            }
            if ($.subnetId == null) {
                throw new MissingRequiredPropertyException("ModuleManagementNetworkProfileArgs", "subnetId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy