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

com.pulumi.azure.cdn.inputs.FrontdoorOriginGroupLoadBalancingArgs 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.cdn.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class FrontdoorOriginGroupLoadBalancingArgs extends com.pulumi.resources.ResourceArgs {

    public static final FrontdoorOriginGroupLoadBalancingArgs Empty = new FrontdoorOriginGroupLoadBalancingArgs();

    /**
     * Specifies the additional latency in milliseconds for probes to fall into the lowest latency bucket. Possible values are between `0` and `1000` milliseconds (inclusive). Defaults to `50`.
     * 
     */
    @Import(name="additionalLatencyInMilliseconds")
    private @Nullable Output additionalLatencyInMilliseconds;

    /**
     * @return Specifies the additional latency in milliseconds for probes to fall into the lowest latency bucket. Possible values are between `0` and `1000` milliseconds (inclusive). Defaults to `50`.
     * 
     */
    public Optional> additionalLatencyInMilliseconds() {
        return Optional.ofNullable(this.additionalLatencyInMilliseconds);
    }

    /**
     * Specifies the number of samples to consider for load balancing decisions. Possible values are between `0` and `255` (inclusive). Defaults to `4`.
     * 
     */
    @Import(name="sampleSize")
    private @Nullable Output sampleSize;

    /**
     * @return Specifies the number of samples to consider for load balancing decisions. Possible values are between `0` and `255` (inclusive). Defaults to `4`.
     * 
     */
    public Optional> sampleSize() {
        return Optional.ofNullable(this.sampleSize);
    }

    /**
     * Specifies the number of samples within the sample period that must succeed. Possible values are between `0` and `255` (inclusive). Defaults to `3`.
     * 
     */
    @Import(name="successfulSamplesRequired")
    private @Nullable Output successfulSamplesRequired;

    /**
     * @return Specifies the number of samples within the sample period that must succeed. Possible values are between `0` and `255` (inclusive). Defaults to `3`.
     * 
     */
    public Optional> successfulSamplesRequired() {
        return Optional.ofNullable(this.successfulSamplesRequired);
    }

    private FrontdoorOriginGroupLoadBalancingArgs() {}

    private FrontdoorOriginGroupLoadBalancingArgs(FrontdoorOriginGroupLoadBalancingArgs $) {
        this.additionalLatencyInMilliseconds = $.additionalLatencyInMilliseconds;
        this.sampleSize = $.sampleSize;
        this.successfulSamplesRequired = $.successfulSamplesRequired;
    }

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

    public static final class Builder {
        private FrontdoorOriginGroupLoadBalancingArgs $;

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

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

        /**
         * @param additionalLatencyInMilliseconds Specifies the additional latency in milliseconds for probes to fall into the lowest latency bucket. Possible values are between `0` and `1000` milliseconds (inclusive). Defaults to `50`.
         * 
         * @return builder
         * 
         */
        public Builder additionalLatencyInMilliseconds(@Nullable Output additionalLatencyInMilliseconds) {
            $.additionalLatencyInMilliseconds = additionalLatencyInMilliseconds;
            return this;
        }

        /**
         * @param additionalLatencyInMilliseconds Specifies the additional latency in milliseconds for probes to fall into the lowest latency bucket. Possible values are between `0` and `1000` milliseconds (inclusive). Defaults to `50`.
         * 
         * @return builder
         * 
         */
        public Builder additionalLatencyInMilliseconds(Integer additionalLatencyInMilliseconds) {
            return additionalLatencyInMilliseconds(Output.of(additionalLatencyInMilliseconds));
        }

        /**
         * @param sampleSize Specifies the number of samples to consider for load balancing decisions. Possible values are between `0` and `255` (inclusive). Defaults to `4`.
         * 
         * @return builder
         * 
         */
        public Builder sampleSize(@Nullable Output sampleSize) {
            $.sampleSize = sampleSize;
            return this;
        }

        /**
         * @param sampleSize Specifies the number of samples to consider for load balancing decisions. Possible values are between `0` and `255` (inclusive). Defaults to `4`.
         * 
         * @return builder
         * 
         */
        public Builder sampleSize(Integer sampleSize) {
            return sampleSize(Output.of(sampleSize));
        }

        /**
         * @param successfulSamplesRequired Specifies the number of samples within the sample period that must succeed. Possible values are between `0` and `255` (inclusive). Defaults to `3`.
         * 
         * @return builder
         * 
         */
        public Builder successfulSamplesRequired(@Nullable Output successfulSamplesRequired) {
            $.successfulSamplesRequired = successfulSamplesRequired;
            return this;
        }

        /**
         * @param successfulSamplesRequired Specifies the number of samples within the sample period that must succeed. Possible values are between `0` and `255` (inclusive). Defaults to `3`.
         * 
         * @return builder
         * 
         */
        public Builder successfulSamplesRequired(Integer successfulSamplesRequired) {
            return successfulSamplesRequired(Output.of(successfulSamplesRequired));
        }

        public FrontdoorOriginGroupLoadBalancingArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy