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

com.pulumi.azure.privatelink.inputs.EndpointIpConfigurationArgs 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.privatelink.inputs;

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


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

    public static final EndpointIpConfigurationArgs Empty = new EndpointIpConfigurationArgs();

    /**
     * Specifies the member name this IP address applies to. If it is not specified, it will use the value of `subresource_name`. Changing this forces a new resource to be created.
     * 
     * > **NOTE:** `member_name` will be required and will not take the value of `subresource_name` in the next major version.
     * 
     */
    @Import(name="memberName")
    private @Nullable Output memberName;

    /**
     * @return Specifies the member name this IP address applies to. If it is not specified, it will use the value of `subresource_name`. Changing this forces a new resource to be created.
     * 
     * > **NOTE:** `member_name` will be required and will not take the value of `subresource_name` in the next major version.
     * 
     */
    public Optional> memberName() {
        return Optional.ofNullable(this.memberName);
    }

    /**
     * Specifies the Name of the IP Configuration. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return Specifies the Name of the IP Configuration. Changing this forces a new resource to be created.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * Specifies the static IP address within the private endpoint's subnet to be used. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="privateIpAddress", required=true)
    private Output privateIpAddress;

    /**
     * @return Specifies the static IP address within the private endpoint's subnet to be used. Changing this forces a new resource to be created.
     * 
     */
    public Output privateIpAddress() {
        return this.privateIpAddress;
    }

    /**
     * Specifies the subresource this IP address applies to. `subresource_names` corresponds to `group_id`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="subresourceName")
    private @Nullable Output subresourceName;

    /**
     * @return Specifies the subresource this IP address applies to. `subresource_names` corresponds to `group_id`. Changing this forces a new resource to be created.
     * 
     */
    public Optional> subresourceName() {
        return Optional.ofNullable(this.subresourceName);
    }

    private EndpointIpConfigurationArgs() {}

    private EndpointIpConfigurationArgs(EndpointIpConfigurationArgs $) {
        this.memberName = $.memberName;
        this.name = $.name;
        this.privateIpAddress = $.privateIpAddress;
        this.subresourceName = $.subresourceName;
    }

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

    public static final class Builder {
        private EndpointIpConfigurationArgs $;

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

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

        /**
         * @param memberName Specifies the member name this IP address applies to. If it is not specified, it will use the value of `subresource_name`. Changing this forces a new resource to be created.
         * 
         * > **NOTE:** `member_name` will be required and will not take the value of `subresource_name` in the next major version.
         * 
         * @return builder
         * 
         */
        public Builder memberName(@Nullable Output memberName) {
            $.memberName = memberName;
            return this;
        }

        /**
         * @param memberName Specifies the member name this IP address applies to. If it is not specified, it will use the value of `subresource_name`. Changing this forces a new resource to be created.
         * 
         * > **NOTE:** `member_name` will be required and will not take the value of `subresource_name` in the next major version.
         * 
         * @return builder
         * 
         */
        public Builder memberName(String memberName) {
            return memberName(Output.of(memberName));
        }

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

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

        /**
         * @param privateIpAddress Specifies the static IP address within the private endpoint's subnet to be used. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder privateIpAddress(Output privateIpAddress) {
            $.privateIpAddress = privateIpAddress;
            return this;
        }

        /**
         * @param privateIpAddress Specifies the static IP address within the private endpoint's subnet to be used. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder privateIpAddress(String privateIpAddress) {
            return privateIpAddress(Output.of(privateIpAddress));
        }

        /**
         * @param subresourceName Specifies the subresource this IP address applies to. `subresource_names` corresponds to `group_id`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder subresourceName(@Nullable Output subresourceName) {
            $.subresourceName = subresourceName;
            return this;
        }

        /**
         * @param subresourceName Specifies the subresource this IP address applies to. `subresource_names` corresponds to `group_id`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder subresourceName(String subresourceName) {
            return subresourceName(Output.of(subresourceName));
        }

        public EndpointIpConfigurationArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("EndpointIpConfigurationArgs", "name");
            }
            if ($.privateIpAddress == null) {
                throw new MissingRequiredPropertyException("EndpointIpConfigurationArgs", "privateIpAddress");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy