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

com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs 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.appservice.inputs;

import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerRequestsArgs;
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestArgs;
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestWithPathArgs;
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerStatusCodeArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs Empty = new WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs();

    /**
     * The amount of Private Memory to be consumed for this rule to trigger. Possible values are between `102400` and `13631488`.
     * 
     */
    @Import(name="privateMemoryKb")
    private @Nullable Output privateMemoryKb;

    /**
     * @return The amount of Private Memory to be consumed for this rule to trigger. Possible values are between `102400` and `13631488`.
     * 
     */
    public Optional> privateMemoryKb() {
        return Optional.ofNullable(this.privateMemoryKb);
    }

    /**
     * A `requests` block as defined above.
     * 
     */
    @Import(name="requests")
    private @Nullable Output requests;

    /**
     * @return A `requests` block as defined above.
     * 
     */
    public Optional> requests() {
        return Optional.ofNullable(this.requests);
    }

    /**
     * A `slow_request` block as defined above.
     * 
     */
    @Import(name="slowRequest")
    private @Nullable Output slowRequest;

    /**
     * @return A `slow_request` block as defined above.
     * 
     */
    public Optional> slowRequest() {
        return Optional.ofNullable(this.slowRequest);
    }

    /**
     * One or more `slow_request_with_path` blocks as defined above.
     * 
     */
    @Import(name="slowRequestWithPaths")
    private @Nullable Output> slowRequestWithPaths;

    /**
     * @return One or more `slow_request_with_path` blocks as defined above.
     * 
     */
    public Optional>> slowRequestWithPaths() {
        return Optional.ofNullable(this.slowRequestWithPaths);
    }

    /**
     * One or more `status_code` blocks as defined above.
     * 
     */
    @Import(name="statusCodes")
    private @Nullable Output> statusCodes;

    /**
     * @return One or more `status_code` blocks as defined above.
     * 
     */
    public Optional>> statusCodes() {
        return Optional.ofNullable(this.statusCodes);
    }

    private WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs() {}

    private WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs(WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs $) {
        this.privateMemoryKb = $.privateMemoryKb;
        this.requests = $.requests;
        this.slowRequest = $.slowRequest;
        this.slowRequestWithPaths = $.slowRequestWithPaths;
        this.statusCodes = $.statusCodes;
    }

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

    public static final class Builder {
        private WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs $;

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

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

        /**
         * @param privateMemoryKb The amount of Private Memory to be consumed for this rule to trigger. Possible values are between `102400` and `13631488`.
         * 
         * @return builder
         * 
         */
        public Builder privateMemoryKb(@Nullable Output privateMemoryKb) {
            $.privateMemoryKb = privateMemoryKb;
            return this;
        }

        /**
         * @param privateMemoryKb The amount of Private Memory to be consumed for this rule to trigger. Possible values are between `102400` and `13631488`.
         * 
         * @return builder
         * 
         */
        public Builder privateMemoryKb(Integer privateMemoryKb) {
            return privateMemoryKb(Output.of(privateMemoryKb));
        }

        /**
         * @param requests A `requests` block as defined above.
         * 
         * @return builder
         * 
         */
        public Builder requests(@Nullable Output requests) {
            $.requests = requests;
            return this;
        }

        /**
         * @param requests A `requests` block as defined above.
         * 
         * @return builder
         * 
         */
        public Builder requests(WindowsWebAppSlotSiteConfigAutoHealSettingTriggerRequestsArgs requests) {
            return requests(Output.of(requests));
        }

        /**
         * @param slowRequest A `slow_request` block as defined above.
         * 
         * @return builder
         * 
         */
        public Builder slowRequest(@Nullable Output slowRequest) {
            $.slowRequest = slowRequest;
            return this;
        }

        /**
         * @param slowRequest A `slow_request` block as defined above.
         * 
         * @return builder
         * 
         */
        public Builder slowRequest(WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestArgs slowRequest) {
            return slowRequest(Output.of(slowRequest));
        }

        /**
         * @param slowRequestWithPaths One or more `slow_request_with_path` blocks as defined above.
         * 
         * @return builder
         * 
         */
        public Builder slowRequestWithPaths(@Nullable Output> slowRequestWithPaths) {
            $.slowRequestWithPaths = slowRequestWithPaths;
            return this;
        }

        /**
         * @param slowRequestWithPaths One or more `slow_request_with_path` blocks as defined above.
         * 
         * @return builder
         * 
         */
        public Builder slowRequestWithPaths(List slowRequestWithPaths) {
            return slowRequestWithPaths(Output.of(slowRequestWithPaths));
        }

        /**
         * @param slowRequestWithPaths One or more `slow_request_with_path` blocks as defined above.
         * 
         * @return builder
         * 
         */
        public Builder slowRequestWithPaths(WindowsWebAppSlotSiteConfigAutoHealSettingTriggerSlowRequestWithPathArgs... slowRequestWithPaths) {
            return slowRequestWithPaths(List.of(slowRequestWithPaths));
        }

        /**
         * @param statusCodes One or more `status_code` blocks as defined above.
         * 
         * @return builder
         * 
         */
        public Builder statusCodes(@Nullable Output> statusCodes) {
            $.statusCodes = statusCodes;
            return this;
        }

        /**
         * @param statusCodes One or more `status_code` blocks as defined above.
         * 
         * @return builder
         * 
         */
        public Builder statusCodes(List statusCodes) {
            return statusCodes(Output.of(statusCodes));
        }

        /**
         * @param statusCodes One or more `status_code` blocks as defined above.
         * 
         * @return builder
         * 
         */
        public Builder statusCodes(WindowsWebAppSlotSiteConfigAutoHealSettingTriggerStatusCodeArgs... statusCodes) {
            return statusCodes(List.of(statusCodes));
        }

        public WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy