All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azure.network.inputs.ApplicationGatewaySkuArgs 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.azure.network.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class ApplicationGatewaySkuArgs extends com.pulumi.resources.ResourceArgs {
public static final ApplicationGatewaySkuArgs Empty = new ApplicationGatewaySkuArgs();
/**
* The Capacity of the SKU to use for this Application Gateway. When using a V1 SKU this value must be between `1` and `32`, and `1` to `125` for a V2 SKU. This property is optional if `autoscale_configuration` is set.
*
*/
@Import(name="capacity")
private @Nullable Output capacity;
/**
* @return The Capacity of the SKU to use for this Application Gateway. When using a V1 SKU this value must be between `1` and `32`, and `1` to `125` for a V2 SKU. This property is optional if `autoscale_configuration` is set.
*
*/
public Optional> capacity() {
return Optional.ofNullable(this.capacity);
}
/**
* The Name of the SKU to use for this Application Gateway. Possible values are `Standard_Small`, `Standard_Medium`, `Standard_Large`, `Standard_v2`, `WAF_Medium`, `WAF_Large`, and `WAF_v2`.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return The Name of the SKU to use for this Application Gateway. Possible values are `Standard_Small`, `Standard_Medium`, `Standard_Large`, `Standard_v2`, `WAF_Medium`, `WAF_Large`, and `WAF_v2`.
*
*/
public Output name() {
return this.name;
}
/**
* The Tier of the SKU to use for this Application Gateway. Possible values are `Standard`, `Standard_v2`, `WAF` and `WAF_v2`.
*
* !> **NOTE:** The `Standard` and `WAF` SKU have been deprecated in favour of the `Standard_v2` and `WAF_v2` SKU. Please see the [Azure documentation](https://aka.ms/V1retirement) for more details.
*
*/
@Import(name="tier", required=true)
private Output tier;
/**
* @return The Tier of the SKU to use for this Application Gateway. Possible values are `Standard`, `Standard_v2`, `WAF` and `WAF_v2`.
*
* !> **NOTE:** The `Standard` and `WAF` SKU have been deprecated in favour of the `Standard_v2` and `WAF_v2` SKU. Please see the [Azure documentation](https://aka.ms/V1retirement) for more details.
*
*/
public Output tier() {
return this.tier;
}
private ApplicationGatewaySkuArgs() {}
private ApplicationGatewaySkuArgs(ApplicationGatewaySkuArgs $) {
this.capacity = $.capacity;
this.name = $.name;
this.tier = $.tier;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApplicationGatewaySkuArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ApplicationGatewaySkuArgs $;
public Builder() {
$ = new ApplicationGatewaySkuArgs();
}
public Builder(ApplicationGatewaySkuArgs defaults) {
$ = new ApplicationGatewaySkuArgs(Objects.requireNonNull(defaults));
}
/**
* @param capacity The Capacity of the SKU to use for this Application Gateway. When using a V1 SKU this value must be between `1` and `32`, and `1` to `125` for a V2 SKU. This property is optional if `autoscale_configuration` is set.
*
* @return builder
*
*/
public Builder capacity(@Nullable Output capacity) {
$.capacity = capacity;
return this;
}
/**
* @param capacity The Capacity of the SKU to use for this Application Gateway. When using a V1 SKU this value must be between `1` and `32`, and `1` to `125` for a V2 SKU. This property is optional if `autoscale_configuration` is set.
*
* @return builder
*
*/
public Builder capacity(Integer capacity) {
return capacity(Output.of(capacity));
}
/**
* @param name The Name of the SKU to use for this Application Gateway. Possible values are `Standard_Small`, `Standard_Medium`, `Standard_Large`, `Standard_v2`, `WAF_Medium`, `WAF_Large`, and `WAF_v2`.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name The Name of the SKU to use for this Application Gateway. Possible values are `Standard_Small`, `Standard_Medium`, `Standard_Large`, `Standard_v2`, `WAF_Medium`, `WAF_Large`, and `WAF_v2`.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param tier The Tier of the SKU to use for this Application Gateway. Possible values are `Standard`, `Standard_v2`, `WAF` and `WAF_v2`.
*
* !> **NOTE:** The `Standard` and `WAF` SKU have been deprecated in favour of the `Standard_v2` and `WAF_v2` SKU. Please see the [Azure documentation](https://aka.ms/V1retirement) for more details.
*
* @return builder
*
*/
public Builder tier(Output tier) {
$.tier = tier;
return this;
}
/**
* @param tier The Tier of the SKU to use for this Application Gateway. Possible values are `Standard`, `Standard_v2`, `WAF` and `WAF_v2`.
*
* !> **NOTE:** The `Standard` and `WAF` SKU have been deprecated in favour of the `Standard_v2` and `WAF_v2` SKU. Please see the [Azure documentation](https://aka.ms/V1retirement) for more details.
*
* @return builder
*
*/
public Builder tier(String tier) {
return tier(Output.of(tier));
}
public ApplicationGatewaySkuArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("ApplicationGatewaySkuArgs", "name");
}
if ($.tier == null) {
throw new MissingRequiredPropertyException("ApplicationGatewaySkuArgs", "tier");
}
return $;
}
}
}