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

com.pulumi.azure.compute.outputs.GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration 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.GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration {
    /**
     * @return An array of references to backend address pools of application gateways.
     * 
     */
    private List applicationGatewayBackendAddressPoolIds;
    /**
     * @return The application security group IDs to use.
     * 
     */
    private List applicationSecurityGroupIds;
    /**
     * @return An array of references to backend address pools of load balancers.
     * 
     */
    private List loadBalancerBackendAddressPoolIds;
    /**
     * @return An array of references to inbound NAT pools for load balancers.
     * 
     */
    private List loadBalancerInboundNatRulesIds;
    /**
     * @return The name of this Orchestrated Virtual Machine Scale Set.
     * 
     */
    private String name;
    /**
     * @return If this ip_configuration is the primary one.
     * 
     */
    private Boolean primary;
    /**
     * @return The virtual machines scale set IP Configuration's PublicIPAddress configuration. The `public_ip_address` is documented below.
     * 
     */
    private List publicIpAddresses;
    /**
     * @return The identifier of the subnet.
     * 
     */
    private String subnetId;
    /**
     * @return The Internet Protocol Version of the public IP address.
     * 
     */
    private String version;

    private GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration() {}
    /**
     * @return An array of references to backend address pools of application gateways.
     * 
     */
    public List applicationGatewayBackendAddressPoolIds() {
        return this.applicationGatewayBackendAddressPoolIds;
    }
    /**
     * @return The application security group IDs to use.
     * 
     */
    public List applicationSecurityGroupIds() {
        return this.applicationSecurityGroupIds;
    }
    /**
     * @return An array of references to backend address pools of load balancers.
     * 
     */
    public List loadBalancerBackendAddressPoolIds() {
        return this.loadBalancerBackendAddressPoolIds;
    }
    /**
     * @return An array of references to inbound NAT pools for load balancers.
     * 
     */
    public List loadBalancerInboundNatRulesIds() {
        return this.loadBalancerInboundNatRulesIds;
    }
    /**
     * @return The name of this Orchestrated Virtual Machine Scale Set.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return If this ip_configuration is the primary one.
     * 
     */
    public Boolean primary() {
        return this.primary;
    }
    /**
     * @return The virtual machines scale set IP Configuration's PublicIPAddress configuration. The `public_ip_address` is documented below.
     * 
     */
    public List publicIpAddresses() {
        return this.publicIpAddresses;
    }
    /**
     * @return The identifier of the subnet.
     * 
     */
    public String subnetId() {
        return this.subnetId;
    }
    /**
     * @return The Internet Protocol Version of the public IP address.
     * 
     */
    public String version() {
        return this.version;
    }

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

    public static Builder builder(GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List applicationGatewayBackendAddressPoolIds;
        private List applicationSecurityGroupIds;
        private List loadBalancerBackendAddressPoolIds;
        private List loadBalancerInboundNatRulesIds;
        private String name;
        private Boolean primary;
        private List publicIpAddresses;
        private String subnetId;
        private String version;
        public Builder() {}
        public Builder(GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.applicationGatewayBackendAddressPoolIds = defaults.applicationGatewayBackendAddressPoolIds;
    	      this.applicationSecurityGroupIds = defaults.applicationSecurityGroupIds;
    	      this.loadBalancerBackendAddressPoolIds = defaults.loadBalancerBackendAddressPoolIds;
    	      this.loadBalancerInboundNatRulesIds = defaults.loadBalancerInboundNatRulesIds;
    	      this.name = defaults.name;
    	      this.primary = defaults.primary;
    	      this.publicIpAddresses = defaults.publicIpAddresses;
    	      this.subnetId = defaults.subnetId;
    	      this.version = defaults.version;
        }

        @CustomType.Setter
        public Builder applicationGatewayBackendAddressPoolIds(List applicationGatewayBackendAddressPoolIds) {
            if (applicationGatewayBackendAddressPoolIds == null) {
              throw new MissingRequiredPropertyException("GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration", "applicationGatewayBackendAddressPoolIds");
            }
            this.applicationGatewayBackendAddressPoolIds = applicationGatewayBackendAddressPoolIds;
            return this;
        }
        public Builder applicationGatewayBackendAddressPoolIds(String... applicationGatewayBackendAddressPoolIds) {
            return applicationGatewayBackendAddressPoolIds(List.of(applicationGatewayBackendAddressPoolIds));
        }
        @CustomType.Setter
        public Builder applicationSecurityGroupIds(List applicationSecurityGroupIds) {
            if (applicationSecurityGroupIds == null) {
              throw new MissingRequiredPropertyException("GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration", "applicationSecurityGroupIds");
            }
            this.applicationSecurityGroupIds = applicationSecurityGroupIds;
            return this;
        }
        public Builder applicationSecurityGroupIds(String... applicationSecurityGroupIds) {
            return applicationSecurityGroupIds(List.of(applicationSecurityGroupIds));
        }
        @CustomType.Setter
        public Builder loadBalancerBackendAddressPoolIds(List loadBalancerBackendAddressPoolIds) {
            if (loadBalancerBackendAddressPoolIds == null) {
              throw new MissingRequiredPropertyException("GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration", "loadBalancerBackendAddressPoolIds");
            }
            this.loadBalancerBackendAddressPoolIds = loadBalancerBackendAddressPoolIds;
            return this;
        }
        public Builder loadBalancerBackendAddressPoolIds(String... loadBalancerBackendAddressPoolIds) {
            return loadBalancerBackendAddressPoolIds(List.of(loadBalancerBackendAddressPoolIds));
        }
        @CustomType.Setter
        public Builder loadBalancerInboundNatRulesIds(List loadBalancerInboundNatRulesIds) {
            if (loadBalancerInboundNatRulesIds == null) {
              throw new MissingRequiredPropertyException("GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration", "loadBalancerInboundNatRulesIds");
            }
            this.loadBalancerInboundNatRulesIds = loadBalancerInboundNatRulesIds;
            return this;
        }
        public Builder loadBalancerInboundNatRulesIds(String... loadBalancerInboundNatRulesIds) {
            return loadBalancerInboundNatRulesIds(List.of(loadBalancerInboundNatRulesIds));
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder primary(Boolean primary) {
            if (primary == null) {
              throw new MissingRequiredPropertyException("GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration", "primary");
            }
            this.primary = primary;
            return this;
        }
        @CustomType.Setter
        public Builder publicIpAddresses(List publicIpAddresses) {
            if (publicIpAddresses == null) {
              throw new MissingRequiredPropertyException("GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration", "publicIpAddresses");
            }
            this.publicIpAddresses = publicIpAddresses;
            return this;
        }
        public Builder publicIpAddresses(GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfigurationPublicIpAddress... publicIpAddresses) {
            return publicIpAddresses(List.of(publicIpAddresses));
        }
        @CustomType.Setter
        public Builder subnetId(String subnetId) {
            if (subnetId == null) {
              throw new MissingRequiredPropertyException("GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration", "subnetId");
            }
            this.subnetId = subnetId;
            return this;
        }
        @CustomType.Setter
        public Builder version(String version) {
            if (version == null) {
              throw new MissingRequiredPropertyException("GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration", "version");
            }
            this.version = version;
            return this;
        }
        public GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration build() {
            final var _resultValue = new GetOrchestratedVirtualMachineScaleSetNetworkInterfaceIpConfiguration();
            _resultValue.applicationGatewayBackendAddressPoolIds = applicationGatewayBackendAddressPoolIds;
            _resultValue.applicationSecurityGroupIds = applicationSecurityGroupIds;
            _resultValue.loadBalancerBackendAddressPoolIds = loadBalancerBackendAddressPoolIds;
            _resultValue.loadBalancerInboundNatRulesIds = loadBalancerInboundNatRulesIds;
            _resultValue.name = name;
            _resultValue.primary = primary;
            _resultValue.publicIpAddresses = publicIpAddresses;
            _resultValue.subnetId = subnetId;
            _resultValue.version = version;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy