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

com.pulumi.azure.compute.outputs.OrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress 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.compute.outputs;

import com.pulumi.azure.compute.outputs.OrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddressIpTag;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class OrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress {
    /**
     * @return The Prefix which should be used for the Domain Name Label for each Virtual Machine Instance. Azure concatenates the Domain Name Label and Virtual Machine Index to create a unique Domain Name Label for each Virtual Machine. Valid values must be between `1` and `26` characters long, start with a lower case letter, end with a lower case letter or number and contains only `a-z`, `0-9` and `hyphens`.
     * 
     */
    private @Nullable String domainNameLabel;
    /**
     * @return The Idle Timeout in Minutes for the Public IP Address. Possible values are in the range `4` to `32`.
     * 
     */
    private @Nullable Integer idleTimeoutInMinutes;
    /**
     * @return One or more `ip_tag` blocks as defined above. Changing this forces a new resource to be created.
     * 
     */
    private @Nullable List ipTags;
    /**
     * @return The Name of the Public IP Address Configuration.
     * 
     */
    private String name;
    /**
     * @return The ID of the Public IP Address Prefix from where Public IP Addresses should be allocated. Changing this forces a new resource to be created.
     * 
     */
    private @Nullable String publicIpPrefixId;
    /**
     * @return Specifies what Public IP Address SKU the Public IP Address should be provisioned as. Possible vaules include `Basic_Regional`, `Basic_Global`, `Standard_Regional` or `Standard_Global`. For more information about Public IP Address SKU's and their capabilities, please see the [product documentation](https://docs.microsoft.com/azure/virtual-network/ip-services/public-ip-addresses#sku). Changing this forces a new resource to be created.
     * 
     */
    private @Nullable String skuName;
    /**
     * @return The Internet Protocol Version which should be used for this public IP address. Possible values are `IPv4` and `IPv6`. Defaults to `IPv4`. Changing this forces a new resource to be created.
     * 
     */
    private @Nullable String version;

    private OrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress() {}
    /**
     * @return The Prefix which should be used for the Domain Name Label for each Virtual Machine Instance. Azure concatenates the Domain Name Label and Virtual Machine Index to create a unique Domain Name Label for each Virtual Machine. Valid values must be between `1` and `26` characters long, start with a lower case letter, end with a lower case letter or number and contains only `a-z`, `0-9` and `hyphens`.
     * 
     */
    public Optional domainNameLabel() {
        return Optional.ofNullable(this.domainNameLabel);
    }
    /**
     * @return The Idle Timeout in Minutes for the Public IP Address. Possible values are in the range `4` to `32`.
     * 
     */
    public Optional idleTimeoutInMinutes() {
        return Optional.ofNullable(this.idleTimeoutInMinutes);
    }
    /**
     * @return One or more `ip_tag` blocks as defined above. Changing this forces a new resource to be created.
     * 
     */
    public List ipTags() {
        return this.ipTags == null ? List.of() : this.ipTags;
    }
    /**
     * @return The Name of the Public IP Address Configuration.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The ID of the Public IP Address Prefix from where Public IP Addresses should be allocated. Changing this forces a new resource to be created.
     * 
     */
    public Optional publicIpPrefixId() {
        return Optional.ofNullable(this.publicIpPrefixId);
    }
    /**
     * @return Specifies what Public IP Address SKU the Public IP Address should be provisioned as. Possible vaules include `Basic_Regional`, `Basic_Global`, `Standard_Regional` or `Standard_Global`. For more information about Public IP Address SKU's and their capabilities, please see the [product documentation](https://docs.microsoft.com/azure/virtual-network/ip-services/public-ip-addresses#sku). Changing this forces a new resource to be created.
     * 
     */
    public Optional skuName() {
        return Optional.ofNullable(this.skuName);
    }
    /**
     * @return The Internet Protocol Version which should be used for this public IP address. Possible values are `IPv4` and `IPv6`. Defaults to `IPv4`. Changing this forces a new resource to be created.
     * 
     */
    public Optional version() {
        return Optional.ofNullable(this.version);
    }

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

    public static Builder builder(OrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String domainNameLabel;
        private @Nullable Integer idleTimeoutInMinutes;
        private @Nullable List ipTags;
        private String name;
        private @Nullable String publicIpPrefixId;
        private @Nullable String skuName;
        private @Nullable String version;
        public Builder() {}
        public Builder(OrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.domainNameLabel = defaults.domainNameLabel;
    	      this.idleTimeoutInMinutes = defaults.idleTimeoutInMinutes;
    	      this.ipTags = defaults.ipTags;
    	      this.name = defaults.name;
    	      this.publicIpPrefixId = defaults.publicIpPrefixId;
    	      this.skuName = defaults.skuName;
    	      this.version = defaults.version;
        }

        @CustomType.Setter
        public Builder domainNameLabel(@Nullable String domainNameLabel) {

            this.domainNameLabel = domainNameLabel;
            return this;
        }
        @CustomType.Setter
        public Builder idleTimeoutInMinutes(@Nullable Integer idleTimeoutInMinutes) {

            this.idleTimeoutInMinutes = idleTimeoutInMinutes;
            return this;
        }
        @CustomType.Setter
        public Builder ipTags(@Nullable List ipTags) {

            this.ipTags = ipTags;
            return this;
        }
        public Builder ipTags(OrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddressIpTag... ipTags) {
            return ipTags(List.of(ipTags));
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("OrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder publicIpPrefixId(@Nullable String publicIpPrefixId) {

            this.publicIpPrefixId = publicIpPrefixId;
            return this;
        }
        @CustomType.Setter
        public Builder skuName(@Nullable String skuName) {

            this.skuName = skuName;
            return this;
        }
        @CustomType.Setter
        public Builder version(@Nullable String version) {

            this.version = version;
            return this;
        }
        public OrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress build() {
            final var _resultValue = new OrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress();
            _resultValue.domainNameLabel = domainNameLabel;
            _resultValue.idleTimeoutInMinutes = idleTimeoutInMinutes;
            _resultValue.ipTags = ipTags;
            _resultValue.name = name;
            _resultValue.publicIpPrefixId = publicIpPrefixId;
            _resultValue.skuName = skuName;
            _resultValue.version = version;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy