
com.pulumi.azurenative.azurefleet.outputs.VirtualMachineScaleSetIPConfigurationPropertiesResponse Maven / Gradle / Ivy
// *** 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.azurenative.azurefleet.outputs;
import com.pulumi.azurenative.azurefleet.outputs.ApiEntityReferenceResponse;
import com.pulumi.azurenative.azurefleet.outputs.SubResourceResponse;
import com.pulumi.azurenative.azurefleet.outputs.VirtualMachineScaleSetPublicIPAddressConfigurationResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class VirtualMachineScaleSetIPConfigurationPropertiesResponse {
/**
* @return Specifies an array of references to backend address pools of application
* gateways. A scale set can reference backend address pools of multiple
* application gateways. Multiple scale sets cannot use the same application
* gateway.
*
*/
private @Nullable List applicationGatewayBackendAddressPools;
/**
* @return Specifies an array of references to application security group.
*
*/
private @Nullable List applicationSecurityGroups;
/**
* @return Specifies an array of references to backend address pools of load balancers. A
* scale set can reference backend address pools of one public and one internal
* load balancer. Multiple scale sets cannot use the same basic sku load balancer.
*
*/
private @Nullable List loadBalancerBackendAddressPools;
/**
* @return Specifies an array of references to inbound Nat pools of the load balancers. A
* scale set can reference inbound nat pools of one public and one internal load
* balancer. Multiple scale sets cannot use the same basic sku load balancer.
*
*/
private @Nullable List loadBalancerInboundNatPools;
/**
* @return Specifies the primary network interface in case the virtual machine has more
* than 1 network interface.
*
*/
private @Nullable Boolean primary;
/**
* @return Available from Api-Version 2017-03-30 onwards, it represents whether the
* specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible
* values are: 'IPv4' and 'IPv6'.
*
*/
private @Nullable String privateIPAddressVersion;
/**
* @return The publicIPAddressConfiguration.
*
*/
private @Nullable VirtualMachineScaleSetPublicIPAddressConfigurationResponse publicIPAddressConfiguration;
/**
* @return Specifies the identifier of the subnet.
*
*/
private @Nullable ApiEntityReferenceResponse subnet;
private VirtualMachineScaleSetIPConfigurationPropertiesResponse() {}
/**
* @return Specifies an array of references to backend address pools of application
* gateways. A scale set can reference backend address pools of multiple
* application gateways. Multiple scale sets cannot use the same application
* gateway.
*
*/
public List applicationGatewayBackendAddressPools() {
return this.applicationGatewayBackendAddressPools == null ? List.of() : this.applicationGatewayBackendAddressPools;
}
/**
* @return Specifies an array of references to application security group.
*
*/
public List applicationSecurityGroups() {
return this.applicationSecurityGroups == null ? List.of() : this.applicationSecurityGroups;
}
/**
* @return Specifies an array of references to backend address pools of load balancers. A
* scale set can reference backend address pools of one public and one internal
* load balancer. Multiple scale sets cannot use the same basic sku load balancer.
*
*/
public List loadBalancerBackendAddressPools() {
return this.loadBalancerBackendAddressPools == null ? List.of() : this.loadBalancerBackendAddressPools;
}
/**
* @return Specifies an array of references to inbound Nat pools of the load balancers. A
* scale set can reference inbound nat pools of one public and one internal load
* balancer. Multiple scale sets cannot use the same basic sku load balancer.
*
*/
public List loadBalancerInboundNatPools() {
return this.loadBalancerInboundNatPools == null ? List.of() : this.loadBalancerInboundNatPools;
}
/**
* @return Specifies the primary network interface in case the virtual machine has more
* than 1 network interface.
*
*/
public Optional primary() {
return Optional.ofNullable(this.primary);
}
/**
* @return Available from Api-Version 2017-03-30 onwards, it represents whether the
* specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible
* values are: 'IPv4' and 'IPv6'.
*
*/
public Optional privateIPAddressVersion() {
return Optional.ofNullable(this.privateIPAddressVersion);
}
/**
* @return The publicIPAddressConfiguration.
*
*/
public Optional publicIPAddressConfiguration() {
return Optional.ofNullable(this.publicIPAddressConfiguration);
}
/**
* @return Specifies the identifier of the subnet.
*
*/
public Optional subnet() {
return Optional.ofNullable(this.subnet);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VirtualMachineScaleSetIPConfigurationPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List applicationGatewayBackendAddressPools;
private @Nullable List applicationSecurityGroups;
private @Nullable List loadBalancerBackendAddressPools;
private @Nullable List loadBalancerInboundNatPools;
private @Nullable Boolean primary;
private @Nullable String privateIPAddressVersion;
private @Nullable VirtualMachineScaleSetPublicIPAddressConfigurationResponse publicIPAddressConfiguration;
private @Nullable ApiEntityReferenceResponse subnet;
public Builder() {}
public Builder(VirtualMachineScaleSetIPConfigurationPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.applicationGatewayBackendAddressPools = defaults.applicationGatewayBackendAddressPools;
this.applicationSecurityGroups = defaults.applicationSecurityGroups;
this.loadBalancerBackendAddressPools = defaults.loadBalancerBackendAddressPools;
this.loadBalancerInboundNatPools = defaults.loadBalancerInboundNatPools;
this.primary = defaults.primary;
this.privateIPAddressVersion = defaults.privateIPAddressVersion;
this.publicIPAddressConfiguration = defaults.publicIPAddressConfiguration;
this.subnet = defaults.subnet;
}
@CustomType.Setter
public Builder applicationGatewayBackendAddressPools(@Nullable List applicationGatewayBackendAddressPools) {
this.applicationGatewayBackendAddressPools = applicationGatewayBackendAddressPools;
return this;
}
public Builder applicationGatewayBackendAddressPools(SubResourceResponse... applicationGatewayBackendAddressPools) {
return applicationGatewayBackendAddressPools(List.of(applicationGatewayBackendAddressPools));
}
@CustomType.Setter
public Builder applicationSecurityGroups(@Nullable List applicationSecurityGroups) {
this.applicationSecurityGroups = applicationSecurityGroups;
return this;
}
public Builder applicationSecurityGroups(SubResourceResponse... applicationSecurityGroups) {
return applicationSecurityGroups(List.of(applicationSecurityGroups));
}
@CustomType.Setter
public Builder loadBalancerBackendAddressPools(@Nullable List loadBalancerBackendAddressPools) {
this.loadBalancerBackendAddressPools = loadBalancerBackendAddressPools;
return this;
}
public Builder loadBalancerBackendAddressPools(SubResourceResponse... loadBalancerBackendAddressPools) {
return loadBalancerBackendAddressPools(List.of(loadBalancerBackendAddressPools));
}
@CustomType.Setter
public Builder loadBalancerInboundNatPools(@Nullable List loadBalancerInboundNatPools) {
this.loadBalancerInboundNatPools = loadBalancerInboundNatPools;
return this;
}
public Builder loadBalancerInboundNatPools(SubResourceResponse... loadBalancerInboundNatPools) {
return loadBalancerInboundNatPools(List.of(loadBalancerInboundNatPools));
}
@CustomType.Setter
public Builder primary(@Nullable Boolean primary) {
this.primary = primary;
return this;
}
@CustomType.Setter
public Builder privateIPAddressVersion(@Nullable String privateIPAddressVersion) {
this.privateIPAddressVersion = privateIPAddressVersion;
return this;
}
@CustomType.Setter
public Builder publicIPAddressConfiguration(@Nullable VirtualMachineScaleSetPublicIPAddressConfigurationResponse publicIPAddressConfiguration) {
this.publicIPAddressConfiguration = publicIPAddressConfiguration;
return this;
}
@CustomType.Setter
public Builder subnet(@Nullable ApiEntityReferenceResponse subnet) {
this.subnet = subnet;
return this;
}
public VirtualMachineScaleSetIPConfigurationPropertiesResponse build() {
final var _resultValue = new VirtualMachineScaleSetIPConfigurationPropertiesResponse();
_resultValue.applicationGatewayBackendAddressPools = applicationGatewayBackendAddressPools;
_resultValue.applicationSecurityGroups = applicationSecurityGroups;
_resultValue.loadBalancerBackendAddressPools = loadBalancerBackendAddressPools;
_resultValue.loadBalancerInboundNatPools = loadBalancerInboundNatPools;
_resultValue.primary = primary;
_resultValue.privateIPAddressVersion = privateIPAddressVersion;
_resultValue.publicIPAddressConfiguration = publicIPAddressConfiguration;
_resultValue.subnet = subnet;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy