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

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

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 GetPublicIPsPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetPublicIPsPlainArgs Empty = new GetPublicIPsPlainArgs();

    /**
     * The Allocation Type for the Public IP Address. Possible values include `Static` or `Dynamic`.
     * 
     */
    @Import(name="allocationType")
    private @Nullable String allocationType;

    /**
     * @return The Allocation Type for the Public IP Address. Possible values include `Static` or `Dynamic`.
     * 
     */
    public Optional allocationType() {
        return Optional.ofNullable(this.allocationType);
    }

    /**
     * Filter to include IP Addresses which are attached to a device, such as a VM/LB (`Attached`) or unattached (`Unattached`).
     * 
     */
    @Import(name="attachmentStatus")
    private @Nullable String attachmentStatus;

    /**
     * @return Filter to include IP Addresses which are attached to a device, such as a VM/LB (`Attached`) or unattached (`Unattached`).
     * 
     */
    public Optional attachmentStatus() {
        return Optional.ofNullable(this.attachmentStatus);
    }

    /**
     * A prefix match used for the IP Addresses `name` field, case sensitive.
     * 
     */
    @Import(name="namePrefix")
    private @Nullable String namePrefix;

    /**
     * @return A prefix match used for the IP Addresses `name` field, case sensitive.
     * 
     */
    public Optional namePrefix() {
        return Optional.ofNullable(this.namePrefix);
    }

    /**
     * Specifies the name of the resource group.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return Specifies the name of the resource group.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetPublicIPsPlainArgs() {}

    private GetPublicIPsPlainArgs(GetPublicIPsPlainArgs $) {
        this.allocationType = $.allocationType;
        this.attachmentStatus = $.attachmentStatus;
        this.namePrefix = $.namePrefix;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetPublicIPsPlainArgs $;

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

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

        /**
         * @param allocationType The Allocation Type for the Public IP Address. Possible values include `Static` or `Dynamic`.
         * 
         * @return builder
         * 
         */
        public Builder allocationType(@Nullable String allocationType) {
            $.allocationType = allocationType;
            return this;
        }

        /**
         * @param attachmentStatus Filter to include IP Addresses which are attached to a device, such as a VM/LB (`Attached`) or unattached (`Unattached`).
         * 
         * @return builder
         * 
         */
        public Builder attachmentStatus(@Nullable String attachmentStatus) {
            $.attachmentStatus = attachmentStatus;
            return this;
        }

        /**
         * @param namePrefix A prefix match used for the IP Addresses `name` field, case sensitive.
         * 
         * @return builder
         * 
         */
        public Builder namePrefix(@Nullable String namePrefix) {
            $.namePrefix = namePrefix;
            return this;
        }

        /**
         * @param resourceGroupName Specifies the name of the resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy